CN105657009A - Object gateway load balancing system and method, and cross-region object gateway storage system - Google Patents

Object gateway load balancing system and method, and cross-region object gateway storage system Download PDF

Info

Publication number
CN105657009A
CN105657009A CN201511021093.7A CN201511021093A CN105657009A CN 105657009 A CN105657009 A CN 105657009A CN 201511021093 A CN201511021093 A CN 201511021093A CN 105657009 A CN105657009 A CN 105657009A
Authority
CN
China
Prior art keywords
gateway
load
platform
gateway server
real
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.)
Granted
Application number
CN201511021093.7A
Other languages
Chinese (zh)
Other versions
CN105657009B (en
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.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry 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 Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201511021093.7A priority Critical patent/CN105657009B/en
Publication of CN105657009A publication Critical patent/CN105657009A/en
Application granted granted Critical
Publication of CN105657009B publication Critical patent/CN105657009B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • 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/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention discloses an object gateway load balancing system and method, and a cross-region object gateway storage system. The balancing system comprises a first load balancing scheduler and a second load balancing scheduler. The first load balancing scheduler is used for screening N1 gateway servers according to real-time load information of the N1 gateway servers in a main object gateway storage system and a load balancing-based algorithm, so as to respond to, by the screened gateway server, a file visit request received by a current main object gateway storage system. The second load balancing scheduler is used for screening N2 gateway servers according to real-time load information of the N2 gateway servers in a backup object gateway storage system and the load balancing-based algorithm, so as to respond to, by the screened gateway server, the file visit request received by the current backup object gateway storage system. According to the object gateway load balancing system and method, and the cross-region object gateway storage system, large load difference between different gateways is prevented, and the request response speed of the storage system is improved.

Description

Object gateway load-balancing system, method and trans-regional object gateway stores system
Technical field
The present invention relates to technical field of memory, particularly a kind of object gateway load-balancing system, methodAnd trans-regional object gateway stores system.
Background technology
In existing trans-regional object gateway stores system, generally include the storage system that is positioned at different geographic regionsSystem, comprising main object gateway stores system and backup object gateway stores system. In order to improve eachThe Concurrency Access performance of the storage system on individual geographic area and aggregate bandwidth ability, can be in each storageMultiple gateways are set, to realize the concurrent response to multiple file access requests in system. But, in realityIn application process, often there will be under the same period, the load of some gateway is heavier, and other netsLower situation of the load of closing, is unfavorable for the request answer speed of Hoisting System entirety.
Can find out in sum how to avoid occurring between different gateways the situation that load difference is larger,Current problem demanding prompt solution with the request answer speed that promotes storage system entirety.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of object gateway load-balancing system, method andTrans-regional object gateway stores system, has avoided occurring between different gateways the situation that load difference is larger,Thereby promote the request answer speed of storage system entirety. Its concrete scheme is as follows:
A kind of object gateway load-balancing system, is applied to trans-regional object gateway stores system, described acrossSection object gateway stores system comprises the main object gateway stores system and the position that are positioned at the first geographic areaIn the backup object gateway stores system of the second geographic area, described object gateway load-balancing system comprises:
The first load monitoring module, for the N1 platform gateway server to described main object gateway stores systemCarry out real-time load monitoring, obtain the real-time load information of described N1 platform gateway server, N1 is for just wholeNumber;
The second load monitoring module, for the N2 platform gateway service to described backup object gateway stores systemDevice carries out real-time load monitoring, obtains the real-time load information of described N2 platform gateway server, and N2 is for justInteger;
The first load balance scheduler, for according to the real-time load information of described N1 platform gateway server withAnd based on load-balancing algorithm, described N1 platform gateway server is carried out to Screening Treatment, screen to utilizeGateway server file access request that current described main object gateway stores system is received answerAnswer;
The second load balance scheduler, for according to the real-time load information of described N2 platform gateway server withAnd based on load-balancing algorithm, described N2 platform gateway server is carried out to Screening Treatment, screen to utilizeGateway server file access request that current described backup object gateway stores system is received carry outReply.
Preferably, the file access request that described main object gateway stores system receives, comprises by being positioned atFile write request and file read requests that user terminal on described the first geographic area is initiated, also bagDraw together the file write request of being initiated by the user terminal being positioned on described the second geographic area;
The file access request that described backup object gateway stores system receives, comprises by being positioned at describedThe file read requests that user terminal on two geographic areas is initiated.
Preferably, described object gateway load-balancing system, also comprises: adjust with described the first load balancingDegree device the 3rd load balance scheduler of main and standby relation each other, and with described the second load balance schedulerThe 4th load balance scheduler of main and standby relation each other.
Preferably, on arbitrary gateway server in described N1 platform gateway server, be equipped with at least twoListening port, each listening port all by one independently described in Socket path access main object gateway depositObject storage cluster in storage system;
On arbitrary gateway server in described N2 platform gateway server, be equipped with at least two and monitor endMouthful, each listening port all by one independently described in Socket path access backup object gateway stores beObject storage cluster in system.
Preferably, described the first load balance scheduler comprises:
First screening unit, for according to the real-time load information of described N1 platform gateway server and based onLoad-balancing algorithm, carries out Screening Treatment to described N1 platform gateway server;
The first message amendment unit, for according to the selection result of described the first screening unit, correspondingly rightGateway MAC information in the file access request that current described main object gateway stores system receives is carried outAmendment, with utilize with revise after the corresponding gateway server of gateway MAC information that obtains this file is visitedThe request of asking is replied;
Described the second load balance scheduler comprises:
Second screening unit, for according to the real-time load information of described N2 platform gateway server and based onLoad-balancing algorithm, carries out Screening Treatment to described N2 platform gateway server;
The second message amendment unit, for according to the selection result of described the second screening unit, correspondingly rightGateway MAC information in the file access request that current described backup object gateway stores system receives is enteredRow amendment, with utilize with revise after the corresponding gateway server of gateway MAC information that obtains to this fileRequest of access is replied.
The invention also discloses a kind of trans-regional object gateway stores system, comprise and be positioned at the first geographic areaMain object gateway stores system and be positioned at the backup object gateway stores system of the second geographic area, alsoComprise aforesaid object gateway load-balancing system.
Preferably, described backup object gateway stores system also comprises:
The first request sending module, initiates file for the user terminal when on described the second geographic area and writesEnter request, this file write request is sent to described main object gateway stores system;
The second request sending module, initiates file for the user terminal when on described the second geographic area and readsGet request, this file read requests is sent to described backup object gateway stores system.
The invention also discloses a kind of object gateway load balancing method, be applied to trans-regional object gateway and depositStorage system, described trans-regional object gateway stores system comprises the main object gateway that is positioned at the first geographic areaStorage system and be positioned at the backup object gateway stores system of the second geographic area, described method comprises:
N1 platform gateway server to described main object gateway stores system carries out real-time load monitoring,To the real-time load information of described N1 platform gateway server, N1 is positive integer;
N2 platform gateway server to described backup object gateway stores system carries out real-time load monitoring,Obtain the real-time load information of described N2 platform gateway server, N2 is positive integer;
According to the real-time load information of described N1 platform gateway server and based on load-balancing algorithm, to instituteState N1 platform gateway server and carry out Screening Treatment, to utilize the gateway server screening to current described masterThe file access request that object gateway stores system receives is replied;
According to the real-time load information of described N2 platform gateway server and based on load-balancing algorithm, to instituteState N2 platform gateway server and carry out Screening Treatment, to utilize the gateway server screening to current described standbyThe file access request that part object gateway stores system receives is replied.
Preferably, the file access request that described main object gateway stores system receives, comprises by being positioned atFile write request and file read requests that user terminal on described the first geographic area is initiated, also bagDraw together the file write request of being initiated by the user terminal being positioned on described the second geographic area;
The file access request that described backup object gateway stores system receives, comprises by being positioned at describedThe file read requests that user terminal on two geographic areas is initiated.
Preferably, described according to the real-time load information of described N1 platform gateway server and equal based on loadAccount method, the process that described N1 platform gateway server is carried out to Screening Treatment, comprising:
According to the real-time load information of described N1 platform gateway server and based on load-balancing algorithm, to instituteState N1 platform gateway server and carry out Screening Treatment, obtain corresponding the selection result, and according to this selection result,Gateway MAC in the file access request correspondingly current described main object gateway stores system being receivedInformation is modified, with utilize with revise after the corresponding gateway server pair of gateway MAC information that obtainsThis file request of access is replied;
It is described according to the real-time load information of described N2 platform gateway server and based on load-balancing algorithm,The process that described N2 platform gateway server is carried out to Screening Treatment, comprising:
According to the real-time load information of described N2 platform gateway server and based on load-balancing algorithm, to instituteState N2 platform gateway server and carry out Screening Treatment, obtain corresponding the selection result, and according to this selection result,Gateway in the file access request correspondingly current described backup object gateway stores system being receivedMAC information is modified, with utilize with revise after the corresponding gateway service of gateway MAC information that obtainsDevice is replied this file request of access.
In the present invention, object gateway load-balancing system comprises: the first load monitoring module, and for to masterThe N1 platform gateway server of object gateway stores system carries out real-time load monitoring, obtains above-mentioned N1 platform netClose the real-time load information of server; The second load monitoring module, for to backup object gateway stores beingThe N2 platform gateway server of system carries out real-time load monitoring, obtains the real-time of above-mentioned N2 platform gateway serverLoad information; The first load balance scheduler, for according to the real-time load of above-mentioned N1 platform gateway serverInformation and based on load-balancing algorithm, carries out Screening Treatment to above-mentioned N1 platform gateway server, to utilizeThe file access request that the gateway server screening receives current main object gateway stores system is carried outReply; The second load balance scheduler, for according to the real-time load information of above-mentioned N2 platform gateway serverAnd based on load-balancing algorithm, above-mentioned N2 platform gateway server is carried out to Screening Treatment, to utilize screeningTo gateway server file access request that current backup object gateway stores system is received answerAnswer. Visible, the present invention is by main object gateway stores system and backup object gateway stores systemAll gateway servers carry out real-time load monitoring, and calculate according to real-time load information and load balancingMethod filters out suitable gateway server the current file receiving is visited from all gateway serversThe request of asking is replied, owing to having considered the negative of gateway server in the process of screening gateway serverCarry situation and load-balancing algorithm, thereby guarantee the current file access request receiving to replyThe load of gateway server in reduced levels, to sum up, the present invention has avoided occurring between different gatewaysThe situation that load difference is larger, thus the request answer speed of storage system entirety promoted.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will be to realityThe accompanying drawing of executing required use in example or description of the Prior Art is briefly described, apparently, belowAccompanying drawing in description is only embodiments of the invention, for those of ordinary skill in the art, notPay under the prerequisite of creative work, other accompanying drawing can also be provided according to the accompanying drawing providing.
Fig. 1 is the disclosed a kind of object gateway load-balancing system applies structural representation of the embodiment of the present invention;
Fig. 2 is the disclosed a kind of concrete object gateway load-balancing system applies structure of the embodiment of the present inventionSchematic diagram;
Fig. 3 is the disclosed a kind of object gateway load balancing method flow chart of the embodiment of the present invention.
Detailed description of the invention
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 outDescribe clearly and completely, obviously, described embodiment is only the present invention's part embodiment, andNot whole embodiment. Based on the embodiment in the present invention, those of ordinary skill in the art are not doingGo out the every other embodiment obtaining under creative work prerequisite, all belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of object gateway load-balancing system, be applied to trans-regional object netClose storage system, trans-regional object gateway stores system comprises the main object gateway that is positioned at the first geographic areaStorage system and be positioned at the backup object gateway stores system of the second geographic area, shown in Figure 1, onStating object gateway load-balancing system comprises:
The first load monitoring module 11, enters for the N1 platform gateway server to main object gateway stores systemThe real-time load monitoring of row, obtains the real-time load information of above-mentioned N1 platform gateway server, and N1 is positive integer;
The second load monitoring module 12, for the N2 platform gateway server to backup object gateway stores systemCarry out real-time load monitoring, obtain the real-time load information of above-mentioned N2 platform gateway server, N2 is for just wholeNumber;
The first load balance scheduler 13, for according to the real-time load information of above-mentioned N1 platform gateway serverAnd based on load-balancing algorithm, above-mentioned N1 platform gateway server is carried out to Screening Treatment, to utilize screeningTo gateway server file access request that current main object gateway stores system is received answerAnswer;
The second load balance scheduler 14, for according to the real-time load information of above-mentioned N2 platform gateway serverAnd based on load-balancing algorithm, above-mentioned N2 platform gateway server is carried out to Screening Treatment, to utilize screeningTo gateway server file access request that current backup object gateway stores system is received answerAnswer.
Be understandable that, gateway server, need to be by this article in the time that file access request is repliedPart request of access is forwarded to corresponding object storage cluster in object gateway stores system.
Visible, the present invention is by main object gateway stores system and backup object gateway stores systemAll gateway servers carry out real-time load monitoring, and calculate according to real-time load information and load balancingMethod filters out suitable gateway server the current file receiving is visited from all gateway serversThe request of asking is replied, owing to having considered the negative of gateway server in the process of screening gateway serverCarry situation and load-balancing algorithm, thereby guarantee the current file access request receiving to replyThe load of gateway server in reduced levels, to sum up, the present invention has avoided occurring between different gatewaysThe situation that load difference is larger, thus the request answer speed of storage system entirety promoted.
The embodiment of the invention discloses a kind of concrete object gateway load-balancing system, real with respect to upper oneExecute example, the present embodiment has been done further instruction and optimization to technical scheme. Concrete:
In the present embodiment, the file access request that main object gateway stores system receives, comprises by being positioned atFile write request and file read requests that user terminal on the first geographic area is initiated, also comprise byBe positioned at the file write request that the user terminal on the second geographic area is initiated.
Visible, when the user terminal being positioned on the second geographic area has been initiated after file write request, willThis file write request is forwarded to the main object gateway stores system being positioned on the first geographic area, like this canCause to avoid data to write direct backup object gateway stores system active and standby between data inconsistentProblem.
In addition, the file access request that backup object gateway stores system receives, comprises by being positioned at secondThe file read requests that user terminal on geographic area is initiated.
Shown in Figure 2, in order to promote the high availability of scheduler, the object gateway load in the present embodimentEqualizing system, also can further comprise: with the first load balance scheduler 13 each other main and standby relation the 3rdLoad balance scheduler 15, and with the 4th load of main and standby relation each other of the second load balance scheduler 14Balance dispatching device 16.
Further, in the present embodiment, in order to promote the visit between gateway server and object storage clusterAsk flexibility, on arbitrary gateway server in above-mentioned N1 platform gateway server, be equipped with at least two prisonsListen port, each listening port is all by the main object gateway stores of a Socket path access system independentlyIn object storage cluster; In like manner, equal on arbitrary gateway server in above-mentioned N2 platform gateway serverBe provided with at least two listening ports, each listening port is all by an independently Socket path access backupObject storage cluster in object gateway stores system. In addition, on above-mentioned each listening port, all can adoptWith load-balancing algorithm flexibly. As from the foregoing, each gateway server and object storage in the present embodimentBetween cluster, built many access paths by many Socket paths, promoted thus gateway server withAccess flexibility between object storage cluster, in the time that a certain Socket path too blocks up, gateway serviceDevice can visit object storage cluster by another Socket path.
In the present embodiment, the first load balance scheduler comprises the first screening unit and the first message amendmentUnit, wherein,
First screening unit, for according to the real-time load information of above-mentioned N1 platform gateway server and based onLoad-balancing algorithm, carries out Screening Treatment to above-mentioned N1 platform gateway server;
The first message amendment unit, for according to the selection result of the first screening unit, correspondingly to currentGateway MAC information in the file access request that main object gateway stores system receives is modified, withThe corresponding gateway server of gateway MAC information obtaining after utilization and amendment enters this file request of accessRow is replied.
In addition, the second load balance scheduler comprises the second screening unit and the second message amendment unit, itsIn,
Second screening unit, for according to the real-time load information of above-mentioned N2 platform gateway server and based onLoad-balancing algorithm, carries out Screening Treatment to above-mentioned N2 platform gateway server;
The second message amendment unit, for according to the selection result of the second screening unit, correspondingly to currentGateway MAC information in the file access request that backup object gateway stores system receives is modified,The corresponding gateway server of gateway MAC information obtaining with utilization and after revising is to this file request of accessReply.
Visible, the present embodiment, in the time carrying out gateway server Screening Treatment, only needs revised file request of accessIn corresponding gateway MAC information just can, without carrying out IP encapsulation, thereby avoided because IP encapsulation institute is withThe great expense incurred of coming, has improved scheduling rates.
The embodiment of the invention also discloses a kind of trans-regional object gateway stores system, comprise and be positioned at the first groundManage the main object gateway stores system in region and be positioned at the backup object gateway stores system of the second geographic areaSystem, also comprises the disclosed object gateway load-balancing of previous embodiment system.
Wherein, the backup object gateway stores system in the present embodiment also comprises:
The first request sending module, writing for the user terminal initiation file when on the second geographic area pleaseAsk, this file write request is sent to main object gateway stores system;
The second request sending module, reading for the user terminal initiation file when on the second geographic area pleaseAsk, this file read requests is sent to backup object gateway stores system.
Further, the embodiment of the invention also discloses a kind of object gateway load balancing method, be applied toTrans-regional object gateway stores system, trans-regional object gateway stores system comprises and is positioned at the first geographic areaMain object gateway stores system and be positioned at the backup object gateway stores system of the second geographic area, ginsengAs shown in Figure 3, the method comprises:
Step S31: the N1 platform gateway server of main object gateway stores system is carried out to real-time load prisonSurvey, obtain the real-time load information of above-mentioned N1 platform gateway server, above-mentioned N1 is positive integer;
Step S32: the N2 platform gateway server of backup object gateway stores system is carried out to real-time load prisonSurvey, obtain the real-time load information of above-mentioned N2 platform gateway server, above-mentioned N2 is positive integer;
Step S33: according to the real-time load information of above-mentioned N1 platform gateway server and calculate based on load balancingMethod, carries out Screening Treatment to above-mentioned N1 platform gateway server, to utilize the gateway server screening to working asThe file access request that front main object gateway stores system receives is replied;
Step S34: according to the real-time load information of above-mentioned N2 platform gateway server and calculate based on load balancingMethod, carries out Screening Treatment to above-mentioned N2 platform gateway server, to utilize the gateway server screening to working asThe file access request that front backup object gateway stores system receives is replied.
It should be noted that, life period precedence relationship not between above-mentioned steps S31 and S32, in like manner, onState between step S33 and step S34 also not life period precedence relationship.
Wherein, the file access request that above-mentioned main object gateway stores system receives, comprises by being positioned atFile write request and file read requests that user terminal on one geographic area is initiated, also comprise by positionThe file write request that user terminal on the second geographic area is initiated.
Visible, when the user terminal being positioned on the second geographic area has been initiated after file write request, willThis file write request is forwarded to the main object gateway stores system being positioned on the first geographic area, like this canCause to avoid data to write direct backup object gateway stores system active and standby between data inconsistentProblem.
In addition, the file access request that backup object gateway stores system receives, comprises by being positioned at secondThe file read requests that user terminal on geographic area is initiated.
Further, the process of above-mentioned steps S33 specifically comprises: according to bearing in real time of N1 platform gateway serverInformation carrying ceases and based on load-balancing algorithm, N1 platform gateway server is carried out to Screening Treatment, obtains correspondingThe selection result, and according to this selection result, correspondingly current main object gateway stores system is receivedFile access request in gateway MAC information modify, with utilize with revise after the gateway that obtainsThe corresponding gateway server of MAC information is replied this file request of access;
In addition, the process of above-mentioned steps S34 specifically comprises:
According to the real-time load information of N2 platform gateway server and based on load-balancing algorithm, to N2 platform netClose server and carry out Screening Treatment, obtain corresponding the selection result, and according to this selection result, correspondinglyGateway MAC information in the file access request that current backup object gateway stores system is received is carried outAmendment, with utilize with revise after the corresponding gateway server of gateway MAC information that obtains this file is visitedThe request of asking is replied.
Visible, the present embodiment, in the time carrying out gateway server Screening Treatment, only needs revised file request of accessIn corresponding gateway MAC information just can, without carrying out IP encapsulation, thereby avoided because IP encapsulation institute is withThe great expense incurred of coming, has improved scheduling rates.
In summary, the present invention passes through main object gateway stores system and backup object gateway stores systemIn all gateway servers carry out real-time load monitoring, and equal according to real-time load information and loadAccount method, from all gateway servers, filter out suitable gateway server to the current literary composition receivingPart request of access is replied, owing to having considered gateway server in the process of screening gateway serverLoad state and load-balancing algorithm, thereby guarantee the current file access request receiving to carry outThe load of the gateway server of replying is in reduced levels, and to sum up, the present invention has avoided between different gatewaysThere is the larger situation of load difference, thereby promoted the request answer speed of storage system entirety.
Finally, also it should be noted that, in this article, the relational terms such as the first and second gradesOnly be used for an entity or operation and another entity or operating space to separate, and not necessarily requirementOr imply the relation or the order that between these entities or operation, there are any this reality. And, artLanguage " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, therebyThe process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, andAlso comprise other key elements of clearly not listing, or be also included as this process, method, article orThe key element that person's equipment is intrinsic. In the situation that there is no more restrictions, by statement " comprising ... "The key element limiting, and be not precluded within process, method, article or the equipment that comprises described key element and also depositAt other identical element.
Above to a kind of object gateway load-balancing system provided by the present invention, method and trans-regional objectGateway stores system is described in detail, and has applied specific case herein to principle of the present invention and realityThe mode of executing is set forth, the explanation of above embodiment just for help to understand method of the present invention andCore concept; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, specificallyIn embodiment and range of application, all will change, in sum, this description should not be understoodFor limitation of the present invention.

Claims (10)

1. an object gateway load-balancing system, is characterized in that, is applied to trans-regional object gateway and depositsStorage system, described trans-regional object gateway stores system comprises the main object gateway that is positioned at the first geographic areaStorage system and be positioned at the backup object gateway stores system of the second geographic area, described object gateway is negativeCarrying equalizing system comprises:
The first load monitoring module, for the N1 platform gateway server to described main object gateway stores systemCarry out real-time load monitoring, obtain the real-time load information of described N1 platform gateway server, N1 is for justInteger;
The second load monitoring module, for the N2 platform gateway service to described backup object gateway stores systemDevice carries out real-time load monitoring, obtains the real-time load information of described N2 platform gateway server, and N2 isPositive integer;
The first load balance scheduler, for according to the real-time load information of described N1 platform gateway server withAnd based on load-balancing algorithm, described N1 platform gateway server is carried out to Screening Treatment, screen to utilizeGateway server file access request that current described main object gateway stores system is received answerAnswer;
The second load balance scheduler, for according to the real-time load information of described N2 platform gateway server withAnd based on load-balancing algorithm, described N2 platform gateway server is carried out to Screening Treatment, screen to utilizeGateway server file access request that current described backup object gateway stores system is received carry outReply.
2. object gateway load-balancing system according to claim 1, is characterized in that,
The file access request that described main object gateway stores system receives, comprises by being positioned at described firstFile write request and file read requests that user terminal on geographic area is initiated, also comprise by being positioned atThe file write request that user terminal on described the second geographic area is initiated;
The file access request that described backup object gateway stores system receives, comprises by being positioned at describedThe file read requests that user terminal on two geographic areas is initiated.
3. object gateway load-balancing system according to claim 2, is characterized in that, also comprises:With described the first load balance scheduler the 3rd load balance scheduler of main and standby relation each other, and with instituteState the second load balance scheduler the 4th load balance scheduler of main and standby relation each other.
4. object gateway load-balancing system according to claim 1, is characterized in that,
On arbitrary gateway server in described N1 platform gateway server, be equipped with at least two and monitor endMouthful, each listening port all by one independently described in Socket path access main object gateway stores beObject storage cluster in system;
On arbitrary gateway server in described N2 platform gateway server, be equipped with at least two and monitor endMouthful, each listening port is all by a backup object gateway stores described in Socket path access independentlyObject storage cluster in system.
5. according to the object gateway load-balancing system described in claim 1 to 4 any one, its feature existsIn,
Described the first load balance scheduler comprises:
First screening unit, for according to the real-time load information of described N1 platform gateway server and based onLoad-balancing algorithm, carries out Screening Treatment to described N1 platform gateway server;
The first message amendment unit, for according to the selection result of described the first screening unit, correspondingly rightGateway MAC information in the file access request that current described main object gateway stores system receives is enteredRow amendment, with utilize with revise after the corresponding gateway server of gateway MAC information that obtains to this fileRequest of access is replied;
Described the second load balance scheduler comprises:
Second screening unit, for according to the real-time load information of described N2 platform gateway server and based onLoad-balancing algorithm, carries out Screening Treatment to described N2 platform gateway server;
The second message amendment unit, for according to the selection result of described the second screening unit, correspondingly rightGateway MAC information in the file access request that current described backup object gateway stores system receivesModify, with utilize with revise after the corresponding gateway server of gateway MAC information that obtains to this articlePart request of access is replied.
6. a trans-regional object gateway stores system, is characterized in that, comprises and is positioned at the first geographic areaMain object gateway stores system and be positioned at the backup object gateway stores system of the second geographic area, alsoComprise the object gateway load-balancing system as described in claim 1 to 5 any one.
7. trans-regional object gateway stores system according to claim 6, is characterized in that, described inBackup object gateway stores system also comprises:
The first request sending module, initiates file for the user terminal when on described the second geographic area and writesEnter request, this file write request is sent to described main object gateway stores system;
The second request sending module, initiates file for the user terminal when on described the second geographic area and readsGet request, this file read requests is sent to described backup object gateway stores system.
8. an object gateway load balancing method, is characterized in that, is applied to trans-regional object gateway and depositsStorage system, described trans-regional object gateway stores system comprises the main object gateway that is positioned at the first geographic areaStorage system and be positioned at the backup object gateway stores system of the second geographic area, described method comprises:
N1 platform gateway server to described main object gateway stores system carries out real-time load monitoring,To the real-time load information of described N1 platform gateway server, N1 is positive integer;
N2 platform gateway server to described backup object gateway stores system carries out real-time load monitoring,Obtain the real-time load information of described N2 platform gateway server, N2 is positive integer;
According to the real-time load information of described N1 platform gateway server and based on load-balancing algorithm, to instituteState N1 platform gateway server and carry out Screening Treatment, to utilize the gateway server screening to current described masterThe file access request that object gateway stores system receives is replied;
According to the real-time load information of described N2 platform gateway server and based on load-balancing algorithm, to instituteState N2 platform gateway server and carry out Screening Treatment, to utilize the gateway server screening to current described standbyThe file access request that part object gateway stores system receives is replied.
9. object gateway load balancing method according to claim 8, is characterized in that,
The file access request that described main object gateway stores system receives, comprises by being positioned at described firstFile write request and file read requests that user terminal on geographic area is initiated, also comprise by being positioned atThe file write request that user terminal on described the second geographic area is initiated;
The file access request that described backup object gateway stores system receives, comprises by being positioned at describedThe file read requests that user terminal on two geographic areas is initiated.
10. object gateway load balancing method according to claim 8 or claim 9, is characterized in that,
It is described according to the real-time load information of described N1 platform gateway server and based on load-balancing algorithm,The process that described N1 platform gateway server is carried out to Screening Treatment, comprising:
According to the real-time load information of described N1 platform gateway server and based on load-balancing algorithm, to instituteState N1 platform gateway server and carry out Screening Treatment, obtain corresponding the selection result, and according to this selection result,Gateway MAC in the file access request correspondingly current described main object gateway stores system being receivedInformation is modified, with utilize with revise after the corresponding gateway server pair of gateway MAC information that obtainsThis file request of access is replied;
It is described according to the real-time load information of described N2 platform gateway server and based on load-balancing algorithm,The process that described N2 platform gateway server is carried out to Screening Treatment, comprising:
According to the real-time load information of described N2 platform gateway server and based on load-balancing algorithm, to instituteState N2 platform gateway server and carry out Screening Treatment, obtain corresponding the selection result, and according to this selection result,Gateway in the file access request correspondingly current described backup object gateway stores system being receivedMAC information is modified, with utilize with revise after the corresponding gateway clothes of the gateway MAC information that obtainsBusiness device is replied this file request of access.
CN201511021093.7A 2015-12-30 2015-12-30 Object gateway SiteServer LBS, method and trans-regional object gateway storage system Active CN105657009B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511021093.7A CN105657009B (en) 2015-12-30 2015-12-30 Object gateway SiteServer LBS, method and trans-regional object gateway storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511021093.7A CN105657009B (en) 2015-12-30 2015-12-30 Object gateway SiteServer LBS, method and trans-regional object gateway storage system

Publications (2)

Publication Number Publication Date
CN105657009A true CN105657009A (en) 2016-06-08
CN105657009B CN105657009B (en) 2018-12-21

Family

ID=56489993

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511021093.7A Active CN105657009B (en) 2015-12-30 2015-12-30 Object gateway SiteServer LBS, method and trans-regional object gateway storage system

Country Status (1)

Country Link
CN (1) CN105657009B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108156240A (en) * 2017-12-25 2018-06-12 深圳市智物联网络有限公司 A kind of method and system of industry adapter access server
CN110233875A (en) * 2019-05-10 2019-09-13 厦门网宿有限公司 A kind of data processing method, object storage gateway pond and operation system
WO2020012270A1 (en) * 2018-07-11 2020-01-16 International Business Machines Corporation Data privacy awareness in workload provisioning
CN111385359A (en) * 2020-03-05 2020-07-07 星辰天合(北京)数据科技有限公司 Load processing method and device of object gateway

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662495A (en) * 2009-09-16 2010-03-03 成都市华为赛门铁克科技有限公司 Backup method, master server, backup servers and backup system
US7881208B1 (en) * 2001-06-18 2011-02-01 Cisco Technology, Inc. Gateway load balancing protocol
CN102611808A (en) * 2012-03-24 2012-07-25 北京天润融通科技有限公司 Managed calling system with backup
CN102811134A (en) * 2012-07-31 2012-12-05 苏州阔地网络科技有限公司 Method and system for controlling drift of net meeting
CN102958085A (en) * 2011-08-23 2013-03-06 中国移动通信集团黑龙江有限公司 Short message center platform and calling method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7881208B1 (en) * 2001-06-18 2011-02-01 Cisco Technology, Inc. Gateway load balancing protocol
CN101662495A (en) * 2009-09-16 2010-03-03 成都市华为赛门铁克科技有限公司 Backup method, master server, backup servers and backup system
CN102958085A (en) * 2011-08-23 2013-03-06 中国移动通信集团黑龙江有限公司 Short message center platform and calling method
CN102611808A (en) * 2012-03-24 2012-07-25 北京天润融通科技有限公司 Managed calling system with backup
CN102811134A (en) * 2012-07-31 2012-12-05 苏州阔地网络科技有限公司 Method and system for controlling drift of net meeting

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108156240A (en) * 2017-12-25 2018-06-12 深圳市智物联网络有限公司 A kind of method and system of industry adapter access server
CN108156240B (en) * 2017-12-25 2021-07-30 深圳市智物联网络有限公司 Method and system for accessing industrial adapter to server
WO2020012270A1 (en) * 2018-07-11 2020-01-16 International Business Machines Corporation Data privacy awareness in workload provisioning
US10635825B2 (en) 2018-07-11 2020-04-28 International Business Machines Corporation Data privacy awareness in workload provisioning
US10949545B2 (en) 2018-07-11 2021-03-16 Green Market Square Limited Data privacy awareness in workload provisioning
GB2588056A (en) * 2018-07-11 2021-04-14 Ibm Data privacy awareness in workload provisioning
GB2588056B (en) * 2018-07-11 2022-06-08 Green Market Square Ltd Data privacy awareness in workload provisioning
US11610002B2 (en) 2018-07-11 2023-03-21 Green Market Square Limited Data privacy awareness in workload provisioning
CN110233875A (en) * 2019-05-10 2019-09-13 厦门网宿有限公司 A kind of data processing method, object storage gateway pond and operation system
CN111385359A (en) * 2020-03-05 2020-07-07 星辰天合(北京)数据科技有限公司 Load processing method and device of object gateway

Also Published As

Publication number Publication date
CN105657009B (en) 2018-12-21

Similar Documents

Publication Publication Date Title
KR101476936B1 (en) Dynamic migration within a network storage system
CN105099793B (en) Hot spare method, apparatus and system
CN105657009A (en) Object gateway load balancing system and method, and cross-region object gateway storage system
CN104243337A (en) Method and device for cross-cluster load balancing
CN112671882A (en) Same-city double-activity system and method based on micro-service
CN105335229A (en) Business resource scheduling method and apparatus
CN102970379A (en) Method for realizing load balance among multiple servers
CN109802986B (en) Equipment management method, system, device and server
CN112492574B (en) Load migration method, device and system
CN103929368A (en) Load balance method and device for multiple service units
CN103957251A (en) Method and system for achieving server load balancing
CN110166524A (en) Switching method, device, equipment and the storage medium of data center
CN106533973A (en) Method and system for distributing service message, and equipment
CN102668453B (en) Fault-tolerant and the scalable load Distribution of resource
CN110515728B (en) Server scheduling method and device, electronic equipment and machine-readable storage medium
CN111030932B (en) Method, device and system for anchoring data message
CN104852859A (en) Aggregate interface service processing method and aggregate interface service processing equipment
US10891849B1 (en) System for suppressing false service outage alerts
CN106060131A (en) Method and device for allocating DNS servers
CN109982034A (en) Access request processing method and processing device in video monitoring system
CN106059940A (en) Flow control method and device
CN111064666B (en) Networking method and device
CN104410511A (en) Server management method and system
CN104158732A (en) Intelligent cloud service dynamic routing strategy
CN101963978A (en) Distributed database management method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant