CN108600146A - A kind of address dispatching method and device - Google Patents

A kind of address dispatching method and device Download PDF

Info

Publication number
CN108600146A
CN108600146A CN201711470684.1A CN201711470684A CN108600146A CN 108600146 A CN108600146 A CN 108600146A CN 201711470684 A CN201711470684 A CN 201711470684A CN 108600146 A CN108600146 A CN 108600146A
Authority
CN
China
Prior art keywords
view
address
unit
standard
view unit
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
CN201711470684.1A
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.)
Beijing Sohu New Media Information Technology Co Ltd
Original Assignee
Beijing Sohu New Media Information Technology 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 Beijing Sohu New Media Information Technology Co Ltd filed Critical Beijing Sohu New Media Information Technology Co Ltd
Priority to CN201711470684.1A priority Critical patent/CN108600146A/en
Publication of CN108600146A publication Critical patent/CN108600146A/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
    • H04L63/101Access control lists [ACL]
    • 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
    • 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
    • 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/1023Server selection for load balancing based on a hash applied to IP addresses or costs

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

This application provides a kind of dispatching method and devices, view unit is dispatched to the second view from first view, view includes the view unit, any one of view unit is constituted by carrying out sorted same class address according to preset kind standard, the view unit by the address in the view unit according to the preset kind standard by carrying out classification formation, it can be with, using preformed view unit as mobile object, the movable address between view, it can realize the lot size scheduling of address, compared with directly dispatching address, cumbersome degree substantially reduces.

Description

A kind of address dispatching method and device
Technical field
This application involves electronic information field more particularly to a kind of address dispatching methods and device.
Background technology
Fig. 1 refers to that load-balancing device is according to the Internet protocol in the request message of client for global load balancing Address (Internet Protocol Address, IP address) is determined for compliance with the server of load balancing requirement, and by the clothes The IP address of business device feeds back to client so that client accesses the IP address to obtain resource.
In general, being provided with access control list (Access Control List, ACL) in global load balancing system, it is used for Record and safeguard the IP address of client.
In order to which load balancing is better achieved, the IP address in ACL is dispatched (for example, changing a part of IP address Attributed region) it is common operation.And currently, the operation of the IP address in scheduling ACL is very cumbersome.
Invention content
This application provides a kind of address dispatching method and devices, it is therefore intended that solves the behaviour of the IP address in scheduling ACL Make relatively complicated problem.
To achieve the goals above, this application provides following technical schemes:
A kind of address dispatching method, which is characterized in that including:
View unit is dispatched to the second view from first view, the view includes the view unit, any one The view unit is constituted by carrying out sorted same class address according to preset kind standard, the view unit by according to Address in the view unit is carried out classification formation by the preset kind standard.
Optionally, it is described view unit is dispatched to the second view from first view before, further include:
By the address in the view, classifies according to the preset type standard, obtain the view unit.
Optionally, the preset type standard includes:
Regional standard and/or operator criteria.
Optionally, the range of the regional item in the regional standard is more than the geographic coverage belonging to described address, describedly Geographic coverage belonging to location is the region attribute of described address;
The rank for being superior to the physical operator belonging to described address of operator in the operator criteria.
Optionally, it is described view unit is dispatched to the second view from first view before, further include:
Create second view.
A kind of address dispatching device, including:
Scheduler module, for view unit to be dispatched to the second view from first view, the view includes the view Unit, any one of view unit is constituted by carrying out sorted same class address according to preset kind standard, described to regard Figure unit by the address in the view unit according to the preset kind standard by carrying out classification formation.
Optionally, further include:
Address sort module, for by the address in the view, classifying according to the preset type standard, obtaining To the view unit.
Optionally, the preset type standard includes:
Regional standard and/or operator criteria.
Optionally, the range of the regional item in the regional standard is more than the geographic coverage belonging to described address, describedly Geographic coverage belonging to location is the region attribute of described address;
The rank for being superior to the physical operator belonging to described address of operator in the operator criteria.
Optionally, further include:
Module is established, for before view unit is dispatched to the second view by the scheduler module from first view, newly Build second view.
View unit is dispatched to the second view, view packet by dispatching method and device described herein from first view The view unit is included, any one of view unit according to preset kind standard by carrying out sorted same class address structure At the view unit, can by the way that the address in the view unit is carried out classification formation according to the preset kind standard With, using preformed view unit as mobile object, the movable address between view enough realizes the lot size scheduling of address, with Directly scheduling address is compared, and cumbersome degree substantially reduces.
Description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is the schematic diagram of the application scenarios of address dispatching method disclosed in the embodiment of the present application;
Fig. 2 is that IP address disclosed in the embodiment of the present application divides the schematic diagram to form View cel l;
Fig. 3 is the disclosed figure of the embodiment of the present application;
Fig. 4 is the structural schematic diagram of address dispatching device disclosed in the embodiment of the present application.
Specific implementation mode
Address dispatching method disclosed in the embodiment of the present application is applied in scene as shown in Figure 1.As shown in Figure 1, being used for The ACL of global load balancing includes multiple view View, and View is usually arranged by dimension of the area where server room, For example, the View of Pekinese View and Shanghai.The IP address for the client for having this area to use is recorded in each View.
View unit View cell, View is arranged in address dispatching method disclosed in embodiments herein in View The logic scope of cell is less than View, but more than the IP address of client.As the IP of unit dispatching client using View cell Location reduces the fussy degree of directly scheduling IP address.
In embodiments herein, the specific implementation that another View is " scheduling " is moved to from a View with IP address Mode illustrates.
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
Fig. 2 is a kind of dispatching method of address disclosed in embodiments herein, is included the following steps:
S201:By the IP address in View, classify according to preset type standard, forms View cell.
In the present embodiment, preset type standard includes:Regional standard and/or operator criteria.
Specifically, the range of the regional item in regional standard is more than the geographic coverage belonging to IP address.Wherein, IP address institute The geographic coverage of category is the region attribute of IP address.
It illustrates:Fig. 1 includes Pekinese View, and Pekinese View includes the visitor that Beijing, Hebei and Henan use The IP address at family end, the View in Shanghai include the IP address for the client that Shanghai, Jiangsu, Zhejiang use.The ground of View cell The range of regional item in area's standard is greater than Beijing, Hebei and Henan, then the area that the regional standard of View cell includes Item is the north and south.
That is, the administrative grade of the regional item in View cell is more than the administrative grade of the region attribute of IP address. It is of course also possible to not according to administrative grade, and use customized rule setting regional standard.
The rank for being superior to the physical operator belonging to IP address of operator in operator criteria.For example, northern The IP address of client in the View in capital is belonging respectively to sohu.com and scientific and technological net, then the operator Xiang Weiyi in operator criteria Dynamic, telecommunications and unicom.
That is, according to the division of existing telecom operators, setting operator.It is of course also possible to using other Rule setting operator.
Fig. 3 be IP address divide the schematic diagram to form View cell, wherein each View next layer be View Cell, such as mobile, the southern unicom in the north etc..Next layer of each View cell is the client for being under the jurisdiction of the View cell IP address.For example, an IP address under the north is mobile is the client ip address that Beijing Sohu.com Inc. uses.
From figure 3, it can be seen that in the present embodiment, IP address is classified according to preset type standard, original On IP address, the logic unit of IP address ownership is marked off.The granularity of view unit is more than the granularity of IP address but small In the granularity of View.
S202:View cell are dispatched to the 2nd View from the first View.
Specifically, can already present 2nd View be dispatched to from the first View by any one View cell.Alternatively, Newly-built 2nd View, then any one View cell is dispatched to already present 2nd View from the first View.
For example, for business demand, other than Beijing computer room and Shanghai computer room, Xi'an computer room is created, needing will be northern The IP address of capital computer room and a part of client in the computer room of Shanghai is distributed to Xi'an computer room and is used.
The method according to the present embodiment, by a View cell under the corresponding View of Beijing computer room, such as south Unicom is moved under the corresponding View of Xi'an computer room.
Can be that View cell settings are subordinate to attribute in practical operation, the View being subordinate to for indicating View cell, Modification View cell's is subordinate to attribute, you can realizes movements of the View cell between View.
As it can be seen that dispatching IP address as unit of View cell, the lot size scheduling of IP address can be realized, with directly scheduling IP address is compared, and cumbersome degree substantially reduces.
ACL shown in Fig. 3 applies the principle in global load balancing process to be:Client sends to dns server and asks Message, request message include the IP address of client and the domain name that client accesses.The IP of dns server foundation client Location and load balancing rule, obtain visitor from the View of computer room (such as computer room nearest apart from client) for meeting load balancing The IP address of the corresponding server of IP address at family end, and the IP address of server is returned into client.Client uses clothes The IP address of business device accesses resource.
Therefore, IP address is dispatched using method shown in Fig. 2, helps to be promoted SiteServer LBS to IP address management Convenience.
Fig. 4 can also optionally wrap for a kind of address dispatching device disclosed in the embodiment of the present application, including scheduler module It includes address sort module and establishes module.
Wherein, address sort module is used to, by the address in the view, according to the preset type standard be divided Class obtains the view unit.Module is established for view unit to be dispatched to second from first view in the scheduler module Before view, second view is created.Scheduler module is used to view unit being dispatched to the second view from first view.It is described View includes the view unit, and any one of view unit according to preset kind standard by carrying out sorted same class Address is constituted, and the view unit by the address in the view unit according to the preset kind standard by carrying out classification shape At.
The specific implementation of the function of the above modules, may refer to above method embodiment, and which is not described herein again.
Described device can be arranged in SiteServer LBS, lower the cumbersome of IP address scheduling, improve load balancing Efficiency.
If the function described in the embodiment of the present application method is realized in the form of SFU software functional unit and as independent production Product are sold or in use, can be stored in a computing device read/write memory medium.Based on this understanding, the application is real Applying the part of a part that contributes to existing technology or the technical solution can be expressed in the form of software products, The software product is stored in a storage medium, including some instructions are used so that a computing device (can be personal meter Calculation machine, server, mobile computing device or network equipment etc.) execute each embodiment the method for the application whole or portion Step by step.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), with Machine accesses various Jie that can store program code such as memory (RAM, Random Access Memory), magnetic disc or CD Matter.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with it is other The difference of embodiment, just to refer each other for same or similar part between each embodiment.
The foregoing description of the disclosed embodiments enables professional and technical personnel in the field to realize or use the application. Various modifications to these embodiments will be apparent to those skilled in the art, as defined herein General Principle can in other embodiments be realized in the case where not departing from spirit herein or range.Therefore, the application It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest range caused.

Claims (10)

1. a kind of address dispatching method, which is characterized in that including:
View unit is dispatched to the second view from first view, the view includes the view unit, any one of View unit is constituted by carrying out sorted same class address according to preset kind standard, and the view unit passes through according to described Address in the view unit is carried out classification formation by preset kind standard.
2. according to the method described in claim 1, it is characterized in that, view unit is dispatched to second from first view described Before view, further include:
By the address in the view, classifies according to the preset type standard, obtain the view unit.
3. according to the method described in claim 2, it is characterized in that, the preset type standard includes:
Regional standard and/or operator criteria.
4. according to the method described in claim 3, it is characterized in that, the range of the regional item in the regional standard is more than described Geographic coverage belonging to address, the geographic coverage belonging to described address are the region attribute of described address;
The rank for being superior to the physical operator belonging to described address of operator in the operator criteria.
5. according to claim 1-4 any one of them methods, which is characterized in that it is described by view unit from first view tune It spends to before the second view, further includes:
Create second view.
6. a kind of address dispatching device, which is characterized in that including:
Scheduler module, for view unit to be dispatched to the second view from first view, the view includes the view unit, Any one of view unit is constituted by carrying out sorted same class address according to preset kind standard, the view unit By the way that the address in the view unit is carried out classification formation according to the preset kind standard.
7. device according to claim 6, which is characterized in that further include:
Address sort module, for by the address in the view, classifying according to the preset type standard, obtaining institute State view unit.
8. device according to claim 7, which is characterized in that the preset type standard includes:
Regional standard and/or operator criteria.
9. device according to claim 8, which is characterized in that the range of the regional item in the regional standard is more than described Geographic coverage belonging to address, the geographic coverage belonging to described address are the region attribute of described address;
The rank for being superior to the physical operator belonging to described address of operator in the operator criteria.
10. any one device according to claim 6-9, which is characterized in that further include:
Module is established, for before view unit is dispatched to the second view by the scheduler module from first view, creating institute State the second view.
CN201711470684.1A 2017-12-29 2017-12-29 A kind of address dispatching method and device Pending CN108600146A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711470684.1A CN108600146A (en) 2017-12-29 2017-12-29 A kind of address dispatching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711470684.1A CN108600146A (en) 2017-12-29 2017-12-29 A kind of address dispatching method and device

Publications (1)

Publication Number Publication Date
CN108600146A true CN108600146A (en) 2018-09-28

Family

ID=63633386

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711470684.1A Pending CN108600146A (en) 2017-12-29 2017-12-29 A kind of address dispatching method and device

Country Status (1)

Country Link
CN (1) CN108600146A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868550A (en) * 2012-08-17 2013-01-09 新浪网技术(中国)有限公司 Total network flow scheduler and method for querying domain name resolution record by using total network flow scheduler
US20150249707A1 (en) * 2011-05-31 2015-09-03 Red Hat, Inc. Triggering workload movement based on policy stack having multiple selectable inputs
CN105872079A (en) * 2016-05-12 2016-08-17 北京网瑞达科技有限公司 Chain balancing method based on domain name system (DNS)
CN107040475A (en) * 2016-11-14 2017-08-11 平安科技(深圳)有限公司 Resource regulating method and device
CN107071089A (en) * 2017-05-18 2017-08-18 腾讯科技(深圳)有限公司 Dispatch control method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150249707A1 (en) * 2011-05-31 2015-09-03 Red Hat, Inc. Triggering workload movement based on policy stack having multiple selectable inputs
CN102868550A (en) * 2012-08-17 2013-01-09 新浪网技术(中国)有限公司 Total network flow scheduler and method for querying domain name resolution record by using total network flow scheduler
CN105872079A (en) * 2016-05-12 2016-08-17 北京网瑞达科技有限公司 Chain balancing method based on domain name system (DNS)
CN107040475A (en) * 2016-11-14 2017-08-11 平安科技(深圳)有限公司 Resource regulating method and device
CN107071089A (en) * 2017-05-18 2017-08-18 腾讯科技(深圳)有限公司 Dispatch control method, device and system

Similar Documents

Publication Publication Date Title
AU2014332532B2 (en) Systems and methods for mapping and routing based on clustering
CN105103506B (en) For the method and system for the non-homogeneous bandwidth request allocation bandwidth in system for cloud computing
CN106162233A (en) Code check recommends method and device
CN101741907A (en) Method and system for balancing server load and main server
US9705801B2 (en) Systems and methods for mapping and routing based on clustering
CN104052803A (en) Decentralized distributed rendering method and system
CN105893138A (en) Resource management method and device based on quota
CN103596066B (en) Method and device for data processing
CN104601736A (en) Method and device for realizing short uniform resource locator (URL) service
CN107968810A (en) A kind of resource regulating method of server cluster, device and system
CN104348798B (en) A kind of method, apparatus, dispatch server and system for distributing network
CN103051564A (en) Dynamic resource allocation method and device
CN104754611A (en) User perception evaluation method and system
Khan et al. Clouds of small things: Provisioning infrastructure-as-a-service from within community networks
CN102932271A (en) Method and device for realizing load balancing
CN111355816B (en) Server selection method, device, equipment and distributed service system
CN104683408A (en) Method and system for OpenStack cloud computing management platform to build virtual machine instance
CN111124617B (en) Method and device for creating block chain system, storage medium and electronic device
CN107888717A (en) A kind of domain name determines method, apparatus and electronic equipment
Smolka et al. Evaluation of fog application placement algorithms: a survey
DE112016002226T5 (en) SYSTEMS AND METHODS OF USING WEBSITE SCRIPTS ON SEGMENTS OF CUSTOMER SESSIONS ON ONE WEBSITE
EP4296820A1 (en) Instance deployment method and apparatus, cloud system, computing device, and storage medium
CN106856438A (en) A kind of method of Network instantiation, device and NFV systems
El Karadawy et al. An empirical analysis on load balancing and service broker techniques using cloud analyst simulator
CN109756584A (en) Domain name analytic method, domain name mapping device and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180928