CN109472577A - Account keeps accounts method, apparatus, computer equipment and storage medium - Google Patents
Account keeps accounts method, apparatus, computer equipment and storage medium Download PDFInfo
- Publication number
- CN109472577A CN109472577A CN201811123785.6A CN201811123785A CN109472577A CN 109472577 A CN109472577 A CN 109472577A CN 201811123785 A CN201811123785 A CN 201811123785A CN 109472577 A CN109472577 A CN 109472577A
- Authority
- CN
- China
- Prior art keywords
- message
- accounts
- keeps accounts
- keeps
- account
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/10—Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
- G06Q20/102—Bill distribution or payments
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/546—Message passing systems or structures, e.g. queues
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Development Economics (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Marketing (AREA)
- Technology Law (AREA)
- Computer And Data Communications (AREA)
Abstract
It keeps accounts method, apparatus, computer equipment and storage medium this application involves a kind of account.The method is related to multiple step format message queue technology, comprising: detection transaction payment operation generates the corresponding message that keeps accounts;The message that will keep accounts imports in corresponding preset message-oriented middleware;Inquire the preset thread that keeps accounts corresponding with message-oriented middleware;By keeping accounts, thread extracts the message that keeps accounts from message-oriented middleware;According to keeping accounts, thread and the message that keeps accounts carry out the operation that keeps accounts.Preset message-oriented middleware is corresponded to using this method and the thread that keeps accounts targetedly carries out the processing that keeps accounts to the message that keeps accounts, effectively increases the treatment effeciency that account keeps accounts.
Description
Technical field
This application involves field of computer technology, more particularly to a kind of account keep accounts method, apparatus, computer equipment and
Storage medium.
Background technique
With the development of computer technology, more and more business service systems are realized by internet, such as electric business
The shopping at network service that platform provides, convenience have attracted more and more people, and the trading volume of on-line payment is continuously increased, and hand over
Easy system is also increasing for the data volume for going out the processing that keeps accounts of account, and the timeliness requirement that people handle account
It is higher and higher.
Currently, keep accounts operation of the transaction system for account, usually uses T+1 mode, i.e. second working day to account
Mode carries out the processing that keeps accounts, and to avoid the high frequency access to account, however which needs second working day to account, and account enters
Account low efficiency.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of account that can be improved and keep accounts the account for the treatment of effeciency
Keep accounts method, apparatus, computer equipment and storage medium.
A kind of account keeps accounts method, which comprises
Transaction payment operation is detected, the corresponding message that keeps accounts is generated;
The message that will keep accounts imports in corresponding preset message-oriented middleware;
Inquire the preset thread that keeps accounts corresponding with message-oriented middleware;
By keeping accounts, thread extracts the message that keeps accounts from message-oriented middleware;
According to keeping accounts, thread and the message that keeps accounts carry out the operation that keeps accounts.
Message-oriented middleware includes specific messages middleware in one of the embodiments, and the message that will keep accounts imports corresponding pre-
If message-oriented middleware in step include:
According to keeping accounts, message determines account to be kept accounts;
Account to be kept accounts is matched with preset hot spot account list;
It determines when the account that keeps accounts is hot spot account, inquires corresponding with account to be kept accounts preset special when according to matching result
Use message-oriented middleware;
The message that will keep accounts imports in specific messages middleware.
In one of the embodiments, before the message that will keep accounts imports the step in specific messages middleware, further includes:
Data that the history for obtaining account to be kept accounts keeps accounts data and prediction keeps accounts;
Data are kept accounts according to history and prediction keeps accounts data, obtain the frequency information that keeps accounts of account to be kept accounts;
Middleware parameter is determined according to the frequency information that keeps accounts, and specific messages middleware is constructed according to middleware parameter.
In one of the embodiments, will keep accounts message import specific messages middleware in step include:
Determine that transaction payment operates corresponding payment account according to the message that keeps accounts;
Obtain the preset priority list that keeps accounts of account to be kept accounts;
According to the priority list that keeps accounts, the priority that keeps accounts of payment account is determined;
According to the priority that keeps accounts of payment account will keep accounts message import specific messages middleware in.
Message-oriented middleware includes universal information middleware in one of the embodiments, and according to keeping accounts, message is determined wait enter
After the step of account account, further includes:
It is determined when the account that keeps accounts is non-hot account when according to matching result, among the message that will keep accounts importing universal information
In part.
In one of the embodiments, according to thread is kept accounts and the message that keeps accounts keep accounts before the step of operating, also
Include:
Current message abstract is obtained according to the message that keeps accounts extracted from message-oriented middleware;
The former eap-message digest for the message that keeps accounts is obtained, former eap-message digest is obtained according to the message that keeps accounts before importing message-oriented middleware
It arrives;
Current message abstract and former eap-message digest are compared;
When comparing result is inconsistent, return to the step message that keeps accounts imported in corresponding preset message-oriented middleware.
In one of the embodiments, according to thread is kept accounts and the message that keeps accounts keep accounts after the step of operating, also
Include:
When meet it is preset keep accounts reconciliation condition when, obtain the operation data that keeps accounts of thread of keeping accounts, the operation data that keeps accounts packet
It includes to keep accounts and operates the message that successfully keeps accounts;
The message that will keep accounts operates the successfully message that keeps accounts and matches with keeping accounts;
When matching result is inconsistent, return to the step message that keeps accounts imported in corresponding preset message-oriented middleware.
A kind of account keeps accounts device, and described device includes:
Keep accounts message generating module, for detecting transaction payment operation, generates the corresponding message that keeps accounts;
The message that keeps accounts import modul imports in corresponding preset message-oriented middleware for the message that will keep accounts;
Keep accounts thread pool module, for inquiring the preset thread that keeps accounts corresponding with message-oriented middleware;
The message extraction that keeps accounts module, for extracting the message that keeps accounts from message-oriented middleware by the thread that keeps accounts;
Keep accounts operation module, for carrying out the operation that keeps accounts according to keep accounts thread and the message that keeps accounts.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing
Device performs the steps of when executing the computer program
Transaction payment operation is detected, the corresponding message that keeps accounts is generated;
The message that will keep accounts imports in corresponding preset message-oriented middleware;
Inquire the preset thread that keeps accounts corresponding with message-oriented middleware;
By keeping accounts, thread extracts the message that keeps accounts from message-oriented middleware;
According to keeping accounts, thread and the message that keeps accounts carry out the operation that keeps accounts.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
It is performed the steps of when row
Transaction payment operation is detected, the corresponding message that keeps accounts is generated;
The message that will keep accounts imports in corresponding preset message-oriented middleware;
Inquire the preset thread that keeps accounts corresponding with message-oriented middleware;
By keeping accounts, thread extracts the message that keeps accounts from message-oriented middleware;
According to keeping accounts, thread and the message that keeps accounts carry out the operation that keeps accounts.
Above-mentioned account keeps accounts method, apparatus, computer equipment and storage medium, according to the transaction payment operation life detected
Imported in preset message-oriented middleware at the corresponding message that keeps accounts, and by the message that keeps accounts, then by message-oriented middleware it is corresponding enter
Account thread carries out the operation that keeps accounts to the message that keeps accounts in message-oriented middleware, realizes the processing that keeps accounts to account.It kept accounts in account
Cheng Zhong targetedly carries out the processing that keeps accounts to the message that keeps accounts by the preset message-oriented middleware of correspondence and the thread that keeps accounts, effectively
Improve the treatment effeciency that account keeps accounts.
Detailed description of the invention
Fig. 1 is that account keeps accounts the application scenario diagram of method in one embodiment;
Fig. 2 is that account keeps accounts the flow diagram of method in one embodiment;
The flow diagram for the step of Fig. 3 is dedicated message-oriented middleware building in one embodiment;
Fig. 4 is that account keeps accounts the flow diagram of method in another embodiment;
Fig. 5 is that account keeps accounts the structural block diagram of device in one embodiment;
Fig. 6 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
Account provided by the present application keeps accounts method, can be applied in application environment as shown in Figure 1.Wherein, terminal 102
It is communicated with server 104 by network by network.The message that keeps accounts is generated when detecting the operation of 102 transaction payment of terminal
Afterwards, server 104 receives the message that keeps accounts, and the message that keeps accounts is imported in preset message-oriented middleware, then by message among
The corresponding thread that keeps accounts of part carries out the operation that keeps accounts to the message that keeps accounts in message-oriented middleware, realizes the processing that keeps accounts to account.Its
In, terminal 102 can be, but not limited to be various personal computers, laptop, smart phone, tablet computer and it is portable can
Wearable device, server 104 can be realized with the server cluster of the either multiple server compositions of independent server.
In one embodiment, it keeps accounts method as shown in Fig. 2, providing a kind of account, is applied in Fig. 1 in this way
It is illustrated for server 104, comprising the following steps:
Step S201: detection transaction payment operation generates the corresponding message that keeps accounts.
Server 104 passes through the trade transactions for monitoring distributed Accounting system, when listening to delivery operation, generates and is somebody's turn to do
The corresponding message that keeps accounts of delivery operation, the message that keeps accounts can be, but not limited to include that keep accounts account, the amount of money that keeps accounts, the item that keeps accounts etc. enters
Account relevant information.In the present embodiment, when detecting transaction payment operation, the account information that keeps accounts in delivery operation is obtained, is entered
The account amount of money and order number, currency type, project etc. keep accounts backlog information, and generate the corresponding message that keeps accounts, subsequent basis this keep accounts
Message carries out account and keeps accounts operation.In specific application, the delivery operation correlation of acquisition can also be believed before generating the message that keeps accounts
Breath is encrypted, and the message that keeps accounts of predetermined format is generated by encrypted coding, subsequently through the message that keeps accounts
Data transmitting and processing are carried out, to ensure the safety of data trade data.
Step S203: the message that will keep accounts imports in corresponding preset message-oriented middleware.
Wherein, message-oriented middleware may include message queue, be such as specifically as follows for transmitting the message that keeps accounts
The message queue of the types such as ActiveMQ, RabbitMQ, ZeroMQ, Kafka, MetaMQ and RocketMQ, passes through message queue
The message that keeps accounts received is forwarded processing, it can be ensured that the message that keeps accounts keeps accounts the reliability of operation.Message-oriented middleware can
With corresponding with the account that keeps accounts default, such as keep accounts account for the high hot spot of number of concurrent height, timeliness priority that keeps accounts, it can be with ad hoc right
The specific messages middleware answered, the specific messages middleware are only handled the message that keeps accounts for being related to the account that keeps accounts;And it is right
The account that keeps accounts low in number of concurrent, timeliness priority is low can then enter the corresponding account that keeps accounts by universal information middleware
Account message is handled.In the present embodiment, the obtained message that keeps accounts is imported in corresponding preset message-oriented middleware, is disappeared Ru dedicated
Cease middleware or universal information middleware.
Step S205: the inquiry preset thread that keeps accounts corresponding with message-oriented middleware.
The thread that keeps accounts is that user extracts the message that keeps accounts from message-oriented middleware, and carries out stack-incoming operation to stacking message and appoint
Business thread.The thread that keeps accounts can be correspondingly arranged with message-oriented middleware, such as may include and the message lattice that keep accounts in message-oriented middleware
The reading thread that formula is correspondingly arranged, to improve the thread that keeps accounts to the treatment effeciency of the message that keeps accounts.Specifically, it is led in the message that will keep accounts
After entering corresponding message-oriented middleware, the corresponding thread that keeps accounts is inquired according to the message-oriented middleware.
Step S207: by keeping accounts, thread extracts the message that keeps accounts from message-oriented middleware.
After obtaining stacking thread corresponding with message-oriented middleware, the place that keeps accounts is carried out to the message that keeps accounts by the thread that keeps accounts
Reason.Specifically, according to the thread that keeps accounts, the message that keeps accounts is extracted from message-oriented middleware, extraction keeps accounts message can be directly from message
Sequentially extracted in middleware, can also by further being configured to the message that keeps accounts, if setting keeps accounts message extraction condition, from
The message that keeps accounts that extraction meets the extraction conditions in message-oriented middleware is handled.
Step S209: according to keeping accounts, thread and the message that keeps accounts carry out the operation that keeps accounts.
After obtaining the message that keeps accounts by the message that keeps accounts, according to the thread that keeps accounts, to keeping accounts, message carries out the operation that keeps accounts, thus
Realize the processing that keeps accounts to the message that keeps accounts.
Above-mentioned account keeps accounts in method, generates the corresponding message that keeps accounts according to the transaction payment operation detected, and should
The message that keeps accounts imports in preset message-oriented middleware, then by the corresponding thread that keeps accounts of message-oriented middleware to entering in message-oriented middleware
Account message carries out the operation that keeps accounts, and realizes the processing that keeps accounts to account.During account keeps accounts, by the preset message of correspondence
Between part and the thread that keeps accounts the processing that keeps accounts targetedly is carried out to the message that keeps accounts, effectively increase the treatment effeciency that account keeps accounts.
In one embodiment, message-oriented middleware includes specific messages middleware, and it is preset that the message that will keep accounts imports correspondence
Step in message-oriented middleware includes: to determine account to be kept accounts according to the message that keeps accounts;It will account be kept accounts and preset hot spot account
Name in an account book list is matched;It determines when the account that keeps accounts is hot spot account, inquires corresponding with account to be kept accounts when according to matching result
Preset specific messages middleware;The message that will keep accounts imports in specific messages middleware.
Message-oriented middleware can be correspondingly arranged with respectively account to be kept accounts, and correspondence can be set in account to be kept accounts for hot spot
Specific messages middleware, and configured according to capacity, format of the demand of account to be kept accounts to specific messages middleware;And
It for general account to be kept accounts, can be handled by general specific messages middleware, treat the account that keeps accounts to realize
It divides, the message that keeps accounts is handled by corresponding message-oriented middleware, effectively improves the treatment effeciency for the message that keeps accounts.
In the present embodiment, message-oriented middleware includes specific messages middleware, which is to wait for for hot spot
The account that keeps accounts is correspondingly arranged, when the message that keeps accounts that will be obtained imports in corresponding preset message-oriented middleware, according to the message that keeps accounts
It determines account to be kept accounts, account to be kept accounts can directly can be such as extracted from the message that keeps accounts, and it is high in security request data
In Accounting system, the message that keeps accounts does not carry account to be kept accounts directly, but including account identification corresponding with account to be kept accounts,
It can then be identified according to the account, according to preset mapping condition, inquiry determines corresponding account to be kept accounts.Determine the message that keeps accounts
It is corresponding after the account that keeps accounts, judgement should account be kept accounts whether be hot spot account, specifically can will account be kept accounts and default
Hot spot account list matched.Wherein, hot spot account list can keep accounts number according to the history of account each in Accounting system
It is obtained according to analysis, can such as calculate entering an item of expenditure in the accounts in the account unit time and operate number, when it is more than preset hot spot account threshold value
When, then it is judged as hot spot account, adds it to hot spot account list.By will account be kept accounts and preset hot spot account name
Singly matched, it can be determined that whether the account to be kept accounts that the message that keeps accounts is related to is hot spot account, if so, inquiry with wait keep accounts
Account corresponds to preset specific messages middleware, and the message that will keep accounts imports in the specific messages middleware checked in.
In the present embodiment, according to the high hot spot account of the number of concurrent that keeps accounts, it is correspondingly arranged specific messages middleware and disappears to keeping accounts
Breath carries out the processing that keeps accounts, it is ensured that the treatment effeciency of the corresponding message that keeps accounts of hot spot account.
It in one embodiment, further include dedicated before the message that will keep accounts imports the step in specific messages middleware
The step of message-oriented middleware constructs, specifically includes:
S301: data that the history for obtaining account to be kept accounts keeps accounts data and prediction keeps accounts.
The account to be kept accounts of specific messages middleware and hot spot is correspondingly arranged, in building, from Accounting system or each business
In system, obtain that account historical to be kept accounts keeps accounts data and prediction keeps accounts data.Wherein, the history data record that keeps accounts is corresponding
Account historical to be kept accounts keeps accounts operation, its available history keeps accounts demand;The prediction data that keep accounts can be accountee to be kept accounts
The dynamic prediction proposed keeps accounts demand.For example, a certain account to be kept accounts, there will be advertising campaign within following a period of time, can improve
Certain achievement, keeping accounts operates number of concurrent and can improve, and further analysis obtains prediction and keeps accounts demand, and being kept accounts by the prediction needs
It asks, keeps accounts data in conjunction with the history of the account to be kept accounts, be determined for the parameter of message-oriented middleware, and further building pair
The specific messages middleware for the meet demand answered.
Data that S303: keeping accounts data according to history and prediction keeps accounts, obtain the frequency information that keeps accounts of account to be kept accounts.
It obtains that history keeps accounts data and prediction keeps accounts after data, further determines that the frequency information that keeps accounts of account to be kept accounts.
Specifically, the data that can be kept accounts according to history determine that history keeps accounts demand, determine that prediction keeps accounts further according to the prediction data that keep accounts and need
It asks, comprehensive history keeps accounts demand and the prediction demand of keeping accounts obtains the frequency information that keeps accounts.Wherein, history keeps accounts demand and prediction keeps accounts
Demand all can be keeping accounts in the unit time operate the frequency, i.e. the history demand of keeping accounts can keep accounts frequency for history, predict into
Account demand can keep accounts frequency for prediction, keep accounts frequency according to history and prediction keeps accounts the sum of frequency, obtain account to be kept accounts
Keep accounts frequency information.In the present embodiment, the history that the frequency information that keeps accounts combines account to be kept accounts keeps accounts data and prediction keeps accounts
Data, it is ensured that the specific aim of the specific messages middleware of building is conducive to specific messages middleware to the quick of the message that keeps accounts
Processing.
S305: middleware parameter is determined according to the frequency information that keeps accounts, and is constructed among specific messages according to middleware parameter
Part.
It obtains after the frequency information that keeps accounts for the account that keeps accounts, middleware parameter is determined according to the frequency information that keeps accounts, is gone forward side by side
One step constructs specific messages middleware corresponding with account to be kept accounts according to obtained middleware parameter.The frequency information that keeps accounts is comprehensive
Data that the history of account to be kept accounts keeps accounts data and prediction keeps accounts, accurately reflecting actually keeping accounts for account to be kept accounts needs
It asks, while reflecting the capacity requirement of corresponding specific messages middleware.In the present embodiment, according to the frequency information that keeps accounts, determine
Middleware parameter can be such as middleware handling capacity, and according to the middleware parameter, construct corresponding specific messages middleware,
Obtained specific messages middleware can meet the demand that keeps accounts of corresponding account to be kept accounts conscientiously.Further, it is also possible to further obtain
Take the format parameter of the corresponding message that keeps accounts of account to be kept accounts, and according to the format parameter further to the specific messages of building among
Part carries out the message format update that keeps accounts, to ensure specific messages middleware to the treatment effeciency for the message that keeps accounts.
In the present embodiment, data that the history of comprehensive account to be kept accounts keeps accounts data and prediction keeps accounts are constructed corresponding dedicated
Message-oriented middleware, it is ensured that the specific aim of the specific messages middleware of building can meet entering for corresponding account to be kept accounts conscientiously
Account demand is conducive to quick processing of the specific messages middleware to the message that keeps accounts.
In one embodiment, the step that message imports in specific messages middleware that will keep accounts includes: according to the message that keeps accounts
Determine that transaction payment operates corresponding payment account;Obtain the preset priority list that keeps accounts of account to be kept accounts;It is preferential according to keeping accounts
Grade table, determines the priority that keeps accounts of payment account;According to the priority that keeps accounts of payment account will keep accounts message import specific messages
In middleware.
It, can be according to the preferential grading of the corresponding payment account of the message that keeps accounts when the message that will keep accounts imports message-oriented middleware
Row sequence, by sequence it is preceding keep accounts message prioritization import message-oriented middleware so that its it is subsequent may be preferentially by the thread that keeps accounts
It reads and carries out the operation that keeps accounts.In the present embodiment, the message that keeps accounts of the account to be kept accounts of hot spot is imported into corresponding dedicated disappear
For ceasing the step in middleware, first determine that transaction payment operates corresponding payment account according to the message that keeps accounts, it specifically can be straight
Connect the information extracted from the message that keeps accounts and get paid account.After getting paid account, the preset priority list that keeps accounts is inquired, it should
The priority list that keeps accounts can be correspondingly arranged according to Accounting system, operation system or account to be kept accounts.For example, in this present embodiment
Hot spot account to be kept accounts, the priority list that keeps accounts is correspondingly arranged account to be kept accounts, according to and the account to be kept accounts generate
Each payment account of transaction payment creates to obtain;And for universal information middleware, then it can be based on Accounting system or business system
System carries out the priority list setting that keeps accounts according to all payment accounts.It obtains after the priority list that keeps accounts for the account that keeps accounts, according to
Stacking message is imported corresponding specific messages middleware by the priority that keeps accounts of the payment account recorded in the priority list that keeps accounts
In.
In the present embodiment, priority division is carried out by operating corresponding payment account to each transaction payment, may be implemented
Urgent, the important message that keeps accounts of priority processing, can effective guarantee critical priority keep accounts the treatment effeciency that keeps accounts of message.
In one embodiment, message-oriented middleware includes universal information middleware, and according to keeping accounts, message determines account to be kept accounts
After the step of family, further includes: when determining when the account that keeps accounts is non-hot account, the message that will the keep accounts importing according to matching result
In universal information middleware.
In the present embodiment, message-oriented middleware includes universal information middleware, when according to the determining account to be kept accounts of the message that keeps accounts
Specifically account to be kept accounts is subjected to matched matching result judgement with preset hot spot account list and is somebody's turn to do for non-hot account
When the account that keeps accounts is non-hot account, when such as it fails to match, shows the account to be kept accounts not in hot spot account list, be non-
Hot spot account, at this point it is possible to inquire universal information middleware, and the message that will keep accounts imports in universal information middleware.Wherein, lead to
It can create to obtain according to the middleware parameter of default by Accounting system or operation system with message-oriented middleware, to be suitable for each
The Message Processing that keeps accounts of kind account to be kept accounts.In specific application, identical as the account to be kept accounts of hot spot, by non-hot wait enter
It, can also be according to the preferential of the corresponding payment account of the message that keeps accounts when the message that keeps accounts of account account is imported in universal information middleware
Grade is ranked up, and the preceding message prioritization that keeps accounts of sequence is imported message-oriented middleware, so that it may preferentially be kept accounts subsequent
Thread reads and carries out the operation that keeps accounts, and keeps accounts the treatment effeciency that keeps accounts of message so as to effective guarantee critical priority.
In one embodiment, according to keeping accounts thread and the message that keeps accounts keep accounts before the step of operating, further includes:
Current message abstract is obtained according to the message that keeps accounts extracted from message-oriented middleware;The former eap-message digest for the message that keeps accounts is obtained, it is former
Eap-message digest is obtained according to the message that keeps accounts before importing message-oriented middleware;Current message abstract and former eap-message digest are carried out pair
Than;When comparing result is inconsistent, return to the step message that keeps accounts imported in corresponding preset message-oriented middleware.
When carrying out transmitting forward process to the message that keeps accounts by message-oriented middleware, for example, for the account of distributed treatment
Family system or operation system, the message that keeps accounts generates and message-oriented middleware may be realized by different distributed frame equipment, then
In the transmitting repeating process for the message that keeps accounts, the message that needs to avoid keeping accounts is truncated or distorts, specifically can by eap-message digest,
Come the integrality for the message that ensures to keep accounts.Wherein, eap-message digest is uniquely a corresponding message or a regular length for text
Value, it acts on message by an One-way Hash Encryption function and is generated, if keeping accounts message in transmitting repeating process
It changes, is such as truncated or distorts, then by receiving the newly generated abstract of the message that keeps accounts compared with original abstract, so that it may know
Whether road message is changed, so as to the integrality for the message that ensures to keep accounts.
In the present embodiment, according to keeping accounts thread and the message that keeps accounts keep accounts before operation, according to from message-oriented middleware
The message that keeps accounts of middle extraction obtains current message abstract, on the other hand, obtains according to the message that keeps accounts before importing message-oriented middleware
The former eap-message digest of the obtained message that keeps accounts, then current message abstract and former eap-message digest are compared, when comparing result one
It when cause, then can determine that the message that keeps accounts is not changed in importing the transmitting repeating process before and after message-oriented middleware, import in message
Between the message that keeps accounts of part be complete;And when comparing result is inconsistent, then the message that keeps accounts for importing message-oriented middleware is imperfect,
In transmitting repeating process, it may occur however that the truncation for the message that keeps accounts is distorted, at this point, return the message that will keep accounts import it is corresponding pre-
If message-oriented middleware in step, make generate the message that keeps accounts import in message-oriented middleware again.By being led to the message that keeps accounts
The eap-message digest for entering message-oriented middleware correspondence compares processing, in distributed processing system(DPS), can effectively ensure into
The integrality of account message, it is ensured that can keep accounts operation according to the message execution that keeps accounts.
In one embodiment, according to keeping accounts thread and the message that keeps accounts keep accounts after the step of operating, further includes:
When meet it is preset keep accounts reconciliation condition when, obtain the operation data that keeps accounts of thread of keeping accounts, the operation data that keeps accounts includes the behaviour that keeps accounts
Make the message that successfully keeps accounts;The message that will keep accounts operates the successfully message that keeps accounts and matches with keeping accounts;When matching result is inconsistent
When, return the step message that keeps accounts imported in corresponding preset message-oriented middleware.
After obtaining the thread that keeps accounts corresponding with message-oriented middleware, according to keeping accounts, thread and the message that keeps accounts carry out the behaviour that keeps accounts
Make, realize the processing that keeps accounts to the message that keeps accounts, in order to ensure the consistency of Accounting system fund, needs to carry out the operation that keeps accounts
Reconciliation processing.In the present embodiment, according to thread is kept accounts and the message that keeps accounts keep accounts after operation, detect whether to meet default
The reconciliation condition that keeps accounts, the reconciliation condition that keeps accounts can be configured according to the checking requirement of Accounting system or account to be kept accounts, such as
It can be the reconciliation every other day of T+1.When meet it is preset keep accounts reconciliation condition when, obtain the operation data that keeps accounts of thread of keeping accounts, enter
Account operation data includes keeping accounts to operate successfully to keep accounts message, and will keep accounts and message and keep accounts and operate the message progress that successfully keeps accounts
Matching shows reconciliation success, keeps accounts and operate success if matching result is consistent;And when matching result is inconsistent, then show into
The message that keeps accounts can be imported the step in corresponding preset message-oriented middleware at this time, be disappeared with realizing to keeping accounts by account operation failure
The processing that keeps accounts again of breath, until reconciliation success.
In the present embodiment, kept accounts reconciliation condition by setting, meet this keep accounts reconciliation condition when, by the message that keeps accounts
It operates the successfully message that keeps accounts with keeping accounts and is matched, realize that the reconciliation to the message that keeps accounts is handled, it can be ensured that the message that keeps accounts quilt
Successfully keep accounts processing, it is ensured that the consistency of Accounting system fund.
In one embodiment, it keeps accounts method as shown in figure 4, providing a kind of account, comprising the following steps:
Step S401: detection transaction payment operation generates the corresponding message that keeps accounts;
Step S402: according to keeping accounts, message determines account to be kept accounts;
Step S403: judge whether it is hot spot account;If so, S404 is thened follow the steps, it is no to then follow the steps S409;
Step S404: inquiry preset specific messages middleware corresponding with account to be kept accounts;
Step S405: determine that transaction payment operates corresponding payment account according to the message that keeps accounts;
Step S406: the preset priority list that keeps accounts of account to be kept accounts is obtained;
Step S407: according to the priority list that keeps accounts, the priority that keeps accounts of payment account is determined;
Step S408: according to the priority that keeps accounts of payment account will keep accounts message import specific messages middleware in;
Step S409: the message that will keep accounts imports in universal information middleware.
In the present embodiment, when server 104 listens to delivery operation by monitoring trade transactions, the message that keeps accounts is generated,
The message that keeps accounts includes the relevant informations that keep accounts such as account, the amount of money that keeps accounts, the item that keeps accounts that keep accounts.Message-oriented middleware includes in specific messages
Between part and universal information middleware, when the message that keeps accounts that will be obtained imports in corresponding preset message-oriented middleware, according to keeping accounts
Message determines account to be kept accounts, judgement should account be kept accounts whether be hot spot account, specifically can will account be kept accounts and default
Hot spot account list matched, if so, corresponding with account the to be kept accounts preset specific messages middleware of inquiry, and will enter
Account message imports in the specific messages middleware checked in;If it is not, the message that will then keep accounts imports in universal information middleware.
When the message that will keep accounts imports in corresponding message-oriented middleware, according to the preferential of the corresponding payment account of the message that keeps accounts
Grade is ranked up, and the preceding message prioritization that keeps accounts of sequence is imported message-oriented middleware, so that it may preferentially be kept accounts subsequent
Thread reads and carries out the operation that keeps accounts.The step of message that will keep accounts imports specific messages middleware is shown only in Fig. 4, and is corresponded to
Importing universal information middleware the step of to identify.Specifically, first determine that transaction payment operation corresponds to according to the message that keeps accounts
Payment account, inquire the preset priority list that keeps accounts, the priority list that keeps accounts is according to Accounting system, operation system or wait keep accounts
Account is correspondingly arranged, and finally according to the priority that keeps accounts of the payment account recorded in the priority list that keeps accounts, stacking message is led
Enter in corresponding specific messages middleware.Priority division is carried out by operating corresponding payment account to each transaction payment, it can
To realize priority processing is urgent, the important message that keeps accounts, can effective guarantee critical priority keep accounts the treatment effeciency that keeps accounts of message.
Step S410: current message abstract is obtained according to the message that keeps accounts extracted from message-oriented middleware;
Step S411: the former eap-message digest for the message that keeps accounts is obtained, former eap-message digest is according to entering before importing message-oriented middleware
Account message obtains;
Step S412: judge whether current message abstract and former eap-message digest are consistent;If so, S413 is thened follow the steps, it is no
Then follow the steps S408;
Step S413: the inquiry preset thread that keeps accounts corresponding with message-oriented middleware;
Step S414: by keeping accounts, thread extracts the message that keeps accounts from message-oriented middleware;
Step S415: according to keeping accounts, thread and the message that keeps accounts carry out the operation that keeps accounts.
The present embodiment is applied to distributed Accounting system, is being carried out by message-oriented middleware to the message that keeps accounts at transmitting forwarding
When reason, the message that keeps accounts is generated and message-oriented middleware may be realized by different distributed frame equipment, then in the message that keeps accounts
It transmits in repeating process, the message that needs to avoid keeping accounts is truncated or distorts, and can specifically be disappeared by eap-message digest to ensure to keep accounts
The integrality of breath.
Specifically, it according to thread is kept accounts and the message that keeps accounts keep accounts before operation, is mentioned according to from message-oriented middleware
The message that keeps accounts taken obtains current message abstract, on the other hand, obtains and is obtained according to the message that keeps accounts before importing message-oriented middleware
The message that keeps accounts former eap-message digest, then current message abstract and former eap-message digest are compared, when comparing result is consistent,
It then can determine that the message that keeps accounts is not changed in importing the transmitting repeating process before and after message-oriented middleware, import message-oriented middleware
The message that keeps accounts is completely, then to inquire the preset thread that keeps accounts corresponding with message-oriented middleware, then by keeping accounts thread from message
Between extract the message that keeps accounts in part, it is last according to keeping accounts thread and the message that keeps accounts carries out the operation that keeps accounts.If current message abstract and original
When the comparing result that eap-message digest compares is inconsistent, then the message that keeps accounts for importing message-oriented middleware is imperfect, turns in transmitting
During hair, it may occur however that the truncation for the message that keeps accounts is distorted, at this point, returning to the message that will keep accounts imports corresponding preset message
Step in middleware imports the message that keeps accounts generated in message-oriented middleware again.
In the present embodiment, place is compared by the eap-message digest for importing message-oriented middleware correspondence to the message that keeps accounts
Reason, in distributed processing system(DPS), the integrality for the message that effectively can ensure to keep accounts, it is ensured that can be executed according to the message that keeps accounts into
Account operation.
Step S416: when satisfaction keeps accounts reconciliation condition, reconciliation processing is carried out.
In the present embodiment, according to thread is kept accounts and the message that keeps accounts keep accounts after operation, detect whether to meet default
The reconciliation condition that keeps accounts, the reconciliation condition that keeps accounts is the reconciliation every other day of T+1, obtains the operation data that keeps accounts of thread of keeping accounts, keep accounts behaviour
Making data includes keeping accounts to operate successfully to keep accounts message, and the message and keeping accounts of keeping accounts operates the message that successfully keeps accounts and carries out
Match, if matching result is consistent, shows reconciliation success, keep accounts and operate success;And when matching result is inconsistent, then show to keep accounts
The message that keeps accounts can be imported the step in corresponding preset message-oriented middleware, at this time to realize to the message that keeps accounts by operation failure
The processing that keeps accounts again, until reconciliation success.Kept accounts reconciliation condition by setting, meet this keep accounts reconciliation condition when, pass through
It operates the successfully message that keeps accounts to message is kept accounts and matches with keeping accounts, realize that the reconciliation to the message that keeps accounts is handled, it can be ensured that
The message that keeps accounts successfully is kept accounts processing, it is ensured that the consistency of Accounting system fund.
It should be understood that although each step in the flow chart of Fig. 2-4 is successively shown according to the instruction of arrow,
These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-4
Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps
Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively
It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately
It executes.
In one embodiment, it keeps accounts device as shown in figure 5, providing a kind of account, comprising: keep accounts message generating module
501, the message that keeps accounts import modul 503, the thread pool module 505 that keeps accounts, the message extraction that keeps accounts module 507 and the operation module that keeps accounts
509, in which:
The message generating module that keeps accounts 501 generates the corresponding message that keeps accounts for detecting transaction payment operation;
The message that keeps accounts import modul 503 imports in corresponding preset message-oriented middleware for the message that will keep accounts;
Keep accounts thread pool module 505, for inquiring the preset thread that keeps accounts corresponding with message-oriented middleware;
The message extraction that keeps accounts module 507, for extracting the message that keeps accounts from message-oriented middleware by the thread that keeps accounts;
The operation module that keeps accounts 509, for carrying out the operation that keeps accounts according to keep accounts thread and the message that keeps accounts.
Above-mentioned account keeps accounts device, is generated and is corresponded to according to the transaction payment operation detected by the message generating module that keeps accounts
The message that keeps accounts, and the message that keeps accounts is imported in preset message-oriented middleware by keeping accounts message import modul, then pass through into
Account operation module carries out the operation that keeps accounts to the message that keeps accounts in message-oriented middleware by the corresponding thread that keeps accounts of message-oriented middleware, realizes
The processing that keeps accounts to account.During account keeps accounts, disappeared by the preset message-oriented middleware of correspondence and the thread that keeps accounts to keeping accounts
Breath targetedly carries out the processing that keeps accounts, and effectively increases the treatment effeciency that account keeps accounts.
In one embodiment, message-oriented middleware includes specific messages middleware, and the message that keeps accounts import modul 503 includes account
Family determination unit, hot spot account matching unit, dedicated middleware query unit and dedicated middleware import unit, in which: account
Determination unit, for determining account to be kept accounts according to the message that keeps accounts;Hot spot account matching unit, for will account be kept accounts and pre-
If hot spot account list matched;Dedicated middleware query unit, for when according to the determining account to be kept accounts of matching result
When for hot spot account, preset specific messages middleware corresponding with account to be kept accounts is inquired;Dedicated middleware import unit, is used for
The message that will keep accounts imports in specific messages middleware.
In one embodiment, further include keep accounts data acquisition module, keep accounts frequency determining module and dedicated middleware structure
Model block, in which: keep accounts data acquisition module, data that the history for obtaining account to be kept accounts keeps accounts data and prediction keeps accounts;
Keep accounts frequency determining module, for keeping accounts data according to history and prediction keeps accounts data, obtains the frequency that keeps accounts of account to be kept accounts
Information;Dedicated middleware constructs module, for determining middleware parameter according to the frequency information that keeps accounts, and according to middleware parameter structure
Build specific messages middleware.
In one embodiment, dedicated middleware import unit includes that payment account determines that subelement, priority list are looked into
Ask subelement, priority determines subelement and dedicated middleware imports subelement, in which: payment account determines subelement, is used for
Determine that transaction payment operates corresponding payment account according to the message that keeps accounts;Priority list inquires subelement, for obtaining wait enter
The preset priority list that keeps accounts of account account;Priority determines subelement, for determining payment account according to the priority list that keeps accounts
Keep accounts priority;Dedicated middleware imports subelement, will keep accounts message importing specially for the priority that keeps accounts according to payment account
With in message-oriented middleware.
In one embodiment, the message that keeps accounts import modul 503 further includes universal middleware import unit, for working as basis
Matching result determines that the message that will keep accounts imports in universal information middleware when the account that keeps accounts is non-hot account.
It in one embodiment, further include current abstract determining module, former abstract acquisition module, abstract to module and message
The first module is imported again, in which: determining module of currently making a summary, for being obtained according to the message that keeps accounts extracted from message-oriented middleware
Current message abstract;Original abstract obtains module, and for obtaining the former eap-message digest for the message that keeps accounts, former eap-message digest disappears according to importing
The message that keeps accounts before breath middleware obtains;Abstract is to module, for comparing current message abstract and former eap-message digest;Disappear
Weight import modul is ceased, for when comparing result is inconsistent, return will to keep accounts in the corresponding preset message-oriented middleware of message importing
The step of.
It in one embodiment, further include keeping accounts that operation data obtains module, the match messages that keep accounts module and message are led again
Enter the second module, in which: the operation data that keeps accounts obtain module, for when meet it is preset keep accounts reconciliation condition when, acquisition keeps accounts
The operation data that keeps accounts of thread, the operation data that keeps accounts include keeping accounts to operate the message that successfully keeps accounts;The match messages that keep accounts module is used
It operates the successfully message that keeps accounts in message will be kept accounts and matches with keeping accounts;Message imports the second module again, for when matching knot
When fruit is inconsistent, return to the step message that keeps accounts imported in corresponding preset message-oriented middleware.
It keeps accounts the specific restriction for limiting the method that may refer to keep accounts above for account of device about account, herein not
It repeats again.The above-mentioned account modules in device that keep accounts can be realized fully or partially through software, hardware and combinations thereof.On
Stating each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also store in a software form
In memory in computer equipment, the corresponding operation of the above modules is executed in order to which processor calls.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction
Composition can be as shown in Figure 6.The computer equipment includes processor, memory and the network interface connected by system bus.
Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory of the computer equipment includes non-easy
The property lost storage medium, built-in storage.The non-volatile memory medium is stored with operating system and computer program.The built-in storage
Operation for operating system and computer program in non-volatile memory medium provides environment.The network of the computer equipment connects
Mouth with external terminal by network connection for being communicated.To realize that a kind of account enters when the computer program is executed by processor
Account method.
It will be understood by those skilled in the art that structure shown in Fig. 6, only part relevant to application scheme is tied
The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment
It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, which is stored with
Computer program, the processor perform the steps of when executing computer program
Transaction payment operation is detected, the corresponding message that keeps accounts is generated;
The message that will keep accounts imports in corresponding preset message-oriented middleware;
Inquire the preset thread that keeps accounts corresponding with message-oriented middleware;
By keeping accounts, thread extracts the message that keeps accounts from message-oriented middleware;
According to keeping accounts, thread and the message that keeps accounts carry out the operation that keeps accounts.
In one embodiment, message-oriented middleware includes specific messages middleware, and processor is gone back when executing computer program
It performs the steps of and account to be kept accounts is determined according to the message that keeps accounts;It will account be kept accounts and the progress of preset hot spot account list
Matching;It determines when the account that keeps accounts is hot spot account, inquires corresponding with account to be kept accounts preset dedicated when according to matching result
Message-oriented middleware;The message that will keep accounts imports in specific messages middleware.
In one embodiment, it is also performed the steps of when processor executes computer program and obtains account to be kept accounts
Data that history keeps accounts data and prediction keeps accounts;Data are kept accounts according to history and prediction keeps accounts data, obtain entering for account to be kept accounts
Account frequency information;Middleware parameter is determined according to the frequency information that keeps accounts, and specific messages middleware is constructed according to middleware parameter.
In one embodiment, it also performs the steps of when processor executes computer program and is determined according to the message that keeps accounts
Transaction payment operates corresponding payment account;Obtain the preset priority list that keeps accounts of account to be kept accounts;According to the priority list that keeps accounts,
Determine the priority that keeps accounts of payment account;According to the priority that keeps accounts of payment account will keep accounts message import specific messages middleware
In.
In one embodiment, message-oriented middleware includes universal information middleware, and processor is gone back when executing computer program
It performs the steps of when according to matching result determination, when the account that keeps accounts is non-hot account, the message that will keep accounts imports general disappears
It ceases in middleware.
In one embodiment, basis is also performed the steps of when processor executes computer program from message-oriented middleware
The message that keeps accounts of middle extraction obtains current message abstract;The former eap-message digest for the message that keeps accounts is obtained, former eap-message digest is according to importing
The message that keeps accounts before message-oriented middleware obtains;Current message abstract and former eap-message digest are compared;When comparing result is different
When cause, return to the step message that keeps accounts imported in corresponding preset message-oriented middleware.
In one embodiment, it also performs the steps of to work as when processor executes computer program and meets preset keep accounts
When reconciliation condition, the operation data that keeps accounts for the thread that keeps accounts is obtained, the operation data that keeps accounts includes keeping accounts to operate the message that successfully keeps accounts;
The message that will keep accounts operates the successfully message that keeps accounts and matches with keeping accounts;When matching result is inconsistent, return will keep accounts message
Import the step in corresponding preset message-oriented middleware.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program performs the steps of when being executed by processor
Transaction payment operation is detected, the corresponding message that keeps accounts is generated;
The message that will keep accounts imports in corresponding preset message-oriented middleware;
Inquire the preset thread that keeps accounts corresponding with message-oriented middleware;
By keeping accounts, thread extracts the message that keeps accounts from message-oriented middleware;
According to keeping accounts, thread and the message that keeps accounts carry out the operation that keeps accounts.
In one embodiment, message-oriented middleware includes specific messages middleware, when computer program is executed by processor
It also performs the steps of and account to be kept accounts is determined according to the message that keeps accounts;Will account be kept accounts and preset hot spot account list into
Row matching;It determines when the account that keeps accounts is hot spot account, inquires corresponding with account to be kept accounts preset special when according to matching result
Use message-oriented middleware;The message that will keep accounts imports in specific messages middleware.
In one embodiment, it is also performed the steps of when computer program is executed by processor and obtains account to be kept accounts
History keep accounts data and prediction keeps accounts data;Data are kept accounts according to history and prediction keeps accounts data, obtain account to be kept accounts
Keep accounts frequency information;Middleware parameter is determined according to the frequency information that keeps accounts, and is constructed among specific messages according to middleware parameter
Part.
In one embodiment, it is also performed the steps of when computer program is executed by processor true according to the message that keeps accounts
Determine transaction payment and operates corresponding payment account;Obtain the preset priority list that keeps accounts of account to be kept accounts;According to the priority that keeps accounts
Table determines the priority that keeps accounts of payment account;According to the priority that keeps accounts of payment account will keep accounts message import specific messages in
Between in part.
In one embodiment, message-oriented middleware includes universal information middleware, when computer program is executed by processor
It also performs the steps of when according to matching result determination, when the account that keeps accounts is non-hot account, the message that will keep accounts imports general
In message-oriented middleware.
In one embodiment, it is also performed the steps of when computer program is executed by processor according among message
The message that keeps accounts extracted in part obtains current message abstract;Obtain the former eap-message digest of message of keeping accounts, former eap-message digest is according to leading
The message that keeps accounts before entering message-oriented middleware obtains;Current message abstract and former eap-message digest are compared;When comparing result not
When consistent, return to the step message that keeps accounts imported in corresponding preset message-oriented middleware.
In one embodiment, when computer program is executed by processor also perform the steps of when meet it is preset enter
When account reconciliation condition, the operation data that keeps accounts for the thread that keeps accounts is obtained, the operation data that keeps accounts includes keeping accounts to operate successfully to keep accounts to disappear
Breath;The message that will keep accounts operates the successfully message that keeps accounts and matches with keeping accounts;When matching result is inconsistent, return, which will keep accounts, to disappear
Breath imports the step in corresponding preset message-oriented middleware.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application
Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (10)
- A kind of method 1. account keeps accounts, which comprisesTransaction payment operation is detected, the corresponding message that keeps accounts is generated;The message that keeps accounts is imported in corresponding preset message-oriented middleware;Inquire the preset thread that keeps accounts corresponding with the message-oriented middleware;By the thread that keeps accounts extracted from the message-oriented middleware described in keep accounts message;Thread is kept accounts and the message that keeps accounts carries out the operation that keeps accounts according to described.
- 2. the method according to claim 1, wherein the message-oriented middleware includes specific messages middleware, institute It states and includes: by the step that the message that keeps accounts imports in corresponding preset message-oriented middlewareAccount to be kept accounts is determined according to the message that keeps accounts;The account to be kept accounts is matched with preset hot spot account list;It is described when the account that keeps accounts is hot spot account when being determined according to matching result, it inquires corresponding with the account to be kept accounts default The specific messages middleware;The message that keeps accounts is imported in the specific messages middleware.
- 3. according to the method described in claim 2, it is characterized in that, the message that keeps accounts is imported the specific messages described Before step in middleware, further includes:Data that the history for obtaining the account to be kept accounts keeps accounts data and prediction keeps accounts;Data are kept accounts according to the history and the prediction keeps accounts data, obtain the frequency information that keeps accounts of the account to be kept accounts;Middleware parameter is determined according to the frequency information that keeps accounts, and is constructed in the specific messages according to the middleware parameter Between part.
- 4. according to the method described in claim 3, it is characterized in that, described import the message that keeps accounts in the specific messages Between step in part include:Determine that the transaction payment operates corresponding payment account according to the message that keeps accounts;Obtain the preset priority list that keeps accounts of the account to be kept accounts;According to the priority list that keeps accounts, the priority that keeps accounts of the payment account is determined;The message that keeps accounts is imported in the specific messages middleware according to the priority that keeps accounts of the payment account.
- 5. according to the method described in claim 2, it is characterized in that, the message-oriented middleware includes universal information middleware, institute State keep accounts according to message determine account to be kept accounts the step of after, further includes:It is described when the account that keeps accounts is non-hot account when being determined according to the matching result, it keeps accounts described described in message importing In universal information middleware.
- 6. according to claim 1 to method described in 5 any one, which is characterized in that it is described keep accounts according to thread and The message that keeps accounts keep accounts before the step of operating, further includes:The message that keeps accounts according to extracting from the message-oriented middleware obtains current message abstract;The former eap-message digest for the message that keeps accounts described in acquisition, the original eap-message digest is according to before the importing message-oriented middleware The message that keeps accounts obtains;Current message abstract and the former eap-message digest are compared;When comparing result is inconsistent, return to the step message that keeps accounts imported in corresponding preset message-oriented middleware.
- 7. according to the method described in claim 6, it is characterized in that, in thread and the message that keeps accounts of keeping accounts according to Keep accounts after the step of operating, further includes:When meet it is preset keep accounts reconciliation condition when, the operation data that keeps accounts for the thread that keeps accounts described in acquisition, the operand that keeps accounts The message that successfully keeps accounts is operated according to including keeping accounts;The message that keeps accounts is operated the successfully message that keeps accounts and matched with described keep accounts;When matching result is inconsistent, return to the step message that keeps accounts imported in corresponding preset message-oriented middleware.
- The device 8. a kind of account keeps accounts, which is characterized in that described device includes:Keep accounts message generating module, for detecting transaction payment operation, generates the corresponding message that keeps accounts;The message that keeps accounts import modul, for importing the message that keeps accounts in corresponding preset message-oriented middleware;Keep accounts thread pool module, for inquiring the preset thread that keeps accounts corresponding with the message-oriented middleware;The message extraction that keeps accounts module, for the message that keeps accounts described in being extracted from the message-oriented middleware by the thread that keeps accounts;Keep accounts operation module, for keeping accounts thread according to and the message that keeps accounts carries out the operation that keeps accounts.
- 9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 7 the method when executing the computer program.
- 10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 7 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811123785.6A CN109472577A (en) | 2018-09-26 | 2018-09-26 | Account keeps accounts method, apparatus, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811123785.6A CN109472577A (en) | 2018-09-26 | 2018-09-26 | Account keeps accounts method, apparatus, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109472577A true CN109472577A (en) | 2019-03-15 |
Family
ID=65663266
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811123785.6A Pending CN109472577A (en) | 2018-09-26 | 2018-09-26 | Account keeps accounts method, apparatus, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109472577A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110992175A (en) * | 2019-10-30 | 2020-04-10 | 成都摩宝网络科技有限公司 | Asynchronous accounting and transaction separation method and system based on message middleware |
CN111062723A (en) * | 2019-10-25 | 2020-04-24 | 贝壳技术有限公司 | Virtual account transfer method, device, system and storage medium |
CN111352753A (en) * | 2020-04-26 | 2020-06-30 | 中国银行股份有限公司 | Accounting processing method and device |
CN111652681A (en) * | 2020-05-29 | 2020-09-11 | 平安医疗健康管理股份有限公司 | Receipt processing method, server and computer readable storage medium |
CN112116481A (en) * | 2019-06-21 | 2020-12-22 | 腾讯科技(深圳)有限公司 | Income posting processing method and device, alarm server and storage medium |
CN112712430A (en) * | 2020-12-29 | 2021-04-27 | 吉林亿联银行股份有限公司 | High-frequency account management method and device for Internet bank |
CN112801638A (en) * | 2021-01-19 | 2021-05-14 | 浙江大搜车融资租赁有限公司 | Transaction data processing method, system, computer device and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101996099A (en) * | 2010-11-17 | 2011-03-30 | 山东中创软件工程股份有限公司 | Method and system for processing information |
CN103903138A (en) * | 2012-12-31 | 2014-07-02 | ***通信集团湖南有限公司 | Payment method, terminal, platform and system |
CN107015869A (en) * | 2017-01-16 | 2017-08-04 | 平安银行股份有限公司 | Transaction keeps accounts control method and system |
CN107274162A (en) * | 2017-05-31 | 2017-10-20 | 深圳市长亮科技股份有限公司 | A kind of processing method of high transaction concurrency |
CN107679931A (en) * | 2017-08-17 | 2018-02-09 | 平安科技(深圳)有限公司 | Method, apparatus, storage medium and the terminal of order asynchronous process |
CN107833129A (en) * | 2017-09-13 | 2018-03-23 | 深圳市金证科技股份有限公司 | A kind of silver spreads out liquidation method, device and terminal device |
-
2018
- 2018-09-26 CN CN201811123785.6A patent/CN109472577A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101996099A (en) * | 2010-11-17 | 2011-03-30 | 山东中创软件工程股份有限公司 | Method and system for processing information |
CN103903138A (en) * | 2012-12-31 | 2014-07-02 | ***通信集团湖南有限公司 | Payment method, terminal, platform and system |
CN107015869A (en) * | 2017-01-16 | 2017-08-04 | 平安银行股份有限公司 | Transaction keeps accounts control method and system |
CN107274162A (en) * | 2017-05-31 | 2017-10-20 | 深圳市长亮科技股份有限公司 | A kind of processing method of high transaction concurrency |
CN107679931A (en) * | 2017-08-17 | 2018-02-09 | 平安科技(深圳)有限公司 | Method, apparatus, storage medium and the terminal of order asynchronous process |
CN107833129A (en) * | 2017-09-13 | 2018-03-23 | 深圳市金证科技股份有限公司 | A kind of silver spreads out liquidation method, device and terminal device |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112116481A (en) * | 2019-06-21 | 2020-12-22 | 腾讯科技(深圳)有限公司 | Income posting processing method and device, alarm server and storage medium |
CN111062723A (en) * | 2019-10-25 | 2020-04-24 | 贝壳技术有限公司 | Virtual account transfer method, device, system and storage medium |
CN111062723B (en) * | 2019-10-25 | 2023-09-26 | 贝壳技术有限公司 | Virtual account transfer method, device, system and storage medium |
CN110992175A (en) * | 2019-10-30 | 2020-04-10 | 成都摩宝网络科技有限公司 | Asynchronous accounting and transaction separation method and system based on message middleware |
CN111352753A (en) * | 2020-04-26 | 2020-06-30 | 中国银行股份有限公司 | Accounting processing method and device |
CN111352753B (en) * | 2020-04-26 | 2023-08-18 | 中国银行股份有限公司 | Accounting processing method and device |
CN111652681A (en) * | 2020-05-29 | 2020-09-11 | 平安医疗健康管理股份有限公司 | Receipt processing method, server and computer readable storage medium |
CN112712430A (en) * | 2020-12-29 | 2021-04-27 | 吉林亿联银行股份有限公司 | High-frequency account management method and device for Internet bank |
CN112801638A (en) * | 2021-01-19 | 2021-05-14 | 浙江大搜车融资租赁有限公司 | Transaction data processing method, system, computer device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109472577A (en) | Account keeps accounts method, apparatus, computer equipment and storage medium | |
CN110232565B (en) | Resource clearing method, device, computer equipment and storage medium | |
CN110782240B (en) | Business data processing method and device, computer equipment and storage medium | |
CN108573371B (en) | Data approval method, device, computer equipment and storage medium | |
CN108876133A (en) | Risk assessment processing method, device, server and medium based on business information | |
CN112766907B (en) | Service data processing method, device and server | |
CN109816399A (en) | Complain management method, device, computer equipment and the storage medium of part | |
CN109087208B (en) | Pre-loan data processing method, pre-loan data processing device, computer equipment and storage medium | |
CN109447411A (en) | Business Process Control method, apparatus, computer equipment and storage medium | |
CN109194495B (en) | Server, message processing method, and computer-readable storage medium | |
CN109447609A (en) | Method of payment, device, computer equipment and storage medium | |
WO2015088853A1 (en) | Launching a client application based on a message | |
CN110636106B (en) | Information pushing method and device, computer equipment and storage medium | |
CN111209113B (en) | Resource allocation method, device, equipment and storage medium based on intelligent contract | |
US10963888B2 (en) | Payment complaint method, device, server and readable storage medium | |
CN109656778A (en) | Data capture method, device, computer equipment and storage medium | |
CN107783861B (en) | Transaction rollback method, device, storage medium and computer equipment | |
WO2016062173A1 (en) | User attribute value transfer method and terminal | |
CN109815489A (en) | Collection information generating method, device, computer equipment and storage medium | |
CN108846763A (en) | Core protects request processing method, device, computer equipment and storage medium | |
CN110321481A (en) | Information push method, system, computer equipment and storage medium | |
CN109446772A (en) | Accrediting amount calculation method, device, computer equipment and storage medium | |
CN109903034B (en) | Rule matching method and device, computer readable storage medium and computer equipment | |
CN109376811A (en) | A kind of intelligence changes chucking method, device, terminal and computer-readable medium | |
CN109857373A (en) | Business data processing method, device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |