WO2012151936A1 - Method and gateway for adjusting webpage contents - Google Patents

Method and gateway for adjusting webpage contents Download PDF

Info

Publication number
WO2012151936A1
WO2012151936A1 PCT/CN2011/082601 CN2011082601W WO2012151936A1 WO 2012151936 A1 WO2012151936 A1 WO 2012151936A1 CN 2011082601 W CN2011082601 W CN 2011082601W WO 2012151936 A1 WO2012151936 A1 WO 2012151936A1
Authority
WO
WIPO (PCT)
Prior art keywords
data transmission
website
mobile terminal
transmission speed
webpage
Prior art date
Application number
PCT/CN2011/082601
Other languages
French (fr)
Chinese (zh)
Inventor
周洋
何小新
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012151936A1 publication Critical patent/WO2012151936A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents

Definitions

  • the present invention relates to the field of Internet technologies, and in particular, to a method and a gateway for a gateway to adjust webpage content. Background technique
  • the mobile Internet is gradually infiltrating into various fields of people's life and work.
  • the rapid development of colorful mobile Internet applications such as SMS, ringtone download, mobile music, mobile games, video applications, mobile payment, location services, etc. is profoundly changing information.
  • Social life of the era With the development of the mobile Internet, mobile terminals such as mobile phones and personal computers have also shown a trend of convergence with the Internet.
  • mobile terminals There are many types of mobile terminals. From the mobile communication network, there are GSM (Global System for Mobile Communications), EDGE (Enhanced Data Rate for GSM Evolution), 3G (3rd- Generation, third generation mobile communication technology), LTE (Long Term Evolution) and WIFI
  • WLAN Wireless Fidelity
  • the main purpose of the present invention is to provide a method and a gateway for adjusting the content of a webpage, which can dynamically change the content of the webpage according to the data transmission speed of the mobile terminal and return it to the mobile terminal, thereby achieving a smoother webpage display and improving the user experience.
  • the technical solution of the present invention is achieved as follows:
  • a method of adjusting the content of a webpage including:
  • the webpage content is adjusted according to the historical data transmission speed of the mobile terminal, and the adjusted webpage content is sent to the mobile terminal.
  • the process of adjusting the content of the webpage according to the historical data transmission speed of the mobile terminal and transmitting the adjusted webpage content to the mobile terminal includes:
  • the method for budgeting the current data transmission speed of the mobile terminal is: using a weighted average algorithm to budget the current data transmission speed.
  • the method further comprises: configuring a web on the gateway
  • the process of sending the network request to the website includes: when the website pointed to by the network request is a WWW website, searching for a WAP website corresponding to the WWW website;
  • the network request is directed to the WAP website.
  • the method for adjusting the response content of the website is: filtering the video, audio, picture or animation in the website according to the current data transmission speed.
  • the process of filtering the video, the audio, the picture, or the animation includes: a gateway configuring a webpage filtering policy, where the webpage filtering policy includes: dividing the network speed into a level, and setting each level according to the size of the multimedia content in the website to be filtered. Determining the level to which the current data transmission speed belongs, and filtering the multimedia content in the webpage content in the current data transmission according to the multimedia content that needs to be filtered according to each level;
  • the multimedia content includes video, audio, picture or animation.
  • a gateway which is provided with a network speed calculation module, a terminal information management module, and a webpage filtering module;
  • the network speed calculation module is configured to calculate a data transmission speed of the mobile terminal according to the data transmission time and the transmission amount, and save the data transmission speed;
  • the terminal information management module is configured to acquire a model or a user identifier of the mobile terminal, and record the data transmission speed of the mobile terminal of the model or the user as a historical data transmission speed;
  • the webpage filtering module is configured to: when receiving a webpage content that the website wants to respond to the mobile terminal, adjust the webpage content according to the historical data transmission speed of the mobile terminal, and send the adjusted webpage content to the mobile terminal.
  • the webpage filtering module is further configured to:
  • the WAP website corresponding to the www website is searched, and when the current data transmission speed is less than a predetermined value, the network request is directed to the WAP website.
  • the webpage filtering module further includes:
  • a budget module configured to query the data transmission speed according to the model or user identifier of the mobile terminal, and budget the current data transmission speed of the mobile terminal;
  • a response module configured to send a network request to a website, and receive webpage content responded by the website; and an adjustment module, configured to adjust the website response according to the current data transmission speed of the budget
  • the webpage content, the adjusted webpage content is sent to the mobile terminal.
  • the adjustment module is configured to:
  • the webpage filtering policy includes: dividing a network speed into a level, and setting, according to the size of the multimedia content in the website, the multimedia content that needs to be filtered at each level;
  • the multimedia content includes video, audio, picture or animation.
  • the technical solution of the present invention has the following beneficial effects:
  • the method and the gateway for adjusting webpage content provided by the present invention requesting corresponding website response to the mobile terminal network according to the data transmission speed between the mobile terminal and the gateway in a period of time
  • the content is filtered, and the adjusted website content is delivered to the terminal, so that the website content can be displayed more smoothly in different performance mobile terminals, thereby improving the user experience.
  • FIG. 1 is a flowchart of a method for adjusting webpage content in an embodiment of the present invention
  • FIG. 2 is a flowchart of adjusting webpage content according to a historical data transmission speed of a mobile terminal according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a gateway in an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a webpage filtering module according to an embodiment of the present invention. detailed description
  • the present invention provides a method for adjusting content of a webpage, including the following steps: S110: Calculating a data transmission speed of the mobile terminal according to a data transmission time and a transmission amount, and ensuring Save
  • the gateway calculates the downlink data transmission speed of the mobile terminal according to the data transmission time and the transmission amount of the mobile terminal and the gateway, and saves the downlink data transmission speed in the gateway.
  • S120 Obtain a model or a user identifier of the mobile terminal, and record a data transmission speed of the mobile terminal or the user for a period of time as a historical data transmission speed;
  • the network request sent by the mobile terminal usually includes a model or a user identifier of the mobile terminal, and the gateway parses the model or user identifier of the mobile terminal from the request, and uses the downlink data transmission speed as a historical data transmission speed and movement.
  • the model or user ID of the terminal is corresponding and saved.
  • S130 When receiving the webpage content that the website wants to respond to the mobile terminal, adjust the webpage content according to the historical data transmission speed of the mobile terminal, and respond to the mobile terminal with the adjusted webpage content.
  • step S130 includes:
  • S131 Query the historical data transmission speed according to the model or user identifier of the mobile terminal, and budget the current data transmission speed of the mobile terminal;
  • the weighted average algorithm is used to budget the current downlink transmission speed.
  • the gateway estimates the current data transmission speed by using a weighted average method according to a plurality of historical data transmission speeds of the mobile terminal for a period of time, and assumes that according to the historical data transmission speed budget of the last four times, according to the historical data transmission speed Time, the most recent weight is 50%, and the remaining three times are 25%, 12.5%, and 12.5% from near to far.
  • S132 Send a network request to the website, and receive the webpage content that the website responds to; the gateway sends the network request to the corresponding website, and the website responds to the network request, and sends the responded webpage content to the gateway.
  • the gateway receives the webpage content.
  • S133 Adjusting the webpage response of the website according to the current data transmission speed according to the budget And transmitting the adjusted webpage content to the mobile terminal.
  • the gateway configures a webpage filtering policy
  • the webpage filtering policy includes dividing the network speed into several levels, and setting multimedia content that needs to be filtered at each level according to the size of the multimedia content in the website.
  • the multimedia content includes video, audio, picture or animation.
  • the gateway when the current data transmission speed is less than the first data, it is a first level (for example, the first data is determined to be 100 KB according to actual conditions), and the network speed is low at the first level.
  • the gateway filters all multimedia content such as video, audio, animation, picture, etc. in the webpage content (for example, filtering the multimedia content according to the HTML identifier), and retains only simple text information, so that the mobile terminal can open the webpage more quickly.
  • the second level is determined (eg, the first data is set to 100 KB according to an actual situation, and the second data is set to 1 MB), and the gateway filters Audio, video, large picture or animation in the content of the web page (eg, filtering the multimedia content according to the HTML identifier), leaving only simple text information and small pictures.
  • the gateway filters Video, audio, text, images, and animations in the content of the web page (eg, filtering the multimedia content according to the HTML identifier).
  • the gateway does not filter multimedia content in webpage content.
  • the current data transmission speed is 200 KB
  • the filtered multimedia content is required according to the second level
  • the gateway is according to HTML. Identifies the audio, video, large picture in the filtered web content or Animation, leaving only simple text messages and small images.
  • configuring a list corresponding to the WWW website and the Wireless Application Protocol (WAP) website in the gateway may be manually configured or configured by a computer, and the list records a certain Whether the WWW website has a corresponding WAP version.
  • the gateway sends the network request to the website, it is determined whether the website pointed to by the network request is a WWW website, and when the website is a WWW website, whether the WWW website has a corresponding WAP website, if the WWW website has a corresponding The WAP website, and the current data transmission speed ', at a predetermined value, points the network request to the WAP version website.
  • the predetermined value is determined according to the actual situation, for example, the predetermined value is set to 2M, and when the current data transmission speed is less than 2M, the network request is relocated to the WAP website.
  • the gateway may calculate and save the uplink data transmission speed of the mobile terminal according to the data transmission time and the transmission amount, and perform the same budget operation on the uplink data transmission speed.
  • the website response content is automatically redirected in the gateway or the large resources in the website response content are filtered, so that different performances are obtained.
  • the mobile terminal can open the webpage more smoothly and improve the user experience.
  • FIG. 3 is a structural diagram of a gateway provided by an embodiment of the present invention, which specifically includes:
  • the network speed calculation module 210 is configured to calculate a data transmission speed of the mobile terminal according to the data transmission time and the transmission amount, and save the data transmission speed;
  • the network speed calculation module 210 calculates the downlink data transmission speed of the mobile terminal according to the data transmission time and the transmission amount of the mobile terminal and the gateway, and saves the downlink data transmission speed to the terminal information management module 220.
  • the terminal information management module 220 is configured to acquire a model or a user identifier of the mobile terminal, and record The data transmission speed of the model terminal or the user is a historical data transmission speed in a period of time; the terminal information management module 220 parses the model or user identifier of the mobile terminal in the network request, and uses the downlink data transmission speed as the historical data transmission speed. And save corresponding to the mobile terminal or the user identifier, and record the data transmission speed of the mobile terminal or the user for a certain period of time.
  • the webpage filtering module 230 is configured to: when receiving the webpage content that the website wants to respond to the mobile terminal, adjust the webpage content according to the historical data transmission speed of the mobile terminal, and send the adjusted webpage content to the mobile terminal;
  • the webpage filtering module 230 receives the webpage content that the website wants to respond to the mobile terminal, and adjusts the webpage content according to the historical data transmission speed of the mobile terminal recorded in the terminal information management module 220, and sends the adjusted webpage content to the mobile terminal.
  • FIG. 4 is a structural diagram of the webpage filtering module 230 in the embodiment.
  • the webpage filtering module 230 specifically includes:
  • the budget module 231 is configured to query the historical data transmission speed according to the model or the user identifier of the mobile terminal, and budget the current data transmission speed of the mobile terminal;
  • the budget module 231 queries the historical data transmission speed recorded by the mobile terminal terminal information management module 230 according to the model or user identification of the mobile terminal, and uses the weighted average algorithm to budget the current data transmission speed.
  • the response module 232 is configured to send a network request to the website, and receive a webpage in response to the website,
  • the response module 232 sends the network request of the mobile terminal to the website and receives the web content of the website response.
  • the adjusting module 233 is configured to adjust the webpage content of the website response according to the current data transmission speed of the budget, and send the adjusted webpage content to the mobile terminal;
  • the specific manner of the adjustment module 233 adjusting the content of the webpage responded by the website is: configuring the webpage
  • the filtering policy includes: dividing the network speed into a plurality of levels, and setting the multimedia content to be filtered for each level according to the size of the multimedia content in the website.
  • the first level is determined (for example, the first data is set to 100 KB according to actual conditions), and the adjustment module 233 filters all multimedia in the webpage;
  • the second level is determined (eg, the first data is set to 100 KB according to the actual situation, and the second data is determined to be 1 MB), and the adjustment module 233 filters Audio, video or animation in a web page;
  • the adjustment module 233 filters Audio, video in the web page.
  • the fourth level for example, the third data is set to 10M according to the actual situation
  • the network condition is good, and the general WWW can be opened.
  • the website, adjustment module 233 does not filter the multimedia content.
  • the adjustment module 233 sends the adjusted webpage content to the mobile terminal after adjusting the content of the webpage.
  • the webpage filtering module 230 manually configures, or the computer configures a list corresponding to the WWW website and the wireless application protocol WAP website, and the list records whether a certain WWW website has a corresponding WAP version.
  • the webpage filtering module 230 is further configured to: when the website pointed to by the network request is a WWW website, search for a WAP website corresponding to the WWW website, when the current data transmission speed is less than a predetermined value, the webpage filtering module 230
  • the network request points to the WAP website.
  • the predetermined value is set to 2M according to the actual situation. When the current data transmission speed is less than 2M and the corresponding WAP website exists in the WWW website, the network request is directed to the corresponding WAP website.
  • the network speed calculation module 210 is further based on data transmission time and transmission amount.
  • the uplink data transmission speed of the mobile terminal is calculated and the uplink data transmission speed is saved, and the same budget operation is performed on the uplink data transmission speed.
  • the gateway provided by the embodiment of the present invention obtains the data transmission speed of the mobile terminal by the network speed calculation module 210, and saves the data transmission speed as the historical data transmission speed in the terminal information management module 220, and the webpage filtering module 230 according to the history.
  • the data transmission speed adjusts the content of the website response requested by the mobile terminal and sends it to the mobile terminal, and adjusts the content of the webpage according to the performance of the mobile terminal, so that the mobile terminal with different performances can open the website more smoothly and improve the user experience.
  • each module in the foregoing embodiment may be implemented in the form of hardware or in the form of a software function module.
  • the invention is not limited to any combination of hardware and software in any particular form.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to a method and gateway for adjusting webpage contents. A gateway can adjust the webpage contents responded by the website corresponding to a network request from a mobile terminal according to the data transmission speed between the mobile terminal and the gateway within a period of time, and send the adjusted webpage contents to the mobile terminal, so that the webpage contents can be more applicable in terminal display. By way of the method and gateway provided by the present invention, mobile terminals with different performance can display the webpage more fluently, improving user experience.

Description

一种调整网页内容的方法及网关 技术领域  Method and gateway for adjusting webpage content
本发明涉及互联网技术领域, 特别涉及网关调整网页内容的方法及网 关。 背景技术  The present invention relates to the field of Internet technologies, and in particular, to a method and a gateway for a gateway to adjust webpage content. Background technique
目前, 移动互联网正逐渐渗透到人们生活、 工作的各个领域, 短信、 图铃下载、 移动音乐、 手机游戏、 视频应用、 手机支付、 位置服务等丰富 多彩的移动互联网应用迅猛发展, 正在深刻改变信息时代的社会生活。 跟 随移动互联网的发展, 手机和个人电脑等移动终端也出现与互联网融合的 趋势。移动终端的种类丰富,从移动通信网络来说,有 GSM ( Global System for Mobile Communications,全球移动通信系统 )、 EDGE( Enhanced Data Rate for GSM Evolution, 增强型数据速率 GSM演进技术)、 3G ( 3rd-Generation, 第三代移动通信技术)、 LTE ( Long Term Evolution, 长期演进)和 WIFI At present, the mobile Internet is gradually infiltrating into various fields of people's life and work. The rapid development of colorful mobile Internet applications such as SMS, ringtone download, mobile music, mobile games, video applications, mobile payment, location services, etc. is profoundly changing information. Social life of the era. With the development of the mobile Internet, mobile terminals such as mobile phones and personal computers have also shown a trend of convergence with the Internet. There are many types of mobile terminals. From the mobile communication network, there are GSM (Global System for Mobile Communications), EDGE (Enhanced Data Rate for GSM Evolution), 3G (3rd- Generation, third generation mobile communication technology), LTE (Long Term Evolution) and WIFI
( Wireless Fidelity, 无线局域网 )网络, 网络速度从几十 K到几十 M不等。 以手机为例, 手机能打开的网页取决于手机的上网速度、 手机的内存和手 机的屏幕大小。 对于内存只有几兆的 GSM 手机, 如果需要打开万维网(Wireless Fidelity, WLAN) networks, network speeds ranging from tens of K to tens of M. In the case of a mobile phone, the web page that the mobile phone can open depends on the speed of the mobile phone, the memory of the mobile phone, and the screen size of the mobile phone. For GSM phones with only a few megabytes of memory, if you need to open the World Wide Web
( WWW ) 门户网站, 网站首页就有近十兆, 不仅浪费用户的时间和流量, 还可能会耗尽手机的内存而导致手机运行异常。 发明内容 (WWW) Portal, the website has nearly ten megabytes, which not only wastes users' time and traffic, but also may exhaust the memory of the mobile phone and cause the mobile phone to operate abnormally. Summary of the invention
本发明的主要目的是提供一种调整网页内容的方法及网关, 能够根据 移动终端的数据传输速度动态的改变网页的内容并返回给移动终端, 实现 更为流畅的网页显示, 提高用户的体验度。 为了达到上述目的, 本发明的技术方案是这样实现的: The main purpose of the present invention is to provide a method and a gateway for adjusting the content of a webpage, which can dynamically change the content of the webpage according to the data transmission speed of the mobile terminal and return it to the mobile terminal, thereby achieving a smoother webpage display and improving the user experience. . In order to achieve the above object, the technical solution of the present invention is achieved as follows:
一种调整网页内容的方法, 包括:  A method of adjusting the content of a webpage, including:
根据数据传输时间和传输量计算移动终端的数据传输速度并保存; 获取移动终端的型号或者用户标识, 将该型号的移动终端或者所述用 户的所述数据传输速度记录为历史数据传输速度;  Calculating and storing the data transmission speed of the mobile terminal according to the data transmission time and the transmission amount; acquiring the model or user identifier of the mobile terminal, and recording the data transmission speed of the mobile terminal of the model or the user as the historical data transmission speed;
接收到网站欲响应至移动终端的网页内容时, 根据该移动终端的历史 数据传输速度调整所述网页内容, 并把调整后的网页内容发送给移动终端。  When receiving the webpage content that the website wants to respond to the mobile terminal, the webpage content is adjusted according to the historical data transmission speed of the mobile terminal, and the adjusted webpage content is sent to the mobile terminal.
其中, 所述接收到网站欲响应至移动终端的网页内容时, 根据该移动 终端的历史数据传输速度调整所述网页内容, 并把调整后的网页内容发送 给移动终端的过程包括:  The process of adjusting the content of the webpage according to the historical data transmission speed of the mobile terminal and transmitting the adjusted webpage content to the mobile terminal includes:
根据所述移动终端的型号或者用户标识查询所述历史数据传输速度并 预算所述移动终端的本次数据传输速度;  Querying the historical data transmission speed according to the model or user identifier of the mobile terminal and budgeting the current data transmission speed of the mobile terminal;
将网络请求发送至网站, 并接收网站响应的网页内容;  Send a web request to the website and receive the web content of the website response;
根据预算的所述本次数据传输速度调整网站所响应的所述网页内容, 将调整后的网页内容发送给所述移动终端。  Adjusting the content of the webpage responded by the website according to the current data transmission speed of the budget, and transmitting the adjusted webpage content to the mobile terminal.
其中, 预算所述移动终端的本次数据传输速度的方法为: 采用加权平 均算法预算所述本次数据传输速度。  The method for budgeting the current data transmission speed of the mobile terminal is: using a weighted average algorithm to budget the current data transmission speed.
其中, 在执行所有步驟之前, 该方法还包括: 在网关上配置万维网 Wherein, before performing all the steps, the method further comprises: configuring a web on the gateway
WWW网站与无线应用协议 WAP网站对应的列表; a list corresponding to the WWW website and the wireless application protocol WAP website;
所述将网络请求发送至网站的过程包括: 当所述网络请求所指向的网 站为 WWW网站时, 查找与所述 WWW网站对应的 WAP网站;  The process of sending the network request to the website includes: when the website pointed to by the network request is a WWW website, searching for a WAP website corresponding to the WWW website;
在本次数据传输速度小于预定值时,将所述网络请求指向所述 WAP网 站。  When the current data transmission speed is less than a predetermined value, the network request is directed to the WAP website.
其中, 调整所述网站响应内容的方法为: 根据所述本次数据传输速度 过滤网站中的视频、 音频、 图片或者动画。 其中, 过滤所述视频、 音频、 图片或者动画的过程包括: 网关配置网页过滤策略, 所述网页过滤策略包括: 将网络速度划分出 等级, 根据网站中多媒体内容的大小设定每一等级需要过滤的多媒体内容; 判定所述本次数据传输速度所属的等级, 根据每一等级需要过滤的多 媒体内容过滤本次数据传输中的所述网页内容中的多媒体内容; The method for adjusting the response content of the website is: filtering the video, audio, picture or animation in the website according to the current data transmission speed. The process of filtering the video, the audio, the picture, or the animation includes: a gateway configuring a webpage filtering policy, where the webpage filtering policy includes: dividing the network speed into a level, and setting each level according to the size of the multimedia content in the website to be filtered. Determining the level to which the current data transmission speed belongs, and filtering the multimedia content in the webpage content in the current data transmission according to the multimedia content that needs to be filtered according to each level;
其中: 所述多媒体内容包括视频、 音频、 图片或者动画。  Wherein: the multimedia content includes video, audio, picture or animation.
一种网关, 设置有网速计算模块、 终端信息管理模块和网页过滤模块; 其中,  a gateway, which is provided with a network speed calculation module, a terminal information management module, and a webpage filtering module; wherein
所述网速计算模块, 用于根据数据传输时间和传输量计算移动终端的 数据传输速度并保存所述数据传输速度;  The network speed calculation module is configured to calculate a data transmission speed of the mobile terminal according to the data transmission time and the transmission amount, and save the data transmission speed;
所述终端信息管理模块, 用于获取移动终端的型号或者用户标识, 将 该型号的移动终端或者所述用户的所述数据传输速度记录为历史数据传输 速度;  The terminal information management module is configured to acquire a model or a user identifier of the mobile terminal, and record the data transmission speed of the mobile terminal of the model or the user as a historical data transmission speed;
所述网页过滤模块, 用于接收网站欲响应至移动终端的网页内容时, 根据该移动终端的历史数据传输速度调整所述网页内容, 并把调整后的网 页内容发送给移动终端。  The webpage filtering module is configured to: when receiving a webpage content that the website wants to respond to the mobile terminal, adjust the webpage content according to the historical data transmission speed of the mobile terminal, and send the adjusted webpage content to the mobile terminal.
其中, 所述网页过滤模块还用于:  The webpage filtering module is further configured to:
当所述网络请求所指向的网站为 WWW网站时,查找与所述 www网 站对应的 WAP网站, 在所述本次数据传输速度小于预定值时, 将所述网络 请求指向所述 WAP网站。  When the website pointed to by the network request is a WWW website, the WAP website corresponding to the www website is searched, and when the current data transmission speed is less than a predetermined value, the network request is directed to the WAP website.
其中, 所述网页过滤模块还包括:  The webpage filtering module further includes:
预算模块, 用于根据所述移动终端的型号或者用户标识查询所述数据 传输速度, 并预算所述移动终端的本次数据传输速度;  a budget module, configured to query the data transmission speed according to the model or user identifier of the mobile terminal, and budget the current data transmission speed of the mobile terminal;
响应模块, 用于将网络请求发送至网站, 并接收网站响应的网页内容; 调整模块, 用于根据预算的所述本次数据传输速度调整所述网站响应 的网页内容, 将所述调整后的网页内容发送给所述移动终端。 a response module, configured to send a network request to a website, and receive webpage content responded by the website; and an adjustment module, configured to adjust the website response according to the current data transmission speed of the budget The webpage content, the adjusted webpage content is sent to the mobile terminal.
其中, 所述调整模块用于:  The adjustment module is configured to:
配置网页过滤策略, 所述网页过滤策略包括: 将网络速度划分出等级, 根据网站中多媒体内容的大小设定每一等级需要过滤的多媒体内容;  Configuring a webpage filtering policy, the webpage filtering policy includes: dividing a network speed into a level, and setting, according to the size of the multimedia content in the website, the multimedia content that needs to be filtered at each level;
判定所述本次数据传输速度所属的等级, 根据每一等级需要过滤的多 媒体内容过滤本次数据传输中的所述网页内容中的多媒体内容;  Determining the level to which the current data transmission speed belongs, and filtering the multimedia content in the webpage content in the current data transmission according to the multimedia content that needs to be filtered according to each level;
其中: 所述多媒体内容包括视频、 音频、 图片或者动画。  Wherein: the multimedia content includes video, audio, picture or animation.
实施本发明的技术方案, 具有以下有益效果: 本发明提供的调整网页 内容的方法及网关, 根据一段时间内移动终端和网关之间的数据传输速度, 对所述移动终端网络请求对应的网站响应内容进行过滤操作, 将已调整后 的网站内容传递给所述终端, 使得网站内容能更流畅地显示于不同性能的 移动终端中, 提升了用户的体验度。 附图说明  The technical solution of the present invention has the following beneficial effects: The method and the gateway for adjusting webpage content provided by the present invention, requesting corresponding website response to the mobile terminal network according to the data transmission speed between the mobile terminal and the gateway in a period of time The content is filtered, and the adjusted website content is delivered to the terminal, so that the website content can be displayed more smoothly in different performance mobile terminals, thereby improving the user experience. DRAWINGS
图 1为本发明实施例中调整网页内容的方法的流程图;  1 is a flowchart of a method for adjusting webpage content in an embodiment of the present invention;
图 2 为本发明实施例中根据移动终端的历史数据传输速度调整网页内 容的流程图;  2 is a flowchart of adjusting webpage content according to a historical data transmission speed of a mobile terminal according to an embodiment of the present invention;
图 3为本发明实施例中的网关的结构示意图;  3 is a schematic structural diagram of a gateway in an embodiment of the present invention;
图 4为本发明实施例中的网页过滤模块的结构示意图。 具体实施方式  FIG. 4 is a schematic structural diagram of a webpage filtering module according to an embodiment of the present invention. detailed description
为了使本发明的目的、 技术方案及优点更加清楚明白, 以下结合附图 及实施例, 对本发明进行进一步详细说明。 应当理解, 此处所描述的具体 实施例仅仅用以解释本发明, 并不用于限定本发明。  The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
如图 1所示, 本发明提供一种调整网页内容的方法, 包括以下步驟: S110: 根据数据传输时间和传输量计算移动终端的数据传输速度并保 存; As shown in FIG. 1 , the present invention provides a method for adjusting content of a webpage, including the following steps: S110: Calculating a data transmission speed of the mobile terminal according to a data transmission time and a transmission amount, and ensuring Save
在网关与移动终端的数据传输过程中, 网关根据移动终端与网关的数 据传输时间和传输量, 计算出移动终端下行数据传输速度, 并将下行数据 传输速度保存在网关中。  During the data transmission process between the gateway and the mobile terminal, the gateway calculates the downlink data transmission speed of the mobile terminal according to the data transmission time and the transmission amount of the mobile terminal and the gateway, and saves the downlink data transmission speed in the gateway.
S120: 获取移动终端的型号或者用户标识, 记录该型号移动终端或者 用户一段时间内的数据传输速度为历史数据传输速度;  S120: Obtain a model or a user identifier of the mobile terminal, and record a data transmission speed of the mobile terminal or the user for a period of time as a historical data transmission speed;
在移动终端发送的网络请求中通常还包含有移动终端的型号或者用户 标识, 所述网关从请求中解析出移动终端的型号或者用户标识, 将所述下 行数据传输速度作为历史数据传输速度与移动终端的型号或者用户标识与 对应并保存。  The network request sent by the mobile terminal usually includes a model or a user identifier of the mobile terminal, and the gateway parses the model or user identifier of the mobile terminal from the request, and uses the downlink data transmission speed as a historical data transmission speed and movement. The model or user ID of the terminal is corresponding and saved.
S130: 接收到网站欲响应至移动终端的网页内容时, 根据该移动终端 的历史数据传输速度, 调整所述网页内容, 并把调整后的网页内容响应给 移动终端。  S130: When receiving the webpage content that the website wants to respond to the mobile terminal, adjust the webpage content according to the historical data transmission speed of the mobile terminal, and respond to the mobile terminal with the adjusted webpage content.
更为具体的, 如图 2所示, 步驟 S130包括:  More specifically, as shown in FIG. 2, step S130 includes:
S131 : 根据所述移动终端的型号或者用户标识查询所述历史数据传输 速度并预算所述移动终端的本次数据传输速度;  S131: Query the historical data transmission speed according to the model or user identifier of the mobile terminal, and budget the current data transmission speed of the mobile terminal;
更为具体的, 采用加权平均算法预算所述本次下行传输速度。 网关根 据所述移动终端一段时间内的若干历史数据传输速度, 采用加权平均的方 法预算本次数据传输速度, 假设根据最近四次的所述历史数据传输速度预 算, 依所述历史数据传输速度发生时间, 最近的一次占的权重为 50%, 其 余三次由近及远依次为 25%、 12.5%以及 12.5%。  More specifically, the weighted average algorithm is used to budget the current downlink transmission speed. The gateway estimates the current data transmission speed by using a weighted average method according to a plurality of historical data transmission speeds of the mobile terminal for a period of time, and assumes that according to the historical data transmission speed budget of the last four times, according to the historical data transmission speed Time, the most recent weight is 50%, and the remaining three times are 25%, 12.5%, and 12.5% from near to far.
S132: 将网络请求发送至网站, 并接收网站响应的网页内容; 网关 4巴所述网络请求发送至对应的网站, 网站对所述网络请求进行响 应, 同时将响应的网页内容发送给所述网关, 所述网关接收所述网页内容。  S132: Send a network request to the website, and receive the webpage content that the website responds to; the gateway sends the network request to the corresponding website, and the website responds to the network request, and sends the responded webpage content to the gateway. The gateway receives the webpage content.
S133 : 根据预算的所述本次数据传输速度调整所述网站响应的网页内 容, 将所述调整后的网页内容发送给所述移动终端。 S133: Adjusting the webpage response of the website according to the current data transmission speed according to the budget And transmitting the adjusted webpage content to the mobile terminal.
更为具体的, 网关配置网页过滤策略, 所述网页过滤策略包括将网络 速度划分为若干等级, 根据网站中多媒体内容的大小设定每一等级需要过 滤的多媒体内容。 其中: 所述多媒体内容包括视频、 音频、 图片或者动画。  More specifically, the gateway configures a webpage filtering policy, and the webpage filtering policy includes dividing the network speed into several levels, and setting multimedia content that needs to be filtered at each level according to the size of the multimedia content in the website. Wherein: the multimedia content includes video, audio, picture or animation.
在本发明实施例中, 当所述本次数据传输速度小于第一数据时为第一 等级(如根据实际情况, 将第一数据定为 100KB ), 在第一等级时网络速度 很低, 所述网关过滤网页内容中的视频、 音频、 动画、 图片等所有多媒体 内容(例如, 根据 HTML标识过滤所述多媒体内容), 仅保留简单的文本信 息, 使得移动终端能更为快速地打开网页。  In the embodiment of the present invention, when the current data transmission speed is less than the first data, it is a first level (for example, the first data is determined to be 100 KB according to actual conditions), and the network speed is low at the first level. The gateway filters all multimedia content such as video, audio, animation, picture, etc. in the webpage content (for example, filtering the multimedia content according to the HTML identifier), and retains only simple text information, so that the mobile terminal can open the webpage more quickly.
当所述本次数据传输速度大于或者等于第一数据且小于第二数据时为 第二等级(如根据实际情况,将第一数据定为 100KB、第二数据定为 1MB ), 所述网关过滤网页内容中的音频、视频、大图片或者动画(例如,根据 HTML 标识过滤所述多媒体内容), 仅保留简单的文本信息和小图片。  When the current data transmission speed is greater than or equal to the first data and less than the second data, the second level is determined (eg, the first data is set to 100 KB according to an actual situation, and the second data is set to 1 MB), and the gateway filters Audio, video, large picture or animation in the content of the web page (eg, filtering the multimedia content according to the HTML identifier), leaving only simple text information and small pictures.
当所述本次数据传输速度大于或者等于第二数据且小于第三数据时为 第三等级(如根据实际情况,将第二数据定为 1MB、第三数据定为 10MB ), 所述网关过滤网页内容中的视频、 音频, 保留文本、 图片和动画 (例如, 根据 HTML标识过滤所述多媒体内容)。  When the current data transmission speed is greater than or equal to the second data and less than the third data, it is a third level (eg, according to the actual situation, the second data is set to 1 MB, and the third data is set to 10 MB), the gateway filters Video, audio, text, images, and animations in the content of the web page (eg, filtering the multimedia content according to the HTML identifier).
当所述本次数据传输速度大于或者等于第三数据时为第四等级(如根 据实际情况, 将第三数据定为 10M ), 在第四等级时, 网络状况较好, 可以 打开一般的 WWW网站, 所述网关不过滤网页内容中的多媒体内容。  When the current data transmission speed is greater than or equal to the third data, it is the fourth level (for example, the third data is set to 10M according to the actual situation), and at the fourth level, the network condition is good, and the general WWW can be opened. Website, the gateway does not filter multimedia content in webpage content.
判定所述本次数据传输所属的等级, 根据所述每一等级需要过滤的多 媒体内容过滤本次数据传输中的所述网页内容中的多媒体内容。  Determining the level to which the current data transmission belongs, and filtering the multimedia content in the webpage content in the current data transmission according to the multimedia content that needs to be filtered according to the level.
如在本发明实施例中, 当所述本次数据传输速度为 200KB时, 判定所 述本次数据传输速度为第二等级, 根据所述第二等级需要过滤的多媒体内 容, 所述网关根据 HTML标识过滤网页内容中的音频、 视频、 大图片或者 动画, 仅保留简单的文本信息和小图片。 As in the embodiment of the present invention, when the current data transmission speed is 200 KB, it is determined that the current data transmission speed is a second level, and the filtered multimedia content is required according to the second level, and the gateway is according to HTML. Identifies the audio, video, large picture in the filtered web content or Animation, leaving only simple text messages and small images.
在其它的实施例中, 在执行所有步驟之前, 在所述网关中配置 WWW 网站与无线应用协议(WAP ) 网站对应的列表, 可以通过人工配置, 或者 计算机对网关进行配置,该列表记录了某个 WWW网站是否有对应的 WAP 版本。 当网关将网络请求发送至网站时, 判断所述网络请求指向的网站是 否为 WWW网站, 当所述网站为 WWW网站时, 查看 WWW网站是否有 对应的 WAP网站, 如果所述 WWW网站存在对应的 WAP网站, 并且所述 本次数据传输速度'〗、于预定值时,将所述网络请求指向所述 WAP版本网站。 预定值根据实际情况确定, 例如, 将预定值定为 2M, 当所述本次数据传输 速度小于 2M时, 将所述网络请求重定位至 WAP网站。  In other embodiments, before performing all the steps, configuring a list corresponding to the WWW website and the Wireless Application Protocol (WAP) website in the gateway may be manually configured or configured by a computer, and the list records a certain Whether the WWW website has a corresponding WAP version. When the gateway sends the network request to the website, it is determined whether the website pointed to by the network request is a WWW website, and when the website is a WWW website, whether the WWW website has a corresponding WAP website, if the WWW website has a corresponding The WAP website, and the current data transmission speed ', at a predetermined value, points the network request to the WAP version website. The predetermined value is determined according to the actual situation, for example, the predetermined value is set to 2M, and when the current data transmission speed is less than 2M, the network request is relocated to the WAP website.
在其他的实施例中, 在执行所有步驟之前, 所述网关还可根据数据传 输时间和传输量计算移动终端的上行数据传输速度并保存, 并对上行数据 传输速度进行同样的预算操作。  In other embodiments, before performing all the steps, the gateway may calculate and save the uplink data transmission speed of the mobile terminal according to the data transmission time and the transmission amount, and perform the same budget operation on the uplink data transmission speed.
通过本发明实施例提供的网关调整网页内容的方法, 根据移动终端的 性能和无线网络的速度, 在网关中对网站响应内容进行自动重定向或者过 滤网站响应内容中的大资源, 使得不同性能的移动终端能更为流畅地打开 网页, 提高用户的体验度。  According to the method for adjusting the content of the webpage by the gateway provided by the embodiment of the present invention, according to the performance of the mobile terminal and the speed of the wireless network, the website response content is automatically redirected in the gateway or the large resources in the website response content are filtered, so that different performances are obtained. The mobile terminal can open the webpage more smoothly and improve the user experience.
本发明实施例还提供一种网关, 如图 3所示, 图 3为本发明实施例提 供的网关的结构图, 具体包括:  The embodiment of the present invention further provides a gateway. As shown in FIG. 3, FIG. 3 is a structural diagram of a gateway provided by an embodiment of the present invention, which specifically includes:
网速计算模块 210,用于根据数据传输时间和传输量计算移动终端的数 据传输速度并保存所述数据传输速度;  The network speed calculation module 210 is configured to calculate a data transmission speed of the mobile terminal according to the data transmission time and the transmission amount, and save the data transmission speed;
网速计算模块 210根据移动终端与网关的数据传输时间和传输量, 计 算出移动终端的下行数据传输速度, 并保存所述下行数据传输速度至终端 信息管理模块 220。  The network speed calculation module 210 calculates the downlink data transmission speed of the mobile terminal according to the data transmission time and the transmission amount of the mobile terminal and the gateway, and saves the downlink data transmission speed to the terminal information management module 220.
终端信息管理模块 220, 用于获取移动终端的型号或者用户标识, 记录 该型号终端或者用户一段时间内的数据传输速度为历史数据传输速度; 终端信息管理模块 220解析出网络请求中的移动终端的型号或者用户 标识, 并将所述下行数据传输速度作为历史数据传输速度, 与移动终端或 者用户标识对应保存, 记录该型号移动终端或者用户一段时间内的数据传 输速度。 The terminal information management module 220 is configured to acquire a model or a user identifier of the mobile terminal, and record The data transmission speed of the model terminal or the user is a historical data transmission speed in a period of time; the terminal information management module 220 parses the model or user identifier of the mobile terminal in the network request, and uses the downlink data transmission speed as the historical data transmission speed. And save corresponding to the mobile terminal or the user identifier, and record the data transmission speed of the mobile terminal or the user for a certain period of time.
网页过滤模块 230, 用于接收网站欲响应至移动终端的网页内容时,根 据该移动终端的历史数据传输速度, 调整所述网页内容, 并把调整后的网 页内容发送给移动终端;  The webpage filtering module 230 is configured to: when receiving the webpage content that the website wants to respond to the mobile terminal, adjust the webpage content according to the historical data transmission speed of the mobile terminal, and send the adjusted webpage content to the mobile terminal;
网页过滤模块 230接收网站欲响应至移动终端的网页内容, 同时根据 终端信息管理模块 220 中记录的该移动终端的历史数据传输速度, 对网页 内容进行调整, 并把调整后的网页内容发送给移动终端。  The webpage filtering module 230 receives the webpage content that the website wants to respond to the mobile terminal, and adjusts the webpage content according to the historical data transmission speed of the mobile terminal recorded in the terminal information management module 220, and sends the adjusted webpage content to the mobile terminal.
更为具体的, 如图 4所示, 图 4为本实施例中网页过滤模块 230的结 构图, 网页过滤模块 230具体包括:  More specifically, as shown in FIG. 4, FIG. 4 is a structural diagram of the webpage filtering module 230 in the embodiment. The webpage filtering module 230 specifically includes:
预算模块 231 ,用于根据所述移动终端的型号或者用户标识查询所述历 史数据传输速度并预算所述移动终端的本次数据传输速度;  The budget module 231 is configured to query the historical data transmission speed according to the model or the user identifier of the mobile terminal, and budget the current data transmission speed of the mobile terminal;
预算模块 231 根据移动终端的型号或者用户标识查询移动终端终端信 息管理模块 230记录的历史数据传输速度, 并采用加权平均算法预算出本 次数据传输速度。  The budget module 231 queries the historical data transmission speed recorded by the mobile terminal terminal information management module 230 according to the model or user identification of the mobile terminal, and uses the weighted average algorithm to budget the current data transmission speed.
响应模块 232 , 用于将网络请求发送至网站, 并接收网站响应的网页内 谷,  The response module 232 is configured to send a network request to the website, and receive a webpage in response to the website,
响应模块 232将移动终端的网络请求发送至网站, 并接收网站响应的 网页内容。  The response module 232 sends the network request of the mobile terminal to the website and receives the web content of the website response.
调整模块 233 ,用于根据预算的所述本次数据传输速度调整所述网站响 应的网页内容, 将所述调整后的网页内容发送给所述移动终端;  The adjusting module 233 is configured to adjust the webpage content of the website response according to the current data transmission speed of the budget, and send the adjusted webpage content to the mobile terminal;
调整模块 233调整所述网站响应的网页内容的具体方式为: 配置网页 过滤策略, 所述网页过滤策略包括将网络速度划分为若干等级, 根据网站 中多媒体内容的大小设定每一等级需要过滤的多媒体内容。 The specific manner of the adjustment module 233 adjusting the content of the webpage responded by the website is: configuring the webpage The filtering policy includes: dividing the network speed into a plurality of levels, and setting the multimedia content to be filtered for each level according to the size of the multimedia content in the website.
更为具体的 , 当所述本次数据传输速度小于第一数据时为第一等级(如 根据实际情况, 将第一数据定为 100KB ), 调整模块 233过滤网页中的所有 多媒体;  More specifically, when the current data transmission speed is lower than the first data, the first level is determined (for example, the first data is set to 100 KB according to actual conditions), and the adjustment module 233 filters all multimedia in the webpage;
当所述本次数据传输速度大于或者等于第一数据且小于第二数据时为 第二等级(如根据实际情况,将第一数据定为 100KB、第二数据定为 1MB ), 调整模块 233过滤网页中的音频、 视频或者动画;  When the current data transmission speed is greater than or equal to the first data and less than the second data, the second level is determined (eg, the first data is set to 100 KB according to the actual situation, and the second data is determined to be 1 MB), and the adjustment module 233 filters Audio, video or animation in a web page;
当所述本次数据传输速度大于或者等于第二数据且小于第三数据时为 第三等级(如根据实际情况,将第二数据定为 1MB、第三数据定为 10MB ), 调整模块 233过滤网页中的音频、 视频。  When the current data transmission speed is greater than or equal to the second data and less than the third data, it is a third level (eg, according to the actual situation, the second data is set to 1 MB, and the third data is set to 10 MB), and the adjustment module 233 filters Audio, video in the web page.
当所述本次数据传输速度大于或者等于第三数据时为第四等级(如根 据实际情况, 将第三数据定为 10M ), 在第四等级时, 网络状况较好, 可以 打开一般的 WWW网站, 调整模块 233不过滤所述多媒体内容。  When the current data transmission speed is greater than or equal to the third data, it is the fourth level (for example, the third data is set to 10M according to the actual situation), and at the fourth level, the network condition is good, and the general WWW can be opened. The website, adjustment module 233 does not filter the multimedia content.
调整模块 233在调整完所述网页内容后, 将所述调整后的网页内容发 送给所述移动终端。  The adjustment module 233 sends the adjusted webpage content to the mobile terminal after adjusting the content of the webpage.
更为具体的, 在网页过滤模块 230 中通过人工配置, 或者计算机配置 维 WWW网站与无线应用协议 WAP网站对应的列表, 该列表记录了某个 WWW网站是否有对应的 WAP版本。 网页过滤模块 230还用于: 当所述网 络请求指向的网站为 WWW网站时, 查找与所述 WWW网站对应的 WAP 网站, 在所述本次数据传输速度小于预定值时, 网页过滤模块 230将所述 网络请求指向所述 WAP网站。 例如: 根据实际情况将预定值定为 2M, 当 所述本次数据传输速度小于 2M并且所述 WWW网站存在对应的 WAP网站 时, 将所述网络请求指向对应的 WAP网站。  More specifically, the webpage filtering module 230 manually configures, or the computer configures a list corresponding to the WWW website and the wireless application protocol WAP website, and the list records whether a certain WWW website has a corresponding WAP version. The webpage filtering module 230 is further configured to: when the website pointed to by the network request is a WWW website, search for a WAP website corresponding to the WWW website, when the current data transmission speed is less than a predetermined value, the webpage filtering module 230 The network request points to the WAP website. For example, the predetermined value is set to 2M according to the actual situation. When the current data transmission speed is less than 2M and the corresponding WAP website exists in the WWW website, the network request is directed to the corresponding WAP website.
在其他的实施例中, 网速计算模块 210还根据数据传输时间和传输量 计算移动终端的上行数据传输速度并保存所述上行数据传输速度, 并对上 行数据传输速度进行同样的预算操作。 In other embodiments, the network speed calculation module 210 is further based on data transmission time and transmission amount. The uplink data transmission speed of the mobile terminal is calculated and the uplink data transmission speed is saved, and the same budget operation is performed on the uplink data transmission speed.
本发明实施例提供的网关, 由网速计算模块 210获取移动终端的数据 传输速度, 将所述数据传输速度作为历史数据传输速度保存在终端信息管 理模块 220中, 网页过滤模块 230根据所述历史数据传输速度对移动终端 请求的网站响应内容进行调整并发送至移动终端, 根据移动终端的性能对 网页内容进行调整, 使得不同性能的移动终端能更为流畅地打开网站, 提 高用户的体验度。  The gateway provided by the embodiment of the present invention obtains the data transmission speed of the mobile terminal by the network speed calculation module 210, and saves the data transmission speed as the historical data transmission speed in the terminal information management module 220, and the webpage filtering module 230 according to the history. The data transmission speed adjusts the content of the website response requested by the mobile terminal and sends it to the mobile terminal, and adjusts the content of the webpage according to the performance of the mobile terminal, so that the mobile terminal with different performances can open the website more smoothly and improve the user experience.
上述实施例的全部或部分步驟可以使用一个或多个集成电路来实现。 相应地, 上述实施例中的各模块可以采用硬件的形式实现, 也可以采用软 件功能模块的形式实现。 本发明不限制与任何特定形式的硬件和软件的结 合。  All or part of the steps of the above embodiments may be implemented using one or more integrated circuits. Correspondingly, each module in the foregoing embodiment may be implemented in the form of hardware or in the form of a software function module. The invention is not limited to any combination of hardware and software in any particular form.
以上仅为本发明的较佳实施例而已, 并不用以限制本发明, 凡在本发 明的精神和原则之内所作的任何修改、 等同替换和改进等, 均应包含在本 发明的保护范围之内。  The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalents, and improvements made within the spirit and scope of the present invention should be included in the scope of the present invention. Inside.

Claims

权利要求书 Claim
1、 一种调整网页内容的方法, 包括:  1. A method of adjusting webpage content, including:
根据数据传输时间和传输量计算移动终端的数据传输速度并保存; 获取移动终端的型号或者用户标识, 将该型号的移动终端或者所述用 户的所述数据传输速度记录为历史数据传输速度;  Calculating and storing the data transmission speed of the mobile terminal according to the data transmission time and the transmission amount; acquiring the model or user identifier of the mobile terminal, and recording the data transmission speed of the mobile terminal of the model or the user as the historical data transmission speed;
接收到网站欲响应至移动终端的网页内容时, 根据该移动终端的历史 数据传输速度调整所述网页内容, 并把调整后的网页内容发送给移动终端。  When receiving the webpage content that the website wants to respond to the mobile terminal, the webpage content is adjusted according to the historical data transmission speed of the mobile terminal, and the adjusted webpage content is sent to the mobile terminal.
2、 如权利要求 1所述的方法, 其中, 所述接收到网站欲响应至移动终 端的网页内容时, 根据该移动终端的历史数据传输速度调整所述网页内容, 并把调整后的网页内容发送给移动终端的过程包括:  2. The method according to claim 1, wherein, when receiving the webpage content that the website wants to respond to the mobile terminal, adjusting the webpage content according to the historical data transmission speed of the mobile terminal, and adjusting the webpage content The process of sending to the mobile terminal includes:
根据所述移动终端的型号或者用户标识查询所述历史数据传输速度并 预算所述移动终端的本次数据传输速度;  Querying the historical data transmission speed according to the model or user identifier of the mobile terminal and budgeting the current data transmission speed of the mobile terminal;
将网络请求发送至网站, 并接收网站响应的网页内容;  Send a web request to the website and receive the web content of the website response;
根据预算的所述本次数据传输速度调整网站所响应的所述网页内容, 将调整后的网页内容发送给所述移动终端。  Adjusting the content of the webpage responded by the website according to the current data transmission speed of the budget, and transmitting the adjusted webpage content to the mobile terminal.
3、 如权利要求 2所述的方法, 其中, 预算所述移动终端的本次数据传 输速度的方法为: 采用加权平均算法预算所述本次数据传输速度。  3. The method according to claim 2, wherein the method for budgeting the current data transmission speed of the mobile terminal is: using a weighted average algorithm to budget the current data transmission speed.
4、 如权利要求 2所述的方法, 其中,  4. The method of claim 2, wherein
在执行所有步驟之前, 该方法还包括: 在网关上配置万维网 WWW网 站与无线应用协议 WAP网站对应的列表;  Before performing all the steps, the method further includes: configuring, on the gateway, a list corresponding to the WWW website of the World Wide Web and the WAP protocol of the wireless application protocol;
所述将网络请求发送至网站的过程包括: 当所述网络请求所指向的网 站为 WWW网站时, 查找与所述 WWW网站对应的 WAP网站;  The process of sending the network request to the website includes: when the website pointed to by the network request is a WWW website, searching for a WAP website corresponding to the WWW website;
在本次数据传输速度小于预定值时,将所述网络请求指向所述 WAP网 站。  When the current data transmission speed is less than a predetermined value, the network request is directed to the WAP website.
5、如权利要求 1所述的方法,其中,调整所述网站响应内容的方法为: 根据所述本次数据传输速度过滤网站中的视频、 音频、 图片或者动画。5. The method of claim 1 wherein the method of adjusting the website response content is: Filter the video, audio, picture or animation in the website according to the current data transmission speed.
6、 如权利要求 5所述的方法, 其中, 过滤所述视频、 音频、 图片或者 动画的过程包括: 6. The method of claim 5, wherein the filtering the video, audio, picture or animation comprises:
网关配置网页过滤策略, 所述网页过滤策略包括: 将网络速度划分出 等级, 根据网站中多媒体内容的大小设定每一等级需要过滤的多媒体内容; 判定所述本次数据传输速度所属的等级, 根据每一等级需要过滤的多 媒体内容过滤本次数据传输中的所述网页内容中的多媒体内容;  The gateway configures a webpage filtering policy, and the webpage filtering policy includes: dividing the network speed into a level, setting the multimedia content to be filtered at each level according to the size of the multimedia content in the website; determining the level to which the current data transmission speed belongs, Filtering the multimedia content in the webpage content in the data transmission according to the multimedia content that needs to be filtered according to each level;
其中: 所述多媒体内容包括视频、 音频、 图片或者动画。  Wherein: the multimedia content includes video, audio, picture or animation.
7、 一种网关, 设置有网速计算模块、 终端信息管理模块和网页过滤模 块; 其中,  7. A gateway, configured with a network speed calculation module, a terminal information management module, and a webpage filtering module; wherein
所述网速计算模块, 用于根据数据传输时间和传输量计算移动终端的 数据传输速度并保存所述数据传输速度;  The network speed calculation module is configured to calculate a data transmission speed of the mobile terminal according to the data transmission time and the transmission amount, and save the data transmission speed;
所述终端信息管理模块, 用于获取移动终端的型号或者用户标识, 将 该型号的移动终端或者所述用户的所述数据传输速度记录为历史数据传输 速度;  The terminal information management module is configured to acquire a model or a user identifier of the mobile terminal, and record the data transmission speed of the mobile terminal of the model or the user as a historical data transmission speed;
所述网页过滤模块, 用于接收网站欲响应至移动终端的网页内容时, 根据该移动终端的历史数据传输速度调整所述网页内容, 并把调整后的网 页内容发送给移动终端。  The webpage filtering module is configured to: when receiving a webpage content that the website wants to respond to the mobile terminal, adjust the webpage content according to the historical data transmission speed of the mobile terminal, and send the adjusted webpage content to the mobile terminal.
8、 如权利要求 7所述的网关, 其中, 所述网页过滤模块还用于: 当所述网络请求所指向的网站为 WWW网站时,查找与所述 WWW网 站对应的 WAP网站, 在所述本次数据传输速度小于预定值时, 将所述网络 请求指向所述 WAP网站。  The gateway according to claim 7, wherein the webpage filtering module is further configured to: when the website pointed to by the network request is a WWW website, search for a WAP website corresponding to the WWW website, When the data transmission speed is less than a predetermined value, the network request is directed to the WAP website.
9、 如权利要求 7或 8所述的网关, 其中, 所述网页过滤模块还包括: 预算模块, 用于根据所述移动终端的型号或者用户标识查询所述数据 传输速度, 并预算所述移动终端的本次数据传输速度; 响应模块, 用于将网络请求发送至网站, 并接收网站响应的网页内容; 调整模块, 用于根据预算的所述本次数据传输速度调整所述网站响应 的网页内容, 将所述调整后的网页内容发送给所述移动终端。 The gateway according to claim 7 or 8, wherein the webpage filtering module further comprises: a budget module, configured to query the data transmission speed according to a model or a user identifier of the mobile terminal, and budget the mobile The current data transmission speed of the terminal; a response module, configured to send a network request to a website, and receive webpage content that is responded by the website; and an adjustment module, configured to adjust a webpage content that is responded to by the website according to the current data transmission speed of the budget, and the adjusted The webpage content is sent to the mobile terminal.
10、 如权利要求 9所述的网关, 其中, 所述调整模块用于:  10. The gateway according to claim 9, wherein the adjustment module is configured to:
配置网页过滤策略, 所述网页过滤策略包括: 将网络速度划分出等级, 根据网站中多媒体内容的大小设定每一等级需要过滤的多媒体内容;  Configuring a webpage filtering policy, the webpage filtering policy includes: dividing a network speed into a level, and setting, according to the size of the multimedia content in the website, the multimedia content that needs to be filtered at each level;
判定所述本次数据传输速度所属的等级, 根据每一等级需要过滤的多 媒体内容过滤本次数据传输中的所述网页内容中的多媒体内容;  Determining the level to which the current data transmission speed belongs, and filtering the multimedia content in the webpage content in the current data transmission according to the multimedia content that needs to be filtered according to each level;
其中: 所述多媒体内容包括视频、 音频、 图片或者动画。  Wherein: the multimedia content includes video, audio, picture or animation.
PCT/CN2011/082601 2011-09-16 2011-11-22 Method and gateway for adjusting webpage contents WO2012151936A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110276254.2 2011-09-16
CN201110276254.2A CN102316536B (en) 2011-09-16 2011-09-16 A kind of method and gateway for adjusting web page contents

Publications (1)

Publication Number Publication Date
WO2012151936A1 true WO2012151936A1 (en) 2012-11-15

Family

ID=45429270

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/082601 WO2012151936A1 (en) 2011-09-16 2011-11-22 Method and gateway for adjusting webpage contents

Country Status (2)

Country Link
CN (1) CN102316536B (en)
WO (1) WO2012151936A1 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297387A (en) * 2012-02-24 2013-09-11 宇龙计算机通信科技(深圳)有限公司 Display control method and terminal for network resources
US10666533B2 (en) 2012-07-20 2020-05-26 Oracle International Corporation Tag latency monitoring and control system for enhanced web page performance
US8706871B2 (en) * 2012-07-20 2014-04-22 Blue Kai, Inc. Tag latency monitoring and control system for enhanced web page performance
CN103577458A (en) * 2012-08-01 2014-02-12 上海亿动信息技术有限公司 Control method and corresponding control device for displaying webpage according to terminal type
CN103795848B (en) * 2012-11-02 2016-03-30 中兴通讯股份有限公司 A kind of method and apparatus by mobile terminal browsing page
CN104168301B (en) * 2013-05-17 2018-01-26 北京音之邦文化科技有限公司 The method and apparatus that content of multimedia is provided
CN103347056B (en) * 2013-06-19 2016-12-28 百度在线网络技术(北京)有限公司 The Web access method of mobile terminal, system and server
CN104601522B (en) * 2013-10-30 2018-01-30 中国移动通信集团北京有限公司 Implementation method that mobile client interacts with operation system, apparatus and system
CN104601921A (en) * 2015-01-15 2015-05-06 上海小蚁科技有限公司 System configuration method and device
CN105872798A (en) * 2015-12-07 2016-08-17 乐视网信息技术(北京)股份有限公司 Implementation method and system for quickly playing video
CN106874434A (en) * 2017-01-24 2017-06-20 青岛海信电器股份有限公司 A kind of web data treatment, webpage loading method and relevant apparatus
CN107807762A (en) * 2017-11-14 2018-03-16 优酷网络技术(北京)有限公司 Method for showing interface and device
CN107943550A (en) * 2017-11-14 2018-04-20 优酷网络技术(北京)有限公司 Method for showing interface and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101178717A (en) * 2007-12-05 2008-05-14 优视动景(北京)技术服务有限公司 Method for adaptation processing web page and web page adaptation device
US20090063530A1 (en) * 2007-09-04 2009-03-05 Lg Telecom Ltd. System and method for mobile web service
CN101977233A (en) * 2010-11-01 2011-02-16 优视科技有限公司 Method and system for leading mobile terminal to browse webpage in reading mode

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2888066A1 (en) * 2005-06-30 2007-01-05 France Telecom METHOD FOR CONTROLLING THE ADMISSION OF DATA PACKETS
CN100504870C (en) * 2006-09-05 2009-06-24 腾讯科技(深圳)有限公司 Web page content revealing method and customer terminal device
CN101527939B (en) * 2008-03-04 2011-06-22 中兴通讯股份有限公司 Method and device for UE bandwidth demand forecasting used for HSUPA system
CN101702743A (en) * 2009-11-04 2010-05-05 中兴通讯股份有限公司 Self-adaption adjustment method of mobile terminal browser and device thereof
CN101867593B (en) * 2010-02-03 2013-06-12 宇龙计算机通信科技(深圳)有限公司 Network access control method, network access control system and network access terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090063530A1 (en) * 2007-09-04 2009-03-05 Lg Telecom Ltd. System and method for mobile web service
CN101178717A (en) * 2007-12-05 2008-05-14 优视动景(北京)技术服务有限公司 Method for adaptation processing web page and web page adaptation device
CN101977233A (en) * 2010-11-01 2011-02-16 优视科技有限公司 Method and system for leading mobile terminal to browse webpage in reading mode

Also Published As

Publication number Publication date
CN102316536A (en) 2012-01-11
CN102316536B (en) 2018-01-12

Similar Documents

Publication Publication Date Title
WO2012151936A1 (en) Method and gateway for adjusting webpage contents
US11095743B2 (en) Optimized content-delivery network (CDN) for the wireless last mile
US10805875B2 (en) Method and apparatus for automatically selecting network according to tariff, server, and terminal
US20230344903A1 (en) Data synchronization across multiple devices
CN106487928B (en) Message pushing method and device
CN104754003B (en) Transmit the method and system of data
US20210329089A1 (en) Transparent Pre-Loading of User Applications
CN104935744A (en) Verification code display method, verification code display device and mobile terminal
WO2010145296A1 (en) Browser adjusting method and mobile terminal
CN104253899B (en) The control method and device of communicating terminal
WO2015085706A1 (en) Method,terminal,and system for pushing information
CN104573109A (en) System, terminal and method for automatic recommendation based on group relation
WO2020094036A1 (en) Wireless network connection method for terminal
US20120278448A1 (en) Method and System for Accessing Microblog, and Method and System for Sending Pictures on Microblog Website
US20200380984A1 (en) Synchronization of remote context data
US20190273790A1 (en) Method, apparatus and system for notification
AU2011319565B2 (en) Content caching with remote charging services in a radio access network
CN104144312A (en) Video processing method and related device
US9143469B2 (en) Microblog client, method for aggregating microblog messages, and instant messaging client
CN102083244A (en) Mobile value added service system based on embedded type virtual machine mode
WO2020133433A1 (en) Network switching method and related apparatus
WO2019134440A1 (en) Method and device for downloading resources
TW201233211A (en) Caching at the wireless tower with remote charging services
CN105306244A (en) Router management method, router management system and router management device
WO2012034328A1 (en) Method and equipment for adjusting download speed of mobile terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11865170

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11865170

Country of ref document: EP

Kind code of ref document: A1