WO2012113176A1 - 终端网页显示方法及系统 - Google Patents

终端网页显示方法及系统 Download PDF

Info

Publication number
WO2012113176A1
WO2012113176A1 PCT/CN2011/073067 CN2011073067W WO2012113176A1 WO 2012113176 A1 WO2012113176 A1 WO 2012113176A1 CN 2011073067 W CN2011073067 W CN 2011073067W WO 2012113176 A1 WO2012113176 A1 WO 2012113176A1
Authority
WO
WIPO (PCT)
Prior art keywords
webpage
terminal
content
request information
target server
Prior art date
Application number
PCT/CN2011/073067
Other languages
English (en)
French (fr)
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 WO2012113176A1 publication Critical patent/WO2012113176A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Definitions

  • the present invention relates to the field of mobile communication technologies, and in particular, to a terminal webpage display method and system. Background technique
  • the communication mode between the browser and the Internet station on the mobile terminal follows the traditional Internet mode: the mobile terminal sends an HTTP page request message to the website server, and after receiving the page request message from the mobile terminal, the website server requests the message according to the HTTP page. Transfer wap or web page content to the mobile terminal.
  • an adaptive screen technology for re-laying the page appears.
  • pages larger than the screen size can be re-formatted according to the size of the display screen, and finally a beautiful and neat web page is displayed on the small screen device.
  • the website server After receiving the HTTP page request message of the mobile terminal, the website server sends all the content of the page, including a large amount of picture information, to the mobile terminal.
  • the screen After the content of the webpage is downloaded to the mobile terminal, the screen is adapted to the screen according to the screen size. Adapting to the screen processing, including compression processing of large-size images, the content information in the final web page will be displayed neatly and neatly.
  • downloading pictures requires a large amount of network traffic, it takes a certain amount of time to compress the pictures.
  • users are not interested in pictures when they perform certain web browsing. As a result, not only the network traffic is wasted, but also the display speed of the webpage is slowed down, which affects the user experience. Another In addition, it is not applicable to the case where the user only wants to obtain picture information and is not interested in text information. Summary of the invention
  • the main purpose of the present invention is to provide a method and system for displaying a webpage of a terminal, which aims to save internet traffic of the mobile terminal and improve user experience.
  • a terminal webpage display method includes the following steps: the terminal sends the webpage request information to the relay server; the transit server receives the webpage request information, and obtains the corresponding webpage content from the target server according to the target server webpage in the webpage request information; The server sends the webpage content classification to the terminal for display according to the webpage viewing mode in the webpage request information.
  • the step of the intermediate server obtaining the corresponding webpage content from the target server according to the target server web address in the webpage request information includes: the transit server parsing the target server webpage and the webpage viewing mode from the webpage request information; The server web address sends an access request to the target server; and receives the webpage content sent by the target server according to the access request and saves the webpage content.
  • the step of the relay server transmitting the webpage content classification to the terminal for display according to the webpage viewing mode in the webpage request information includes: the relay server classifying the webpage content;
  • the corresponding picture is selected from the saved webpage content and sent to the terminal for display;
  • the method further includes: receiving, by the terminal, the webpage viewing mode selection and the target server webpage information input by the user; and synthesizing the webpage viewing mode selection and the target server webpage information into the webpage requesting information.
  • the method further includes: when the user needs to view the picture in the process of viewing the text, the terminal receives an external instruction that the user clicks the corresponding picture name; the terminal sends a picture access request to the relay server according to the external instruction; The name of the picture carried in the picture access request, and the corresponding picture is sent to the terminal for display.
  • a terminal webpage display system includes:
  • the terminal is configured to send the webpage request information to the transit server;
  • the transit server is configured to receive the webpage request information, obtain the corresponding webpage content from the target server according to the target server webpage in the webpage request information, and send the webpage content classification to the terminal for display according to the webpage viewing mode in the webpage request information.
  • the terminal includes: a sending module, configured to send webpage request information to the transit server; and a display module configured to display webpage content sent by the transit server;
  • the forwarding server includes: a request information receiving module, configured to receive the webpage request information; a webpage content obtaining module, configured to obtain a corresponding webpage content from the target server according to the webpage request information; and the webpage content classification sending module is set to And distributing the webpage content to the terminal for display according to the webpage request information.
  • the webpage content acquisition module includes:
  • the information parsing unit is configured to parse the target server web address and the web page viewing mode from the webpage request information
  • a request sending unit configured to send an access request to the target server according to the target server web address
  • the receiving and holding unit is configured to receive and save the webpage content sent by the target server according to the access request.
  • the webpage content classification sending module includes:
  • a web content classification unit configured to classify the webpage content
  • a webpage content sending unit configured to: when the webpage viewing mode is viewing text, replace all the image information in the webpage content with a photo name, save the original image information, and send the text in the webpage content to The terminal performs display; or when the webpage viewing mode is viewing a picture, selecting a corresponding picture from the saved webpage content to send to the terminal for display; or when the webpage viewing mode is to view all webpage content, all saved The webpage content is sent to the terminal for display.
  • the terminal further includes:
  • a receiving module configured to receive a webpage view mode selection and a target server address information input by the user
  • a synthesizing module configured to combine the web page view mode selection with the target server web address information to form the web page request information.
  • the receiving module is further configured to receive an external command that the user clicks on the corresponding picture name when the user needs to view the picture during the process of viewing the text;
  • the sending module is further configured to send a picture access request to the relay server according to the external instruction
  • the webpage content classification sending module is further configured to send a corresponding image to the terminal for display according to the image name carried by the image access request.
  • the terminal is a mobile terminal.
  • the terminal sends a webpage request message including a target server webpage and a webpage content viewing mode to the transit server, indicating whether the webpage content is to be queried, or only the text or the image is to be queried. Therefore, when the user accesses the Internet, the user can select to view the content of the target URL according to the need. If the user is only interested in the content of the webpage, the user only needs to download the text content from the target server, in the original webpage content. The picture is replaced with the picture name. If the user needs to view the picture content during the browsing process, he only needs to send the picture name to view the corresponding picture information.
  • the invention not only saves the network traffic for downloading unnecessary picture information, but also improves the network speed of using the terminal to access the Internet, and simultaneously combines the picture and the text information in combination with the user demand, thereby greatly improving the user experience, and has a high degree. Marketing value and practical value.
  • FIG. 1 is a schematic flow chart of an embodiment of a method for displaying a webpage of a terminal according to the present invention
  • FIG. 2 is a schematic flowchart of obtaining a corresponding webpage content from a target server according to a target server webpage in the webpage request information according to an embodiment of the method for displaying a webpage of the terminal of the present invention
  • FIG. 3 is a schematic flow chart of the process of displaying, by the relay server, the content of the webpage to the terminal according to the webpage viewing mode in the webpage request information according to an embodiment of the method for displaying the webpage of the terminal of the present invention
  • FIG. 4 is a schematic flow chart of another embodiment of a method for displaying a webpage of a terminal according to the present invention.
  • FIG. 5 is a schematic structural diagram of an embodiment of a terminal webpage display system of the present invention.
  • FIG. 6 is a schematic structural diagram of a terminal in a terminal webpage display system of the present invention.
  • FIG. 7 is a schematic structural diagram of a relay server in a terminal webpage display system of the present invention.
  • FIG. 8 is a schematic structural diagram of a webpage content acquisition module in a terminal webpage display system of the present invention
  • FIG. 9 is a schematic structural diagram of a webpage content classification and transmission module in the terminal webpage display system of the present invention.
  • the solution of the embodiment of the present invention is mainly: the terminal sends the webpage request information including the target server web address and the webpage content viewing mode to the transit server, and the transit server downloads the corresponding webpage content, such as text or image or all webpage content, according to the webpage content viewing mode.
  • Terminal display In order to save network traffic for downloading unnecessary picture information, optimize the display method of the terminal webpage, and improve the user experience.
  • terminal webpage display method including:
  • the terminal sends the webpage request information to the transit server
  • the user when the user needs to view the webpage content, the user can select the webpage content viewing mode through the webpage content viewing mode option on the mobile terminal, and input the corresponding target server webpage, and view the webpage content.
  • the modes include: Viewing text, images, or all web content in the content of the web page.
  • the mobile terminal synthesizes the webpage request information according to the input information of the user, and sends the webpage request information to the relay server to download the corresponding webpage content for the user.
  • the transit server receives the webpage request information, and obtains the corresponding webpage content from the target server according to the target server webpage in the webpage request information;
  • the transit server After receiving the webpage request information, the transit server parses the information according to the prescribed rules, and parses out the correct target server web address and webpage viewing mode; the parsing rule here is the reverse of the integration rule of the terminal synthesizing webpage request information.
  • the transit server sends an access request to the target server according to the parsed target server URL, and downloads the corresponding webpage content from the target server and saves it.
  • the image in the webpage content downloaded by the transit server can also be compressed and saved.
  • the transit server sends the webpage content classification to the terminal for display according to the webpage viewing mode in the webpage request information.
  • the webpage content is classified, and the text, the image, or all the webpage content in the corresponding webpage content is classified and sent to the terminal for display according to the parsed webpage viewing mode. Specifically, if the webpage viewing mode is viewing text, that is, the user only views the text, all the image information in the webpage content is replaced by the image name, the original image information is saved, and the text in the webpage content is sent to the terminal for display, and the sending is performed.
  • the text includes the name of the image that replaces the image information; if the webpage viewing mode is to view the image, that is, the user only views the image, all the images in the saved webpage content are sent to the terminal for display; if the webpage viewing mode is to view all webpage content, That is, when the user views all the webpage contents, all the saved webpage contents are sent to the terminal for display.
  • the step of obtaining corresponding webpage content from the target server according to the target server web address in the webpage request information in S102 includes:
  • the transit server parses the target server URL and the webpage viewing mode from the webpage request information
  • S103 includes:
  • the transit server classifies the content of the webpage
  • determining the webpage viewing mode is to view the text, the picture or all the webpage content, if it is to view the text, go to S1033; if it is to view the image, go to S1034; if it is to view all the webpage content, go to S1035;
  • the terminal when the user needs to view the picture during the process of viewing the text, the terminal receives an external command that the user clicks on the corresponding picture name;
  • the terminal sends a picture access request to the transit server according to an external instruction
  • the transit server sends the corresponding image to the terminal according to the name of the image carried by the image access request.
  • 51034 selecting a corresponding picture from the saved webpage content and sending it to the terminal for display;
  • another embodiment of the present invention provides a method for displaying a webpage of a terminal.
  • the method further includes:
  • the terminal receives the webpage view mode selection and the target server webpage information input by the user;
  • the user starts the terminal browser at the terminal, sets the user webpage viewing mode (ie, the webpage content to be viewed), and inputs the target server webpage.
  • the user webpage viewing mode ie, the webpage content to be viewed
  • the terminal integrates the webpage viewing mode and the target server webpage information selected by the user according to a predetermined rule, and synthesizes a webpage request information, so as to be sent to the transit server to obtain the corresponding webpage content.
  • the embodiment has the following advantages: When the user accesses the Internet, the user can select the content of the target website according to the need, and if the user is only interested in the content of the webpage, the user only needs to download from the target server.
  • the text content, the image in the original webpage content is replaced by the image name. If the user needs to view the image content during the browsing process, only the image name needs to be sent to view the corresponding image information. If the user initially sets to view only the image content, then only the image information needs to be downloaded from the target server.
  • an embodiment of the present invention provides a terminal webpage display system, including: a terminal 501 and a relay server 502, wherein:
  • the terminal 501 is configured to send webpage request information to the relay server 502;
  • the relay server 502 is configured to receive the webpage request information, obtain the corresponding webpage content from the target server according to the target server webpage in the webpage request information, and send the webpage content classification to the terminal 501 according to the webpage viewing mode in the webpage request information for display.
  • the terminal 501 includes: a receiving module 5011, a synthesizing module 5012, a sending module 5013, and a display module 5014;
  • the receiving module 5011 is configured to receive a webpage view mode selection and a target server web address input by the user;
  • the synthesizing module 5012 is configured to combine the webpage view mode selection with the target server webpage information to form webpage request information;
  • the sending module 5013 is configured to send the webpage request information to the relay server 502;
  • the display module 5014 is configured to display the webpage content sent by the relay server 502.
  • the relay server 502 includes: a request information receiving module 5021, a webpage content obtaining module 5022, and a webpage content classification sending module 5023, wherein:
  • the request information receiving module 5021 is configured to receive the webpage request information sent by the terminal 501;
  • the webpage content obtaining module 5022 is configured to obtain the corresponding webpage content from the target server according to the webpage request information;
  • the webpage content classification sending module 5023 is configured to send the webpage content classification to the terminal 501 according to the webpage request information for display.
  • the user when the user needs to view the webpage content, the user can select the webpage content viewing mode through the webpage content viewing mode option on the mobile terminal, and input the corresponding target server.
  • the URL the above web content viewing mode includes: viewing text, images or all webpage content in the webpage content.
  • the synthesizing module 5012 synthesizes the webpage request information according to the input information of the user, and sends the webpage request information to the relay server 502, so as to download the corresponding Web content.
  • the webpage content obtaining module 5022 parses the information according to a prescribed rule, and parses out the correct target server web address and webpage viewing mode; The reverse of the integration rule of the terminal synthesis webpage request information.
  • the webpage content obtaining module 5022 sends an access request to the target server according to the parsed target server web address, and downloads the corresponding webpage content from the target server and saves it.
  • the webpage content classification sending module 5023 classifies the webpage content, and classifies the text, the image, or all the webpage content in the corresponding webpage content according to the parsed webpage viewing mode.
  • the module 5014 is sent to the terminal 501 for display, and the user's online viewing function is completed.
  • the webpage viewing mode is viewing text, that is, the user only views the text
  • all the image information in the webpage content is replaced by the image name
  • the original image information is saved
  • the text in the webpage content is sent to the terminal 501 for display, and the sending is performed.
  • the text includes a picture name for replacing the picture information; if the picture viewing mode is to view the picture, that is, the user only views the picture, all the pictures in the saved webpage content are sent to the terminal 501 for display; if the webpage viewing mode is to view all the webpages
  • the content that is, the user viewing all the webpage content, sends the saved webpage content to the terminal 501 for display.
  • the webpage content obtaining module 5022 includes: an information parsing unit 50221, a request transmitting unit 50222, and a receiving and holding unit 50223, wherein:
  • the information parsing unit 50221 is configured to parse the target server web address and the web page viewing mode from the webpage request information
  • the request sending unit 50222 is configured to send an access request to the target server according to the target server web address
  • the receiving and holding unit 50223 is configured to receive and save the webpage content sent by the target server according to the access request.
  • the webpage content classification sending module 5023 includes: a webpage content classification unit 50231 and a webpage content sending unit 50232, wherein:
  • a web content classification unit 5023 configured to classify webpage content
  • the webpage content sending unit 50232 is configured to: when the webpage viewing mode is the viewing text, replace all the image information in the webpage content with the image name, save the original image information, and send the text in the webpage content to the terminal 501 for display; Or when the webpage viewing mode is to view the image, the corresponding webpage is selected from the saved webpage content and sent to the terminal 501 for display; or when the webpage viewing mode is to view all the webpage content, all the saved webpage content is sent to the terminal 501. display.
  • the receiving module 5011 is further configured to receive an external command for the user to click the corresponding picture name when the user needs to view the picture during the process of viewing the text;
  • the sending module 5013 is further configured to send a picture access request to the relay server 502 according to an external command;
  • the webpage content classification sending module 5023 is further configured to send the corresponding image to the terminal 501 for display according to the image name carried by the image access request.
  • the terminal sends the webpage request information including the target server webpage and the webpage content viewing mode to the transit server, indicating whether the webpage content is to be queried, or only the text or the image is queried.
  • the user accesses the Internet, the user can select the content of the target URL according to the need. If the user is only interested in the content of the webpage, the user only needs to download the text content from the target server, and the image in the original webpage is replaced by the image name. If the user needs to view the image content during the browsing process, the user only needs to send the image name to view the corresponding image information. If the user initially sets to view only the image content, then only the image information needs to be downloaded from the target server.
  • the invention not only can save the network traffic for downloading unnecessary picture information, but also can improve the network speed of using the terminal to access the Internet, and simultaneously combines the picture and the text information according to the user demand, thereby greatly improving the user.
  • Experience with high market value and practical value.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Description

终端网页显示方法及系统 技术领域
本发明涉及移动通信技术领域, 尤其涉及一种终端网页显示方法及系 统。 背景技术
随着移动终端技术和移动互联网技术的迅速发展, 以移动通信设备为 主的移动终端逐渐成为人们移动上网的主要设备。 因此, 移动终端中浏览 器功能的开发和优化显示便显得尤为重要。
目前移动终端上的浏览器和互联网站之间的通信方式遵循传统互联网 的方式: 移动终端向网站服务器发送 HTTP 页面请求消息, 网站服务器接 收到来自移动终端的页面请求消息后, 根据 HTTP页面请求消息将 wap或 者 web页面内容传送到移动终端。
而针对移动终端体积较小、 显示屏幕也较小的特点, 出现了对页面进 行重新排版的适应屏幕技术。 通过该技术, 可以将大于屏幕尺寸的页面根 据显示屏幕尺寸进行重新排版, 最终在小屏幕设备上显示一个美观整齐的 网页。
由于网站服务器在收到移动终端的 HTTP 页面请求消息后, 会将页面 所有内容包括大量的图片信息全部发送到移动终端, 这些网页内容下载到 移动终端后, 根据屏幕尺寸, 通过适应屏幕技术对屏幕进行适应屏幕处理, 包括对大尺寸图片的压缩处理, 最终网页中的内容信息会美观整齐地显示 出来。 但是, 由于下载图片需要消费大量的网络流量, 且进行图片压缩需 要一定的时间。 同时, 用户在进行某些网页浏览时并非对图片感兴趣。 由 此, 不仅浪费网络流量, 还减緩了网页的显示速度, 影响用户体验度。 另 外, 对于用户只想获取图片信息而对文字信息不感兴趣的情况也不适用。 发明内容
有鉴于此, 本发明的主要目的在于提供一种终端网页显示方法及系统, 旨在节省移动终端的上网流量, 提升用户体验度。
为了解决上述技术问题, 本发明的技术方案是这样实现的:
一种终端网页显示方法, 包括以下步骤: 终端发送网页请求信息至中 转服务器; 中转服务器接收所述网页请求信息, 根据所述网页请求信息中 的目标服务器网址从目标服务器获取相应的网页内容; 中转服务器根据所 述网页请求信息中的网页查看模式将所述网页内容分类发送至终端进行显 示。
所述中转服务器根据所述网页请求信息中的目标服务器网址从目标服 务器获取相应的网页内容的步骤包括: 中转服务器从所述网页请求信息中 解析出目标服务器网址以及网页查看模式; 根据所述目标服务器网址向目 标服务器发送访问请求; 接收所述目标服务器根据所述访问请求发送的网 页内容并保存。
所述中转服务器根据所述网页请求信息中的网页查看模式将所述网页 内容分类发送至终端进行显示的步骤包括: 中转服务器对所述网页内容进 行分类;
当所述网页查看模式为查看文字时, 将所述网页内容中的所有图片信 息使用图片名称替换, 将原图信息保存, 并将所述网页内容中的文字发送 至终端进行显示; 或者,
当所述网页查看模式为查看图片时, 从保存的网页内容中选取相应的 图片发送至终端进行显示; 或者,
当所述网页查看模式为查看全部网页内容时, 将保存的全部网页内容 发送至终端进行显示。 所述终端发送网页请求信息至中转服务器的步骤之前还包括: 终端接 收用户输入的网页查看模式选择与目标服务器网址信息; 将所述网页查看 模式选择与目标服务器网址信息合成所述网页请求信息。
所述方法还包括: 当用户在查看文字的过程中需要查看图片时, 终端 接收用户点击相应的图片名称的外部指令; 终端根据所述外部指令向中转 服务器发送图片访问请求; 中转服务器根据所述图片访问请求携带的图片 名称, 发送对应的图片至终端进行显示。
一种终端网页显示系统, 包括:
终端, 设置为发送网页请求信息至中转服务器;
中转服务器, 设置为接收网页请求信息, 根据网页请求信息中的目标 服务器网址从目标服务器获取相应的网页内容; 并根据网页请求信息中的 网页查看模式将网页内容分类发送至终端进行显示。
所述终端包括: 发送模块, 设置为发送网页请求信息至所述中转服务 器; 显示模块, 设置为将中转服务器发送的网页内容进行显示;
所述中转服务器包括: 请求信息接收模块, 设置为接收所述网页请求 信息; 网页内容获取模块, 设置为根据所述网页请求信息从目标服务器获 取相应的网页内容; 网页内容分类发送模块, 设置为根据所述网页请求信 息将所述网页内容分类发送至终端进行显示。
所述网页内容获取模块包括:
信息解析单元, 设置为从所述网页请求信息中解析出目标服务器网址 以及网页查看模式;
请求发送单元, 设置为根据所述目标服务器网址向目标服务器发送访 问请求;
接收保存单元, 设置为接收所述目标服务器根据所述访问请求发送的 网页内容并保存。 所述网页内容分类发送模块包括:
网页内容分类单元, 设置为对所述网页内容进行分类;
网页内容发送单元, 设置为当所述网页查看模式为查看文字时, 将所 述网页内容中的所有图片信息使用图片名称替换, 将原图信息保存, 并将 所述网页内容中的文字发送至终端进行显示; 或者当所述网页查看模式为 查看图片时, 从保存的网页内容中选取相应的图片发送至终端进行显示; 或者当所述网页查看模式为查看全部网页内容时, 将保存的全部网页内容 发送至终端进行显示。
所述终端还包括:
接收模块, 设置为接收用户输入的网页查看模式选择与目标服务器网 址信息;
合成模块, 设置为将所述网页查看模式选择与目标服务器网址信息合 成所述网页请求信息。
所述接收模块, 还设置为当用户在查看文字的过程中需要查看图片时, 接收用户点击相应的图片名称的外部指令;
所述发送模块, 还设置为根据所述外部指令向中转服务器发送图片访 问请求;
所述网页内容分类发送模块, 还设置为根据所述图片访问请求携带的 图片名称, 发送对应的图片至终端进行显示。
所述终端为移动终端。
本发明提出的一种终端网页显示方法及系统, 终端向中转服务器发送 包含有目标服务器网址及网页内容查看模式的网页请求信息, 说明想要查 询的是全部网页内容、 还是只查询文字或者图片, 因此, 用户在使用终端 上网时, 可以根据需要, 选择查看目标网址的内容, 如果用户只是对网页 文字内容感兴趣, 则只需要从目标服务器端下载文字内容, 原网页内容中 的图片用图片名称替换, 用户如果在浏览过程中, 又需要查看图片内容, 只需要发送图片名称就可以查看对应的图片信息。 如果用户一开始设置只 查看图片内容, 则只需要从目标服务器下载图片信息。 本发明不仅可以节 省下载不必要的图片信息的网络流量, 还可以提高使用终端上网的网络速 度, 同时结合用户需求, 将图片和文字信息分开显示的方法, 大大提升了 用户体验度, 具有极高的市场推广价值和实用价值。 附图说明
图 1是本发明终端网页显示方法一实施例流程示意图;
图 2是本发明终端网页显示方法一实施例中根据网页请求信息中的目 标服务器网址从目标服务器获取相应的网页内容的流程示意图;
图 3是本发明终端网页显示方法一实施例中中转服务器根据网页请求 信息中的网页查看模式将网页内容分类发送至终端进行显示的流程示意 图;
图 4是本发明终端网页显示方法另一实施例流程示意图;
图 5是本发明终端网页显示系统一实施例结构示意图;
图 6是本发明终端网页显示系统中终端结构示意图;
图 7是本发明终端网页显示系统中中转服务器结构示意图;
图 8是本发明终端网页显示系统中网页内容获取模块的结构示意图; 图 9是本发明终端网页显示系统中网页内容分类发送模块的结构示意 图。 具体实施方式
本发明实施例解决方案主要是: 终端向中转服务器发送包含有目标服 务器网址及网页内容查看模式的网页请求信息, 中转服务器根据网页内容 查看模式下载相应的网页内容比如文字或图片或全部网页内容至终端显 示, 以节省下载不必要的图片信息的网络流量, 优化终端网页显示方法, 提升用户的体验度。
为了使本发明的技术方案更加清楚、 明了, 下面将结合附图作进一步 如图 1所示, 本发明一实施例提出一种终端网页显示方法, 包括:
5101 , 终端发送网页请求信息至中转服务器;
以移动终端为例, 在移动终端侧, 当用户需要查看网页内容时, 用户 可以通过移动终端上的网页内容查看模式选项选择网页内容查看模式, 并 可输入相应的目标服务器网址, 上述网页内容查看模式包括: 查看网页内 容中的文字、 图片或全部网页内容。
移动终端根据用户的输入信息合成网页请求信息, 发送至中转服务器, 以便为用户下载相应的网页内容。
5102, 中转服务器接收网页请求信息, 根据网页请求信息中的目标服 务器网址从目标服务器获取相应的网页内容;
中转服务器在收到网页请求信息后, 将该信息按照规定的规则进行解 析, 解析出正确的目标服务器网址和网页查看模式; 此处的解析规则为终 端合成网页请求信息的整合规则的逆向。
中转服务器根据解析出的目标服务器网址, 向目标服务器发送访问请 求, 从目标服务器下载相应的网页内容并保存。
其中, 中转服务器下载的网页内容中的图片还可以压缩后保存。
5103 , 中转服务器根据网页请求信息中的网页查看模式将网页内容分 类发送至终端进行显示。
当中转服务器从目标服务器获取到相应的网页内容后, 对网页内容进 行分类, 根据解析出来的网页查看模式将对应的网页内容中的文字、 图片 或全部网页内容分类发送至终端进行显示。 具体地, 若网页查看模式为查看文字, 即用户只查看文字, 则将网页 内容中的所有图片信息使用图片名称替换, 将原图信息保存, 发送网页内 容中的文字至终端进行显示, 发送的文字中包括有替换图片信息的图片名 称; 若网页查看模式为查看图片, 即用户只查看图片, 则将保存网页内容 中的全部图片发送给终端进行显示; 若网页查看模式为查看全部网页内容, 即用户查看全部网页内容, 则将保存的网页内容全部发送到终端进行显示。
如图 2所示, S102中根据网页请求信息中的目标服务器网址从目标服 务器获取相应的网页内容的步骤包括:
51021 , 中转服务器从网页请求信息中解析出目标服务器网址以及网页 查看模式;
51022, 根据目标服务器网址向目标服务器发送访问请求;
51023 , 接收目标服务器根据访问请求发送的网页内容并保存。
如图 3所示, S103包括:
51031 , 中转服务器对网页内容进行分类;
51032, 判断网页查看模式为查看文字、 图片或全部网页内容, 若为查 看文字, 则进入 S1033; 若为查看图片, 则进入 S1034; 若为查看全部网页 内容, 则进入 S1035;
51033 , 将网页内容中的所有图片信息使用图片名称替换, 将原图信息 保存, 并将网页内容中的文字发送至终端进行显示, 然后进入 S10331 ~ S10333;
510331 , 当用户在查看文字的过程中需要查看图片时, 终端接收用户 点击相应的图片名称的外部指令;
510332, 终端根据外部指令向中转服务器发送图片访问请求;
510333 , 中转服务器根据图片访问请求携带的图片名称, 发送对应的 图片至终端进行显示; 51034, 从保存的网页内容中选取相应的图片发送至终端进行显示;
51035 , 将保存的全部网页内容发送至终端进行显示。
如图 4所示, 本发明另一实施例提出一种终端网页显示方法, 在上述 实施例的基础上, 在 S101之前, 还包括:
51011 , 终端接收用户输入的网页查看模式选择与目标服务器网址信 息;
在本步骤中, 用户在终端启动终端浏览器,设置用户网页查看模式(即 要查看的网页内容) 以及输入目标服务器网址。
51012 , 将网页查看模式选择与目标服务器网址信息合成网页请求信 息。
在本步骤中, 终端将用户选择的网页查看模式和目标服务器网址信息 按照预定的规则进行整合, 整合成一条网页请求信息, 以便发送至中转服 务器获取相应的网页内容。
本实施例与现有技术相比, 具有以下优点: 用户在使用终端上网时, 可以根据需要, 选择查看目标网址的内容, 如果用户只是对网页文字内容 感兴趣, 则只需要从目标服务器端下载文字内容, 原网页内容中的图片用 图片名称替换, 用户如果在浏览过程中, 又需要查看图片内容, 只需要发 送图片名称就可以查看对应的图片信息。 如果用户一开始设置只查看图片 内容, 则只需要从目标服务器下载图片信息。 釆用本发明所述的方法, 不 仅可以节省下载不必要的图片信息的网络流量, 还可以提高使用终端上网 的网络速度, 同时结合用户需求, 将图片和文字信息分开显示的方法, 提 升了用户体验, 具有极高的市场推广价值和实用价值。
如图 5 所示, 本发明一实施例提出一种终端网页显示系统, 包括: 终 端 501以及中转服务器 502, 其中:
上述终端 501设置为发送网页请求信息至中转服务器 502; 上述中转服务器 502设置为接收网页请求信息, 根据网页请求信息中 的目标服务器网址从目标服务器获取相应的网页内容; 并根据网页请求信 息中的网页查看模式将网页内容分类发送至终端 501进行显示。
如图 6所示, 终端 501包括: 接收模块 5011、 合成模块 5012、 发送模 块 5013以及显示模块 5014; 其中:
接收模块 5011 , 设置为接收用户输入的网页查看模式选择与目标服务 器网址信息;
合成模块 5012, 设置为将网页查看模式选择与目标服务器网址信息合 成网页请求信息;
发送模块 5013 , 设置为发送网页请求信息至中转服务器 502;
显示模块 5014, 设置为将中转服务器 502发送的网页内容进行显示; 如图 7所示, 中转服务器 502包括: 请求信息接收模块 5021、 网页内 容获取模块 5022以及网页内容分类发送模块 5023 , 其中:
请求信息接收模块 5021 , 设置为接收终端 501发送的网页请求信息; 网页内容获取模块 5022, 设置为根据网页请求信息从目标服务器获取 相应的网页内容;
网页内容分类发送模块 5023 , 设置为根据网页请求信息将网页内容分 类发送至终端 501进行显示。
在本实施例中, 以移动终端为例, 在移动终端侧, 当用户需要查看网 页内容时, 用户可以通过移动终端上的网页内容查看模式选项选择网页内 容查看模式, 并可输入相应的目标服务器网址, 上述网页内容查看模式包 括: 查看网页内容中的文字、 图片或全部网页内容。
终端 501的接收模块 5011接收到用户输入的网页查看模式选择与目标 服务器网址信息后,合成模块 5012根据用户的输入信息合成网页请求信息, 由发送模块 5013发送至中转服务器 502,以便为用户下载相应的网页内容。 在中转服务器 502的请求信息接收模块 5021收到网页请求信息后, 网 页内容获取模块 5022将该信息按照规定的规则进行解析, 解析出正确的目 标服务器网址和网页查看模式; 此处的解析规则为终端合成网页请求信息 的整合规则的逆向。
网页内容获取模块 5022根据解析出的目标服务器网址, 向目标服务器 发送访问请求, 从目标服务器下载相应的网页内容并保存。
当中转服务器 502从目标服务器获取到相应的网页内容后, 通过网页 内容分类发送模块 5023对网页内容进行分类, 根据解析出来的网页查看模 式将对应的网页内容中的文字、 图片或全部网页内容分类发送至终端 501 显示模块 5014进行显示, 完成用户上网查看功能。
具体地, 若网页查看模式为查看文字, 即用户只查看文字, 则将网页 内容中的所有图片信息使用图片名称替换, 将原图信息保存, 发送网页内 容中的文字至终端 501 进行显示, 发送的文字中包括有替换图片信息的图 片名称; 若网页查看模式为查看图片, 即用户只查看图片, 则将保存网页 内容中的全部图片发送给终端 501 进行显示; 若网页查看模式为查看全部 网页内容, 即用户查看全部网页内容, 则将保存的网页内容全部发送到终 端 501进行显示。
如图 8所示, 网页内容获取模块 5022包括: 信息解析单元 50221、 请 求发送单元 50222以及接收保存单元 50223 , 其中:
信息解析单元 50221 ,设置为从网页请求信息中解析出目标服务器网址 以及网页查看模式;
请求发送单元 50222,设置为根据目标服务器网址向目标服务器发送访 问请求;
接收保存单元 50223 ,设置为接收目标服务器根据访问请求发送的网页 内容并保存。 如图 9 所示, 网页内容分类发送模块 5023 包括: 网页内容分类单元 50231以及网页内容发送单元 50232 , 其中:
网页内容分类单元 50231 , 设置为对网页内容进行分类;
网页内容发送单元 50232,设置为当网页查看模式为查看文字时, 将网 页内容中的所有图片信息使用图片名称替换, 将原图信息保存, 并将网页 内容中的文字发送至终端 501 进行显示; 或者当网页查看模式为查看图片 时, 从保存的网页内容中选取相应的图片发送至终端 501 进行显示; 或者 当网页查看模式为查看全部网页内容时, 将保存的全部网页内容发送至终 端 501进行显示。
进一步的, 接收模块 5011 , 还设置为当用户在查看文字的过程中需要 查看图片时, 接收用户点击相应的图片名称的外部指令;
发送模块 5013 , 还设置为根据外部指令向中转服务器 502发送图片访 问请求;
网页内容分类发送模块 5023 , 还设置为根据图片访问请求携带的图片 名称, 发送对应的图片至终端 501进行显示。
本发明实施例的终端网页显示方法及系统, 终端向中转服务器发送包 含有目标服务器网址及网页内容查看模式的网页请求信息, 说明想要查询 的是全部网页内容、 还是只查询文字或者图片, 因此, 用户在使用终端上 网时, 可以根据需要, 选择查看目标网址的内容, 如果用户只是对网页文 字内容感兴趣, 则只需要从目标服务器端下载文字内容, 原网页内容中的 图片用图片名称替换, 用户如果在浏览过程中, 又需要查看图片内容, 只 需要发送图片名称就可以查看对应的图片信息。 如果用户一开始设置只查 看图片内容, 则只需要从目标服务器下载图片信息。 本发明不仅可以节省 下载不必要的图片信息的网络流量, 还可以提高使用终端上网的网络速度, 同时结合用户需求, 将图片和文字信息分开显示的方法, 大大提升了用户 体验度, 具有极高的市场推广价值和实用价值。
以上所述仅为本发明的优选实施例, 并非因此限制本发明的专利范围, 凡是利用本发明说明书及附图内容所作的等效结构或流程变换, 或直接或 间接运用在其它相关的技术领域, 均同理包括在本发明的专利保护范围内。

Claims

权利要求书
1、 一种终端网页显示方法, 其中, 包括以下步骤:
终端发送网页请求信息至中转服务器;
中转服务器接收所述网页请求信息, 根据所述网页请求信息中的目标 服务器网址从目标服务器获取相应的网页内容;
中转服务器根据所述网页请求信息中的网页查看模式将所述网页内容 分类发送至终端进行显示。
2、 根据权利要求 1所述的方法, 其中, 所述中转服务器根据所述网页 请求信息中的目标服务器网址从目标服务器获取相应的网页内容的步骤包 括:
中转服务器从所述网页请求信息中解析出目标服务器网址以及网页查 看模式;
根据所述目标服务器网址向目标服务器发送访问请求;
接收所述目标服务器根据所述访问请求发送的网页内容并保存。
3、 根据权利要求 2所述的方法, 其中, 所述中转服务器根据所述网页 请求信息中的网页查看模式将所述网页内容分类发送至终端进行显示的步 骤包括:
中转服务器对所述网页内容进行分类;
当所述网页查看模式为查看文字时, 将所述网页内容中的所有图片信 息使用图片名称替换, 将原图信息保存, 并将所述网页内容中的文字发送 至终端进行显示; 或者,
当所述网页查看模式为查看图片时, 从保存的网页内容中选取相应的 图片发送至终端进行显示; 或者,
当所述网页查看模式为查看全部网页内容时, 将保存的全部网页内容 发送至终端进行显示。
4、 根据权利要求 3所述的方法, 其中, 所述终端发送网页请求信息至 中转服务器的步骤之前还包括:
终端接收用户输入的网页查看模式选择与目标服务器网址信息; 将所述网页查看模式选择与目标服务器网址信息合成所述网页请求信 息。
5、 根据权利要求 4所述的方法, 其中, 还包括:
当用户在查看文字的过程中需要查看图片时, 终端接收用户点击相应 的图片名称的外部指令;
终端根据所述外部指令向中转服务器发送图片访问请求;
中转服务器根据所述图片访问请求携带的图片名称, 发送对应的图片 至终端进行显示。
6、 一种终端网页显示系统, 其中, 包括: 终端以及中转服务器, 其中: 终端, 设置为发送网页请求信息至中转服务器;
中转服务器, 设置为接收网页请求信息, 根据网页请求信息中的目标 服务器网址从目标服务器获取相应的网页内容; 并根据网页请求信息中的 网页查看模式将网页内容分类发送至终端进行显示。
7、 根据权利要求 6所述的系统, 其中,
所述终端包括:
发送模块 , 设置为发送网页请求信息至所述中转服务器;
显示模块, 设置为将中转服务器发送的网页内容进行显示;
所述中转服务器包括:
请求信息接收模块, 设置为接收所述网页请求信息;
网页内容获取模块, 设置为根据所述网页请求信息从目标服务器获取 相应的网页内容;
网页内容分类发送模块, 设置为根据所述网页请求信息将所述网页内 容分类发送至终端进行显示。
8、 根据权利要求 7所述的系统, 其中, 所述网页内容获取模块包括: 信息解析单元, 设置为从所述网页请求信息中解析出目标服务器网址 以及网页查看模式;
请求发送单元, 设置为根据所述目标服务器网址向目标服务器发送访 问请求;
接收保存单元, 设置为接收所述目标服务器根据所述访问请求发送的 网页内容并保存。
9、 根据权利要求 7所述的系统, 其中, 所述网页内容分类发送模块包 括:
网页内容分类单元, 设置为对所述网页内容进行分类;
网页内容发送单元, 设置为当所述网页查看模式为查看文字时, 将所 述网页内容中的所有图片信息使用图片名称替换, 将原图信息保存, 并将 所述网页内容中的文字发送至终端进行显示; 或者当所述网页查看模式为 查看图片时, 从保存的网页内容中选取相应的图片发送至终端进行显示; 或者当所述网页查看模式为查看全部网页内容时, 将保存的全部网页内容 发送至终端进行显示。
10、 根据权利要求 7所述的系统, 其中, 所述终端还包括:
接收模块, 设置为接收用户输入的网页查看模式选择与目标服务器网 址信息;
合成模块, 设置为将所述网页查看模式选择与目标服务器网址信息合 成所述网页请求信息。
11、 根据权利要求 10所述的系统, 其中,
所述接收模块, 还设置为当用户在查看文字的过程中需要查看图片时, 接收用户点击相应的图片名称的外部指令; 所述发送模块, 还设置为根据所述外部指令向中转服务器发送图片访 问请求;
所述网页内容分类发送模块, 还设置为根据所述图片访问请求携带的 图片名称, 发送对应的图片至终端进行显示。
12、 根据权利要求 6至 11任一所述的系统, 其中, 所述终端为移动终
PCT/CN2011/073067 2011-02-24 2011-04-20 终端网页显示方法及系统 WO2012113176A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2011100448885A CN102650990A (zh) 2011-02-24 2011-02-24 终端网页显示方法及系统
CN201110044888.5 2011-02-24

Publications (1)

Publication Number Publication Date
WO2012113176A1 true WO2012113176A1 (zh) 2012-08-30

Family

ID=46692998

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/073067 WO2012113176A1 (zh) 2011-02-24 2011-04-20 终端网页显示方法及系统

Country Status (2)

Country Link
CN (1) CN102650990A (zh)
WO (1) WO2012113176A1 (zh)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915334B (zh) * 2012-09-17 2015-09-16 广州市动景计算机科技有限公司 图片显示处理方法及相应的浏览器
CN102932334B (zh) * 2012-10-12 2015-10-07 北京奇虎科技有限公司 一种网页转码系统
CN102902802B (zh) * 2012-10-12 2016-06-01 北京奇虎科技有限公司 一种网页转码方法和装置
CN103023910B (zh) * 2012-12-24 2017-04-05 北京奇虎科技有限公司 移动设备和计算设备间的数据传输方法
CN104111950A (zh) * 2013-04-19 2014-10-22 腾讯科技(深圳)有限公司 网页图片加载方法及加载装置
CN103258024B (zh) * 2013-05-07 2016-06-15 百度在线网络技术(北京)有限公司 网页中图片局部内容的分享方法、系统和装置
CN104281621A (zh) * 2013-07-11 2015-01-14 腾讯科技(深圳)有限公司 网页浏览方法及装置
CN103634204B (zh) * 2013-12-02 2016-08-24 天脉聚源(北京)传媒科技有限公司 一种微信墙消息的显示方法及系统
CN104834637B (zh) * 2014-02-08 2020-02-18 腾讯科技(深圳)有限公司 网页图片展示方法及装置
CN106569934B (zh) * 2015-10-13 2019-06-18 阿里巴巴集团控股有限公司 一种应用日志显示方法及装置
CN106210135A (zh) * 2016-08-25 2016-12-07 乐视控股(北京)有限公司 图片资源下载处理方法、终端和资源服务器
CN106126756A (zh) * 2016-08-25 2016-11-16 乐视控股(北京)有限公司 网页子框架资源下载处理方法、终端和资源服务器
CN106685851A (zh) * 2016-12-20 2017-05-17 深圳市金立通信设备有限公司 一种数据流量控制方法及终端
CN107562348B (zh) * 2017-09-07 2022-03-18 北京小米移动软件有限公司 内容显示方法及装置
CN109756524A (zh) * 2017-11-01 2019-05-14 温世文 一种网页显示方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287035A (zh) * 2008-05-23 2008-10-15 德信无线通讯科技(北京)有限公司 控制移动通信终端网页传输流量的方法及移动通信终端
US20080307317A1 (en) * 2007-06-05 2008-12-11 Yohai-Giochais Leon Systems and methods for selecting and/or communicating web content
CN101977233A (zh) * 2010-11-01 2011-02-16 优视科技有限公司 一种移动终端以阅读模式浏览网页方法和系统

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101807192B (zh) * 2009-12-31 2012-11-07 优视科技有限公司 一种用于移动通讯设备终端的网页页面光学字符识别处理方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080307317A1 (en) * 2007-06-05 2008-12-11 Yohai-Giochais Leon Systems and methods for selecting and/or communicating web content
CN101287035A (zh) * 2008-05-23 2008-10-15 德信无线通讯科技(北京)有限公司 控制移动通信终端网页传输流量的方法及移动通信终端
CN101977233A (zh) * 2010-11-01 2011-02-16 优视科技有限公司 一种移动终端以阅读模式浏览网页方法和系统

Also Published As

Publication number Publication date
CN102650990A (zh) 2012-08-29

Similar Documents

Publication Publication Date Title
WO2012113176A1 (zh) 终端网页显示方法及系统
US8156418B2 (en) Image acquisition from dynamic content for delivery to network-enabled static display devices
US9071651B2 (en) Dynamic content delivery to network-enabled static display device
KR100460276B1 (ko) 인터넷 서비스 장치 및 서비스 방법
CN100481088C (zh) 网页资源发布方法和发布系统
US8661010B2 (en) Method and apparatus for providing supplemental video content for third party websites
US20150189036A1 (en) Offline caching method and apparatus
US20120310751A1 (en) Method and apparatus for providing online advertisement
US20150089348A1 (en) System and method for web page background image delivery
WO2011088640A1 (zh) 一种移动终端浏览多媒体资源的方法、相应系统及通信系统
CN101202755A (zh) 一种移动终端的图片显示系统、方法和装置
CN101789961A (zh) 一种用于移动通讯设备终端的图片缩放系统及其应用方法
WO2014090082A1 (zh) 图片处理方法、装置及终端
WO2012100701A1 (zh) 一种获取图文信息的装置、系统及方法
WO2015154666A1 (zh) 桌面展示网页片段的方法及截取网页片段至桌面展示系统
WO2013056564A1 (zh) 浏览器内核适配的方法和浏览器
CN101025740A (zh) 图片搜索结果自动播放方法
WO2011097992A1 (zh) 实现网页访问的方法、系统及前端服务器
WO2012075933A1 (zh) 一种获取富媒体文件的方法、装置及系统
CN102497452A (zh) 一种基于嵌入式终端的在线流媒体服务方法
WO2014086195A1 (zh) 视频处理方法、移动终端及服务器
US9032021B2 (en) Method for providing customized advertisement/news on scalable application service system
CN103379163A (zh) 一种业务对象的确定方法以及确定装置
KR101111898B1 (ko) 스마트폰에 제공하는 웹 컨텐츠에 대한 패킷 데이터의 사용을 절감하는 서버 시스템
CN103313285A (zh) 网络资源传输处理装置和网络资源传输处理方法

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: 11859158

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: 11859158

Country of ref document: EP

Kind code of ref document: A1