A kind of method, device and the transaction processing system of blocking system service processing
Technical field
The application is related to field of computer technology, more particularly to the method for blocking system service processing a kind of, device and
Transaction processing system.
Background technology
With continuing to develop for terminal technology and network technology, user profile is more and more, in order to reduce as far as possible to
Family services the influence with data, and how user profile, which stores, just turns into a major issue for being badly in need of solving.
Generally, major applications program can all rely on inner marker-user's internal standard stable in user profile (i.e.
UserID), service to service provider requests.For example, equally distributed in being encoded according to UserID breaks up position, to distribute
Service and user profile arrive corresponding service unit, and data of its dependence can also be retained in the service unit (i.e. data in addition
Localization).Because not all service is dependent on UserID, for example, login service only needs to user's input login banner
Therefore, then the service of being distributed by UserID codings and user profile with login authentication information (including login password), it can cause
Service and the distribution of user profile are no longer uniform, and based on the consideration of above-mentioned each side, the storage for user profile is generally used
The shared mode of storage is handled, will all user profile be stored in a common unit.
But, the processing mode of user profile is stored using a common unit, can architecturally form highdensity
Single-point, so, user profile the problem of uniformity and dilatation on can also be become increasingly conspicuous with the increase of number of users so that
Cause the response time elongated, it is often more important that, when the computer room where the common unit or city (deployment ground) generation are catastrophic
After failure, user service and data can be caused to have a strong impact on so that the availability and redundancy ability of system where user profile
It is poor.
The content of the invention
The purpose of the embodiment of the present application is to provide a kind of method, device and the business processing system of blocking system service processing
System, to realize that the blocking to user profile is disposed, the availability and redundancy ability of system where improving user profile.
In order to solve the above technical problems, what the embodiment of the present application was realized in:
The embodiment of the present application provides a kind of method of blocking system service processing, and methods described includes:
Service request is received, wherein, the service request includes user profile;
According to the service type of the service request, it is determined that routing rule corresponding with the service type;
Determined to handle the service unit of the service request according to the user profile and the routing rule, by the clothes
Business request sends to the service unit determined to handle the service request.
Alternatively, the service request is the service request after logging in, and the user profile includes user's internal standard;
It is described to be determined to handle the service unit of the service request, bag according to the user profile and the routing rule
Include:
Routing rule according to corresponding to the service type of user's internal standard and the service request, it is determined that processing is described
The first service unit of service request.
Alternatively, the service request is asked for login service, and the user profile includes login banner and login is tested
Demonstrate,prove information,
It is described to be determined to handle the service unit of the service request, bag according to the service request and the routing rule
Include:
Routing rule according to corresponding to the service type of the login banner and the service request, it is determined that processing is described
The second service unit of service request;
Described to send the service request to the service unit of the determination, methods described also includes:
When receiving timestamp in the targeted customer corresponding with the login banner that the second service unit is sent, really
Fixed the 3rd service unit corresponding with targeted customer's internal standard;
The login authentication information is sent to the 3rd service unit to log in the login authentication information
Checking.
Alternatively, it is described to be determined to handle the service list of the service request according to the user profile and the routing rule
Member, including:
Obtain the Hash values of the user profile;
Determined to handle the service unit of the service request according to the hash value and the routing rule.
The embodiment of the present application provides a kind of blocking system service processing unit, and described device includes:
Receiving module, for receiving service request, wherein, the service request includes user profile;
Routing rule determining module, for the service type according to the service request, it is determined that with the service type pair
The routing rule answered;
Service processing module, for determining to handle the service request according to the user profile and the routing rule
Service unit, the service request is sent to the service unit of determination to handle the service request.
Alternatively, the service request is the service request after logging in, and the user profile includes user's internal standard;
The service processing module, for corresponding to the service type according to user's internal standard and the service request
Routing rule, it is determined that handling the first service unit of the service request.
Alternatively, the service request is asked for login service, and the user profile includes login banner and login is tested
Demonstrate,prove information,
The service processing module, for corresponding to the service type according to the login banner and the service request
Routing rule, it is determined that handling the second service unit of the service request;
Described device also includes:
Service unit determining module, the relative with the login banner of the second service unit transmission is received for working as
Timestamp in the targeted customer answered, it is determined that the 3rd service unit corresponding with targeted customer's internal standard;
Sending module, for the login authentication information to be sent into the 3rd service unit with to the login authentication
Information carries out login authentication.
Alternatively, the service processing module, the Hash values for obtaining the user profile;According to the Hash
Value and the routing rule determine the service unit of the processing service request.
The embodiment of the present application provides a kind of transaction processing system, and the system includes routing device and service unit, wherein:
The routing device, for receiving service request, wherein, the service request includes user profile;According to institute
The service type of service request is stated, it is determined that routing rule corresponding with the service type;According to the user profile and described
Routing rule determines the service unit of the processing service request, and the service request is sent to the service list of the determination
Member;
The service unit, for handling the service request.
Alternatively, the service unit includes first service unit and second service unit, and the service request is login
Service request, the user profile includes login banner and login authentication information, wherein:
The second service unit, for obtaining the corresponding user's internal standard of the login banner, the login authentication is believed
Breath is sent to the corresponding first service unit of user's internal standard;
The first service unit, for carrying out login authentication to the login authentication information, login authentication result is sent out
Give the second service unit;
The second service unit, is additionally operable to obtain login result corresponding with the login authentication result, is stepped on described
Record result is sent to the routing device.
Alternatively, the service unit includes first service unit and second service unit, and the service request is login
Service request, the user profile includes login banner and login authentication information, wherein:
The second service unit, for obtaining the corresponding user's internal standard of the login banner, user's internal standard is sent out
Give the routing device;
The routing device, is additionally operable to according to user's internal standard, it is determined that first service corresponding with user's internal standard
Unit, the first service unit is sent to by the login authentication information;
The first service unit, for carrying out login authentication to the login authentication information, login authentication result is sent out
Give the second service unit;
The second service unit, is additionally operable to obtain login result corresponding with the login authentication result, is stepped on described
Record result is sent to the routing device.
Alternatively, the service unit also includes the 3rd service unit, and the service request is the clothes of modification login banner
Business request, the business processing request includes user's internal standard and amended login banner,
3rd service unit, for obtaining the login banner corresponding with user's internal standard, to the described second clothes
Business unit, which is sent, includes the modification login banner instruction of the amended login banner;
The second service unit, will be described for replacing the login banner using the amended login banner
The corresponding modification result of modification login banner instruction is sent to the 3rd service unit;
3rd service unit, is additionally operable to the modification result being sent to the routing device.
The technical scheme provided from above the embodiment of the present application, the embodiment of the present application passed through according to including for receiving
The service type of the service request of user profile, it is determined that routing rule corresponding with the service type, it is then possible to according to user
Information and the routing rule determine to handle the service unit of the service request, the service request are sent to the service unit of determination
To handle the service request, so, different services are handled by different service units, accordingly, Yong Huxin
The information corresponding with different services can also be assigned to corresponding service unit in breath, and the response time is not interfered with not only, and
The blocking deployment to user profile can be realized, so as to the availability and disaster tolerance energy of system where improving user profile
Power.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments described in application, for those of ordinary skill in the art, are not paying the premise of creative labor
Under, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of embodiment of the method for blocking system service processing of the application;
Fig. 2 is the embodiment of the method for another blocking system service processing of the application;
Fig. 3 is a kind of processing method embodiment of service request of the application;
Fig. 4 A are the embodiment of the method for the application another blocking system service processing;
Fig. 4 B are a kind of handling process schematic diagram of login service of the application;
Fig. 5 is a kind of blocking system service processing unit embodiment of the application;
Fig. 6 is another blocking system service processing unit embodiment of the application;
Fig. 7 is a kind of transaction processing system embodiment of the application.
Embodiment
The embodiment of the present application provides a kind of method, device and the transaction processing system of blocking system service processing.
In order that those skilled in the art more fully understand the technical scheme in the application, it is real below in conjunction with the application
The accompanying drawing in example is applied, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described implementation
Example only some embodiments of the present application, rather than whole embodiments.Based on the embodiment in the application, this area is common
The every other embodiment that technical staff is obtained under the premise of creative work is not made, should all belong to the application protection
Scope.
Embodiment one
As shown in figure 1, the embodiment of the present application provides a kind of method of blocking system service processing, the execution master of this method
Body can be the equipment that function is alloted with flow, and such as routing device, in actual applications, the equipment can be a logics
Unit, it can be built-up based on layer structure by plurality of devices, wherein it is possible to including DNS (Domain Name
System, domain name system) analyzing device, CDN (Content Delivery Network, content distributing network) equipment, load
Balancing equipment, across unit agent equipment etc., above-mentioned each equipment can be specifically terminal device or server.The embodiment of the present application
In by executive agent be routing device exemplified by be described in detail, for other types of equipment, can be implemented according to the application
Related content processing in example, will not be repeated here.The embodiment of the present application provide blocking system service processing method be
Produced based on certain application background, can specifically include herein below:
With continuing to develop for terminal technology and network technology, user profile is more and more, and these user profile are often
It is stored in the computer room or some region that some specifies, in order to reduce the shadow to user service and user profile as far as possible
Ring, user profile can be subjected to blocking processing, i.e., user profile be split into some, the user in each part
There is certain incidence relation in information, such as all associated with a certain item information in user profile., can will be many based on this
Individual part is deployed in different computer rooms, even different region, so, when certain a part of user profile can not be used respectively
When (such as because fire or earthquake cause the computer room for storing the user part message to be stopped), other parts user profile
Still can normally it use, so as to improve the availability and redundancy ability of system where user profile.
In actual applications, it is contemplated that the most information in user profile is all related to user's internal standard (i.e. UserID)
Connection, such as account information, authentication information and security information, and be also all based on indoor for the service of these information
Mark to be operated.But also the not all corresponding service of user profile is all based on the operation of user's internal standard, for example with
Log-on message (i.e. LoginID) in the information of family, accordingly, the login service for log-on message are not based on user's internal standard and entered
Row operation, therefore, user profile can be divided into two parts, a part is log-on message, and another part is based on user
The corresponding user profile of service that internal standard is operated.Certainly, used for the service operated based on user's internal standard is corresponding
Family information, user profile can also be proceeded to split, can be split as again by the relevance between service, user's internal standard
Some, a computer room or region can be stored it in respectively, can also store it in different computer room or region.
A kind of user profile example of internet payment class presented below, the user profile can include log-on message (its
Include login banner), security information, behavioural information, authentication information, essential information (including user's internal standard), account
Number information, social information, Transaction Information and product information etc..Wherein, security information, behavioural information, authentication information, account
Information, social information, Transaction Information and product information are associated with user's internal standard in essential information respectively.Need explanation
It is that account information, product information, Transaction Information can also possess respective service dimension and mark, but these information are all
Determined after the generation of user's internal standard, therefore, it can set these information and essential information and arrive with a part of or unit (i.e.
Same storage region, computer room or region etc.).Log-on message due to be related to login, publish, authenticate, the increasing of login banner, delete, change,
The service of looking into etc., can be independent with remaining user profile it, according to the dimension units of login banner.Authentication information due to
It is related to the related service of certificate number, the processing mode of log-on message can be used.
Ask a certain service when, can based on above-mentioned user profile blocking dispose, pass through blocking system service
The method of processing obtains this service, and this method specifically may comprise steps of:
In step S101:Service request is received, wherein, the service request includes user profile.
Wherein, service request can be that for the information to a certain service of corresponding service provider requests, service can be with
Including a variety of, such as login service, inquiry service, information modification service.User profile can be the information related to user,
Login banner, login password, user's internal standard, account information and/or the authentication information of such as user, login banner can be
User name or the email address of user that user is set, can also be cell-phone number of user etc..
In force, application program can be installed in terminal device (such as mobile phone, tablet personal computer or personal computer),
By application program, user can be to corresponding one or more of service of service provider requests, and specifically, user can point
The shortcut icon of the application program is hit, terminal device can start the application program, and the application program can obtain terminal
The relevant informations such as the mark of equipment (such as MAC (Media Access Control, medium access control) addresses or IP
(agreement interconnected between Internet Protocol, network) address etc.) it is sent to corresponding server, server can be from
The user profile of the user is obtained in the user profile prestored, and the data of the homepage of the application program are sent to terminal
Equipment, terminal device can show the homepage of the application program and related user profile (head portrait of such as user, the transaction of user
Information etc.).
In business service system, it can generally include routing device and service unit, the service unit can be to provide
The part or equipment of one or more service, are specifically as follows application server or data storage device etc..User can basis
It is actually needed and is operated accordingly, to ask corresponding service, if for example, user needs to inquire about certain information, can be
The corresponding search keyword of the information is inputted in the search box that the application program is provided, after the completion of input, search can be clicked on and pressed
Key, terminal device can obtain the search keyword that user inputs in search box, meanwhile, user's letter of the user can be obtained
Breath, the login banner and/or user's internal standard of such as user can generate the service request of inquiry service based on above- mentioned information, can be with
The service request is sent to the routing device in business service system, routing device can receive the service request.
In step s 102:According to the service type of above-mentioned service request, it is determined that route rule corresponding with the service type
Then.
Wherein, service type can include it is a variety of, such as inquiry service, information deletion service or information modification service,
It is, of course, also possible to service type is adjusted correspondingly according to actual conditions, for example, the blocking based on foregoing user profile
Related content in deployment, the service after service type can be set to login service and log in, the embodiment of the present application is to this
Do not limit.Routing rule can be a kind of routing table set for fast search to certain service type, the routing rule
In can be stored with the corresponding relation of service type and service acquisition routing information.
In force, one or more routing rules are provided with routing device, by the routing rule, can quickly be determined
The relevant information of ISP corresponding to position to the service of request.Blocking in view of above-mentioned user profile is disposed, with
And the relevance between service, the service after service type can be set to login service and log in.Wherein, login service can
To be the service related to User logs in business service system, after the service after login can be User logs in business service system
The service of request, for example, inquiry service, information deletion service or information modification service etc..Based on above-mentioned steps S101 example,
Routing device is received after the service request of terminal device transmission, the service request can be parsed, to determine the service
Ask as inquiry service.Because inquiry service is the service corresponding with user's internal standard, therefore, the service belonging to the service request
Type can be the service after logging in.
Routing rule in routing device can be stored in table form, wherein, service acquisition routing information is to service list
Member expression, as shown in table 1.
Table 1
, can be from as shown in Table 1 above after routing device determines the service type of the service request for the service after logging in
Routing rule in search service type for log in after the corresponding service acquisition routing information of service, i.e., service unit 3, service
Unit 4, service unit 5, service unit 6, so as to obtain the corresponding routing rule of service type, that is, the service pair after logging in
The service acquisition routing information answered is service unit 3, service unit 4, service unit 5 and service unit 6.
In step s 103:Determined to handle the service of above-mentioned service request according to above-mentioned user profile and above-mentioned routing rule
Unit, the service request is sent to the service unit of determination to handle the service request.
Wherein, service unit can be for providing server or terminal device of certain one or more service etc., service
Unit can also be a logic unit, can be built-up based on layer structure by plurality of devices.
In force, routing device is got after the corresponding routing rule of service type of the service request, can be combined
User profile in the service request, it is determined that handling the service unit of the service request.Based on above-mentioned steps S102 example, road
By equipment logged in after the corresponding service acquisition routing information of service be service unit 3, service unit 4, the and of service unit 5
After service unit 6, user's internal standard of user can be obtained from user profile, can be marked on by using indoor in routing device in advance
The corresponding service unit of user's internal standard is found in the routing table first stored, routing table can be as shown in table 2.
Table 2
User's internal standard |
Routing iinformation |
A |
Service unit 3 |
B |
Service unit 3 |
C |
Service unit 4 |
By the routing table of above-mentioned table 2, the corresponding service unit of user's internal standard can be found, for example, being designated as in user
B, then by the routing table of table 2, can find the corresponding service units of B for service unit 3.Routing device can service this
Request is sent to the service unit (such as above-mentioned routing unit 3) of determination, and the service unit is received after the service request, Ke Yitong
Relevance between the service of crossing, provides it to corresponding ISP, to be handled accordingly the service request.
The embodiment of the present application provides a kind of method of blocking system service processing, by including user according to what is received
The service type of the service request of information, it is determined that routing rule corresponding with the service type, it is then possible to according to user profile
Determine to handle the service unit of the service request with the routing rule, the service request is sent into the service unit to determination with right
The service request is handled, so, and different services are handled by different service units, accordingly, in user profile
Corresponding service unit can be also assigned to the corresponding information of different services, the response time is not interfered with not only, and can be with
Realize that the blocking to user profile is disposed, so as to the availability and redundancy ability of system where improving user profile.
Three pairs of different service types of following examples two and embodiment are described in detail, and can specifically include in following
Hold:
Embodiment two
As shown in Fig. 2 the embodiment of the present application provides a kind of method that blocking system service is handled, the execution of this method
Main body can be that the routing device and first service unit for alloting function with flow be realized jointly, in actual applications, the road
It can also be a logic unit by equipment, can be formed by plurality of devices based on layer structure framework, wherein it is possible to including
Dns resolution equipment, CDN equipment, load-balancing device, across unit agent equipment etc..Specifically include following steps:
In step s 201:The service request that routing device receiving terminal apparatus is sent, wherein, the service request includes
User profile.
In the embodiment of the present application, service request is the service request after logging in, and user profile includes user's internal standard.
In step S202:Routing device is according to the service type of the service request, it is determined that corresponding with the service type
Routing rule.
In step S203:Route of the routing device according to corresponding to the service type of user's internal standard and the service request
Rule, it is determined that handling the first service unit of the service request.
In force, it is contemplated that user's internal standard can be that the cell-phone number of user, instant messaging account or email address etc. are non-
Unified form of identification, therefore, would become hard to user profile (user's internal standard in such as the present embodiment) is uniform by using indoor mark
Each service unit is assigned to, therefore, certain routing rule can be set, for example, user's letter can be calculated by verifying value-based algorithm
Corresponding user profile, is evenly distributed in service unit by the check value of breath according to check value, and generates corresponding route rule
Then.Wherein, verification value-based algorithm can include a variety of, such as Hash hash algorithm, and accordingly, above-mentioned steps S203 processing specifically may be used
Think:The Hash values of user profile are obtained, are determined to handle the clothes of the service request according to the hash value and the routing rule
Business unit.
In addition to above-mentioned processing mode, there can also be other a variety of processing modes, for example, for being designated as cell-phone number in user
Situation, last two or three of cell-phone number can be taken as distribution foundations, when being designated as email address in user,
The information between " .com " and "@" can be taken as distribution foundation, the embodiment of the present application is not limited this.
In step S204:Routing device sends the service request to first service unit.
Above-mentioned steps S201~step S204 processing can be respectively referring to step S101~step in above-described embodiment one
S103 related content, will not be repeated here.
In step S205:First service unit is handled the service request, and result is sent into route sets
It is standby.
In force, asked for different specific services, first service unit can carry out different processing, carry below
For two specific examples, it can specifically include herein below:
Example one:, can be directly by first for such as supplementing the service request of service or the service request of inquiry service etc. with money
Service unit calls the corresponding service execution of the service request to can obtain corresponding result.
Example two:For the service request for the service for changing login banner, if current login banner, amended login
Mark and user profile in other information be respectively allocated in different service units, as shown in figure 3, specifically can include with
Lower content:
Step 301, first service unit obtains the corresponding user's internal standard of amended login banner.
Step 302, first service unit determines corresponding 4th service of increase login banner service according to user's internal standard
Unit.
Step 303, the increase login banner service of the service unit of first service cell call the 4th.
Step 304, the 4th service unit increases amended login banner, and increase result is sent into first service list
Member.
Step 305, first service unit determines increase result when increasing successfully, current login banner to be obtained, it is determined that deleting
Except corresponding 5th service unit of the service of current login banner.
Step 306, the service of the current login banner of deletion of the service unit of first service cell call the 5th.
Step 307, the 5th service unit deletes current login banner, will delete result and is sent to first service unit.
Step 308, first service unit will delete the corresponding modification result of result and be sent to routing device.
In step S206:The result is sent to terminal device by routing device.
It should be noted that the above-mentioned first service unit referred to, the 3rd service unit~the 5th service unit can position
In same physical memory cell, it can also be located in different physical memory cells, the embodiment of the present application is not limited this
It is fixed.
In addition, for the availability and redundancy ability of system where improving user profile, corresponding disaster tolerance plan can be set
Slightly, Information recovering can be carried out to disaster-stricken service unit in several ways, for example, can be to the number in each service unit
According to being backed up, when certain service unit is disaster-stricken, the data in the service unit can be recovered by backing up, Huo Zheye
Can be recovered by historical record, then or after security challenge guide user reset user profile (such as login banner), and or
Person can selection etc. from the contact method of its reservation.
It should be noted that a login banner can only be mapped to a service single under unified routing rule constraint
Member, so, can ensure login banner in global uniqueness as long as ensureing the uniformity of the service unit.
The embodiment of the present application provides a kind of method of blocking system service processing, by including user according to what is received
The service type of the service request of information, it is determined that routing rule corresponding with the service type, it is then possible to according to user profile
Determine to handle the service unit of the service request with the routing rule, the service request is sent into the service unit to determination with right
The service request is handled, so, and different services are handled by different service units, accordingly, in user profile
Corresponding service unit can be also assigned to the corresponding information of different services, the response time is not interfered with not only, and can be with
Realize that the blocking to user profile is disposed, so as to the availability and redundancy ability of system where improving user profile.This
Outside, remaining user profile copy and cache optimization can be relied on, to improve systematic function and availability, and is held by setting
Calamity strategy, after the service unit where log-on message is disaster-stricken, can be recovered using number of ways.
Embodiment three
As shown in Figure 4 A, the embodiment of the present application provides a kind of method that blocking system service is handled, and this method is held
Row main body can jointly be realized for the routing device and first service unit for alloting function with flow, in actual applications, be somebody's turn to do
Routing device can also be a logic unit, can be formed by plurality of devices based on layer structure framework, wherein it is possible to wrap
Include dns resolution equipment, CDN equipment, load-balancing device, across unit agent equipment etc..Specifically include following steps:
In step S401:The service request that routing device receiving terminal apparatus is sent, wherein, the service request includes
User profile.
In the embodiment of the present application, service request is asked for login service, and user profile includes login banner and login is tested
Demonstrate,prove information.
In step S402:Routing device is according to the service type of the service request, it is determined that corresponding with the service type
Routing rule.
In step S403:Route of the routing device according to corresponding to the service type of the login banner and the service request
Rule, it is determined that handling the second service unit of the service request.
In step s 404:Routing device sends the service request to second service unit.
Above-mentioned steps S401~step S404 processing can be respectively referring to step S101~step in above-described embodiment one
S103 related content, will not be repeated here.
If being cached with the information of the 3rd service unit of login authentication service, second service list in second service unit
The login authentication information directly can be sent to the 3rd service unit by member, then, continue executing with step S408~step S410
Processing;If being cached with the information of the 3rd service unit of login authentication service in second service unit, it can perform down
State step S405~step S410 processing.
In step S405:Second service unit obtains the targeted customer internal standard corresponding with the login banner, by the mesh
Mark user's internal standard is sent to routing device.
In step S406:Routing device determines the 3rd service unit corresponding with targeted customer's internal standard.
In step S 407:The login authentication information is sent to the 3rd service unit by routing device.
Above-mentioned steps S401~step S407 processing procedure may refer to the schematic flow sheet shown in Fig. 4 B.Wherein, need
It is noted that some login services only need user to input login banner and login authentication information, and also there are some and log in
Service not only needs the login banner and login authentication information of user, in addition it is also necessary to the mark of the other information of user, such as terminal device
Portion of security information such as knowledge, IP address etc., so, can replicate the safety of the part from the service unit where security information
Information is into second service unit, so as to carry out above-mentioned associated login processing.
In step S408:3rd service unit carries out login authentication to the login authentication information, by login authentication result
It is sent to second service unit.
In step S409:Second service unit obtains login result corresponding with the login authentication result, and this is logged in
As a result it is sent to routing device.
In step S410:The login result is sent to terminal device by routing device.
It should be noted that the above-mentioned first service unit referred to and the 3rd service unit can be deposited positioned at same physics
In storage unit, it can also be located in different physical memory cells, the embodiment of the present application is not limited this.
The embodiment of the present application provides a kind of method of blocking system service processing, by including user according to what is received
The service type of the service request of information, it is determined that routing rule corresponding with the service type, it is then possible to according to user profile
Determine to handle the service unit of the service request with the routing rule, the service request is sent into the service unit to determination with right
The service request is handled, so, and different services are handled by different service units, accordingly, in user profile
Corresponding service unit can be also assigned to the corresponding information of different services, the response time is not interfered with not only, and can be with
Realize that the blocking to user profile is disposed, so as to the availability and redundancy ability of system where improving user profile.This
Outside, remaining user profile copy and cache optimization can be relied on, to improve systematic function and availability, and is held by setting
Calamity strategy, after the service unit where log-on message is disaster-stricken, can be recovered using number of ways.
Example IV
The method of the blocking system service processing provided above for the embodiment of the present application, based on same thinking, this Shen
Please embodiment a kind of blocking system service processing unit is also provided, as shown in Figure 5.
The blocking system service processing unit includes:Receiving module 501, routing rule determining module 502 and service
Processing module 503, wherein:
Receiving module 501, for receiving service request, wherein, the service request includes user profile;
Routing rule determining module 502, for the service type according to the service request, it is determined that with the service type
Corresponding routing rule;
Service processing module 503, for determining that handling the service asks according to the user profile and the routing rule
The service unit asked, the service request is sent to the service unit of determination to handle the service request.
In the embodiment of the present application, the service request is the service request after logging in, and the user profile includes user
Internal standard;
The service processing module 503 is right for the service type institute according to user's internal standard and the service request
The routing rule answered, it is determined that handling the first service unit of the service request.
In the embodiment of the present application, the service request is asked for login service, and the user profile includes login banner
And login authentication information,
The service processing module 503 is right for the service type institute according to the login banner and the service request
The routing rule answered, it is determined that handling the second service unit of the service request;
As shown in fig. 6, described device also includes:
Service unit determining module 504, for sending with the login banner when receive the second service unit
Timestamp in corresponding targeted customer, it is determined that the 3rd service unit corresponding with targeted customer's internal standard;
Sending module 505, for the login authentication information to be sent into the 3rd service unit with to the login
Checking information carries out login authentication.
In the embodiment of the present application, the service processing 503, the Hash values for obtaining the user profile;According to
The hash value and the routing rule determine the service unit of the processing service request.
It should be noted that the above-mentioned first service unit referred to and the 3rd service unit can be deposited positioned at same physics
In storage unit, it can also be located in different physical memory cells, the embodiment of the present application is not limited this.
The embodiment of the present application provides a kind of blocking system service processing unit, by being believed according to the user that includes received
The service type of the service request of breath, it is determined that routing rule corresponding with the service type, it is then possible to according to user profile and
The routing rule determines the service unit of the processing service request, and the service request is sent into the service unit to determination with to this
Service request is handled, so, and different services are handled by different service units, accordingly, in user profile with
The corresponding information of difference service can also be assigned to corresponding service unit, and the response time is not interfered with not only, and can be real
Now the blocking to user profile is disposed, so as to the availability and redundancy ability of system where improving user profile.
Embodiment five
Based on same thinking, the embodiment of the present application also provides a kind of transaction processing system, as shown in Figure 7.
The transaction processing system includes:Routing device 710 and service unit 720, wherein:
The routing device 710, for receiving service request, wherein, the service request includes user profile;According to
The service type of the service request, it is determined that routing rule corresponding with the service type;According to the user profile and institute
The service unit 720 that routing rule determines the processing service request is stated, the service request is sent to the clothes of the determination
Business unit 720;
The service unit 720, for handling the service request.
In the embodiment of the present application, the service unit 720 includes first service unit 721 and second service unit 722, institute
State service request to ask for login service, the user profile includes login banner and login authentication information, wherein:
The second service unit 722, for obtaining the corresponding user's internal standard of the login banner, by the login authentication
Information is sent to the corresponding first service unit 721 of user's internal standard;
The first service unit 721, for carrying out login authentication to the login authentication information, by login authentication result
It is sent to the second service unit 722;
The second service unit 722, is additionally operable to obtain login result corresponding with the login authentication result, will be described
Login result is sent to the routing device 710.
The processing that above-mentioned each service unit is performed, may refer to the related content in above-described embodiment two or embodiment three,
It will not be repeated here.
In the embodiment of the present application, the service unit 720 includes first service unit 721 and second service unit 722, institute
State service request to ask for login service, the user profile includes login banner and login authentication information, wherein:
The second service unit 722, for obtaining the corresponding user's internal standard of the login banner, by user's internal standard
It is sent to the routing device 710;
The routing device 710, is additionally operable to according to user's internal standard, it is determined that the first clothes corresponding with user's internal standard
Business unit, the first service unit 721 is sent to by the login authentication information;
The first service unit 721, for carrying out login authentication to the login authentication information, by login authentication result
It is sent to the second service unit 722;
The second service unit 722, is additionally operable to obtain login result corresponding with the login authentication result, will be described
Login result is sent to the routing device 710.
The processing that above-mentioned each service unit is performed, may refer to the related content in above-described embodiment two or embodiment three,
It will not be repeated here.
In the embodiment of the present application, the service unit also includes the 3rd service unit 723, and the service request is stepped on for modification
The service request of mark is recorded, the business processing request includes user's internal standard and amended login banner,
3rd service unit 723, for obtaining the login banner corresponding with user's internal standard, to described second
Service unit 722, which is sent, includes the modification login banner instruction of the amended login banner;
The second service unit 722, for replacing the login banner using the amended login banner, by institute
State the corresponding modification result of modification login banner instruction and be sent to the 3rd service unit 723;
3rd service unit 723, is additionally operable to the modification result being sent to the routing device 710.
The processing that above-mentioned each service unit is performed, may refer to the related content in above-described embodiment two or embodiment three,
It will not be repeated here.
It should be noted that the above-mentioned first service unit referred to and the 3rd service unit can be deposited positioned at same physics
In storage unit, it can also be located in different physical memory cells, the embodiment of the present application is not limited this.
The embodiment of the present application provides a kind of transaction processing system, by being asked according to the service including user profile received
The service type asked, it is determined that routing rule corresponding with the service type, it is then possible to according to user profile and the routing rule
It is determined that handling the service unit of the service request, the service request is sent to the service unit of determination to enter the service request
Row processing, so, different services are handled by different service units, accordingly, from different service phases in user profile
Corresponding information can also be assigned to corresponding service unit, the response time not interfered with not only, and can realize to user's letter
The blocking deployment of breath, so as to the availability and redundancy ability of system where improving user profile.
In the 1990s, for a technology improvement can clearly distinguish be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (for the improvement of method flow).So
And, with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.
Designer nearly all obtains corresponding hardware circuit by the way that improved method flow is programmed into hardware circuit.Cause
This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, PLD
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, its logic function is determined by user to device programming.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, without asking chip maker to design and make
Special IC chip.Moreover, nowadays, substitution manually makes IC chip, and this programming is also used instead mostly " patrols
Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development,
And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but have many kinds, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description
Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL
(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed are most generally used at present
Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also should
This understands, it is only necessary to slightly programming in logic and be programmed into method flow in integrated circuit with above-mentioned several hardware description languages,
The hardware circuit for realizing the logical method flow can be just readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing
Device and storage can by the computer of the computer readable program code (such as software or firmware) of (micro-) computing device
Read medium, gate, switch, application specific integrated circuit (Application Specific Integrated Circuit,
ASIC), the form of programmable logic controller (PLC) and embedded microcontroller, the example of controller includes but is not limited to following microcontroller
Device:ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, are deposited
Memory controller is also implemented as a part for the control logic of memory.It is also known in the art that except with
Pure computer readable program code mode is realized beyond controller, can be made completely by the way that method and step is carried out into programming in logic
Obtain controller and come real in the form of gate, switch, application specific integrated circuit, programmable logic controller (PLC) and embedded microcontroller etc.
Existing identical function.Therefore this controller is considered a kind of hardware component, and various for realizing to including in it
The device of function can also be considered as the structure in hardware component.Or even, can be by for realizing that the device of various functions is regarded
For that not only can be the software module of implementation method but also can be the structure in hardware component.
System, device, module or unit that above-described embodiment is illustrated, can specifically be realized by computer chip or entity,
Or realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cell phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet PC, wearable device or these equipment
The combination of equipment.
For convenience of description, it is divided into various units during description apparatus above with function to describe respectively.Certainly, this is being implemented
The function of each unit can be realized in same or multiple softwares and/or hardware during application.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program
Product.Therefore, the application can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the application can be used in one or more computers for wherein including computer usable program code
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The application is the flow with reference to method, equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved
State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus
Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein
Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising so that process, method, commodity or equipment including a series of key elements are not only including those key elements, but also wrap
Include other key elements being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described
Also there is other identical element in process, method, commodity or the equipment of element.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product.
Therefore, the application can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Form.Deposited moreover, the application can use to can use in one or more computers for wherein including computer usable program code
The shape for the computer program product that storage media is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The application can be described in the general context of computer executable instructions, such as program
Module.Usually, program module includes performing particular task or realizes routine, program, object, the group of particular abstract data type
Part, data structure etc..The application can also be put into practice in a distributed computing environment, in these DCEs, by
Remote processing devices connected by communication network perform task.In a distributed computing environment, program module can be with
Positioned at including in the local and remote computer-readable storage medium including storage device.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.It is real especially for system
Apply for example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method
Part explanation.
Embodiments herein is the foregoing is only, the application is not limited to.For those skilled in the art
For, the application can have various modifications and variations.It is all any modifications made within spirit herein and principle, equivalent
Replace, improve etc., it should be included within the scope of claims hereof.