CN117474656A - Service data processing method, processing device, computer equipment and storage medium - Google Patents

Service data processing method, processing device, computer equipment and storage medium Download PDF

Info

Publication number
CN117474656A
CN117474656A CN202311576275.5A CN202311576275A CN117474656A CN 117474656 A CN117474656 A CN 117474656A CN 202311576275 A CN202311576275 A CN 202311576275A CN 117474656 A CN117474656 A CN 117474656A
Authority
CN
China
Prior art keywords
resource
data
account
processing
type
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
CN202311576275.5A
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 CN202311576275.5A priority Critical patent/CN117474656A/en
Publication of CN117474656A publication Critical patent/CN117474656A/en
Pending legal-status Critical Current

Links

Abstract

The application relates to a method, a device, equipment and a medium for processing service data. The method comprises the following steps: acquiring a service data set; the resource expenditure data in the service data set are respectively associated with at least one piece of corresponding resource income data; determining first-class account information of a first-class user account to which each resource expenditure data corresponds; determining a second type of user account to which the resource income data corresponds and second type of account information of the second type of user account; performing resource account deduction processing on the resource expense data based on the first type account information to obtain a first type data processing result aiming at the resource expense data; after the resource account deduction processing is completed on the resource expenditure data, the resource income data is subjected to resource account entry processing based on the second-class account information, and a second-class data processing result aiming at the resource income data is obtained. By adopting the method, the accuracy and the effectiveness of account deduction/account entry processing on the business data can be improved.

Description

Service data processing method, processing device, computer equipment and storage medium
Technical Field
The present invention relates to the field of artificial intelligence technologies, and in particular, to a service data processing method, a service data processing device, a computer device, and a storage medium.
Background
Many business systems currently involve resource processing functions that perform resource expenditures or resource incomes on user accounts, especially in the fields of payment and finance. In general form, the expense or income of account resources is triggered by the performance of related business operations by the business system.
In the conventional resource processing process, the cached service data is mainly subjected to consumption processing by setting a predetermined time period so as to trigger expenditure or income of account resources. However, with the growth of financial services, this approach has not been able to meet the real-time processing of large-scale service data and the time-consuming requirements of the processing procedure.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a service data processing method, a service data processing apparatus, a computer device, a computer-readable storage medium, and a computer program product.
According to a first aspect of an embodiment of the present disclosure, there is provided a method for processing service data, including:
Acquiring a service data set; the business data in the business data set is resource expenditure data and resource income data which are recorded in a banking system and are related to a plurality of user accounts, and each piece of resource expenditure data in the business data set is respectively associated with at least one piece of corresponding resource income data;
determining first-class account information of a first-class user account to which each piece of resource expenditure data corresponds; determining a second-class user account to which the resource income data corresponds and second-class account information of the second-class user account;
performing resource account deduction processing on the resource expense data based on the first type account information to obtain a first type data processing result aiming at the resource expense data;
and after the resource account deduction processing is completed on the resource expense data, performing resource account entry processing on the resource income data based on the second-class account information to obtain a second-class data processing result aiming at the resource income data.
In an exemplary embodiment, in the determining that each of the resource expense data corresponds to the first type of user account and the first type of account information of the first type of user account; and before determining the second-class user account to which the resource income data corresponds and the second-class account information of the second-class user account, further comprises:
Determining the service application type to which each resource expenditure data corresponds; the number of service application types includes at least two types;
classifying and aggregating each of the resource expense data and the corresponding associated resource revenue data into at least two first class data sets that match the business application type;
determining the resource processing network point to which the resource expenditure data and the resource income data correspond in each first class data set;
in each first class data set, classifying and aggregating each resource expenditure data and the corresponding associated resource income data into a second class data set matched with the resource processing website;
and sending each second class data set to the corresponding matched resource processing network point.
In an exemplary embodiment, the first type of account information and the second type of account information each include an account type and an account balance of a corresponding user account;
determining first-class account information of a first-class user account to which each piece of resource expenditure data corresponds; and determining a second type of user account to which the resource income data corresponds and second type of account information of the second type of user account, wherein the second type of account information comprises the following two items:
Determining a first type of user account corresponding to each resource expense data, a first type of account type corresponding to the first type of user account and a first type of account balance based on the resource processing network points corresponding to and matched with each resource expense data;
and determining a second-class user account corresponding to each resource income data, a second-class account type corresponding to the second-class user account and a second-class account balance based on the resource processing network point corresponding to and matched with each resource income data.
In an exemplary embodiment, the first type of account type includes a present account type and a non-present account type; the account type characterizes the first type of user account as belonging to the user account of the resource processing website, and the non-account type characterizes the first type of user account as belonging to the non-user account of the resource processing website;
the step of performing resource account deduction processing on the resource expense data based on the first type account information to obtain a first type data processing result aiming at the resource expense data, includes:
performing resource account deduction processing on the resource expense data belonging to the account type based on the resource processing website to obtain a processing result of the resource expense data;
After resource account deduction processing is carried out on the resource expense data belonging to the account type, an external processing interface matched with the non-present user account is called based on the resource processing website, so that the resource account deduction processing is carried out on the resource expense data belonging to the non-present account type through the external processing interface, and a non-present data processing result aiming at the resource expense data is obtained;
and collecting the data processing results and the non-data processing results to obtain a first type of data processing result.
In an exemplary embodiment, the resource expense data includes a resource expense amount;
the resource accounting processing is performed on the resource expenditure data belonging to the account type, and the resource accounting processing comprises the following steps:
generating a first instruction to execute a resource deduction processing procedure for the resource expense data based on the first instruction under the condition that the first account balance is greater than or equal to the resource expense amount; the first instruction is used for indicating the resource processing website to deduct the resource expenditure amount from the first account balance to obtain a new first account balance aiming at the user account;
Generating a second instruction to perform a resource reconciliation process for the resource expense data based on the second instruction if the first class account balance is less than the resource expense amount; the second instruction is used for indicating the resource processing website to generate a prompt message about resource deduction failure.
In an exemplary embodiment, the second type of account type includes a present account type and a non-present account type; the account type of the method characterizes the second type of the user account as belonging to the user account of the resource processing website, and the non-account type characterizes the second type of the user account as belonging to the non-user account of the resource processing website;
the resource accounting processing is performed on the resource expenditure data based on the second type account information to obtain a second type data processing result aiming at the resource income data, and the method comprises the following steps:
performing resource accounting processing on the resource income data belonging to the account type based on the resource processing website to obtain a processing result of the resource income data;
after resource accounting processing is carried out on the resource income data belonging to the account type, an external processing interface matched with the non-local user account is called based on the resource processing network point, so that the resource accounting processing is carried out on the resource income data belonging to the non-local account type through the external processing interface, and a non-local data processing result aiming at the resource income data is obtained;
And collecting the data processing results and the non-data processing results to obtain second-class data processing results.
In an exemplary embodiment, the resource revenue data includes a resource revenue amount;
the resource accounting processing is performed on the resource income data belonging to the account type, and the resource accounting processing comprises the following steps:
generating a third instruction under the condition that balance deduction of the first account corresponding to the user account is successful, so as to execute a resource accounting processing process of the resource income data based on the third instruction; the third instruction is used for indicating the resource processing website to add the resource income amount from the second-class account balance to obtain a new second-class account balance aiming at the user account;
generating a fourth instruction under the condition that the balance deduction of the first account corresponding to the user account fails, so as to execute a resource accounting processing process of the resource income data based on the fourth instruction; the fourth instruction is used for instructing the resource processing website to generate a prompt message about resource addition failure.
In an exemplary embodiment, after the second class of data processing results for the resource revenue data are obtained, the method further includes:
Determining first type processing data based on the first type data processing result; the first type of processing data is first type of result data obtained after resource account deduction processing is carried out on the resource expenditure data; and
determining second class processing data based on the second class data processing result; the second class processing data is second class result data obtained after resource accounting processing is carried out on the resource income data;
comparing and accounting the first class of processing data with the resource expenditure data, and comparing and accounting the second class of processing data with the resource income data to obtain first accounting information; the first accounting information comprises corresponding data accounting correct information and data accounting error information;
and sending the first accounting information to a client for display.
In an exemplary embodiment, the first type of result data includes resource accounting success data and resource accounting failure data; the second class of result data comprises resource accounting success data and resource accounting failure data;
after the second class of data processing results for the resource revenue data are obtained, further comprising:
Determining the successful data of resource account deduction, the failed data of resource account deduction, the first data number between the successful data of resource account deduction and the failed data of resource account deduction, and comparing and checking the first data number with the second data number of each service data in the service data set to obtain second accounting information;
determining the resource account deduction success data, the resource account deduction failure data, a first resource amount between the resource account deduction success data and the resource account deduction failure data, and comparing and accounting the first resource amount with a second resource amount of each service data in the service data set to obtain third accounting information;
and sending the first accounting information, the second accounting information and the third accounting information to a client for display.
According to a second aspect of the embodiments of the present disclosure, there is provided a processing apparatus for service data, including:
a data acquisition unit configured to perform acquisition of a service data set; the business data in the business data set is resource expenditure data and resource income data which are recorded in a banking system and are related to a plurality of user accounts, and each piece of resource expenditure data in the business data set is respectively associated with at least one piece of corresponding resource income data;
An information confirmation unit configured to execute determination of each of the resource expense data corresponds to a first type of user account to which the resource expense data belongs and first type account information of the first type of user account; determining a second-class user account to which the resource income data corresponds and second-class account information of the second-class user account;
the resource account deduction unit is configured to execute resource account deduction processing on the resource expenditure data based on the first type account information to obtain a first type data processing result aiming at the resource expenditure data;
and the resource accounting unit is configured to execute resource accounting processing on the resource income data based on the second type account information after the resource accounting processing on the resource expenditure data is completed, so as to obtain a second type data processing result aiming at the resource income data.
According to a third aspect of embodiments of the present disclosure, there is provided a computer device comprising:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to execute the executable instructions to implement the method of any one of the above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium comprising a computer program which, when executed by a processor of a computer device, enables the computer device to perform a method as described in any one of the preceding claims.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising program instructions therein, which when executed by a processor of a computer device, enable the computer device to perform the method as set forth in any one of the preceding claims.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
firstly, acquiring a service data set; the business data in the business data set is resource expenditure data and resource income data which are recorded in a banking system and are related to a plurality of user accounts, and each piece of resource expenditure data in the business data set is respectively associated with at least one piece of corresponding resource income data; determining first-class account information of a first-class user account to which each resource expenditure data corresponds; determining a second type of user account to which the resource income data corresponds and second type of account information of the second type of user account; performing resource account deduction processing on the resource expense data based on the first type account information to obtain a first type data processing result aiming at the resource expense data; after the resource account deduction processing is completed on the resource expenditure data, the resource income data is subjected to resource account entry processing based on the second-class account information, and a second-class data processing result aiming at the resource income data is obtained. On the one hand, by means of distinguishing from the prior art, the user account and account information of the associated resource expenditure data and the associated resource income data are respectively determined, so that account deduction/account entry processing is carried out on the resource expenditure data and the resource income data by using the user account and the account information, thereby optimizing the flow of business data processing, improving the effectiveness of business data processing and reducing the consumption of manpower and time cost; on the other hand, according to the account information of the user account, firstly, resource expenditure data are subjected to resource account deduction processing, and then resource income data are subjected to resource account entry processing, so that the processing process of business data is completed, the accuracy of account deduction/account entry processing of the business data is improved, and the efficiency of displaying and analyzing the processing result of the follow-up utilization data is higher.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
FIG. 1 is an application environment diagram illustrating a method of processing business data according to an exemplary embodiment;
FIG. 2 is a flow chart illustrating a method of processing business data according to an exemplary embodiment;
FIG. 3 is a flowchart illustrating steps for performing a resource reconciliation process, in accordance with an exemplary embodiment;
FIG. 4 is a flowchart illustrating steps of a resource posting process, according to an exemplary embodiment;
FIG. 5 is a flow chart illustrating a step of classifying and aggregating traffic data according to an exemplary embodiment;
FIG. 6 is a flowchart illustrating a process for presenting accounting information, according to an example embodiment;
fig. 7 is a flow chart illustrating a method of processing service data according to another exemplary embodiment;
fig. 8 is a block diagram illustrating a method of processing service data according to another exemplary embodiment;
FIG. 9 is a flowchart illustrating a splitting step for a customer data file, according to an exemplary embodiment;
FIG. 10 is a flow chart illustrating a step of performing alignment accounting on an entry data file, according to an exemplary embodiment;
FIG. 11 is a block diagram illustrating a processing apparatus for traffic data according to an exemplary embodiment;
fig. 12 is a block diagram of a computer device for processing of business data, according to an example 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 terms "first," "second," and the like in this application are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, although the terms "first," "second," etc. may be used multiple times to describe various operations (or various thresholds or various applications or various instructions or various elements), etc., these operations (or thresholds or applications or instructions or elements) should not be limited by these terms. These terms are only used to distinguish one operation (or threshold or application or instruction or element) from another operation (or threshold or application or instruction or element).
It should be noted that, if the technical solution of the present application relates to personal information, before the product corresponding to the technical solution of the present application is applied to process personal information of a user, the user should be explicitly informed about the processing rule of the personal information, and obtain the autonomous consent of the user. If the technical scheme of the application relates to the sensitive personal information of the user, before the product corresponding to the technical scheme of the application is applied to process the sensitive personal information of the user, the personal individual agreement of the user is obtained, and meanwhile, the requirement of 'explicit agreement' is met. For example, in the case where a device for personal information processing uses a clear identification/information to inform about a personal information processing rule, personal authorization of a user is obtained by popup information or requesting a person to upload his personal information by himself. The personal information processing rule may include information such as a personal information processor, a personal information processing purpose, a processing mode, and a type of personal information to be processed.
The processing method of the service data 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 communication 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.
In some embodiments, referring to fig. 1, server 104 first obtains a set of business data; the business data in the business data set is resource expenditure data and resource income data which are recorded in a banking system and are related to a plurality of user accounts, and each piece of resource expenditure data in the business data set is respectively associated with at least one piece of corresponding resource income data; then, the server 104 determines the first type user account to which each resource expenditure data corresponds and the first type account information of the first type user account; determining a second type of user account to which the resource income data corresponds and second type of account information of the second type of user account; finally, the server 104 performs resource account deduction processing on the resource expense data based on the first type account information to obtain a first type data processing result aiming at the resource expense data; after the resource account deduction processing is completed on the resource expenditure data, the resource income data is subjected to resource account entry processing based on the second-class account information, and a second-class data processing result aiming at the resource income data is obtained.
In some embodiments, the terminal 102 (e.g., mobile terminal, fixed terminal) may be implemented in various forms. The terminal 102 may be a mobile terminal including a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a portable handheld device, a personal digital assistant (PDA, personal Digital Assistant), a tablet (PAD), etc., or the terminal 102 may be a fixed terminal such as an automated teller machine (Automated Teller Machine, ATM), an automatic all-in-one machine, a digital TV, a desktop computer, a stationary computer, etc.
In the following, it is assumed that the terminal 102 is a fixed terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiments disclosed herein can also be applied to a mobile type terminal 102 if there are operations or elements specifically for the purpose of movement.
In some embodiments, the data processing components running on server 104 may load any of a variety of additional server applications and/or middle tier applications being executed, including, for example, HTTP (hypertext transfer protocol), FTP (file transfer protocol), CGI (common gateway interface), RDBMS (relational database management system), and the like.
In some embodiments, the server 104 may be implemented as a stand-alone server or as a cluster of servers. The server 104 may be adapted to run one or more application services or software components that provide the terminal 102 described in the foregoing disclosure.
In some embodiments, the APP or client-running operating system in an application service or software component may include various versions of MicrosoftApple/>And/or Linux operating system, various commercial or quasi +.>Operating systems (including but not limited to various GNU/Linux operating systems, google +. >OS, etc.) and/or a mobile operating system, such as +.> Phone、/>OS、/>OS、/>The OS operating system, as well as other online or offline operating systems, is not particularly limited herein.
In some embodiments, as shown in fig. 2, a method for processing service data is provided, and the method is applied to the server 104 in fig. 1 for illustration, and the method includes the following steps:
step S11: and acquiring a service data set.
In an embodiment, the service data in the service data set is resource expense data and resource income data about a plurality of user accounts recorded in the banking system, and each piece of resource expense data in the service data set is respectively associated with at least one piece of corresponding resource income data.
In an embodiment, the resource expense data comprises a resource expense amount and the resource revenue data comprises a resource revenue amount.
Wherein the server identifies a piece of business data to obtain the recorded user name, business identification (including expense identification or income identification), business number and business processing amount (including resource expense amount or resource income amount) of the user account when executing a banking business.
As an example, the resource spending data is resource borrowing data for the user, including a borrowing amount for the user account; the resource revenue data is resource credit data for the user including a credit amount for the user account. Among these are the resource lending data P1 of the user account A1 (which includes the lending amount X1), the resource lending data P2 of the user account A2 (which includes the lending amount X2), and the resource lending data P3 of the user account A3 (which includes the lending amount X3) in the traffic data set. The resource credit data P4 (which includes a credit amount X4) with the user account A4 and the resource credit data P5 (which includes a credit amount X5) with the user account A5 corresponding to the resource debit data P1, wherein the credit amount x1=the credit amount x4+the credit amount X5; the resource lending data P6 (which includes the lending amount X6) with the user account A6 corresponding to the resource lending data P2 and the resource lending data P3, wherein the lending amount x2+ the lending amount x3=the lending amount X6.
In an embodiment, after the service data set is acquired, the server performs data format and data validity verification on each piece of service data in the acquired service data set, so that after the data format verification and the data validity verification of the service data are successful, a subsequent data processing step is performed.
Step S12: and determining first-class account information of the first-class user account to which each resource expenditure data corresponds.
In one embodiment, the first type of account information includes an account type and an account balance for the corresponding user account. Wherein the first type of account type includes a present account type and a non-present account type.
In an embodiment, the server determines each resource expenditure data corresponds to a first type of user account and first type account information of the first type of user account, including: and determining a first type of user account corresponding to each resource expenditure data, a first type of account type corresponding to the first type of user account and a first type of account balance based on the resource processing network points corresponding to and matched with each resource expenditure data.
In an embodiment, the first type of account information may characterize whether the user account belongs to a banking website to which the resource expense data corresponds. Namely, the account type of the user belongs to the user account of the resource processing website, and the account type of the user belongs to the user account of the non-user account of the resource processing website.
For example, the user account corresponding to the resource expense data A1 is the user X1, and the banking website corresponding to the resource expense data A1 is the website S1, and if the user X1 belongs to the registered user of the website S1, the first account type corresponding to the resource expense data A1 is the account type; if the user X1 does not belong to the registered user of the website S1, the first account type corresponding to the resource expense data A1 is a non-present account type.
Step S13: and determining second-class account information of the second-class user account to which the resource income data corresponds.
In one embodiment, the second type of account information includes an account type and an account balance for the corresponding user account. Wherein the second type of account type includes a present account type and a non-present account type.
In one embodiment, the server determines a second type of user account to which each resource revenue data corresponds and second type of account information of the second type of user account, including: and determining a second type user account corresponding to each resource income data, a second type account type corresponding to the second type user account and a second type account balance based on the resource processing network points corresponding to and matched with each resource income data.
In an embodiment, the second type of account information may characterize whether the user account belongs to a banking website to which the resource revenue data corresponds. Namely, the account type of the user belongs to the user account of the resource processing website, and the non-user account type of the user belongs to the non-user account of the resource processing website.
For example, the user account corresponding to the resource income data A2 is the user X2, the banking website corresponding to the resource income data A2 is the website S2, and if the user X2 belongs to the registered user of the website S2, the second type account type corresponding to the resource income data A2 is the account type; if the user X2 does not belong to the registered user of the website S2, the second type account type corresponding to the resource income data A2 is a non-present account type.
Step S14: and carrying out resource account deduction processing on the resource expense data based on the first type account information to obtain a first type data processing result aiming at the resource expense data.
In an exemplary embodiment, referring to fig. 3, fig. 3 is a flow chart illustrating an embodiment of the resource reconciliation process performed in the present application. Namely, the server performs resource account deduction processing on the resource expenditure data, and specifically comprises the following steps:
Step S141: and carrying out resource account deduction processing on the resource expense data belonging to the account type based on the resource processing network point to obtain a processing result of the resource expense data.
The resource accounting processing is performed on the resource expenditure data belonging to the account type, and the resource accounting processing comprises the following two cases:
case one: and generating a first instruction to execute a resource deduction processing procedure of the resource expense data based on the first instruction under the condition that the first account balance is greater than or equal to the resource expense amount.
The first instruction is used for indicating the resource processing website to deduct the expenditure amount of the resource from the account balance of the first type, so as to obtain the new account balance of the first type aiming at the account of the user.
Specifically, under the condition that the first account balance corresponding to the account is greater than or equal to the resource expenditure amount corresponding to the resource expenditure data, deducting the resource expenditure amount from the first account balance to obtain a new first account balance for the account, recording the account entry details and the processing logs of the account, and adding a successful resource deduction identifier to the resource expenditure data.
And a second case: and generating a second instruction to execute a resource deduction processing procedure for the resource expense data based on the second instruction under the condition that the first account balance is smaller than the resource expense amount.
The second instruction is used for instructing the resource processing website to generate a prompt message about the resource deduction failure.
Specifically, when the balance of the first account corresponding to the account is smaller than the resource expenditure amount corresponding to the resource expenditure data, a resource account deduction failure identifier is directly added to the resource expenditure data, and the account entry details and the processing log of the account are recorded at the same time.
Step S142: after resource account deduction processing is carried out on the resource expense data belonging to the account type, an external processing interface matched with the non-present user account is called based on the resource processing network point, so that the resource account deduction processing is carried out on the resource expense data belonging to the non-present account type through the external processing interface, and a non-present data processing result aiming at the resource expense data is obtained.
Specifically, after resource account deduction processing is performed on the resource expense data belonging to the account types, the server firstly inquires to obtain account types corresponding to the non-present accounts, and then invokes an external processing interface matched with the account types corresponding to the non-present user accounts through the resource processing network point, so that resource account deduction processing is performed on the resource expense data belonging to the non-present account types through the external processing interface, and a non-present data processing result aiming at the resource expense data is obtained.
The process of performing resource account deduction processing on the resource expense data by the external processing interface comprises the following two conditions:
case one: in the case where the account balance of the first type of the non-present account is greater than or equal to the resource expenditure amount, the external processing interface performs a deduction of the resource expenditure amount for the account balance of the first type of the non-present account and simultaneously records the posting details and the processing log.
And a second case: in case the first type account balance of the non-present account is smaller than the resource expenditure amount, the external processing interface does not perform deduction of the resource expenditure amount for the first type account balance of the non-present account and requires the step of simultaneously recording the corresponding posting details and the processing log.
After the external processing interface performs resource account deduction processing on the resource expense data, the server obtains a result of the external processing interface executing the resource account deduction processing, and adds a resource account deduction success identifier or a resource account deduction failure identifier to the resource expense data according to the result of the resource account deduction processing.
Step S143: and integrating the data processing results and the non-data processing results to obtain the first type of data processing results.
Step S15: after the resource account deduction processing is completed on the resource expenditure data, the resource income data is subjected to resource account entry processing based on the second-class account information, and a second-class data processing result aiming at the resource income data is obtained.
In an exemplary embodiment, referring to fig. 4, fig. 4 is a flow chart illustrating an embodiment of the resource posting process in the present application. Namely, the server performs resource accounting processing on the resource income data, and specifically comprises the following steps:
step S151: and carrying out resource accounting processing on the resource income data belonging to the account type based on the resource processing network point to obtain the processing result of the data aiming at the resource income data.
The resource income data belonging to the account type is subjected to resource posting processing, which comprises the following two cases:
case one: and under the condition that the balance deduction of the first type account corresponding to the user account is successful, generating a third instruction, and executing a resource accounting processing process of the resource income data based on the third instruction.
And the third instruction is used for indicating the resource processing network point to add the resource income amount from the second-class account balance to obtain the new second-class account balance aiming at the user account.
Specifically, under the condition that the deduction of the balance of the first type account corresponding to the user account is successful, adding the resource income amount from the balance of the second type account to obtain the new balance of the second type account aiming at the user account, simultaneously recording the account entry details and the processing logs of the user account, and adding a resource account entry success identifier for the resource income data.
And a second case: and under the condition that the balance deduction of the first type account corresponding to the user account fails, generating a fourth instruction to execute a resource accounting processing process of the resource income data based on the fourth instruction.
The fourth instruction is used for instructing the resource processing website to generate a prompt message about resource addition failure.
Specifically, under the condition that the balance deduction of the first type account corresponding to the user account fails, a resource account-entering failure identifier is directly added to the resource income data, and account-entering details and processing logs of the user account are recorded at the same time.
Step S152: after resource accounting processing is carried out on the resource income data belonging to the account type, an external processing interface matched with the non-present user account is called based on the resource processing network point, so that the resource accounting processing is carried out on the resource income data belonging to the non-present account type through the external processing interface, and a non-present data processing result aiming at the resource income data is obtained.
Specifically, after resource accounting processing is performed on the resource expense data belonging to the account types, the server firstly inquires to obtain account types corresponding to the non-present accounts, and then invokes an external processing interface matched with the account types corresponding to the non-present user accounts through the resource processing network point, so that resource accounting processing is performed on the resource income data belonging to the non-present account types through the external processing interface, and a non-present data processing result aiming at the resource income data is obtained.
The process of the external processing interface for carrying out resource accounting processing on the resource income data comprises the following two cases:
case one: and under the condition that the deduction of the balance of the first type account corresponding to the user account is successful, the external processing interface executes the addition of the resource income amount aiming at the balance of the second type account not corresponding to the user account and simultaneously records the posting details and the processing log.
And a second case: and under the condition that the deduction of the balance of the first type account corresponding to the user account fails, the external processing interface does not execute the addition of the resource income amount aiming at the balance of the second type account not corresponding to the user account and simultaneously records the corresponding accounting details and the processing log.
After the external processing interface performs resource accounting processing on the resource income data, the server obtains the result of the external processing interface executing the resource accounting processing, and adds a resource accounting success identifier or a resource accounting failure identifier to the resource income data according to the result of the resource accounting processing.
Step S153: and integrating the data processing result and the non-data processing result to obtain a second class data processing result.
In the processing process of the service data, a server firstly acquires a service data set; the business data in the business data set is resource expenditure data and resource income data which are recorded in a banking system and are related to a plurality of user accounts, and each piece of resource expenditure data in the business data set is respectively associated with at least one piece of corresponding resource income data; determining first-class account information of a first-class user account to which each resource expenditure data corresponds; determining a second type of user account to which the resource income data corresponds and second type of account information of the second type of user account; performing resource account deduction processing on the resource expense data based on the first type account information to obtain a first type data processing result aiming at the resource expense data; after the resource account deduction processing is completed on the resource expenditure data, the resource income data is subjected to resource account entry processing based on the second-class account information, and a second-class data processing result aiming at the resource income data is obtained. On the one hand, by means of distinguishing from the prior art, the user account and account information of the associated resource expenditure data and the associated resource income data are respectively determined, so that account deduction/account entry processing is carried out on the resource expenditure data and the resource income data by using the user account and the account information, thereby optimizing the flow of business data processing, improving the effectiveness of business data processing and reducing the consumption of manpower and time cost; on the other hand, according to the account information of the user account, firstly, resource expenditure data are subjected to resource account deduction processing, and then resource income data are subjected to resource account entry processing, so that the processing process of business data is completed, the accuracy of account deduction/account entry processing of the business data is improved, and the efficiency of displaying and analyzing the processing result of the follow-up utilization data is higher.
In an exemplary embodiment, referring to fig. 5, fig. 5 is a schematic flow chart of an embodiment of classifying and aggregating service data in the present application. Prior to step S12, the following may also be performed:
step a1: and determining the service application type to which each resource expenditure data corresponds.
In an embodiment, the number of service application types includes at least two types.
The business application types may include at least two of public expense types, personal financial expense types, credit card expense types and other expense types in a banking system.
Step a2: each resource expense data and corresponding associated resource revenue data classifications are aggregated into at least two first class data sets that match the business application type.
As an example, the resource expense data S1 and its corresponding matched resource income data P1, the resource expense data S2 and its corresponding matched resource income data P2, the resource expense data S3 and its corresponding matched resource income data P3 and the resource expense data S4 and its corresponding matched resource income data P4 are included in the service data set. The resource expense data S1 belongs to a public expense type, the resource expense data S2 belongs to a personal financial expense type, the resource expense data S3 belongs to a credit card expense type, and the resource expense data S4 belongs to other expense types, so that the server classifies and aggregates the resource expense data S1 and the resource income data P1 into a first type data set M1, classifies and aggregates the resource expense data S2 and the resource income data P2 into a first type data set M2, classifies and aggregates the resource expense data S3 and the resource income data P3 into a first type data set M3, and aggregates the resource expense data S4 and the resource income data P4 into a first type data set M4.
Step a3: and determining the resource processing network point to which each resource expenditure data corresponds to the resource income data in each first class data set.
Different resource processing nodes are distinguished based on node parameters in the corresponding banking system, and the corresponding node parameters can be determined by analyzing the resource expenditure data or the resource income data.
Step a4: and in each first class data set, classifying and aggregating each resource expenditure data and the corresponding associated resource income data into a second class data set matched with the resource processing network point.
As an example, the first class data set includes resource expense data S1 and its corresponding matched resource income data P1, resource expense data S2 and its corresponding matched resource income data P2, resource expense data S3 and its corresponding matched resource income data P3 and resource expense data S4 and its corresponding matched resource income data P4. Wherein the resource expense data S1 belongs to the resource processing website A1, the resource expense data S2 belongs to the resource processing website A2, the resource expense data S3 belongs to the resource processing website A3, and the resource expense data S4 belongs to the resource processing website A4, so that the server classifies and aggregates the resource expense data S1 and the resource income data P1 into a second type data set N1 matched with the resource processing website A1, classifies and aggregates the resource expense data S2 and the resource income data P2 into a second type data set N2 matched with the resource processing website A2, classifies and aggregates the resource expense data S3 and the resource income data P3 into a second type data set N3 matched with the resource processing website A3, and classifies and aggregates the resource expense data S4 and the resource income data P4 into a second type data set N4 matched with the resource processing website A4.
Step a5: and sending each second class data set to the corresponding matched resource processing network point.
In an exemplary embodiment, referring to fig. 6, fig. 6 is a flow chart illustrating an embodiment of accounting information in the present application. After step S15, the following may also be performed:
step b1: based on the first type of data processing results, first type of processing data is determined.
The first type of processing data is first type of result data obtained after resource account deduction processing is carried out on the resource expenditure data.
The first type of result data comprises resource account deduction success data and resource account deduction failure data.
Step b2: and determining second type processing data based on the second type data processing result.
The second class processing data is second class result data obtained after resource income data are subjected to resource accounting processing.
The second type of result data comprises resource accounting success data and resource accounting failure data.
Step b3: and comparing and accounting the first class of processing data with the resource expenditure data, and comparing and accounting the second class of processing data with the resource income data to obtain first accounting information.
The first accounting information comprises corresponding data accounting correct information and data accounting error information.
Step b4: and sending the first accounting information to the client for display.
As an example, the determined first type of processing data includes resource reconciliation result data (including resource reconciliation success data or resource reconciliation failure data) of the resource expense data S1; the determined second type of processing data includes resource posting result data (including resource posting success data or resource posting failure data) of the resource posting data S2. The resource expense data S1 is matched with the resource accounting data S2, if the comparison and accounting of the resource accounting result data of the resource expense data S1 and the resource accounting result data of the resource accounting data S2 are accurate (namely, the resource accounting result data is resource accounting successful data and the resource accounting result data is resource accounting successful data, or the resource accounting result data is resource accounting failure data and the resource accounting result data is resource accounting failure data), the first accounting information is data accounting correct information; if the resource accounting data of the resource expense data S1 and the resource accounting data of the resource accounting data S2 are compared and checked for errors (i.e. the resource accounting data is resource accounting successful data and the resource accounting data is resource accounting failure data, or the resource accounting data is resource accounting failure data and the resource accounting data is resource accounting successful data), the first accounting information is data accounting error information.
In an embodiment, the server may further perform the following after obtaining the second type of data processing results for the resource revenue data:
step one: and determining the successful data of resource account deduction, the failed data of resource account deduction, the first data number between the successful data of resource account deduction and the failed data of resource account deduction, and comparing and checking the first data number with the second data number related to each service data in the service data set to obtain second accounting information.
As an example, there are X1 pieces of resource accounting success data, X2 pieces of resource accounting failure data in the first class data processing result, X3 pieces of resource accounting success data, X4 pieces of resource accounting failure data in the second class data processing result, and X5 pieces of service data in common in the obtained service data set. Wherein, the first data number=x1+x2+x3+x4, and the second data number=x5. The server compares the sizes of the X1, X2, X3, X4 and X5 to obtain second accounting information.
Step two: and determining resource account deduction success data, resource account deduction failure data, first resource amount between the resource account deduction success data and the resource account deduction failure data, and comparing and checking the first resource amount with second resource amount related to each service data in the service data set to obtain third accounting information.
As an example, the resource reconciliation success data comprises an amount S1, the resource reconciliation failure data comprises an amount S2 in the first type of data processing results, the resource reconciliation success data comprises an amount S3 and the resource reconciliation failure data comprises an amount S4 in the second type of data processing results, and the business data in common in the obtained business data set comprises an amount S5. Wherein the first resource amount = amount s1+ amount s2+ amount s3+ amount S4 and the second resource amount = amount S5. The server compares the size between the amount s1+s2+s3+s4 and the amount S5 to obtain third accounting information.
Step three: and sending the first accounting information, the second accounting information and the third accounting information to the client for display.
The accounting information (including the first accounting information, the second accounting information and the third accounting information) comprises accounting success information, accounting failure information, suspicious accounting information and file verification failure information of accounting.
In order to more clearly clarify the processing method of service data provided by the embodiment of the present disclosure, a specific embodiment is described below specifically. In an exemplary embodiment, referring to fig. 7 and 8, fig. 7 is a flowchart illustrating a method for processing service data according to another exemplary embodiment, and fig. 8 is a block diagram illustrating a method for processing service data according to another exemplary embodiment, where the method for processing service data is used in a server, and specifically includes the following:
Step S21: the transmission system receives the client data file uploaded by the client.
The client data file comprises a plurality of pieces of lending data and lending data corresponding to a plurality of clients.
Step S22: the transmission system performs verification of file format and data validity on the client data file.
Wherein, in the case that the transmission system verifies that both the file format and the data validity pass, step S23 is executed. And under the condition that at least one of the file format and the data validity is checked by the transmission system, generating corresponding processing result data, and directly returning the processing result data to the client.
Step S23: the transmission system uploads the client data file to the proxy service platform so that the proxy service platform generates a job processing instruction and sends the job processing instruction to a pre-configured Zookeeper to trigger the Zookeeper to execute a pay-for-receive processing flow for the client data file.
When the front-end page of the proxy service platform detects that a client data file is uploaded, the proxy service platform sends a job processing instruction to the Zookeeper, and the Zookeeper uniformly triggers a pay-for-receipt processing flow for the client data file.
The agent service platform registers workflow nodes corresponding to the completion job processing instructions in the Zookeeper in advance.
Wherein the workflow of the Zookeeper executing the instruction for job processing includes the following steps S24 to S26.
Step S24: splitting and transmitting the client data files are performed through the proxy service platform.
In an exemplary embodiment, referring to fig. 9, fig. 9 is a flow chart illustrating an embodiment of splitting a client data file according to the present application. Step S24 includes steps 141 to 145.
Step 141: the proxy service platform firstly identifies the service application type of each loaned data in the client data file, and then divides the client data file into m application files according to the service application type.
The business application types of the loan data comprise a loan type, a personal finance loan type, a credit card loan type and other loan types.
Each application file includes loan data (including summarized loan data or single loan data) corresponding to the service application type and loan data (including single loan data corresponding to the summarized loan data and summarized loan data corresponding to the single loan data) corresponding to the loan data.
The user corresponding to the lending data is called a lender user, and the user corresponding to the lending data is called a lender user.
Step 142: in each application file, dividing each application file into n subfiles according to each lending data and the regional network point to which the corresponding lending data belongs.
Different regional network points are distinguished based on network point parameters in the corresponding bank system.
Step 143: and ordering the lending data and the corresponding lending data according to the sequence of the lending data and the lending data in each sub-file, so as to obtain each ordered sub-file.
Step 144: and converting each sub-file into an FTP file, and transmitting each FTP file to a directory file of an application program corresponding to the regional website according to the regional website to which each FTP file corresponds to perform accounting processing. And step 146 is performed simultaneously.
Step 145: and backing up each FTP file, and sending each backed-up FTP file to the proxy service platform for storage.
Step S25: the application program of each regional website performs the posting processing on the FTP file stored in the directory file.
Step 15 includes steps 151 to 154.
Step 151: the credit card business application system, the public business application system, the personal financial business application system and other business application systems synchronously start the account entering flow of the application program aiming at the network points in each region.
Step 152: and ordering the lending data and the corresponding lending data according to the sequence of the lending data and the lending data by the application programs corresponding to the network points in each region to obtain the ordered client data.
Step 153: the application program corresponding to each regional website firstly processes lending data in each piece of ordered customer data, and then processes lending data.
Wherein, firstly, the lending data is subjected to the accounting processing, which comprises the following steps:
step a1: and traversing each piece of client data in the FTP file by the application program corresponding to the regional website, and screening out the present lending data of the present account corresponding to the lending account being the local website and the non-present lending data of the present account corresponding to the lending account not being the local website.
Step a2: inquiring to obtain account balances corresponding to the accounts according to the lending data of the respective accounts; and inquiring to obtain account balances corresponding to the non-present accounts according to the non-present lending data.
Step a3: under the condition that the account balance corresponding to the account is greater than or equal to the loan amount of the account corresponding to the loan data of the account, deducting the loan amount of the account from the account balance of the account to obtain a new account balance for the account of the account, recording the account details and the processing logs of the account, and adding an account-adding successful identification for the borrow data of the account.
Or alternatively;
step a4: and under the condition that the account balance corresponding to the account is smaller than the loan amount of the party corresponding to the loan data, directly adding an identification of failure in the process of checking account for the piece of the loan data, and simultaneously recording the checking account details and the processing log of the account.
Step a5: and inquiring to obtain the account types corresponding to the non-present accounts according to the order of the non-present borrowing data.
Step a6: and calling a lending processing interface of the application program matched with each account type according to the account type corresponding to each non-present account, and executing the accounting processing on the non-present lending data of the non-present account by the lending processing interface.
And under the condition that the account balance of the non-party account is greater than or equal to the non-party loan amount, the loan processing interface executes deduction of the non-party loan amount aiming at the account balance of the non-party account and simultaneously records the posting details and the processing log.
And under the condition that the account balance of the non-party account is smaller than the non-party loan amount, the loan processing interface does not execute the step of deducting the non-party loan amount and simultaneously records the corresponding posting details and the processing log aiming at the account balance of the non-party account.
Step a7: and obtaining a result of the accounting processing interface executing the accounting processing, and adding an accounting processing success identifier or an accounting processing failure identifier to the non-present accounting data according to the result of the accounting processing.
After the accounting processing is performed on the lending data, which specifically comprises the following steps:
step b1: and traversing each piece of client data in the FTP file by the application program corresponding to the regional website, and screening out the local credit data of the local account of which the corresponding credit account is the local website and the non-local credit data of the local account of which the corresponding credit account is not the local website.
Step b2: inquiring and obtaining account balances corresponding to the accounts according to the crediting data of the parties; and inquiring to obtain account balances corresponding to the non-party accounts according to the non-party credit data.
Step b3: under the condition that the check-in of the corresponding check-out data of the present credit data is successful, the present credit amount is increased from the account balance of the present account to obtain a new account balance aiming at the present account, the check-in detail and the processing log of the present account are recorded at the same time, and the check-in processing success identification is added for the present credit data. Or alternatively;
Step b4: under the condition that the check-in of the loan data corresponding to the check-in data of the corresponding check-in data of the check-in, the check-in processing failure identification is directly added to the check-in data of the check-in, and the check-in details and the processing logs of the account of the check-in data of the check-in are recorded at the same time.
Step b5: and inquiring to obtain the account types corresponding to the non-party accounts according to the order of the non-party credit data.
Step b6: and calling a credit processing interface of the application program matched with each account type according to the account type corresponding to each non-present account, and executing the credit processing on the non-present credit data of the non-present account by the credit processing interface.
And under the condition that the non-party loan data corresponding to the non-party loan data is successfully billed, the loan processing interface executes the step of increasing the non-party loan amount and simultaneously records the billing details and the processing log aiming at the account balance of the non-party account.
And under the condition that the non-party loan data corresponding to the non-party loan data fails to be checked, the loan processing interface does not execute the step of increasing the non-party loan amount and simultaneously recording the corresponding check-in details and the processing log aiming at the account balance of the non-party account.
Step b7: and acquiring a result of the crediting processing interface for executing the crediting processing, and adding a crediting processing success identifier or a crediting processing failure identifier to the non-local crediting data according to the result of the crediting processing.
Step 154: and after the bilateral account entry processing of the data in each sub-file is completed and corresponding account entry data is generated, ending the account entry processing.
Step S26: and the application program of each regional website returns the account entry data of each piece of data in the corresponding sub-file to the proxy service platform so as to be combined into an account entry data file.
Each piece of the account-checking data in the account-checking data file comprises a record number, an account number, a lending mark, an amount and an account-checking state.
Step S27: and the proxy service platform compares and calculates each piece of account entry data in the account entry data file with corresponding client data in the client data file respectively to obtain first account entry accounting information.
In an exemplary embodiment, referring to fig. 10, fig. 10 is a flowchart illustrating an embodiment of checking an account entry data file according to the present application. The proxy service platform takes the record number, account number, borrowing sign and amount of each piece of account data as a comparison cursor to respectively compare and check with the record number, account number, borrowing sign and amount in the client data.
Wherein, the accounting data which is successfully compared with the client data is added with an accounting success identifier, and the accounting data which is failed to be compared with the client data is added with an accounting failure identifier.
The agent service platform may further compare and calculate the total number of client data (i.e. the number of processing pens) in the client data file with the total number of accounting success data (i.e. the number of actual processing pens) and accounting failure data (i.e. the number of processing failure pens) in the accounting data file, so as to obtain second accounting information. The alignment accounting can be expressed specifically by the following formula:
Σ should process the number of strokes = Σ actual process number of strokes + Σ process failure number of strokes.
The agent service platform compares and calculates the total amount of the client data (i.e. the total amount of the client data) in the client data file with the total amount of the successful data (i.e. the actual total amount) and the failed data (i.e. the failed total amount) in the account data file, so as to obtain third account checking information. The alignment accounting can be expressed specifically by the following formula:
total amount of sigma customer data = total amount of sigma actual debiting + total amount of sigma debiting.
And the agent service platform gathers check-in successful record number of the client data and check-in detail record number of the check-in registration, compares consistency of the check-in successful record number and obtains fourth check-in accounting information. The alignment accounting can be expressed specifically by the following formula:
sigma customer check-in success count = Σcurrent business check-in detail process count.
And the agent service platform gathers the check of the total successful account amount of the client data and the check of the registered account details amount of the account, compares the consistency of the successful account amounts, and obtains fifth account checking information. The alignment accounting can be expressed specifically by the following formula:
sigma customer posting success total = Σcurrentbusiness posting details total.
And summarizing the total amount of the borrowers of the current business bank and the successful total amount of the borrowers of the current business systems, and comparing the consistency of the amounts of the borrowers to obtain sixth accounting information. The alignment accounting can be expressed specifically by the following formula:
sigma bank debit total amount = Σcreditcard debit accounting success amount + Σ personal financial debit accounting success amount + Σ other system debit accounting success amount +.
And summarizing the total amount of the lender of the current business bank and the successful total amount of the lender accounting registered by the processing logs of each system of the current business, and comparing the consistency of the amounts of the lenders to obtain seventh accounting information. The alignment accounting can be expressed specifically by the following formula:
sigma bank lender total amount = Σcredit card lender crediting successful amount + Σ personal financial lender crediting successful amount + Σ other system crediting successful amount +.
And summarizing the consistency of the actual account total amount of the client data and the account total amount registered in the current business bank processing log, and obtaining eighth account checking information. The alignment accounting can be expressed specifically by the following formula:
sigma customer data actual total charged = Σbankcredit total sum sigma bank debit total sum.
Step S28: and the proxy service platform sends the accounting information to the client for displaying.
The various accounting information (including the first accounting information to the eighth accounting information) includes accounting success information, accounting failure information, suspicious accounting information and file verification failure information.
On the one hand, by means of distinguishing from the prior art, the user account and account information of the associated resource expenditure data and the associated resource income data are respectively determined, so that account deduction/account entry processing is carried out on the resource expenditure data and the resource income data by using the user account and the account information, thereby optimizing the flow of business data processing, improving the effectiveness of business data processing and reducing the consumption of manpower and time cost; on the other hand, according to the account information of the user account, firstly, resource expenditure data are subjected to resource account deduction processing, and then resource income data are subjected to resource account entry processing, so that the processing process of business data is completed, the accuracy of account deduction/account entry processing of the business data is improved, and the efficiency of displaying and analyzing the processing result of the follow-up utilization data is higher.
It should be understood that, although the steps in the flowcharts of fig. 2 to 10 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as 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 a portion of the steps of fig. 2-10 may include multiple steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor does the order in which the steps or stages are performed necessarily occur sequentially, but may be performed alternately or alternately with other steps or at least a portion of the steps or stages in other steps.
It should be understood that the same/similar parts of the embodiments of the method described above in this specification may be referred to each other, and each embodiment focuses on differences from other embodiments, and references to descriptions of other method embodiments are only needed.
Fig. 11 is a block diagram of a processing device for service data according to an embodiment of the present application. Referring to fig. 11, the service data processing apparatus 20 includes: a data acquisition unit 21, an information confirmation unit 22, a resource billing unit 23, and a resource posting unit 24.
Wherein the data acquisition unit 21 is configured to perform acquisition of a service data set; the business data in the business data set is resource expenditure data and resource income data which are recorded in a banking system and are related to a plurality of user accounts, and each piece of resource expenditure data in the business data set is respectively associated with at least one piece of corresponding resource income data;
wherein, the information confirming unit 22 is configured to determine each resource expenditure data corresponds to a first type user account and first type account information of the first type user account; determining a second-class user account to which the resource income data corresponds and second-class account information of the second-class user account;
The resource account deduction unit 23 is configured to perform resource account deduction processing on the resource expense data based on the first type account information to obtain a first type data processing result aiming at the resource expense data;
and a resource accounting unit 24 configured to perform resource accounting processing on the resource income data based on the second type account information after the resource accounting processing on the resource expenditure data is completed, so as to obtain a second type data processing result for the resource income data.
In an exemplary embodiment, in the determining that each of the resource expense data corresponds to the first type of user account and the first type of account information of the first type of user account; and before determining the second-class user account to which the resource income data corresponds and the second-class account information of the second-class user account, further comprises:
determining the service application type to which each resource expenditure data corresponds; the number of service application types includes at least two types;
classifying and aggregating each of the resource expense data and the corresponding associated resource revenue data into at least two first class data sets that match the business application type;
Determining the resource processing network point to which the resource expenditure data and the resource income data correspond in each first class data set;
in each first class data set, classifying and aggregating each resource expenditure data and the corresponding associated resource income data into a second class data set matched with the resource processing website;
and sending each second class data set to the corresponding matched resource processing network point.
In an exemplary embodiment, the first type of account information and the second type of account information each include an account type and an account balance of a corresponding user account;
determining first-class account information of a first-class user account to which each piece of resource expenditure data corresponds; and determining a second type of user account to which the resource income data corresponds and second type of account information of the second type of user account, wherein the second type of account information comprises the following two items:
determining a first type of user account corresponding to each resource expense data, a first type of account type corresponding to the first type of user account and a first type of account balance based on the resource processing network points corresponding to and matched with each resource expense data;
And determining a second-class user account corresponding to each resource income data, a second-class account type corresponding to the second-class user account and a second-class account balance based on the resource processing network point corresponding to and matched with each resource income data.
In an exemplary embodiment, the first type of account type includes a present account type and a non-present account type; the account type characterizes the first type of user account as belonging to the user account of the resource processing website, and the non-account type characterizes the first type of user account as belonging to the non-user account of the resource processing website;
the step of performing resource account deduction processing on the resource expense data based on the first type account information to obtain a first type data processing result aiming at the resource expense data, includes:
performing resource account deduction processing on the resource expense data belonging to the account type based on the resource processing website to obtain a processing result of the resource expense data;
after resource account deduction processing is carried out on the resource expense data belonging to the account type, an external processing interface matched with the non-present user account is called based on the resource processing website, so that the resource account deduction processing is carried out on the resource expense data belonging to the non-present account type through the external processing interface, and a non-present data processing result aiming at the resource expense data is obtained;
And collecting the data processing results and the non-data processing results to obtain a first type of data processing result.
In an exemplary embodiment, the resource expense data includes a resource expense amount;
the resource accounting processing is performed on the resource expenditure data belonging to the account type, and the resource accounting processing comprises the following steps:
generating a first instruction to execute a resource deduction processing procedure for the resource expense data based on the first instruction under the condition that the first account balance is greater than or equal to the resource expense amount; the first instruction is used for indicating the resource processing website to deduct the resource expenditure amount from the first account balance to obtain a new first account balance aiming at the user account;
generating a second instruction to perform a resource reconciliation process for the resource expense data based on the second instruction if the first class account balance is less than the resource expense amount; the second instruction is used for indicating the resource processing website to generate a prompt message about resource deduction failure.
In an exemplary embodiment, the second type of account type includes a present account type and a non-present account type; the account type of the method characterizes the second type of the user account as belonging to the user account of the resource processing website, and the non-account type characterizes the second type of the user account as belonging to the non-user account of the resource processing website;
The resource accounting processing is performed on the resource expenditure data based on the second type account information to obtain a second type data processing result aiming at the resource income data, and the method comprises the following steps:
performing resource accounting processing on the resource income data belonging to the account type based on the resource processing website to obtain a processing result of the resource income data;
after resource accounting processing is carried out on the resource income data belonging to the account type, an external processing interface matched with the non-local user account is called based on the resource processing network point, so that the resource accounting processing is carried out on the resource income data belonging to the non-local account type through the external processing interface, and a non-local data processing result aiming at the resource income data is obtained;
and collecting the data processing results and the non-data processing results to obtain second-class data processing results.
In an exemplary embodiment, the resource revenue data includes a resource revenue amount;
the resource accounting processing is performed on the resource income data belonging to the account type, and the resource accounting processing comprises the following steps:
generating a third instruction under the condition that balance deduction of the first account corresponding to the user account is successful, so as to execute a resource accounting processing process of the resource income data based on the third instruction; the third instruction is used for indicating the resource processing website to add the resource income amount from the second-class account balance to obtain a new second-class account balance aiming at the user account;
Generating a fourth instruction under the condition that the balance deduction of the first account corresponding to the user account fails, so as to execute a resource accounting processing process of the resource income data based on the fourth instruction; the fourth instruction is used for instructing the resource processing website to generate a prompt message about resource addition failure.
In an exemplary embodiment, after the second class of data processing results for the resource revenue data are obtained, the method further includes:
determining first type processing data based on the first type data processing result; the first type of processing data is first type of result data obtained after resource account deduction processing is carried out on the resource expenditure data; and
determining second class processing data based on the second class data processing result; the second class processing data is second class result data obtained after resource accounting processing is carried out on the resource income data;
comparing and accounting the first class of processing data with the resource expenditure data, and comparing and accounting the second class of processing data with the resource income data to obtain first accounting information; the first accounting information comprises corresponding data accounting correct information and data accounting error information;
And sending the first accounting information to a client for display.
In an exemplary embodiment, the first type of result data includes resource accounting success data and resource accounting failure data; the second class of result data comprises resource accounting success data and resource accounting failure data;
after the second class of data processing results for the resource revenue data are obtained, further comprising:
determining the successful data of resource account deduction, the failed data of resource account deduction, the first data number between the successful data of resource account deduction and the failed data of resource account deduction, and comparing and checking the first data number with the second data number of each service data in the service data set to obtain second accounting information;
determining the resource account deduction success data, the resource account deduction failure data, a first resource amount between the resource account deduction success data and the resource account deduction failure data, and comparing and accounting the first resource amount with a second resource amount of each service data in the service data set to obtain third accounting information;
and sending the first accounting information, the second accounting information and the third accounting information to a client for display.
Fig. 12 is a block diagram of a computer device 30 provided in an embodiment of the present application. For example, the computer device 30 may be an electronic device, an electronic component, or an array of servers, or the like. Referring to fig. 12, the computer device 30 comprises a processor 31, which further processor 31 may be a processor set, which may comprise one or more processors, and the computer device 30 comprises memory resources represented by a memory 32, wherein the memory 32 has stored thereon a computer program, such as an application program. The computer program stored in memory 32 may include one or more modules each corresponding to a set of executable instructions. Further, the processor 31 is configured to implement the processing method of the service data as described above when executing the executable instructions.
In some embodiments, computer device 30 is an electronic device in which a computing system may run one or more operating systems, including any of the operating systems discussed above as well as any commercially available server operating systems. The computer device 30 may also run any of a variety of additional server applications and/or middle tier applications, including HTTP (hypertext transfer protocol) servers, FTP (file transfer protocol) servers, CGI (common gateway interface) servers, super servers, database servers, and the like. Exemplary database servers include, but are not limited to, those commercially available from (International Business machines) and the like.
In some embodiments, the processor 31 generally controls the overall operation of the computer device 30, such as operations associated with display, data processing, data communication, and recording operations. The processor 31 may include one or more processor components to execute computer programs to perform all or part of the steps of the methods described above. Further, the processor component may include one or more modules that facilitate interactions between the processor component and other components. For example, the processor component may include a multimedia module to facilitate controlling interactions between the user computer device 30 and the processor 31 with the multimedia component.
In some embodiments, the processor components in the processor 31 may also be referred to as CPUs (Central Processing Unit, central processing units). The processor assembly may be an electronic chip with signal processing capabilities. The processor may also be a general purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a Field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor element or the like. In addition, the processor components may be collectively implemented by an integrated circuit chip.
In some embodiments, memory 32 is configured to store various types of data to support operations at computer device 30. Examples of such data include instructions for any application or method operating on computer device 30, collected data, messages, pictures, video, and the like. The memory 32 may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, optical disk, or graphene memory.
In some embodiments, the memory 32 may be a memory bank, TF card, etc., and may store all information in the computer device 30, including input raw data, computer programs, intermediate running results, and final running results, all stored in the memory 32. In some embodiments, it stores and retrieves information based on the location specified by the processor. In some embodiments, with memory 32, computer device 30 has memory capabilities to ensure proper operation. In some embodiments, the memory 32 of the computer device 30 may be divided into a main memory (memory) and an auxiliary memory (external memory) according to purposes, and there is a classification method that is divided into an external memory and an internal memory. The external memory is usually a magnetic medium, an optical disk, or the like, and can store information for a long period of time. The memory refers to a storage component on the motherboard for storing data and programs currently being executed, but is only used for temporarily storing programs and data, and the data is lost when the power supply is turned off or the power is turned off.
In some embodiments, the computer device 30 may further comprise: the power supply assembly 33 is configured to perform power management of the computer device 30, and the wired or wireless network interface 34 is configured to connect the computer device 30 to a network, and the input output (I/O) interface 35. The computer device 30 may operate based on an operating system stored in memory 32, such as Windows Server, mac OS X, unix, linux, freeBSD, or the like.
In some embodiments, power supply component 33 provides power to the various components of computer device 30. Power supply components 33 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for computer device 30.
In some embodiments, the wired or wireless network interface 34 is configured to facilitate communication between the computer device 30 and other devices, either wired or wireless. The computer device 30 may access a wireless network based on a communication standard, such as WiFi, an operator network (e.g., 2G, 3G, 4G, or 5G), or a combination thereof.
In some embodiments, the wired or wireless network interface 34 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the wired or wireless network interface 34 also includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In some embodiments, an input output (I/O) interface 35 provides an interface between the processor 31 and a peripheral interface module, which may be a keyboard, click wheel, button, or the like. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The embodiment of the application provides a block diagram of a computer-readable storage medium. The computer readable storage medium stores a computer program, wherein the computer program when executed by a processor implements the method for processing service data as described above.
The units integrated with the functional units in the various embodiments of the present application may be stored in a computer-readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or all or part of the technical solution, or in a software product, where the computer-readable storage medium includes several instructions to enable a computer device (which may be a personal computer, a system server, or a network device, etc.), an electronic device (such as MP3, MP4, etc., also may be a smart terminal such as a mobile phone, a tablet computer, a wearable device, etc., also may be a desktop computer, etc.), or a processor (processor) to perform all or part of the steps of the methods of the embodiments of the present application.
The embodiment of the application provides a block diagram of a computer program product. The computer program product comprises program instructions executable by a processor of a server to implement a method of processing traffic data as described above.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided with a method of processing business data, an apparatus 20 for processing business data, a computer device 30, a computer readable storage medium or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer program instructions (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods of processing business data, apparatus 20 for processing business data, computer device 30, computer-readable storage medium, or computer program product according to embodiments of the application. It will be understood that each flowchart and/or block of the flowchart and/or block diagrams, and combinations of flowcharts and/or block diagrams, can be implemented by computer program products. These computer program products may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the program instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program products may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the program instructions stored in the computer program product produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the program instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that the descriptions of the above methods, apparatuses, electronic devices, computer-readable storage media, computer program products and the like according to the method embodiments may further include other implementations, and specific implementations may refer to descriptions of related method embodiments, which are not described herein in detail.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A method for processing service data, the method comprising:
acquiring a service data set; the business data in the business data set is resource expenditure data and resource income data which are recorded in a banking system and are related to a plurality of user accounts, and each piece of resource expenditure data in the business data set is respectively associated with at least one piece of corresponding resource income data;
Determining first-class account information of a first-class user account to which each piece of resource expenditure data corresponds; determining a second-class user account to which the resource income data corresponds and second-class account information of the second-class user account;
performing resource account deduction processing on the resource expense data based on the first type account information to obtain a first type data processing result aiming at the resource expense data;
and after the resource account deduction processing is completed on the resource expense data, performing resource account entry processing on the resource income data based on the second-class account information to obtain a second-class data processing result aiming at the resource income data.
2. The method of claim 1, wherein in said determining each of said resource expense data corresponds to a first type of user account to which said first type of user account belongs and first type account information of said first type of user account; and before determining the second-class user account to which the resource income data corresponds and the second-class account information of the second-class user account, further comprises:
determining the service application type to which each resource expenditure data corresponds; the number of service application types includes at least two types;
Classifying and aggregating each of the resource expense data and the corresponding associated resource revenue data into at least two first class data sets that match the business application type;
determining the resource processing network point to which the resource expenditure data and the resource income data correspond in each first class data set;
in each first class data set, classifying and aggregating each resource expenditure data and the corresponding associated resource income data into a second class data set matched with the resource processing website;
and sending each second class data set to the corresponding matched resource processing network point.
3. The method of claim 2, wherein the first type of account information and the second type of account information each include an account type and an account balance of a corresponding user account;
determining first-class account information of a first-class user account to which each piece of resource expenditure data corresponds; and determining a second type of user account to which the resource income data corresponds and second type of account information of the second type of user account, wherein the second type of account information comprises the following two items:
Determining a first type of user account corresponding to each resource expense data, a first type of account type corresponding to the first type of user account and a first type of account balance based on the resource processing network points corresponding to and matched with each resource expense data;
and determining a second-class user account corresponding to each resource income data, a second-class account type corresponding to the second-class user account and a second-class account balance based on the resource processing network point corresponding to and matched with each resource income data.
4. A method according to claim 3, wherein the first type of account type comprises a present account type and a non-present account type; the account type characterizes the first type of user account as belonging to the user account of the resource processing website, and the non-account type characterizes the first type of user account as belonging to the non-user account of the resource processing website;
the step of performing resource account deduction processing on the resource expense data based on the first type account information to obtain a first type data processing result aiming at the resource expense data, includes:
performing resource account deduction processing on the resource expense data belonging to the account type based on the resource processing website to obtain a processing result of the resource expense data;
After resource account deduction processing is carried out on the resource expense data belonging to the account type, an external processing interface matched with the non-present user account is called based on the resource processing website, so that the resource account deduction processing is carried out on the resource expense data belonging to the non-present account type through the external processing interface, and a non-present data processing result aiming at the resource expense data is obtained;
and collecting the data processing results and the non-data processing results to obtain a first type of data processing result.
5. The method of claim 4, wherein the resource expense data comprises a resource expense amount;
the resource accounting processing is performed on the resource expenditure data belonging to the account type, and the resource accounting processing comprises the following steps:
generating a first instruction to execute a resource deduction processing procedure for the resource expense data based on the first instruction under the condition that the first account balance is greater than or equal to the resource expense amount; the first instruction is used for indicating the resource processing website to deduct the resource expenditure amount from the first account balance to obtain a new first account balance aiming at the user account;
Generating a second instruction to perform a resource reconciliation process for the resource expense data based on the second instruction if the first class account balance is less than the resource expense amount; the second instruction is used for indicating the resource processing website to generate a prompt message about resource deduction failure.
6. A method according to claim 3, wherein the second type of account type comprises a present account type and a non-present account type; the account type of the method characterizes the second type of the user account as belonging to the user account of the resource processing website, and the non-account type characterizes the second type of the user account as belonging to the non-user account of the resource processing website;
the resource accounting processing is performed on the resource expenditure data based on the second type account information to obtain a second type data processing result aiming at the resource income data, and the method comprises the following steps:
performing resource accounting processing on the resource income data belonging to the account type based on the resource processing website to obtain a processing result of the resource income data;
after resource accounting processing is carried out on the resource income data belonging to the account type, an external processing interface matched with the non-local user account is called based on the resource processing network point, so that the resource accounting processing is carried out on the resource income data belonging to the non-local account type through the external processing interface, and a non-local data processing result aiming at the resource income data is obtained;
And collecting the data processing results and the non-data processing results to obtain second-class data processing results.
7. The method of claim 6, wherein the resource revenue data comprises a resource revenue amount;
the resource accounting processing is performed on the resource income data belonging to the account type, and the resource accounting processing comprises the following steps:
generating a third instruction under the condition that balance deduction of the first account corresponding to the user account is successful, so as to execute a resource accounting processing process of the resource income data based on the third instruction; the third instruction is used for indicating the resource processing website to add the resource income amount from the second-class account balance to obtain a new second-class account balance aiming at the user account;
generating a fourth instruction under the condition that the balance deduction of the first account corresponding to the user account fails, so as to execute a resource accounting processing process of the resource income data based on the fourth instruction; the fourth instruction is used for instructing the resource processing website to generate a prompt message about resource addition failure.
8. The method of claim 1, further comprising, after said obtaining a second type of data processing result for said resource revenue data:
Determining first type processing data based on the first type data processing result; the first type of processing data is first type of result data obtained after resource account deduction processing is carried out on the resource expenditure data; and
determining second class processing data based on the second class data processing result; the second class processing data is second class result data obtained after resource accounting processing is carried out on the resource income data;
comparing and accounting the first class of processing data with the resource expenditure data, and comparing and accounting the second class of processing data with the resource income data to obtain first accounting information; the first accounting information comprises corresponding data accounting correct information and data accounting error information;
and sending the first accounting information to a client for display.
9. The method of claim 8, wherein the first type of result data includes resource reconciliation success data and resource reconciliation failure data; the second class of result data comprises resource accounting success data and resource accounting failure data;
after the second class of data processing results for the resource revenue data are obtained, further comprising:
Determining the successful data of resource account deduction, the failed data of resource account deduction, the first data number between the successful data of resource account deduction and the failed data of resource account deduction, and comparing and checking the first data number with the second data number of each service data in the service data set to obtain second accounting information;
determining the resource account deduction success data, the resource account deduction failure data, a first resource amount between the resource account deduction success data and the resource account deduction failure data, and comparing and accounting the first resource amount with a second resource amount of each service data in the service data set to obtain third accounting information;
and sending the first accounting information, the second accounting information and the third accounting information to a client for display.
10. A service data processing apparatus, comprising:
a data acquisition unit configured to perform acquisition of a service data set; the business data in the business data set is resource expenditure data and resource income data which are recorded in a banking system and are related to a plurality of user accounts, and each piece of resource expenditure data in the business data set is respectively associated with at least one piece of corresponding resource income data;
An information confirmation unit configured to execute determination of each of the resource expense data corresponds to a first type of user account to which the resource expense data belongs and first type account information of the first type of user account; determining a second-class user account to which the resource income data corresponds and second-class account information of the second-class user account;
the resource account deduction unit is configured to execute resource account deduction processing on the resource expenditure data based on the first type account information to obtain a first type data processing result aiming at the resource expenditure data;
and the resource accounting unit is configured to execute resource accounting processing on the resource income data based on the second type account information after the resource accounting processing on the resource expenditure data is completed, so as to obtain a second type data processing result aiming at the resource income data.
11. A computer device, comprising:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to execute the executable instructions to implement the method of processing traffic data according to any of claims 1 to 9.
12. A computer readable storage medium comprising program data, wherein the program data, when executed by a processor of a computer device, enable the computer device to perform the method of processing traffic data according to any one of claims 1 to 9.
CN202311576275.5A 2023-11-23 2023-11-23 Service data processing method, processing device, computer equipment and storage medium Pending CN117474656A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311576275.5A CN117474656A (en) 2023-11-23 2023-11-23 Service data processing method, processing device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311576275.5A CN117474656A (en) 2023-11-23 2023-11-23 Service data processing method, processing device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117474656A true CN117474656A (en) 2024-01-30

Family

ID=89632891

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311576275.5A Pending CN117474656A (en) 2023-11-23 2023-11-23 Service data processing method, processing device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117474656A (en)

Similar Documents

Publication Publication Date Title
US10790965B1 (en) Tiered distributed ledger technology (DLT) in a network function virtualization (NFV) core network
US20200128090A1 (en) Resource processing method and apparatus
US20200279224A1 (en) Blockchain-based program review system, method, computing device and storage medium
US11663042B2 (en) System for generating electronic alerts through predictive optimization analysis of resource conversions
EP2901303A1 (en) Aggregation source routing
US20220207295A1 (en) Predicting occurrences of temporally separated events using adaptively trained artificial intelligence processes
CN111091358A (en) Unified processing method and system for multiple payment channels
US20230246835A1 (en) System for generation of substitutable configurations of secure electronic distributed register tokens
US20220207606A1 (en) Prediction of future occurrences of events using adaptively trained artificial-intelligence processes
US9754319B2 (en) Source document framework for accounting systems
US20210158253A1 (en) System for executing automatic resource transfers using predictive electronic data analysis
US11799712B2 (en) System for integration and interoperability between disparate distributed server technologies
CN117474656A (en) Service data processing method, processing device, computer equipment and storage medium
US20220318573A1 (en) Predicting targeted, agency-specific recovery events using trained artificial intelligence processes
US11741036B2 (en) Unified smart connector
US20190197030A1 (en) Self-healing real-time data processing
US11233706B2 (en) System for multichannel aggregation of electronic data via a centralized integration hub
KR102079176B1 (en) Receivables managing apparatus and method for applying sanctions on default
WO2020170187A1 (en) Large-scale processing of data records with efficient retrieval
US11966779B2 (en) System and method for transfer of digital resources using an integrated resource platform
US20230009622A1 (en) System and method for transfer of digital resources using an integrated resource platform12415us1.014033.4065
US20240005238A1 (en) Enterprise resource planning (erp) configuration manager
US20210256489A1 (en) System for automated resource transfers based on predictive electronic data analysis
CN116894642A (en) Information processing method and device, electronic equipment and computer readable storage medium
CN113449997A (en) Data processing method and device

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