CN106101055A - The data access method of a kind of multiple database and system thereof and proxy server - Google Patents

The data access method of a kind of multiple database and system thereof and proxy server Download PDF

Info

Publication number
CN106101055A
CN106101055A CN201610285671.6A CN201610285671A CN106101055A CN 106101055 A CN106101055 A CN 106101055A CN 201610285671 A CN201610285671 A CN 201610285671A CN 106101055 A CN106101055 A CN 106101055A
Authority
CN
China
Prior art keywords
domain name
server
access request
proxy server
read
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
CN201610285671.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.)
LeTV Holding Beijing Co Ltd
LeTV Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Information Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LeTV Holding Beijing Co Ltd, LeTV Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610285671.6A priority Critical patent/CN106101055A/en
Publication of CN106101055A publication Critical patent/CN106101055A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0281Proxies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Abstract

The present invention relates to information technology and the communications field, disclose the data access method of a kind of multiple database and system thereof and proxy server.In the present invention, comprise the steps of and the access request of each domain name will be divided into read operation type and write operation type in advance;With the proxy server that the client initiating domain name access request is in co-located region, ask according to the domain name access of client, the action type of detection domain name access request;If read operation type, then proxy server is by the read operation of the local data base to same position region, the domain name access request of customer in response end;If write operation type, then proxy server is by the read-write operation to MDL, the domain name access request of customer in response end;Data in MDL be synchronized to termly region, each proxy server position from data base.In terms of existing technologies, it is ensured that the response speed of data base's read-only operation;And ensure that the robustness of database synchronization.

Description

The data access method of a kind of multiple database and system thereof and proxy server
Technical field
The present invention relates to information technology and the communications field, particularly to the data access method of a kind of multiple database and be System and proxy server.
Background technology
Being in the today of " connected economy ", either individual, colony or enterprise all must be by interconnection ability shadows mutually Ring, could seeking development or searching opportunity.Perhaps internet can be by past to enterprise, client, affiliate and potential business The person that has come couples together in an optimal manner, but how could provide satisfied acquisition of information and way of submission between which, Wherein, database technology still plays important role.
Especially with the globalization of Pocket phone shop, the user of zones of different can log in same domain name system, for this The situation of kind, the server response time of zones of different can be different, cause user to experience and differ, and, data base is generally arranged at Domestic, as ensureing quickly response, it is desirable to be required for both at home and abroad arranging data base, zones of different data base can be caused the most again Data, it is difficult to the problem ensureing Complete Synchronization.
Summary of the invention
It is an object of the invention to provide the data access method of a kind of multiple database and system thereof and proxy server, make The robustness of the response speed and database synchronization that obtain data base's read-only operation is ensured.
For solving above-mentioned technical problem, embodiments of the present invention provide the data access method of a kind of multiple database, Comprise the steps of
The access request of each domain name will be divided into read operation type and write operation type in advance;
It is in the proxy server of co-located region, according to the territory of client with the client initiating domain name access request Name access request, the action type of detection domain name access request;
If read operation type, then proxy server is by the read operation of the local data base to same position region, The domain name access request of customer in response end;If write operation type, then proxy server is by grasping the read-write of MDL Make, the domain name access request of customer in response end;
Data in MDL be synchronized to termly region, each proxy server position from data base.
Embodiments of the present invention additionally provide the data access system of a kind of multiple database, comprise: MDL and extremely Few one from data base, several proxy servers, wherein, each proxy server comprises respectively:
Memory module, for storing the action type of access request of each domain name, action type comprise read operation type and Write operation type;
Detection module, asks for the domain name access according to client, the action type of detection domain name access request;
Respond module, for when detection module detects read operation type, by the local number to same position region According to the read operation in storehouse, the domain name access request of customer in response end;When detection module detects write operation type, by main number According to the read-write operation in storehouse, the domain name access request of customer in response end;
Data in MDL be synchronized to termly region, each proxy server position from data base.
Embodiments of the present invention additionally provide a kind of proxy server, comprise:
Memory module, for storing the action type of access request of each domain name, action type comprise read operation type and Write operation type;
Detection module, asks for the domain name access according to client, the action type of detection domain name access request;
Respond module, for when detection module detects read operation type, by the local number to same position region According to the read operation in storehouse, the domain name access request of customer in response end;When detection module detects write operation type, by main number According to the read-write operation in storehouse, the domain name access request of customer in response end.
In terms of existing technologies, cloud server accesses embodiment of the present invention according to the client domain name received Request region, present position, the proxy server sending the request to same position processes, by proxy server according to The action type of domain name access request, selects the target database of operation.In need not change in data base due to read operation Hold, therefore by directly reading the local data base being in same position region, it is ensured that response speed;And write operation needs Content in change data base, the most no matter which region proxy server is in, and all unifies to enter the content in MDL Row write operate, be re-synchronised to other bands of position from data base so that the data base of zones of different, the data of storage are complete Complete consistent, it is ensured that the robustness of synchronization.
It addition, according to the band of position detected, domain name access request is forwarded to the agency service of co-located region In the step of device, comprise: in cloud server judges client location region, if comprise multiple proxy server; If comprising multiple proxy server, then cloud server selects a proxy server according to preset strategy;Cloud server Domain name access request is forwarded to the proxy server selected.Cloud server according to preset strategy from multiple proxy servers Selecting a most suitable proxy server, during this, can domain name access request be equalized transfers to different agencies Perform on server, it is achieved load balancing, increase system scalability, availability and ease of manageability.
It addition, proxy server is by the read operation of the local data base to same position region, the territory of customer in response end In the step of name access request, comprise following sub-step: proxy server is to the application programming being in same position region Interface API server initiates the read operation request of data base;API server is according to read operation request, to being in same position district The local data base in territory carries out read operation;Proxy server is by the read-write operation to MDL, the domain name of customer in response end In the step of access request, comprise following sub-step: the proxy server API server to region, MDL position is sent out Play the read-write operation request of data base;The API server in region, MDL position, according to read-write operation request, to master Data base is written and read operation.
API technology provides data sharing for various different platforms so that the complicated quality of data ensures that work is in data Provider processes, and compared with in other platform processes, more ensure that the quality of data, the risk damaging the quality of data is dropped to Little.And API technology can obtain latest data so that the transmission of data is fast accurately and in time with the multiple system of Seamless integration- Speed, safety.And, if read operation request, then by local API server, local data base is carried out read operation, as Fruit is write operation requests, just by the API server of master data region, MDL is carried out write operation, it is to avoid API The server read-write operation to strange land data base, it is ensured that data transmission security.
Accompanying drawing explanation
Fig. 1 is the flow chart of the data access method of a kind of multiple database according to first embodiment of the invention;
Fig. 2 is the structural representation of the data access system of a kind of multiple database of third embodiment of the invention;
Fig. 3 is the structural representation of a kind of proxy server of four embodiment of the invention.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with the accompanying drawing each reality to the present invention The mode of executing is explained in detail.But, it will be understood by those skilled in the art that in each embodiment of the present invention, In order to make reader be more fully understood that, the application proposes many ins and outs.But, even if there is no these ins and outs and base Many variations and amendment in following embodiment, it is also possible to realize the application each claim technical side required for protection Case.
First embodiment of the present invention relates to the data access method of a kind of multiple database.Idiographic flow as it is shown in figure 1, The present embodiment specifically includes:
In step 101, cloud server judges whether that receiving the domain name access from client asks, if high in the clouds clothes The domain name access that business device receives from client is asked, then enter step 102, otherwise, repeat this step.Concrete Saying, domain name is to be climbed up the address of network by client, and popular says, domain name is equivalent to the house number of one family, its Other people are easily found " people " to be looked for by this number.The client that user uses can be computer, mobile phone or flat board Computer etc..
Cloud server, it is first determined whether receive the domain name access request that client sends, i.e. needs to access as user During certain page, will input a domain name in the position of web page address, the electronic equipment such as computer, mobile phone can send one automatically Domain name access asks cloud server.If cloud server does not receive domain name access request, this cloud server meeting one The access request that straight wait is new.
In step 102, cloud server, according to the internetworking Protocol IP address of client, detects residing for this client The band of position.Specifically, internetworking Protocol IP address is a kind of unified address format that IP agreement provides, and IP agreement is Each network on the Internet and each station terminal one logical address of distribution, shield the difference of physical address with this.Logical Saying of custom, each terminal number that IP address is used on the Internet, terminal here can be the electronics such as computer, mobile phone Equipment.The terminal being numbered by these, just can ensure that normal communication.Internetworking Protocol IP address carries position The information in region, cloud server views the lane place of this client by detection client internetworking Protocol IP address Territory, thus reasonably distribute.
Such as, a computer being in the U.S., user have input webpage to be checked in the position of browser address bar The domain name addresses of address, i.e. this website.This computer can send domain name access request from trend cloud server, works as cloud server Receive the request of this domain name access, the request of this domain name access can be resolved and checks between the net sending domain name access request computer Interconnection protocol IP address, by the information carried on this IP address, it is possible to determine that this computer location region is the U.S..
In step 103, domain name access request, according to the band of position detected, is forwarded to and client by cloud server It is in the proxy server of co-located region.Specifically, proxy server is a kind of special network service, it is allowed to one The network terminal (generally client) is served another network terminal (generally server) by this and is carried out non-immediate Connect.The function of proxy server is exactly that agency network user goes to obtain the network information, and a proxy server is the most permissible Being interpreted as the terminal of the network information, it can significantly improve surfing and the efficiency of network data, and for being positioned at phase The effect of the proxy server in co-located region, this raising speed and efficiency is more very.Therefore, cloud server can be according to inspection Measure the band of position of the client sending domain name access request, be that this client finds one in the identical or nearest band of position Platform proxy server, is used for acting on behalf of this client and quickly obtains networking information.
In step 104, proxy server judges whether the domain name access received request is read-only operation type, if receiving To domain name access request be read-only operation type, then enter step 105, otherwise, enter step 106.Specifically, in advance will The access request of each domain name is divided into read operation type and write operation type.Such as, territory in the domain name access request of client Webpage associated by Ming is the webpage of read-only type, and user can only browse the information of webpage, and cannot add or revise net The content of page, then the access request of this type of domain name is just divided into read operation type;If domain name access can be asked by client Webpage associated by middle domain name carries out interpolation or the amendment of content, as inputted account, password etc., then by the domain name of this type of client Access request is divided into write operation type.
It is in the proxy server of co-located region, according to the territory of client with the client initiating domain name access request Name access request, the action type of detection domain name access request.Wherein, for the domain name of read-only operation type Yu write operation type Access request, performs different subsequent operations.Domain name access for read-only operation type is asked, and client will not be to access The content of domain name addresses make any amendment, the speed of response is a index the most important;For write operation type Domain name access is asked, and client needs the content of the domain name addresses accessed is made amendment, and this will further relate to data Stationary problem, it is ensured that the robustness of synchronization becomes more crucial factor.
In step 105, proxy server is by the read operation of the local data base to same position region, customer in response end Domain name access request.Specifically, in data base, preserve in the access information that client needs proxy server to obtain Hold, in multidatabase system, generally comprise a MDL and multiple from data base.In the present embodiment, master data Storehouse allows read operation and write operation, only allows read operation from data base.It is to say, all operation classes relevant with write operation Type, is all carried out on MDL;And read operation type, then shared and carried out from data base, so can be greatly improved The efficiency read.In general internet, applications, the read operation type of client and the ratio of write operation type are about 10: 1, say, that substantial amounts of data manipulation type is to concentrate in the action type of reading.
In this step, reason server is initiated to the application programming interface API server being in same position region The read operation request of data base;The local data base being in same position region, according to read operation request, is carried out by API server Read operation.
Specifically, application programming interface API is one group of definition, program and the set of agreement, real by api interface Being in communication with each other between existing computer.Application programming interface API is also middleware simultaneously, provides number for various different platforms According to sharing.Application programming interface API is the mode of a kind of real-time acquisition data, is also the most best mode.If it is objective The domain name access request of family end is read operation request, then by local API server, local data base is carried out read operation, API server will not carry out read operation to strange land data base, ensures data transmission meeting by calling application programming interface API Safer.
In step 106, proxy server is by the read-write operation to MDL, and the domain name access of customer in response end please Ask.Specifically, the read-write operation of the proxy server API server initiation data base to region, MDL position please Ask;The API server in region, MDL position, according to read-write operation request, is written and read operation to MDL.
If it is to say, the domain name access request of client is write operation requests, then needed by master data region API server MDL is carried out write operation, proxy server relates to this number for the write operation type of data base According to the change of content in storehouse, the robustness problem of this safety having related to data-base content and synchronization, by master data institute API server in region to MDL in the change of content, it is to avoid the API server write operation to strange land data base, Guarantee data transmission security.
Such as, a client request being positioned at the U.S. accesses the domain name belonging to write operation type, then a cloud service Device can first find and be in the U.S. agent server of same geographic location with this client, and proxy server passes through MDL institute The operation that MDL is write by the API server in region, if the geographical position of this MDL is positioned at China, then acts on behalf of Server will carry out write operation by the API server of China to the MDL in China.
In step 107, the data in MDL be synchronized to termly region, each proxy server position from number According to storehouse.Specifically, proxy server, for the write operation in MDL, can change the content in MDL, but this The content of a little changes can't see from data base, is regularly synchronized to each proxy server by data in MDL Region, position from data base so that keep from data base and content consistent in MDL, it is achieved data same Step, and by MDL to from the synchronization of database data, it is ensured that the robustness of synchronization.
Relative to prior art, cloud server, please by domain name access according to the client domain name access request received The proxy server being sent to same position is asked to be written and read operation, by the proxy server local number to same position region Read operation according to storehouse, it is ensured that the response speed of data base's read-only operation.By proxy server, the read-write of MDL is grasped Make and MDL be regularly synchronized to region, each proxy server position from data base, it is ensured that database synchronization Robustness.
Second embodiment of the present invention relates to the data access method of a kind of multiple database.Second embodiment and first Embodiment is roughly the same, is in place of the main distinction: in the first embodiment, and cloud server is not to proxy server Selection mode method make restriction.And in second embodiment of the invention, server, will according to the band of position detected In the step of the proxy server that domain name access request is forwarded to co-located region, comprise: cloud server judges client In location region, if comprise multiple proxy server;If comprising multiple proxy server, then cloud server root A proxy server is selected according to preset strategy;Domain name access request is forwarded to the proxy server selected by cloud server.
If additionally, it will be understood by those skilled in the art that cloud server location region includes multiple agency Server, cloud server selects an agency service first with Linux virtual server LVS cluster and according to preset strategy Device.Predetermined policy be cloud server according to load balancing principle, select a proxy server.Linux virtual server LVS Being a virtual server cluster system, LVS cluster uses IP load-balancing technique and based on content requests distribution technology, will Request is balancedly transferred to perform on different proxy servers, thus one group of server is constituted high-performance, a High Availabitity Virtual server.Rational proxy server can be selected by Linux virtual server LVS cluster and preset strategy, from And reaching the equilibrium of load so that the reading and writing of proxy server operate effectively, substantially increase the scalable of system Property.
The step of the most various methods divides, and is intended merely to describe clear, it is achieved time can merge into a step or Some step is split, is decomposed into multiple step, as long as comprising identical logical relation, all at the protection domain of this patent In;To adding inessential amendment in algorithm or in flow process or introducing inessential design, but do not change its algorithm With the core design of flow process all in the protection domain of this patent.
Third embodiment of the invention relates to the data access system of a kind of multiple database, as in figure 2 it is shown, comprise: main number According to storehouse with at least one from data base, several proxy servers, the cloud server being connected with proxy server communication, some Individual application programming interface API server, each API server respectively with MDL or be in same position region from number Communicate to connect according to storehouse.
Cloud server comprises:
Receiver module, asks for receiving the domain name access from client;
Forwarding module, is in the agency service of co-located region with client for domain name access request being forwarded to Device.
Each proxy server comprises respectively:
Memory module, for storing the action type of access request of each domain name, action type comprise read operation type and Write operation type;
Detection module, asks for the domain name access according to client, the action type of detection domain name access request;
Respond module, for when detection module detects read operation type, by the local number to same position region According to the read operation in storehouse, the domain name access request of customer in response end;When detection module detects write operation type, by main number According to the read-write operation in storehouse, the domain name access request of customer in response end.
The respond module of proxy server for initiating the reading behaviour of data base to the API server being in same position region Ask, through this API server, the local data base being in same position region is carried out read operation;
The respond module of proxy server initiates data base's for the API server to region, MDL position Read-write operation request, is written and read operating to MDL through this API server.
Data in MDL be synchronized to termly region, each proxy server position from data base.
It is seen that, present embodiment is the system embodiment corresponding with the first embodiment, and present embodiment can be with First embodiment is worked in coordination enforcement.The relevant technical details mentioned in first embodiment the most still has Effect, in order to reduce repetition, repeats no more here.Correspondingly, the relevant technical details mentioned in present embodiment is also applicable in In first embodiment.
It is noted that each module involved in present embodiment is logic module, in actual applications, one Individual logical block can be a physical location, it is also possible to be a part for a physical location, it is also possible to multiple physics lists The combination of unit realizes.Additionally, for the innovative part highlighting the present invention, will be with solution institute of the present invention in present embodiment The unit that the technical problem relation of proposition is the closest introduces, but this is not intended that in present embodiment the list that there is not other Unit.
Four embodiment of the invention relates to a kind of proxy server, as it is shown on figure 3, comprise:
Memory module, for storing the action type of the access request of each domain name, described action type comprises read operation class Type and write operation type;
Detection module, asks for the domain name access according to client, the action type of detection domain name access request;
Respond module, for when described detection module detects read operation type, by the basis to same position region The read operation of ground data base, responds the domain name access request of described client;Write operation type is detected at described detection module Time, by the read-write operation to MDL, respond the domain name access request of described client.
Owing to the first embodiment is the most corresponding with present embodiment, therefore present embodiment can be mutual with the first embodiment Match enforcement.The relevant technical details mentioned in first embodiment is the most effective, implements first The technique effect that can reach in mode is the most too it is achieved that in order to reduce repetition, the most superfluous State.Correspondingly, the relevant technical details mentioned in present embodiment is also applicable in the first embodiment.
It will be understood by those skilled in the art that the respective embodiments described above are to realize the specific embodiment of the present invention, And in actual applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.

Claims (10)

1. the data access method of a multiple database, it is characterised in that comprise the steps of
The access request of each domain name will be divided into read operation type and write operation type in advance;
It is in the proxy server of co-located region, according to the territory of described client with the client initiating domain name access request Name access request, the action type of detection domain name access request;
If read operation type, the most described proxy server by the read operation of the local data base to same position region, Respond the domain name access request of described client;If write operation type, the most described proxy server is by MDL Read-write operation, respond described client domain name access request;
Data in described MDL be synchronized to termly region, each proxy server position from data base.
The data access method of multiple database the most according to claim 1, it is characterised in that examine at described proxy server Before the step of the action type surveying domain name access request, also comprise:
The domain name access that cloud server receives from client is asked;
Domain name access request is forwarded to be in the agency of co-located region with described client by described cloud server Server.
The data access method of multiple database the most according to claim 2, it is characterised in that described cloud server is by institute State domain name access request to be forwarded to be in described client in the step of the proxy server of co-located region, comprise following Sub-step:
Described cloud server, according to the internetworking Protocol IP address of described client, detects this client location district Territory;
Described server according to described in the band of position that detects, domain name access request is forwarded to co-located region Proxy server.
The data access method of multiple database the most according to claim 3, it is characterised in that described server is according to described The band of position detected, in the step of the proxy server that domain name access request is forwarded to co-located region, bag Contain:
In described cloud server judges described client location region, if comprise multiple proxy server;
If comprising multiple proxy server, the most described cloud server selects a proxy server according to preset strategy;
Domain name access request is forwarded to the proxy server of described selection by described cloud server.
The data access method of multiple database the most according to claim 4, it is characterised in that at described cloud server root Selecting according to preset strategy in the step of a proxy server, described cloud server, according to load balancing principle, selects one Proxy server.
The data access method of multiple database the most according to claim 1, it is characterised in that described proxy server passes through Read operation to the local data base in same position region, responds in the step of domain name access request of described client, comprises Following sub-step:
Described proxy server initiates the reading of data base to the application programming interface API server being in same position region Operation requests;
The described local data base being in same position region, according to described read operation request, is read by described API server Operation;
Described proxy server, by the read-write operation to MDL, responds the step of the domain name access request of described client In, comprise following sub-step:
The described proxy server API server to region, described MDL position initiates the read-write operation of data base please Ask;
The API server in region, described MDL position, according to described read-write operation request, enters described MDL Row read-write operation.
7. a data access system for multiple database, comprises MDL and at least one is from data base, it is characterised in that also Comprising: several proxy servers, each proxy server comprises respectively:
Memory module, for storing the action type of access request of each domain name, described action type comprise read operation type and Write operation type;
Detection module, asks for the domain name access according to client, the action type of detection domain name access request;
Respond module, for when described detection module detects read operation type, by the local number to same position region According to the read operation in storehouse, respond the domain name access request of described client;When described detection module detects write operation type, logical Cross the read-write operation to MDL, respond the domain name access request of described client;
Data in described MDL be synchronized to termly region, each proxy server position from data base.
The data access system of multiple database the most according to claim 7, it is characterised in that also comprise: with described agency The cloud server that server communication connects, described cloud server comprises:
Receiver module, asks for receiving the domain name access from client;
Forwarding module, takes for domain name access request is forwarded to be in described client the agency of co-located region Business device.
The data access system of multiple database the most according to claim 7, it is characterised in that also comprise: several application Program Interfaces API server;Each API server respectively with MDL or be in same position region from data base lead to Letter connects;
The respond module of described proxy server for initiating the reading behaviour of data base to the API server being in same position region Ask, through this API server, the local data base being in same position region is carried out read operation;
The respond module of described proxy server initiates data for the API server to region, described MDL position The read-write operation request in storehouse, is written and read operating to described MDL through this API server.
10. a proxy server, it is characterised in that comprise:
Memory module, for storing the action type of access request of each domain name, described action type comprise read operation type and Write operation type;
Detection module, asks for the domain name access according to client, the action type of detection domain name access request;
Respond module, for when described detection module detects read operation type, by the local number to same position region According to the read operation in storehouse, respond the domain name access request of described client;When described detection module detects write operation type, logical Cross the read-write operation to MDL, respond the domain name access request of described client.
CN201610285671.6A 2016-04-29 2016-04-29 The data access method of a kind of multiple database and system thereof and proxy server Pending CN106101055A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610285671.6A CN106101055A (en) 2016-04-29 2016-04-29 The data access method of a kind of multiple database and system thereof and proxy server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610285671.6A CN106101055A (en) 2016-04-29 2016-04-29 The data access method of a kind of multiple database and system thereof and proxy server

Publications (1)

Publication Number Publication Date
CN106101055A true CN106101055A (en) 2016-11-09

Family

ID=57229282

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610285671.6A Pending CN106101055A (en) 2016-04-29 2016-04-29 The data access method of a kind of multiple database and system thereof and proxy server

Country Status (1)

Country Link
CN (1) CN106101055A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106970934A (en) * 2017-01-16 2017-07-21 平安银行股份有限公司 Trading processing control method and system
CN107094175A (en) * 2017-04-21 2017-08-25 深圳创维数字技术有限公司 A kind of server disposition structure and interoperability methods for realizing interworking between network
CN108718236A (en) * 2018-05-21 2018-10-30 西安交通大学 The data transmission method of internet self-organizing confluence
CN109859358A (en) * 2019-01-31 2019-06-07 深圳市多度科技有限公司 Door-access control method and device, electronic equipment, computer readable storage medium
CN110362581A (en) * 2018-04-04 2019-10-22 阿里巴巴集团控股有限公司 A kind of data processing method and device
CN112199401A (en) * 2020-11-30 2021-01-08 阿里云计算有限公司 Data request processing method, device, server, system and storage medium
CN112532576A (en) * 2020-10-20 2021-03-19 湖南红普创新科技发展有限公司 Gateway data interaction method and device, computer equipment and storage medium
CN115481187A (en) * 2022-09-28 2022-12-16 北京亚控科技发展有限公司 Data reading and writing method and device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6314533B1 (en) * 1998-09-21 2001-11-06 Microsoft Corporation System and method for forward custom marshaling event filters
CN102426594A (en) * 2011-10-31 2012-04-25 沈文策 Method and system for operating database
CN102624920A (en) * 2012-03-31 2012-08-01 奇智软件(北京)有限公司 Method and device for performing access through proxy server
CN103561084A (en) * 2013-10-30 2014-02-05 北京荣之联科技股份有限公司 Method and device for optimal access configuration of remote multiple-data-center cloud storage
CN104954488A (en) * 2015-06-30 2015-09-30 北京奇虎科技有限公司 Method and distribution server for network access control as well as network access system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6314533B1 (en) * 1998-09-21 2001-11-06 Microsoft Corporation System and method for forward custom marshaling event filters
CN102426594A (en) * 2011-10-31 2012-04-25 沈文策 Method and system for operating database
CN102624920A (en) * 2012-03-31 2012-08-01 奇智软件(北京)有限公司 Method and device for performing access through proxy server
CN105100260A (en) * 2012-03-31 2015-11-25 北京奇虎科技有限公司 Method and device for carrying out access through proxy server
CN103561084A (en) * 2013-10-30 2014-02-05 北京荣之联科技股份有限公司 Method and device for optimal access configuration of remote multiple-data-center cloud storage
CN104954488A (en) * 2015-06-30 2015-09-30 北京奇虎科技有限公司 Method and distribution server for network access control as well as network access system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
周旭龙: "【大型网站技术实践】初级篇:搭建MySQL主从复制经典架构", 《HTTPS://WWW.CNBLOGS.COM/EDISONCHOU/P/4133148.HTML》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106970934A (en) * 2017-01-16 2017-07-21 平安银行股份有限公司 Trading processing control method and system
CN107094175A (en) * 2017-04-21 2017-08-25 深圳创维数字技术有限公司 A kind of server disposition structure and interoperability methods for realizing interworking between network
CN107094175B (en) * 2017-04-21 2020-12-29 深圳创维数字技术有限公司 Server deployment system for realizing internetwork intercommunication and intercommunication method
CN110362581A (en) * 2018-04-04 2019-10-22 阿里巴巴集团控股有限公司 A kind of data processing method and device
CN108718236A (en) * 2018-05-21 2018-10-30 西安交通大学 The data transmission method of internet self-organizing confluence
CN109859358A (en) * 2019-01-31 2019-06-07 深圳市多度科技有限公司 Door-access control method and device, electronic equipment, computer readable storage medium
CN112532576A (en) * 2020-10-20 2021-03-19 湖南红普创新科技发展有限公司 Gateway data interaction method and device, computer equipment and storage medium
CN112199401A (en) * 2020-11-30 2021-01-08 阿里云计算有限公司 Data request processing method, device, server, system and storage medium
CN115481187A (en) * 2022-09-28 2022-12-16 北京亚控科技发展有限公司 Data reading and writing method and device and storage medium
CN115481187B (en) * 2022-09-28 2023-11-21 北京亚控科技发展有限公司 Data reading and writing method, device and storage medium

Similar Documents

Publication Publication Date Title
CN106101055A (en) The data access method of a kind of multiple database and system thereof and proxy server
US20230224273A1 (en) Network containers
US8918599B2 (en) Integrated storage platform system and method thereof
CN104380278B (en) Equipment, system and method for client-side management session continuity
CN103475682B (en) File transfer method and file transfer equipment
CN103596066B (en) Method and device for data processing
CN105338016B (en) Data high-speed caching method and device and resource request response method and device
CN108470298A (en) The methods, devices and systems of resource numerical value transfer
CN110120917A (en) Method for routing and device based on content
CN106933871A (en) Short linking processing method, device and short linked server
CN110197075A (en) Resource access method, calculates equipment and storage medium at device
EP4109861A1 (en) Data processing method, apparatus, computer device, and storage medium
CN107580011A (en) A kind of data sharing method and desktop cloud server terminal
CN109600458B (en) Website access method and device
CN109756584A (en) Domain name analytic method, domain name mapping device and computer readable storage medium
CN107172214A (en) A kind of service node with load balancing finds method and device
CN113630479A (en) Domain name resolution method and related product
CN109981569A (en) Network system access method, device, computer equipment and readable storage medium storing program for executing
CN110505074A (en) A kind of application module integrated approach and device
CN108207012A (en) A kind of flow control methods, device, terminal and system
CN106325936A (en) Rapid access method and rapid access system for application program
CN111901412B (en) Data processing method and computer readable storage medium
US11853806B2 (en) Cloud computing platform that executes third-party code in a distributed cloud computing network and uses a distributed data store
CN109271438A (en) A kind of data bank access method and its system
CN109936575B (en) Page access method, device, storage medium and processor

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161109