CN109191271A - Fund collection method, device, computer equipment and storage medium - Google Patents

Fund collection method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN109191271A
CN109191271A CN201810709994.2A CN201810709994A CN109191271A CN 109191271 A CN109191271 A CN 109191271A CN 201810709994 A CN201810709994 A CN 201810709994A CN 109191271 A CN109191271 A CN 109191271A
Authority
CN
China
Prior art keywords
bank
task
enterprises
bank account
end processor
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
CN201810709994.2A
Other languages
Chinese (zh)
Other versions
CN109191271B (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201810709994.2A priority Critical patent/CN109191271B/en
Priority to PCT/CN2018/108414 priority patent/WO2020006901A1/en
Publication of CN109191271A publication Critical patent/CN109191271A/en
Application granted granted Critical
Publication of CN109191271B publication Critical patent/CN109191271B/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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

This application discloses a kind of fund collection method, device, computer equipment and storage mediums, the enterprises end front end processor of the application can carry out bank-corporate express function with the bank of multiple and different types, so being provided with multiple UKey interfaces, on enterprises end front end processor to guarantee the normal use of each bank account;When initiation fund collects task, the bank account that collects without manually logging in different inquires its remaining sum, it is collected without will manually collect bank account and externally transfer accounts, but it is automatically performed by financial system, the different remaining sums for collecting bank account is inquired automatically, then judge which collects bank account needs and collects processing according to the remaining sum for respectively collecting bank account, and it can be automatically performed to collect and transfer accounts, the efficiency that the fund of greatly increasing collects, save human resources, and it only needs to configure primary, during fund collects, it is not in artificial such as output account mistake, the process for collecting fund is more accurate, quickly.

Description

Fund collection method, device, computer equipment and storage medium
Technical field
This application involves computer field is arrived, especially relate to a kind of fund collection method, device, computer equipment and Storage medium.
Background technique
Traditional fund, which collects, needs user's login Internetbank to go to check whether fund is higher than preset cost manually, if be higher than Preset cost, the fund that just will be above preset cost are transferred accounts to specified account.It needs to do fund if any multiple banks It collects, enterprises end needs the account that log in multiple banks to be operated.
When enterprise obtains by financial system to bank the remaining sum of each bank account, to observe whether it needs fund to collect When, it needs that one and the matched enterprises end front end processor of bank end front end processor is arranged in enterprise, and be inserted into and correspond on the enterprises end UKey, then could be interacted with corresponding bank end front end processor, in this way, if an enterprise establishes from different bank Bank-corporate express then needs to be arranged multiple enterprises end front end processors to obtain the remaining sum of different bank account, carries out from different banks When interaction, different enterprises end front end processors is selected.That is, traditional one bank of enterprises end front end processor can only dock one it is preposition Machine, operation need in addition to change a front end processor after completing, and can not grasp on a front end processor to more banks simultaneously Make, thus when inquiring the remaining sum of different bank account, it is more troublesome, so that the fund that can not quickly finish multiple accounts is returned Collection.
Summary of the invention
The main purpose of the application is to provide a kind of fund collection method, device, computer equipment and storage medium, it is intended to Solve the problems, such as that the prior art can not quickly finish the funds of multiple accounts and collect.
The application proposes a kind of fund collection method, carries out wealth using the enterprises end front end processor and bank end of enterprises end setting Be engaged in data interaction, be provided with multiple UKey interfaces on the enterprises end front end processor, the enterprises end front end processor correspond to it is multiple described in UKey interface is configured as to interact with bank's end front end processor of multiple and different bank's types completion financial data;The side Method, including
By the enterprises end front end processor obtain enterprises end it is specified need fund to collect the multiple of management to collect bank's account The remaining sum at family;
Judge whether each remaining sum for collecting bank account is greater than and described collects collecting for bank account setting for each Threshold value;
It is greater than if there is remaining sum and collects the first of threshold value and collect bank account, then according to the preset rule that collects from described First collects Bank account transfer to specified secondary bank account.
Further, described to need fund to collect the more of management by what enterprises end front end processor acquisition enterprises end was specified A remaining sum step for collecting bank account, comprising:
Each corresponding first task of inquiry into balance task for collecting bank account is sent to the enterprises end front end processor ID, wherein the first task ID is deposited into preset buffer queue by the enterprises end front end processor;
The first task ID for receiving the enterprises end front end processor feedback, obtains corresponding remaining sum according to the first task ID Query task;
The inquiry into balance task is sent to corresponding bank pre-machine using the enterprises end front end processor, with inquiry pair Answer the account balance for collecting bank account;
Receive the account balance that the enterprises end front end processor is obtained by the bank pre-machine.
Further, it is described be greater than if there is remaining sum collect the first of threshold value and collect bank account, then according to preset It collects rule and collects the step of Bank account transfer is to specified secondary bank account from described first, comprising:
It collects regular generation fund according to described and collects task, and send the fund to the enterprises end front end processor and collect Corresponding second task ID of task, wherein second task ID is deposited into preset caching team by the enterprises end front end processor In column;
The second task ID for receiving the enterprises end front end processor feedback, obtains corresponding fund according to second task ID Collect task;
The fund is collected into task using the enterprises end front end processor and is sent to corresponding bank pre-machine, to complete It states first and collects bank account to the secondary bank account transfer.
Further, described to need fund to collect the more of management by what enterprises end front end processor acquisition enterprises end was specified Before a remaining sum step for collecting bank account, comprising:
Judge the UKey equipment that corresponding various types of bank whether is inserted on the enterprises end front end processor;
If it is not, then alarming.
Further, the fund collection method further include:
Receive the heartbeat detection packet that the enterprises end front end processor is sent, connection shape of the detection with the enterprises end front end processor State;
If connection status is to disconnect, send a warning.
Further, the fund collection method further include:
Task is carried out with the enterprises end front end processor by way of long connection to interact.
Further, described to carry out the step that task interacts, packet with the enterprises end front end processor by way of long connection It includes:
Long connection is carried out by the synchronous blocking model of BIO and the enterprises end front end processor, to complete task interaction.
The application also provides a kind of fund apparatus for collecting, is carried out using the enterprises end front end processor and bank end of enterprises end setting Financial data is interactive, is provided with multiple UKey interfaces on the enterprises end front end processor, the enterprises end front end processor corresponds to multiple institutes UKey interface is stated to be configured as to interact with bank's end front end processor of multiple and different bank's types completion financial data;The dress It sets, including
Acquiring unit needs fund to collect the more of management for what is specified by enterprises end front end processor acquisition enterprises end A remaining sum for collecting bank account;
Judging unit described collects bank's account for each for judging whether each remaining sum for collecting bank account is greater than Family setting collects threshold value;
Unit is collected, the first of threshold value is collected for being greater than if there is remaining sum and collects bank account, then according to preset It collects rule and collects Bank account transfer to specified secondary bank account from described first.
The application also provides a kind of computer equipment, including memory and processor, and the memory is stored with computer The step of program, the processor realizes any of the above-described the method when executing the computer program.
The application also provides a kind of computer readable storage medium, is stored thereon with computer program, the computer journey The step of method described in any of the above embodiments is realized when sequence is executed by processor.
Fund collection method, device, computer equipment and the storage medium of the application, because enterprises end front end processor can be with The bank of multiple and different types carries out bank-corporate express function, so multiple UKey interfaces are provided on enterprises end front end processor, with Guarantee the normal use of each bank account;When initiation fund collects task, different bank's account is collected without manually logging in Its remaining sum is inquired at family, is collected without will manually collect bank account and externally transfer accounts, but is automatically performed by financial system, The different remaining sums for collecting bank account is inquired automatically, then judges which is collected according to the remaining sum for respectively collecting bank account Bank account needs collect processing, and can be automatically performed to collect and transfer accounts, and the efficiency that the fund of greatly increasing collects is saved Human resources, and only need to configure once, it is not in artificial such as output account mistake during fund collects Accidentally, the process for collecting fund is more accurate, quick.
Detailed description of the invention
Fig. 1 is the flow diagram of the fund collection method of one embodiment of the invention;
Fig. 2 is the idiographic flow schematic diagram of step S1 in the above-mentioned fund collection method of one embodiment of the invention;
Fig. 3 is the idiographic flow schematic diagram of step S3 in the above-mentioned fund collection method of one embodiment of the invention;
Fig. 4 is the structural schematic block diagram of the fund apparatus for collecting of one embodiment of the invention;
Fig. 5 is the structural schematic block diagram of the acquiring unit of one embodiment of the invention;
Fig. 6 is the structural schematic block diagram for collecting unit of one embodiment of the invention;
Fig. 7 is the structural schematic block diagram of the computer equipment of one embodiment of the invention.
The embodiments will be further described with reference to the accompanying drawings for realization, functional characteristics and the advantage of the application purpose.
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.
Referring to Fig.1, the embodiment of the present application provides a kind of fund collection method, the enterprises end front end processor being arranged using enterprises end Financial data is carried out with bank end to interact, and multiple UKey interfaces is provided on the enterprises end front end processor, the enterprises end is preposition Machine corresponds to multiple UKey interfaces and is configured as that financial number can be completed with bank's end front end processor of multiple and different bank's types According to interaction.
Above-mentioned enterprises end front end processor refers to the front end processor that enterprises end is arranged in, be enterprises end financial system and bank end into Intermediate equipment when row bank-corporate express.Above-mentioned enterprises end front end processor is configured as can be with the bank end of multiple and different bank's types Front end processor completes data interaction, and configuration process is, when enterprise's installation enterprises end front end processor, enterprises end front end processor has a management Operator interfaces input specified configuration information in preset interface, which includes enterprise ID, enterprises end front end processor volume Number, bank server IP, bank port, bank bank-corporate express number, bank's end front end processor version number, bank's major class etc. enterprise Industry financial system and bank complete the call parameter of bank-corporate express, Thread Count size configuration etc. can be also configured, to realize multithreading The processing of task;Then configuration result is sent to the corresponding application server of enterprises end front end processor.It is, configuration application is logical The account and its relevant information for the bank-corporate express crossed correspond to bank at it when the account that enterprise needs to log in each bank-corporate express is obtained Data when (transaction data, inquiry data etc.), it is only necessary to corresponding UKey is inserted on enterprises end front end processor, and (one kind passes through USB is directly connected with computer, the small memory device with cryptographic authorization functions, reliable high speed), realize an enterprise End front end processor is connect with bank's end front end processor of multiple and different class banks, and enterprise uniformly manages the bank UKey of user, nothing concentratedly The handover operation of bank need to be done.The account of each bank-corporate express account of enterprise is obtained by enterprises end front end processor with can be convenient Information, transaction journal information, balance information, and can carry out relevant the relevant operations such as paying, collect, alloting.Above-mentioned silver Row major class refers to different banks, such as industrial and commercial bank and Construction Bank bank's major class etc. that belong to two different, i.e., using not Bank with front end processor is considered being different bank's major class.
The method, comprising steps of
S1, obtained by the enterprises end front end processor enterprises end it is specified need fund to collect the multiple of management to collect bank The remaining sum of account.
In step sl, enterprises end can be provided with the financial system of the corresponding above-mentioned enterprises end front end processor of installation, business finance Personnel can initiate the order that fund collects on financial system and give the corresponding application server of enterprises end front end processor, application service Device is initiated the order that fund collects or application server again and is automatically initiated according to the prefixed time interval that financial system is arranged The order that fund collects.In the application, since the bank preposing with multiple configured banks may be implemented in enterprises end front end processor Machine keeps connection, and carries out data interaction, so when inquiry needs fund to collect the remaining sum for collecting bank account of management, nothing The different bank accounts that collects need to manually be logged in inquire, but can both be completed by financial system, certainly, precondition It is that the UKey of corresponding bank is plugged on enterprises end front end processor.In one embodiment, fund is needed to collect collecting for management Bank account includes two, be respectively A bank collect bank account A and B bank collect bank account B, wherein A silver Row and B bank are not similar bank (i.e. the bank pre-machine standard of the bank pre-machine of A bank and B bank are different), without first The corresponding UKey of bank account A will be collected to be inserted into enterprises end front end processor, then login collects bank account A and inquires remaining Then volume pulls out and collects the corresponding UKey of bank account A, insertion collects the corresponding UKey of bank account B, then logs in and collects silver Row account B inquires its remaining sum, but will collect the corresponding UKey of bank account A UKey corresponding with bank account B is collected simultaneously It is inserted into above-mentioned enterprises end front end processor, is done directly by above-mentioned financial system machine and is collected bank account A and collect bank account B Inquiry into balance, easily and fast, discharge human resources.
S2, judge whether each remaining sum for collecting bank account is greater than and described collect returning for bank account setting for each Collect threshold value.
In step s 2, the different threshold values that collects for collecting bank account may be the same or different, for example, first The threshold value that collects of account is 1,000,000 RMB, and the threshold value that collects of the second account is 5,000,000 RMB etc..In the present embodiment, it can incite somebody to action What is got respectively collects the corresponding remaining sum of bank account, and the corresponding threshold value that collects is compared, in this way, it may appear that some is returned Collection bank account needs collect, and some does not need then to be collected.At this point, the bank account that collects collected can will be needed to sort out Come, for example, be put into one it is preset collect in data list, in order to subsequent bank transfer etc..
S3, be greater than if there is remaining sum and collect the first of threshold value and collect bank account, then according to it is preset collect rule from Described first collects Bank account transfer to specified secondary bank account.
In step s3, above-mentioned preset rules include a variety of, for example, remaining sum, which is greater than, collects threshold value, are then directly returned first The corresponding amount of money for collecting threshold value is transferred accounts to above-mentioned secondary bank account in collection bank account;For another example, no matter remaining sum, which is greater than, collects How much is threshold value, can all transfer accounts from the part that will be greater than collecting threshold value to specified secondary bank account etc..Above-mentioned secondary bank account The generally fixed account in family, one be arranged such as enterprise collect total account, when needing what fund collected management to collect bank account When collecting bank account as above-mentioned first, i.e., money transfer in bank account can be collected to above-mentioned total account by first (secondary bank account), is collected with realization fund.
Referring to Fig. 2, in one embodiment, need to provide above by what enterprises end front end processor acquisition enterprises end was specified Gold collects multiple remaining sum step S1 for collecting bank account of management, comprising:
S11, each inquiry into balance task corresponding first for collecting bank account is sent to the enterprises end front end processor Task ID, wherein the first task ID is deposited into preset buffer queue by the enterprises end front end processor.
In step s 11, above-mentioned first task ID is a mark, which uniquely corresponds to the inquiry into balance and appoint Business, there is no task definitions to influence to look forward to prevent from for inquiry into balance task being placed directly in enterprises end front end processor by first task ID The running space of industry end front end processor, and reduce its speed of service.Because the enterprises end front end processor of the application can connect multiple silver Various tasks are directly stacked into the caching of front end processor by row end front end processor so a variety of different tasks can be more, can significantly Ground reduces the operational efficiency of enterprises end front end processor, or even collapse.In the application, it is only put into first task ID, then is greatly reduced The requirement of the spatial cache of enterprises end front end processor improves running environment quality.In the present embodiment, preset buffer queue is general Including transaction buffer queue and query caching queue, different buffer queues stores the task ID of corresponding attribute, corresponding setting Transaction thread pool and inquiry thread pool.Enterprises end front end processor first judges the first task ID when getting first task ID Attribute, wherein attribute includes transaction attribute, querying attributes, because first task ID belongs to inquiry class, then it is slow to be put into inquiry It deposits in queue.Each task ID in two buffer queues is ranked up processing by preset priority, for example, the rank of payment is high In the rank etc. of inquiry bank's flowing water.Specifically, each task can be provided with a type identification, and type identification can be divided into 1-8 A rank is grade highest if 1, represents emergency task, priority processing.Various tasks correspond to different type identifications, right The task ID answered then has same type identification.It is each although issuing for task is all inquiry into balance task in the application The sequence that the corresponding task ID of task is deposited into query caching queue can also have successive sequence, cause the original of sequencing Priority is preset to the inquiry into balance task of inquiry different bank account because including: enterprises end, for example, X bank account is enterprise The main bank account at industry end, then it is forward such as 1 for inquiring the priority level initializing of the inquiry into balance task ID of the X bank account Or 2 priority etc..
S12, the first task ID for receiving the enterprises end front end processor feedback, obtain corresponding according to the first task ID Inquiry into balance task.
In step s 12, the first task ID of above-mentioned enterprises end front end processor feedback refers to, the line of corresponding above-mentioned buffer queue It is available free in Cheng Chi, then task is obtained into buffer queue, and because at this time in buffer queue be task ID, enterprises end Task ID can be returned to above-mentioned application server by front end processor, and application server can generate or transfer corresponding according to task ID Business.In the application, when task ID is first task ID, obtained message is corresponding inquiry into balance task message.
S13, the inquiry into balance task is sent to corresponding bank pre-machine using the enterprises end front end processor, to look into Ask the account balance that bank account is collected described in corresponding to.
In step s 13, have because above-mentioned inquiry into balance task is for needing what fund collected management to collect bank's account Family, then can include that this collects the number of the corresponding bank end front end processor of bank account, corresponding bank in configuration information Server ip etc., these information are all to configure in installation enterprises end front end processor and issue the corresponding application of enterprises end front end processor Information in server.These information can be written in the message of task by above-mentioned application server automatically according to request, so as to Corresponding bank end front end processor is connected in enterprises end front end processor.Above-mentioned enterprises end front end processor receives inquiry into balance task message Afterwards, the information that can first parse needs, as bank's end front end processor number, corresponding bank server IP, collect bank account Deng, inquiry into balance task message is accurately then sent to corresponding bank pre-machine, bank pre-machine be forwarded again to Bank server, to obtain account balance to the end.
S14, the account balance that the enterprises end front end processor is obtained by the bank pre-machine is received.
In step S14, query result is got -- need fund to collect the account balance for collecting bank account of management.
Referring to Fig. 3, in one embodiment, it is above-mentioned be greater than if there is remaining sum collect the first of threshold value and collect bank's account Family then collects rule and collects the step of Bank account transfer is to specified secondary bank account from described first according to preset S3, comprising:
S31, regular generation fund is collected according to collect task, and send the fund to the enterprises end front end processor Collect corresponding second task ID of task, wherein second task ID is deposited into preset slow by the enterprises end front end processor It deposits in queue.
In step S31, the second above-mentioned task ID is a mark, which, which uniquely corresponds to the fund and collect, appoints Business, there is no task definitions for the second task ID, to prevent the message that fund is collected to task to be placed directly in enterprises end front end processor, The running space of enterprises end front end processor is influenced, and reduces the speed of service.Because the enterprises end front end processor of the application can connect more The message of various tasks is directly stacked into the slow of front end processor so a variety of different tasks can be more by a bank end front end processor In depositing, the operational efficiency of enterprises end front end processor, or even collapse can be greatly reduced.In the application, it is only put into the second task ID, then The requirement of the spatial cache of enterprises end front end processor is greatly reduced, running environment quality is improved.In the application, the second task ID It is a kind of corresponding ID of transaction generic task, so it can be stored in above-mentioned transaction buffer queue.
S32, the second task ID for receiving the enterprises end front end processor feedback, obtain corresponding according to second task ID Fund collects task.
In step s 32, above-mentioned enterprises end front end processor feeds back the second task ID and refers to, the thread of corresponding above-mentioned buffer queue It is available free in pond, then task is obtained into buffer queue, and because at this time in buffer queue being task ID, before enterprises end It sets chance and task ID is returned into above-mentioned application server, application server can generate or transfer corresponding task according to task ID Message.In the application, when task ID is the second task ID, obtained message is that corresponding fund collects task.
S33, it the fund is collected into task using the enterprises end front end processor is sent to corresponding bank pre-machine, with complete Bank account is collected to the secondary bank account transfer at described first.
In step S33, because it is to have for needing what fund collected management to collect silver that above-mentioned fund, which collects task message, Row account and secondary bank account, then can include that this collects the corresponding bank end front end processor of bank account in configuration information Number, the number of corresponding bank server IP and the corresponding bank end front end processor of secondary bank account, corresponding bank Server ip etc., these information are all to configure in installation enterprises end front end processor and issue the corresponding application of enterprises end front end processor Information in server.These information can be written in the message of task by above-mentioned application server automatically according to request, so as to Corresponding bank end front end processor is connected in enterprises end front end processor.Above-mentioned enterprises end front end processor receives meeting after fund collects task The information for first parsing needs, such as the number of bank pre-machine, collect bank account, the second silver medal at corresponding bank server IP Then fund is collected task and is accurately sent to corresponding bank pre-machine by row account etc., bank pre-machine relays to silver Row server, to complete last transfer accounts.Each first collects bank account to after secondary bank account transfer, can return to one A result message gives enterprises end front end processor, and enterprises end front end processor can then be fed back to corresponding application server, application service Device can choose whether the result feeding back to financial system according to the configuration of the financial system of enterprise.
One in real time in, it is described by the enterprises end front end processor obtain enterprises end it is specified need fund to collect management Multiple remaining sum step S1 for collecting bank account before, comprising:
S101, judge the UKey equipment that corresponding various types of bank whether is inserted on the enterprises end front end processor;
S102, if it is not, then alarming.
In step S101 and S102, the mark of its bank's type of the correspondence of UKey equipment of each UKey interface insertion is acquired Know, then the mark is compared with the mark of all kinds of banks of representative configured when configuration enterprises end front end processor, if adopted Each mark collected covers the mark of all kinds of banks of representative configured when configuration enterprises end front end processor comprehensively when, then enterprises end is determined It is inserted into the UKey equipment of corresponding various types of bank on front end processor, can execute subsequent such as step S1, no person will not be coated The corresponding bank's type of the mark of lid extracts, and is sent to the related personnel of enterprise to alarm, at this time the relevant people of enterprise Member can perform corresponding processing, and the UKey equipment for forgetting insertion or insert division are loosened and lead to UKey equipment poor contact It reinserts, to guarantee the interaction between enterprise and each bank.In another embodiment, it can also judge the UKey got Whether the mark of equipment is identical as the quantity of the mark (not repeating) of all kinds of banks of representative configured when configuration enterprises end front end processor, Because a bank can only send out a UKey can be determined that enterprises end front end processor when quantity is identical to enterprise substantially The UKey equipment of the upper corresponding various types of bank of insertion, although such judgment method existing defects, judge that speed can be faster.
In one embodiment, above-mentioned fund collection method further include:
Receive the heartbeat detection packet that the enterprises end front end processor is sent, connection shape of the detection with the enterprises end front end processor State;If connection status is to disconnect, send a warning.
Theoretically, enterprises end front end processor and application server should be online for a long time, but because being electronic product, inevitable meeting The processing such as failure or upgrading, enterprises end front end processor may break with application server and connect at this time, then passing through heartbeat The mode of detection detects the connection status of enterprises end front end processor and application server, when the two connection failure, then needs to issue police It notifies breath.It sends a warning including two kinds, the first, the information such as mail are sent to the related personnel of enterprise, and/or are sent to The third-party related personnel of enterprises end front end processor is provided;Second, before sending specified information to bank end connected to it Machine is set, and is sent to the related management system of bank, to inform the staff at bank end, bank end by bank's end front end processor Staff can manually inform that the failure etc. of connection breaking has occurred in the corresponding personnel of enterprises end.Above-mentioned reception sends heartbeat detection Packet can ensure that the financial staff of enterprises end understands enterprises end front end processor and whether application server disconnects, thus in time The things that processing needs bank-corporate express to complete originally.
In one embodiment, above-mentioned fund collection method further include:
Task is carried out with the enterprises end front end processor by way of long connection to interact.
Because the task or received task that send to enterprises end front end processor may be continuously, to use long connection The mode service of monitoring, does not turn off after making each operated, and next time directly transmits data packet when handling, without setting up TCP (Transmission Control Protocol transmission control protocol) connection, to keep the efficiency of processing task.This reality It applies in example, application server and enterprises end front end processor are grown using BIO (block input output) synchronous blocking model Connection.Different receipt query tasks can not carry out simultaneously, so needing to carry out according to instruction sequences, an instruction execution is complete Next instruction could be executed, be unable to asynchronous execution, thus in the application using the synchronous blocking model of BIO make application server with Enterprises end front end processor carries out long connection.
In one embodiment, the message that above-mentioned enterprises end front end processor and application server are mutually sent uses Protocol Buffers is serialized.
Protocol Buffers is a kind of structural data storage format of portable and effective, can be used for structural data Serialization, serializes in other words.It is well suited for doing data storage or RPC data interchange format.It can be used for communications protocol, data are deposited The serializing structured data formats that the language in the fields such as storage is unrelated, platform is unrelated, expansible, Protobuf's is main in brief Advantage is exactly: it is simple, fastly.The application is serialized using the Protocol Buffers of GOOGLE (Google), can be improved Efficiency message encapsulation and sent.
Fund collection method in the embodiment of the present invention, because enterprises end front end processor can be with the bank of multiple and different types Bank-corporate express function is carried out, so being provided with multiple UKey interfaces, on enterprises end front end processor to guarantee each bank account Normal use;When initiation fund collects task, the bank account that collects without manually logging in different inquires its remaining sum, without It bank account will manually be collected externally will transfer accounts and collect, but be automatically performed by financial system, i.e., inquire different return automatically Collect the remaining sum of bank account, then judges which collects bank account needs and collects place according to the remaining sum for respectively collecting bank account Reason, and can be automatically performed to collect and transfer accounts, the efficiency that the fund of greatly increasing collects is saved human resources, and is only needed It configures once, is not in artificial such as output account mistake, the mistake for collecting fund during fund collects Cheng Gengjia is accurate, quick.
Referring to Fig. 4, the application also provides a kind of fund apparatus for collecting, utilizes the enterprises end front end processor and silver of enterprises end setting Row end carries out financial data interaction, is provided with multiple UKey interfaces, the enterprises end front end processor pair on the enterprises end front end processor Multiple UKey interfaces are answered to be configured as that financial data friendship can be completed with bank's end front end processor of multiple and different bank's types Mutually.
Above-mentioned enterprises end front end processor refers to the front end processor that enterprises end is arranged in, be enterprises end financial system and bank end into Intermediate equipment when row bank-corporate express.Above-mentioned enterprises end front end processor is configured as can be with the bank end of multiple and different bank's types Front end processor completes data interaction, and configuration process is, when enterprise's installation enterprises end front end processor, enterprises end front end processor has a management Operator interfaces input specified configuration information in preset interface, which includes enterprise ID, enterprises end front end processor volume Number, bank server IP, bank port, bank bank-corporate express number, bank's end front end processor version number, bank's major class etc. enterprise Industry financial system and bank complete the call parameter of bank-corporate express, Thread Count size configuration etc. can be also configured, to realize multithreading The processing of task;Then configuration result is sent to the corresponding application server of enterprises end front end processor.It is, configuration application is logical The account and its relevant information for the bank-corporate express crossed correspond to bank at it when the account that enterprise needs to log in each bank-corporate express is obtained Data when (transaction data, inquiry data etc.), it is only necessary to corresponding UKey is inserted on enterprises end front end processor, and (one kind passes through USB is directly connected with computer, the small memory device with cryptographic authorization functions, reliable high speed), realize an enterprise End front end processor is connect with bank's end front end processor of multiple and different class banks, and enterprise uniformly manages the bank UKey of user, nothing concentratedly The handover operation of bank need to be done.The account of each bank-corporate express account of enterprise is obtained by enterprises end front end processor with can be convenient Information, transaction journal information, balance information, and can carry out relevant the relevant operations such as paying, collect, alloting.Above-mentioned silver Row major class refers to different banks, such as industrial and commercial bank and Construction Bank bank's major class etc. that belong to two different, i.e., using not Bank with front end processor is considered being different bank's major class.
Described device, comprising:
Acquiring unit 10 needs fund to collect management for what is specified by enterprises end front end processor acquisition enterprises end Multiple remaining sums for collecting bank account.
In acquiring unit 10, enterprises end can be provided with the financial system of the corresponding above-mentioned enterprises end front end processor of installation, enterprise Financial staff can initiate the order that fund collects on financial system and give the corresponding application server of enterprises end front end processor, application It is automatic that server initiates the prefixed time interval that the order that fund collects or application server are arranged according to financial system again The order that initiation fund collects.In the application, since the bank with multiple configured banks may be implemented in enterprises end front end processor Front end processor keeps connection, and carries out data interaction, so inquiring the remaining sum for collecting bank account for needing fund to collect management When, the bank account that collects without manually logging in different is inquired, but can both be completed by financial system, certainly, premise Condition is that the UKey of corresponding bank is plugged on enterprises end front end processor.In one embodiment, fund is needed to collect management Collecting bank account includes two, be respectively A bank collect bank account A and B bank collect bank account B, wherein A bank and B bank are not similar bank (i.e. the bank pre-machine of A bank are different with the bank pre-machine standard of B bank), are not necessarily to The corresponding UKey of bank account A will first be collected to be inserted into enterprises end front end processor, then login collects bank account A and inquires remaining Then volume pulls out and collects the corresponding UKey of bank account A, insertion collects the corresponding UKey of bank account B, then logs in and collects silver Row account B inquires its remaining sum, but will collect the corresponding UKey of bank account A UKey corresponding with bank account B is collected simultaneously It is inserted into above-mentioned enterprises end front end processor, is done directly by above-mentioned financial system machine and is collected bank account A and collect bank account B Inquiry into balance, easily and fast, discharge human resources.
Judging unit 20 described collects bank for each for judging whether each remaining sum for collecting bank account is greater than Account Settings collect threshold value.
In judging unit 20, the different threshold values that collects for collecting bank account be may be the same or different, for example, The threshold value that collects of first account is 1,000,000 RMB, and the threshold value that collects of the second account is 5,000,000 RMB etc..In the present embodiment, What can be will acquire respectively collects the corresponding remaining sum of bank account, and the corresponding threshold value that collects is compared, in this way, it may appear that have Collect bank account needs collect, some does not need then to be collected.At this point, can by need collect to collect bank account whole Reason comes out, for example, be put into one it is preset collect in data list, in order to subsequent bank transfer etc..
Unit 30 is collected, the first of threshold value is collected for being greater than if there is remaining sum and collects bank account, then according to default The rule that collects collect Bank account transfer to specified secondary bank account from described first.
In collecting unit 30, above-mentioned preset rules include a variety of, for example, remaining sum, which is greater than, collects threshold value, then directly by the One, which collects the corresponding amount of money for collecting threshold value in bank account, transfers accounts to above-mentioned secondary bank account;For another example, no matter remaining sum is greater than How much collect threshold value, can all transfer accounts from the part that will be greater than collecting threshold value to specified secondary bank account etc..Above-mentioned second silver medal The generally fixed account of row account, one be arranged such as enterprise collect total account, when needing what fund collected management to collect bank Account becomes above-mentioned first when collecting bank account, i.e., can collect money transfer in bank account to above-mentioned total for first Account (secondary bank account), is collected with realization fund.
Referring to Fig. 5, in one embodiment, above-mentioned acquiring unit 10, comprising:
First sending module 11, for sending each inquiry into balance for collecting bank account to the enterprises end front end processor The corresponding first task ID of task, wherein the first task ID is deposited into preset caching team by the enterprises end front end processor In column.
In the first sending module 11, above-mentioned first task ID is a mark, which uniquely corresponds to described remaining Volume query task, there is no task definitions by first task ID, to prevent from inquiry into balance task being placed directly on enterprises end front end processor In, the running space of enterprises end front end processor is influenced, and reduce its speed of service.Because the enterprises end front end processor of the application can connect Multiple bank ends front end processor is connect, so a variety of different tasks can be more, various tasks are directly stacked into the caching of front end processor In, the operational efficiency of enterprises end front end processor, or even collapse can be greatly reduced.In the application, it is only put into first task ID, then greatly The earth reduces the requirement of the spatial cache of enterprises end front end processor, improves running environment quality.In the present embodiment, preset caching Queue generally comprises transaction buffer queue and query caching queue, and different buffer queues stores the task ID of corresponding attribute, right The setting transaction thread pool and inquiry thread pool answered.Enterprises end front end processor first judges described when getting first task ID The attribute of one task ID, wherein attribute includes that transaction attribute, querying attributes are then put into because first task ID belongs to inquiry class Into query caching queue.Each task ID in two buffer queues is ranked up processing by preset priority, for example, payment Be superior to inquiry bank's flowing water rank etc..Specifically, each task can be provided with a type identification, and type identification can It is divided into 1-8 rank, is grade highest if 1, represents emergency task, priority processing.Various tasks correspond to different type marks Know, corresponding task ID then has same type identification.In the application, although issuing for task is all that inquiry into balance is appointed Business, but the sequence that the corresponding task ID of each task is deposited into query caching queue can also have successive sequence, cause elder generation It afterwards include: that enterprises end has preset priority to the inquiry into balance task of inquiry different bank account the reason of sequence, for example, X is silver-colored Row account is the main bank account of enterprises end, then will inquire the priority level initializing of the inquiry into balance task ID of the X bank account For forward such as 1 or 2 priority.
First receiving module 12, for receiving the first task ID of the enterprises end front end processor feedback, according to described first Task ID obtains corresponding inquiry into balance task.
In the first receiving module 12, the first task ID of above-mentioned enterprises end front end processor feedback refers to, corresponding above-mentioned caching It is available free in the thread pool of queue, then task is obtained into buffer queue, and because at this time in buffer queue be task ID, institute Task ID can be returned to above-mentioned application server with enterprises end front end processor, application server can be generated or be transferred according to task ID Corresponding task.In the application, when task ID is first task ID, obtained message is corresponding inquiry into balance task report Text.
Enquiry module 13, for the inquiry into balance task to be sent to corresponding bank using the enterprises end front end processor Front end processor, to inquire the account balance for collecting bank account described in correspondence.
In asking module 13, because above-mentioned inquiry into balance task is to have for needing what fund collected management to collect bank's account Family, then can include that this collects the number of the corresponding bank end front end processor of bank account, corresponding bank in configuration information Server ip etc., these information are all to configure in installation enterprises end front end processor and issue the corresponding application of enterprises end front end processor Information in server.These information can be written in the message of task by above-mentioned application server automatically according to request, so as to Corresponding bank end front end processor is connected in enterprises end front end processor.Above-mentioned enterprises end front end processor receives inquiry into balance task message Afterwards, the information that can first parse needs, as bank's end front end processor number, corresponding bank server IP, collect bank account Deng, inquiry into balance task message is accurately then sent to corresponding bank pre-machine, bank pre-machine be forwarded again to Bank server, to obtain account balance to the end.
Module 14 is obtained, more than the account obtained by the bank pre-machine for receiving the enterprises end front end processor Volume.
In obtaining module 14, query result is got -- need fund to collect more than the account for collecting bank account of management Volume.
It is in one embodiment, above-mentioned to collect unit 30 referring to Fig. 6, comprising:
Second sending module 31 collects task for collecting regular generation fund according to, and to before the enterprises end It sets machine and sends the fund and collect corresponding second task ID of task, wherein the enterprises end front end processor is by second task ID is deposited into preset buffer queue.
In the second sending module 31, the second above-mentioned task ID is a mark, which uniquely corresponds to the money Gold collects task, and there is no task definitions for the second task ID, to prevent the message that fund is collected to task to be placed directly on enterprises end In front end processor, the running space of enterprises end front end processor is influenced, and reduces the speed of service.Because the enterprises end front end processor of the application can To connect multiple bank ends front end processor, so a variety of different tasks can be more, before being directly stacked into the message of various tasks It sets in the caching of machine, the operational efficiency of enterprises end front end processor, or even collapse can be greatly reduced.In the application, it is only put into second Task ID then greatly reduces the requirement of the spatial cache of enterprises end front end processor, improves running environment quality.In the application, Second task ID is a kind of corresponding ID of transaction generic task, so it can be stored in above-mentioned transaction buffer queue.
Second receiving module 32, for receiving the second task ID of the enterprises end front end processor feedback, according to described second Task ID obtains corresponding fund and collects task.
In the second receiving module 32, above-mentioned enterprises end front end processor feeds back the second task ID and refers to, corresponding above-mentioned caching team It is available free in the thread pool of column, then task is obtained into buffer queue, and because at this time in buffer queue being task ID, Task ID can be returned to above-mentioned application server by enterprises end front end processor, and application server can be generated or be transferred according to task ID pair The task message answered.In the application, when task ID be the second task ID when, obtained message be corresponding fund collect appoint Business.
Module 33 is collected, is sent to corresponding bank for the fund to be collected task using the enterprises end front end processor Front end processor collects bank account to the secondary bank account transfer to complete described first.
In collecting module 33, because it is to have to be directed to that fund is needed to collect collecting for management that above-mentioned fund, which collects task message, Bank account and secondary bank account, then can include in configuration information this to collect the corresponding bank end of bank account preposition The number of machine, the number of corresponding bank server IP and the corresponding bank end front end processor of secondary bank account, corresponding silver Row server ip etc., these information are all to configure and issue that enterprises end front end processor is corresponding to answer in installation enterprises end front end processor With the information in server.These information can be written in the message of task by above-mentioned application server automatically according to request, with Corresponding bank end front end processor is connected convenient for enterprises end front end processor.Above-mentioned enterprises end front end processor receives after fund collects task, The information that needs can first be parsed, as bank pre-machine number, corresponding bank server IP, collect bank account, second Then fund is collected task and is accurately sent to corresponding bank pre-machine by bank account etc., bank pre-machine relays to Bank server, to complete last transfer accounts.Each first collects bank account to after secondary bank account transfer, can return One result message gives enterprises end front end processor, and enterprises end front end processor can then be fed back to corresponding application server, using clothes Business device can choose whether the result feeding back to financial system according to the configuration of the financial system of enterprise.
One in real time in, the fund apparatus for collecting further include:
Judgement insertion unit, for judging that the UKey for whether being inserted into corresponding various types of bank on the enterprises end front end processor is set It is standby;
First alarm unit, for if it is determined that the UKey for being not inserted into corresponding various types of bank on the enterprises end front end processor is set It is standby, then it alarms.
In judgement insertion unit and the first alarm unit, its silver of the correspondence of the UKey equipment of each UKey interface insertion is acquired Then the mark of row type compares the mark and the mark of all kinds of banks of representative configured when configuration enterprises end front end processor It is right, if collected each mark covers the mark of all kinds of banks of representative configured when configuration enterprises end front end processor comprehensively, The UKey equipment for determining the corresponding various types of bank of insertion on enterprises end front end processor, can execute it is subsequent such as step S1, it is no Person extracts the uncovered corresponding bank's type of mark, and the related personnel for being sent to enterprise is looked forward at this time with alarming The related personnel of industry can perform corresponding processing, and the UKey equipment for forgetting insertion or insert division are loosened and lead to UKey equipment Poor contact reinserts, to guarantee the interaction between enterprise and each bank.In another embodiment, can also judge to obtain The number of the mark for the UKey equipment got and the mark (not repeating) of all kinds of banks of representative configured when configuration enterprises end front end processor Whether amount is identical, because a bank can only send out a UKey can be determined that enterprise when quantity is identical to enterprise substantially The UKey equipment of corresponding various types of bank is inserted on the front end processor of industry end, although such judgment method existing defects, judgement speed Degree can faster.
In one embodiment, above-mentioned fund apparatus for collecting further include:
Heartbeat detection unit, the heartbeat detection packet sent for receiving the enterprises end front end processor, detection and the enterprise Hold the connection status of front end processor;
Second alarm unit sends a warning if being to disconnect for connection status.
Theoretically, enterprises end front end processor and application server should be online for a long time, but because being electronic product, inevitable meeting The processing such as failure or upgrading, enterprises end front end processor may break with application server and connect at this time, then passing through heartbeat The mode of detection detects the connection status of enterprises end front end processor and application server, when the two connection failure, then needs to issue police It notifies breath.It sends a warning including two kinds, the first, the information such as mail are sent to the related personnel of enterprise, and/or are sent to The third-party related personnel of enterprises end front end processor is provided;Second, before sending specified information to bank end connected to it Machine is set, and is sent to the related management system of bank, to inform the staff at bank end, bank end by bank's end front end processor Staff can manually inform that the failure etc. of connection breaking has occurred in the corresponding personnel of enterprises end.Above-mentioned reception sends heartbeat detection Packet can ensure that the financial people of enterprises end understands enterprises end front end processor and whether application server disconnects, to locate in time The things that reason needs bank-corporate express to complete originally.
In one embodiment, above-mentioned fund apparatus for collecting further include:
Long connection unit is interacted for carrying out task with the enterprises end front end processor by way of long connection.
Because the task or received task that send to enterprises end front end processor may be continuously, to use long connection The mode service of monitoring, does not turn off after making each operated, and next time directly transmits data packet when handling, without setting up TCP (Transmission Control Protocol transmission control protocol) connection, to keep the efficiency of processing task.This reality It applies in example, application server and enterprises end front end processor are grown using BIO (block input output) synchronous blocking model Connection.Different receipt query tasks can not carry out simultaneously, so needing to carry out according to instruction sequences, an instruction execution is complete Next instruction could be executed, be unable to asynchronous execution, thus in the application using the synchronous blocking model of BIO make application server with Enterprises end front end processor carries out long connection.
In one embodiment, above-mentioned fund apparatus for collecting further includes serialization unit, for by enterprises end front end processor with The message that application server is mutually sent is serialized by Protocol Buffers.
Protocol Buffers is a kind of structural data storage format of portable and effective, can be used for structural data Serialization, serializes in other words.It is well suited for doing data storage or RPC data interchange format.It can be used for communications protocol, data are deposited The serializing structured data formats that the language in the fields such as storage is unrelated, platform is unrelated, expansible, Protobuf's is main in brief Advantage is exactly: it is simple, fastly.The application is serialized using the Protocol Buffers of GOOGLE (Google), can be improved Efficiency message encapsulation and sent.
Fund apparatus for collecting in the embodiment of the present invention, because enterprises end front end processor can be with the bank of multiple and different types Bank-corporate express function is carried out, so being provided with multiple UKey interfaces, on enterprises end front end processor to guarantee each bank account Normal use;When initiation fund collects task, the bank account that collects without manually logging in different inquires its remaining sum, without It bank account will manually be collected externally will transfer accounts and collect, but be automatically performed by financial system, i.e., inquire different return automatically Collect the remaining sum of bank account, then judges which collects bank account needs and collects place according to the remaining sum for respectively collecting bank account Reason, and can be automatically performed to collect and transfer accounts, the efficiency that the fund of greatly increasing collects is saved human resources, and is only needed It configures once, is not in artificial such as output account mistake, the mistake for collecting fund during fund collects Cheng Gengjia is accurate, quick.
Referring to Fig. 7, a kind of computer equipment is also provided in the embodiment of the present application, which can be server, Its internal structure can be as shown in Figure 7.The computer equipment includes processor, the memory, network connected by system bus Interface and database.Wherein, the processor of the Computer Design is for providing calculating and control ability.The computer equipment is deposited Reservoir includes non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program And database.The internal memory provides environment for the operation of operating system and computer program in non-volatile memory medium.It should The database of computer equipment is for storing fund collection method program etc..The network interface of the computer equipment is used for and outside Terminal by network connection communication.To realize a kind of fund collection method when the computer program is executed by processor.
Above-mentioned processor executes above-mentioned fund collection method, using enterprises end setting enterprises end front end processor and bank end into Row financial data is interactive, is provided with multiple UKey interfaces on the enterprises end front end processor, the enterprises end front end processor corresponds to multiple The UKey interface is configured as to interact with bank's end front end processor of multiple and different bank's types completion financial data;It is described Method, comprising: by the enterprises end front end processor obtain enterprises end it is specified need fund to collect the multiple of management to collect bank The remaining sum of account;Judge whether each remaining sum for collecting bank account is greater than and described collects returning for bank account setting for each Collect threshold value;It is greater than if there is remaining sum and collects the first of threshold value and collect bank account, then according to the preset rule that collects from described First collects Bank account transfer to specified secondary bank account.
In one embodiment, fund is needed to collect pipe above by what enterprises end front end processor acquisition enterprises end was specified Multiple remaining sum steps for collecting bank account of reason, comprising: sent to the enterprises end front end processor and each described collect bank account The corresponding first task ID of inquiry into balance task, wherein the first task ID is deposited into pre- by the enterprises end front end processor If buffer queue in;The first task ID for receiving the enterprises end front end processor feedback, according to first task ID acquisition pair The inquiry into balance task answered;The inquiry into balance task is sent to corresponding bank preposing using the enterprises end front end processor Machine, to inquire the account balance for collecting bank account described in correspondence;The enterprises end front end processor is received by the bank pre-machine The account balance obtained.
In one embodiment, it is above-mentioned be greater than if there is remaining sum collect the first of threshold value and collect bank account, then according to It is preset to collect rule and collect the step of Bank account transfer is to specified secondary bank account from described first, comprising: according to It is described to collect regular generation fund and collect task, and send the fund to the enterprises end front end processor and collect task corresponding the Two task IDs, wherein second task ID is deposited into preset buffer queue by the enterprises end front end processor;Described in reception Second task ID of enterprises end front end processor feedback obtains corresponding fund according to second task ID and collects task;Using institute It states enterprises end front end processor the fund is collected into task and be sent to corresponding bank pre-machine, collect bank to complete described first Account is to the secondary bank account transfer.
In one embodiment, fund is needed to collect pipe above by what enterprises end front end processor acquisition enterprises end was specified Before multiple remaining sum steps for collecting bank account of reason, comprising: judge whether to be inserted on the enterprises end front end processor corresponding each The UKey equipment of type bank;If it is not, then alarming.
In one embodiment, above-mentioned fund collection method further include: receive the heartbeat that the enterprises end front end processor is sent Detection packet, the connection status of detection and the enterprises end front end processor;If connection status is to disconnect, send a warning.
In one embodiment, above-mentioned fund collection method further include: by way of long connection and before the enterprises end It sets machine and carries out task interaction.
In one embodiment, the step that task interacts is carried out with the enterprises end front end processor above by the mode of long connection Suddenly, comprising: long connection is carried out by the synchronous blocking model of BIO and enterprises end front end processor, to complete task interaction.
It will be understood by those skilled in the art that structure shown in Fig. 7, 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.
The computer equipment of the embodiment of the present application, because enterprises end front end processor can be carried out with the bank of multiple and different types Bank-corporate express function, so being provided with multiple UKey interfaces, on enterprises end front end processor to guarantee the normal of each bank account It uses;When initiation fund collects task, the bank account that collects without manually logging in different inquires its remaining sum, without manual Ground, which will collect bank account, externally transfers accounts and collects, but is automatically performed by financial system, i.e., inquires different collecting silver automatically Then the remaining sum of row account judges which collects bank account needs and collects processing according to the remaining sum for respectively collecting bank account, And it can be automatically performed to collect and transfer accounts, the efficiency that the fund of greatly increasing collects saves human resources, and only needs to match It sets once, is not in artificial such as output account mistake, the process for collecting fund is more during fund collects Add accurate, quick.
One embodiment of the application also provides a kind of computer readable storage medium, is stored thereon with computer program, calculates Machine program realizes a kind of fund collection method when being executed by processor, enterprises end front end processor and bank end using enterprises end setting Financial data interaction is carried out, multiple UKey interfaces are provided on the enterprises end front end processor, the enterprises end front end processor correspondence is more A UKey interface is configured as to interact with bank's end front end processor of multiple and different bank's types completion financial data;Institute State method, comprising: by the enterprises end front end processor obtain enterprises end it is specified need fund to collect the multiple of management to collect silver The remaining sum of row account;Judge whether each remaining sum for collecting bank account is greater than and described collects bank account setting for each Collect threshold value;It is greater than if there is remaining sum and collects the first of threshold value and collect bank account, then according to the preset rule that collects from institute It states first and collects Bank account transfer to specified secondary bank account.
Above-mentioned fund collection method, because enterprises end front end processor can carry out bank-corporate express with the bank of multiple and different types Function, so being provided with multiple UKey interfaces, on enterprises end front end processor to guarantee the normal use of each bank account;It initiates When fund collects task, the bank account that collects without manually logging in different inquires its remaining sum, without will manually collect Bank account is externally transferred accounts and is collected, but is automatically performed by financial system, i.e., inquires the different bank accounts that collect automatically Then remaining sum judges which collects bank account needs and collects processing according to the remaining sum for respectively collecting bank account, and can be with It is automatically performed to collect and transfer accounts, the efficiency that the fund of greatly increasing collects saves human resources, and only needs to configure once i.e. Can, during fund collects, be not in it is artificial such as export account mistake, the process for collecting fund is more accurate, Quickly.
In one embodiment, above-mentioned processor needs fund by what enterprises end front end processor acquisition enterprises end was specified Collect multiple remaining sum steps for collecting bank account of management, comprising: send to the enterprises end front end processor and each described collect silver The corresponding first task ID of the inquiry into balance task of row account, wherein the enterprises end front end processor deposits the first task ID Enter into preset buffer queue;The first task ID for receiving the enterprises end front end processor feedback, according to the first task ID Obtain corresponding inquiry into balance task;The inquiry into balance task is sent to corresponding bank using the enterprises end front end processor Front end processor, to inquire the account balance for collecting bank account described in correspondence;Before the enterprises end front end processor is received by the bank Set the account balance of machine acquisition.
In one embodiment, above-mentioned processor is greater than if there is remaining sum and collects the first of threshold value and collect bank account, Then collects rule according to preset and collect the step of Bank account transfer is to specified secondary bank account, packet from described first It includes: collecting regular generation fund according to described and collect task, and send the fund to the enterprises end front end processor and collect task Corresponding second task ID, wherein second task ID is deposited into preset buffer queue by the enterprises end front end processor; The second task ID for receiving the enterprises end front end processor feedback obtains corresponding fund and collects and appoints according to second task ID Business;The fund is collected into task using the enterprises end front end processor and is sent to corresponding bank pre-machine, to complete described One collects bank account to the secondary bank account transfer.
In one embodiment, above-mentioned processor needs fund by what enterprises end front end processor acquisition enterprises end was specified Before the multiple remaining sum steps for collecting bank account for collecting management, comprising: judge whether be inserted on the enterprises end front end processor The UKey equipment of corresponding various types of bank;If it is not, then alarming.
In one embodiment, the fund collection method that above-mentioned processor executes further include: it is preposition to receive the enterprises end The heartbeat detection packet that machine is sent, the connection status of detection and the enterprises end front end processor;If connection status is to disconnect, police is issued It notifies breath.
In one embodiment, the fund collection method of above-mentioned execution further include: by way of long connection with the enterprise Industry end front end processor carries out task interaction.
In one embodiment, above-mentioned processor carries out task friendship with the enterprises end front end processor by way of long connection Mutual step, comprising: long connection is carried out by the synchronous blocking model of BIO and enterprises end front end processor, to complete task interaction.
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, Any reference used in provided herein and embodiment to memory, storage, database or other media, 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 speed are according to rate SDRAM (SSRSDRAM), 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..
The foregoing is merely preferred embodiment of the present application, are not intended to limit the scope of the patents of the application, all utilizations Equivalent structure or equivalent flow shift made by present specification and accompanying drawing content is applied directly or indirectly in other correlations Technical field, similarly include in the scope of patent protection of the application.

Claims (10)

1. a kind of fund collection method, which is characterized in that carry out wealth using the enterprises end front end processor and bank end of enterprises end setting Be engaged in data interaction, be provided with multiple UKey interfaces on the enterprises end front end processor, the enterprises end front end processor correspond to it is multiple described in UKey interface is configured as to interact with bank's end front end processor of multiple and different bank's types completion financial data;The side Method, comprising:
The specified multiple bank accounts that collect for needing fund to collect management of enterprises end are obtained by the enterprises end front end processor Remaining sum;
Judge each remaining sum for collecting bank account whether be greater than for it is each it is described collect bank account setting collect threshold value;
It is greater than if there is remaining sum and collects the first of threshold value and collect bank account, then according to the preset rule that collects from described first Bank account transfer is collected to specified secondary bank account.
2. fund collection method according to claim 1, which is characterized in that described to be obtained by the enterprises end front end processor The specified multiple remaining sum steps for collecting bank account for needing fund to collect management of enterprises end, comprising:
Each corresponding first task ID of inquiry into balance task for collecting bank account is sent to the enterprises end front end processor, In, the first task ID is deposited into preset buffer queue by the enterprises end front end processor;
The first task ID for receiving the enterprises end front end processor feedback, obtains corresponding inquiry into balance according to the first task ID Task;
The inquiry into balance task is sent to corresponding bank pre-machine using the enterprises end front end processor, to inquire corresponding institute State the account balance for collecting bank account;
Receive the account balance that the enterprises end front end processor is obtained by the bank pre-machine.
3. fund collection method according to claim 1, which is characterized in that it is described if there is remaining sum be greater than collect threshold value First collect bank account, then collect rule according to preset and collect Bank account transfer to specified second from described first The step of bank account, comprising:
It collects regular generation fund according to described and collects task, and send the fund to the enterprises end front end processor and collect task Corresponding second task ID, wherein second task ID is deposited into preset buffer queue by the enterprises end front end processor;
The second task ID for receiving the enterprises end front end processor feedback, obtains corresponding fund according to second task ID and collects Task;
The fund is collected into task using the enterprises end front end processor and is sent to corresponding bank pre-machine, to complete described One collects bank account to the secondary bank account transfer.
4. fund collection method according to claim 1, which is characterized in that described to be obtained by the enterprises end front end processor Before the specified multiple remaining sum steps for collecting bank account for needing fund to collect management of enterprises end, comprising:
Judge the UKey equipment that corresponding various types of bank whether is inserted on the enterprises end front end processor;
If it is not, then alarming.
5. fund collection method described in any one of -4 according to claim 1, which is characterized in that the method also includes:
Receive the heartbeat detection packet that the enterprises end front end processor is sent, connection status of the detection with the enterprises end front end processor;
If connection status is to disconnect, send a warning.
6. fund collection method described in any one of -4 according to claim 1, which is characterized in that the method also includes:
Task is carried out with the enterprises end front end processor by way of long connection to interact.
7. fund collection method according to claim 6, which is characterized in that it is described by way of long connection with the enterprise Industry end front end processor carries out the step of task interaction, comprising:
Long connection is carried out by the synchronous blocking model of BIO and enterprises end front end processor, to complete task interaction.
8. a kind of fund apparatus for collecting, which is characterized in that carry out wealth using the enterprises end front end processor and bank end of enterprises end setting Be engaged in data interaction, be provided with multiple UKey interfaces on the enterprises end front end processor, the enterprises end front end processor correspond to it is multiple described in UKey interface is configured as to interact with bank's end front end processor of multiple and different bank's types completion financial data;The dress It sets, including
Acquiring unit, for by the enterprises end front end processor obtain enterprises end it is specified need fund to collect the multiple of management to return Collect the remaining sum of bank account;
Judging unit is set for judging whether each remaining sum for collecting bank account is greater than for each bank account that collects Fixed collects threshold value;
Unit is collected, the first of threshold value is collected for being greater than if there is remaining sum and collects bank account, then collected according to preset Rule collects Bank account transfer to specified secondary bank account from described first.
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.
CN201810709994.2A 2018-07-02 2018-07-02 Funds collection method, apparatus, computer device and storage medium Active CN109191271B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810709994.2A CN109191271B (en) 2018-07-02 2018-07-02 Funds collection method, apparatus, computer device and storage medium
PCT/CN2018/108414 WO2020006901A1 (en) 2018-07-02 2018-09-28 Fund collection method and apparatus, computer device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810709994.2A CN109191271B (en) 2018-07-02 2018-07-02 Funds collection method, apparatus, computer device and storage medium

Publications (2)

Publication Number Publication Date
CN109191271A true CN109191271A (en) 2019-01-11
CN109191271B CN109191271B (en) 2023-11-24

Family

ID=64948798

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810709994.2A Active CN109191271B (en) 2018-07-02 2018-07-02 Funds collection method, apparatus, computer device and storage medium

Country Status (2)

Country Link
CN (1) CN109191271B (en)
WO (1) WO2020006901A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111210334A (en) * 2019-12-13 2020-05-29 佛山欧神诺云商科技有限公司 Method, system and storage medium for rapidly collecting transfer funds
CN113095933A (en) * 2021-04-30 2021-07-09 中国银行股份有限公司 Fund data aggregation method and device
CN114169873A (en) * 2021-11-26 2022-03-11 天津车之家软件有限公司 Payment method, payment device, computing equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999866A (en) * 2012-12-10 2013-03-27 中国民生银行股份有限公司 Fund collection method and system
CN103218716A (en) * 2013-03-06 2013-07-24 交通银行股份有限公司 Safety certification terminal USBkey (Ukey), internet bank operation method and internet bank operation equipment
CN103679960A (en) * 2012-09-06 2014-03-26 联多科技(北京)有限公司 Cash currency unified financial platform
CN105630614A (en) * 2015-12-22 2016-06-01 世纪龙信息网络有限责任公司 Batched processing task processing system and method
CN106897869A (en) * 2017-02-22 2017-06-27 世纪禾光科技发展(北京)有限公司 The direct-connected method and system of cross-border e-commerce platform bank

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877107A (en) * 2010-04-08 2010-11-03 苏州德融嘉信信用管理技术有限公司 Conglomerate founds collecting service system and application method thereof
CN101908179A (en) * 2010-08-17 2010-12-08 中国建设银行股份有限公司 Inter-bank capital account collection management method
CN108021798A (en) * 2017-12-21 2018-05-11 鸿秦(北京)科技有限公司 A kind of trusted operating system based on USBkey

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103679960A (en) * 2012-09-06 2014-03-26 联多科技(北京)有限公司 Cash currency unified financial platform
CN102999866A (en) * 2012-12-10 2013-03-27 中国民生银行股份有限公司 Fund collection method and system
CN103218716A (en) * 2013-03-06 2013-07-24 交通银行股份有限公司 Safety certification terminal USBkey (Ukey), internet bank operation method and internet bank operation equipment
CN105630614A (en) * 2015-12-22 2016-06-01 世纪龙信息网络有限责任公司 Batched processing task processing system and method
CN106897869A (en) * 2017-02-22 2017-06-27 世纪禾光科技发展(北京)有限公司 The direct-connected method and system of cross-border e-commerce platform bank

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111210334A (en) * 2019-12-13 2020-05-29 佛山欧神诺云商科技有限公司 Method, system and storage medium for rapidly collecting transfer funds
CN113095933A (en) * 2021-04-30 2021-07-09 中国银行股份有限公司 Fund data aggregation method and device
CN114169873A (en) * 2021-11-26 2022-03-11 天津车之家软件有限公司 Payment method, payment device, computing equipment and storage medium

Also Published As

Publication number Publication date
WO2020006901A1 (en) 2020-01-09
CN109191271B (en) 2023-11-24

Similar Documents

Publication Publication Date Title
CN110232565B (en) Resource clearing method, device, computer equipment and storage medium
CN109165935A (en) Batch payment method, device, computer equipment and storage medium
CN109191271A (en) Fund collection method, device, computer equipment and storage medium
CN109166026A (en) Account checking method, device, computer equipment and storage medium
CN101241583B (en) Remittance path following system and method
SG177869A1 (en) System and method for prioritizing processing of payment instructions
CN109062982A (en) Financial data exchange method, device, computer equipment and storage medium
CN112990829B (en) Asset management system based on block chain
CN109063183A (en) The method and device of information processing is carried out at block chain node
CN109918408A (en) A kind of blacklist update method, device, equipment and computer readable storage medium
CN112381645A (en) Information processing method and device for bill transaction
CN109118352A (en) Remaining sum monitoring method, device, computer equipment and storage medium
CN109544151A (en) Method, apparatus, computer equipment and the storage medium of gathering confirmation
CN111915316A (en) Suspicious transaction monitoring method and device, computer equipment and storage medium
CN109064144A (en) Receipt acquisition methods, device, computer equipment and storage medium
CN108038692B (en) Role identification method and device and server
CN106973078B (en) The method and information exchange control system of business data processing
CN108629543A (en) Logistic information systems based on block chain and Internet of Things
CN114706827A (en) Automatic generation method and device for transaction link topology
CN114186975A (en) Configuration method, device, equipment and storage medium of approval process
CN106874371A (en) A kind of data processing method and device
CN109034768A (en) Finance allot method, apparatus, computer equipment and storage medium
CN107730380B (en) Method, system and server for processing joint account
CN104820931A (en) Real-time terminal transaction information monitoring method, system and device
CN107067137A (en) A kind of power marketing metering class's routine work management control method and system

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
GR01 Patent grant
GR01 Patent grant