Invention content
This specification one or more embodiment describes a kind of business processing, deducting money method and device, can promote use
It experiences at family.
In a first aspect, a kind of method for processing business is provided, including:
Accounting system monitors user and is directed to the operation that login account executes, and the login account refers to opposite with operation system
The account answered;
When monitoring the operation, the type of the operation is determined;
Obtain the corresponding operation system of the login account and object run type;
Judge whether the type of the operation belongs to the object run type;
If the type of the operation belongs to the object run type, send a notification message to the operation system, institute
It includes the login account to state notification message;The notification message be used to indicate the operation system for the login account into
The corresponding business processing of row.
Second aspect provides a kind of method for processing business, including:
Operation system receives the notification message that Accounting system is sent, and the notification message is to monitor use by Accounting system
Family executes operation for corresponding login account, and when type of the operation is object run type sends;The notice
Message includes the login account;
Corresponding business processing is carried out to the login account.
The third aspect provides a kind of deducting money method, including:
The fund allocation operation that user executes for login account is monitored, the login account refers to and operation system of withholing
Corresponding account;
When monitoring the fund allocation operation, the type of the fund allocation operation is determined;
Obtain corresponding operation system and the fund inflow type of withholing of the login account;
Judge whether the type of the fund allocation operation belongs to the fund and flow into type;
If the type of the fund allocation operation belongs to the fund and flows into type, sent to the operation system of withholing
Fund changes notification message, and it includes the login account that the fund, which changes notification message,;The fund changes notification message and uses
Operation system of withholing described in instruction carries out processing of withholing for the login account.
Fourth aspect provides a kind of business processing device, including:
Monitoring unit is directed to the operation that login account executes for monitoring user, and the login account refers to and business system
It unites corresponding account;
Determination unit, for when the monitoring unit monitors the operation, determining the type of the operation;
Acquiring unit, for obtaining the corresponding operation system of the login account and object run type;
Judging unit, for judging whether the type of the operation of the acquiring unit acquisition belongs to the object run
Type;
Transmission unit, if judging that the type of the operation belongs to the object run type for the judging unit,
It sends a notification message to the operation system, the notification message includes the login account;The notification message is used to indicate
The operation system carries out corresponding business processing for the login account.
5th aspect, provides a kind of business processing device, including:
Receiving unit, the notification message for receiving Accounting system transmission, the notification message is being supervised by Accounting system
It controls user and executes operation for corresponding login account, and when type of the operation is object run type sends;Institute
It includes the login account to state notification message;
Processing unit, for carrying out corresponding business processing to the login account.
6th aspect, provides one kind and withholds device, including:
Monitoring unit, the fund allocation operation executed for login account for monitoring user, the login account refer to
Account corresponding with operation system of withholing;
Determination unit, for when the monitoring unit monitors the fund allocation operation, determining the fund allocation
The type of operation;
Acquiring unit, for obtaining corresponding operation system and the fund inflow type of withholing of the login account;
Judging unit flows into type for judging whether the type of the fund allocation operation belongs to the fund;
Transmission unit, if judging that the type of the fund allocation operation belongs to the fund and flows into for the judging unit
Type then sends fund to the operation system of withholing and changes notification message, and it includes the note that the fund, which changes notification message,
Volume account;The fund variation notification message is used to indicate the operation system of withholing and carries out the place that withholds for the login account
Reason.
Business processing, deducting money method and the device that this specification one or more embodiment provides, Accounting system monitoring are used
Family is directed to the operation that login account executes.When monitoring operation, the type of the operation is determined.If the type of the operation meets note
The volume pre-registered action type of account, then send a notification message to the corresponding operation system of login account.Operation system is connecing
After receiving the notification message, corresponding business processing is carried out for login account.Thus, it is possible to realize in cost-effective feelings
Under condition, business processing is simply carried out.
Specific implementation mode
Below in conjunction with the accompanying drawings, the scheme provided this specification is described.
The method for processing business that this specification provides can be applied in scene as shown in Figure 1, in Fig. 1, Accounting system
Can be in same LAN with operation system, it can not also be in same LAN.When in same LAN, account system
System, which belongs to the communication between operation system in net, to be communicated.Namely it can directly transmit and communicate between Accounting system and operation system
Data.When not in same LAN, the communication between Accounting system and operation system belongs to cross-domain communication.Namely the two
Communication data is needed by gateway.Such as, when operation system sends communication data to Accounting system, first the communication data is sent
To gateway.Above-mentioned communication data is forwarded to Accounting system by gateway later.
In Fig. 1, Accounting system is used to manage the account of multiple users.When some account is login account, Accounting system
It is additionally operable to record the correspondence of the login account, operation system and object run type.Wherein, object run type can be with
Refer to type of the user for the performed operation of corresponding account (e.g., fund allocation operates), can be pre- by Accounting system
It first defines and by operation system according to selected by own service.Operation system is used for for the login account in Accounting system
Carry out corresponding business processing (e.g., withholing).It specifically can register some by sending registration request to Accounting system
Account.After succeeding in registration, above-mentioned correspondence will be recorded in Accounting system.
Specifically, Accounting system can monitor user and be directed to the operation that login account executes.When monitoring operation, determine
The type of the operation.If the type of the operation meets the pre-registered action type of login account, corresponding to login account
Operation system sends a notification message.Operation system carries out corresponding industry after receiving the notification message, for login account
Business is handled.
Fig. 2 is the method for processing business flow chart that this specification one embodiment provides.The executive agent of the method can
Think the equipment with processing capacity:Server either system or device, e.g., the Accounting system in Fig. 1.As shown in Fig. 2, institute
The method of stating can specifically include:
Step 210, Accounting system monitoring user is directed to the operation that login account executes.
Above-mentioned login account can refer to account corresponding with operation system.In one implementation, operation system
Registration request can be sent to Accounting system, which may include account to be registered and object run type.The mesh
It can be chosen from multiple preset action types according to its own business by operation system to mark action type.Herein, in advance
If action type can be it is pre-set by Accounting system and notify to operation system.As an example it is assumed that preset
Action type includes:Fund inflow, fund outflow, freezing of funds and deblocking of funds.When operation system own service is to withhold
When business, need account rich because withholing, it is possible to which the object run type of selection is that fund flows into type.
Accounting system can be grasped after receiving above-mentioned registration request with record traffic system, login account and target
Make the correspondence of type, and returns to the message to succeed in registration to operation system.It in one implementation, can be in such as table 1
Shown in record the correspondence in registration table.
Table 1
Step 220, when monitoring operation, the type of the operation is determined.
Herein, the type of operation includes but not limited to fund inflow, fund outflow, freezing of funds and deblocking of funds etc..
In one example, the above-mentioned type is pre-set by Accounting system.
It in one implementation, can be according to the change conditions of account balance, to determine the type of the operation.Specifically
Ground, the account balance that operation can be executed front and back login account by Accounting system is compared, to determine its change conditions.Herein
Change conditions include but be limited to account balance increase and account balance reduce etc..For example, when the account of login account
When remaining sum increases, it may be determined that the type of current operation is that fund flows into type.
Step 230, the corresponding operation system of login account and object run type are obtained.
As shown in table 1, when login account is name on account 1, the operation system and object run type of acquisition respectively can
Think:Operation system 1 and fund flow into type.
Step 240, judge whether the type of operation belongs to object run type.
Step 250, it if the type of operation belongs to object run type, sends a notification message to operation system.
It is understood that if above-mentioned Accounting system and operation system in same LAN, for example, belonging to payment
Module in precious platform.Then Accounting system directly can send above-mentioned notification message to operation system.And if above-mentioned account system
System is not with operation system in same LAN, then the notification message is first sent to gateway by Accounting system.It later, will by gateway
The notification message is sent to money operation system.
Above-mentioned notification message may include login account.In addition, the notification message can also including account balance etc. information.
For example, if the type and object run type of operation, which are fund, flows into type, Accounting system can be to
Operation system sends fund and changes notification message.Operation system can be directed to the registration account after receiving the notification message
Family carries out corresponding business processing (e.g., withholing).Similarly, operation system can be the cross-domain corresponding business processing of progress,
Can be that corresponding business processing is carried out in net.
Certainly, in practical applications, Accounting system is to operation system other than sending above-mentioned notification message, can also be into
The normal processing of row e.g. carries out the processing etc. that keeps accounts, this specification does not repeat this again to login account.
It is understood that above-mentioned notification message is to judge that the type of operation belongs to object run type in Accounting system
In the case of send.When being not belonging to, Accounting system does not send above-mentioned notification message, is only normally handled, e.g., fund transfer
Processing etc..
To sum up, in this specification above-described embodiment, business processing is complete in the case where operation system and Accounting system cooperate
At, i.e., Accounting system just notifies industry after monitoring user for login account and performing and meet the operation of registration type
Business system carries out corresponding business processing.Namely operation system no longer actively initiates polling type inquiry, but passive wait for notifies
Carry out business processing.To can not only lower system cost, but also user experience can be promoted.
Such as, if login account needs are withholdd, operation system of withholing is not withholdd actively, but is waited for user to have always and met
When the fund operation of registration type, it is exactly to notify business of withholing that Accounting system can also increase an additional action other than keeping accounts
System user fully funded, operation system of withholing, which receives message, can just initiate action of withholing, and complete behavior of withholing.Namely this explanation
User is directed to the business processing phase that login account carries out by book above-described embodiment to the operation that login account executes with operation system
Association, to more meet practical flow.
Fig. 3 is the method for processing business flow chart that this specification another embodiment provides.The executive agent of the method
Can be the equipment with processing capacity:Server either system or device, e.g., the operation system in Fig. 1.As shown in figure 3,
The method can specifically include:
Step 310, operation system receives the notification message that Accounting system is sent.
Specifically, Accounting system can monitor user and be directed to the operation that login account executes.Login account herein can be with
It refer to the account that Accounting system has recorded corresponding operation system and object run type in registration table.Monitoring above-mentioned behaviour
When making, Accounting system can obtain corresponding object run type from above-mentioned registration table.If the type of the operation meets target
Action type then sends above-mentioned notification message to corresponding operation system.
The notification message may include login account.In addition, it can include the information such as account balance of the login account.
Step 320, corresponding business processing is carried out to login account.
For by taking operation system is to withhold operation system as an example, operation system of withholing can withhold for login account
Processing.
It is operation system of withholing with operation system with reference to Fig. 4, business processing is for withholing processing, to this explanation
The scheme that book provides is described in further detail:
It should be noted that before executing each step shown in Fig. 4, the step of following login account can be first carried out:
Operation system of withholing (includes but not limited to fund inflow, cash flow from multiple preset fund action types according to the business of withholing
Go out, freezing of funds and deblocking of funds etc.) in selection fund flow into type.Registration is sent in cross-domain or net to Accounting system to ask
It asks.The registration request may include:Account and fund to be registered flow into type.Accounting system in registration table, withhold by record
Operation system, login account and fund flow into the correspondence of type.Later, industry that Accounting system is cross-domain or net introversion is withholdd
Business system returns to the message to succeed in registration.After executing the step of completing above-mentioned login account, so that it may to execute following steps
.
Step 410, the fund allocation operation that monitoring user executes for account.
Step 420, whether the account is login account, if not, thening follow the steps 430;If so, thening follow the steps
440。
Step 430, corresponding fund allocation is carried out to the account.
Step 440, the type of fund allocation operation is determined.
Step 450, corresponding operation system and the fund inflow type of withholing of the login account is obtained from registration table.
Step 460, judge whether the type of fund allocation operation belongs to fund and flow into type, if it is not, then executing step
Rapid 470;If so, thening follow the steps 480.
Step 470, corresponding fund allocation is carried out to the login account.
Step 480, the processing that keeps accounts is carried out to the login account, and triggers corresponding message and sends event.
After message transmission event herein is triggered, fund variation notice can be sent to corresponding operation system of withholing and be disappeared
Breath.
It is understood that if above-mentioned Accounting system and withholing operation system in same LAN, for example, belonging to
Module in Alipay platform.Then after message transmission event is triggered, Accounting system can be directly to operation system hair of withholing
It serves fund of stating and changes notification message.And if above-mentioned Accounting system and withholing operation system not in same LAN, account
Fund variation notification message is first sent to gateway by family system.Later, fund variation notification message is sent to by gateway
It withholds operation system.
Step 490, operation system of withholing triggers event of withholing.
After the event of withholing herein is triggered, the cross-domain login account in Accounting system of operation system of withholing initiates button
Money, or initiate to withhold in net.
Step 4100, Accounting system returns to successful message of withholing to operation system of withholing.
To sum up, the deducting money method that this specification above-described embodiment provides there will be no repeatedly to call and withhold, and only need to accomplish one
It is secondary to withhold, it is a kind of scheme of trigger-type.Operation system of namely withholing and Accounting system cooperation have fund to flow into account
When radiation message informing withhold operation system, operation system of withholing just comes to withhold, and this maximum benefit of way is to fit
When single withhold to system.Thus, it is possible to solve system cost with user increases and being multiplied of bringing is asked
Topic.In addition, by above-mentioned deducting money method, user can deduct fund in the fund second grade that keeps accounts substantially, it is possible thereby to greatly carry
Rise user experience.
Accordingly with above-mentioned method for processing business, a kind of business processing device that this specification one embodiment also provides,
As shown in figure 5, the device includes:
Monitoring unit 501 is directed to the operation that login account executes for monitoring user, and login account refers to and operation system
Corresponding account.
Determination unit 502, for when monitoring unit 501 monitors operation, determining the type of the operation.
Optionally it is determined that unit 502 specifically can be used for:
Determine the change conditions of the account balance of login account.
According to the change conditions of account balance, the type of operation is determined.
Acquiring unit 503, for obtaining the corresponding operation system of login account and object run type.
Judging unit 504, for judging whether the type of the operation of the acquisition of acquiring unit 503 belongs to object run type.
Transmission unit 505, if judging that the type of operation belongs to object run type for judging unit 504, to business
System sends a notification message, which includes login account;Notification message is used to indicate operation system and is directed to login account
Carry out corresponding business processing.
Optionally, which can also include:
Receiving unit 506, for receive operation system transmission registration request, the registration request include login account and
Object run type.
Recording unit 507, the correspondence for record traffic system, login account and object run type.
Transmission unit 505 is additionally operable to return to the message to succeed in registration to operation system.
Acquiring unit 503 specifically can be used for:
According to correspondence, the corresponding operation system of login account and action type are obtained.
The function of each function module of this specification above-described embodiment device can pass through each step of above method embodiment
Rapid to realize, therefore, the specific work process for the device that this specification one embodiment provides does not repeat again herein.
The business processing device that this specification one embodiment provides, monitoring unit 501 monitor user and are directed to login account
The operation of execution.When monitoring operation, determination unit 502 determines the type of the operation.Acquiring unit 503 obtains login account
Corresponding operation system and object run type.Judging unit 504 judges whether the type of operation belongs to object run type.If
The type of operation belongs to object run type, and transmission unit 505 sends a notification message to operation system, which includes note
Volume account.Notification message is used to indicate operation system and carries out corresponding business processing for login account.Thus, it is possible to realize
In the case of cost-effective, business processing is simply carried out.
It should be noted that above-mentioned business processing device can be Accounting system shown in FIG. 1 in a module or
Unit.
Accordingly with above-mentioned method for processing business, a kind of business processing device that this specification one embodiment also provides,
As shown in fig. 6, the device includes:
Receiving unit 601, the notification message for receiving Accounting system transmission, which supervised by Accounting system
It controls user and executes operation for corresponding login account, and when type of the operation is object run type sends.This is logical
Know that message may include login account.
Processing unit 602, for carrying out corresponding business processing to login account.
Optionally, which can also include:
Selection unit 603, for choosing object run type from multiple preset action types.
Transmission unit 604, for sending registration request to Accounting system, which includes login account and target behaviour
Make type.The registration request is used to indicate Accounting system record traffic system, the correspondence of login account and object run type
Relationship.
Receiving unit 601 is additionally operable to receive the message to succeed in registration that Accounting system returns.
The function of each function module of this specification above-described embodiment device can pass through each step of above method embodiment
Rapid to realize, therefore, the specific work process for the device that this specification one embodiment provides does not repeat again herein.
It should be noted that above-mentioned business processing device can be operation system shown in FIG. 1 in a module or
Unit.
Accordingly with above-mentioned deducting money method, one kind that this specification one embodiment also provides is withholdd device, such as Fig. 7 institutes
Show, which includes:
Monitoring unit 701, for monitor user for login account execute fund allocation operation, login account refer to
The corresponding account of operation system of withholing.
Determination unit 702, for when monitoring unit 701 monitors fund allocation operation, determining fund allocation operation
Type.
Wherein, the type of fund allocation operation may include:Fund inflow, fund outflow, freezing of funds and fund solution
Freeze etc..
Acquiring unit 703, for obtaining corresponding operation system and the fund inflow type of withholing of login account.
Judging unit 704 flows into type for judging whether the type of fund allocation operation belongs to fund.
Transmission unit 705, if judging that the type of fund allocation operation belongs to fund and flows into type for judging unit 704,
Then fund being sent to operation system of withholing and changing notification message, it includes login account that fund, which changes notification message,.Fund changes logical
Know that message is used to indicate operation system of withholing and carries out processing of withholing for login account.
The function of each function module of this specification above-described embodiment device can pass through each step of above method embodiment
Rapid to realize, therefore, the specific work process for the device that this specification one embodiment provides does not repeat again herein.
It should be noted that above-mentioned device of withholing can be a module or unit in aforementioned operation system of withholing.
Those skilled in the art are it will be appreciated that in said one or multiple examples, described in this specification
Function can be realized with hardware, software, firmware or their arbitrary combination.It when implemented in software, can be by these work(
Can storage in computer-readable medium or as on computer-readable medium one or more instructions or code passed
It is defeated.
Above-described specific implementation mode has carried out into one the purpose, technical solution and advantageous effect of this specification
Step is described in detail, it should be understood that the foregoing is merely the specific implementation mode of this specification, is not used to limit this
The protection domain of specification, all any modifications on the basis of the technical solution of this specification, made, change equivalent replacement
Into etc., it should all be included within the protection domain of this specification.