[go: up one dir, main page]

CN103116645A - Method and device for browsing webpage with mobile device - Google Patents

Method and device for browsing webpage with mobile device Download PDF

Info

Publication number
CN103116645A
CN103116645A CN2013100595898A CN201310059589A CN103116645A CN 103116645 A CN103116645 A CN 103116645A CN 2013100595898 A CN2013100595898 A CN 2013100595898A CN 201310059589 A CN201310059589 A CN 201310059589A CN 103116645 A CN103116645 A CN 103116645A
Authority
CN
China
Prior art keywords
mobile device
link
webpage
cooperative
web page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013100595898A
Other languages
Chinese (zh)
Other versions
CN103116645B (en
Inventor
邹海荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201310059589.8A priority Critical patent/CN103116645B/en
Publication of CN103116645A publication Critical patent/CN103116645A/en
Application granted granted Critical
Publication of CN103116645B publication Critical patent/CN103116645B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了移动设备浏览网页的方法及装置,该方法包括如下步骤:主移动设备从服务器下载被浏览网页的网页配置文件,所述被浏览网页至少包括第一网页组件和第二网页组件,所述网页配置文件包含有所述第一网页组件和第二网页组件分别对应第一链接和第二链接的信息,主移动设备分别将第一链接和第二链接发送给第一协作移动设备和第二协作移动设备;主移动设备接收第一协作移动设备根据第一链接下载的第一网页组件进行渲染或解析得到的第一结果,主移动设备接收第二协作移动设备根据第二链接下载的第二网页组件进行渲染或解析得到的第二结果。本发明可以提高主移动设备浏览网页、子链接网页和已经浏览过的网页的速度。

Figure 201310059589

The invention discloses a method and a device for browsing webpages by a mobile device. The method includes the following steps: a main mobile device downloads a webpage configuration file of a webpage to be browsed from a server, and the webpage to be browsed includes at least a first webpage component and a second webpage component, The web page configuration file contains information that the first web page component and the second web page component correspond to the first link and the second link respectively, and the master mobile device sends the first link and the second link to the first cooperative mobile device and the second link respectively. The second cooperative mobile device; the main mobile device receives the first result obtained by rendering or parsing the first webpage component downloaded by the first cooperative mobile device according to the first link, and the main mobile device receives the first result downloaded by the second cooperative mobile device according to the second link The second result obtained by rendering or parsing by the second webpage component. The invention can improve the speed of browsing webpages, sub-link webpages and already browsed webpages of the main mobile device.

Figure 201310059589

Description

移动设备浏览网页的方法及装置Method and device for browsing web pages with mobile devices

【技术领域】【Technical field】

本发明涉及通信领域,具体涉及移动设备浏览网页的方法及装置。The invention relates to the communication field, in particular to a method and a device for browsing webpages by a mobile device.

【背景技术】【Background technique】

现在的手持设备的硬件发展速度迅猛,网络发展也是如此,3G、LTE等技术的兴起使得使用手持设备访问网络的速度越来越快,但由于单台设备的上下行速度的限制及2G信号下网络的速度限制,在需要快速下载的情况下,往往不能达到用户预期的目标。同时,浏览网页的速度也会受到单台设备的处理速度的制约。The hardware of the current handheld devices is developing rapidly, and so is the development of the network. The rise of 3G, LTE and other technologies has made the use of handheld devices to access the network faster and faster, but due to the limitation of the uplink and downlink speed of a single device and the 2G signal The speed limit of the network often fails to meet the user's expected goals when fast downloads are required. At the same time, the speed of browsing the web will also be restricted by the processing speed of a single device.

【发明内容】【Content of invention】

为了提高移动设备下载和浏览网页的速度,本发明提供了移动设备浏览网页的方法,包括如下步骤:In order to improve the speed of downloading and browsing webpages of mobile devices, the present invention provides a method for browsing webpages of mobile devices, including the following steps:

主移动设备从服务器下载被浏览网页的网页配置文件,所述被浏览网页至少包括第一网页组件和第二网页组件,所述网页配置文件包含有所述第一网页组件和第二网页组件分别对应第一链接和第二链接的信息,主移动设备分别将第一链接和第二链接发送给第一协作移动设备和第二协作移动设备;The main mobile device downloads the webpage configuration file of the browsed webpage from the server, and the browsed webpage includes at least a first webpage component and a second webpage component, and the webpage configuration file includes the first webpage component and the second webpage component respectively Corresponding to the information of the first link and the second link, the main mobile device sends the first link and the second link to the first cooperative mobile device and the second cooperative mobile device respectively;

主移动设备接收第一协作移动设备根据第一链接下载的第一网页组件进行渲染或解析得到的第一结果,主移动设备接收第二协作移动设备根据第二链接下载的第二网页组件进行渲染或解析得到的第二结果。The main mobile device receives the first result obtained by rendering or parsing the first webpage component downloaded by the first cooperative mobile device according to the first link, and the main mobile device receives the rendering of the second webpage component downloaded by the second cooperative mobile device according to the second link Or the second result obtained by parsing.

若所述第一网页组件包含子链接网页,主移动设备浏览所述子链接网页时,主移动设备从第一协作移动设备获取第一协作移动设备的缓存中的已经下载的子链接网页数据。If the first web page component includes a sub-link web page, when the main mobile device browses the sub-link web page, the main mobile device acquires the downloaded sub-link web page data in the cache of the first cooperating mobile device from the first cooperating mobile device.

若所述第一网页组件包含子链接网页,主移动设备浏览所述子链接网页时,主移动设备获取第一协作移动设备的缓存中的渲染结果,所述渲染结果为子链接网页数据经过所述第一协作移动设备渲染得到的结果。If the first web page component includes a sub-link web page, when the main mobile device browses the sub-link web page, the main mobile device obtains the rendering result in the cache of the first cooperating mobile device, and the rendering result is that the data of the sub-link web page passes through the The result obtained by the rendering of the first cooperative mobile device is described above.

第一网页组件的数据量大于第二网页组件的数据量、且第一网页组件的渲染计算量大于第二网页组件的渲染计算量,第一协作移动设备的第一数据处理速度a1大于第二协作移动设备的第二数据处理速度a2,第一协作移动设备与对应服务器之间的第一数据带宽b1大于第二协作移动设备与对应服务器之间的第二数据带宽b2The data volume of the first webpage component is greater than the data volume of the second webpage component, and the rendering calculation amount of the first webpage component is greater than the rendering calculation volume of the second webpage component, and the first data processing speed a1 of the first cooperative mobile device is greater than that of the second webpage component. The second data processing speed a2 of the two cooperating mobile devices, the first data bandwidth b1 between the first cooperating mobile device and the corresponding server is greater than the second data bandwidth b2 between the second cooperating mobile device and the corresponding server;

其中,主移动设备从第一协作移动设备获取第一数据处理速度a1和第一数据带宽b1,主移动设备从第二协作移动设备获取第二数据处理速度a2和第二数据带宽b2Wherein, the master mobile device obtains the first data processing speed a 1 and the first data bandwidth b 1 from the first cooperative mobile device, and the master mobile device obtains the second data processing speed a 2 and the second data bandwidth b from the second cooperative mobile device 2 .

第一网页组件的数据量大于第二网页组件的数据量,第一协作移动设备的第一数据处理速度a1大于第二协作移动设备的第二数据处理速度a2,第一协作移动设备与对应服务器之间的第一数据带宽b1大于第二协作移动设备与对应服务器之间的第二数据带宽b2The data volume of the first webpage component is greater than the data volume of the second webpage component, the first data processing speed a 1 of the first cooperative mobile device is greater than the second data processing speed a 2 of the second cooperative mobile device, and the first cooperative mobile device and The first data bandwidth b1 between the corresponding servers is greater than the second data bandwidth b2 between the second cooperating mobile device and the corresponding server;

其中,主移动设备从第一协作移动设备获取第一数据处理速度a1和第一数据带宽b1,主移动设备从第二协作移动设备获取第二数据处理速度a2和第二数据带宽b2Wherein, the master mobile device obtains the first data processing speed a 1 and the first data bandwidth b 1 from the first cooperative mobile device, and the master mobile device obtains the second data processing speed a 2 and the second data bandwidth b from the second cooperative mobile device 2 .

第一网页组件的渲染计算量大于第二网页组件的渲染计算量,第一协作移动设备的第一数据处理速度a1大于第二协作移动设备的第二数据处理速度a2,第一协作移动设备与对应服务器之间的第一数据带宽b1大于第二协作移动设备与对应服务器之间的第二数据带宽b2The rendering calculation amount of the first webpage component is greater than the rendering calculation amount of the second webpage component, the first data processing speed a 1 of the first cooperative mobile device is greater than the second data processing speed a 2 of the second cooperative mobile device, the first cooperative mobile device a first data bandwidth b1 between the device and the corresponding server is greater than a second data bandwidth b2 between the second cooperating mobile device and the corresponding server;

其中,主移动设备从第一协作移动设备获取第一数据处理速度a1和第一数据带宽b1,主移动设备从第二协作移动设备获取第二数据处理速度a2和第二数据带宽b2Wherein, the master mobile device obtains the first data processing speed a 1 and the first data bandwidth b 1 from the first cooperative mobile device, and the master mobile device obtains the second data processing speed a 2 and the second data bandwidth b from the second cooperative mobile device 2 .

还包括第三协作设备,Also includes a third collaboration device,

所述主移动设备在获取第一结果前检测到第一协作移动设备出现异常,则将第一链接发送给第三协作设备;The master mobile device detects that the first cooperative mobile device is abnormal before obtaining the first result, and then sends the first link to the third cooperative device;

主移动设备接收第三协作移动设备根据第一链接下载的第一网页组件进行渲染或解析得到的第一结果。The primary mobile device receives the first result obtained by rendering or parsing the first webpage component downloaded by the third cooperative mobile device according to the first link.

为了达到上述目的,本发明还提供了一种移动设备网页浏览装置,包括:In order to achieve the above object, the present invention also provides a mobile device webpage browsing device, comprising:

网页配置文件处理模块:用于从服务器下载被浏览网页的网页配置文件,所述被浏览网页至少包括第一网页组件和第二网页组件,所述网页配置文件包含有所述第一网页组件和第二网页组件分别对应第一链接和第二链接的信息;Web page configuration file processing module: used to download from the server the web page configuration file of the browsed web page, the browsed web page at least includes a first web page component and a second web page component, and the web page configuration file includes the first web page component and The second webpage component corresponds to the information of the first link and the second link respectively;

网页组件分配模块:用于分别将第一链接和第二链接发送给第一协作移动设备和第二协作移动设备;The webpage component distribution module: used to send the first link and the second link to the first cooperative mobile device and the second cooperative mobile device respectively;

渲染结果处理模块:用于接收第一协作移动设备根据第一链接下载的第一网页组件进行渲染或解析得到的第一结果,以及接收第二协作移动设备根据第二链接下载的第二网页组件进行渲染或解析得到的第二结果。Rendering result processing module: used to receive the first result obtained by rendering or parsing the first webpage component downloaded by the first cooperative mobile device according to the first link, and receive the second webpage component downloaded by the second cooperative mobile device according to the second link The second result obtained by rendering or parsing.

若所述第一网页组件包含子链接网页,主移动设备浏览所述子链接网页时,主移动设备获取第一协作移动设备的缓存中的渲染结果,所述渲染结果为所述子链接网页数据经过所述第一协作移动设备渲染得到的结果。If the first web page component includes a sub-link web page, when the main mobile device browses the sub-link web page, the main mobile device obtains the rendering result in the cache of the first cooperating mobile device, and the rendering result is the data of the sub-link web page The obtained result is rendered through the first cooperative mobile device.

网页组件分配模块还用于,在渲染结果处理模块获取第一结果前检测到第一协作移动设备出现异常,则将第一链接发送给第三协作设备;The webpage component distribution module is also used to send the first link to the third cooperation device if it detects that the first cooperative mobile device is abnormal before the rendering result processing module obtains the first result;

渲染结果处理模块还用于,接收第三协作移动设备根据第一链接下载的第一网页组件进行渲染或解析得到的第一结果。。The rendering result processing module is further configured to receive the first result obtained by rendering or parsing the first webpage component downloaded by the third cooperative mobile device according to the first link. .

本发明的有益效果是:通过将网页的各网页组件分配给不同的协作移动设备进行下载以及渲染或解析,并把相应的结果发送给主移动设备,从而提高了主移动设备下载和浏览网页的速度;其次,通过判断各协作移动设备的数据处理能力和与对应服务器之间的数据带宽大小,从而将数据量或渲染(解析)量较大的网页组件分配给数据处理能力、与对应服务器之间的数据带宽较大的协作移动设备,从而协作移动设备能够更快完成处理,进一步提高了主移动设备浏览网页的速度;再者,通过利用各协作移动设备的缓存存储已经下载的网页组件或者渲染(解析)结果、以及网页组件包含的子链接网页数据,进一步提高了主移动设备浏览子链接网页、和已经浏览过的网页的速度。The beneficial effect of the present invention is: by assigning each webpage component of the webpage to different cooperative mobile devices for downloading and rendering or parsing, and sending the corresponding results to the main mobile device, thereby improving the efficiency of the main mobile device for downloading and browsing webpages speed; secondly, by judging the data processing capabilities of each cooperative mobile device and the data bandwidth between the corresponding server, the webpage components with a large amount of data or rendering (parsing) are allocated to the data processing capability and the corresponding server. Cooperative mobile devices with larger data bandwidths between them, so that the cooperating mobile devices can complete the processing faster, further improving the speed of browsing webpages of the main mobile device; moreover, by using the cache memory of each cooperating mobile device to store the downloaded webpage components or The rendering (parsing) result and the sublink webpage data contained in the webpage component further improves the speed of browsing sublink webpages and already browsed webpages by the main mobile device.

【附图说明】【Description of drawings】

图1是本发一种实施例的主移动设备、协作移动设备和服务器组成的系统框图;Fig. 1 is a system block diagram of an embodiment of the present invention consisting of a master mobile device, a cooperative mobile device and a server;

图2是一种实施例的主设备在浏览网页时分配各网页组件给不同协作移动设备处理的示意图;Fig. 2 is a schematic diagram of an embodiment of the master device assigning various web page components to different cooperative mobile devices for processing when browsing web pages;

图3是一种实施例中被浏览网页的网页组件含有子链接网页时的数据连接示意图。Fig. 3 is a schematic diagram of data connection when the web page component of the browsed web page contains sub-link web pages in an embodiment.

【具体实施方式】 【Detailed ways】

以下将结合附图,对本发明的具体实施例作进一步详细说明。Specific embodiments of the present invention will be described in further detail below in conjunction with the accompanying drawings.

如图1所示,主移动设备可以与第一协作移动设备1、第二协作移动设备2…以及第n协作移动设备n进行数据通信,数据通信的制式可以采用短距离通信网络如Wi-Fi、蓝牙等,而第一协作移动设备1、第二协作移动设备2…以及第n协作移动设备n也可以通过不尽相同的通信网络与服务器数据通信,例如第一协作移动设备1通过3G网络与服务器连接,第二协作移动设备2通过LTE网络与服务器连接,…而第n协作移动设备通过光纤网络与服务器连接。As shown in Figure 1, the master mobile device can perform data communication with the first cooperative mobile device 1, the second cooperative mobile device 2 ... and the nth cooperative mobile device n, and the data communication system can adopt a short-distance communication network such as Wi-Fi , Bluetooth, etc., while the first cooperative mobile device 1, the second cooperative mobile device 2... and the nth cooperative mobile device n can also communicate with the server data through different communication networks, for example, the first cooperative mobile device 1 through a 3G network connected to the server, the second cooperative mobile device 2 is connected to the server through the LTE network, ... and the nth cooperative mobile device is connected to the server through the optical fiber network.

如图2所示,当主移动设备10需要浏览一个网页时,该网页包括多个网页组件:图片、第一文本内容、第二文本内容、Flash视频、Flash广告和动态图片,其中,Flash视频、Flash广告和动态图片包含多个需要被播发的帧图片的文件,渲染的计算量较大;而对于一些具有语义解释性的嵌入文件,例如JS脚本文件、CSS样式等,也需要消耗较多的运算资源,才能完成相应的解析。由于各个网页组件的来源可能不同,因此,各个协作移动设备所连接的服务器也不一定相同。As shown in Figure 2, when the main mobile device 10 needs to browse a webpage, the webpage includes a plurality of webpage components: picture, first text content, second text content, Flash video, Flash advertisement and dynamic picture, wherein, Flash video, Flash advertisements and dynamic pictures contain multiple frame picture files that need to be broadcasted, and the rendering requires a large amount of calculation; and some embedded files with semantic interpretation, such as JS script files, CSS styles, etc., also need to consume more Computing resources are needed to complete the corresponding analysis. Since the sources of various webpage components may be different, the servers connected to each collaborative mobile device are not necessarily the same.

1)主移动设备首先从服务器下载该网页的网页配置文件,该配置文件记载有如下信息:网页由哪些网页组件组成、网页组件对应的链接URL、各个组件在网页的位置排版。主移动设备解析该网页配置文件,可以将不同的网页组件至少分配给两个不同的协作移动设备,即将不同的网页组件对应的链接URL发送给相应的协作移动设备。1) The main mobile device first downloads the webpage configuration file of the webpage from the server. The configuration file records the following information: which webpage components are composed of the webpage, the link URLs corresponding to the webpage components, and the layout of each component on the webpage. The main mobile device parses the webpage configuration file, and can assign different webpage components to at least two different cooperative mobile devices, that is, send link URLs corresponding to different webpage components to corresponding cooperative mobile devices.

2)主移动设备可以根据各协作移动设备的数据处理能力和协作移动设备与服务器之间的数据带宽,来决定将数据量较大和渲染计算量较大的网页组件分配给数据处理能力较强和数据带宽较大的协作设备。具体步骤可以如下:2) The main mobile device can decide to allocate webpage components with large data volume and large rendering calculation load to those with strong data processing capabilities and the data bandwidth between the cooperative mobile device and the server according to the data processing capabilities of each cooperative mobile device and the data bandwidth between the cooperative mobile device and the server. Collaboration devices with high data bandwidth. The specific steps can be as follows:

2.1)主移动设备向第一协作移动设备1发送获取第一协作移动设备1的第一数据处理速度a1的指令,第一协作移动设备1通过检测自身的硬件配置信息,从而获得自身的数据处理速度a1,并将数据处理速度a1发送给主移动设备。2.1) The master mobile device sends an instruction to obtain the first data processing speed a 1 of the first cooperative mobile device 1 to the first cooperative mobile device 1, and the first cooperative mobile device 1 obtains its own data by detecting its own hardware configuration information processing speed a 1 , and sending the data processing speed a 1 to the main mobile device.

2.2)主移动设备向第一协作移动设备1发送获取第一协作移动设备1与服务器之间的数据网络的第一数据带宽b1的指令,第一协作移动设备1通过与对应的服务器之间的数据交互得到第一数据带宽b1,具体的计算数据带宽的方法很多,例如第一协作移动设备1向相应的服务器发送测试带宽指令,服务器向第一协作移动设备发送含有发送时间点的测试带宽的数据包,第一协作移动设备1接收到该数据包后,再将该数据包发送给服务器,服务器接收到该数据包后即可计算得到数据带宽b1,并将数据带宽b1发送给第一协作移动设备1,最后该数据带宽b1被发给主移动设备。2.2) The master mobile device sends an instruction to the first cooperative mobile device 1 to obtain the first data bandwidth b 1 of the data network between the first cooperative mobile device 1 and the server, and the first cooperative mobile device 1 passes through the connection between the first cooperative mobile device 1 and the corresponding server. The first data bandwidth b 1 is obtained through data interaction. There are many specific methods for calculating the data bandwidth. For example, the first cooperative mobile device 1 sends a test bandwidth command to the corresponding server, and the server sends the first cooperative mobile device a test bandwidth containing the sending time point. bandwidth data packet, after the first cooperative mobile device 1 receives the data packet, it sends the data packet to the server, and the server can calculate the data bandwidth b 1 after receiving the data packet, and send the data bandwidth b 1 to the first cooperative mobile device 1, and finally the data bandwidth b 1 is sent to the primary mobile device.

2.3)主移动设备需要分析各网页组件的数据量大小和类型。对于有些网页组件,主移动设备通过分析其链接URL即可以判断出其属性,例如该链接URL的路径就显示了指向的是.Flash的文件,那么,即使它数据量不大,但是由于需要经过渲染处理,也应该由处理能力较强的协作移动设备进行处理;而对于有些网页组件,该链接URL显示出指向的文件类型,需要主移动设备进一步向服务器查询后,服务器才会返回该网页组件的类型以及大小。2.3) The main mobile device needs to analyze the data size and type of each webpage component. For some web components, the main mobile device can determine its attributes by analyzing its link URL. For example, the path of the link URL shows that it points to a .Flash file. Rendering processing should also be handled by cooperative mobile devices with strong processing capabilities; for some web components, the link URL shows the type of file pointed to, and the server will return the web component only after the main mobile device further inquires the server type and size.

2.4)主移动设备将数据量较大和/或渲染计算量较大的网页组件分配给处理能力较大、与相应服务器的数据带宽较大的协作移动设备处理,例如图2所示,Flash视频、Flash广告、动态图片分别分配给处理能力较强、与对应服务器的数据带宽较大的协作移动设备1、协作移动设备2和协作移动设备3,而图片、第一文本内容和第二文本内容这些数据量相对较小、渲染计算量较小的文件分别分配给处理能力较弱、与对应服务器的数据带宽较小的协作移动设备4协作移动设备5和协作移动设备6。2.4) The main mobile device allocates webpage components with large data volume and/or large rendering calculations to the cooperative mobile device with large processing capacity and large data bandwidth with the corresponding server. For example, as shown in Figure 2, Flash video, Flash advertisements and dynamic pictures are assigned to collaborative mobile devices 1, 2 and 3 with relatively strong processing capabilities and relatively large data bandwidths with corresponding servers, while pictures, first text content, and second text content are Files with a relatively small amount of data and a small amount of rendering calculation are allocated to the cooperative mobile device 4 and the cooperative mobile device 5 and 6 with weak processing capabilities and small data bandwidth with the corresponding server respectively.

3)随后,各协作设备根据主设备发送给来的链接URL,从对应的服务器下载相应的网页组件,并可以存储在缓存中,下载好后可以选择直接传送给主移动设备,也可以对网页组件进行渲染计算、或解析处理,得到的结果存储在缓存中,并把结果发送给主移动设备。3) Subsequently, each cooperative device downloads the corresponding web page component from the corresponding server according to the link URL sent by the main device, and can store it in the cache. The component performs rendering calculation or parsing processing, stores the result in the cache, and sends the result to the main mobile device.

这样,主移动设备只需从各协作设备获取相应的网页组件的渲染结果后,进行显示。当然,对于渲染计算量不大的网页组件,主移动设备可以自己完成渲染或解析。In this way, the main mobile device only needs to obtain the rendering results of the corresponding webpage components from each cooperative device, and then display them. Of course, for web page components that require little calculation for rendering, the main mobile device can complete the rendering or parsing by itself.

包括主移动设备自身的缓存,主移动设备还可以利用其余的协作移动设备的缓存以存储浏览过的网页数据,极大地提高了缓存网页数据的能力,因此,当主移动设备需要重新返回浏览过的网页时,可以迅速地显示该网页。Including the main mobile device's own cache, the main mobile device can also use the caches of other cooperative mobile devices to store the browsed web page data, which greatly improves the ability to cache web page data. Therefore, when the main mobile device needs to return to the browsed webpage data When a web page is displayed, the web page can be displayed quickly.

4)如图3所示,当其中一个网页组件--第一文本内容包含子链接URL时,协作移动设备在下载完第一文本内容并传送给主移动设备后,进一步下载该子链接URL指向的子网页组件,并将其存储在缓存中;也可以进一步对子网页组件进行渲染处理,并把渲染结果存储在缓存中。因而,当主移动设备需要浏览该子网页时,主移动设备可以迅速从相应的协作移动设备的缓存中获取数据,从而实现迅速显示。4) As shown in Figure 3, when one of the web page components - the first text content contains a sub-link URL, after the cooperative mobile device has downloaded the first text content and sent it to the master mobile device, it will further download the sub-link URL pointing to sub-webpage components, and store them in the cache; it is also possible to further render the sub-webpage components, and store the rendering results in the cache. Therefore, when the main mobile device needs to browse the sub-webpage, the main mobile device can quickly obtain the data from the cache of the corresponding cooperating mobile device, thereby realizing rapid display.

5)当主移动设备检测到某个协作移动设备出现异常时,例如掉网、死机、断电、等待时间过长等,导致被分配的网页组件或者相应的渲染或解析结果没有被传送或者没有被传送完至主移动设备,主移动设备可以将该网页组件重新分配给另外的协作移动设备进行处理,该协作移动设备处理网页组件的方法与之前所述协作移动设备的处理方法相同,之后,主移动设备从该协作移动设备获取该网页组件或者相应的渲染解析结果。5) When the main mobile device detects an abnormality of a cooperative mobile device, such as disconnection, crash, power outage, long waiting time, etc., resulting in the assigned web page component or the corresponding rendering or parsing results not being transmitted or not being sent After the transfer to the main mobile device, the main mobile device can redistribute the webpage component to another cooperative mobile device for processing. The mobile device acquires the webpage component or the corresponding rendering and parsing result from the cooperating mobile device.

Claims (10)

1.移动设备浏览网页的方法,其特征是,包括如下步骤:1. The method for browsing a webpage with a mobile device is characterized in that it comprises the following steps: 主移动设备从服务器下载被浏览网页的网页配置文件,所述被浏览网页至少包括第一网页组件和第二网页组件,所述网页配置文件包含有所述第一网页组件和第二网页组件分别对应第一链接和第二链接的信息,主移动设备分别将第一链接和第二链接发送给第一协作移动设备和第二协作移动设备;The main mobile device downloads the webpage configuration file of the browsed webpage from the server, and the browsed webpage includes at least a first webpage component and a second webpage component, and the webpage configuration file includes the first webpage component and the second webpage component respectively Corresponding to the information of the first link and the second link, the main mobile device sends the first link and the second link to the first cooperative mobile device and the second cooperative mobile device respectively; 主移动设备接收第一协作移动设备根据第一链接下载的第一网页组件进行渲染或解析得到的第一结果,主移动设备接收第二协作移动设备根据第二链接下载的第二网页组件进行渲染或解析得到的第二结果。The main mobile device receives the first result obtained by rendering or parsing the first webpage component downloaded by the first cooperative mobile device according to the first link, and the main mobile device receives the rendering of the second webpage component downloaded by the second cooperative mobile device according to the second link Or the second result obtained by parsing. 2.如权利要求1所述的移动设备浏览网页的方法,其特征是:2. The method for mobile device browsing web pages as claimed in claim 1, characterized in that: 若所述第一网页组件包含子链接网页,主移动设备浏览所述子链接网页时,主移动设备从第一协作移动设备获取第一协作移动设备的缓存中的已经下载的子链接网页数据。If the first web page component includes a sub-link web page, when the main mobile device browses the sub-link web page, the main mobile device acquires the downloaded sub-link web page data in the cache of the first cooperating mobile device from the first cooperating mobile device. 3.如权利要求1所述的移动设备浏览网页的方法,其特征是:3. The method for mobile device browsing web pages as claimed in claim 1, characterized in that: 若所述第一网页组件包含子链接网页,主移动设备浏览所述子链接网页时,主移动设备获取第一协作移动设备的缓存中的渲染结果,所述渲染结果为子链接网页数据经过所述第一协作移动设备渲染得到的结果。If the first web page component includes a sub-link web page, when the main mobile device browses the sub-link web page, the main mobile device obtains the rendering result in the cache of the first cooperating mobile device, and the rendering result is that the data of the sub-link web page passes through the The result obtained by the rendering of the first cooperative mobile device is described above. 4.如权利要求1所述的移动设备浏览网页的方法,其特征是,第一网页组件的数据量大于第二网页组件的数据量、且第一网页组件的渲染计算量大于第二网页组件的渲染计算量,第一协作移动设备的第一数据处理速度a1大于第二协作移动设备的第二数据处理速度a2,第一协作移动设备与对应服务器之间的第一数据带宽b1大于第二协作移动设备与对应服务器之间的第二数据带宽b24. The method for browsing webpages by mobile devices as claimed in claim 1, wherein the data volume of the first webpage component is greater than the data volume of the second webpage component, and the rendering calculation amount of the first webpage component is greater than that of the second webpage component The amount of rendering calculation, the first data processing speed a 1 of the first cooperative mobile device is greater than the second data processing speed a 2 of the second cooperative mobile device, the first data bandwidth b 1 between the first cooperative mobile device and the corresponding server greater than a second data bandwidth b2 between the second cooperating mobile device and the corresponding server; 其中,主移动设备从第一协作移动设备获取第一数据处理速度a1和第一数据带宽b1,主移动设备从第二协作移动设备获取第二数据处理速度a2和第二数据带宽b2Wherein, the master mobile device obtains the first data processing speed a 1 and the first data bandwidth b 1 from the first cooperative mobile device, and the master mobile device obtains the second data processing speed a 2 and the second data bandwidth b from the second cooperative mobile device 2 . 5.如权利要求1所述的移动设备浏览网页的方法,其特征是,第一网页组件的数据量大于第二网页组件的数据量,第一协作移动设备的第一数据处理速度a1大于第二协作移动设备的第二数据处理速度a2,第一协作移动设备与对应服务器之间的第一数据带宽b1大于第二协作移动设备与对应服务器之间的第二数据带宽b25. the method for mobile device browsing webpage as claimed in claim 1 is characterized in that, the data volume of the first webpage component is greater than the data volume of the second webpage component, and the first data processing speed a of the first cooperative mobile equipment is greater than The second data processing speed a2 of the second cooperating mobile device, the first data bandwidth b1 between the first cooperating mobile device and the corresponding server is greater than the second data bandwidth b2 between the second cooperating mobile device and the corresponding server; 其中,主移动设备从第一协作移动设备获取第一数据处理速度a1和第一数据带宽b1,主移动设备从第二协作移动设备获取第二数据处理速度a2和第二数据带宽b2Wherein, the master mobile device obtains the first data processing speed a 1 and the first data bandwidth b 1 from the first cooperative mobile device, and the master mobile device obtains the second data processing speed a 2 and the second data bandwidth b from the second cooperative mobile device 2 . 6.如权利要求1所述的移动设备浏览网页的方法,其特征是,第一网页组件的渲染计算量大于第二网页组件的渲染计算量,第一协作移动设备的第一数据处理速度a1大于第二协作移动设备的第二数据处理速度a2,第一协作移动设备与对应服务器之间的第一数据带宽b1大于第二协作移动设备与对应服务器之间的第二数据带宽b26. The method for webpage browsing by a mobile device as claimed in claim 1, wherein the rendering calculation amount of the first webpage component is greater than the rendering calculation amount of the second webpage component, and the first data processing speed a of the first cooperative mobile device 1 is greater than the second data processing speed a2 of the second cooperating mobile device, and the first data bandwidth b between the first cooperating mobile device and the corresponding server is greater than the second data bandwidth b between the second cooperating mobile device and the corresponding server 2 ; 其中,主移动设备从第一协作移动设备获取第一数据处理速度a1和第一数据带宽b1,主移动设备从第二协作移动设备获取第二数据处理速度a2和第二数据带宽b2Wherein, the master mobile device obtains the first data processing speed a 1 and the first data bandwidth b 1 from the first cooperative mobile device, and the master mobile device obtains the second data processing speed a 2 and the second data bandwidth b from the second cooperative mobile device 2 . 7.如权利要求1所述的移动设备下载数据的方法,其特征是:还包括第三协作设备,7. The method for downloading data by a mobile device according to claim 1, further comprising a third collaboration device, 所述主移动设备在获取第一结果前检测到第一协作移动设备出现异常,则将第一链接发送给第三协作设备;The master mobile device detects that the first cooperative mobile device is abnormal before obtaining the first result, and then sends the first link to the third cooperative device; 主移动设备接收第三协作移动设备根据第一链接下载的第一网页组件进行渲染或解析得到的第一结果。The primary mobile device receives the first result obtained by rendering or parsing the first webpage component downloaded by the third cooperative mobile device according to the first link. 8.一种移动设备网页浏览装置,其特征是,包括:8. A web browsing device for mobile devices, characterized in that it comprises: 网页配置文件处理模块:用于从服务器下载被浏览网页的网页配置文件,所述被浏览网页至少包括第一网页组件和第二网页组件,所述网页配置文件包含有所述第一网页组件和第二网页组件分别对应第一链接和第二链接的信息;Web page configuration file processing module: used to download from the server the web page configuration file of the browsed web page, the browsed web page at least includes a first web page component and a second web page component, and the web page configuration file includes the first web page component and The second webpage component corresponds to the information of the first link and the second link respectively; 网页组件分配模块:用于分别将第一链接和第二链接发送给第一协作移动设备和第二协作移动设备;The webpage component distribution module: used to send the first link and the second link to the first cooperative mobile device and the second cooperative mobile device respectively; 渲染结果处理模块:用于接收第一协作移动设备根据第一链接下载的第一网页组件进行渲染或解析得到的第一结果,以及接收第二协作移动设备根据第二链接下载的第二网页组件进行渲染或解析得到的第二结果。Rendering result processing module: used to receive the first result obtained by rendering or parsing the first webpage component downloaded by the first cooperative mobile device according to the first link, and receive the second webpage component downloaded by the second cooperative mobile device according to the second link The second result obtained by rendering or parsing. 9.如权利要求8所述的移动设备网页浏览装置,其特征是:9. The web browsing device for mobile devices as claimed in claim 8, characterized in that: 若所述第一网页组件包含子链接网页,主移动设备浏览所述子链接网页时,主移动设备获取第一协作移动设备的缓存中的渲染结果,所述渲染结果为所述子链接网页数据经过所述第一协作移动设备渲染得到的结果。If the first web page component includes a sub-link web page, when the main mobile device browses the sub-link web page, the main mobile device obtains the rendering result in the cache of the first cooperating mobile device, and the rendering result is the data of the sub-link web page The obtained result is rendered through the first cooperative mobile device. 10.如权利要求9所述的移动设备网页浏览装置,其特征是:10. The mobile device webpage browsing device as claimed in claim 9, characterized in that: 网页组件分配模块还用于,在渲染结果处理模块获取第一结果前检测到第一协作移动设备出现异常,则将第一链接发送给第三协作设备;The webpage component distribution module is also used to send the first link to the third cooperation device if it detects that the first cooperative mobile device is abnormal before the rendering result processing module obtains the first result; 渲染结果处理模块还用于,接收第三协作移动设备根据第一链接下载的第一网页组件进行渲染或解析得到的第一结果。The rendering result processing module is further configured to receive the first result obtained by rendering or parsing the first webpage component downloaded by the third cooperative mobile device according to the first link.
CN201310059589.8A 2013-02-25 2013-02-25 The method and device of browsing page by mobile equipment Active CN103116645B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310059589.8A CN103116645B (en) 2013-02-25 2013-02-25 The method and device of browsing page by mobile equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310059589.8A CN103116645B (en) 2013-02-25 2013-02-25 The method and device of browsing page by mobile equipment

Publications (2)

Publication Number Publication Date
CN103116645A true CN103116645A (en) 2013-05-22
CN103116645B CN103116645B (en) 2017-07-11

Family

ID=48415018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310059589.8A Active CN103116645B (en) 2013-02-25 2013-02-25 The method and device of browsing page by mobile equipment

Country Status (1)

Country Link
CN (1) CN103116645B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573755A (en) * 2015-12-15 2016-05-11 北京奇虎科技有限公司 Method and device for acquiring application Activity rendering time
CN105610941A (en) * 2015-12-28 2016-05-25 安徽工业大学 Data fragment caching method based on node groups in mobile network
CN105634972A (en) * 2016-01-29 2016-06-01 四川长虹电器股份有限公司 Method for improving access efficiency of Web client
CN106126756A (en) * 2016-08-25 2016-11-16 乐视控股(北京)有限公司 Webpage subframe resource downloading processing method, terminal and Resource Server
CN106227890A (en) * 2016-08-22 2016-12-14 乐视控股(北京)有限公司 Web animation resource downloading processing method and system, terminal, Resource Server
CN111107425A (en) * 2019-11-25 2020-05-05 福州市暖色网络科技有限公司 Method, system and storage medium for obtaining computing resources based on rendering component elements
CN111724453A (en) * 2019-03-22 2020-09-29 阿里巴巴集团控股有限公司 Rich text rendering method, device, terminal device and computer storage medium
CN111800481A (en) * 2020-06-18 2020-10-20 杨进雄 Internet-based network interaction method and device and server
WO2021056940A1 (en) * 2019-09-29 2021-04-01 苏州浪潮智能科技有限公司 Webpage component maintaining method and apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030187806A1 (en) * 2002-03-28 2003-10-02 International Business Machines Corporation Calculating and displaying the cost of downloading web content
CN102045772A (en) * 2009-10-21 2011-05-04 华为技术有限公司 Data transmission method and device
CN102314486A (en) * 2011-08-04 2012-01-11 百度在线网络技术(北京)有限公司 Method and equipment for browsing page

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030187806A1 (en) * 2002-03-28 2003-10-02 International Business Machines Corporation Calculating and displaying the cost of downloading web content
CN102045772A (en) * 2009-10-21 2011-05-04 华为技术有限公司 Data transmission method and device
CN102314486A (en) * 2011-08-04 2012-01-11 百度在线网络技术(北京)有限公司 Method and equipment for browsing page

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
NABULEON: "云计算下无线网络接入技术的研究", 《百度文库》 *
王续宗 等: "一种基于IMS的BitTorrent文件分布系统架构", 《计算机工程》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573755A (en) * 2015-12-15 2016-05-11 北京奇虎科技有限公司 Method and device for acquiring application Activity rendering time
CN105573755B (en) * 2015-12-15 2019-03-08 北京奇虎科技有限公司 A method and device for obtaining application activity rendering time
CN105610941A (en) * 2015-12-28 2016-05-25 安徽工业大学 Data fragment caching method based on node groups in mobile network
CN105610941B (en) * 2015-12-28 2019-03-05 安徽工业大学 A kind of data fragmentation caching method based on node grouping in mobile network
CN105634972A (en) * 2016-01-29 2016-06-01 四川长虹电器股份有限公司 Method for improving access efficiency of Web client
CN106227890A (en) * 2016-08-22 2016-12-14 乐视控股(北京)有限公司 Web animation resource downloading processing method and system, terminal, Resource Server
CN106126756A (en) * 2016-08-25 2016-11-16 乐视控股(北京)有限公司 Webpage subframe resource downloading processing method, terminal and Resource Server
CN111724453A (en) * 2019-03-22 2020-09-29 阿里巴巴集团控股有限公司 Rich text rendering method, device, terminal device and computer storage medium
WO2021056940A1 (en) * 2019-09-29 2021-04-01 苏州浪潮智能科技有限公司 Webpage component maintaining method and apparatus
CN111107425A (en) * 2019-11-25 2020-05-05 福州市暖色网络科技有限公司 Method, system and storage medium for obtaining computing resources based on rendering component elements
CN111800481A (en) * 2020-06-18 2020-10-20 杨进雄 Internet-based network interaction method and device and server

Also Published As

Publication number Publication date
CN103116645B (en) 2017-07-11

Similar Documents

Publication Publication Date Title
CN103116645B (en) The method and device of browsing page by mobile equipment
CN102710748B (en) Data capture method, system and equipment
CN110096660B (en) Method and device for loading page pictures and electronic equipment
US11194882B1 (en) Behavior based optimization for content presentation
KR101824222B1 (en) Fast rendering of websites containing dynamic content and stale content
KR102294326B1 (en) Prefetching application data for periods of disconnectivity
CN109542427B (en) System customization method and device, electronic equipment and storage medium
CN109068153B (en) Video playing method and device and computer readable storage medium
US9571556B2 (en) Browser kernel adaptation method and browser therefor
CN103778236B (en) Web data distribution processing method and device and auto-building html files treating method and apparatus
CN104754073A (en) Resource access method and device
CN103118082B (en) Additional information method for implantation, equipment and system
CN109992406B (en) Picture request method, picture request response method and client
CN109032797A (en) For providing the method and apparatus of web page access
CN104601534A (en) Method and system for processing CDN system images
CN104796439A (en) Webpage pushing method, webpage pushing client, webpage pushing server and webpage pushing system
US20160112492A1 (en) Method and apparatus for providing network resources at intermediary server
CN107105336A (en) Data processing method and data processing equipment
CN112269959A (en) Control method, apparatus, readable medium and electronic device for displaying content
CN107798064A (en) Page processing method, electronic equipment and computer-readable recording medium
CN113867946B (en) Method, device, storage medium and electronic device for accessing resources
CN102624910B (en) Method, the Apparatus and system of the web page contents that process user chooses
CN105205151B (en) The method and system of browser page flow are saved in mobile terminal
CN104980464B (en) A kind of network request processing method, network server and network system
CN103440281A (en) Method, device and equipment for acquiring download file

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: Guangdong Opel Mobile Communications Co., Ltd.

CP01 Change in the name or title of a patent holder