CN103220371B - Content adaptation method and system - Google Patents

Content adaptation method and system Download PDF

Info

Publication number
CN103220371B
CN103220371B CN201210016462.3A CN201210016462A CN103220371B CN 103220371 B CN103220371 B CN 103220371B CN 201210016462 A CN201210016462 A CN 201210016462A CN 103220371 B CN103220371 B CN 103220371B
Authority
CN
China
Prior art keywords
adaptation
url
domain name
visited
website
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
Application number
CN201210016462.3A
Other languages
Chinese (zh)
Other versions
CN103220371A (en
Inventor
杨波
武威
于蓉蓉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201210016462.3A priority Critical patent/CN103220371B/en
Publication of CN103220371A publication Critical patent/CN103220371A/en
Application granted granted Critical
Publication of CN103220371B publication Critical patent/CN103220371B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses content adaptation method and system.Method comprises: intelligent DNS preserves the domain name need carrying out content adaptation, the IP address of the adaptation services device that record domain name is corresponding; Terminal online supports that network element returns to the IP address of intelligent DNS to UE; UE initiates the DNS query request of carrying website to be visited domain name to intelligent DNS, and intelligent DNS finds that this domain name need carry out content adaptation, returns to the IP address of adaptation services device to UE, and UE is to adaptation services device initiating business request; Adaptation services device carries out content adaptation to the webpage that data service server returns, each URL link of simultaneously need that this webpage embeds being carried out content adaptation is revised as: the object website URL parameter using this URL as amended URL, the URL of adaptation services device is connected in series with this parameter, obtain amended URL, this webpage is sent to UE.Wherein, described business is business that carry based on TCP, that use text-type control protocol.Present invention reduces network delay, decrease network element expense.

Description

Content adaptation method and system
Technical field
The present invention relates to data service technical field, be specifically related to content adaptation method and system.
Background technology
Along with the fast development of mobile Internet and the large area of intelligent terminal are popularized, the demand that user uses the equipment such as mobile phone, PAD to surf the Net whenever and wherever possible is more and more stronger.But the page of most website is all according to personal computer (PC on the Internet, PersonalComputer) screen size, operating habit design, due to the screen size of mobile terminal, resolution, internal memory, the restriction of power consumption etc., when using these websites of browser access on mobile terminals, Consumer's Experience is poor, embody a concentrated reflection of: page layout is not suitable for browsing and operating, web data flow causes more greatly page open speed slow, terminal do not support specific format content as: iPhone does not support the digital content of flash memory (flash) form.
In addition, along with the universal and operator of the mobile terminal of built-in WLAN (wireless local area network) (WLAN, WirelessLocalAreaNetwork) module greatly develops WLAN access service, mobile terminal uses WLAN online day by day to popularize.Although bandwidth has not been key factor in WLAN access situation, but be limited to the process of terminal and represent ability, still need to carry out format adaptation targetedly to the page of accessing during mobile terminal Internet access, to promote the experience of user from browsing web page mobile terminal.
In addition, content processing (as: advertisement is inserted, the prompting page eject) is carried out to the page of terminal access, information filtering (as: scanning malicious script code, prevent viral content from spread) Ye Shi operator carries out promoting service and marketing, the basic demand of guarantee user Internet Security.
The thinking of webpage fit is: set up adaptation services device at network side, according to indicating characteristic, the disposal ability of terminal, specific aim process is carried out to webpage and digital content, as: change page layout, change font size, the form of change picture, video content and size, fast and effeciently to represent in terminal; Delete or add the digital content of specifying, to carry out promoting service and marketing; Content scanning is carried out, so that user more safely uses network and business to the script, annex etc. of webpage.
In mobile data network, usually by APN (APN, AccessPointName) identify different business domains, terminal determines by configuration of APN the mode accessing mobile data services, and operator separates different data communication service networks by APN.By APN mechanism, operator can according to the needs of business and networking, and specific APN implements as adaptive in: Subscriber Number insertion, user identity identification, the conversion of public and private net address and ALG, content charging, Web page and the content caching acceleration of Service control, route and pipeline competence for added value etc.
In order to better meet own business and cooperative business development need, operator sets up WAP (wireless application protocol) (WAP usually, WirelessApplicationProtocol) APN that, NET two the whole networks are general, wherein WAPAPN is positioned as own business and cooperative business provide access, access adaptation and value-added service, and NETAPN lays particular emphasis on transparent internet (Internet) data access.
Fig. 1 gives the schematic diagram of the existing content adaptation mechanism based on WAP gateway agency, as shown in Figure 1, WAPAPN provides the function of mobile terminal number insertion, content charging, and according to the demand that terminal webpage is browsed, provide the format adaptation of InternetWeb webpage to improve the effect of web page browsing.
The process that existing network realizes webpage content adaptation is: adopt WAPAPN to set up packet data protocol (PDP on mobile terminals, PacketDataProtocol) connect, the web page browsing request of user is first through general packet radio service (GPRS, GeneralPacketRadioService) network arrives WAP gateway, URL(uniform resource locator) (the URL of the website accessed by WAP gateway analysing terminal, and the user agent of terminal (User-Agent) UniformResourceLocator), with HTML (Hypertext Markup Language) (HTTP, Hyper-TextTransferProtocol) agent way is transmitted to adaptation services device by needing the HTTP request of content adaptation process, adaptation services device adopts proxy mode, first obtains the Web page content of user for access from website, source, after then carrying out re format and compression according to set adaptation algorithm Sum fanction to webpage, replys to mobile terminal.
For the terminal that cable network or WLAN access, without the concept of APN during its online, therefore in order to carry out contents processing, the network element with deep message measuring ability must be added at network side.Fig. 2 gives the schematic diagram of the existing contents processing mechanism based on deep message detection, and as shown in Figure 2, deep message detects user's request and the response that network element is used for need carrying out according to Policy Filtering contents processing, and turns content processing server process.
There are the following problems on Consumer's Experience, overhead for the prior art adaptive by WAP gateway agency:
One, larger reduction is had to Consumer's Experience
WAP gateway, adaptation services device are respectively as the agency of destination server, and carried out HTTP termination and the process of establishing of twice, therefore, user is when access originator website, and access time delay will increase greatly; In addition, the adaptation strategies by WAP gateway limit, and when user is because using different terminals, different access way, different browsers to access same web site, there are adaptive, adaptive two kinds of versions, experience differs greatly.
Two, the overhead of operator is larger
As described in one, twice agency means dual server process expense; And, WAP gateway itself does not have content adaptation judgement, therefore can only according to terminal type, wireless access way, browser type etc., the flow satisfied condition all is forwarded to adaptation services device, adaptation services device, after judging, only carries out adaptation work to the website being arranged in URL white list, rule of thumb data, adaptive total amount does not reach 30% of the total flow flowing through adaptation services device, this also increases the cost of adaptation services device; In addition, adaptation services device need ask one by one to disassemble message and mate URL, to determine whether to carry out content adaptation, unpack and deterministic process larger processing expenditure is caused to adaptation services device.
There are the following problems on Consumer's Experience, overhead for the prior art detected by deep message:
One, larger reduction is had to Consumer's Experience.Deep packet detection device need packet-by-packet process, and introduces extra processing delay and packet loss, and therefore, user is when access websites, and access time delay, mortality will increase greatly.
Two, the overhead of operator is larger.Deep packet detection device cost is higher, brings extra buying, operation and maintenance cost.
Summary of the invention
The invention provides content adaptation method and system, intelligent DNS, adaptation services device, to reduce network delay and network element expense.
Technical scheme of the present invention is achieved in that
A kind of content adaptation method, increases intelligent domain name system DNS in data communication service network, and intelligent DNS preserves the domain name need carrying out content adaptation, and record the IP address of adaptation services device corresponding to domain name, the method comprises simultaneously:
Terminal online is supported to return to the IP address of intelligent DNS to UE by the packet data protocol PDP context activation request message that network element reception user equipment (UE) is sent; The uniform resource position mark URL of the website to be visited that UE inputs according to user, the DNS query request of carrying website to be visited domain name is initiated to intelligent DNS, intelligent DNS finds that this domain name is the domain name need carrying out content adaptation, then return to the IP address of adaptation services device to UE, UE initiates the service request of carrying described URL to adaptation services device;
Adaptation services device receives described service request, need to carry out adaptation to user's web page contents to be visited if find, then send service request to data service server, and content adaptation is carried out to the webpage that data service server returns, simultaneously, each URL link of the need that this webpage embeds being carried out content adaptation is revised as: the object website URL parameter using this URL as amended URL, and the URL of adaptation services device is connected in series with this parameter, obtain amended URL, this webpage is sent to UE
Described business is business that carry based on transmission control protocol TCP, that use text-type control protocol.
Described data communication service network is mobile data network or WLAN (wireless local area network) WLAN.
Described UE comprises further after intelligent DNS initiates to carry the DNS query request of website to be visited domain name:
If intelligent DNS finds that this domain name is the domain name not needing to carry out content adaptation, then to the IP address of data service server corresponding to this domain name of DNS query of internet, the business redirect message carrying this IP address is returned to UE, after UE receives this business redirect message, send service request directly to data service server.
Described UE comprises further after adaptation services device initiates to carry the service request of described URL:
Adaptation services device is according to the content adaptation white list self configured, find not need to carry out adaptation to user's web page contents to be visited, then to the IP address of data service server corresponding to the domain name of this URL of DNS query of internet, the business redirect message carrying this IP address is returned to UE, after UE receives this business redirect message, send service request directly to data service server.
Described adaptation services device comprises after this webpage is sent to UE further:
When UE detects that user clicks the URL link of the content that this webpage embeds, UE sends the service request comprising this URL, this request arrives adaptation services device, adaptation services device parses object website URL parameter from the URL of this request, obtain the URL of user website to be visited, to the IP address that the domain name of this URL of DNS query of internet is corresponding, to this IP address initiating business request, data service server receives this service request breath, obtain the web page contents that URL in this request is corresponding, web page contents is transmitted to adaptation services device, adaptation services device returns to UE after carrying out content adaptation to this web page contents.
When described data communication service network is mobile data network, described terminal online supports that network element is: radio network controller (RNC), Serving GPRS Support Node SGSN, Gateway GPRS Support Node GGSN;
When described data communication service network is WLAN, described terminal online supports that network element is: access controller AC, access point AP.
Described adaptation services device finds that needing to carry out adaptation to user's web page contents to be visited comprises:
Adaptation services device determines whether to carry out adaptation to user's web page contents to be visited based on the user agent UA parameter of UE;
Or adaptation services device determines whether to carry out adaptation to user's web page contents to be visited based on the domain name of user website to be visited;
Or adaptation services device determines whether to carry out adaptation to user's web page contents to be visited based on the URL of user website to be visited.
Described business that carry based on TCP, use text-type control protocol is: HTML (Hypertext Markup Language) HTTP business, or real-time streaming protocol RTSP business.
A kind of content adaptation system, comprising:
Network element is supported in terminal online: receive the PDP context activation request message that UE sends, return to the IP address of intelligent DNS to UE;
Intelligent DNS: preserve the domain name need carrying out content adaptation, records the IP address of adaptation services device corresponding to domain name simultaneously; Receive the DNS query request of carrying website to be visited domain name that UE sends, if find, this domain name is the domain name need carrying out content adaptation, the IP address of adaptation services device is then returned to UE, to make UE carry the service request of the URL of website to be visited to the initiation of adaptation services device, described business is business that carry based on TCP, that use text-type control protocol;
Adaptation services device: receive the service request that UE sends, when not carrying object website URL parameter in this request of discovery, and find to need to carry out adaptation to user's web page contents to be visited, then send service request to data service server, and content adaptation is carried out to the webpage that data service server returns, simultaneously, each URL link of the need that this webpage embeds being carried out content adaptation is revised as: the object website URL parameter using this URL as amended URL, and the URL of adaptation services device is connected in series with this parameter, obtain amended URL, this webpage is sent to UE.
Described data communication service network is mobile data network or WLAN.
Described intelligent DNS is further used for, when receive that UE sends carry the DNS query request of website to be visited domain name after, if find, this domain name is the domain name not needing to carry out content adaptation, then to the IP address of data service server corresponding to this domain name of DNS query of internet, the business redirect message carrying this IP address is returned to UE, after UE receives this business redirect message, send service request directly to data service server.
Described adaptation services device is further used for, when receive that UE sends carry the service request of website URL to be visited after, do not need to carry out adaptation to user's web page contents to be visited if find, then to the IP address of data service server corresponding to the domain name of this URL of DNS query of internet, return the business redirect message carrying this IP address to UE.
Described adaptation services device is further used for, when the service request receiving UE and send, if find, object website URL parameter is carried in this request, then resolve this parameter, obtain the URL of user website to be visited, the IP address of the data service server that the domain name to the URL of this website to be visited of DNS query of internet is corresponding, to this IP address initiating business request, when the web page contents receiving data service server and return, after content adaptation is carried out to this web page contents, return to UE.
When described data communication service network is mobile data network, described terminal online supports that network element is: radio network controller (RNC), Serving GPRS Support Node SGSN, Gateway GPRS Support Node GGSN;
When described data communication service network is WLAN, described terminal online supports that network element is: access controller AC, access point AP.
A kind of intelligent DNS, is arranged in data communication service network, comprises:
Domain name memory module: preserve the domain name need carrying out content adaptation;
A logging modle: record need carry out the IP address of adaptation services device corresponding to the domain name of content adaptation;
DNS query processing module: receive the DNS query request of carrying website to be visited domain name that UE sends, if find, this domain name is in domain name memory module, in A logging modle, then search the IP address of adaptation services device corresponding to this domain name, the IP address of this adaptation services device is returned to UE, to make UE carry the service request of the URL of website to be visited to the initiation of adaptation services device, described business is business that carry based on TCP, that use text-type control protocol.
Described DNS query processing module is further used for, when the domain name that the described DNS query request of discovery is carried is not in domain name memory module, to the IP address of data service server corresponding to this domain name of DNS query of internet, return the business redirect message carrying this IP address to UE.
A kind of adaptation services device, comprising:
Content adaptation policy store module: store content adaptation strategy;
Content adaptation module: receive the service request that UE sends, if find, object website URL parameter is not carried in this request, and according to the content adaptation strategy in content adaptation policy store module, discovery needs to carry out adaptation to user's web page contents to be visited, then send service request to data service server, and content adaptation is carried out to the webpage that data service server returns, simultaneously, each URL link of the need that this webpage embeds being carried out content adaptation is revised as: the parameter using this URL as amended URL, and the URL of adaptation services device is connected in series with this URL parameter, obtain amended URL, this webpage is sent to UE, described business is carry based on TCP, use the business of text-type control protocol.
Described content adaptation module is further used for, if find, the service request received carries object website URL parameter, then from this parameter, parse URL to be visited, to the IP address of the domain name corresponding data service server of this URL to be visited of DNS query of internet, to this IP address initiating business request, when receiving the web page contents that data service server returns, after content adaptation is carried out to this web page contents, return to UE.
Described content adaptation module is further used for, when according to the content adaptation strategy in content adaptation policy store module, find not need to carry out adaptation to user's web page contents to be visited, then to the IP address of data service server corresponding to the domain name of this URL of DNS query of internet, return the business redirect message carrying this IP address to UE.
Compared with prior art, in the present invention, when UE first time initiates the access request for the webpage of a website, adaptation services device carries out each URL link of content adaptation for the need that this webpage embeds, this URL is connected in series with the URL of the form of URL parameter with this adaptation services device, this URL link on webpage is replaced with the URL obtained after serial connection, like this, after this, UE accesses the need that this webpage embeds when carrying out each URL of content adaptation, just can directly to adaptation services device initiating business request, reduce network delay, reduce the expense of network element simultaneously, thus reduce service deployment and operation cost, also reduce data traffic and the expense of user's online, excite the online enthusiasm of user, pulled the development of mobile Internet business.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of the existing content adaptation mechanism based on WAP gateway agency;
Fig. 2 is the schematic diagram of the existing contents processing mechanism based on deep message detection;
The message flow schematic diagram of the content adaptation method that Fig. 3 provides for the embodiment of the present invention;
The composition schematic diagram of the content adaptation system that Fig. 4 provides for the embodiment of the present invention;
The composition schematic diagram of the intelligent DNS that Fig. 5 provides for the embodiment of the present invention;
The composition schematic diagram of the adaptation services device that Fig. 6 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with drawings and the specific embodiments, the present invention is further described in more detail.
The message flow schematic diagram of the content adaptation method that Fig. 3 provides for the embodiment of the present invention, as shown in Figure 3, its concrete steps are as follows:
Step 300: increase intelligent domain name system (DNS in data communication service network, DomainNameSystem), intelligent DNS configures dns database, for preserving the domain name need carrying out content adaptation, simultaneously on intelligent DNS, configure A record, for recording the IP address of adaptation services device corresponding to each domain name that need carry out content adaptation.
Data communication service network can be: mobile data network is as GPRS network, WLAN etc.
The difference of the DNS of intelligent DNS and traditional Internet is, the A record on intelligent DNS, only for access terminals, does not support the DNS query from Internet; In addition, for the DNS query that access terminals user sends, if intelligent DNS fails to find corresponding IP address, then intelligent DNS support recursively initiates DNS query to the DNS of Internet.
Step 301: subscriber equipment (UE, UserEquipment) is arranged based on the data cube computation of self, sends PDP context activation request message to network side.
Here, the setting of data cube computation setting and access data communication service network, as: setting and the WAPAPN of access mobile data network arrange, access arranging of WLAN.
Step 302: terminal online supports that network element receives this PDP context activation request message, for this UE sets up data cube computation, and return PDP context activation response message to this UE, carry the IP address of the IP address for this UE distributes, intelligent DNS in this response message, so far UE has possessed the condition of accessing data service server.
For mobile data network, terminal online supports that network element is: radio network controller (RNC, RadioNetworkController), Serving GPRS Support Node (SGSN, ServingGPRSSupportNode), Gateway GPRS Support Node (GGSN, GatewayGPRSSupportNode) etc.; For WLAN, terminal online supports that network element is: access controller (AC, AccessController), access point (AP, AccessPort) etc.
Step 303: user inputs the URL of website to be visited in the browser of UE.
The URL that step 304:UE inputs according to user, obtains the domain name of website to be visited and the domain name of data service server, and initiates DNS query request message to intelligent DNS, and this message carries the domain name of website to be visited.
Step 305: intelligent DNS receives this DNS query request message, according to the dns database of self, judges whether the domain name of website to be visited is the domain name needing to carry out content adaptation, if so, performs step 307; Otherwise, perform step 306.
If a domain name is in this database, illustrate that this domain name needs to carry out content adaptation; Otherwise, illustrate that this domain name does not need to carry out content adaptation.
Step 306: intelligent DNS initiates domain name recursive query request message to the DNS of Internet, and this message carries the domain name of this website to be visited, and to obtain the IP address of data service server, this flow process terminates.
If the DNS from Internet before intelligent DNS obtains the IP address of data service server corresponding to the domain name of website to be visited, then intelligent DNS can retain the corresponding relation of the IP address of this domain name and this data service server in the buffer.Therefore, in this step, intelligent DNS first can inquire about the domain name of website to be visited in the buffer, if inquire, then directly can obtain the IP address of data service server; Otherwise, then initiate domain name recursive query request message to the DNS of Internet.
In this step, after intelligent DNS obtains the IP address of data service server, then return the HTTP redirection message of carrying this IP address to UE, so that UE sends HTTP request message, to obtain the webpage without content adaptation directly to data service server.
Step 307: intelligent DNS, according to the A record self configured, returns to UE and carries domain name mapping result, i.e. the DNS query response message of the IP address of adaptation services device.
Step 308:UE receives this DNS query response message, using the IP address of the adaptation services device in this message as the object IP address of HTTP request message, and in the host field of URL in message, insert the domain name of data service server, send this HTTP request message.
URL in HTTP request message, the i.e. URL of website to be visited of user's input in step 303.
Step 309: adaptation services device receives this HTTP request message, according to the content adaptation white list of self configuration, judges whether to need the web page contents to user is to be visited to carry out adaptation, if so, performs step 311; Otherwise, perform step 310.
A content adaptation white list safeguarded by adaptation services device, contains the UA value, website domain name, website URL etc. that need carry out content adaptation in this white list.
Step 310: adaptation services device is to the IP address of the host part correspondence of this URL of DNS query of Internet, and initiate the HTTP redirection message of carrying this IP address to UE, after UE receives this redirect message, HTTP request message is initiated directly to this IP address, to obtain the web page contents without content adaptation, this flow process terminates.
IP address corresponding to the host part of HTTP request message namely, the IP address of data service server.
Step 311: adaptation services device, to IP address corresponding to the host part of this URL of DNS query of Internet, as proxy server, initiates HTTP request message to this IP address, the URL of the website to be visited of user's input in the URL of this message and step 303.
Step 312: data service server receives this HTTP request message, according to the URL in message, obtains web page contents, web page contents is carried at http response message repeating to adaptation services device.
Step 313: adaptation services device receives this http response message, according to the content adaptation strategy of self configuration, content adaptation operation is carried out to the webpage in this message, and according to the content adaptation white list that self configures, determine the URL needing to carry out content adaptation that this webpage embeds, the URL that need carry out content adaptation for each revises as follows to it: this need be carried out the URL of content adaptation as targeted website URL parameter, the URL of adaptation services device is connected in series with this object website URL parameter, obtains amended URL.
When the URL of adaptation services device is connected in series with this object website URL parameter, can the character in this URL parameter be encoded if desired.
Below illustrate and how the URL of adaptation services device be connected in series with object website URL parameter:
The webpage that tentation data service server returns comprises the URL that need carry out content adaptation: http:// disney.monternet.com/page1.html, and the domain name of adaptation services device is http://go.10086.cn/adapt, IP address is 112.4.12.7, then the URL obtained after serial connection is:
http://go.10086.cn/adapt?
dst=http:%2F%2Fdisney.monternet.com%2Fpage1.html
Or
http://112.4.12.7/adapt?
dst=http:%2F%2Fdisney.monternet.com%2Fpage1.html。Wherein, "? " be used to indicate thereafter for the object website URL parameter of content adaptation need be carried out, dst represents object website URL parameter name, for the object website URL of content adaptation need be carried out after "=", wherein, due to can not "/" be comprised in URL parameter, therefore, "/" is encoded to " %2F ".
The local content adaptation strategies of adaptation services device includes but not limited to:
One, user agent (UA, the UserAgent) parameter based on UE determines whether that the content to this UE asks carries out adaptation.As: when UA is mobile terminal, adaptation is carried out to the web page contents of its request; When UE is PAD, card of surfing Internet, adaptation is not carried out to the web page contents of its request, etc.
Two, website domain name, URL based on UE access determine whether that the content to this UE asks carries out adaptation.As: content adaptation is not carried out for mobile dream network's the whole network (* .monternet.com), for the www.xinhuanet.com nternational Channel ( http:// www.xhnet.com/world/) carry out content adaptation, for channel for finance and economics ( http:// www.xhnet.com/fortune/) do not carry out content adaptation, etc.
Step 314: adaptation services device sends the web page contents after adaptation to UE.
Step 315: user browses the web page contents after adaptation, when user clicks the URL link of the content that this webpage embeds, UE sends the HTTP request message comprising this URL, and this message arrives adaptation services device.
Step 316: adaptation services device receives this HTTP request message, object website URL parameter is parsed from the URL of this message, obtain the URL of user website to be visited, to the IP address that the host part of the URL of this website to be visited of DNS query of Internet is corresponding, as proxy server, initiate HTTP request message to this IP address.
Such as: the URL in the HTTP request message that adaptation services device receives is: http://go.10086.cn/adapt? during dst=http:%2F%2Fdisney.monternet.com%2Fpage1.html, the URL that adaptation services device parses user website to be visited is http:// disney.monternet.com/page1.html.
Step 317: data service server receives this HTTP request message, obtains the web page contents that URL in this message is corresponding, web page contents is carried at http response message repeating to adaptation services device.
Step 318: adaptation services device receives this http response message, carries out content adaptation operation to the web page contents in this message, and the web page contents after adaptation is returned to UE.
The composition schematic diagram of the content adaptation system that Fig. 4 provides for the embodiment of the present invention, as shown in Figure 4, it mainly comprises: network element 42, intelligent DNS 43, adaptation services device 44 and data service server 45 are supported in the online of UE41, terminal, wherein:
UE41: the data cube computation based on self is arranged, terminal online to network side supports that network element 42 sends PDP context activation request message, the PDP context activation response message that returns of network element 42 is supported in receiving terminal online, and this response message carries the IP address of IP address for this UE distributes and intelligent DNS; When detecting that user inputs the URL of website to be visited, obtain the domain name of website to be visited and the domain name of data service server, and initiate to intelligent DNS 43 the DNS query request message carrying the domain name of website to be visited, receive the DNS query response message carrying the IP address of adaptation services device that intelligent DNS 43 returns, using the IP address of the adaptation services device in this message as the object IP address of service request message, and in the host field of URL in message, insert the domain name of data service server, send this service request message; Receiving the webpage through content adaptation that adaptation services device 44 is sent, when detecting that user clicks the URL link on this webpage, sending the service request message carrying this URL.
Network element 42 is supported in terminal online: receive the PDP context activation request message that UE41 sends, return PDP context activation response message, carry the IP address of the IP address for this UE distributes, intelligent DNS in this response message to UE.
Intelligent DNS 43: preserve the domain name need carrying out content adaptation, records the IP address of adaptation services device corresponding to domain name simultaneously; Receive the DNS query request message carrying website to be visited domain name that UE41 sends, if find, this domain name is the domain name need carrying out content adaptation, then return the DNS query response message of the IP address of carrying adaptation services device to UE41.
Intelligent DNS 43 is further used for, when receive that UE41 sends carry the DNS query request message of website to be visited domain name after, if find, this domain name is the domain name not needing to carry out content adaptation, then to the IP address of data service server corresponding to this domain name of DNS query of internet, the business redirect message carrying this IP address is returned to UE41, so that UE41 sends service request message directly to data service server 45 after receiving this business redirect message.
Adaptation services device 44: when the service request message receiving UE41 and send, object website URL parameter is not carried in this request message if find, and find to need to carry out adaptation to user's web page contents to be visited, then send service request message to data service server 45, and content adaptation is carried out to the webpage that data service server 45 returns, simultaneously, each URL link of the need that this webpage embeds being carried out content adaptation is revised as: the object website URL parameter using this URL as amended URL, and the URL of this adaptation services device is connected in series with this parameter, obtain amended URL, this webpage is sent to UE41, when the service request message receiving UE41 and send, if find, this request message carries object website URL parameter, then resolve this parameter, obtain the URL of user website to be visited, to the IP address of data service server 45 corresponding to the domain name of the URL of this website to be visited of DNS query of internet, the service request message carrying the URL of website to be visited is initiated to this IP address, when the web page contents receiving data service server 45 and return, after content adaptation is carried out to this web page contents, return to UE41.
Adaptation services device 44 is further used for, when receive that UE41 sends carry the service request message of website URL to be visited after, do not need to carry out adaptation to user's web page contents to be visited if find, then to the IP address of data service server 45 corresponding to the domain name of this URL of DNS query of internet, return the business redirect message carrying this IP address to UE41.
Data service server 45: receive the service request message that adaptation services device 44 is sent, obtains corresponding web page contents according to the URL in this message, this web page contents is returned to adaptation services device 44.
The composition schematic diagram of the intelligent DNS that Fig. 5 provides for the embodiment of the present invention, as shown in Figure 5, it mainly comprises: domain name memory module 431, A logging modle 432 and DNS query processing module 433, wherein:
Domain name memory module 431: preserve the domain name need carrying out content adaptation.
A logging modle 432: record need carry out the IP address of adaptation services device corresponding to the domain name of content adaptation.
DNS query processing module 433: receive the DNS query request message carrying website to be visited domain name that UE41 sends, if find, this domain name is in domain name memory module 431, in A logging modle 432, then search the IP address of adaptation services device corresponding to this domain name, return to the IP address of this adaptation services device to UE41, carry the service request of the URL of website to be visited to make UE41 to adaptation services device 44 initiation.
DNS query processing module 433 is further used for, when the domain name that discovery DNS query request message carries is not in domain name memory module 431, to the IP address of data service server corresponding to this domain name of DNS query of internet, return the business redirect message carrying this IP address to UE41.
The composition schematic diagram of the adaptation services device that Fig. 6 provides for the embodiment of the present invention, as shown in Figure 6, it mainly comprises: content adaptation policy store module 441 and content adaptation module 442, wherein:
Content adaptation policy store module 441: store content adaptation strategy.
Content adaptation module 442: receive the service request message that UE41 sends, if find, this service request message does not carry object website URL parameter, and according to the content adaptation strategy in content adaptation policy store module 441, discovery needs to carry out adaptation to user's web page contents to be visited, then to the IP address of the domain name corresponding data service server 45 of the DNS query URL to be visited of internet, service request message is sent to data service server 45, and content adaptation is carried out to the webpage that data service server 45 returns, simultaneously, each URL link of the need that this webpage embeds being carried out content adaptation is revised as: the parameter using this URL as amended URL, and the URL of this adaptation services device 44 is connected in series with this URL parameter, obtain amended URL, this webpage is sent to UE41, if find, this service request message carries object website URL parameter, then from this parameter, parse URL to be visited, to the IP address of the domain name corresponding data service server 45 of this URL to be visited of DNS query of internet, to this IP address initiating business request, when receiving the web page contents that data service server 45 returns, after content adaptation is carried out to this web page contents, return to UE41.
Content adaptation module 442 is further used for, when according to the content adaptation strategy in content adaptation policy store module 441, find not need to carry out adaptation to user's web page contents to be visited, then to the IP address of data service server 45 corresponding to the domain name of this URL of DNS query of internet, return the business redirect message carrying this IP address to UE41.
It should be noted that, in actual applications, webpage content adaptation process in the illustrated embodiment of Fig. 3 ~ 6 can expand to contents processing, contents processing is except webpage content adaptation process, can also comprise: content of pages processing as: advertisement insert, prompting page ejection etc., information filtering as: scanning malicious script code, prevent viral content diffusion etc.Now, the adaptation services device in the illustrated embodiment of Fig. 3 ~ 6 needs to expand to content processing server.In addition, the present invention is not only applicable to the content adaptation of HTTP business, also other is applicable to based on transmission control protocol (TCP, TransmissionControlProtocol) content adaptation that carry, that use the business of text-type control protocol, as: real-time streaming protocol (RTSP, RealTimeStreamingProtocol) business.When being applied to the content adaptation of RTSP business, now only " the HTTP request message " of middle appearance embodiment illustrated in fig. 3 need be replaced with " RTSP request message ", " the http response message " of middle appearance embodiment illustrated in fig. 3 is replaced with " RTSP response message ", " the HTTP redirection message " of middle appearance embodiment illustrated in fig. 3 is replaced with " RTSP redirect message ".
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (19)

1. a content adaptation method, is characterized in that, in data communication service network, increase intelligent domain name system DNS, and intelligent DNS preserves the domain name need carrying out content adaptation, and record the IP address of adaptation services device corresponding to domain name, the method comprises simultaneously:
Terminal online is supported to return to the IP address of intelligent DNS to UE by the packet data protocol PDP context activation request message that network element reception user equipment (UE) is sent; The uniform resource position mark URL of the website to be visited that UE inputs according to user, the DNS query request of carrying website to be visited domain name is initiated to intelligent DNS, intelligent DNS finds that this website to be visited domain name is the domain name need carrying out content adaptation, then return to the IP address of adaptation services device to UE, UE initiates the service request of carrying described URL to adaptation services device;
Adaptation services device receives described service request, need to carry out adaptation to user's web page contents to be visited if find, then send service request to data service server, and content adaptation is carried out to the webpage that data service server returns, simultaneously, each URL link of the need that this webpage embeds being carried out content adaptation is revised as: the need embedded on this webpage carry out the object website URL parameter of URL as amended URL of content adaptation, and the URL of adaptation services device is connected in series with this object website URL parameter, obtain amended URL, webpage after content adaptation is sent to UE,
Described business is business that carry based on transmission control protocol TCP, that use text-type control protocol.
2. method according to claim 1, is characterized in that, described data communication service network is mobile data network or WLAN (wireless local area network) WLAN.
3. method according to claim 1, is characterized in that, described UE comprises further after intelligent DNS initiates to carry the DNS query request of website to be visited domain name:
If intelligent DNS finds that this website to be visited domain name is the domain name not needing to carry out content adaptation, then to the IP address of data service server corresponding to this website to be visited domain name of DNS query of internet, the business redirect message of the IP address of carrying this data service server is returned to UE, after UE receives this business redirect message, send service request directly to data service server.
4. method according to claim 1, is characterized in that, described UE comprises further after adaptation services device initiates to carry the service request of described URL:
Adaptation services device is according to the content adaptation white list self configured, find not need to carry out adaptation to user's web page contents to be visited, then to the IP address of data service server corresponding to the domain name of the URL of this website to be visited of DNS query of internet, the business redirect message of the IP address of carrying this data service server is returned to UE, after UE receives this business redirect message, send service request directly to data service server.
5. method according to claim 1, is characterized in that, described adaptation services device comprises after the webpage after content adaptation is sent to UE further:
When UE detects that user clicks the URL link of the content that this webpage after content adaptation embeds, UE sends the service request comprising the URL that this user clicks, this request arrives adaptation services device, adaptation services device parses object website URL parameter from the URL of this request, obtain the URL of user website to be visited, to the IP address of data service server corresponding to the domain name of the URL of this website to be visited of DNS query of internet, to the IP address initiating business request of data service server corresponding to the domain name of the URL of this website to be visited, data service server receives this service request, obtain the web page contents that URL in this request is corresponding, web page contents is transmitted to adaptation services device, adaptation services device returns to UE after carrying out content adaptation to this web page contents.
6. method according to claim 1, is characterized in that,
When described data communication service network is mobile data network, described terminal online supports that network element is: radio network controller (RNC), Serving GPRS Support Node SGSN, Gateway GPRS Support Node GGSN;
When described data communication service network is WLAN, described terminal online supports that network element is: access controller AC, access point AP.
7. method according to claim 1, is characterized in that, described adaptation services device finds that needing to carry out adaptation to user's web page contents to be visited comprises:
Adaptation services device determines whether to carry out adaptation to user's web page contents to be visited based on the user agent UA parameter of UE;
Or adaptation services device determines whether to carry out adaptation to user's web page contents to be visited based on the domain name of user website to be visited;
Or adaptation services device determines whether to carry out adaptation to user's web page contents to be visited based on the URL of user website to be visited.
8. method according to claim 1, is characterized in that, described business that carry based on TCP, use text-type control protocol is: HTML (Hypertext Markup Language) HTTP business, or real-time streaming protocol RTSP business.
9. a content adaptation system, is characterized in that, comprising:
Network element is supported in terminal online: receive the PDP context activation request message that UE sends, return to the IP address of intelligent DNS to UE;
Intelligent DNS: preserve the domain name need carrying out content adaptation, records the IP address of adaptation services device corresponding to domain name simultaneously; Receive the DNS query request of carrying website to be visited domain name that UE sends, if find, this website to be visited domain name is the domain name need carrying out content adaptation, the IP address of adaptation services device is then returned to UE, to make UE carry the service request of the URL of website to be visited to the initiation of adaptation services device, described business is business that carry based on TCP, that use text-type control protocol;
Adaptation services device: receive the service request that UE sends, when not carrying object website URL parameter in this request of discovery, and find to need to carry out adaptation to user's web page contents to be visited, then send service request to data service server, and content adaptation is carried out to the webpage that data service server returns, simultaneously, each URL link of the need that this webpage embeds being carried out content adaptation is revised as: the need embedded on this webpage carry out the object website URL parameter of URL as amended URL of content adaptation, and the URL of adaptation services device is connected in series with this object website URL parameter, obtain amended URL, webpage after content adaptation is sent to UE.
10. system according to claim 9, is characterized in that, described data communication service network is mobile data network or WLAN.
11. systems according to claim 9, it is characterized in that, described intelligent DNS is further used for, when receive that UE sends carry the DNS query request of website to be visited domain name after, if find, this website to be visited domain name is the domain name not needing to carry out content adaptation, then to the IP address of data service server corresponding to this website to be visited domain name of DNS query of internet, the business redirect message of the IP address of carrying this data service server is returned to UE, after UE receives this business redirect message, send service request directly to data service server.
12. systems according to claim 9, it is characterized in that, described adaptation services device is further used for, when receive that UE sends carry the service request of website URL to be visited after, do not need to carry out adaptation to user's web page contents to be visited if find, then to the IP address of data service server corresponding to the domain name of the URL of this website to be visited of DNS query of internet, return the business redirect message of the IP address of carrying this data service server to UE.
13. systems according to claim 9, it is characterized in that, described adaptation services device is further used for, when the service request receiving UE and send, if find, object website URL parameter is carried in this request, then resolve this object website URL parameter, obtain the URL of user website to be visited, to the IP address of data service server corresponding to the domain name of the URL of this website to be visited of DNS query of internet, to the IP address initiating business request of this data service server, when the web page contents receiving data service server and return, UE is returned to after content adaptation is carried out to this web page contents.
14. systems according to claim 9, is characterized in that,
When described data communication service network is mobile data network, described terminal online supports that network element is: radio network controller (RNC), Serving GPRS Support Node SGSN, Gateway GPRS Support Node GGSN;
When described data communication service network is WLAN, described terminal online supports that network element is: access controller AC, access point AP.
15. 1 kinds of intelligent DNS, is characterized in that, are arranged in data communication service network, comprise:
Domain name memory module: preserve the domain name need carrying out content adaptation;
A logging modle: record need carry out the IP address of adaptation services device corresponding to the domain name of content adaptation;
DNS query processing module: receive the DNS query request of carrying website to be visited domain name that UE sends, if find, this website to be visited domain name is in domain name memory module, in A logging modle, then search the IP address of adaptation services device corresponding to this website to be visited domain name, the IP address of this adaptation services device is returned to UE, to make UE carry the service request of the URL of website to be visited to the initiation of adaptation services device, described business is business that carry based on TCP, that use text-type control protocol.
16. intelligent DNS according to claim 15, it is characterized in that, described DNS query processing module is further used for, when the domain name that the described DNS query request of discovery is carried is not in domain name memory module, the IP address of the data service server that the domain name of carrying to this DNS query request of DNS query of internet is corresponding, returns the business redirect message of the IP address of carrying this data service server to UE.
17. 1 kinds of adaptation services devices, is characterized in that, comprising:
Content adaptation policy store module: store content adaptation strategy;
Content adaptation module: receive the service request that UE sends, if find, object website URL parameter is not carried in this request, and according to the content adaptation strategy in content adaptation policy store module, discovery needs to carry out adaptation to user's web page contents to be visited, then send service request to data service server, and content adaptation is carried out to the webpage that data service server returns, simultaneously, each URL link of the need that this webpage embeds being carried out content adaptation is revised as: the object website URL parameter using this URL as amended URL, and the URL of adaptation services device is connected in series with this object website URL parameter, obtain amended URL, webpage after content adaptation is sent to UE, described business is carry based on TCP, use the business of text-type control protocol.
18. adaptation services devices according to claim 17, it is characterized in that, described content adaptation module is further used for, if find, the service request received carries object website URL parameter, then from this object website URL parameter, parse URL to be visited, to the IP address of data service server corresponding to the domain name of this URL to be visited of DNS query of internet, to the IP address initiating business request of this data service server, when receiving the web page contents that data service server returns, after content adaptation is carried out to this web page contents, return to UE.
19. adaptation services devices according to claim 17, it is characterized in that, described content adaptation module is further used for, when according to the content adaptation strategy in content adaptation policy store module, find not need to carry out adaptation to user's web page contents to be visited, then to the IP address of data service server corresponding to the domain name of the URL of the DNS query user website to be visited of internet, return the business redirect message of the IP address of carrying this data service server to UE.
CN201210016462.3A 2012-01-18 2012-01-18 Content adaptation method and system Active CN103220371B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210016462.3A CN103220371B (en) 2012-01-18 2012-01-18 Content adaptation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210016462.3A CN103220371B (en) 2012-01-18 2012-01-18 Content adaptation method and system

Publications (2)

Publication Number Publication Date
CN103220371A CN103220371A (en) 2013-07-24
CN103220371B true CN103220371B (en) 2016-03-02

Family

ID=48817822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210016462.3A Active CN103220371B (en) 2012-01-18 2012-01-18 Content adaptation method and system

Country Status (1)

Country Link
CN (1) CN103220371B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103220372B (en) * 2012-01-19 2016-08-10 中国移动通信集团公司 Data service access method and system
US10116529B2 (en) 2013-07-22 2018-10-30 Beijing Gridsum Technology Co., Ltd. Method and device for link address update
CN103390048B (en) * 2013-07-22 2017-03-15 北京国双科技有限公司 Chained address update method and device
CN103458035A (en) * 2013-09-05 2013-12-18 深圳市共进电子股份有限公司 Client configuration interface implementation method based on WEB server
WO2015090407A1 (en) * 2013-12-19 2015-06-25 Telefonaktiebolaget Lm Ericsson (Publ) A method for loading a web page at a user equipment, in a telecommunication network, and an internet protocol, ip, access point server as well as a user equipment arranged for operation in the telecommunication network
US20150350288A1 (en) * 2014-05-28 2015-12-03 Qualcomm Incorporated Media agnostic display for wi-fi display
US9792154B2 (en) 2015-04-17 2017-10-17 Microsoft Technology Licensing, Llc Data processing system having a hardware acceleration plane and a software plane
US10511478B2 (en) * 2015-04-17 2019-12-17 Microsoft Technology Licensing, Llc Changing between different roles at acceleration components
US10198294B2 (en) 2015-04-17 2019-02-05 Microsoft Licensing Technology, LLC Handling tenant requests in a system that uses hardware acceleration components
US10216555B2 (en) 2015-06-26 2019-02-26 Microsoft Technology Licensing, Llc Partially reconfiguring acceleration components
CN107124477A (en) * 2017-03-30 2017-09-01 努比亚技术有限公司 Processing method, terminal and the server of web site contents
CN109861951A (en) * 2017-11-30 2019-06-07 北京安云世纪科技有限公司 A kind of Website access method, device, system
CN109936624B (en) * 2019-01-31 2022-03-18 平安科技(深圳)有限公司 Adaptation method and device for HTTP request message header and computer equipment
CN109862438B (en) * 2019-02-19 2021-05-07 普联技术有限公司 Method and equipment for proxy forwarding of real-time streaming protocol streaming media data
CN110300193B (en) * 2019-07-01 2021-07-06 北京微步在线科技有限公司 Method and device for acquiring entity domain name
CN110750741B (en) * 2019-10-18 2022-12-13 深圳市比量科技传媒有限公司 Webpage link skipping processing method, computer device and storage medium
CN111953742B (en) * 2020-07-22 2023-09-05 深信服科技股份有限公司 Page redirection method, terminal equipment, intermediate equipment and server
CN112637068B (en) * 2020-12-04 2021-09-21 广州爱浦路网络技术有限公司 Network data forwarding method, computer device, computer network and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1243287A (en) * 1998-07-06 2000-02-02 国际商业机器公司 Web page adaption system relative to size of display screen and window
CN101023419A (en) * 2004-05-14 2007-08-22 模比莱普斯有限公司 Method of providing a web page with inserted content
CN101075974A (en) * 2006-05-20 2007-11-21 华为技术有限公司 Method and system for decreasing mobile e-mail repeated adaption
CN101808135A (en) * 2010-03-26 2010-08-18 四川长虹电器股份有限公司 Method for adapting internet information to different terminals
CN102082817A (en) * 2009-11-25 2011-06-01 诺基亚公司 Method and apparatus for ensuring transport of user agent information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008098247A2 (en) * 2007-02-09 2008-08-14 Dilithium Network Pty Ltd. Method and apparatus for a multimedia value added service delivery system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1243287A (en) * 1998-07-06 2000-02-02 国际商业机器公司 Web page adaption system relative to size of display screen and window
CN101023419A (en) * 2004-05-14 2007-08-22 模比莱普斯有限公司 Method of providing a web page with inserted content
CN101075974A (en) * 2006-05-20 2007-11-21 华为技术有限公司 Method and system for decreasing mobile e-mail repeated adaption
CN102082817A (en) * 2009-11-25 2011-06-01 诺基亚公司 Method and apparatus for ensuring transport of user agent information
CN101808135A (en) * 2010-03-26 2010-08-18 四川长虹电器股份有限公司 Method for adapting internet information to different terminals

Also Published As

Publication number Publication date
CN103220371A (en) 2013-07-24

Similar Documents

Publication Publication Date Title
CN103220371B (en) Content adaptation method and system
CN102171673B (en) Cross-layer pipelining optimizations for reduced roundtrips and improving quality of experience
CN102026290B (en) Wireless mobile gateway and method for responding user access by same
CN103384993B (en) The reorientation method of user equipment access webpage, gateway and server
JP5494649B2 (en) Relay device, relay method, and relay device control program
CN104243506A (en) Browser redirection method and device
CN101178717A (en) Method for adaptation processing web page and web page adaptation device
CN110248364B (en) IOT equipment network distribution method, device, equipment and medium
CN102783119A (en) Access control method and system, and access terminal
CN103404182A (en) Method and apparatus for preventing illegal access of business
CN103220372A (en) Data service access method and system
CN101039357A (en) Method for browsing website using handset
CN102204324A (en) Method and device for improving user access speed of mobile broadband internet
CN102752411A (en) Redirection method and device
CN104978358A (en) Method for displaying web page fragment on desktop and system for capturing web page fragment to desktop for displaying
KR20090024509A (en) Method for prviding mobile web service and a mobile phone for excuting the method
US20160006828A1 (en) Embedded network proxy system, terminal device and proxy method
CN103582012A (en) Data distribution method and device
CN101635887A (en) Method for reading website information through mobile phone short message
CN103200231A (en) Strategy control method and system
US20130268662A1 (en) Hypertext transfer protocol http stream association method and device
CN102655474B (en) Method, device and system for identifying equipment-crossing traffic types
CN106411978B (en) Resource caching method and device
CN104509066B (en) A kind of method and the network equipment, management server for accessing network
WO2014166078A1 (en) Data sending and processing method and router

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant