CN106775486A - Data access system, method and routing server, configuration center server - Google Patents

Data access system, method and routing server, configuration center server Download PDF

Info

Publication number
CN106775486A
CN106775486A CN201611219850.6A CN201611219850A CN106775486A CN 106775486 A CN106775486 A CN 106775486A CN 201611219850 A CN201611219850 A CN 201611219850A CN 106775486 A CN106775486 A CN 106775486A
Authority
CN
China
Prior art keywords
server
targeted customer
identity
mark
request message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611219850.6A
Other languages
Chinese (zh)
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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN201611219850.6A priority Critical patent/CN106775486A/en
Publication of CN106775486A publication Critical patent/CN106775486A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides data access system, method and routing server, configuration center server, data storage is in multiple database servers, and different database servers is stored with the corresponding data of different user, because different database servers is stored with the corresponding data of different user, with the data volume in the prior art by the data storage of all users for same database, greatly reducing each database server storage.And carry out preset algorithm treatment by using to User Identity, obtain the mode of the mark ID of the database server for storing user's corresponding data, the relation set up between routing server, application server and database server, enables a user to have access to corresponding data.When user's visit capacity is larger, routing server, so as to reduce user's visit capacity of database server, can improve the access efficiency of database server by the different database server of different application server access.

Description

Data access system, method and routing server, configuration center server
Technical field
The invention relates to distributed platform technical field, a kind of data access system, method are more particularly related to And routing server, configuration center server.
Background technology
With developing rapidly for database technology, increasing enterprise starts to use data database storing.For example it is right For banking establishments, can be by data storages such as the bank card information of the user of its own, credit informations in database.
As time go on, the data in database are ever-increasing, such as user is constantly to increase in banking establishments , and the corresponding data of user are also ever-increasing.With the growth of data volume in database, the user of database is accessed not It is disconnected to increase, high concurrent, the scene of the access database of big data quantity necessarily occurs, due to accessing user's mistake of database simultaneously It is many, and the data volume of database purchase is larger, can cause the access efficiency of database reduces.
The content of the invention
In view of this, the invention provides a kind of data access system, method and routing server, configuration center service Device, to overcome in the prior art because the data volume stored in database is larger, when while the user for accessing database is excessive, The problem that the access efficiency of database can be caused to reduce.
To achieve the above object, the present invention provides following technical scheme:
A kind of data access system, including:
Routing server, the request message for receiving targeted customer's transmission carries target use in the request message Family identity;The request message is parsed, targeted customer's identity is obtained, and send to configuration center server; The access path information of the destination application server that the configuration center server sends is received, the destination application server is used In the targeting database server for accessing the storage corresponding data of targeted customer;And according to the destination application server Access path information, the corresponding data of the targeted customer are obtained from the targeting database server, and feed back to institute State targeted customer;
The configuration center server, for targeted customer's identity to be carried out into preset algorithm treatment, is deposited Store up the target identification ID of the targeting database server of targeted customer's corresponding data;According to each database clothes for prestoring The access path information of the mark corresponding application servers of ID of business device, obtains the corresponding intended application clothes of the target identification ID The access path information of business device, and feed back to the routing server;
Multiple database servers, each database server meets pre-conditioned each user and counts accordingly for storage According to, wherein, it is pre-conditioned to carry out the preset algorithm treatment, the database of acquisition including the corresponding User Identity of each user The mark ID of server is identical with the mark ID of the database server for storing itself corresponding data.
Wherein, the number of the access path information of the destination application server for multiple, the routing server according to According to the access path information of the destination application server, targeted customer's phase is obtained from the targeting database server During the data answered, specifically for:
From the access path information of each destination application server, a target access routing information is determined;
The request message is sent into the first object application server with the target access routing information;
Receive the targeted customer that the first object application server is obtained from the targeting database server Corresponding data.
Wherein, the request message also carries component mark ID, and the component mark ID is for indicating the request report The request type of text;
The routing server is parsing the request message, when obtaining targeted customer's identity, specifically for:
From each component mark corresponding user identity types of ID for prestoring, obtain the target element and identify ID pairs The targeted customer's identity type answered;
According to targeted customer's identity type, targeted customer's identity is parsed from the request message.
Wherein, targeted customer's identity is being carried out preset algorithm treatment by the configuration center server, is obtained During the target identification ID of the targeting database server for storing targeted customer's corresponding data, specifically for:
Targeted customer's identity is carried out into preset algorithm treatment, the storage corresponding data of targeted customer are obtained Target storage domain identifier;
From the corresponding storage region mark of mark of each database server for prestoring, the target storage is obtained The target identification of the corresponding targeting database server of area identification.
Wherein, each database server includes multiple storage regions, and one storage region of each storage region correspondence is identified, Each database server when storage meets the corresponding data of pre-conditioned each user, specifically for:
Each storage region storage meets the pre-conditioned corresponding data of each user, described pre-conditioned including each The corresponding User Identity of user carries out the preset algorithm treatment, and the storage region mark of acquisition is corresponding with itself is stored The storage region mark of the storage region of data is identical.
A kind of data access method, is applied to routing server, and the data access method includes:
The request message that targeted customer sends is received, targeted customer's identity is carried in the request message;
The request message is parsed, targeted customer's identity is obtained, and sent to configuration center server, so as to Targeted customer's identity is carried out preset algorithm treatment by the configuration center server, obtains destination application server Access path information, the destination application server is used to access the target database clothes of storage targeted customer's corresponding data Business device;
Receive the access path information of the destination application server that the configuration center server sends;
According to the access path information of the destination application server, obtain described from the targeting database server The corresponding data of targeted customer, and feed back to the targeted customer.
Wherein, the number of the access path information of the destination application server is multiple, described to be answered according to the target With the access path information of server, the corresponding packet of the targeted customer is obtained from the targeting database server Include:
From the access path information of each destination application server, a target access routing information is determined;
The request message is sent into the first object application server with the target access routing information;
Receive the targeted customer that the first object application server is obtained from the targeting database server Corresponding data.
Wherein, the request message also carries component mark ID, and the component mark ID is for indicating the request report The request type of text;
The parsing request message, obtaining targeted customer's identity includes:
From each component mark corresponding user identity types of ID for prestoring, obtain the target element and identify ID pairs The targeted customer's identity type answered;
According to targeted customer's identity type, targeted customer's identity is parsed from the request message.
A kind of data access method, is applied to configuration center server, and the data access method includes:
Targeted customer's identity that routing server sends is received, targeted customer's identity is the route clothes Business device passes through the request message acquisition that targeted customer sends for receiving;
Targeted customer's identity is carried out into preset algorithm treatment, storage targeted customer's corresponding data is obtained The target identification ID of targeting database server;
According to the access path information of the mark corresponding application servers of ID of each database server for prestoring, obtain Obtain the access path information of the corresponding destination application servers of target identification ID;
By the access path feedback of the information of the destination application server to the routing server, so as to the route clothes Business device obtains the target according to the access path information of the destination application server from the targeting database server The corresponding data of user, and feed back to the targeted customer.
Wherein, it is described that targeted customer's identity is carried out into preset algorithm treatment, obtain the storage targeted customer The target identification ID of the targeting database server of corresponding data includes:
Targeted customer's identity is carried out into preset algorithm treatment, the storage corresponding data of targeted customer are obtained Target storage domain identifier;
From the corresponding storage region mark of mark of each database server for prestoring, the target storage is obtained The target identification of the corresponding targeting database server of area identification.
A kind of routing server, including:
Receiver module, the request message for receiving targeted customer's transmission, targeted customer is carried in the request message Identity;
Parsing module, for parsing the request message, obtains targeted customer's identity, and send into configuring Central server, so that targeted customer's identity is carried out preset algorithm treatment by the configuration center server, obtains mesh The access path information of application server is marked, the destination application server is used to access storage targeted customer's corresponding data Targeting database server;
Destination application server module is obtained, for receiving the intended application clothes that the configuration center server sends The access path information of business device;
Reverse proxy forwarding module, for the access path information according to the destination application server, from the target The corresponding data of the targeted customer are obtained in database server, and feeds back to the targeted customer.
A kind of configuration center server, including:
Receiver module, the targeted customer's identity for receiving routing server transmission, targeted customer's identity mark Knowledge is that the request message that targeted customer sends that the routing server passes through to receive is obtained;
Target identification module is obtained, for targeted customer's identity to be carried out into preset algorithm treatment, is stored The target identification ID of the targeting database server of targeted customer's corresponding data;
Access path module is obtained, application takes accordingly for the mark ID according to each database server for prestoring The access path information of business device, obtains the access path information of the corresponding destination application servers of target identification ID;
Feedback module, for by the access path feedback of the information of the destination application server to the routing server, So that the routing server is according to the access path information of the destination application server, from the targeting database server It is middle to obtain the corresponding data of targeted customer, and feed back to the targeted customer.
Understood via above-mentioned technical scheme, compared with prior art, the embodiment of the invention provides a kind of data access System, data storage database server in the multiple database servers and different different user that is stored with is counted accordingly According to because different database servers is stored with the corresponding data of different user, and in the prior art by the number of all users According to storage for same database, the data volume of each database server storage is greatly reduced.And by using to user Identity carries out preset algorithm treatment, obtains the mode of the mark ID of the database server for storing user's corresponding data, The incidence relation set up between routing server, application server and database server, enables a user to have access to Corresponding data.When user's visit capacity is larger, the request message that routing server can send according to each user, by different The different database server of application server access, so as to reduce user's visit capacity of each database server, improves The access efficiency of each database server.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Inventive embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
A kind of structural representation of data access system that Fig. 1 is provided for the embodiment of the present application;
A kind of signaling diagram of data access method that Fig. 2 is provided for the embodiment of the present application;
Fig. 3 is parsing the request message for the routing server that the embodiment of the present application is provided, and obtains the targeted customer The schematic flow sheet of concrete methods of realizing during identity;
Fig. 4 is preset for the configuration center server that the embodiment of the present application is provided by targeted customer's identity Algorithm process, the specific reality during target identification ID of the targeting database server for obtaining storage targeted customer's corresponding data The schematic flow sheet of existing method;
A kind of structural representation of routing server that Fig. 5 is provided for the embodiment of the present application;
The schematic diagram of the specific function for realizing parsing module that Fig. 6 is provided for the embodiment of the present application;
The schematic diagram of the specific function for realizing reverse proxy forwarding module that Fig. 7 is provided for the embodiment of the present application;
The schematic diagram of the specific function for realizing parsing module 52 that Fig. 8 is provided for the embodiment of the present application;
A kind of structural representation of configuration center server that Fig. 9 is provided for the embodiment of the present application.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
Fig. 1 is referred to, is a kind of structural representation of data access system that the embodiment of the present application is provided, the data access System includes:Routing server 11, configuration center server 12 and multiple database servers 13, wherein:
Routing server 11 is used to receive the request message of user's transmission, and user identity mark is parsed from request message Know;Configuration center server 12 is used for according to User Identity, from the access path of multiple application servers 14, obtains mesh Mark the access path information of application server.
All be stored with the reference address of the data server itself being able to access that in each application server 14, and for same For application server 14, what the data that the data server that it is able to access that is stored were just as.
Routing server 11 according to destination application server access path information, from corresponding database server 13 Corresponding data are obtained, and feeds back to targeted customer.
User 10 can be terminal, such as computer, smart mobile phone etc..
Below based on data access system described in Fig. 1, the data access method that the embodiment of the present application is provided is illustrated, As shown in Fig. 2 a kind of signaling diagram of the data access method provided for the embodiment of the present application, the method includes:
Step S201:Routing server 11 is used to receive the request message of targeted customer's transmission, is taken in the request message With targeted customer's identity;The request message is parsed, targeted customer's identity is obtained, and send into configuring Central server 12.
User Identity can be bank card number, login name, login password, credit number etc..
User 10 sends request message, for example, webpage of the user 10 by its Construction Bank of browser access China installed, and Want to inquire about the remaining sum that its Chinese Construction Bank blocks, then in the message of the requesting query remaining sum, just carry with the user identity mark of the user Know.
Step S202:Targeted customer's identity is carried out preset algorithm treatment by configuration center server 12, is obtained Store the target identification ID of the targeting database server of targeted customer's corresponding data.
Preset algorithm can be MD5 (Message Digest Algorithm, Message Digest Algorithm 5) algorithm, Kazakhstan Uncommon algorithm etc..
Now require, the mode of data storage in database server, be also according to the corresponding user identity mark of each data Knowledge carries out default computing, obtains the mark ID for storing the database server of itself.
Step S203:Configuration center server 12 accordingly should according to the mark ID of each database server for prestoring With the access path information of server, the access path information of the corresponding destination application servers of target identification ID is obtained, And feed back to the routing server 11.
All be stored with the reference address of the data server itself being able to access that in each application server 14, and for same For application server 14, what the data that the data server that it is able to access that is stored were just as.Therefore, when determining target After the access path information of application server, destination application server can obtain the target from any database server The corresponding data of user.
Step S204:Routing server 11 receives the access of the destination application server that the configuration center server sends Routing information;And according to the access path information of the destination application server, obtained from the targeting database server The corresponding data of targeted customer are obtained, and feeds back to the targeted customer.
Now, targeted customer can show corresponding interface.
Wherein, the number of the access path information of the destination application server be for that can be one or more, when for many When individual, optionally, step S204 is specifically included:
Step S2041:From the access path information of each destination application server, a target access routing information is determined.
Step S2042:The request message is sent to the first object application with the target access routing information In server.
Step S2043:Receive the institute that the first object application server is obtained from the targeting database server The corresponding data of targeted customer are stated, and feeds back to the targeted customer.
Because step S2041 to step S2043 is optional step, therefore outlined with dotted line frame.
The step of routing server 11 is performed S2042 and step S2043 is reverse proxy forwarding capability, and the function is preferred Can be based on Nginx realize.Nginx is the Web server/Reverse Proxy and Email of a lightweight (IMAP/POP3) proxy server, and issued under a BSD-like agreement.
Routing server 11 in the embodiment of the present application can Nginx and lua be combined into, by the height of Nginx Performance realizes high concurrent routing solution with the abundant extension of LUA.
Lua is a compact script, and its purpose of design is in order to be embedded in application program, so as to be application program Flexible extension and customization function are provided.
Inventive embodiments provide a kind of data access system, and data storage is in multiple database servers and different Database server be stored with the corresponding data of different user, because different database servers is stored with different user phase The data answered, with the prior art by the data storage of all users for same database, greatly reduce each database The data volume of server storage.And by using preset algorithm treatment is carried out to User Identity, obtain and store user's phase Answer the mode of the mark ID of the database server of data, set up routing server, application server and database server it Between incidence relation, enable a user to have access to corresponding data.When user's visit capacity is larger, routing server meeting According to the request message that each user sends, by the different database server of different application server access, so as to reduce User's visit capacity of each database server, improves the access efficiency of each database server.
As shown in figure 3, for the routing server that the embodiment of the present application is provided is parsing the request message, obtaining the mesh The schematic flow sheet of concrete methods of realizing during mark User Identity, wherein request message also carry component mark ID, institute Stating component mark ID is used to indicate the request type of the request message, and the method includes:
Step S301:From each component mark corresponding user identity types of ID for prestoring, the target group is obtained The corresponding targeted customer's identity types of part mark ID.
Optionally, request message includes transaction code, and generally, transaction code has 9 codings, wherein preceding 5 codings As component mark ID.
Component mark ID is different, and corresponding user identity type is different, and such as user identity type is probably login name, silver Row card number etc..
Step S302:According to targeted customer's identity type, the targeted customer is parsed from the request message Identity.
As shown in figure 4, the configuration center server provided for the embodiment of the present application is by targeted customer's identity Preset algorithm treatment is carried out, during the target identification ID of the targeting database server for obtaining storage targeted customer's corresponding data Concrete methods of realizing schematic flow sheet, the method includes:
Step S401:Targeted customer's identity is carried out into preset algorithm treatment, the storage targeted customer is obtained The target storage domain identifier of corresponding data.
One database server can include multiple storage regions, each storage region correspondence one storage region mark.
Accordingly, each storage region storage meets the pre-conditioned corresponding data of each user, the default bar Part carries out the preset algorithm treatment including the corresponding User Identity of each user, and the storage region mark of acquisition is with storage certainly The storage region mark of the storage region of the corresponding data of body is identical.
Step S402:From the corresponding storage region mark of mark of each database server for prestoring, institute is obtained State the target identification of the corresponding targeting database server of target storage domain identifier.
The embodiment of the present application additionally provides a kind of routing server.As shown in figure 5, the one kind provided for the embodiment of the present application The structural representation of routing server, the routing server includes:
Receiver module 51, the request message for receiving targeted customer's transmission carries target use in the request message Family identity.
Parsing module 52, for parsing the request message, obtains targeted customer's identity, and send to configuration Central server, so that targeted customer's identity is carried out preset algorithm treatment by the configuration center server, obtains The access path information of destination application server, the destination application server is used to access storage targeted customer's respective counts According to targeting database server.
It is the schematic diagram of the specific function for realizing parsing module that the embodiment of the present application is provided such as Fig. 6.
Above-mentioned request message can be Xml (Extensible Markup Language, extensible markup language) form, Wherein, getDestApIP is the function for realizing parsing module 52, during the function is realized, is related to 2 tune of function With respectively:GetApIpListFromZK functions and getKeyValFromXml functions.
The function of getApIpListFromZK functions is according to targeted customer's identity to configuration center server internal Obtain the access path information of destination application server.
When destination application server has multiple, the function of getKeyValFromXml functions is to be calculated according to load balancing Method, from the access path information of multiple destination application servers, determines an access path information for destination application server.
Destination application server module 53 is obtained, for receiving the intended application that the configuration center server sends The access path information of server.
Reverse proxy forwarding module 54, for the access path information according to the destination application server, from the mesh The corresponding data of the targeted customer are obtained in mark database server, and feeds back to the targeted customer.
Optionally, the number of the access path information of destination application server is multiple, and reverse proxy forwarding module 54 is wrapped Include:
Determining unit, for from the access path information of each destination application server, determining that a target access path is believed Breath;
Transmitting element, should to the first object with the target access routing information for the request message to be sent With in server;
Receiving unit, for receiving what the first object application server was obtained from the targeting database server The corresponding data of targeted customer, and feed back to the targeted customer.
As shown in fig. 7, the schematic diagram of the specific function for realizing reverse proxy forwarding module provided for the embodiment of the present application.
Above-mentioned request message can be Xml (Extensible Markup Language, extensible markup language) form, Wherein, reverseProxy is the function for realizing parsing module 52, during the function is realized, is related to 2 tune of function With respectively getApIpListFromZK functions, loadbalance functions.
Wherein, the function of loadbalance functions is according to load-balancing algorithm, from the visit of multiple destination application servers Ask in routing information, determine an access path information for destination application server, for example, first object application server.So GetApIpListFromZK functions receive the first object application server and are obtained from the targeting database server afterwards The corresponding data of the targeted customer, and feed back to the targeted customer.
Optionally, request message also carries component mark ID, and the component mark ID is for indicating the request message Request type, the parsing module 52 includes:
Acquiring unit, for from each component mark corresponding user identity types of ID for prestoring, obtaining the mesh The corresponding targeted customer's identity types of mark component mark ID;
Resolution unit, for according to targeted customer's identity type, the target being parsed from the request message User Identity.
As shown in figure 8, the schematic diagram of the specific function for realizing parsing module 52 provided for the embodiment of the present application.
Above-mentioned request message can be Xml (Extensible Markup Language, extensible markup language) form, Wherein, getXmlKeyVal is the function for realizing parsing module 52, during the function is realized, is related to 3 tune of function With respectively getKeyFromconf functions, getKeyValFromXml functions, readConf functions.
First, readConf function performances are to read each component mark corresponding user identity types of ID for prestoring; GetKeyFromconf functions obtain target element mark from each component mark corresponding user identity types of ID for prestoring Know the corresponding targeted customer's identity types of ID;GetKeyValFromXml functions are used for the foundation from the request message of Xml forms Targeted customer's identity type, obtains targeted customer's identity.
As described in Figure 9, the structural representation of a kind of configuration center server for being provided for the embodiment of the present application, in the configuration Central server includes:
Receiver module 91, the targeted customer's identity for receiving routing server transmission, targeted customer's identity Mark is that the request message that targeted customer sends that the routing server passes through to receive is obtained;
Target identification module 92 is obtained, for targeted customer's identity to be carried out into preset algorithm treatment, is deposited Store up the target identification ID of the targeting database server of targeted customer's corresponding data;
Access path module 93 is obtained, is applied accordingly for the mark ID according to each database server for prestoring The access path information of server, obtains the access path information of the corresponding destination application servers of target identification ID;
Feedback module 94, for by the access path feedback of the information of the destination application server to the route service Device, so that the routing server is according to the access path information of the destination application server, from target database clothes The corresponding data of the targeted customer are obtained in business device, and feeds back to the targeted customer.
Optionally, obtaining target identification module 92 includes:
First acquisition unit, for targeted customer's identity to be carried out into preset algorithm treatment, obtains storage described The target storage domain identifier of the corresponding data of targeted customer;
Second acquisition unit, for the corresponding storage region mark of mark from each database server for prestoring In, obtain the target identification of the corresponding targeting database server of target storage domain identifier.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between there is any this actual relation or order.And, term " including ", "comprising" or its any other variant meaning Covering including for nonexcludability, so that process, method, article or equipment including a series of key elements not only include that A little key elements, but also other key elements including being not expressly set out, or also include for this process, method, article or The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", does not arrange Except also there is other identical element in the process including the key element, method, article or equipment.
Each embodiment is described by the way of progressive in this specification, and what each embodiment was stressed is and other The difference of embodiment, between each embodiment identical similar portion mutually referring to.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or uses the application. Various modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can in other embodiments be realized in the case where spirit herein or scope is not departed from.Therefore, the application The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The scope most wide for causing.

Claims (12)

1. a kind of data access system, it is characterised in that including:
Routing server, the request message for receiving targeted customer's transmission, carries targeted customer's body in the request message Part mark;The request message is parsed, targeted customer's identity is obtained, and send to configuration center server;Receive The access path information of the destination application server that the configuration center server sends, the destination application server is used to visit Ask the targeting database server for storing the corresponding data of targeted customer;And according to the visit of the destination application server Routing information is asked, the corresponding data of the targeted customer is obtained from the targeting database server, and feed back to the mesh Mark user;
The configuration center server, for targeted customer's identity to be carried out into preset algorithm treatment, obtains storage institute State the target identification ID of the targeting database server of targeted customer's corresponding data;According to each database server for prestoring The mark corresponding application servers of ID access path information, obtain the corresponding destination application servers of target identification ID Access path information, and feed back to the routing server;
Multiple database servers, each database server is used for storage and meets the pre-conditioned corresponding data of each user, Wherein, it is pre-conditioned to carry out the preset algorithm treatment, the database clothes of acquisition including the corresponding User Identity of each user The mark ID of business device is identical with the mark ID of the database server for storing itself corresponding data.
2. data access system according to claim 1, it is characterised in that the access path letter of the destination application server The number of breath for multiple, the routing server in the access path information according to the destination application server, from the mesh When obtaining the corresponding data of the targeted customer in mark database server, specifically for:
From the access path information of each destination application server, a target access routing information is determined;
The request message is sent into the first object application server with the target access routing information;
Receive the targeted customer that the first object application server obtains from the targeting database server corresponding Data.
3. data access system according to claim 1, it is characterised in that the request message also carries component mark ID, the component mark ID is used to indicate the request type of the request message;
The routing server is parsing the request message, when obtaining targeted customer's identity, specifically for:
From each component mark corresponding user identity types of ID for prestoring, the target element mark ID is obtained corresponding Targeted customer's identity type;
According to targeted customer's identity type, targeted customer's identity is parsed from the request message.
4. data access system according to claim 1, it is characterised in that the configuration center server is by the target User Identity carries out preset algorithm treatment, obtains the targeting database server of storage targeted customer's corresponding data During target identification ID, specifically for:
Targeted customer's identity is carried out into preset algorithm treatment, the mesh of the storage corresponding data of targeted customer is obtained Mark storage region mark;
From the corresponding storage region mark of mark of each database server for prestoring, the target storage domain is obtained Identify the target identification of corresponding targeting database server.
5. the data access system according to claim 1 or 4, it is characterised in that each database server is deposited including multiple Storage area domain, each storage region correspondence one storage region mark, each database server meets pre-conditioned each in storage During the corresponding data of user, specifically for:
Each storage region storage meets the pre-conditioned corresponding data of each user, described pre-conditioned including each user Corresponding User Identity carries out the preset algorithm treatment, storage region mark and itself corresponding data of storage of acquisition Storage region storage region mark it is identical.
6. a kind of data access method, it is characterised in that be applied to routing server, the data access method includes:
The request message that targeted customer sends is received, targeted customer's identity is carried in the request message;
The request message is parsed, targeted customer's identity is obtained, and sent to configuration center server, so as to described Targeted customer's identity is carried out preset algorithm treatment by configuration center server, obtains the access of destination application server Routing information, the destination application server is used to access the target database service of storage targeted customer's corresponding data Device;
Receive the access path information of the destination application server that the configuration center server sends;
According to the access path information of the destination application server, the target is obtained from the targeting database server The corresponding data of user, and feed back to the targeted customer.
7. data access method according to claim 6, it is characterised in that the access path letter of the destination application server The number of breath is multiple, the access path information according to the destination application server, from the target database service The corresponding data of the targeted customer are obtained in device to be included:
From the access path information of each destination application server, a target access routing information is determined;
The request message is sent into the first object application server with the target access routing information;
Receive the targeted customer that the first object application server obtains from the targeting database server corresponding Data.
8. data access method according to claim 6, it is characterised in that the request message also carries component mark ID, the component mark ID is used to indicate the request type of the request message;
The parsing request message, obtaining targeted customer's identity includes:
From each component mark corresponding user identity types of ID for prestoring, the target element mark ID is obtained corresponding Targeted customer's identity type;
According to targeted customer's identity type, targeted customer's identity is parsed from the request message.
9. a kind of data access method, it is characterised in that be applied to configuration center server, the data access method includes:
Targeted customer's identity that routing server sends is received, targeted customer's identity is the routing server What the request message sent by the targeted customer for receiving was obtained;
Targeted customer's identity is carried out into preset algorithm treatment, the target of storage targeted customer's corresponding data is obtained The target identification ID of database server;
According to the access path information of the mark corresponding application servers of ID of each database server for prestoring, institute is obtained State the access path information of the corresponding destination application servers of target identification ID;
By the access path feedback of the information of the destination application server to the routing server, so as to the routing server According to the access path information of the destination application server, the targeted customer is obtained from the targeting database server Corresponding data, and feed back to the targeted customer.
10. data access method according to claim 9, it is characterised in that described to enter targeted customer's identity The treatment of row preset algorithm, obtains the target identification ID bags of the targeting database server of storage targeted customer's corresponding data Include:
Targeted customer's identity is carried out into preset algorithm treatment, the mesh of the storage corresponding data of targeted customer is obtained Mark storage region mark;
From the corresponding storage region mark of mark of each database server for prestoring, the target storage domain is obtained Identify the target identification of corresponding targeting database server.
A kind of 11. routing servers, it is characterised in that including:
Receiver module, the request message for receiving targeted customer's transmission, carries targeted customer's identity in the request message Mark;
Parsing module, for parsing the request message, obtains targeted customer's identity, and send to configuration center clothes Business device, so that targeted customer's identity is carried out preset algorithm treatment by the configuration center server, obtaining target should With the access path information of server, mesh of the destination application server for access storage targeted customer's corresponding data Mark database server;
Destination application server module is obtained, for receiving the destination application server that the configuration center server sends Access path information;
Reverse proxy forwarding module, for the access path information according to the destination application server, from the target data The corresponding data of the targeted customer are obtained in the server of storehouse, and feeds back to the targeted customer.
A kind of 12. configuration center servers, it is characterised in that including:
Receiver module, for receiving targeted customer's identity that routing server sends, targeted customer's identity is The routing server passes through the request message acquisition that targeted customer sends for receiving;
Target identification module is obtained, for targeted customer's identity to be carried out into preset algorithm treatment, storage is obtained described The target identification ID of the targeting database server of targeted customer's corresponding data;
Access path module is obtained, for the corresponding application servers of mark ID according to each database server for prestoring Access path information, obtain the access path information of the corresponding destination application servers of target identification ID;
Feedback module, for by the access path feedback of the information of the destination application server to the routing server, so as to The routing server is obtained according to the access path information of the destination application server from the targeting database server The corresponding data of targeted customer are obtained, and feeds back to the targeted customer.
CN201611219850.6A 2016-12-26 2016-12-26 Data access system, method and routing server, configuration center server Pending CN106775486A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611219850.6A CN106775486A (en) 2016-12-26 2016-12-26 Data access system, method and routing server, configuration center server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611219850.6A CN106775486A (en) 2016-12-26 2016-12-26 Data access system, method and routing server, configuration center server

Publications (1)

Publication Number Publication Date
CN106775486A true CN106775486A (en) 2017-05-31

Family

ID=58926873

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611219850.6A Pending CN106775486A (en) 2016-12-26 2016-12-26 Data access system, method and routing server, configuration center server

Country Status (1)

Country Link
CN (1) CN106775486A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108055312A (en) * 2017-12-07 2018-05-18 畅捷通信息技术股份有限公司 Method for routing and its device and computer installation and its readable storage medium storing program for executing
CN108197176A (en) * 2017-12-21 2018-06-22 深圳四方精创资讯股份有限公司 Core bank data processing method and its system based on distributed type assemblies framework
CN108494870A (en) * 2018-04-03 2018-09-04 中国平安人寿保险股份有限公司 Dynamic data loading method based on CDN and device
CN109144979A (en) * 2018-08-15 2019-01-04 中国建设银行股份有限公司 A kind of data processing method and device based on distribution application system
CN110362581A (en) * 2018-04-04 2019-10-22 阿里巴巴集团控股有限公司 A kind of data processing method and device
CN110543509A (en) * 2019-09-04 2019-12-06 北京奇艺世纪科技有限公司 Monitoring system, method and device for user access data and electronic equipment
CN111353723A (en) * 2020-03-30 2020-06-30 上海至数企业发展有限公司 Method, system, device and storage medium for equipment asset checking
CN112597231A (en) * 2020-12-28 2021-04-02 中国农业银行股份有限公司 Data processing method and device
CN114125076A (en) * 2021-11-18 2022-03-01 苏州极光无限信息技术有限公司 Data forwarding system
CN114356231A (en) * 2021-12-27 2022-04-15 阿里巴巴(中国)有限公司 Data processing method, device and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201690475U (en) * 2010-05-13 2010-12-29 中国工商银行股份有限公司 Application server access system in enterprise local area network
US20130335755A1 (en) * 2006-04-19 2013-12-19 Grandville Printing Company Collaborative method of creating, printing, distributing shelf tags
CN105045897A (en) * 2015-07-31 2015-11-11 华为软件技术有限公司 Business processing system and method capable of supporting capacity expansion of database
CN105447151A (en) * 2015-11-27 2016-03-30 深圳市金蝶友商电子商务服务有限公司 Method for accessing distributed database, data source proxy apparatus and application server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130335755A1 (en) * 2006-04-19 2013-12-19 Grandville Printing Company Collaborative method of creating, printing, distributing shelf tags
CN201690475U (en) * 2010-05-13 2010-12-29 中国工商银行股份有限公司 Application server access system in enterprise local area network
CN105045897A (en) * 2015-07-31 2015-11-11 华为软件技术有限公司 Business processing system and method capable of supporting capacity expansion of database
CN105447151A (en) * 2015-11-27 2016-03-30 深圳市金蝶友商电子商务服务有限公司 Method for accessing distributed database, data source proxy apparatus and application server

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108055312A (en) * 2017-12-07 2018-05-18 畅捷通信息技术股份有限公司 Method for routing and its device and computer installation and its readable storage medium storing program for executing
CN108055312B (en) * 2017-12-07 2021-07-09 畅捷通信息技术股份有限公司 Routing method and device thereof, computer device and readable storage medium thereof
CN108197176A (en) * 2017-12-21 2018-06-22 深圳四方精创资讯股份有限公司 Core bank data processing method and its system based on distributed type assemblies framework
CN108494870B (en) * 2018-04-03 2022-05-17 中国平安人寿保险股份有限公司 CDN-based dynamic data loading method and device
CN108494870A (en) * 2018-04-03 2018-09-04 中国平安人寿保险股份有限公司 Dynamic data loading method based on CDN and device
CN110362581A (en) * 2018-04-04 2019-10-22 阿里巴巴集团控股有限公司 A kind of data processing method and device
CN109144979A (en) * 2018-08-15 2019-01-04 中国建设银行股份有限公司 A kind of data processing method and device based on distribution application system
CN110543509A (en) * 2019-09-04 2019-12-06 北京奇艺世纪科技有限公司 Monitoring system, method and device for user access data and electronic equipment
CN110543509B (en) * 2019-09-04 2022-06-03 北京奇艺世纪科技有限公司 Monitoring system, method and device for user access data and electronic equipment
CN111353723A (en) * 2020-03-30 2020-06-30 上海至数企业发展有限公司 Method, system, device and storage medium for equipment asset checking
CN112597231A (en) * 2020-12-28 2021-04-02 中国农业银行股份有限公司 Data processing method and device
CN114125076A (en) * 2021-11-18 2022-03-01 苏州极光无限信息技术有限公司 Data forwarding system
CN114356231A (en) * 2021-12-27 2022-04-15 阿里巴巴(中国)有限公司 Data processing method, device and computer storage medium
CN114356231B (en) * 2021-12-27 2023-10-20 阿里巴巴(中国)有限公司 Data processing method, device and computer storage medium

Similar Documents

Publication Publication Date Title
CN106775486A (en) Data access system, method and routing server, configuration center server
CN106528432B (en) The construction method and device of test scene data bury a test method
US10127560B2 (en) Methods and systems for facilitating customer support using a social post case feed and publisher
US9112712B2 (en) Service subscription method, system and server
KR101543221B1 (en) - Method Apparatus and System for Providing Muti User-Multi Service
US8544075B2 (en) Extending a customer relationship management eventing framework to a cloud computing environment in a secure manner
CN103685590B (en) Obtain the method and system of IP address
US20190190977A1 (en) System and method of automatic generation and insertion of analytic tracking codes
CN102843357B (en) Access the method for network, application server and system
CN101188625B (en) Method and system for realizing information content subscription
CN104717284B (en) Menu managing method, apparatus and system
CN101217568A (en) A webpage push method, system and device
US9258377B2 (en) Publish information on website
CN103179148B (en) A kind of processing method sharing adnexa in the Internet and system
KR101638315B1 (en) System and method for providing advertisement based on web using wifi network
CN106060004A (en) Database access method and database agent node
CN105939313A (en) State code redirecting method and device
CN101729491A (en) Method, device and system for enhancing application reliability of script-based business
CN103457802A (en) Information transmission system and method
CN101925020A (en) Method and system for binding E-mail addresses and mobile phone number
CN106487655A (en) A kind of method for message interaction, device and processing server
CN103095825A (en) Information management method and system of internet and server
CN110502560A (en) A kind of method and server of Database Connection Parameters encapsulation
CN101567879A (en) Method, server, equipment and system for treating terminal request
CN101753561B (en) Business cluster processing method and cluster 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531

RJ01 Rejection of invention patent application after publication