CN116521343A - Resource interaction information processing method, device, computer equipment and storage medium - Google Patents

Resource interaction information processing method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN116521343A
CN116521343A CN202310511112.2A CN202310511112A CN116521343A CN 116521343 A CN116521343 A CN 116521343A CN 202310511112 A CN202310511112 A CN 202310511112A CN 116521343 A CN116521343 A CN 116521343A
Authority
CN
China
Prior art keywords
interaction
information
resource
account
target object
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310511112.2A
Other languages
Chinese (zh)
Inventor
何伟玄
梁敏
胡琳
蔡芸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202310511112.2A priority Critical patent/CN116521343A/en
Publication of CN116521343A publication Critical patent/CN116521343A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The application relates to a distributed accumulation function implementation method, a distributed accumulation function implementation device, computer equipment and a storage medium. The method comprises the following steps: acquiring an account resource scheduling message corresponding to a target object account; checking whether an object account number and a resource scheduling date exist in an object account information table corresponding to a target object account in a cache server, and obtaining an account data checking result; determining a database writing flow according to the account data checking result; according to the writing flow of the database, carrying out business data processing on the interaction accumulated information to be processed to obtain the interaction accumulated information after processing; and under the condition that the resource interaction limit information does not exceed the resource interaction upper limit information, covering the processed interaction accumulation information with the to-be-processed interaction accumulation information to obtain updated interaction accumulation information, wherein the updated interaction accumulation information is used for recording the resource interaction condition of the target object account. By adopting the method, the database access pressure of the distributed system can be reduced, and the information accumulation efficiency of the distributed system can be improved.

Description

Resource interaction information processing method, device, computer equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, a system, an apparatus, a computer device, a storage medium, and a computer program product for processing resource interaction information.
Background
With the development of computer technology, a distributed system accumulation function technology appears, and the quota of the target account is a means for effectively controlling risks in the resource interaction system, and by setting an upper limit on the number of resource transactions or the number of resource transactions of the target account, the number of resource transactions or the number of resource transactions of the target account is controlled by using the distributed system accumulation function technology, so that the risk of abnormality of the target account can be effectively avoided.
In the conventional technology, the distributed system accumulation function technology manages and controls the number of resource transactions or the number of resource transactions of a target account, and depending on the accuracy of information accumulation of the target account, when the accumulation function is implemented by using a database, each accumulation operation needs to look up a table and update a table, and the accumulation increases an index value and operates the accumulation value under the concurrent condition, so that the efficiency of accumulating information by the distributed system is low.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a resource interaction information processing method, apparatus, computer device, computer readable storage medium, and computer program product that can reduce database access pressure of a distributed system and improve the efficiency of integrating information by the distributed system.
In a first aspect, the present application provides a resource interaction information processing method. The method comprises the following steps: acquiring an account resource scheduling message corresponding to a target object account; the account resource scheduling message comprises an object account number and a resource scheduling date; checking whether the object account number and the resource scheduling date exist in an object account information table corresponding to the target object account in a cache server, and obtaining an account data checking result; determining a database writing flow corresponding to the target object account according to the account data checking result; according to the database writing flow, business data processing is carried out on the interaction accumulation information to be processed corresponding to the target object account, and the interaction accumulation information after processing is obtained; under the condition that the resource interaction limit information in the target object account does not exceed the resource interaction upper limit information, covering the processed interaction accumulation information with the interaction accumulation information to be processed to obtain updated interaction accumulation information; and the updated interaction accumulation information is used for recording the resource interaction condition of the target object account.
In a second aspect, the present application provides a resource interaction information processing system. The system comprises: an application server, a cache server and a database server; the application server is used for acquiring an account resource scheduling message corresponding to the target object account; the account resource scheduling message comprises an object account number and a resource scheduling date; the cache server is used for checking whether the object account number and the resource scheduling date exist in an object account information table corresponding to the target object account to obtain an account data checking result; the cache server is further used for determining a database writing flow corresponding to the target object account according to the account data checking result; the cache server is further used for carrying out service data processing on the interaction accumulation information to be processed corresponding to the target object account according to the database writing flow, and obtaining the interaction accumulation information after processing; the database server is configured to, when the resource interaction limit information in the target object account does not exceed the resource interaction upper limit information, cover the processed interaction accumulation information with the interaction accumulation information to be processed, so as to obtain updated interaction accumulation information; and the updated interaction accumulation information is used for recording the resource interaction condition of the target object account.
In a third aspect, the present application further provides a resource interaction information processing apparatus. The device comprises: the scheduling message acquisition module is used for acquiring an account resource scheduling message corresponding to the target object account; the account resource scheduling message comprises an object account number and a resource scheduling date; the checking result obtaining module is used for checking whether the object account number and the resource scheduling date exist in an object account information table corresponding to the target object account in the cache server, and obtaining an account data checking result; the writing process determining module is used for determining a database writing process corresponding to the target object account according to the account data checking result; the accumulated information processing module is used for carrying out business data processing on the interaction accumulated information to be processed corresponding to the target object account according to the database writing flow, so as to obtain the interaction accumulated information after processing; the accumulated information updating module is used for covering the processed interaction accumulated information with the interaction accumulated information to be processed to obtain updated interaction accumulated information under the condition that the resource interaction limit information in the target object account does not exceed the resource interaction upper limit information; and the updated interaction accumulation information is used for recording the resource interaction condition of the target object account.
In a fourth aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor which when executing the computer program performs the steps of: acquiring an account resource scheduling message corresponding to a target object account; the account resource scheduling message comprises an object account number and a resource scheduling date; checking whether the object account number and the resource scheduling date exist in an object account information table corresponding to the target object account in a cache server, and obtaining an account data checking result; determining a database writing flow corresponding to the target object account according to the account data checking result; according to the database writing flow, business data processing is carried out on the interaction accumulation information to be processed corresponding to the target object account, and the interaction accumulation information after processing is obtained; under the condition that the resource interaction limit information in the target object account does not exceed the resource interaction upper limit information, covering the processed interaction accumulation information with the interaction accumulation information to be processed to obtain updated interaction accumulation information; and the updated interaction accumulation information is used for recording the resource interaction condition of the target object account.
In a fifth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of: acquiring an account resource scheduling message corresponding to a target object account; the account resource scheduling message comprises an object account number and a resource scheduling date; checking whether the object account number and the resource scheduling date exist in an object account information table corresponding to the target object account in a cache server, and obtaining an account data checking result; determining a database writing flow corresponding to the target object account according to the account data checking result; according to the database writing flow, business data processing is carried out on the interaction accumulation information to be processed corresponding to the target object account, and the interaction accumulation information after processing is obtained; under the condition that the resource interaction limit information in the target object account does not exceed the resource interaction upper limit information, covering the processed interaction accumulation information with the interaction accumulation information to be processed to obtain updated interaction accumulation information; and the updated interaction accumulation information is used for recording the resource interaction condition of the target object account.
In a sixth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the steps of: acquiring an account resource scheduling message corresponding to a target object account; the account resource scheduling message comprises an object account number and a resource scheduling date; checking whether the object account number and the resource scheduling date exist in an object account information table corresponding to the target object account in a cache server, and obtaining an account data checking result; determining a database writing flow corresponding to the target object account according to the account data checking result; according to the database writing flow, business data processing is carried out on the interaction accumulation information to be processed corresponding to the target object account, and the interaction accumulation information after processing is obtained; under the condition that the resource interaction limit information in the target object account does not exceed the resource interaction upper limit information, covering the processed interaction accumulation information with the interaction accumulation information to be processed to obtain updated interaction accumulation information; and the updated interaction accumulation information is used for recording the resource interaction condition of the target object account.
The method, the system, the device, the computer equipment, the storage medium and the computer program product for processing the resource interaction information are realized by acquiring the account resource scheduling message corresponding to the target object account; the account resource scheduling message comprises an object account number and a resource scheduling date; checking whether an object account number and a resource scheduling date exist in an object account information table corresponding to a target object account in a cache server, and obtaining an account data checking result; determining a database writing flow corresponding to the target object account according to the account data checking result; according to the database writing process, business data processing is carried out on the interaction accumulated information to be processed corresponding to the target object account, and the interaction accumulated information after processing is obtained; under the condition that the resource interaction limit information in the target object account does not exceed the resource interaction upper limit information, covering the processed interaction accumulation information with the interaction accumulation information to be processed to obtain updated interaction accumulation information; the updated interaction accumulation information is used for recording the resource interaction condition of the target object account.
Before the application server directly accesses the database server, the cache server and the message server are introduced to check the message information of the account resource scheduling message, and the interaction accumulated information in the database server is further updated after the message information is processed by selecting a proper database writing procedure according to the check result. The interactive credit judgment credit and the interactive information accumulation task can be carried out in the cache server, the accuracy of accumulation results is ensured, the database access pressure of the distributed system is further reduced, and the information accumulation efficiency of the distributed system is improved.
Drawings
FIG. 1 is an application environment diagram of a resource interaction information processing method in one embodiment;
FIG. 2 is a flow chart of a method for processing resource interaction information in one embodiment;
FIG. 3 is a flow diagram of a database write process determination method in one embodiment;
FIG. 4 is a flowchart of a method for obtaining processed interaction cumulative information in one embodiment;
FIG. 5 is a flowchart of a method for obtaining processed interaction accumulated information according to another embodiment;
FIG. 6 is a flowchart of a method for obtaining an interactive credit information determination result in an embodiment;
FIG. 7 is a flowchart of a method for obtaining account resource interaction amount information determination results in an embodiment;
FIG. 8 is a flowchart of a method for obtaining a channel resource interaction quota information determination result in one embodiment;
FIG. 9 is a flowchart of a method for obtaining updated interaction cumulative information according to an embodiment;
FIG. 10 is a schematic diagram of data interaction of a resource interaction information processing system in one embodiment;
FIG. 11 is a block diagram of a resource interaction information processing apparatus in one embodiment;
fig. 12 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The resource interaction information processing method provided by the embodiment of the application can be applied to an application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104 or may be located on a cloud or other network server. The server 104 responds to the task instruction of the terminal 102, and the server 104 acquires an account resource scheduling message corresponding to the target object account through the terminal 102; the account resource scheduling message comprises an object account number and a resource scheduling date; checking whether an object account number and a resource scheduling date exist in an object account information table corresponding to a target object account in a cache server, and obtaining an account data checking result; determining a database writing flow corresponding to the target object account according to the account data checking result; according to the database writing process, business data processing is carried out on the interaction accumulated information to be processed corresponding to the target object account, and the interaction accumulated information after processing is obtained; under the condition that the resource interaction limit information in the target object account does not exceed the resource interaction upper limit information, covering the processed interaction accumulation information with the interaction accumulation information to be processed to obtain updated interaction accumulation information; the updated interaction accumulation information is used for recording the resource interaction condition of the target object account. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices, and portable wearable devices, where the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart vehicle devices, and the like. The portable wearable device may be a smart watch, smart bracelet, headset, or the like. The server 104 may be implemented as a stand-alone server or as a server cluster of multiple servers.
In one embodiment, as shown in fig. 2, a method for processing resource interaction information is provided, and the method is applied to the server in fig. 1 for illustration, and includes the following steps:
step 202, obtaining an account resource scheduling message corresponding to the target object account.
The target account may be an account that needs to interact with the resource interaction platform, for example: merchants that interact with banks for money are required.
The account resource scheduling message may be record information formed after the target object account performs resource interaction with the resource interaction platform, for example: payment method, transaction amount, merchant number and the like.
Specifically, the server responds to an instruction of the terminal, and the server retrieves account resource scheduling messages corresponding to the target object account from the terminal, wherein the account resource scheduling messages at least comprise two data record information including an object account number and a resource scheduling date, the acquired account resource scheduling messages are stored in the storage unit, and when the server needs to process any message information in the account resource scheduling messages, the account resource scheduling messages are retrieved from the storage unit to volatile storage resources for calculation by the central processing unit. The data record corresponding to any inherent information can be single data input to the central processing unit, or can be a plurality of data input to the central processing unit at the same time.
Step 204, checking whether an object account number and a resource scheduling date exist in an object account information table corresponding to the target object account in the cache server, and obtaining an account data checking result.
The object account information table may be a table for recording characteristic information, interaction information, setting information, and the like of the target object account in the cache server.
Wherein, the object account number can be the identification of the naming of the target object account in digitized form.
The resource scheduling date can be a specific time for the target object account to interact with the resource interaction platform.
The account data checking result may be a checking result of whether the cache server has an object account number and a resource scheduling date in a message acquired by the application server.
Specifically, the application server accesses the cache server and sends out an inspection instruction to inspect whether an object account number and a resource scheduling date of the acquired account resource scheduling message are recorded in an object account information table corresponding to the target object account in the cache server, and the cache server responds to the inspection instruction to compare all record data of the object account information table corresponding to the target object account in the cache server with the acquired object account number and the resource scheduling date respectively, so as to obtain an account data inspection result. The account data checking result comprises that no object account number and no resource scheduling date exist in the object account information table, one of the object account number and the resource scheduling date exist in the object account information table, and the object account number and the resource scheduling date exist in the object account information table.
And 206, determining a database writing flow corresponding to the target object account according to the account data checking result.
The database writing process may be a process of writing the data information in the account resource scheduling message to the database server.
Specifically, the database writing process comprises at least one of a primary interaction writing process or a non-primary interaction writing process, and if the account data checking result shows that no object account number and no resource scheduling date exist in the object account information table, the obtained interaction information in the account resource scheduling message is the primary resource interaction of the object account, the primary interaction writing process is used as the database writing process; if the account data checking result shows that one of the object account number and the resource scheduling date exists in the object account information table, or the object account number and the resource scheduling date exist in the object account information table, the obtained interaction information in the account resource scheduling message is not the primary resource interaction of the object target account, namely the historical resource interaction exists in the target object account, and the non-primary interaction writing process is used as a database writing process.
And step 208, performing business data processing on the interaction accumulation information to be processed corresponding to the target object account according to the database writing flow, and obtaining the interaction accumulation information after processing.
The interaction accumulation information to be processed can be interaction information which indicates that the target object account has a history resource interaction record in the cache server, and the interaction information can be accumulated, wherein if the target object account does not perform any history resource interaction, the interaction accumulation information to be processed is null.
The processed interaction accumulation information may be an accumulation result obtained by accumulating the interaction accumulation information to be processed and current resource scheduling information (obtained interaction information) in the account resource scheduling message.
Specifically, if the primary interactive writing process is used as the database writing process, the interaction accumulated information to be processed is represented as a null value. According to the selected primary interaction writing flow, the application server accesses the database server and sends out an inspection instruction to inspect whether an object account number and a resource dispatching date of the acquired account resource dispatching message are recorded in an object account information table corresponding to the target object account in the database server, so as to obtain a database inspection result; if the database checking result shows that the object account number and the resource scheduling date do not exist in the object account information table, the obtained interaction information in the account resource scheduling message is further indicated to be the primary resource interaction of the object target account, and then the current resource scheduling information of the account resource scheduling message is used as the processed interaction accumulation information.
Or if the non-primary interactive writing process is used as the database writing process, the interaction accumulated information to be processed is indicated to be the non-primary accumulated information to be processed. Adding the current resource scheduling information of the account resource scheduling message on the basis of the non-initial accumulated information to be processed according to the non-initial interaction writing flow, namely adding the current resource scheduling information and the non-initial accumulated information to obtain processed interaction accumulated information; meanwhile, according to the non-primary interaction writing flow, under the condition of interaction triggering characteristic information of the same target object account (for example, the merchant current day accumulated transaction count, the merchant current month accumulated transaction count, the payment mode current day accumulated transaction count and the payment mode current month accumulated transaction count), the current resource scheduling limit information of the account resource scheduling message is added on the basis of the historical resource interaction limit information in the target object account, namely, the current resource scheduling limit information and the historical resource interaction limit information are added to obtain resource interaction limit information.
The interactive triggering characteristic information of the target object account comprises target account resource interaction information and interaction channel resource interaction information, the resource interaction limit information comprises account resource interaction limit information and channel resource interaction limit information, and the resource interaction upper limit information comprises account resource interaction upper limit information and channel resource interaction upper limit information; further, the target account resource interaction information comprises target account single month resource interaction information and target account single month resource interaction information, the account resource interaction limit information comprises account resource single day interaction limit information and account resource single month interaction limit information, the account resource interaction upper limit information comprises account resource single day interaction upper limit information and account resource single month interaction upper limit information, the interaction channel resource interaction information comprises interaction channel single day resource interaction information and interaction channel single month resource interaction information, the channel resource interaction limit information comprises channel resource single day interaction limit information and channel resource single month interaction limit information, and the channel resource interaction upper limit information comprises channel resource single day interaction upper limit information and channel resource single month interaction upper limit information.
Whether the primary interaction writing process or the non-primary interaction writing process is selected, the following judgment is executed to obtain an interaction quota information judgment result, and the judgment result is used for representing whether the resource interaction quota information does not exceed the resource interaction upper quota information.
Under the condition that whether the target account single-day resource interaction information exceeds the limit is selected, the account resource single-day interaction limit information is compared with the account resource single-day interaction upper limit information, for example: comparing the current day accumulated transaction count D1 of the merchant A with the current day accumulated transaction count limit K1 of the merchant, wherein the mathematical expression is as follows: judging that D1+1-K1>0, if true, overrun, otherwise D1=D1+1; comparing the single transaction amount T with the single transaction amount limit L0, wherein the mathematical expression is as follows: judging that T-L1 is more than 0, if so, overrun; comparing the current day accumulated transaction amount S1 of the merchant A with the current day accumulated transaction amount limit L1 of the merchant, wherein the mathematical expression is as follows: judging that S1+T-L1>0, if yes, overrun, otherwise S1=S1+T; and obtaining the account resource single-day interaction limit information judgment result. Similarly, under the condition that whether the target account single month resource interaction information exceeds the limit is selected, the account resource single month interaction limit information is compared with the account resource single month interaction upper limit information, for example: comparing the current month accumulated transaction count D2 of the merchant A with the current month accumulated transaction count limit K2 of the merchant, wherein the mathematical expression is as follows: judging that D2+1-K2>0, if true, overrun, otherwise D2=D2+1; comparing the single transaction amount T with the single transaction amount limit L0, wherein the mathematical expression is as follows: judging that T-L1 is more than 0, if so, overrun; comparing the current month accumulated transaction amount S2 of the merchant A with the current month accumulated transaction amount limit L2 of the merchant, wherein the mathematical expression is as follows: judging that S2+T-L2>0, if yes, overrun, otherwise S2=S2+T; and obtaining the account resource single month interaction limit information judgment result. Integrating the compared account resource single-month interaction limit information judgment result and the compared account resource single-month interaction limit information judgment result to obtain an account resource interaction limit information judgment result.
Under the condition that whether the interaction channel single-day resource interaction information exceeds the limit is selected, the channel resource single-day interaction limit information is compared with the channel resource single-day interaction upper limit information, for example: comparing the current transaction payment mode current day accumulated transaction count D3 with the current transaction payment mode current day transaction count limit K3, wherein the mathematical expression is as follows: judging that D3+1-K3>0, if true, overrun, otherwise D3=D3+1; comparing the single transaction amount T with the single transaction amount limit L0, wherein the mathematical expression is as follows: judging that T-L1 is more than 0, if so, overrun; comparing the current transaction payment mode current day accumulated transaction amount S3 with the current transaction amount limit L3 of the current payment mode, wherein the mathematical expression is as follows: judging that S3+T-L3>0, if yes, overrun, otherwise S3=S3+T; and obtaining a channel resource single-day interaction quota information judgment result. Similarly, under the condition that whether the interaction channel single month resource interaction information exceeds the limit is selected, the channel resource single month interaction limit information is compared with the channel resource single month interaction upper limit information, for example: comparing the current transaction payment mode current month accumulated transaction count D4 with the current transaction payment mode current month transaction count limit K2, wherein the mathematical expression is as follows: judging that D4+1-K4>0, if true, overrun, otherwise D4=D4+1; comparing the single transaction amount T with the single transaction amount limit L0, wherein the mathematical expression is as follows: judging that T-L1 is more than 0, if so, overrun; comparing the current transaction payment mode current month accumulated transaction amount S4 with the current transaction amount limit L4 of the current payment mode, wherein the mathematical expression is as follows: judging that S4+T-L4>0, if yes, overrun, otherwise S4=S4+T; and obtaining a channel resource single month interaction quota information judgment result. And integrating the compared channel resource single-month interaction quota information judgment result and the compared channel resource single-month interaction quota information judgment result to obtain the channel resource interaction quota information judgment result.
Integrating the judged account resource interaction limit information judgment result and the judged channel resource interaction limit information judgment result to obtain the interaction limit information judgment result.
Step 210, covering the processed interaction accumulation information with the to-be-processed interaction accumulation information to obtain updated interaction accumulation information under the condition that the resource interaction limit information in the target object account does not exceed the resource interaction limit information.
The updated interaction accumulation information may be a result of the data recorded with the history interaction accumulation information by the database server being covered by using the processed interaction accumulation information.
Specifically, interaction accumulated writing information corresponding to the target object account for writing to different servers is generated according to the processed interaction accumulated information, wherein the data format of the interaction accumulated writing information and the processed interaction accumulated information can be the same or different, and the data format of the interaction accumulated writing information is determined according to the written servers. The interactive accumulated writing information is written into the message server first, and then the interactive accumulated writing information is written into the database server again through the message server. For example: the application server writes transaction accumulated information D1, D2, D3, D4, S1, S2, S3 and S4 of the merchant A to the message server; the message server M06 then writes transaction summary information D1, D2, D3, D4, S1, S2, S3, S4 for merchant a to the database server.
In the resource interaction information processing method, an account resource scheduling message corresponding to a target object account is obtained; the account resource scheduling message comprises an object account number and a resource scheduling date; checking whether an object account number and a resource scheduling date exist in an object account information table corresponding to a target object account in a cache server, and obtaining an account data checking result; determining a database writing flow corresponding to the target object account according to the account data checking result; according to the database writing process, business data processing is carried out on the interaction accumulated information to be processed corresponding to the target object account, and the interaction accumulated information after processing is obtained; under the condition that the resource interaction limit information in the target object account does not exceed the resource interaction upper limit information, covering the processed interaction accumulation information with the interaction accumulation information to be processed to obtain updated interaction accumulation information; the updated interaction accumulation information is used for recording the resource interaction condition of the target object account.
Before the application server directly accesses the database server, the cache server and the message server are introduced to check the message information of the account resource scheduling message, and the interaction accumulated information in the database server is further updated after the message information is processed by selecting a proper database writing procedure according to the check result. The interactive credit judgment credit and the interactive information accumulation task can be carried out in the cache server, the accuracy of accumulation results is ensured, the database access pressure of the distributed system is further reduced, and the information accumulation efficiency of the distributed system is improved.
In one embodiment, as shown in fig. 3, according to the account data checking result, determining a database writing flow corresponding to the target object account includes:
step 302, the account data checking result indicates that no account number and no resource scheduling date exist in the account information table, and the primary interaction writing process is used as a database writing process.
The first interaction writing flow may be a flow of writing data information generated by the first resource interaction into each server when the target object account has not undergone resource interaction.
Specifically, if the account data checking result shows that no object account number and no resource scheduling date exist in the object account information table, which indicates that the obtained interaction information in the account resource scheduling message is the primary resource interaction of the object target account, the primary interaction writing process is used as the database writing process.
Step 304, the account data checking result represents that the object account number or the resource scheduling date exists in the object account information table, and the non-primary interaction writing process is used as a database writing process.
The non-primary interaction writing flow may be a flow of writing data information generated by the next resource interaction into each server under the condition that the target object account has resource interaction.
Specifically, if the account data checking result shows that one of the object account number and the resource scheduling date exists in the object account information table, or the object account number and the resource scheduling date exist in the object account information table, which indicates that the obtained interaction information in the account resource scheduling message is not the primary resource interaction of the object target account, that is, the resource interaction of the history of the target object account exists, the non-primary interaction writing process is used as the database writing process.
In this embodiment, by checking whether the object account information table of the cache database has the object account number and the resource scheduling date, and correspondingly selecting at least one of the first interaction writing procedure or the non-first interaction writing procedure, different interaction writing procedures can be used for the first resource interaction of the target object account, so that the access times of the application server to the database server are reduced, and the access pressure of the database server is further reduced.
In one embodiment, as shown in fig. 4, in the case where the first interaction writing procedure is used as the database writing procedure, according to the database writing procedure, service data processing is performed on the to-be-processed interaction accumulation information corresponding to the target object account, so as to obtain processed interaction accumulation information, where the processing includes:
Step 402, checking whether the target account in the database server has the object account number and the resource scheduling date according to the primary interactive writing flow, and obtaining a database checking result.
The database check result may be a check result of whether or not the object account number and the resource scheduling date exist in the database server.
Specifically, if the primary interactive writing process is used as the database writing process, the interaction accumulated information to be processed is represented as a null value. According to the selected primary interaction writing flow, the application server accesses the database server and sends out an inspection instruction to inspect whether an object account number and a resource dispatching date of the acquired account resource dispatching message are recorded in an object account information table corresponding to the target object account in the database server, so as to obtain a database inspection result.
Step 404, taking the current resource scheduling information of the account resource scheduling message as the processed interaction accumulation information under the condition that the database checking result represents that the object account number and the resource scheduling date do not exist in the database server.
The secondary resource scheduling information may be data information representing that the target object account performs resource scheduling currently in the account resource scheduling message.
Specifically, if the database checking result shows that the object account number and the resource scheduling date do not exist in the object account information table, further indicating that the acquired interaction information in the account resource scheduling message is the primary resource interaction of the object target account, taking the current resource scheduling information of the account resource scheduling message as the processed interaction accumulation information.
And step 406, comparing the resource interaction limit information and the resource interaction upper limit information in the target object account according to the interaction triggering characteristic information of the same target object account according to the initial interaction writing flow, and obtaining an interaction limit information judging result.
The interaction triggering characteristic information may be a condition for judging data information generated by resource interaction of the target object account, for example: the merchant accumulates transaction amounts and transaction payment means accumulates transaction amounts.
The resource interaction amount information may be an accumulated resource transaction amount of the target object account for performing the resource interaction on the account and an accumulated resource transaction amount of the target object account for performing the resource interaction on the interaction channel.
The resource interaction upper limit degree information can be an accumulated resource transaction amount upper limit degree of the resource interaction of the target object account on the account and an accumulated resource transaction amount upper limit of the resource interaction on the interaction channel.
The interactive quota information determination result may be a result indicating whether the resource interactive quota information does not exceed the resource interactive upper quota information.
The interactive triggering characteristic information of the target object account comprises target account resource interaction information and interaction channel resource interaction information, the resource interaction limit information comprises account resource interaction limit information and channel resource interaction limit information, and the resource interaction upper limit information comprises account resource interaction upper limit information and channel resource interaction upper limit information; further, the target account resource interaction information comprises target account single month resource interaction information and target account single month resource interaction information, the account resource interaction limit information comprises account resource single day interaction limit information and account resource single month interaction limit information, the account resource interaction upper limit information comprises account resource single day interaction upper limit information and account resource single month interaction upper limit information, the interaction channel resource interaction information comprises interaction channel single day resource interaction information and interaction channel single month resource interaction information, the channel resource interaction limit information comprises channel resource single day interaction limit information and channel resource single month interaction limit information, and the channel resource interaction upper limit information comprises channel resource single day interaction upper limit information and channel resource single month interaction upper limit information.
Specifically, under the condition that whether the target account single-day resource interaction information exceeds the limit is selected, the account resource single-day interaction limit information is compared with the account resource single-day interaction upper limit information, for example: comparing the current day accumulated transaction count D1 of the merchant A with the current day accumulated transaction count limit K1 of the merchant, wherein the mathematical expression is as follows: judging that D1+1-K1>0, if true, overrun, otherwise D1=D1+1; comparing the single transaction amount T with the single transaction amount limit L0, wherein the mathematical expression is as follows: judging that T-L1 is more than 0, if so, overrun; comparing the current day accumulated transaction amount S1 of the merchant A with the current day accumulated transaction amount limit L1 of the merchant, wherein the mathematical expression is as follows: judging that S1+T-L1>0, if yes, overrun, otherwise S1=S1+T; and obtaining the account resource single-day interaction limit information judgment result. Similarly, under the condition that whether the target account single month resource interaction information exceeds the limit is selected, the account resource single month interaction limit information is compared with the account resource single month interaction upper limit information, for example: comparing the current month accumulated transaction count D2 of the merchant A with the current month accumulated transaction count limit K2 of the merchant, wherein the mathematical expression is as follows: judging that D2+1-K2>0, if true, overrun, otherwise D2=D2+1; comparing the single transaction amount T with the single transaction amount limit L0, wherein the mathematical expression is as follows: judging that T-L1 is more than 0, if so, overrun; comparing the current month accumulated transaction amount S2 of the merchant A with the current month accumulated transaction amount limit L2 of the merchant, wherein the mathematical expression is as follows: judging that S2+T-L2>0, if yes, overrun, otherwise S2=S2+T; and obtaining the account resource single month interaction limit information judgment result. Integrating the compared account resource single-month interaction limit information judgment result and the compared account resource single-month interaction limit information judgment result to obtain an account resource interaction limit information judgment result.
Under the condition that whether the interaction channel single-day resource interaction information exceeds the limit is selected, the channel resource single-day interaction limit information is compared with the channel resource single-day interaction upper limit information, for example: comparing the current transaction payment mode current day accumulated transaction count D3 with the current transaction payment mode current day transaction count limit K3, wherein the mathematical expression is as follows: judging that D3+1-K3>0, if true, overrun, otherwise D3=D3+1; comparing the single transaction amount T with the single transaction amount limit L0, wherein the mathematical expression is as follows: judging that T-L1 is more than 0, if so, overrun; comparing the current transaction payment mode current day accumulated transaction amount S3 with the current transaction amount limit L3 of the current payment mode, wherein the mathematical expression is as follows: judging that S3+T-L3>0, if yes, overrun, otherwise S3=S3+T; and obtaining a channel resource single-day interaction quota information judgment result. Similarly, under the condition that whether the interaction channel single month resource interaction information exceeds the limit is selected, the channel resource single month interaction limit information is compared with the channel resource single month interaction upper limit information, for example: comparing the current transaction payment mode current month accumulated transaction count D4 with the current transaction payment mode current month transaction count limit K2, wherein the mathematical expression is as follows: judging that D4+1-K4>0, if true, overrun, otherwise D4=D4+1; comparing the single transaction amount T with the single transaction amount limit L0, wherein the mathematical expression is as follows: judging that T-L1 is more than 0, if so, overrun; comparing the current transaction payment mode current month accumulated transaction amount S4 with the current transaction amount limit L4 of the current payment mode, wherein the mathematical expression is as follows: judging that S4+T-L4>0, if yes, overrun, otherwise S4=S4+T; and obtaining a channel resource single month interaction quota information judgment result. And integrating the compared channel resource single-month interaction quota information judgment result and the compared channel resource single-month interaction quota information judgment result to obtain the channel resource interaction quota information judgment result.
Integrating the judged account resource interaction limit information judgment result and the judged channel resource interaction limit information judgment result to obtain the interaction limit information judgment result.
In this embodiment, the service data processing is performed on the interaction accumulation information to be processed and whether the resource interaction amount is excessive is judged by using the primary interaction writing process in the cache server, so that the access times of the database server can be reduced, and the stability of the system can be improved.
In one embodiment, as shown in fig. 5, in the case that the non-primary interaction writing procedure is used as the database writing procedure, according to the database writing procedure, service data processing is performed on the interaction accumulation information to be processed corresponding to the target object account, so as to obtain the interaction accumulation information after processing, including:
step 502, adding current resource scheduling information of the account resource scheduling message and non-initial accumulated information to be processed according to the non-initial interaction writing flow, and obtaining processed interaction accumulated information.
The non-initial accumulated information to be processed may be the sum of interaction information recorded in the cache server due to historical transactions in the target account.
Specifically, if the non-primary interactive writing process is used as the database writing process, the interaction accumulated information to be processed is indicated as the non-primary accumulated information to be processed. And adding the current resource scheduling information of the account resource scheduling message on the basis of the non-initial accumulated information to be processed according to the non-initial interaction writing flow, namely adding the current resource scheduling information and the non-initial accumulated information to obtain the processed interaction accumulated information.
Step 504, according to the non-primary interaction writing flow and the interaction triggering characteristic information of the same target object account, adding the current resource scheduling limit information of the account resource scheduling message and the historical resource interaction limit information in the target object account to obtain the resource interaction limit information.
The historical resource interaction amount information can be the accumulated resource transaction total amount of the resource interaction of the target object account on the account history and the accumulated resource transaction total amount of the resource interaction on the interaction channel history.
Specifically, according to the non-primary interaction writing flow, under the condition of interaction triggering characteristic information of the same target object account (for example, the merchant current day accumulated transaction count, the merchant current month accumulated transaction count, the payment mode current day accumulated transaction count and the payment mode current month accumulated transaction count), the current resource scheduling limit information of the account resource scheduling message is added on the basis of the historical resource interaction limit information in the target object account, namely, the current resource scheduling limit information and the historical resource interaction limit information are added to obtain resource interaction limit information.
And step 506, comparing the resource interaction limit information in the target object account with the resource interaction upper limit information to obtain an interaction limit information judgment result.
The interactive triggering characteristic information of the target object account comprises target account resource interaction information and interaction channel resource interaction information, the resource interaction limit information comprises account resource interaction limit information and channel resource interaction limit information, and the resource interaction upper limit information comprises account resource interaction upper limit information and channel resource interaction upper limit information; further, the target account resource interaction information comprises target account single month resource interaction information and target account single month resource interaction information, the account resource interaction limit information comprises account resource single day interaction limit information and account resource single month interaction limit information, the account resource interaction upper limit information comprises account resource single day interaction upper limit information and account resource single month interaction upper limit information, the interaction channel resource interaction information comprises interaction channel single day resource interaction information and interaction channel single month resource interaction information, the channel resource interaction limit information comprises channel resource single day interaction limit information and channel resource single month interaction limit information, and the channel resource interaction upper limit information comprises channel resource single day interaction upper limit information and channel resource single month interaction upper limit information.
Specifically, under the condition that whether the target account single-day resource interaction information exceeds the limit is selected, the account resource single-day interaction limit information is compared with the account resource single-day interaction upper limit information, for example: comparing the current day accumulated transaction count D1 of the merchant A with the current day accumulated transaction count limit K1 of the merchant, wherein the mathematical expression is as follows: judging that D1+1-K1>0, if true, overrun, otherwise D1=D1+1; comparing the single transaction amount T with the single transaction amount limit L0, wherein the mathematical expression is as follows: judging that T-L1 is more than 0, if so, overrun; comparing the current day accumulated transaction amount S1 of the merchant A with the current day accumulated transaction amount limit L1 of the merchant, wherein the mathematical expression is as follows: judging that S1+T-L1>0, if yes, overrun, otherwise S1=S1+T; and obtaining the account resource single-day interaction limit information judgment result. Similarly, under the condition that whether the target account single month resource interaction information exceeds the limit is selected, the account resource single month interaction limit information is compared with the account resource single month interaction upper limit information, for example: comparing the current month accumulated transaction count D2 of the merchant A with the current month accumulated transaction count limit K2 of the merchant, wherein the mathematical expression is as follows: judging that D2+1-K2>0, if true, overrun, otherwise D2=D2+1; comparing the single transaction amount T with the single transaction amount limit L0, wherein the mathematical expression is as follows: judging that T-L1 is more than 0, if so, overrun; comparing the current month accumulated transaction amount S2 of the merchant A with the current month accumulated transaction amount limit L2 of the merchant, wherein the mathematical expression is as follows: judging that S2+T-L2>0, if yes, overrun, otherwise S2=S2+T; and obtaining the account resource single month interaction limit information judgment result. Integrating the compared account resource single-month interaction limit information judgment result and the compared account resource single-month interaction limit information judgment result to obtain an account resource interaction limit information judgment result.
Under the condition that whether the interaction channel single-day resource interaction information exceeds the limit is selected, the channel resource single-day interaction limit information is compared with the channel resource single-day interaction upper limit information, for example: comparing the current transaction payment mode current day accumulated transaction count D3 with the current transaction payment mode current day transaction count limit K3, wherein the mathematical expression is as follows: judging that D3+1-K3>0, if true, overrun, otherwise D3=D3+1; comparing the single transaction amount T with the single transaction amount limit L0, wherein the mathematical expression is as follows: judging that T-L1 is more than 0, if so, overrun; comparing the current transaction payment mode current day accumulated transaction amount S3 with the current transaction amount limit L3 of the current payment mode, wherein the mathematical expression is as follows: judging that S3+T-L3>0, if yes, overrun, otherwise S3=S3+T; and obtaining a channel resource single-day interaction quota information judgment result. Similarly, under the condition that whether the interaction channel single month resource interaction information exceeds the limit is selected, the channel resource single month interaction limit information is compared with the channel resource single month interaction upper limit information, for example: comparing the current transaction payment mode current month accumulated transaction count D4 with the current transaction payment mode current month transaction count limit K2, wherein the mathematical expression is as follows: judging that D4+1-K4>0, if true, overrun, otherwise D4=D4+1; comparing the single transaction amount T with the single transaction amount limit L0, wherein the mathematical expression is as follows: judging that T-L1 is more than 0, if so, overrun; comparing the current transaction payment mode current month accumulated transaction amount S4 with the current transaction amount limit L4 of the current payment mode, wherein the mathematical expression is as follows: judging that S4+T-L4>0, if yes, overrun, otherwise S4=S4+T; and obtaining a channel resource single month interaction quota information judgment result. And integrating the compared channel resource single-month interaction quota information judgment result and the compared channel resource single-month interaction quota information judgment result to obtain the channel resource interaction quota information judgment result.
Integrating the judged account resource interaction limit information judgment result and the judged channel resource interaction limit information judgment result to obtain the interaction limit information judgment result.
In this embodiment, by using a non-primary interaction write procedure in the cache server to perform service data processing on the interaction accumulation information to be processed and determining whether the resource interaction amount has an excess condition, it is able to ensure that the resource interaction information accumulation calculation and determining whether the excess has enough calculation resources, and improve the accuracy of both calculation.
In one embodiment, as shown in fig. 6, comparing the resource interaction limit information with the resource interaction upper limit information in the target object account to obtain an interaction limit information judgment result, including:
step 602, comparing the account resource interaction limit information with the account resource interaction upper limit information according to the target account resource interaction information, and obtaining an account resource interaction limit information judgment result.
The target account resource interaction information may be one of conditions of interaction triggering characteristic information for judging whether the target object account is overrated in the dimension of the account, for example: the merchant accumulates the transaction amount as a judgment condition.
The account resource interaction amount information may be an accumulated resource transaction amount of the target object account for performing resource interaction on the account, for example: the merchant accumulates the transaction total.
The account resource interaction upper limit degree information may be an upper limit amount of accumulated resource transactions of the target object account for resource interaction on the account, for example: the merchant accumulates the transaction upper limit amount.
The account resource interaction limit information determination result may be a result indicating whether the account resource interaction limit information does not exceed the account resource interaction upper limit information.
Specifically, under the condition that whether the target account single-day resource interaction information exceeds the limit is selected, the account resource single-day interaction limit information is compared with the account resource single-day interaction upper limit information, for example: comparing the current day accumulated transaction count D1 of the merchant A with the current day accumulated transaction count limit K1 of the merchant, wherein the mathematical expression is as follows: judging that D1+1-K1>0, if true, overrun, otherwise D1=D1+1; comparing the single transaction amount T with the single transaction amount limit L0, wherein the mathematical expression is as follows: judging that T-L1 is more than 0, if so, overrun; comparing the current day accumulated transaction amount S1 of the merchant A with the current day accumulated transaction amount limit L1 of the merchant, wherein the mathematical expression is as follows: judging that S1+T-L1>0, if yes, overrun, otherwise S1=S1+T; and obtaining the account resource single-day interaction limit information judgment result. Similarly, under the condition that whether the target account single month resource interaction information exceeds the limit is selected, the account resource single month interaction limit information is compared with the account resource single month interaction upper limit information, for example: comparing the current month accumulated transaction count D2 of the merchant A with the current month accumulated transaction count limit K2 of the merchant, wherein the mathematical expression is as follows: judging that D2+1-K2>0, if true, overrun, otherwise D2=D2+1; comparing the single transaction amount T with the single transaction amount limit L0, wherein the mathematical expression is as follows: judging that T-L1 is more than 0, if so, overrun; comparing the current month accumulated transaction amount S2 of the merchant A with the current month accumulated transaction amount limit L2 of the merchant, wherein the mathematical expression is as follows: judging that S2+T-L2>0, if yes, overrun, otherwise S2=S2+T; and obtaining the account resource single month interaction limit information judgment result. Integrating the compared account resource single-month interaction limit information judgment result and the compared account resource single-month interaction limit information judgment result to obtain an account resource interaction limit information judgment result.
Step 604, comparing the channel resource interaction quota information with the channel resource interaction upper quota information according to the interaction channel resource interaction information, and obtaining a channel resource interaction quota information judgment result.
The interaction channel resource interaction information may be one of conditions of interaction triggering characteristic information for judging whether the target object account is overrated in the dimension of the interaction channel, for example: the transaction payment mode accumulates transaction amount as a judgment condition.
The channel resource interaction amount information may be an accumulated resource transaction amount of the target object account for performing resource interaction on the interaction channel, for example: the transaction payment means accumulates the total amount of the transaction.
The channel resource interaction upper limit degree information may be an upper limit amount of accumulated resource transactions of the resource interaction performed by the target object account on the interaction channel, for example: the transaction payment means accumulates the transaction upper limit amount.
The channel resource interaction quota information determination result may be a result indicating whether the channel resource interaction quota information does not exceed the channel resource interaction upper quota information.
Specifically, under the condition that whether the interaction channel single-day resource interaction information exceeds the limit is selected, the channel resource single-day interaction limit information is compared with the channel resource single-day interaction upper limit information, for example: comparing the current transaction payment mode current day accumulated transaction count D3 with the current transaction payment mode current day transaction count limit K3, wherein the mathematical expression is as follows: judging that D3+1-K3>0, if true, overrun, otherwise D3=D3+1; comparing the single transaction amount T with the single transaction amount limit L0, wherein the mathematical expression is as follows: judging that T-L1 is more than 0, if so, overrun; comparing the current transaction payment mode current day accumulated transaction amount S3 with the current transaction amount limit L3 of the current payment mode, wherein the mathematical expression is as follows: judging that S3+T-L3>0, if yes, overrun, otherwise S3=S3+T; and obtaining a channel resource single-day interaction quota information judgment result. Similarly, under the condition that whether the interaction channel single month resource interaction information exceeds the limit is selected, the channel resource single month interaction limit information is compared with the channel resource single month interaction upper limit information, for example: comparing the current transaction payment mode current month accumulated transaction count D4 with the current transaction payment mode current month transaction count limit K2, wherein the mathematical expression is as follows: judging that D4+1-K4>0, if true, overrun, otherwise D4=D4+1; comparing the single transaction amount T with the single transaction amount limit L0, wherein the mathematical expression is as follows: judging that T-L1 is more than 0, if so, overrun; comparing the current transaction payment mode current month accumulated transaction amount S4 with the current transaction amount limit L4 of the current payment mode, wherein the mathematical expression is as follows: judging that S4+T-L4>0, if yes, overrun, otherwise S4=S4+T; and obtaining a channel resource single month interaction quota information judgment result. And integrating the compared channel resource single-month interaction quota information judgment result and the compared channel resource single-month interaction quota information judgment result to obtain the channel resource interaction quota information judgment result.
Step 606, obtaining the interactive credit information judgment result according to the account resource interactive credit information judgment result and the channel resource interactive credit information judgment result.
Specifically, integrating the judged account resource interaction limit information judgment result and the judged channel resource interaction limit information judgment result to obtain the interaction limit information judgment result.
In this embodiment, by comparing the resource interaction limit information and the resource interaction upper limit information in two different dimensions of the target account and the interaction channel, and judging whether the resource interaction limit information and the resource interaction upper limit information exceed the preset limit, the target object account can be ensured to perform resource interaction within the preset range, the security of the target object account is improved, and abnormal resource interaction is reduced.
In one embodiment, as shown in fig. 7, according to the target account resource interaction information, comparing the account resource interaction limit information with the account resource interaction upper limit information to obtain an account resource interaction limit information judgment result, including:
step 702, comparing the account resource single-day interaction quota information with the account resource single-day interaction upper quota information according to the target account single-day resource interaction information, and obtaining an account resource single-day interaction quota information judgment result.
The target account single day resource interaction information may be one of conditions of account resource interaction amount information for determining whether the target object account is overrated in the dimension of the account single day resource interaction amount, for example: the merchant accumulates transaction amount on a single day as a judgment condition.
The account resource daily interaction amount information may be a daily accumulated resource transaction amount of the target object account for performing resource interaction on the account, for example: the merchant accumulates the transaction total amount on a single day.
The account resource single-day interaction upper limit degree information may be an upper limit amount of a single-day accumulated resource transaction of the target object account for performing resource interaction on the account, for example: the merchant accumulates the transaction upper limit amount on a single day.
The account resource single-day interaction limit information judging result may be a result indicating whether the account resource single-day interaction limit information does not exceed the account resource single-day interaction upper limit information.
Specifically, under the condition that whether the target account single-day resource interaction information exceeds the limit is selected, the account resource single-day interaction limit information is compared with the account resource single-day interaction upper limit information, for example: comparing the current day accumulated transaction count D1 of the merchant A with the current day accumulated transaction count limit K1 of the merchant, wherein the mathematical expression is as follows: judging that D1+1-K1>0, if true, overrun, otherwise D1=D1+1; comparing the single transaction amount T with the single transaction amount limit L0, wherein the mathematical expression is as follows: judging that T-L1 is more than 0, if so, overrun; comparing the current day accumulated transaction amount S1 of the merchant A with the current day accumulated transaction amount limit L1 of the merchant, wherein the mathematical expression is as follows: judging that S1+T-L1>0, if yes, overrun, otherwise S1=S1+T; and obtaining the account resource single-day interaction limit information judgment result.
And step 704, comparing the account resource single month interaction limit information with the account resource single month interaction upper limit information according to the target account single month resource interaction information to obtain an account resource single month interaction limit information judgment result.
The target account single month resource interaction information may be one of conditions of account resource interaction amount information for judging whether the target object account is overrated in the dimension of the account single month resource interaction amount, for example: and the merchant accumulates transaction amount for a month as a judgment condition.
The account resource single month interaction amount information may be a single month accumulated resource transaction amount of resource interaction performed on the account by the target object account, for example: merchant single month accumulated transaction total
The account resource monthly interaction upper limit degree information may be an upper limit amount of monthly accumulated resource transactions of resource interaction of the target object account on the account, for example: the merchant accumulates the transaction upper limit amount for a single month.
The account resource single month interaction limit information judging result may be a result indicating whether the account resource single month interaction limit information does not exceed the account resource single month interaction upper limit information.
Specifically, under the condition that whether the target account single month resource interaction information exceeds the limit is selected, the account resource single month interaction limit information is compared with the account resource single month interaction upper limit information, for example: comparing the current month accumulated transaction count D2 of the merchant A with the current month accumulated transaction count limit K2 of the merchant, wherein the mathematical expression is as follows: judging that D2+1-K2>0, if true, overrun, otherwise D2=D2+1; comparing the single transaction amount T with the single transaction amount limit L0, wherein the mathematical expression is as follows: judging that T-L1 is more than 0, if so, overrun; comparing the current month accumulated transaction amount S2 of the merchant A with the current month accumulated transaction amount limit L2 of the merchant, wherein the mathematical expression is as follows: judging that S2+T-L2>0, if yes, overrun, otherwise S2=S2+T; and obtaining the account resource single month interaction limit information judgment result.
Step 706, obtaining the account resource interaction amount information judgment result according to the account resource single-day interaction amount information judgment result and the account resource single-month interaction amount information judgment result.
Specifically, integrating the compared account resource single-month interaction limit information judgment result and the compared account resource single-month interaction limit information judgment result to obtain the account resource interaction limit information judgment result.
In this embodiment, by refining the determination as to whether the single-day resource interaction and the single-month resource interaction of the target object account exceed the upper limit value of the single-day resource interaction and the upper limit value of the single-month resource interaction, respectively, the target object account can execute the resource interaction under the condition that the condition is satisfied, and the target object account terminates the resource interaction under the condition that the condition is not satisfied, so that the information corresponding to the target object account is still calculated under the condition that the condition is not satisfied is avoided, and the efficiency of the system is improved.
In one embodiment, as shown in fig. 8, according to the interactive channel resource interaction information, comparing the channel resource interaction quota information with the channel resource interaction upper quota information to obtain a channel resource interaction quota information judgment result, which includes:
step 802, comparing the channel resource single-day interaction quota information with the channel resource single-day interaction upper quota information according to the interaction channel single-day resource interaction information, and obtaining a channel resource single-day interaction quota information judgment result.
The interaction channel single day resource interaction information may be one of account resource interaction amount information, which is used for judging whether the target object account is overrated in the dimension of the interaction channel single day resource interaction amount, for example: the transaction amount is accumulated by the interaction channel on a single day as a judging condition.
The channel resource daily interaction amount information may be a daily accumulated resource transaction amount of resource interaction performed by the target object account on the interaction channel, for example: the interaction channel accumulates the total transaction amount on a single day.
The channel resource single-day interaction upper limit degree information may be an upper limit amount of a single-day accumulated resource transaction of resource interaction performed by the target object account on the interaction channel, for example: the interaction channel accumulates the transaction upper limit amount on a single day.
The channel resource single-day interaction quota information determination result may be a result indicating whether the channel resource single-day interaction quota information does not exceed the channel resource single-day interaction upper quota information.
Specifically, under the condition that whether the interaction channel single-day resource interaction information exceeds the limit is selected, the channel resource single-day interaction limit information is compared with the channel resource single-day interaction upper limit information, for example: comparing the current transaction payment mode current day accumulated transaction count D3 with the current transaction payment mode current day transaction count limit K3, wherein the mathematical expression is as follows: judging that D3+1-K3>0, if true, overrun, otherwise D3=D3+1; comparing the single transaction amount T with the single transaction amount limit L0, wherein the mathematical expression is as follows: judging that T-L1 is more than 0, if so, overrun; comparing the current transaction payment mode current day accumulated transaction amount S3 with the current transaction amount limit L3 of the current payment mode, wherein the mathematical expression is as follows: judging that S3+T-L3>0, if yes, overrun, otherwise S3=S3+T; and obtaining a channel resource single-day interaction quota information judgment result.
Step 804, comparing the channel resource single month interaction quota information with the channel resource single month interaction upper quota information according to the interaction channel single month resource interaction information, and obtaining a channel resource single month interaction quota information judgment result.
The interaction channel single month resource interaction information may be one of account resource interaction amount information, which is used for judging whether the target object account is overrated in the dimension of the interaction channel single month resource interaction amount, for example: the interaction channel accumulates transaction amount for a month as a judging condition.
The channel resource single month interaction quota information may be a single month accumulated resource transaction amount of resource interaction performed by the target object account on the interaction channel, for example: the interaction channel accumulates the total amount of the transaction for a single month.
The channel resource monthly interaction upper limit degree information may be an upper limit amount of monthly accumulated resource transactions of resource interaction performed by the target object account on the interaction channel, for example: the interaction channel accumulates the transaction upper limit amount for a single month.
The channel resource single month interaction quota information judging result may be a result indicating whether the channel resource single month interaction quota information does not exceed the channel resource single month interaction upper quota information.
Specifically, under the condition that whether the interaction channel single month resource interaction information exceeds the limit is selected, the channel resource single month interaction limit information is compared with the channel resource single month interaction upper limit information, for example: comparing the current transaction payment mode current month accumulated transaction count D4 with the current transaction payment mode current month transaction count limit K2, wherein the mathematical expression is as follows: judging that D4+1-K4>0, if true, overrun, otherwise D4=D4+1; comparing the single transaction amount T with the single transaction amount limit L0, wherein the mathematical expression is as follows: judging that T-L1 is more than 0, if so, overrun; comparing the current transaction payment mode current month accumulated transaction amount S4 with the current transaction amount limit L4 of the current payment mode, wherein the mathematical expression is as follows: judging that S4+T-L4>0, if yes, overrun, otherwise S4=S4+T; and obtaining a channel resource single month interaction quota information judgment result.
Step 806, obtaining the channel resource interaction quota information judgment result according to the channel resource single-month interaction quota information judgment result and the channel resource single-month interaction quota information judgment result.
Specifically, the compared channel resource single-month interaction quota information judgment result and the compared channel resource single-month interaction quota information judgment result are integrated to obtain the channel resource interaction quota information judgment result.
In this embodiment, by refining the judgment as to whether the single-day resource interaction and the single-month resource interaction of the interaction channel exceed the upper limit value of the single-day resource interaction and the upper limit value of the single-month resource interaction respectively, whether the target object account meets the preset requirement or not in the dimension of the interaction channel can be further grasped, the security of the target object account is improved, and meanwhile, the strength of the resource interaction platform for hitting bad resource transactions is improved.
In one embodiment, as shown in fig. 9, overlaying the processed interaction accumulation information with the pending interaction accumulation information to obtain updated interaction accumulation information includes:
and step 902, generating interaction accumulation write-in information corresponding to the target object account according to the processed interaction accumulation information.
The interactive integrated writing information can be integrated information obtained by converting the data format of the processed interactive integrated information according to the data format required by the target writing server.
Specifically, interaction accumulated writing information corresponding to the target object account for writing to different servers is generated according to the processed interaction accumulated information, wherein the data format of the interaction accumulated writing information and the processed interaction accumulated information can be the same or different, and the data format of the interaction accumulated writing information is determined according to the written servers.
And 904, covering the interaction accumulated written information with the interaction accumulated information to be processed to obtain updated interaction accumulated information.
Specifically, the interactive cumulative writing information is written into the message server first, and then the interactive cumulative writing information is written into the database server again through the message server. For example: the application server writes transaction accumulated information D1, D2, D3, D4, S1, S2, S3 and S4 of the merchant A to the message server; the message server M06 then writes transaction summary information D1, D2, D3, D4, S1, S2, S3, S4 for merchant a to the database server.
In this embodiment, the processed interaction accumulated information is written into the database server by using the message server, so that the degradation to the access database can be achieved even when the cache server fails, and the high availability of the system is unchanged.
In one embodiment, a resource interaction information processing system is shown in fig. 10, and comprises an application server M01, a database server M02, an application server M03, a database server M04, a cache server M05 and a message server M06. The application server M01 is connected with the database server M02, the cache server M05 and the message server M06. The application server M03 is connected to the database server M04, the cache server M05, and the message server M06. The system achieves the aim of supporting high concurrency by reducing direct access of transactions to the database. There will be processing other than this resource interaction and processing of non-primary resource interactions in the system, where the processing steps of the primary resource interaction illustrate:
Step 1: the application server M01 receives 1 merchant a initiated resource interaction.
Step 2: the application server M02 accesses the cache server M05.
Step 3: the cache server M05 has no resource interaction accumulation information of the merchant a.
Step 4: the application server M01 accesses the database server M02 and reads the resource interaction accumulation information of the merchant A.
Step 5: database server M02 returns the resource interaction accumulation information for merchant a.
Step 6: the application server M01 stores the resource interaction accumulation information of the merchant A into the cache server M05.
Step 7: the cache server M05 completes the updating of the resource interaction accumulation information and the judgment of the resource interaction quota, and returns the resource interaction accumulation information of the merchant A to the application server M01.
Step 8: the application server M01 writes the resource interaction accumulation information of the merchant a to the message server M06.
Step 9: the message server M06 writes the resource interaction accumulation information of merchant a to the database server M02.
The processing steps of non-primary resource interactions are described:
step 1: the application server M03 receives a resource interaction initiated by the merchant B.
Step 2: the application server M03 accesses the cache server M05.
Step 3: the cache server M05 has the resource interaction accumulation information of the merchant B, (M5 realizes the current resource interaction information + the resource interaction accumulation information and then = new resource interaction accumulation information), the cache server M05 completes the updating of the resource interaction accumulation information and the judgment of the resource interaction quota, and the resource interaction accumulation information of the merchant B is returned to the application server M03.
Step 4: the application server M03 writes the resource interaction accumulation information of the merchant B to the message server M06.
Step 5: the message server M06 writes the resource interaction accumulation information of merchant B to the database server M04.
The resource interaction information processing system is applicable to any number of distributed systems, is not limited to two SETs in the exemplary diagram, and can be 4 SETs, 8 SETs, 16 SETs and the like.
It should be understood that, although the steps in the flowcharts related to the above embodiments are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a resource interaction information processing system for realizing the above related resource interaction information processing method. The implementation of the solution provided by the system is similar to the implementation described in the above method, so the specific limitation of one or more embodiments of the resource interaction information processing system provided below may be referred to the limitation of one resource interaction information processing method above, and will not be repeated here
In one embodiment, as shown in FIG. 10, there is provided a resource interaction information processing system including: an application server, a cache server and a database server;
the application server is used for acquiring an account resource scheduling message corresponding to the target object account; the account resource scheduling message comprises an object account number and a resource scheduling date;
the cache server is used for checking whether an object account number and a resource scheduling date exist in an object account information table corresponding to the target object account to obtain an account data checking result;
the cache server is also used for determining a database writing flow corresponding to the target object account according to the account data checking result;
The cache server is further used for carrying out service data processing on the interaction accumulated information to be processed corresponding to the target object account according to the database writing process, and obtaining the interaction accumulated information after processing;
the database server is used for covering the processed interaction accumulation information with the interaction accumulation information to be processed to obtain updated interaction accumulation information under the condition that the resource interaction limit information in the target object account does not exceed the resource interaction upper limit information; the updated interaction accumulation information is used for recording the resource interaction condition of the target object account.
Based on the same inventive concept, the embodiment of the application also provides a resource interaction information processing device for realizing the above related resource interaction information processing method. The implementation scheme of the solution provided by the device is similar to the implementation scheme described in the above method, so the specific limitation in the embodiments of one or more resource interaction information processing devices provided below can be referred to as the limitation of one resource interaction information processing method, and the description is omitted here
In one embodiment, as shown in fig. 11, there is provided a resource interaction information processing apparatus including: a scheduling message obtaining module 1102, an inspection result obtaining module 1104, a writing procedure determining module 1106, an accumulated information processing module 1108, and an accumulated information updating module 1110, wherein:
A scheduling message obtaining module 1102, configured to obtain an account resource scheduling message corresponding to the target object account; the account resource scheduling message comprises an object account number and a resource scheduling date;
the checking result obtaining module 1104 is configured to check whether an object account number and a resource scheduling date exist in an object account information table corresponding to the target object account in the cache server, so as to obtain an account data checking result;
the writing process determining module 1106 is configured to determine a database writing process corresponding to the target object account according to the account data checking result;
the accumulated information processing module 1108 is configured to perform service data processing on the interaction accumulated information to be processed corresponding to the target object account according to the database writing procedure, so as to obtain processed interaction accumulated information;
the accumulated information updating module 1110 is configured to, when the resource interaction limit information in the target object account does not exceed the resource interaction upper limit information, cover the processed interaction accumulated information with the interaction accumulated information to be processed, and obtain updated interaction accumulated information; the updated interaction accumulation information is used for recording the resource interaction condition of the target object account.
In one embodiment, the writing process determining module 1106 is further configured to use the initial interaction writing process as a database writing process when no object account number and no resource scheduling date exist in the object account information table represented by the account data checking result; and (3) representing that an object account number or a resource scheduling date exists in the object account information table according to the account data checking result, and taking the non-primary interaction writing process as a database writing process.
In one embodiment, the accumulated information processing module 1108 is further configured to check, according to the primary interaction writing flow, whether the target object account in the database server has the object account number and the resource scheduling date, to obtain a database check result; under the condition that the database checking result characterizes that the object account number and the resource scheduling date do not exist in the database server, the current resource scheduling information of the account resource scheduling message is used as the processed interaction accumulated information; according to the primary interaction writing flow and the interaction triggering characteristic information of the same target object account, comparing the resource interaction limit information and the resource interaction upper limit information in the target object account to obtain an interaction limit information judging result; the interaction limit information judging result is used for characterizing whether the resource interaction limit information does not exceed the resource interaction upper limit information.
In one embodiment, the accumulated information processing module 1108 is further configured to add, according to a non-primary interaction writing procedure, current resource scheduling information of the account resource scheduling message to non-primary accumulated information to be processed, to obtain processed interaction accumulated information; according to the non-primary interaction writing flow and the interaction triggering characteristic information of the same target object account, adding current resource scheduling limit information of an account resource scheduling message with historical resource interaction limit information in the target object account to obtain resource interaction limit information; and comparing the resource interaction limit information with the resource interaction upper limit information in the target object account to obtain an interaction limit information judging result, wherein the interaction limit information judging result is used for characterizing whether the resource interaction limit information does not exceed the resource interaction upper limit information.
In one embodiment, the accumulated information processing module 1108 is further configured to compare the account resource interaction limit information with the account resource interaction upper limit information according to the target account resource interaction information, to obtain an account resource interaction limit information judgment result; comparing the channel resource interaction limit information with the channel resource interaction upper limit information according to the interaction channel resource interaction information to obtain a channel resource interaction limit information judgment result; and obtaining the interactive credit information judgment result according to the account resource interactive credit information judgment result and the channel resource interactive credit information judgment result.
In one embodiment, the accumulated information processing module 1108 is further configured to compare the account resource daily interaction limit information with the account resource daily interaction upper limit information according to the target account daily resource interaction information, to obtain an account resource daily interaction limit information judgment result; according to the target account single month resource interaction information, comparing the account resource single month interaction limit information with the account resource single month interaction upper limit information to obtain an account resource single month interaction limit information judgment result; and obtaining the account resource interaction limit information judgment result according to the account resource single-month interaction limit information judgment result.
In one embodiment, the accumulated information processing module 1108 is further configured to compare the channel resource single-day interaction quota information with the channel resource single-day interaction upper quota information according to the interaction channel single-day resource interaction information, so as to obtain a channel resource single-day interaction quota information judgment result; according to the interaction channel single month resource interaction information, comparing the channel resource single month interaction quota information with the channel resource single month interaction upper quota information to obtain a channel resource single month interaction quota information judgment result; and obtaining the channel resource interaction quota information judgment result according to the channel resource single-month interaction quota information judgment result.
In one embodiment, the accumulated information updating module 1110 is further configured to generate interaction accumulated writing information corresponding to the target object account according to the processed interaction accumulated information; and covering the interaction accumulated information to be processed with the interaction accumulated written information to obtain updated interaction accumulated information.
Each module in the above-described resource interaction information processing apparatus may be implemented wholly or partly by software, hardware, and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, and the internal structure of which may be as shown in fig. 12. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an 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 in the non-volatile storage media. The database of the computer device is for storing server data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a resource interaction information processing method.
It will be appreciated by those skilled in the art that the structure shown in fig. 12 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, there is also provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the method embodiments described above when the computer program is executed.
In one embodiment, a computer-readable storage medium is provided, storing a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
In one embodiment, a computer program product or computer program is provided that includes computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in the above-described method embodiments.
It should be noted that, user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (13)

1. A method for processing resource interaction information, the method comprising:
acquiring an account resource scheduling message corresponding to a target object account; the account resource scheduling message comprises an object account number and a resource scheduling date;
checking whether the object account number and the resource scheduling date exist in an object account information table corresponding to the target object account in a cache server, and obtaining an account data checking result;
Determining a database writing flow corresponding to the target object account according to the account data checking result;
according to the database writing flow, business data processing is carried out on the interaction accumulation information to be processed corresponding to the target object account, and the interaction accumulation information after processing is obtained;
under the condition that the resource interaction limit information in the target object account does not exceed the resource interaction upper limit information, covering the processed interaction accumulation information with the interaction accumulation information to be processed to obtain updated interaction accumulation information; and the updated interaction accumulation information is used for recording the resource interaction condition of the target object account.
2. The method of claim 1, wherein the database write process comprises at least one of a primary interactive write process or a non-primary interactive write process; the determining the database writing flow corresponding to the target object account according to the account data checking result comprises the following steps:
the account data checking result indicates that the object account number and the resource scheduling date do not exist in the object account information table, and the primary interaction writing process is used as the database writing process;
And the account data checking result represents that the object account number or the resource scheduling date exists in the object account information table, and the non-primary interaction writing process is used as the database writing process.
3. The method according to claim 2, wherein, when the primary interaction writing procedure is used as the database writing procedure, the performing service data processing on the to-be-processed interaction accumulated information corresponding to the target object account according to the database writing procedure to obtain the processed interaction accumulated information includes:
checking whether the target object account in the database server has the object account number and the resource scheduling date according to the primary interaction writing flow, and obtaining a database checking result;
taking the current resource scheduling information of the account resource scheduling message as the processed interaction accumulated information under the condition that the database checking result represents that the object account number and the resource scheduling date do not exist in the database server;
according to the primary interaction writing flow and the interaction triggering characteristic information of the same target object account, comparing the resource interaction limit information and the resource interaction upper limit information in the target object account to obtain an interaction limit information judging result; and the interactive quota information judgment result is used for characterizing whether the resource interactive quota information does not exceed the resource interactive upper quota information.
4. The method of claim 2, wherein the interaction cumulative information to be processed comprises non-primary cumulative information to be processed; under the condition that the non-primary interaction writing process is used as the database writing process, performing service data processing on the interaction accumulation information to be processed corresponding to the target object account according to the database writing process to obtain processed interaction accumulation information, wherein the processing comprises the following steps:
adding the current resource scheduling information of the account resource scheduling message and the non-initial accumulated information to be processed according to the non-initial interaction writing flow to obtain the processed interaction accumulated information;
according to the non-primary interaction writing flow and the interaction triggering characteristic information of the same target object account, adding current resource scheduling limit information of the account resource scheduling message and historical resource interaction limit information in the target object account to obtain the resource interaction limit information;
and comparing the resource interaction limit information with the resource interaction upper limit information in the target object account to obtain an interaction limit information judging result, wherein the interaction limit information judging result is used for characterizing whether the resource interaction limit information does not exceed the resource interaction upper limit information.
5. The method according to any one of claims 3 to 4, wherein the interaction trigger characteristic information includes target account resource interaction information and interaction channel resource interaction information; the resource interaction limit information comprises account resource interaction limit information and channel resource interaction limit information; the resource interaction upper limit degree information comprises account resource interaction upper limit degree information and channel resource interaction upper limit degree information; comparing the resource interaction limit information and the resource interaction upper limit information in the target object account to obtain the judgment result of the interaction limit information, wherein the judgment result comprises the following steps:
comparing the account resource interaction limit information with the account resource interaction upper limit information according to the target account resource interaction information to obtain an account resource interaction limit information judgment result;
comparing the channel resource interaction limit information with the channel resource interaction upper limit information according to the interaction channel resource interaction information to obtain a channel resource interaction limit information judgment result;
and obtaining the interactive credit information judgment result according to the account resource interactive credit information judgment result and the channel resource interactive credit information judgment result.
6. The method of claim 5, wherein the target account resource interaction information comprises target account single month resource interaction information and target account single month resource interaction information; the account resource interaction limit information comprises account resource single-day interaction limit information and account resource single-month interaction limit information; the account resource interaction upper limit degree information comprises account resource single-day interaction upper limit degree information and account resource single-month interaction upper limit degree information; comparing the account resource interaction limit information with the account resource interaction upper limit information according to the target account resource interaction information to obtain an account resource interaction limit information judgment result, wherein the method comprises the following steps:
comparing the account resource single-day interaction limit information with the account resource single-day interaction upper limit information according to the target account single-day resource interaction information to obtain an account resource single-day interaction limit information judgment result;
comparing the account resource single month interaction limit information with the account resource single month interaction upper limit information according to the target account single month resource interaction information to obtain an account resource single month interaction limit information judgment result;
And obtaining the account resource interaction limit information judgment result according to the account resource single-day interaction limit information judgment result and the account resource single-month interaction limit information judgment result.
7. The method of claim 5, wherein the interaction channel resource interaction information comprises interaction channel single day resource interaction information and interaction channel single month resource interaction information; the channel resource interaction quota information comprises channel resource single-day interaction quota information and channel resource single-month interaction quota information; the channel resource interaction upper limit degree information comprises channel resource single-day interaction upper limit degree information and channel resource single-month interaction upper limit degree information; the step of comparing the channel resource interaction limit information with the channel resource interaction upper limit information according to the interaction channel resource interaction information to obtain a channel resource interaction limit information judgment result, comprises the following steps:
comparing the channel resource single-day interaction quota information with the channel resource single-day interaction upper quota information according to the interaction channel single-day resource interaction information to obtain a channel resource single-day interaction quota information judgment result;
Comparing the channel resource single month interaction quota information with the channel resource single month interaction upper quota information according to the interaction channel single month resource interaction information to obtain a channel resource single month interaction quota information judgment result;
and obtaining the channel resource interaction quota information judgment result according to the channel resource single-day interaction quota information judgment result and the channel resource single-month interaction quota information judgment result.
8. The method of claim 1, wherein overlaying the processed interaction summary information with the pending interaction summary information to obtain updated interaction summary information comprises:
generating interaction accumulation writing information corresponding to the target object account according to the processed interaction accumulation information;
and covering the interaction accumulated information to be processed with the interaction accumulated written information to obtain the updated interaction accumulated information.
9. A resource interaction information processing system, the system comprising: an application server, a cache server and a database server;
the application server is used for acquiring an account resource scheduling message corresponding to the target object account; the account resource scheduling message comprises an object account number and a resource scheduling date;
The cache server is used for checking whether the object account number and the resource scheduling date exist in an object account information table corresponding to the target object account to obtain an account data checking result;
the cache server is further used for determining a database writing flow corresponding to the target object account according to the account data checking result;
the cache server is further used for carrying out service data processing on the interaction accumulation information to be processed corresponding to the target object account according to the database writing flow, and obtaining the interaction accumulation information after processing;
the database server is configured to, when the resource interaction limit information in the target object account does not exceed the resource interaction upper limit information, cover the processed interaction accumulation information with the interaction accumulation information to be processed, so as to obtain updated interaction accumulation information; and the updated interaction accumulation information is used for recording the resource interaction condition of the target object account.
10. A resource interaction information processing apparatus, characterized in that the apparatus comprises:
the scheduling message acquisition module is used for acquiring an account resource scheduling message corresponding to the target object account; the account resource scheduling message comprises an object account number and a resource scheduling date;
The checking result obtaining module is used for checking whether the object account number and the resource scheduling date exist in an object account information table corresponding to the target object account in the cache server, and obtaining an account data checking result;
the writing process determining module is used for determining a database writing process corresponding to the target object account according to the account data checking result;
the accumulated information processing module is used for carrying out business data processing on the interaction accumulated information to be processed corresponding to the target object account according to the database writing flow, so as to obtain the interaction accumulated information after processing;
the accumulated information updating module is used for covering the processed interaction accumulated information with the interaction accumulated information to be processed to obtain updated interaction accumulated information under the condition that the resource interaction limit information in the target object account does not exceed the resource interaction upper limit information; and the updated interaction accumulation information is used for recording the resource interaction condition of the target object account.
11. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 8 when the computer program is executed.
12. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 8.
13. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the steps of the method of any one of claims 1 to 8.
CN202310511112.2A 2023-05-08 2023-05-08 Resource interaction information processing method, device, computer equipment and storage medium Pending CN116521343A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310511112.2A CN116521343A (en) 2023-05-08 2023-05-08 Resource interaction information processing method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310511112.2A CN116521343A (en) 2023-05-08 2023-05-08 Resource interaction information processing method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116521343A true CN116521343A (en) 2023-08-01

Family

ID=87400797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310511112.2A Pending CN116521343A (en) 2023-05-08 2023-05-08 Resource interaction information processing method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116521343A (en)

Similar Documents

Publication Publication Date Title
CN111898139B (en) Data reading and writing method and device and electronic equipment
CN111028074A (en) Overdue bill updating and inquiring method, system, server and storage medium
CN113312259B (en) Interface testing method and device
CN117035980A (en) Resource borrowing evaluation method, device, computer equipment and storage medium
CN114924911B (en) Method, device, equipment and storage medium for backing up effective data of Windows operating system
CN116521343A (en) Resource interaction information processing method, device, computer equipment and storage medium
CN114186961A (en) Business approval process configuration method and device, computer equipment and storage medium
CN118154035A (en) Method, device, equipment, storage medium and product for evaluating value of business data
CN117216164A (en) Financial data synchronous processing method, apparatus, device, medium and program product
CN118277193A (en) Service data processing method, device, computer equipment and storage medium
CN118313830A (en) Resource processing method, device, computer equipment and storage medium
CN118229412A (en) Resource allocation method, device, computer equipment and storage medium
CN117435581A (en) Index identification method, apparatus, device, storage medium, and program product
CN118410086A (en) Data conversion method, apparatus, computer device, storage medium, and program product
CN116521546A (en) Interface performance adjusting method and device, computer equipment and storage medium
WO2021072943A1 (en) Financial data management method and apparatus, computer device and storage medium
CN116451965A (en) Service request processing method and device, computer equipment and storage medium
CN117495518A (en) Method, device, equipment and storage medium for managing articles of bank point system
CN114240609A (en) Credit decision method, device, computer equipment and storage medium
CN115330536A (en) Business risk event identification method and device, computer equipment and storage medium
CN116884133A (en) Intelligent appointment number calling method, device, computer equipment and storage medium
CN116894728A (en) Abnormal account determination method, device, computer equipment and storage medium
CN116681203A (en) Enterprise management consultation method and system based on big data analysis
CN117314036A (en) Work order distribution method, apparatus, device, storage medium and program product
CN117556473A (en) Data processing method, device, computer equipment and storage medium

Legal Events

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