CN105847397A - Method and device for providing network service for terminal device - Google Patents
Method and device for providing network service for terminal device Download PDFInfo
- Publication number
- CN105847397A CN105847397A CN201610262861.6A CN201610262861A CN105847397A CN 105847397 A CN105847397 A CN 105847397A CN 201610262861 A CN201610262861 A CN 201610262861A CN 105847397 A CN105847397 A CN 105847397A
- Authority
- CN
- China
- Prior art keywords
- address
- server
- content
- terminal device
- mobile communication
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
-
- 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/50—Address allocation
- H04L61/5046—Resolving address allocation conflicts; Testing of addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
Abstract
The embodiment of the invention provides a method and device for providing network service for a terminal device. The method comprises: a load balancing server in a content distribution network receives the first request information sent by the first content providing server in the content distribution network; the first request information is configured to require the first content providing server to provide network service for the terminal device; the load balancing server determines whether the IP address of the terminal device and the IP address of the first content providing server are distributed by the same mobile telecom carrier or not according to the Internet protocol IP of the terminal device carried by the first request information and the IP address of the first content providing server; and the load balancing server sends the first response information to the first content providing server. The method and device for providing network service for a terminal device add a new function for the load balancing sever, wherein the new function is that: determining whether the IP address of the terminal device and the IP address of the first content providing server are provided by the same mobile telecom carrier or not.
Description
Technical field
The present embodiments relate to technical field of the computer network, particularly relate to a kind of for terminal device offer
The method and device of network service.
Background technology
Along with the development of science and technology, electronic technology have also been obtained development at full speed, and people are permissible
Accessing network by various terminal devices, such as, people can use PC (PC)
Online, after PC obtains the online request of user, can be sent to CDN (Content by online request
Delivery Network, content distributing network), user just can obtain in content distributing network
The content of server.
At present, user can be to DNS (Domain Name System, the domain name system of terminal device
System) server address is configured, if dns server address is arranged to set with terminal by user
The address of the operator that standby operator originally is different, the online request of user will be sent to the ground arranged
The content of the content distributing network of the operator that location is corresponding rather than terminal device operator originally is divided
Hairnet network, this will cause user's networking speed relatively slow, and user's experience of surfing the Net is poor.
Summary of the invention
The embodiment of the present invention provides a kind of method and device providing network service for terminal device, in order to solve
Certainly in prior art, user is when mistake arranges dns server address, and the slower technology of networking speed is asked
Topic.
The embodiment of the present invention provides a kind of method providing network service for terminal device, including:
Load-balanced server in content distributing network receives the first content in described content distributing network
The first request message that server sends is provided;Described first request message is used for asking described first content
Server is provided to provide network service for terminal device;
The interconnection of the described terminal device that described load-balanced server carries according to described first request message
FidonetFido IP address and described first content provide the IP address of server, it is judged that described terminal device
IP address and described first content provide whether the IP address of server is divided by same mobile communication carrier
Join;
Described load-balanced server provides server to send the first response message to described first content;Institute
State the first response message for indicating the IP address of described terminal device to provide server with described first content
IP address whether distributed by same mobile communication carrier.
The embodiment of the present invention provides a kind of method providing network service for terminal device, including:
The second request that first content in content distributing network provides server receiving terminal apparatus to send disappears
Breath;Described second request message is used for asking described first content to provide server to be that described terminal device carries
For network service;
Described first content provides server according to the described second described terminal device asking message to be carried
Internet protocol address, it is judged that the IP address of described terminal device provides service with described first content
Whether the IP address of device is distributed by same mobile communication carrier;
If the IP address of described terminal device and described first content provide the IP address of server to be by same
The distribution of one mobile communication carrier, the most described first content provides server to provide net for described terminal device
Network services.
The embodiment of the present invention provides a kind of device providing network service for terminal device, including:
First receives unit, provides server to send for receiving the first content in content distributing network
First request message;Described first request message is used for asking described first content to provide server to be terminal
Equipment provides network service;
First judging unit, the interconnection of the described terminal device for carrying according to described first request message
FidonetFido IP address and described first content provide the IP address of server, it is judged that described terminal device
IP address and described first content provide whether the IP address of server is divided by same mobile communication carrier
Join;
First transmitting element, for providing server to send the first response message to described first content;Institute
State the first response message for indicating the IP address of described terminal device to provide server with described first content
IP address whether distributed by same mobile communication carrier.
The embodiment of the present invention provides a kind of device providing network service for terminal device, including:
Second receives unit, the second request message sent for receiving terminal apparatus;Described second request
Message is used for asking described device to provide network service for described terminal device;
Second judging unit, the interconnection of the described terminal device for carrying according to described second request message
FidonetFido IP address, it is judged that whether the IP address of described terminal device and the IP address of described device be by same
The distribution of one mobile communication carrier;
Network provides unit, if for the IP address of described terminal device with the IP address of described device being
Distributed by same mobile communication carrier, then provide network service for described terminal device.
The method and device that network service is provided for terminal device that the embodiment of the present invention provides, terminal device
The the first request message being used for asking to provide network service sent can carry the IP ground of terminal device
Location, the load-balanced server in content distributing network may determine that the IP address of terminal device and content are divided
In hairnet network, whether the first content of receiving terminal apparatus request provides the IP address of server by same operation
Business distributes, and then provides server to send the first response message according to the result judged to first content.This
Sample, first content provides server just can know terminal device and the first content server asking online
Whether belong to same operator, in order to further determine that and how to provide network service, example for terminal device
As, if the first content of receiving terminal apparatus request in the IP address of terminal device and content distributing network
The most whether the IP address providing server is distributed by same operator, then first content offer server can
Not provide service to this terminal device, such that it is able to ensure the networking speed of user as far as possible, also give load
Equalization server adds new function.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality
Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that under,
Accompanying drawing during face describes is some embodiments of the present invention, for those of ordinary skill in the art,
On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the first method flow diagram being terminal device offer network service of the present invention;
Fig. 2 provides the method flow diagram of network service for the second of the present invention for terminal device;
Fig. 3 is the first apparatus structure schematic diagram being terminal device offer network service of the present invention;
Fig. 4 provides the apparatus structure schematic diagram of network service for the second of the present invention for terminal device.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this
Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention,
Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on
Embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise
The every other embodiment obtained, broadly falls into the scope of protection of the invention.
The method and device that network service is provided for terminal device that the embodiment of the present invention provides, terminal device
The the first request message being used for asking to provide network service sent can carry the IP of terminal device
(Internet Protocol, Internet protocol) address, the load-balanced server in content distributing network
May determine that the first content of receiving terminal apparatus request in the IP address of terminal device and content distributing network
Whether the IP address providing server is distributed by same operator, and then gives in first according to the result judged
Hold and provide server to send the first response message.So, first content provide server just can know please
Whether terminal device and the first content server of asking online belong to same operator, in order to the most true
Fixed the most how to provide network service for terminal device, such as, if the IP address of terminal device and content distribution
In network, the most whether the first content of receiving terminal apparatus request provides the IP address of server by same operation
Business distributes, then first content provides server can not provide service to this terminal device, such that it is able to
Ensure the networking speed of user as far as possible, also add new function to load-balanced server.
Below in conjunction with the accompanying drawings the preferred embodiment of the present invention is described in detail.
Referring to Fig. 1, the embodiment of the present invention provides the first to provide the side of network service for terminal device
Method, described method can apply to the load-balanced server in content distributing network, described method
Flow process is described as follows.
Step 101: load-balanced server in content distributing network receives in content distributing network the
The first request message that one content providing server sends;First request message is used for asking first content to carry
Network service is provided for terminal device for server;
Step 102: the internet of the terminal device that load-balanced server carries according to the first request message
Protocol IP address and first content provide the IP address of server, it is judged that the IP address of terminal device and the
Whether the IP address of one content providing server is distributed by same mobile communication carrier;
Step 103: load-balanced server provides server to send the first response message to first content;
The IP address of first response message IP address with first content offer server for indicating terminal device
Whether distributed by same mobile communication carrier.
Content distributing network can include a load-balanced server and multiple content providing server, or
Person can also include multiple load-balanced server and multiple content providing server, and the most each load is equal
Weighing apparatus server is responsible for a part of content providing server is carried out load balancing.For content providing server
Specifically which kind of server, the embodiment of the present invention is not construed as limiting, as long as in content distributing network can be
Terminal device provides the server of network service can be the content catering service in the embodiment of the present invention
Device, such as, can be the caching server in content distributing network.First content offer server can be
Any one content providing server in content distributing network.In content distributing network, load balancing
It is that user distributes link circuit condition relatively that server can be used to the load state according to different content offer server
Which kind of server good content providing server, be for load-balanced server actually, and the present invention implements
Example is not construed as limiting equally, for example, it may be GSLB (Global Server Load Balance, overall negative
Carry equilibrium) server.
First request message can be user pass through terminal device to first content provide server send,
It is used for the message asking to provide network service.First request message can with the IP address of carried terminal equipment,
The IP address of terminal device may indicate that terminal device uses the network of which mobile communication carrier,
Such as, the IP address of terminal device is the address of telecommunications distribution, then the network that terminal device uses is electricity
The network of letter.First request message can also carry first content provide server IP address, equally,
First content provides the IP address of server may indicate that, and first content provides server which is belonging to and moves
Common carrier, such as, first content provides the IP address of server to be the address distributed by UNICOM,
So first content offer server is the server of UNICOM.
Load-balanced server can store the IP address base of different operators, therefore, load balancing service
Device may determine which IP address by which mobile communication carrier is distributed.Receiving carried terminal
After the IP address of equipment and first content provide the first request message of the IP address of server, load is all
Weighing apparatus server may determine that what whether the two IP address was distributed by same mobile communication carrier.Example
As, load-balanced server determines that the IP address of terminal device is distributed by telecommunications, and first content provides
The IP address of server is distributed by UNICOM, and now, the IP address of terminal device and first content carry
IP address for server is not distributed by same mobile communication carrier, say, that terminal sets
Standby client is telecommunications, but dns server address may be arranged to UNICOM by user, because of
The request accessing network is sent the content providing server giving UNICOM by this.
Load-balanced server, after having judged, can provide server to send first to first content
Response message, the first response message may indicate that the IP address of terminal device and first content provide server
IP address whether distributed by same mobile communication carrier.According to the difference of judged result, first
Response message may be different, illustrates several possible situations below.
Optionally, if the IP address of terminal device and first content provide the IP address of server to be by same
The distribution of one mobile communication carrier, load-balanced server can provide server to send to first content
First response message, provides network service to indicate first content to provide server to continue as terminal device.
It is to say, when the IP ground of the IP address with first content offer server judging terminal device
When location is to be distributed by same mobile communication carrier, illustrate that user configured dns server address is correct
, then the first content that can be continuing with user's request provides server to provide network for terminal device
Service.In this manner it is ensured that user can be normally carried out online, load-balanced server is the most intelligent.
Optionally, if the IP address of terminal device and first content provide the IP address of server be not by
Same mobile communication carrier distributes, and load-balanced server can determine second in content distributing network
Content providing server, the IP address of the second content providing server and the IP address of terminal device are by same
The distribution of one mobile communication carrier, load-balanced server can provide server to send to first content and take
First response message of the IP address with the second content providing server.
Such as, load-balanced server determines that the IP address of terminal device is distributed by telecommunications, in first
Holding and provide the IP address of server to be distributed by UNICOM, now, two IP addresses are not by same shifting
Dynamic common carrier distribution, then load-balanced server can redefine in content distributing network
The content providing server (the i.e. second content providing server) of telecommunications, in this case, to first
The first response message that content providing server sends can carry the IP ground of the second content providing server
Location.So, now and first content provides the link between server to the terminal device used due to user
Being connection, therefore, first content offer server can be by the second content providing server of reception
IP address is transmitted to terminal device, to inform the mobile communication operators corresponding to the network of user's current request
The mobile communication carrier that business and terminal device use is not same, in order to user can reconfigure
DNS, thus promote network speed, strengthen Consumer's Experience.
Referring to Fig. 2, the embodiment of the present invention provides the second to provide the side of network service for terminal device
Method, described method can apply to the first content in content distributing network and provides server, described side
The flow process of method is described as follows.
Step 201: the first content in content distributing network provides server receiving terminal apparatus to send
Second request message;Second request message is used for asking first content to provide server to provide for terminal device
Network service;
Step 202: first content provides mutual according to the second request terminal device of carrying of message of server
Networking protocol IP address, it is judged that the IP address of terminal device provides the IP address of server with first content
Whether distributed by same mobile communication carrier;
Step 203: if the IP address of terminal device and first content provide the IP address of server to be by same
The distribution of one mobile communication carrier, then first content provides server to provide network service for terminal device.
Content distributing network can include multiple content providing server, and first content provides server permissible
It it is any one content providing server therein.Terminal device can be by providing service to first content
Device sends the second solicited message provides server to provide network service for terminal device with request first content.
First content provides server can store the IP address base of different operators, therefore, first content
The IP address of terminal device providing server to may determine that the second request message of reception is carried is by which
Mobile communication carrier's distribution.Receiving the second request message of the IP address carrying terminal device
After, first content offer server may determine that the IP address of this terminal device and the IP address of self are
Do not distributed by same mobile communication carrier.Such as, first content provides the IP of server self
Address is distributed by UNICOM, and the IP address that first content provides server to determine terminal device is also by joining
The reduction of fractions to a common denominator is joined, now, the IP address of terminal device and first content provide the IP address of server be by
The distribution of same mobile communication carrier, say, that the dns server address configuration of terminal device
Correctly, the client of terminal device is UNICOM, the network Ye Shi UNICOM that request accesses.
If first content provides server through judging that the IP address drawing terminal device provides with first content
The IP address of server is distributed by same mobile communication carrier, then first content provides server
Directly can provide network service for terminal device.So, first content provides server only determining
When what user asked is the network matched with the mobile communication carrier belonging to terminal device, can be just eventually
End equipment provides network service, to ensure the speed that user surfs the Net.
Optionally, if the IP address of terminal device and first content provide the IP address of server be not by
Same mobile communication carrier distributes, and first content offer server can be to bearing in content distributing network
Carry equalization server and send the 3rd request message, to ask load-balanced server again to divide for terminal device
Join content providing server;Wherein, the content that first content provides server to be asked to redistribute provides
The IP address of server need to be distributed by same mobile communication carrier with the IP address of terminal device.
Being what message for the 3rd request message, the embodiment of the present invention is not construed as limiting actually, as long as energy
Load-balanced server is enough allowed to know which the mobile communication carrier belonging to IP address of terminal device is specially
Individual mobile communication carrier.Such as, the 3rd request message can be the IP address comprising terminal device
The message of affiliated mobile communication carrier's title, or, the 3rd request message can also be carried terminal
The message of the IP address of equipment, load-balanced server can know terminal according to the IP address carried
Which operator mobile communication carrier belonging to equipment is, etc..
Such as, first content provides server to determine that the IP address of terminal device is distributed by telecommunications, the
The IP address of one content providing server is distributed by UNICOM, and now, two IP addresses are not by same
The distribution of one mobile communication carrier, then first content offer server can be to load-balanced server
Sending the 3rd request message, allowing load-balanced server is that mobile communication carrier redistributed by terminal device
Content providing server for telecommunications.So, user error configure dns server address time,
The mobile communication that one content providing server can ask auxiliary equalizing server to be terminal device distribution coupling
The content providing server of operator, and then promote the online experience of user, also carry for first content simultaneously
New function is added for server.
Optionally, server load-balanced server in content distributing network is provided to send out at first content
After sending the 3rd request message, it is also possible to the second content catering service that balancing received load server sends
The IP address of device, the IP address of the second content providing server and the IP address of terminal device are by same shifting
Dynamic common carrier distribution, first content offer server can be by the IP ground of the second content providing server
Location is sent to terminal device.
Such as, after load-balanced server asks message the receive first content offer server the 3rd,
Redistribute content providing server for terminal device, such as redistribute distribution of content for terminal device
The second content providing server in network, the IP address of the second content providing server and terminal device
IP is distributed by telecommunications address, and load-balanced server can be by the IP of the second content providing server
Address is sent to first content and provides server, and first content provides server receiving load balancing clothes
Behind the IP address of the second content providing server that business device sends, can be directly by the second content catering service
The IP address of device is transmitted to terminal device, in order to terminal device can according to IP address directly with second in
Hold and provide server to set up link, and then surfed the Net by the second content providing server.So, Yong Huke
To avoid causing network speed slow because of cross operator online, the online improving user is experienced.
Optionally, the IP address in the IP address with first content offer server that judge terminal device is
No distributed by same mobile communication carrier after, if the IP address of terminal device and first content provide clothes
The IP address of business device is not to be distributed by same mobile communication carrier, and first content provides the server can be to
Terminal device sends prompting message, to indicate terminal device switch contents to provide server.
Being which kind of message for prompting message, the embodiment of the present invention is not construed as limiting actually, such as, can be language
Sound prompting message, it is also possible to the prompting message being shown on the display unit of terminal device, etc., only
If can indicate that user's switch contents of terminal device provides the message of server.
Such as, first content provides server to determine that the IP address of terminal device is distributed by telecommunications, the
The IP address of one content providing server is distributed by UNICOM, then first content provides server permissible
Sending prompting message to terminal device, " current dns server IP address is joined such as to send character information
Put mistake, the IP address of telecommunications please be reconfigure." give terminal device, terminal device is receiving character
Character information can be directly displayed after message.So, user can know the operator being currently configured in time
Not being same with actually used operator, in order to user can re-start configuration, Consumer's Experience is relatively
Good, enhance Consumer's Experience.
Referring to Fig. 3, based on same inventive concept, the embodiment of the present invention provides one to be terminal device
Thering is provided the device of network service, this device may include that
First receives unit 301, provides server to send out for receiving the first content in content distributing network
The the first request message sent;First request message is used for asking first content to provide server to be terminal device
Network service is provided;
First judging unit 302, the internet protocol of the terminal device for carrying according to the first request message
View IP address and first content provide the IP address of server, it is judged that the IP address and first of terminal device
Whether the IP address of content providing server is distributed by same mobile communication carrier;
First transmitting element 303, for providing server to send the first response message to first content;The
The IP address of one response message IP address with first content offer server for indicating terminal device is
No distributed by same mobile communication carrier.
Optionally, also include:
Determine unit, for the IP in the IP address with first content offer server judging terminal device
After whether address is distributed by same mobile communication carrier, if the IP address of terminal device and first content
The IP address providing server is not to be distributed, then in content distributing network by same mobile communication carrier
Determine the second content providing server;The IP address of the second content providing server and the IP of terminal device
Address is distributed by same mobile communication carrier;
First transmitting element 303 is further used for:
Server is provided to send the first sound of the IP address carrying the second content providing server to first content
Answer message.
The embodiment of the present invention can be passed through hardware processor (hardware processor) realize being correlated with
Functional module.
Referring to Fig. 4, based on same inventive concept, the embodiment of the present invention provides another kind to set for terminal
The standby device providing network service, this device may include that
Second receives unit 401, the second request message sent for receiving terminal apparatus;Second request
Message provides network service for request unit for terminal device;
Second judging unit 402, the internet protocol of the terminal device for carrying according to the second request message
View IP address, it is judged that whether the IP address of terminal device is transported by same mobile communication with the IP address of device
Battalion's business's distribution;
Network provides unit 403, if being used for the IP address of terminal device with the IP address of device is by same
Mobile communication carrier distributes, then provide network service for terminal device.
Optionally, also include:
Second transmitting element, for the IP address in the IP address Yu device judging terminal device whether by
After the distribution of same mobile communication carrier, if the IP address of the IP address of terminal device and device is not
Distributed by same mobile communication carrier, then device load-balanced server in content distributing network is sent out
Send the 3rd request message, to ask load-balanced server to redistribute content catering service for terminal device
Device;Wherein, device is asked the IP of the IP address of content providing server and the terminal device redistributed
Address need to be distributed by same mobile communication carrier.
Optionally, the second reception unit 401 is further used for:
After device load-balanced server in content distributing network sends the 3rd request message, connect
Receive the IP address of the second content providing server that load-balanced server sends, the second content catering service
The IP address of device is distributed by same mobile communication carrier with the IP address of terminal device;
Second transmitting element is further used for:
The IP address of the second content providing server is sent to terminal device.
Optionally, the second transmitting element is further used for:
In the IP address of the IP address Yu device judging terminal device whether by same mobile communication carrier
After distribution, if the IP address of the IP address of terminal device and device is not by same mobile communication operators
Business distributes, then send prompting message to terminal device, to indicate terminal device switch contents to provide server.
The embodiment of the present invention can be passed through hardware processor (hardware processor) realize being correlated with
Functional module.
The method and device that network service is provided for terminal device that the embodiment of the present invention provides, terminal device
The the first request message being used for asking to provide network service sent can carry the IP ground of terminal device
Location, the load-balanced server in content distributing network may determine that the IP address of terminal device and content are divided
In hairnet network, whether the first content of receiving terminal apparatus request provides the IP address of server by same operation
Business distributes, and then provides server to send the first response message according to the result judged to first content.This
Sample, first content provides server just can know terminal device and the first content server asking online
Whether belong to same operator, in order to further determine that and how to provide network service, example for terminal device
As, if the first content of receiving terminal apparatus request in the IP address of terminal device and content distributing network
The most whether the IP address providing server is distributed by same operator, then first content offer server can
Not provide service to this terminal device, such that it is able to ensure the networking speed of user as far as possible, also give load
Equalization server adds new function.
Device embodiment described above is only schematically, wherein said illustrates as separating component
Unit can be or may not be physically separate, the parts shown as unit can be or
Person may not be physical location, i.e. may be located at a place, or can also be distributed to multiple network
On unit.Some or all of module therein can be selected according to the actual needs to realize the present embodiment
The purpose of scheme.Those of ordinary skill in the art are not in the case of paying performing creative labour, the most permissible
Understand and implement.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive each reality
The mode of executing can add the mode of required general hardware platform by software and realize, naturally it is also possible to by firmly
Part.Based on such understanding, the portion that prior art is contributed by technique scheme the most in other words
Dividing and can embody with the form of software product, this computer software product can be stored in computer can
Read in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that one
Computer equipment (can be personal computer, server, or the network equipment etc.) performs each to be implemented
The method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, rather than to it
Limit;Although the present invention being described in detail with reference to previous embodiment, the ordinary skill of this area
Personnel it is understood that the technical scheme described in foregoing embodiments still can be modified by it, or
Person carries out equivalent to wherein portion of techniques feature;And these amendments or replacement, do not make corresponding skill
The essence of art scheme departs from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (12)
1. the method providing network service for terminal device, it is characterised in that including:
Load-balanced server in content distributing network receives the first content in described content distributing network
The first request message that server sends is provided;Described first request message is used for asking described first content
Server is provided to provide network service for terminal device;
The interconnection of the described terminal device that described load-balanced server carries according to described first request message
FidonetFido IP address and described first content provide the IP address of server, it is judged that described terminal device
IP address and described first content provide whether the IP address of server is divided by same mobile communication carrier
Join;
Described load-balanced server provides server to send the first response message to described first content;Institute
State the first response message for indicating the IP address of described terminal device to provide server with described first content
IP address whether distributed by same mobile communication carrier.
Method the most according to claim 1, it is characterised in that
In the IP address of the IP address with described first content offer server that judge described terminal device it is
No by same mobile communication carrier distribute after, also include:
If the IP address of described terminal device and described first content provide the IP address of server be not by
Same mobile communication carrier distributes, and the most described load-balanced server is true in described content distributing network
Fixed second content providing server;The IP address of described second content providing server and described terminal device
IP address distributed by same mobile communication carrier;
Described load-balanced server provides server to send the first response message to described first content, bag
Include:
Described load-balanced server provides server to send to described first content and carries described second content
First response message of the IP address of server is provided.
3. the method providing network service for terminal device, it is characterised in that including:
The second request that first content in content distributing network provides server receiving terminal apparatus to send disappears
Breath;Described second request message is used for asking described first content to provide server to be that described terminal device carries
For network service;
Described first content provides server according to the described second described terminal device asking message to be carried
Internet protocol address, it is judged that the IP address of described terminal device provides service with described first content
Whether the IP address of device is distributed by same mobile communication carrier;
If the IP address of described terminal device and described first content provide the IP address of server to be by same
The distribution of one mobile communication carrier, the most described first content provides server to provide net for described terminal device
Network services.
Method the most according to claim 3, it is characterised in that at the IP judging described terminal device
Address and described first content provide whether the IP address of server is distributed it by same mobile communication carrier
After, also include:
If the IP address of described terminal device and described first content provide the IP address of server be not by
Same mobile communication carrier distributes, and the most described first content provides server to described content distributing network
In load-balanced server send the 3rd request message, to ask described load-balanced server to be described
Content providing server redistributed by terminal device;Wherein, described first content provides server to be asked
The IP address of the content providing server redistributed and the IP address of described terminal device need to be by same shiftings
Dynamic common carrier distribution.
Method the most according to claim 4, it is characterised in that provide service at described first content
After device load-balanced server in described content distributing network sends described 3rd request message, also
Including:
Described first content provides server to receive the second content offer that described load-balanced server sends
The IP address of server, the IP address of described second content providing server and the IP of described terminal device
Address is distributed by same mobile communication carrier;
Described first content provides server that the IP address of described second content providing server is sent to institute
State terminal device.
6. according to the arbitrary described method of claim 3-5, it is characterised in that judging that described terminal sets
Whether standby IP address and described first content provide the IP address of server by same mobile communication operators
After business's distribution, also include:
If the IP address of described terminal device and described first content provide the IP address of server be not by
Same mobile communication carrier distributes, and the most described first content provides server to send to described terminal device
Prompting message, to indicate described terminal device switch contents to provide server.
7. the device that network service is provided for terminal device, it is characterised in that including:
First receives unit, provides server to send for receiving the first content in content distributing network
First request message;Described first request message is used for asking described first content to provide server to be terminal
Equipment provides network service;
First judging unit, the interconnection of the described terminal device for carrying according to described first request message
FidonetFido IP address and described first content provide the IP address of server, it is judged that described terminal device
IP address and described first content provide whether the IP address of server is divided by same mobile communication carrier
Join;
First transmitting element, for providing server to send the first response message to described first content;Institute
State the first response message for indicating the IP address of described terminal device to provide server with described first content
IP address whether distributed by same mobile communication carrier.
Device the most according to claim 7, it is characterised in that also include:
Determine unit, for providing service in the IP address judging described terminal device with described first content
After whether the IP address of device is distributed by same mobile communication carrier, if the IP ground of described terminal device
Location and described first content provide the IP address of server not to be to be distributed, then by same mobile communication carrier
The second content providing server is determined in described content distributing network;Described second content providing server
The IP address of IP address and described terminal device distributed by same mobile communication carrier;
Described first transmitting element is further used for:
Server transmission is provided to carry the IP address of described second content providing server to described first content
The first response message.
9. the device that network service is provided for terminal device, it is characterised in that including:
Second receives unit, the second request message sent for receiving terminal apparatus;Described second request
Message is used for asking described device to provide network service for described terminal device;
Second judging unit, the interconnection of the described terminal device for carrying according to described second request message
FidonetFido IP address, it is judged that whether the IP address of described terminal device and the IP address of described device be by same
The distribution of one mobile communication carrier;
Network provides unit, if for the IP address of described terminal device with the IP address of described device being
Distributed by same mobile communication carrier, then provide network service for described terminal device.
Device the most according to claim 9, it is characterised in that also include:
Second transmitting element, for the IP ground in the IP address with described device judging described terminal device
After whether location is distributed by same mobile communication carrier, if the IP address of described terminal device and described dress
The IP address put is not to be distributed by same mobile communication carrier, and the most described device is to described content delivery network
Load-balanced server in network sends the 3rd request message, to ask described load-balanced server as institute
State terminal device and redistribute content providing server;Wherein, what described device was asked to redistribute is interior
The IP address of the IP address and described terminal device that hold offer server need to be by same mobile communication carrier
Distribution.
11. devices according to claim 10, it is characterised in that described second receives unit enters one
Step is used for:
Described 3rd request is sent at described device load-balanced server in described content distributing network
After message, receive the IP address of the second content providing server that described load-balanced server sends,
The IP address of described second content providing server is led to by same movement with the IP address of described terminal device
The distribution of letter operator;
Described second transmitting element is further used for:
The IP address of described second content providing server is sent to described terminal device.
12. according to the arbitrary described device of claim 9-11, it is characterised in that described second sends list
Unit is further used for:
Whether led to by same movement in the IP address of the IP address with described device that judge described terminal device
After the distribution of letter operator, if the IP address of the IP address of described terminal device and described device be not by
Same mobile communication carrier distributes, then send prompting message to described terminal device, to indicate described end
End equipment switch contents provides server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610262861.6A CN105847397A (en) | 2016-04-25 | 2016-04-25 | Method and device for providing network service for terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610262861.6A CN105847397A (en) | 2016-04-25 | 2016-04-25 | Method and device for providing network service for terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105847397A true CN105847397A (en) | 2016-08-10 |
Family
ID=56589075
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610262861.6A Pending CN105847397A (en) | 2016-04-25 | 2016-04-25 | Method and device for providing network service for terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105847397A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112866116A (en) * | 2020-12-31 | 2021-05-28 | 平安科技(深圳)有限公司 | Network access detection method, device, equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060271655A1 (en) * | 2003-05-21 | 2006-11-30 | Nitgen Technologies Co., Ltd. | Intelligent traffic management system for networks and intelligent traffic management method using the same |
CN102299969A (en) * | 2011-09-16 | 2011-12-28 | 北京新媒传信科技有限公司 | Web accessing method, layer seven switching equipment and service network |
CN103248715A (en) * | 2012-02-07 | 2013-08-14 | 北京百度网讯科技有限公司 | Position detection method and device for CDN |
CN104980482A (en) * | 2014-12-24 | 2015-10-14 | 深圳市腾讯计算机系统有限公司 | File transmitting method and device, file receiving method and device |
-
2016
- 2016-04-25 CN CN201610262861.6A patent/CN105847397A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060271655A1 (en) * | 2003-05-21 | 2006-11-30 | Nitgen Technologies Co., Ltd. | Intelligent traffic management system for networks and intelligent traffic management method using the same |
CN102299969A (en) * | 2011-09-16 | 2011-12-28 | 北京新媒传信科技有限公司 | Web accessing method, layer seven switching equipment and service network |
CN103248715A (en) * | 2012-02-07 | 2013-08-14 | 北京百度网讯科技有限公司 | Position detection method and device for CDN |
CN104980482A (en) * | 2014-12-24 | 2015-10-14 | 深圳市腾讯计算机系统有限公司 | File transmitting method and device, file receiving method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112866116A (en) * | 2020-12-31 | 2021-05-28 | 平安科技(深圳)有限公司 | Network access detection method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104796396B (en) | The method and medium of network agent layer for the application proxy based on strategy are provided | |
CN106170008A (en) | A kind of inter-network means of communication, device and load equalizer | |
CN110113441A (en) | Realize computer equipment, the system and method for load balancing | |
CN104657201B (en) | Application program method for pushing, device, equipment and system | |
CN103945000B (en) | A kind of load-balancing method and load equalizer | |
CN109995877A (en) | Information-pushing method and device | |
CN105323229B (en) | A kind of data transmission method based on CPE, network element, platform and system | |
US10575355B2 (en) | API for web access directly or through intermediary | |
CN105791344A (en) | Grayscale release service processing method, system, load balancer and service bus device | |
CN107087023B (en) | Data forwarding method and system | |
CN104283804A (en) | Link load balancing method and device | |
CN109155994A (en) | A kind of user face method for managing resource, user's veil member and control plane network element | |
CN103703453A (en) | System for supplying push service for message load balancing and method thereof | |
CN105978976A (en) | Information processing system and method | |
CN102136920A (en) | Method and device for web conference | |
CN106330778A (en) | Network flow control method and apparatus | |
CN110233865A (en) | Trans-regional service calling method, device and system | |
CN110234140A (en) | A kind of communication means, device, entity and storage medium | |
CN109474713A (en) | Message forwarding method and device | |
CN105323537B (en) | Use the video conference of mobile platform | |
CN102104603A (en) | Method, system and device for registering mobile terminal in WEB server | |
CN105681266B (en) | A kind of communication cluster method and device of mediaphone MMTel | |
CN106992893A (en) | The management method and device of router | |
CN110750780A (en) | User role permission fusion method, device and equipment based on multi-service system | |
CN105791147B (en) | The connection method of load balancer, the instantiation dispositions method of business and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160810 |
|
WD01 | Invention patent application deemed withdrawn after publication |