CN105376342B - For determining the device and method of user partition in internet and using the server of described device - Google Patents
For determining the device and method of user partition in internet and using the server of described device Download PDFInfo
- Publication number
- CN105376342B CN105376342B CN201510655187.3A CN201510655187A CN105376342B CN 105376342 B CN105376342 B CN 105376342B CN 201510655187 A CN201510655187 A CN 201510655187A CN 105376342 B CN105376342 B CN 105376342B
- Authority
- CN
- China
- Prior art keywords
- user
- server
- address
- property
- change
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/69—Types of network addresses using geographic information, e.g. room number
Abstract
It provides a kind of for the device and method of determination user partition in internet and using the server of described device.It is described in internet determine user partition device include:Mapping relations module, by IP address and server phase mapping;User routes mark module, according to the IP address of user's registration, server property corresponding with the IP address of registration is marked with user's Route Distinguisher, the server property of the server as user's routing;User's Route Distinguisher polling module, it is configured to through analysis access record, it determines the common IP address of the user, and by the way that server property corresponding with identified common IP address to be compared with the server property marked, judges whether the server for needing to change user's routing;And user's Route Distinguisher changes module, in the case where determining the server for needing to change user's routing, the server property of the server of user's routing is updated to server property corresponding with identified common IP address, with user's Route Distinguisher come the server property after flag update, the message of change server is generated and sent.
Description
Technical field
The present invention relates to Internet technologies, and in particular, to a kind of for determining the device of user partition in internet
With method and using the server of described device.
Background technique
With the development of Internet industry, some large-scale websites have spread over the whole nation or even the whole world, more and more to use
Family is using this large-scale website.When user distribution is when different geographical, network quality may be bad or unstable:In
The network delay in domestic north and south may have 40-100 milliseconds, and Chinese user and other countries' network delay are possible to reach 1 second.
In order to enable user quickly access internet, content distributing network (CDN) can use intelligent domain name system
(DNS) functional modules such as service, global load, content distribution, scheduling, (such as, by global not variable or static data content
Resource pattern file, news information etc.) it is placed on the cache server nearest from user distance, it is directly rung by cache server
It is requested using family, to solve the problems, such as that user accesses the speed of this categorical data.But for variable caused by user
And the biggish individuation data of data volume (such as, comment, mail etc.), CDN technology can not be used.
In addition, DNS can also be independently as the solution for improving user's access speed.DNS is by the Internet domain
Name is associated with server ip, and multiple server ip address can correspond to a domain name.Intelligent DNS system is according to user's
DNS request knows User IP, is returned and the nearest server node of user according to the User IP known.In this way, can accelerate
Access of the user to internet, to provide faster service.However, since the technology depends on the IP of user (that is, user
Geographical location), when user changes geographical location, DNS system may return to different server nodes to user, cause
The individuation data that user generates is stored in from the farther away server of user.
Therefore, it is necessary to a kind of device and method for user partition determining in internet and using described device
Server, described device can carry out correct subregion to user, so that the change of IP address is often used according to user, adjustment user point
Area, so that enabled user accesses the server of subregion nearby.
Summary of the invention
The present invention is a kind of for the device and method of user partition determining in internet and using the clothes of described device
Business device, described device can carry out correct subregion to user, so that the change of IP address is often used according to user, adjustment user point
Area, so that enabled user accesses the server of subregion nearby.
According to an aspect of the invention, there is provided it is a kind of for determining the device of user partition in internet, it can be with
Including:Mapping relations module, by IP address and server phase mapping;User routes mark module, according to the IP of user's registration
Location marks server property corresponding with the IP address of registration, the server as user's routing with user's Route Distinguisher
Server property;User's Route Distinguisher polling module is configured to determine the common IP of the user by analysis access record
Address, and by comparing server property corresponding with identified common IP address with the server property marked
Compared with judging whether to need to change the server of user's routing;And user's Route Distinguisher changes module, uses determining to need to change
In the case where the server of family routing, the server property of the server of user's routing is updated to identified common IP
The corresponding server property in location generates and sends change clothes with user's Route Distinguisher come the server property after flag update
The message of business device.
The common IP address can be finger
The IP address of preset frequency, or IP address corresponding with the primary geographical address of user's input.
User's Route Distinguisher polling module is configurable to:At regular intervals, judge whether to need described in execution
The step of changing the server of user's routing, wherein the time is set by the user or is randomly assigned;Or when service
When the quantity or density of device change, after mapping relations module more new IP address and the mapping relations of server, execute
It is described to judge whether the step of needing to change the server of user's routing.
User's Route Distinguisher polling module is configurable to:When service corresponding with identified common IP address
When device attribute and the server property difference marked, the server for needing to change user's routing is determined;And when user changes
When its primary geographical address causes to change common IP address, the server for needing to change user's routing is determined.
User's Route Distinguisher change module is configurable to:When the server for routing user server property more
It is new for and when the corresponding server property of identified common IP address, the record final updating time.
The message of the change server may include former server property, new demand servicing device attribute and final updating time.
According to another aspect of the present invention, a kind of method for determining user partition is provided, may include:By user
IP and server phase mapping;IP address when according to user's registration is marked and registering IP address phase with user's Route Distinguisher
Corresponding server property;By analysis access record, determine the common IP address of the user, and by will with it is identified
The common corresponding server property of IP address is compared with the server property marked, judges whether to need to change user
The server of routing;In the case where determining the server for needing to change user's routing, server property is updated, is routed with user
Mark generates and sends the message of change server to mark new demand servicing device attribute.
The method can also include:The final updating time is recorded while updating server property.
According to another aspect of the present invention, a kind of server is provided, may include:It is according to the present invention to be used to interconnect
The device of user partition is determined in net;User's Route Distinguisher enquiry module, when receiving user's request, by searching for according to this
The device for user partition determining in internet of invention, determines corresponding server property;User's routing module will be looked into
The corresponding server property ask is compared with current server attribute, if the server property of the response inquired with
Current server attribute is different, then user request is forwarded on corresponding server, otherwise executes user's request;
And migration of subscriber data module, it is used to determine that the device of user partition receives change in internet when from according to the present invention
When the message of more server, by the user data of the user from former server migration to new demand servicing device.
Detailed description of the invention
In conjunction with attached drawing, according to above and other aspect, the feature of specific example embodiments described in detail below, of the invention
And advantage will become apparent from, in attached drawing:
Fig. 1 shows the frame of the device for determining user partition in internet of example embodiment according to the present invention
Figure;
Fig. 2 shows the processes of the method for determining user partition in internet of example embodiment according to the present invention
Figure;And
Fig. 3 show example embodiment according to the present invention using above-mentioned for determining the clothes of user partition in internet
The block diagram of business device.
Specific embodiment
Example of the invention is described below with reference to attached drawing to implement.The present invention provides one kind for determining in internet
The device and method of user partition and the server for using described device, described device can carry out correct subregion to user,
So that often using the change of IP address according to user, user partition is adjusted, so that enabled user accesses the server of subregion nearby.
Fig. 1 shows the device 100 for determining user partition in internet of example embodiment according to the present invention
Block diagram, and Fig. 2 shows the streams of the method 200 for determining user partition in internet of example embodiment according to the present invention
Cheng Tu.Below in conjunction with Fig. 1 and Fig. 2 detailed description according to the present invention example embodiment in internet determine user partition
Device 100 and its operating method 200.It will be seen from figure 1 that for determining the device 100 of user partition in internet
Block diagram may include:Mapping relations module 101, user route mark module 103, user's Route Distinguisher polling module 105 with
And user's Route Distinguisher changes module 107.
Firstly, in step 201, by mapping relations module 101 by IP address and server phase mapping, to search user
The location information.That is, position (country, province, city etc.) is mapped with server room.Position it is careful
Degree can determine according to the quantity of server room, density, such as if only BeiJing, China, two, Guangzhou server machine
Room, can be careful to province by position, the province of North of Yangtze River is mapped to Beijing server room, on the south the Changjiang river
Province is mapped to Guangzhou server room.It should be noted that the distribution condition of above-mentioned server room is only an example of mapping,
It actually can be according to the network speed in different provinces to the two server rooms etc. because usually adjusting mapping relations.
In step 202, mark module 103 is routed according to the IP address of user's registration, with user's Route Distinguisher by user
The corresponding server property of IP address with registration is marked, the server property of the server as user's routing.For example,
IP is the IP of Beijing when user's registration, then server category corresponding with Pekinese's server is marked with user's Route Distinguisher
Property.
Then, in step 203, access record is analyzed by user's Route Distinguisher polling module 105, determines the user
Common IP address, wherein common IP address refers to is more than from the access frequency that the IP address accesses whithin a period of time
The IP address of preset frequency, or IP address corresponding with the primary geographical address of user's input.For example, being visited when by analysis
It asks record, determines that user is more than from the access frequency that Shanghai IP address accesses within the predetermined time (for example, in half a year)
Preset frequency, then by the Shanghai, IP address is determined as the common IP address of the user.Then in step 204, user's Route Distinguisher
Polling module 105 by will server corresponding with identified common IP address (for example, being in this case the clothes in Shanghai
Business device) attribute is compared with the server property (for example, in this case be Pekinese's server) marked, judges whether
Need to change the server of user's routing.When server property corresponding with identified common IP address and the clothes that are marked
When device attribute difference of being engaged in, or when user, which changes its primary geographical address, to cause to change common IP address, it is determined that need to change
The server of user's routing, the reason of causing such case, can include but is not limited to user's permanent address and change;Otherwise,
The reason of then determining the server for having no need to change user's routing, causing latter instance can include but is not limited to user and temporarily go out
Difference and tourism.That is, the server of user's routing is not changed, so that facing in the case where user temporarily goes on business and travels
When the user that goes on business to somewhere be not take up the resource of local user, it is ensured that most of user can access more quickly.
It should also be noted that in addition to user's Route Distinguisher polling module 105 at regular intervals (wherein the time be by
It is user setting or being randomly assigned) just execute described in the step of judging whether to need to change the server of user's routing it
It outside, can also be when the quantity of server or density change (for example, increasing or reduce server room), in mapping relations
After the more new IP address of module 101 and the mapping relations of server, user's Route Distinguisher polling module 105, which executes the judgement, is
The step of no server for needing to change user's routing.
It is changed in the case where determining the server for needing to change user's routing by user's Route Distinguisher in step 205
Module 107 is by the server property of the server marked by user's Route Distinguisher (for example, servicing in this case for Pekinese
Device) server property corresponding with identified common IP address is updated to (for example, being in this case the service in Shanghai
Device), with user's Route Distinguisher come the server property after flag update.In addition, when the service that will be marked by user's Route Distinguisher
When the server property of device is updated to server property corresponding with identified common IP address, the change of user's Route Distinguisher
Module 107 can also record current time, as the final updating time.User's Route Distinguisher change module 107 also configures
For the message for generating and sending change server, wherein the message of the change server may include former server property, it is new
Server property and final updating time.Therefore, in the case where user changes common IP address, example is real according to the present invention
The device for determining user partition for applying example (for example, changing resident address, or can temporarily go out according to the concrete condition of user
Difference, tourism etc.), to user rationalization partition, to promote user quickly to be accessed.
Above present it is a kind of in internet determine user partition device and method, described device can to
Family carries out correct subregion, so that often using the change of IP address according to user, adjusts user partition, so that enabled user carries out quickly
Access.
Fig. 3 show example embodiment according to the present invention using above-mentioned for determining the dress of user partition in internet
The block diagram for the server 1000 set.From figure 3, it can be seen that server 1000 may include according to above example embodiment
For determined in internet the device 100 of user partition, user's Route Distinguisher enquiry module 200, user's routing module 300 with
And migration of subscriber data module 400.
In server 1000, when receiving user's request, user's Route Distinguisher enquiry module 200 is by searching for basis
For determining the device 100 of user partition in internet described in example embodiments of the present invention, corresponding server is determined
Attribute.The corresponding server property inquired is compared by user's routing module 300 with current server attribute, if looked into
The server property for the response ask is different from current server attribute, then user request is forwarded to corresponding server
On, otherwise execute user's request.Using above-mentioned Route Distinguisher query service, for not should belong to book server computer room
The request path of user can be forwarded or be redirected on the server of corresponding computer room, so that it is guaranteed that user by user's request
Its user data is accessed nearby.When receiving the message of change server from device 100, migration of subscriber data module 400 makes
With data transmission method by the user data of the user from former server migration to new demand servicing device.For example, when user's routing
When server is changed to Shanghai server from Beijing server, migration of subscriber data module 400 is by the user data of the user
From Beijing server migration to Shanghai server.Migration can be realized by technologies such as duplications.It, can be in original when migrating data starts
Transition state mark is done in data.Specifically, if the number of users that (current time-Route Distinguisher final updating time) > allows
According to the window of migration time, that is, data migration operation is completed, then user's routing module will not belong to user's request of book server
It is routed to new server.If not yet completing Data Migration, the response of " please retry " can be returned.In this way, having obtained one
Kind often uses the change of IP address according to user, adjusts user partition, so that enabled user rapidly accesses the service of subregion nearby
Device.
Although the operation of context of methods has shown and described with particular order, the operation of each method can change
Sequentially, allow to be performed with reverse order specific operation or allow at least partly execute spy simultaneously with other operations
Fixed operation.Additionally, this invention is not limited to above example embodiment, it can be in the premise for not departing from spirit and scope of the present disclosure
Under, including one or more other components, or omit one or more other components.
The preferred embodiment of the present invention is had been combined above and shows the present invention, but those skilled in the art will manage
Solution, without departing from the spirit and scope of the present invention, can carry out various modifications the present invention, replaces and change.Cause
This, the present invention should not be limited by above-described embodiment, and should be limited by appended claims and its equivalent.
Claims (9)
1. a kind of device for user partition determining in internet, including:
Mapping relations module, by IP address and server phase mapping;
User routes mark module, and according to the IP address of user's registration, the IP address with registration is marked with user's Route Distinguisher
Corresponding server property, the server property of the server as user's routing;
User's Route Distinguisher polling module is configured to determine the common IP address of the user, and lead to by analysis access record
It crosses and is compared server property corresponding with identified common IP address with the server property marked, judgement is
The no server for needing to change user's routing;And
User's Route Distinguisher changes module, in the case where determining the server for needing to change user's routing, by user's routing
The server property of server is updated to server property corresponding with identified common IP address, with user's Route Distinguisher
Server property after carrying out flag update generates and sends the message of change server.
2. the apparatus according to claim 1, wherein the common IP address refers to whithin a period of time from the IP address
The access frequency to access is more than the IP address of preset frequency, or IP corresponding with the primary geographical address of user's input
Address.
3. the apparatus according to claim 1, wherein user's Route Distinguisher polling module is configured to:
At regular intervals, judge whether the step of needing to change the server of user's routing described in execution, wherein the time
It is set by the user or be randomly assigned;Or
When the quantity of server or density change, in the mapping relations of mapping relations module more new IP address and server
Later, judge whether the step of needing to change the server of user's routing described in execution.
4. the apparatus according to claim 1, wherein user's Route Distinguisher polling module is configured to:
When server property corresponding with identified common IP address with marked server property difference when, determining needs
Change the server of user's routing;And
When user, which changes its primary geographical address, to cause to change common IP address, the service for needing to change user's routing is determined
Device.
5. the apparatus according to claim 1, wherein user's Route Distinguisher change module is configured to:It is routed when by user
The server property of server when being updated to server property corresponding with identified common IP address, record is last more
The new time.
6. device according to claim 5, wherein the message of the change server includes former server property, new demand servicing
Device attribute and final updating time.
7. a kind of method for determining user partition, including:
By the IP of user and server phase mapping;
IP address when according to user's registration marks server category corresponding with registering IP address with user's Route Distinguisher
Property;
By analysis access record, the common IP address of the user is determined, and passing through will be with identified common IP address phase
Corresponding server property is compared with the server property marked, judges whether the service for needing to change user's routing
Device;
In the case where determining the server for needing to change user's routing, server property is updated, is marked with user's Route Distinguisher
Remember new demand servicing device attribute, generates and sends the message of change server.
8. according to the method described in claim 7, further including recording the final updating time while updating server property.
9. a kind of server, including:
Device according to claim 1 for user partition determining in internet;
User's Route Distinguisher enquiry module is used for when receiving user's request by searching for according to claim 1
The device that user partition is determined in internet, determines corresponding server property;
The corresponding server property inquired is compared by user's routing module with current server attribute, if inquiry
The server property for the response arrived is different from current server attribute, then user request is forwarded to corresponding server
On, otherwise execute user's request;And
Migration of subscriber data module, when from it is according to claim 1 in internet determine user partition device
When receiving the message of change server, by the user data of the user from former server migration to new demand servicing device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510655187.3A CN105376342B (en) | 2015-10-12 | 2015-10-12 | For determining the device and method of user partition in internet and using the server of described device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510655187.3A CN105376342B (en) | 2015-10-12 | 2015-10-12 | For determining the device and method of user partition in internet and using the server of described device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105376342A CN105376342A (en) | 2016-03-02 |
CN105376342B true CN105376342B (en) | 2018-11-23 |
Family
ID=55378136
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510655187.3A Active CN105376342B (en) | 2015-10-12 | 2015-10-12 | For determining the device and method of user partition in internet and using the server of described device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105376342B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110213365B (en) * | 2019-05-30 | 2021-02-26 | 掌阅科技股份有限公司 | User access request processing method based on user partition and electronic equipment |
CN114553828B (en) * | 2022-02-24 | 2023-01-31 | 中国人民解放军国防科技大学 | DNS operation and maintenance management method, device, equipment and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102055818A (en) * | 2010-12-30 | 2011-05-11 | 北京世纪互联工程技术服务有限公司 | Distributed intelligent DNS (domain name server) library system |
CN102098349A (en) * | 2009-12-09 | 2011-06-15 | 中兴通讯股份有限公司 | Address mapping method and access service node |
CN102209011A (en) * | 2010-03-29 | 2011-10-05 | 中兴通讯股份有限公司 | Method for establishing connection with multi-homed terminal and system thereof |
CN103685603A (en) * | 2013-12-19 | 2014-03-26 | 北京奇虎科技有限公司 | Domain name system analyzing method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8214524B2 (en) * | 2007-12-21 | 2012-07-03 | Hostway Corporation | System and method for selecting an optimal authoritative name server |
-
2015
- 2015-10-12 CN CN201510655187.3A patent/CN105376342B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102098349A (en) * | 2009-12-09 | 2011-06-15 | 中兴通讯股份有限公司 | Address mapping method and access service node |
CN102209011A (en) * | 2010-03-29 | 2011-10-05 | 中兴通讯股份有限公司 | Method for establishing connection with multi-homed terminal and system thereof |
CN102055818A (en) * | 2010-12-30 | 2011-05-11 | 北京世纪互联工程技术服务有限公司 | Distributed intelligent DNS (domain name server) library system |
CN103685603A (en) * | 2013-12-19 | 2014-03-26 | 北京奇虎科技有限公司 | Domain name system analyzing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN105376342A (en) | 2016-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2777844C (en) | Method, computer program product and electronic device for hyper-local geo-targeting | |
US9961164B2 (en) | DNS overriding-based methods of accelerating content delivery | |
US20150381557A1 (en) | Container name server and method for container name resolution | |
CN107528862B (en) | Domain name resolution method and device | |
US9130970B2 (en) | Systems for accelerating content delivery via DNS overriding | |
US9258270B2 (en) | Selecting between domain name system servers of a plurality of networks | |
WO2019028683A1 (en) | Method and system for acquiring and collecting client local dns server | |
CN103888358B (en) | Routing method, device, system and gateway equipment | |
CN105323173B (en) | The setting method and device of networking rule entry | |
US20140280803A1 (en) | Optimized Content Distribution Based on Metrics Derived from the End User | |
CN103281409B (en) | Based on mobile Internet domain name analytic method and the dns server of Transmission Control Protocol | |
CN106537384B (en) | Use the reverse IP database of the data of instruction user location | |
US20140207818A1 (en) | Configuring an origin server content delivery using a pulled data list | |
CN103685583A (en) | Method and system for resolving domain names | |
US20140149578A1 (en) | Method For Testing Methods of Accelerating Content Delivery | |
CN106060004A (en) | Database access method and database agent node | |
CN101808034A (en) | Method and device for routing management | |
JP4699530B2 (en) | Methods, systems, and applications for service addressing | |
CN104702617B (en) | A kind of data distributing method and device based on content distributing network | |
JP2019511788A (en) | Routing method and apparatus | |
CN109756584A (en) | Domain name analytic method, domain name mapping device and computer readable storage medium | |
CN109327559A (en) | A kind of domain name analytic method and device based on mixing cloud platform | |
JP2020502941A (en) | Resource scheduling | |
CN105376342B (en) | For determining the device and method of user partition in internet and using the server of described device | |
JP2019095833A (en) | Address management 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 |