CN110020846A - A kind of transferred account service processing method and system - Google Patents

A kind of transferred account service processing method and system Download PDF

Info

Publication number
CN110020846A
CN110020846A CN201910203850.4A CN201910203850A CN110020846A CN 110020846 A CN110020846 A CN 110020846A CN 201910203850 A CN201910203850 A CN 201910203850A CN 110020846 A CN110020846 A CN 110020846A
Authority
CN
China
Prior art keywords
transferred
request
account service
group
database
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.)
Granted
Application number
CN201910203850.4A
Other languages
Chinese (zh)
Other versions
CN110020846B (en
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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding Ltd
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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910203850.4A priority Critical patent/CN110020846B/en
Publication of CN110020846A publication Critical patent/CN110020846A/en
Application granted granted Critical
Publication of CN110020846B publication Critical patent/CN110020846B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems

Abstract

Disclose a kind of transferred account service processing method and processing device.A kind of transferred account service processing method this method comprises: service management, which flanks, receives several transferred account service processing requests, and according to the side's of the being transferred to mark carried in each request, determines the corresponding respectively side of being transferred to of each request;According to the storage position information of the identified respectively side of being transferred to, received each request is grouped;Any group of transferred account service processing request is sent to correspondence database side;After database flanks the one group of transferred account service processing request for receiving the transmission of service management side, the destination request for meeting preset condition in this group of transferred account service processing request is obtained;It requests for either objective obtained database side: being identified according to the idempotent in the destination request, create the corresponding idempotent record of the destination request;In the case where idempotent record creates successful situation, according to the side's of the being transferred to mark and transfer amounts in the destination request, obtains the account information for the correspondence side of being transferred to that database is stored and transfer accounts.

Description

A kind of transferred account service processing method and system
Technical field
This specification embodiment is related to technical field of internet application more particularly to a kind of transferred account service processing method and is System.
Background technique
The prior art is when handling transferred account service, it usually needs integration across database handles data, for example, account A turns to account B Account, when handling corresponding transferred account service processing request, it is necessary first to respectively by database where account A, B, to 2 accounts The information checkings such as account balance are carried out, funds reservation operation then is carried out to account A, and are recorded in account B not up to money, in account Database where family A, B upstream returns handle successfully after, then pass through account A, B place respectively database be practical and withholdd With balance updates.
The scheme logic of the prior art is complex, carries out a large amount of transferred account services to other accounts in same account, such as Platform is provided in the scenes such as red packet to a large number of users, and the business processing efficiency of prior art is lower, can not be with higher effect The a large amount of transferred account services of rate processing.
Summary of the invention
In view of the above technical problems, this specification embodiment provides a kind of transferred account service processing method and system, technical side Case is as follows:
According to this specification embodiment in a first aspect, a kind of transferred account service processing method is provided, for handling same turn The transferred account service of the multiple sides of being transferred in direction out, this method comprises:
Service management, which flanks, receives several transferred account service processing requests, and according to the side's of the being transferred to mark carried in each request, really Determine the corresponding respectively side of being transferred to of each request;
Service management lateral root divides received each request according to the storage position information of the identified respectively side of being transferred to Group;Wherein, the information of the corresponding side of being transferred to respectively is requested to be stored in same database in any group;
Any group of transferred account service processing request is sent to correspondence database side by service management side;
After database flanks the one group of transferred account service processing request for receiving the transmission of service management side, this group of transferred account service is obtained Meet the destination request of preset condition in processing request;
It is requested for either objective obtained database side: being identified according to the idempotent in the destination request, create the mesh Mark requests corresponding idempotent record;In the case where idempotent record creates successful situation, according to the side of being transferred in the destination request Mark and transfer amounts obtain the account information for the correspondence side of being transferred to that database is stored and transfer accounts.
According to the second aspect of this specification embodiment, a kind of transferred account service processing method is provided, for handling same turn The transferred account service of the multiple sides of being transferred in direction out, and it is applied to service management side, this method comprises:
Several transferred account service processing requests are received, and according to the side's of the being transferred to mark carried in each request, determine each request pair The respectively side of being transferred to answered;
According to the storage position information of the identified respectively side of being transferred to, received each request is grouped;Wherein, appoint The information of the corresponding side of being transferred to respectively is requested to be stored in same database in one group;
Any group of transferred account service processing request is sent to correspondence database side, so that database side is to this group of transferred account service Processing request carries out batch processing.
According to the third aspect of this specification embodiment, a kind of transferred account service processing method is provided, for handling same turn The transferred account service of the multiple sides of being transferred in direction out, and it is applied to database side, this method comprises:
After the one group of transferred account service processing request for receiving the transmission of service management side, this group of transferred account service processing request is obtained In meet the destination request of preset condition;This group of transferred account service processing request is service management lateral root according to the processing pair of each transferred account service Should the storage position information of the side of being transferred to be grouped to obtain;
It is requested for either objective obtained:
According to the idempotent mark in the destination request, the corresponding idempotent record of the destination request is created;Remember in the idempotent Record creates in successful situation, according to the side's of the being transferred to mark and transfer amounts in the destination request, obtains database and is stored The correspondence side of being transferred to account information and transfer accounts.
According to the fourth aspect of this specification embodiment, a kind of transferred account service processing system is provided, for handling same turn The transferred account service of the multiple sides of being transferred in direction out, the system include: service management side and database side;
Service management, which flanks, receives several transferred account service processing requests, and according to the side's of the being transferred to mark carried in each request, really Determine the corresponding respectively side of being transferred to of each request;
Service management lateral root divides received each request according to the storage position information of the identified respectively side of being transferred to Group;Wherein, the information of the corresponding side of being transferred to respectively is requested to be stored in same database in any group;
Any group of transferred account service processing request is sent to correspondence database side by service management side;
After database flanks the one group of transferred account service processing request for receiving the transmission of service management side, this group of transferred account service is obtained Meet the destination request of preset condition in processing request;
It is requested for either objective obtained database side: being identified according to the idempotent in the destination request, create the mesh Mark requests corresponding idempotent record;In the case where idempotent record creates successful situation, according to the side of being transferred in the destination request Mark and transfer amounts obtain the account information for the correspondence side of being transferred to that database is stored and transfer accounts.
According to the 5th of this specification embodiment the aspect, a kind of transferred account service processing unit is provided, for handling same turn The transferred account service of the multiple sides of being transferred in direction out, and it is applied to service management side, which includes:
Request receiving module, for receiving several transferred account service processing requests, and according to the side of being transferred to carried in each request Mark determines the corresponding respectively side of being transferred to of each request;
Grouping module is requested, for the storage position information according to the identified respectively side of being transferred to, received is respectively asked It asks and is grouped;Wherein, the information of the corresponding side of being transferred to respectively is requested to be stored in same database in any group;
Request sending module, for any group of transferred account service processing request to be sent to correspondence database side, so that data Library side carries out batch processing to this group of transferred account service processing request.
According to the 6th of this specification embodiment the aspect, a kind of transferred account service processing unit is provided, for handling same turn The transferred account service of the multiple sides of being transferred in direction out, and it is applied to database side, which includes:
Destination request obtains module, after one group of transferred account service processing request for receiving the transmission of service management side, obtains Obtain the destination request for meeting preset condition in this group of transferred account service processing request;This group of transferred account service processing request is service management Lateral root is grouped to obtain according to the storage position information that each transferred account service handles the corresponding side of being transferred to;
Destination request processing module, for being requested for either objective obtained:
According to the idempotent mark in the destination request, the corresponding idempotent record of the destination request is created;Remember in the idempotent Record creates in successful situation, according to the side's of the being transferred to mark and transfer amounts in the destination request, obtains database and is stored The correspondence side of being transferred to account information and transfer accounts.
Technical solution provided by this specification embodiment, the case where for same account batch to other account transfers, Logic of transferring accounts is simplified, according to the storage location of the side's of being transferred to information, the processing request of a large amount of transferred account service is divided into several groups, by Each database side of the side's of being transferred to information is stored, respectively the corresponding transferred account service processing request of batch processing database, and passed through Idempotent record guarantees idempotence, to improve the treatment effeciency of a large amount of transferred account services.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not This specification embodiment can be limited.
In addition, any embodiment in this specification embodiment does not need to reach above-mentioned whole effects.
Detailed description of the invention
In order to illustrate more clearly of this specification embodiment or technical solution in the prior art, below will to embodiment or Attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only The some embodiments recorded in this specification embodiment for those of ordinary skill in the art can also be attached according to these Figure obtains other attached drawings.
Fig. 1 is the structural schematic diagram of the transferred account service processing system of this specification embodiment;
Fig. 2 is a kind of flow diagram of the transferred account service processing method of this specification embodiment;
Fig. 3 is another flow diagram of the transferred account service processing method of this specification embodiment;
Fig. 4 is another flow diagram of the transferred account service processing method of this specification embodiment;
Fig. 5 is a kind of structural schematic diagram of the transferred account service processing unit of this specification embodiment;
Fig. 6 is another structural schematic diagram of the transferred account service processing unit of this specification embodiment;
Fig. 7 is the structural schematic diagram for configuring a kind of equipment of this specification embodiment device.
Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification embodiment, below in conjunction with this Attached drawing in specification embodiment is described in detail the technical solution in this specification embodiment, it is clear that described Embodiment is only a part of the embodiment of this specification, instead of all the embodiments.The embodiment of base in this manual, Those of ordinary skill in the art's every other embodiment obtained, all should belong to the range of protection.
For problem of the prior art, this specification embodiment provides a kind of transferred account service processing method, same for handling One produces the transferred account service of the multiple sides of being transferred in direction.
In the embodiment of this specification, the process of transferred account service processing is related to service management side and several databases, right The system architecture schematic diagram answered is as shown in Figure 1, include service management device 10 and database facility 20,30 etc..
Fig. 2 is the interaction diagrams of transferred account service processing method that this specification embodiment provides, can specifically include with Lower step:
S201, service management, which flanks, receives several transferred account service processing requests, and according to the side's of the being transferred to mark carried in each request Know, determines the corresponding respectively side of being transferred to of each request;
In this specification embodiment, fund produces the direction side of being transferred to when transferring accounts, and transferred account service will be initiated first, thus business Management-side will receive transferred account service processing request, and when the side of producing, batch is transferred accounts to multiple sides of being transferred to, service management side will be connect Receive several transferred account service processing requests.
It is understood that this specification does not limit the initiation mode of transferred account service, it can be for individual for example, producing Account, initiation mode can be to carry out transfer operation by terminal device;For another example, producing can be with for business account, with payment For platform, red packet can be paid to provide to user's batch by initiating mode;Etc..
The prior art is when handling transferred account service, using distributing real time system mode, needs by storing the side's of producing letter It ceases and the database of the side's of being transferred to information, the remote operation for carrying out integration across database is handled, so that transferred account service process flow Logic is complicated, resource consumption is more.
In the scheme that this specification embodiment provides, service management side is asked for received each transferred account service processing It asks, according to the side's of the being transferred to mark carried in request, determines the corresponding side of being transferred to.It is understood that this specification embodiment is simultaneously The concrete form that the side of being transferred to identifies is not limited, it, can also be with for example, it may be for the unique sequence numbers mark that each side of being transferred to distributes For the account name, etc. for the side of being transferred to, those skilled in the art can flexibly set according to the actual situation.
S202, the storage position information of the identified respectively side of being transferred to of service management lateral root evidence, to received each request It is grouped;Wherein, the information of the corresponding side of being transferred to respectively is requested to be stored in same database in any group;
Any group of transferred account service processing request is sent to correspondence database side by S203, service management side;
For ease of description, S202 is illustrated in conjunction with S203.
In scheme provided by this specification embodiment, the corresponding request in the side of being transferred to that information is stored in same database It is divided into one group, and this group of transferred account service processing request can be sent to the database, so as to unified by the database Group request is managed to produce when the multiple sides of being transferred in direction are transferred accounts without carrying out integration across database processing with simplification is same Business processing logic improves business processing efficiency.
S204 obtains the group and turns after database flanks the one group of transferred account service processing request for receiving the transmission of service management side Meet the destination request of preset condition in the request of account business processing;
In this specification embodiment, process demand, can specifically be accomplished in several ways acquisition according to different requests Meet the destination request of preset condition in this group of transferred account service processing request, this specification embodiment does not limit this.
In a kind of specific embodiment of this specification embodiment, the fund for the side of producing is being imported into the side's of being transferred to account Before, it may be necessary to the side's of being transferred to information is screened in advance, is verified.For example, it may be desirable to verify whether the side's of being transferred to account deposits In credit problems such as frauds;For another example, the payment red packet of payment platform granting, targeted user population may need to meet certain item Part;Etc., those skilled in the art can flexibly set according to actual needs.
It is corresponding, in present embodiment, the destination request for meeting preset condition in this group of transferred account service processing request is obtained, Specifically, request can be handled for any transferred account service in the group, first according to the side's of the being transferred to mark carried in the request, The correspondence side of the being transferred to information that database is stored is obtained, then according to default verification rule, to the side's of being transferred to information obtained It is verified, to determine that the request is the destination request for meeting preset condition in the case where the side's of being transferred to information checking passes through.
For example, include value-at-risk, the credit value etc. of the side of being transferred in the side's of the being transferred to information obtained, and verifying rule is value-at-risk It is higher than preset threshold etc. lower than preset threshold or credit value, so that the corresponding request in the believable side of being transferred to that verification is passed through determines For destination request;For another example, the history consumer record in the side's of being transferred to information of acquisition including the side of being transferred to, history consume scene, history Active value etc., and verify rule and live for the consumption scene matching or history of history consumption scene and this payment red packet provided Jump value be higher than preset threshold, etc., so as to will the believable side of being transferred to that passes through of verification be corresponding requests to be determined as target to ask It asks, the probability that user is consumed using red packet after raising red packet granting.
In another specific embodiment of this specification embodiment, in order to further increase transferred account service processing effect The processing request of multiple transferred account services further can be merged into a destination request processing by rate.Specifically, it can obtain first At least one preset request merging condition is obtained, the particular content of request merging condition is not limited in this specification embodiment, For example, can for the identical side's of being transferred to account, identical funds flow, identical services subtype, etc..Then determine that the group is transferred accounts industry With the presence or absence of the transferred account service processing request for meeting the request merging condition in business processing request, if so, being asked according to described Merging condition is asked to merge the processing request of identified transferred account service, the destination request after being merged.
For example, it is assumed that request merging condition is that the side's of being transferred to account is identical, and determines being transferred to for 3 transferred account service processing requests Square account is A account, then this 3 requests can be merged into 1 destination request processing;For another example, it is assumed that request merging condition It is identical for funds flow, and determine that the processing request of 10 transferred account services is the bank account for being transferred to B bank, then can by this 10 1 destination request processing is merged into a request;Etc..
It is understood that in the case where presetting multiple merging request conditions, it is understood that there may be meet turning for multiple conditions The request of account business processing, such as request 1 are identical as the side's of being transferred to account of request 2, and identical as the business subtype of request 3, this Specification embodiment does not limit the processing mode of such situation.
For example, request 1 can be merged with any request in request 2,3;For another example, different merging can be requested in advance Condition setting priority, if condition " side's of being transferred to account is identical " priority be higher than " business subtype is identical ", then will request 1 with Request 2 merges;Also such as, eligible more request can be merged, that is, assumes the side's of being transferred to account phase of request 1,2,4,5 Together, and request 1 with request 3 business subtype it is identical, then can will request 1,2,4,5 merging obtain destination request;Etc..
It certainly, can also be without the term restriction of transferred account service processing request, i.e. database in this specification embodiment Request is handled to transferred account service all in one group received, and is operated without verification, screening or merging etc., it is unified to carry out Batch processing that is, with received each transferred account service processing request for a destination request, and carries out in this case Subsequent processing.
S205, database side are requested for either objective obtained: being identified according to the idempotent in the destination request, creation The corresponding idempotent record of the destination request;In the case where idempotent record creates successful situation, according to turning in the destination request The side's of entering mark and transfer amounts obtain the account information for the correspondence side of being transferred to that database is stored and transfer accounts.
In the above-described embodiment, the destination request that the processing request of multiple transferred account services obtains can be merged, to reply, The target can be obtained first when creating the destination request corresponding idempotent record according to the idempotent mark in the destination request At least two idempotent mark in request, at least two idempotent mark are as follows: at least two for merging into the destination request is transferred accounts industry The idempotent mark carried in business processing request, then identifies according to each idempotent obtained, identifies corresponding turn for the idempotent The request of account business processing creates corresponding idempotent record.
In another specific embodiment of this specification embodiment, database side is in this group of transferred account service processing request The processing result data of this group of transferred account service processing request is sent to service management side, to make business pipe by after treatment After reason flanks the processing result data for receiving the transmission of database side, the account balance for the side of producing is updated according to the data.That is business Management-side can be with the account balance of the asynchronous refresh side of producing account, and can generate and correspond to the processing request of each transferred account service Financial management details or to by same database batch processing multiple transferred account services processing request generate a financial management details, To further increase transferred account service treatment effeciency.
In order to illustrate more clearly of the transferred account service processing scheme of this specification embodiment, separately below again from unilateral angle Degree, is illustrated the transferred account service processing method that service management side is executed with database side:
Fig. 3 show the transferred account service processing method flow chart of service management side execution, same produces direction for handling The transferred account service of multiple sides of being transferred to, can specifically include following steps:
S301 receives several transferred account service processing requests, and according to the side's of the being transferred to mark carried in each request, determination is respectively asked Ask the corresponding respectively side of being transferred to;
S302 is grouped received each request according to the storage position information of the identified respectively side of being transferred to;Its In, respectively request the information of the corresponding side of being transferred to be stored in same database in any group;
Any group of transferred account service processing request is sent to correspondence database side, so that database side turns the group by S303 The request of account business processing carries out batch processing.
Fig. 4 show the transferred account service processing method flow chart of database side execution, and for handling, same to produce direction more The transferred account service of a side of being transferred to, can specifically include following steps:
S401 is obtained at this group of transferred account service after the one group of transferred account service processing request for receiving the transmission of service management side Meet the destination request of preset condition in reason request;This group of transferred account service processing request is service management lateral root according to each transferred account service The storage position information for handling the corresponding side of being transferred to is grouped to obtain;
S402 is requested for either objective obtained: being identified according to the idempotent in the destination request, is created the target and ask Corresponding idempotent is asked to record;
S403 according to the side's of being transferred to mark in the destination request and turns in the case where idempotent record creates successful situation The account amount of money obtains the account information for the correspondence side of being transferred to that database is stored and transfers accounts.
About the unilateral execution method details of service management side and database side, the description of preceding embodiment may refer to, Which is not described herein again.
Below with reference to one, more specifically example, the transferred account service processing method provided this specification are illustrated.
Assuming that certain payment platform needs to provide payment red packet to a collection of user, then service management side will be firstly received a batch Corresponding transferred account service processing request.
Service management side can determine that corresponding user account is requested in each transferred account service processing first, to determine that storage should The database of user account information, such as account point epitope can be set, the database where the account is identified, thus will batch Transferred account service processing request be ranked up according to account point epitope, and the identical transferred account service processing of account point epitope is asked It asks, Batch sending to correspondence database.
Assuming that the lateral database A of service management sends 100 transferred account service processing requests, after database A is received, for The processing request of each transferred account service carries out idempotent record write-in and illustrates also if idempotent record is written successfully not to correspondence Account provides red packet, therefore can carry out transferred account service processing;If idempotent record write-in failure illustrates to corresponding account Red packet is provided at family, therefore no longer carries out subsequent processing, and the processing result by transferred account service processing request is success.
100 transferred account service processing are requested equal after treatment by database A, can be handled to the return of service management side Result data, for example, the processing result that can return to each transferred account service processing request is successfully or fails, is respectively or total The amount of money transferred accounts, etc., it, such as can be to more than the side's of producing account so that business management system be allow to carry out subsequent processing Volume is updated, generate produce financial management details, etc..And the financial management details for the side of being transferred to and remaining sum can it is synchronous by database A or Asynchronous refresh.
As it can be seen that producing the case where multiple sides of being transferred in direction are transferred accounts using above scheme for same, can ensuring On the basis of flow of fund is safe and accurate, simplifies transferred account service process flow, the remote operation of integration across database is reduced, to mention The treatment effeciency of high transferred account service.
Corresponding to above method embodiment, this specification embodiment also provides a kind of transferred account service processing unit, for locating It manages the same transferred account service for producing the multiple sides of being transferred in direction, and is applied to service management side, shown in Figure 5, which can be with Include:
Request receiving module 110 for receiving several transferred account service processing requests, and is transferred to according to what is carried in each request Side's mark determines the corresponding respectively side of being transferred to of each request;
Grouping module 120 is requested, for the storage position information according to the identified respectively side of being transferred to, to received each Request is grouped;Wherein, the information of the corresponding side of being transferred to respectively is requested to be stored in same database in any group;
Request sending module 130, for any group of transferred account service processing request to be sent to correspondence database side, so that number Batch processing is carried out to this group of transferred account service processing request according to library side.
This specification embodiment also provides a kind of transferred account service processing unit, same produces that direction is multiple to be transferred to for handling The transferred account service of side, and it is applied to database side, it is shown in Figure 6, the apparatus may include:
Destination request obtains module 210, after one group of transferred account service processing request for receiving the transmission of service management side, Obtain the destination request for meeting preset condition in this group of transferred account service processing request;This group of transferred account service processing request is business pipe Reason lateral root is grouped to obtain according to the storage position information that each transferred account service handles the corresponding side of being transferred to;
Destination request processing module 220, for being requested for either objective obtained:
According to the idempotent mark in the destination request, the corresponding idempotent record of the destination request is created;Remember in the idempotent Record creates in successful situation, according to the side's of the being transferred to mark and transfer amounts in the destination request, obtains database and is stored The correspondence side of being transferred to account information and transfer accounts.
The function of modules and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
This specification embodiment also provides a kind of computer equipment, includes at least memory, processor and is stored in On reservoir and the computer program that can run on a processor, wherein processor realizes above-mentioned transfer accounts when executing described program Method for processing business.This method includes at least:
A kind of transferred account service processing method, for handling the same transferred account service for producing the multiple sides of being transferred in direction, this method Include:
Service management, which flanks, receives several transferred account service processing requests, and according to the side's of the being transferred to mark carried in each request, really Determine the corresponding respectively side of being transferred to of each request;
Service management lateral root divides received each request according to the storage position information of the identified respectively side of being transferred to Group;Wherein, the information of the corresponding side of being transferred to respectively is requested to be stored in same database in any group;
Any group of transferred account service processing request is sent to correspondence database side by service management side;
After database flanks the one group of transferred account service processing request for receiving the transmission of service management side, this group of transferred account service is obtained Meet the destination request of preset condition in processing request;
It is requested for either objective obtained database side: being identified according to the idempotent in the destination request, create the mesh Mark requests corresponding idempotent record;In the case where idempotent record creates successful situation, according to the side of being transferred in the destination request Mark and transfer amounts obtain the account information for the correspondence side of being transferred to that database is stored and transfer accounts.
Fig. 7 shows one kind provided by this specification embodiment and more specifically calculates device hardware structural schematic diagram, The equipment may include: processor 1010, memory 1020, input/output interface 1030, communication interface 1040 and bus 1050.Wherein processor 1010, memory 1020, input/output interface 1030 and communication interface 1040 are real by bus 1050 The now communication connection inside equipment each other.
Processor 1010 can use general CPU (Central Processing Unit, central processing unit), micro- place Reason device, application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or one Or the modes such as multiple integrated circuits are realized, for executing relative program, to realize technical side provided by this specification embodiment Case.
Memory 1020 can use ROM (Read Only Memory, read-only memory), RAM (Random Access Memory, random access memory), static storage device, the forms such as dynamic memory realize.Memory 1020 can store Operating system and other applications are realizing technical solution provided by this specification embodiment by software or firmware When, relevant program code is stored in memory 1020, and execution is called by processor 1010.
Input/output interface 1030 is for connecting input/output module, to realize information input and output.Input and output/ Module can be used as component Configuration (not shown) in a device, can also be external in equipment to provide corresponding function.Wherein Input equipment may include keyboard, mouse, touch screen, microphone, various kinds of sensors etc., output equipment may include display, Loudspeaker, vibrator, indicator light etc..
Communication interface 1040 is used for connection communication module (not shown), to realize the communication of this equipment and other equipment Interaction.Wherein communication module can be realized by wired mode (such as USB, cable etc.) and be communicated, can also be wirelessly (such as mobile network, WIFI, bluetooth etc.) realizes communication.
Bus 1050 include an access, equipment various components (such as processor 1010, memory 1020, input/it is defeated Outgoing interface 1030 and communication interface 1040) between transmit information.
It should be noted that although above equipment illustrates only processor 1010, memory 1020, input/output interface 1030, communication interface 1040 and bus 1050, but in the specific implementation process, which can also include realizing normal fortune Other assemblies necessary to row.In addition, it will be appreciated by those skilled in the art that, it can also be only comprising real in above equipment Component necessary to existing this specification example scheme, without including all components shown in figure.
This specification embodiment also provides a kind of computer readable storage medium, is stored thereon with computer program, the journey Transferred account service processing method above-mentioned is realized when sequence is executed by processor.This method includes at least:
A kind of transferred account service processing method, for handling the same transferred account service for producing the multiple sides of being transferred in direction, this method Include:
Service management, which flanks, receives several transferred account service processing requests, and according to the side's of the being transferred to mark carried in each request, really Determine the corresponding respectively side of being transferred to of each request;
Service management lateral root divides received each request according to the storage position information of the identified respectively side of being transferred to Group;Wherein, the information of the corresponding side of being transferred to respectively is requested to be stored in same database in any group;
Any group of transferred account service processing request is sent to correspondence database side by service management side;
After database flanks the one group of transferred account service processing request for receiving the transmission of service management side, this group of transferred account service is obtained Meet the destination request of preset condition in processing request;
It is requested for either objective obtained database side: being identified according to the idempotent in the destination request, create the mesh Mark requests corresponding idempotent record;In the case where idempotent record creates successful situation, according to the side of being transferred in the destination request Mark and transfer amounts obtain the account information for the correspondence side of being transferred to that database is stored and transfer accounts.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
As seen through the above description of the embodiments, those skilled in the art can be understood that this specification Embodiment can be realized by means of software and necessary general hardware platform.Based on this understanding, this specification is implemented Substantially the part that contributes to existing technology can be embodied in the form of software products the technical solution of example in other words, The computer software product can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are to make It is each to obtain computer equipment (can be personal computer, server or the network equipment etc.) execution this specification embodiment Method described in certain parts of a embodiment or embodiment.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment The combination of any several equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality For applying example, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to embodiment of the method Part explanation.The apparatus embodiments described above are merely exemplary, wherein described be used as separate part description Module may or may not be physically separated, can be each module when implementing this specification example scheme Function realize in the same or multiple software and or hardware.Can also select according to the actual needs part therein or Person's whole module achieves the purpose of the solution of this embodiment.Those of ordinary skill in the art are not the case where making the creative labor Under, it can it understands and implements.
The above is only the specific embodiment of this specification embodiment, it is noted that for the general of the art For logical technical staff, under the premise of not departing from this specification embodiment principle, several improvements and modifications can also be made, this A little improvements and modifications also should be regarded as the protection scope of this specification embodiment.

Claims (15)

1. a kind of transferred account service processing method, for handling the same transferred account service for producing the multiple sides of being transferred in direction, this method packet It includes:
Service management, which flanks, receives several transferred account service processing requests, and according to the side's of the being transferred to mark carried in each request, determines each Request the corresponding respectively side of being transferred to;
Service management lateral root is grouped received each request according to the storage position information of the identified respectively side of being transferred to; Wherein, the information of the corresponding side of being transferred to respectively is requested to be stored in same database in any group;
Any group of transferred account service processing request is sent to correspondence database side by service management side;
After database flanks the one group of transferred account service processing request for receiving the transmission of service management side, this group of transferred account service processing is obtained Meet the destination request of preset condition in request;
It is requested for either objective obtained database side: being identified according to the idempotent in the destination request, create the target and ask Corresponding idempotent is asked to record;In the case where idempotent record creates successful situation, according to the side's of being transferred to mark in the destination request With transfer amounts, obtains the account information for the correspondence side of being transferred to that database is stored and transfer accounts.
2. according to the method described in claim 1, described obtain the mesh for meeting preset condition in this group of transferred account service processing request Mark request, comprising:
Request is handled for any transferred account service in the group:
According to the side's of the being transferred to mark carried in the request, the correspondence side of the being transferred to information that database is stored is obtained;
According to default verification rule, the side's of being transferred to information obtained is verified;
In the case that information checking passes through in the side of being transferred to, determine that the request is the destination request for meeting preset condition.
3. according to the method described in claim 1, described obtain the mesh for meeting preset condition in this group of transferred account service processing request Mark request, comprising:
Obtain at least one preset request merging condition;
It determines in this group of transferred account service processing request with the presence or absence of the transferred account service processing request for meeting the request merging condition;
If so, being merged according to the request merging condition to the processing request of identified transferred account service, after obtaining merging Destination request.
4. creating the destination request pair according to the method described in claim 3, the idempotent according in the destination request identifies The idempotent record answered, comprising:
Obtain at least two idempotent mark in the destination request, at least two idempotent mark are as follows: merge into the destination request At least two transferred account service processing request in carry idempotent mark;
It is identified according to each idempotent obtained, identifies corresponding transferred account service processing request for the idempotent and create corresponding idempotent Record.
5. according to the method described in claim 1, the method also includes:
Database side is in this group of transferred account service processing request after treatment, by the processing result of this group of transferred account service processing request Data are sent to service management side;
After service management flanks the processing result data for receiving the transmission of database side, more than the account of the data update side of producing Volume.
6. a kind of transferred account service processing method for handling the same transferred account service for producing the multiple sides of being transferred in direction, and is applied to Service management side, this method comprises:
Several transferred account service processing requests are received, and according to the side's of the being transferred to mark carried in each request, determine that each request is corresponding The respectively side of being transferred to;
According to the storage position information of the identified respectively side of being transferred to, received each request is grouped;Wherein, any group In respectively the information of the corresponding side of being transferred to is requested to be stored in same database;
Any group of transferred account service processing request is sent to correspondence database side, so that database side handles this group of transferred account service Request carries out batch processing.
7. a kind of transferred account service processing method for handling the same transferred account service for producing the multiple sides of being transferred in direction, and is applied to Database side, this method comprises:
After the one group of transferred account service processing request for receiving the transmission of service management side, obtains and accorded in this group of transferred account service processing request Close the destination request of preset condition;This group of transferred account service processing request is that service management lateral root turns according to the processing of each transferred account service is corresponding The storage position information for the side of entering is grouped to obtain;
It is requested for either objective obtained:
According to the idempotent mark in the destination request, the corresponding idempotent record of the destination request is created;It records and creates in the idempotent In the case where building up function, according to the side's of the being transferred to mark and transfer amounts in the destination request, pair that database is stored is obtained Should the side of being transferred to account information and transfer accounts.
8. a kind of transferred account service processing system, for handling the same transferred account service for producing the multiple sides of being transferred in direction, the system packet It includes: service management side and database side;
Service management, which flanks, receives several transferred account service processing requests, and according to the side's of the being transferred to mark carried in each request, determines each Request the corresponding respectively side of being transferred to;
Service management lateral root is grouped received each request according to the storage position information of the identified respectively side of being transferred to; Wherein, the information of the corresponding side of being transferred to respectively is requested to be stored in same database in any group;
Any group of transferred account service processing request is sent to correspondence database side by service management side;
After database flanks the one group of transferred account service processing request for receiving the transmission of service management side, this group of transferred account service processing is obtained Meet the destination request of preset condition in request;
It is requested for either objective obtained database side: being identified according to the idempotent in the destination request, create the target and ask Corresponding idempotent is asked to record;In the case where idempotent record creates successful situation, according to the side's of being transferred to mark in the destination request With transfer amounts, obtains the account information for the correspondence side of being transferred to that database is stored and transfer accounts.
9. system according to claim 8, the database side is specifically used for obtaining the group in the following manner and transfers accounts industry Meet the destination request of preset condition in business processing request:
Request is handled for any transferred account service in the group:
According to the side's of the being transferred to mark carried in the request, the correspondence side of the being transferred to information that database is stored is obtained;
According to default verification rule, the side's of being transferred to information obtained is verified;
In the case that information checking passes through in the side of being transferred to, determine that the request is the destination request for meeting preset condition.
10. system according to claim 8, the database side is specifically used for obtaining the group in the following manner and transfers accounts industry Meet the destination request of preset condition in business processing request:
Obtain at least one preset request merging condition;
It determines in this group of transferred account service processing request with the presence or absence of the transferred account service processing request for meeting the request merging condition;
If so, being merged according to the request merging condition to the processing request of identified transferred account service, after obtaining merging Destination request.
11. system according to claim 10, the database side is specifically used for being asked according to the target in the following manner Idempotent mark in asking creates the corresponding idempotent record of the destination request:
Obtain at least two idempotent mark in the destination request, at least two idempotent mark are as follows: merge into the destination request At least two transferred account service processing request in carry idempotent mark;
It is identified according to each idempotent obtained, identifies corresponding transferred account service processing request for the idempotent and create corresponding idempotent Record.
12. system according to claim 8, the system also includes:
Database side is in this group of transferred account service processing request after treatment, by the processing result of this group of transferred account service processing request Data are sent to service management side;
After service management flanks the processing result data for receiving the transmission of database side, more than the account of the data update side of producing Volume.
13. a kind of transferred account service processing unit for handling the same transferred account service for producing the multiple sides of being transferred in direction, and is applied to Service management side, the device include:
Request receiving module, for receiving the processing request of several transferred account services, and according to the side's of the being transferred to mark carried in each request, Determine the corresponding respectively side of being transferred to of each request;
Request grouping module, for the storage position information according to the identified respectively side of being transferred to, to it is received respectively request into Row grouping;Wherein, the information of the corresponding side of being transferred to respectively is requested to be stored in same database in any group;
Request sending module, for any group of transferred account service processing request to be sent to correspondence database side, so that database side Batch processing is carried out to this group of transferred account service processing request.
14. a kind of transferred account service processing unit for handling the same transferred account service for producing the multiple sides of being transferred in direction, and is applied to Database side, the device include:
Destination request obtains module, after one group of transferred account service processing request for receiving the transmission of service management side, is somebody's turn to do Meet the destination request of preset condition in group transferred account service processing request;This group of transferred account service processing request is service management lateral root It is grouped to obtain according to the storage position information that each transferred account service handles the corresponding side of being transferred to;
Destination request processing module, for being requested for either objective obtained:
According to the idempotent mark in the destination request, the corresponding idempotent record of the destination request is created;It records and creates in the idempotent In the case where building up function, according to the side's of the being transferred to mark and transfer amounts in the destination request, pair that database is stored is obtained Should the side of being transferred to account information and transfer accounts.
15. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, wherein the processor realizes method as described in any one of claim 1 to 7 when executing described program.
CN201910203850.4A 2019-03-18 2019-03-18 Transfer service processing method and system Active CN110020846B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910203850.4A CN110020846B (en) 2019-03-18 2019-03-18 Transfer service processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910203850.4A CN110020846B (en) 2019-03-18 2019-03-18 Transfer service processing method and system

Publications (2)

Publication Number Publication Date
CN110020846A true CN110020846A (en) 2019-07-16
CN110020846B CN110020846B (en) 2023-01-20

Family

ID=67189680

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910203850.4A Active CN110020846B (en) 2019-03-18 2019-03-18 Transfer service processing method and system

Country Status (1)

Country Link
CN (1) CN110020846B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111626871A (en) * 2020-05-25 2020-09-04 泰康保险集团股份有限公司 Data processing method, device, equipment and storage medium
CN111641692A (en) * 2020-05-20 2020-09-08 北京字节跳动网络技术有限公司 Session data processing method and device and electronic equipment
CN111641693A (en) * 2020-05-20 2020-09-08 北京字节跳动网络技术有限公司 Session data processing method and device and electronic equipment
CN112258310A (en) * 2020-09-30 2021-01-22 上海艾融软件股份有限公司 Resource processing method, device and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102754462A (en) * 2010-05-12 2012-10-24 中兴通讯股份有限公司 Method and service platform for implementing funds transfer using mobile terminal
WO2017107653A1 (en) * 2015-12-22 2017-06-29 华为技术有限公司 Mobile payment method, related device and system
CN107229455A (en) * 2016-03-24 2017-10-03 阿里巴巴集团控股有限公司 A kind of method for processing business, apparatus and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102754462A (en) * 2010-05-12 2012-10-24 中兴通讯股份有限公司 Method and service platform for implementing funds transfer using mobile terminal
WO2017107653A1 (en) * 2015-12-22 2017-06-29 华为技术有限公司 Mobile payment method, related device and system
CN107229455A (en) * 2016-03-24 2017-10-03 阿里巴巴集团控股有限公司 A kind of method for processing business, apparatus and system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111641692A (en) * 2020-05-20 2020-09-08 北京字节跳动网络技术有限公司 Session data processing method and device and electronic equipment
CN111641693A (en) * 2020-05-20 2020-09-08 北京字节跳动网络技术有限公司 Session data processing method and device and electronic equipment
CN111641692B (en) * 2020-05-20 2022-09-30 北京字节跳动网络技术有限公司 Session data processing method and device and electronic equipment
CN111626871A (en) * 2020-05-25 2020-09-04 泰康保险集团股份有限公司 Data processing method, device, equipment and storage medium
CN111626871B (en) * 2020-05-25 2023-08-18 泰康保险集团股份有限公司 Data processing method, device, equipment and storage medium
CN112258310A (en) * 2020-09-30 2021-01-22 上海艾融软件股份有限公司 Resource processing method, device and system
CN112258310B (en) * 2020-09-30 2022-09-30 上海艾融软件股份有限公司 Resource processing method, device and system

Also Published As

Publication number Publication date
CN110020846B (en) 2023-01-20

Similar Documents

Publication Publication Date Title
US11042876B2 (en) Transaction method and system based on centralized settlement and blockchain deposit certificates
CN107018125B (en) A kind of block catenary system, date storage method and device
CN110046998B (en) Cross-chain right using system, method, device, electronic equipment and storage medium
CN111382168B (en) Node group creating method and node group-based transaction method in alliance chain network
CN110020846A (en) A kind of transferred account service processing method and system
US11037118B2 (en) Zero knowledge third party guarantee of service on decentralized computing platform
KR101959153B1 (en) System for efficient processing of transaction requests related to an account in a database
CN113409045B (en) Data processing method and device based on block chain and electronic equipment
US11961056B2 (en) Mixed deployment architecture for distributed services
CN111427971B (en) Business modeling method, device, system and medium for computer system
US11948191B1 (en) Device-to-device microlending within a distributed system
CN110020854A (en) A kind of data based on multiple block chain networks deposit card method and system
CN110060153A (en) A kind of data based on multiple block chain networks deposit card method and system
CN110020945A (en) A kind of method for reading data and system based on multiple block chain networks
CN110288341A (en) Capital chain information tracing method, system, server and readable storage medium storing program for executing
CN110728445B (en) Information management method, information management apparatus, electronic device, and medium
CN109615379B (en) Generating method and device of rejection processing system
CN109639747A (en) Data request processing, inquiry message treatment method, device and equipment
CN112686528B (en) Method, device, server and medium for distributing customer service resources
CN110347645A (en) A kind of electronic document deposits card method and device
CN109345252A (en) A kind of online trading control method, device and computer equipment
CN107528822A (en) A kind of business performs method and device
CN110992011A (en) Data splitting method and device, electronic equipment and storage medium
CN109345249A (en) A kind of payment fail processing method and device
CN107301550B (en) Acquisition method of credit information and establishment method and device of credit management and control rule

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40011335

Country of ref document: HK

TA01 Transfer of patent application right

Effective date of registration: 20200923

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

Effective date of registration: 20200923

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant