CN103561084A - Method and device for optimal access configuration of remote multiple-data-center cloud storage - Google Patents

Method and device for optimal access configuration of remote multiple-data-center cloud storage Download PDF

Info

Publication number
CN103561084A
CN103561084A CN201310528827.5A CN201310528827A CN103561084A CN 103561084 A CN103561084 A CN 103561084A CN 201310528827 A CN201310528827 A CN 201310528827A CN 103561084 A CN103561084 A CN 103561084A
Authority
CN
China
Prior art keywords
address
data center
cloud dish
client
optimum
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
CN201310528827.5A
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.)
UNITED ELECTRONICS CO Ltd
Original Assignee
UNITED ELECTRONICS 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 UNITED ELECTRONICS CO Ltd filed Critical UNITED ELECTRONICS CO Ltd
Priority to CN201310528827.5A priority Critical patent/CN103561084A/en
Publication of CN103561084A publication Critical patent/CN103561084A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for the optimal access configuration of remote multiple-data-center cloud storage. The method comprises the steps that an access request sent by a cloud disk client side to a cloud disk data center is received, and the ip address of a host of the cloud disk client side is obtained; according to the ip address of the host of the cloud disk client side, a database of a cloud disk server is retrieved, the ip address of an optimal access data center is obtained, and the ip address of the optimal access data center is returned to the cloud disk client side; the ip address of the optimal access data center is received and compared with a storage value of a local database, if the ip address is identical to the storage value, the storage value is not changed, and if the ip address is different from the storage value, the storage value is updated to be the ip address of the optimal access data center. The invention further discloses a device for the optimal access configuration of remote multiple-data-center cloud storage. By the adoption of the method and device for the optimal access configuration of remote multiple-data-center cloud storage, the efficient optimal access configuration is achieved, the access speed is improved, and flow is saved for a user.

Description

Many data centers of a kind of strange land cloud optimal storage access configuration method and apparatus
Technical field
The present invention relates to cloud technical field of memory, refer to especially many data centers of a kind of strange land cloud optimal storage access configuration method and apparatus.
Background technology
Along with research and the practice of cloud computing technology, cloud storage, cloud dish, net disc system be being developed, implementing and using in , enterprise along with the librarian use in many areas gradually, and the deployment scheme of the many data centers in strange land is more and more emerged in large numbers.In existing cloud storage architecture, a plurality of data centers can be deployed in different places, in the situation that between current many local area network (LAN)s, communication speed is slower, during cloud storage client-access cloud storage data center, existence cannot realize the problem of optimum access, and user cannot access the own nearest data center of distance, has caused the flow loss across local area network communication, the utilance of the network bandwidth is low, user access of poor quality, experience not good.
Summary of the invention
In view of this, the object of the invention is to propose a kind of province flow, many data centers of high efficiency strange land cloud optimal storage access configuration method and apparatus.
Based on many data centers of above-mentioned purpose a kind of strange land provided by the invention cloud optimal storage access configuration method, comprise the following steps:
Receive the access request that cloud dish client Xiang Yunpan data center sends, and the ip address that obtains described cloud dish client host;
According to the ip address of described cloud dish client host, retrieval cloud dish server database also draws ip address, optimum visit data center, is then returned to described cloud dish client;
Receive ip address, described optimum visit data center, and contrast with the storing value in local data base, if identical, keep described storing value constant; If not identical, to receive described in upgrading described storing value and being ip address, optimum visit data center.
Preferably, described cloud dish server database is asked the ip of the data center mapping (enum) data of address for memory access main frame ip address and its optimum.
Preferably, according to the ip address of described cloud dish client host, in described cloud dish server database, whether retrieval there is the optimum visit data center ip address corresponding with it, if so, this ip address, optimum visit data center is returned; If not, the ip of the data center address of current accessed is returned.
Preferably, further comprise step: the ip address, described optimum visit data center receiving is updated to local hosts file.
Optionally, described cloud dish client is pc client or browser client.
Many data centers of a kind of strange land provided by the invention cloud optimal storage access configuration device, comprising:
Communication module, the access request sending for receiving cloud dish client Xiang Yunpan data center, and the ip address that obtains described cloud dish client host;
Generation module, for according to the ip address of described cloud dish client host, retrieves cloud dish server database and also draws ip address, optimum visit data center, is then returned to described cloud dish client;
Configuration module, for receiving ip address, described optimum visit data center, and contrasts with the storing value in local data base, if identical, keeps described storing value constant; If not identical, to receive described in upgrading described storing value and being ip address, optimum visit data center.
Preferably, described cloud dish server database is asked the ip of the data center mapping (enum) data of address for memory access main frame ip address and its optimum.
Preferably, described generation module is used for according to the ip address of described cloud dish client host, in described cloud dish server database, whether retrieval there is the optimum visit data center ip address corresponding with it, if so, this ip address, optimum visit data center is returned; If not, the ip of the data center address of current accessed is returned.
Preferably, described configuration module is also for being updated to local hosts file by the ip address, described optimum visit data center receiving.
Optionally, described cloud dish client is pc client or browser client.
As can be seen from above, many data centers of a kind of strange land provided by the invention cloud optimal storage access configuration method and apparatus, according to the ip address of request access main frame, in cloud dish server database, retrieval draws its ip address, optimum visit data center, and is saved to local data base, when accessing Yun Pan data center next time, directly access this ip address, optimum visit data center, realize efficient optimum access configuration, promoted access speed, and saved flow for user.
Accompanying drawing explanation
Fig. 1 is the flow chart of many data centers of a kind of strange land of embodiment of the present invention cloud optimal storage access configuration method;
Fig. 2 is the structural representation of many data centers of a kind of strange land of embodiment of the present invention cloud optimal storage access configuration device.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with specific embodiment, and with reference to accompanying drawing, the present invention is described in more detail.
Many data centers of the disclosed a kind of strange land of embodiment of the present invention cloud optimal storage access configuration method, comprises the following steps:
Receive the access request that cloud dish client Xiang Yunpan data center sends, and the ip address that obtains described cloud dish client host;
According to the ip address of described cloud dish client host, retrieval cloud dish server database also draws ip address, optimum visit data center, is then returned to described cloud dish client;
Receive ip address, described optimum visit data center, and contrast with the storing value in local data base, if identical, keep described storing value constant; If not identical, to receive described in upgrading described storing value and being ip address, optimum visit data center.
With reference to figure 1, it is the flow chart of many data centers of a kind of strange land of embodiment of the present invention cloud optimal storage access configuration method.The optimum access configuration method flow of the embodiment of the present invention is as follows:
Step 101: receive the access request that cloud dish client Xiang Yunpan data center sends, and the ip address that obtains described cloud dish client host.
User opens cloud dish client on individual main frame, and cloud dish client Hui Xiang Yi Geyunpan data center sends access request.User, be while using first cloud dish client, the Yun Pan data center of above-mentioned access is the Yun Pan data center of an acquiescence; User is non-while using first cloud dish client, the Yun Pan data center of above-mentioned access is the not necessarily optimum visit data center of this access of ,Dan Gai data center of data center corresponding to the ip of the Yi Ge data center address of storing in local data base.
Step 102: according to the ip address of described cloud dish client host, retrieval cloud dish server database also draws ip address, optimum visit data center, is then returned to described cloud dish client.
Wherein, described cloud dish server database is asked the ip of the data center mapping (enum) data of address for memory access main frame ip address and its optimum.According to being erected at the ip address date distributing in the local area network (LAN) of different geographical, and the ip address date that provides of heterogeneous networks access carrier, set up the mapping (enum) data of the ip address, optimum visit data center that above-mentioned ip address date is corresponding with it, and be stored in the cloud dish server database of network terminal i.e. storage: the mapping relations between access ip address and the optimum visit data center ip address corresponding with it.
Concrete optimum visit data center ip address generating method is: according to the ip address of described cloud dish client host, in described cloud dish server database, whether retrieval there is the optimum visit data center ip address corresponding with it, if so, this ip address, optimum visit data center is returned; If not, the ip of the data center address of current accessed is returned.
When not retrieving in cloud dish server database when accessing ip address, optimum visit data center corresponding to main frame ip address, the data center's acquiescence of this access of usining is returned as the ip address of optimum visit data center ,Jiang Gai data center.
Step 103: receive ip address, described optimum visit data center, and contrast with the storing value in local data base, if identical, trigger step 104; If not identical, trigger step 105.
Step 104: keep described storing value constant.
Step 105: the ip address, optimum visit data center receiving described in upgrading described storing value and being.
By the ip address, optimum visit data center obtaining in step 102, be stored in local data base, when user opens cloud dish client later again, first the ip address, optimum visit data center of local data library storage will be read, and access this data center, while making cloud dish client again access Yun Pan data center, directly access the ip address, optimum visit data center of described local data base storing value.When user accesses Yun Pan data center at every turn, all can carry out each step of the present embodiment; While carrying out step 103 and subsequent step, ip address, optimum visit data center that network terminal is generated is real-time is updated to local data base, make when user has changed network insertion place, can upgrade fast the optimum visit data center that is directed to current main frame ip address based on each access, guarantee user's optimum access.
If client's routine office work place is in Beijing, method through the present embodiment, for user rs host has configured the optimum visit data center that is positioned at Pekinese, client's temporary needs goes to Shanghai to go on business, and by the mass data data storage Yun Pan data center that needs in the process of going on business to use; Client arrives at behind the job site in Shanghai, the cloud dish client of opening on main frame logs in Yun Pan data center, the configuration of the method for process the present embodiment, storing value in main frame local data base is updated to the Yun Pan data center that is positioned at Shanghai, client from current optimal data center downloading data data, finishes the work fast smoothly; When going on business, finish client when getting back to routine office work place, Pekinese and logging in Yun Pan data center, before being updated to when the method by the present embodiment is again by optimal data center, be positioned at Pekinese Yun Pan data center, convenient and swift.
As an embodiment, the rear step 106 that further comprises of step 105: the ip address, described optimum visit data center receiving is updated to local hosts file.Cloud dish client is generally pc client or browser client.When using browser client, by the ip address of first determining that by reading hosts file Yun Pan data center domain name is corresponding, by this step, the local hosts file medium cloud dish corresponding parsing of data center's domain name ip address is updated to the ip address, optimum visit data center receiving, has realized the configuration of the optimum access of Yun Pan data center while using browser client.
The embodiment of the invention also discloses many data centers of a kind of strange land cloud optimal storage access configuration device, comprising:
Communication module, the access request sending for receiving cloud dish client Xiang Yunpan data center, and the ip address that obtains described cloud dish client host;
Generation module, for according to the ip address of described cloud dish client host, retrieves cloud dish server database and also draws ip address, optimum visit data center, is then returned to described cloud dish client;
Configuration module, for receiving ip address, described optimum visit data center, and contrasts with the storing value in local data base, if identical, keeps described storing value constant; If not identical, to receive described in upgrading described storing value and being ip address, optimum visit data center.
With reference to figure 2, it is the structural representation of many data centers of a kind of strange land of embodiment of the present invention cloud optimal storage access configuration device.
As an embodiment, described many data centers of strange land cloud optimal storage access configuration device is specially:
Communication module is request processor (HCP) 201: for the communication of cloud dish client He Yunpan data center, receive the access request that cloud dish client Xiang Yunpan data center sends, and the ip address that obtains described cloud dish client host.
Generation module comprises optimal path processor (OWP) 202 and service client database (SDB) 203, and wherein, service end database 203 is asked the ip of the data center mapping (enum) data of address for memory access main frame ip address and its optimum; Optimal path processor 202, for according to the ip address of described cloud dish client host, is retrieved cloud dish server database and is also drawn ip address, optimum visit data center, is then returned to described cloud dish client.
Configuration module comprises domain name mapping processor (IAP) 204 and local data base (LDB) 205 wherein, and local data base 205 is for IP address, optimal storage visit data center; Domain name mapping processor 204 is for receiving ip address, described optimum visit data center, and contrasts with the storing value in local data base, if identical, keeps described storing value constant; If not identical, to receive described in upgrading described storing value and being ip address, optimum visit data center.
Described generation module also, for according to the ip address of described cloud dish client host, retrieves whether there be the optimum visit data center ip address corresponding with it in described cloud dish server database, if so, this ip address, optimum visit data center is returned; If not, the ip of the data center address of current accessed is returned.Domain name mapping processor 204 is by reading the storing value of local data base 205B and through contrast, determining whether to upgrade the storing value in local data base 205.
Cloud dish client described in the present embodiment is pc client or browser client.When using browser client, described configuration module is also for being updated to local hosts file by the ip address, optimum visit data center receiving, and parse addresses corresponding to domain name mapping processor 204Jiang Yunpan data center domain name is updated to the ip address, optimum visit data center receiving.
Those of ordinary skill in the field are to be understood that: the foregoing is only specific embodiments of the invention; be not limited to the present invention; within the spirit and principles in the present invention all, any modification of making, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. many data centers of strange land cloud optimal storage access configuration method, is characterized in that, comprises the following steps:
Receive the access request that cloud dish client Xiang Yunpan data center sends, and the ip address that obtains described cloud dish client host;
According to the ip address of described cloud dish client host, retrieval cloud dish server database also draws ip address, optimum visit data center, is then returned to described cloud dish client;
Receive ip address, described optimum visit data center, and contrast with the storing value in local data base, if identical, keep described storing value constant; If not identical, to receive described in upgrading described storing value and being ip address, optimum visit data center.
2. method according to claim 1, is characterized in that, described cloud dish server database is asked the ip of the data center mapping (enum) data of address for memory access main frame ip address and its optimum.
3. method according to claim 2, it is characterized in that, according to the ip address of described cloud dish client host, in described cloud dish server database, whether retrieval there is the optimum visit data center ip address corresponding with it, if so, this ip address, optimum visit data center is returned; If not, the ip of the data center address of current accessed is returned.
4. method according to claim 1, is characterized in that, further comprises step: the ip address, described optimum visit data center receiving is updated to local hosts file.
5. method according to claim 1, is characterized in that, described cloud dish client is pc client or browser client.
6. many data centers of strange land cloud optimal storage access configuration device, is characterized in that, comprising:
Communication module, the access request sending for receiving cloud dish client Xiang Yunpan data center, and the ip address that obtains described cloud dish client host;
Generation module, for according to the ip address of described cloud dish client host, retrieves cloud dish server database and also draws ip address, optimum visit data center, is then returned to described cloud dish client;
Configuration module, for receiving ip address, described optimum visit data center, and contrasts with the storing value in local data base, if identical, keeps described storing value constant; If not identical, to receive described in upgrading described storing value and being ip address, optimum visit data center.
7. device according to claim 6, is characterized in that, described cloud dish server database is asked the ip of the data center mapping (enum) data of address for memory access main frame ip address and its optimum.
8. device according to claim 7, it is characterized in that, described generation module is used for according to the ip address of described cloud dish client host, in described cloud dish server database, whether retrieval there is the optimum visit data center ip address corresponding with it, if so, this ip address, optimum visit data center is returned; If not, the ip of the data center address of current accessed is returned.
9. device according to claim 6, is characterized in that, described configuration module is also for being updated to local hosts file by the ip address, described optimum visit data center receiving.
10. device according to claim 6, is characterized in that, described cloud dish client is pc client or browser client.
CN201310528827.5A 2013-10-30 2013-10-30 Method and device for optimal access configuration of remote multiple-data-center cloud storage Pending CN103561084A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310528827.5A CN103561084A (en) 2013-10-30 2013-10-30 Method and device for optimal access configuration of remote multiple-data-center cloud storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310528827.5A CN103561084A (en) 2013-10-30 2013-10-30 Method and device for optimal access configuration of remote multiple-data-center cloud storage

Publications (1)

Publication Number Publication Date
CN103561084A true CN103561084A (en) 2014-02-05

Family

ID=50015234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310528827.5A Pending CN103561084A (en) 2013-10-30 2013-10-30 Method and device for optimal access configuration of remote multiple-data-center cloud storage

Country Status (1)

Country Link
CN (1) CN103561084A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105095024A (en) * 2015-08-27 2015-11-25 北京金山安全软件有限公司 File backup method and device
CN106101055A (en) * 2016-04-29 2016-11-09 乐视控股(北京)有限公司 The data access method of a kind of multiple database and system thereof and proxy server
CN110891085A (en) * 2019-11-18 2020-03-17 天津联想协同科技有限公司 Information processing method, server and data center

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1510871A (en) * 2002-12-23 2004-07-07 () Point to point communicaton system based on internet and dynamic IP address acquiring method
CN101043530A (en) * 2006-03-21 2007-09-26 盛趣信息技术(上海)有限公司 Dynamic domain name analyzing method of network recognition
CN101931999A (en) * 2010-08-31 2010-12-29 深圳市赫迪威信息技术有限公司 Service access method, portal switching server and service access system
CN102333103A (en) * 2010-07-12 2012-01-25 戴元顺 Cloud storage system
US20120173486A1 (en) * 2010-12-31 2012-07-05 Chang-Sik Park System and method for dynamically selecting storage locations of replicas in cloud storage system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1510871A (en) * 2002-12-23 2004-07-07 () Point to point communicaton system based on internet and dynamic IP address acquiring method
CN101043530A (en) * 2006-03-21 2007-09-26 盛趣信息技术(上海)有限公司 Dynamic domain name analyzing method of network recognition
CN102333103A (en) * 2010-07-12 2012-01-25 戴元顺 Cloud storage system
CN101931999A (en) * 2010-08-31 2010-12-29 深圳市赫迪威信息技术有限公司 Service access method, portal switching server and service access system
US20120173486A1 (en) * 2010-12-31 2012-07-05 Chang-Sik Park System and method for dynamically selecting storage locations of replicas in cloud storage system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105095024A (en) * 2015-08-27 2015-11-25 北京金山安全软件有限公司 File backup method and device
CN106101055A (en) * 2016-04-29 2016-11-09 乐视控股(北京)有限公司 The data access method of a kind of multiple database and system thereof and proxy server
CN110891085A (en) * 2019-11-18 2020-03-17 天津联想协同科技有限公司 Information processing method, server and data center
CN110891085B (en) * 2019-11-18 2022-09-23 天津联想协同科技有限公司 Information processing method, server and data center

Similar Documents

Publication Publication Date Title
CN103177116B (en) A kind of distributed information log based on two-stage index is processed and querying method
CN101390080B (en) Serving cached query results based on a query portion
CN108153798B (en) Page information processing method, device and system
CN103685590B (en) Obtain the method and system of IP address
CN103036969B (en) For providing the management equipment and method of file download address
CN103188574B (en) method and system for transmitting network video
CN102546836A (en) Method, terminal, server and system for uploading files
CN102932498A (en) Virtual machine internet protocol (IP) resource management method of cloud computing platform
CN107888666A (en) A kind of cross-region data-storage system and method for data synchronization and device
CN106303428A (en) A kind of security protection cloud platform
US20170153909A1 (en) Methods and Devices for Acquiring Data Using Virtual Machine and Host Machine
CN103428302A (en) Domain name resolution method, server and system
CN103780654A (en) Business request processing method, user terminal, business router and network system
CN103067479A (en) Network disk synchronized method and system based on file coldness and hotness
CN102026228B (en) Statistical method and equipment for communication network performance data
CN107707616A (en) A kind of data transmission method and system
CN108347459A (en) A kind of high in the clouds data quick storage method and device
CN105357067A (en) Test method and system for cloud platform
CN104253836A (en) Wireless network based image displaying method and system and mobile terminal
CN103561084A (en) Method and device for optimal access configuration of remote multiple-data-center cloud storage
CN105071965B (en) A kind of management system of the network equipment
CN108243265A (en) A kind of dns resolution processing method and processing device
CN104144223A (en) Data obtaining method and device
CN109379426A (en) X-CDN dispatching method, equipment and system based on X-DNS
CN203251324U (en) Vehicle-mounted voice song-requiring system based on cloud computing vehicle networking

Legal Events

Date Code Title Description
C06 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: 20140205

RJ01 Rejection of invention patent application after publication