-
公开(公告)号:US10409899B2
公开(公告)日:2019-09-10
申请号:US14998315
申请日:2015-12-24
Inventor: Qianzhou Wang , Jin Liang , Xianfeng Li , Xiaokai Ke
Abstract: Methods, devices, and mobile terminals for webpage processing in a night mode are provided. A method may comprise the browser injecting the CSS style of night mode and the corresponding JavaScript into the main file of said webpage via the interface of network request processing as provided by the terminal operating system when the browser is loading a webpage, and the browser parsing said main file, executing said JavaScript and applying said CSS style in a night mode to the webpage elements of said webpage for display. This can effect night mode and improve a user's browsing experience while maintaining the original webpage layout.
-
公开(公告)号:US10250526B2
公开(公告)日:2019-04-02
申请号:US15012095
申请日:2016-02-01
Inventor: Jie Liang , Huabin Chen
IPC: H04L29/12 , H04L12/911 , G06F17/30 , H04L29/08 , H04L29/06
Abstract: Provided are methods and apparatus for increasing subresource loading speed. A method may include receiving a page request initiated by a user, extracting the host domain name corresponding to the page URL, and querying if the hash table has a domain name tree corresponding to the host domain name; if the hash table has a domain name tree corresponding to the host domain name, traversing the domain name tree to extract a plurality of subresource domain names with the highest priority, and at the same time, establishing TCP connections for the host domain name and the plurality of subresource domain names; when the main document data of the host domain name is received, initiating a subresource loading request according to the subresource URL in the main document data; if the subresource domain name in the subresource loading request is a domain name in the above plurality of subresource domain names, directly initiating a HTTP request by using the previously established TCP connection, and completing the loading of the subresource. By establishing TCP connections for subresource domain names with high priority in advance, such methods and apparatus solve the problem that TCP connection needs to be established on site when a subresource loading is requested.
-
-
公开(公告)号:US10158740B2
公开(公告)日:2018-12-18
申请号:US15176803
申请日:2016-06-08
Applicant: GUANGZHOU UCWEB COMPUTER TECHNOLOGY CO., LTD
Inventor: Jie Liang , Ruixiang Liu
Abstract: In accordance with various embodiments of the disclosed subject matter, a webpage resource acquisition method, and an apparatus thereof are provided. In some embodiments, the method comprises: obtaining pre-read webpage resources from a web server through a communication network according to a pre-read algorithm; storing raw data of the pre-read webpage resources in a pre-read cache; and in response to receiving a loading instruction to load a target webpage resource, obtaining the raw data of one pre-read webpage resource that corresponds to the target webpage resource from the pre-read cache based on the loading instruction without going through the communication network.
-
公开(公告)号:US10158691B2
公开(公告)日:2018-12-18
申请号:US14980897
申请日:2015-12-28
Inventor: Wen Tian
Abstract: A method for providing access to web content by an intermediary server is provided. The method comprises: receiving, from a mobile terminal, a loading request for a web page; receiving, from a content server, document data of the web page after forwarding the web page loading request to the content server; dividing the received document data into a plurality of document data segments; identifying sub-resources included in the web page; associating the sub-resources with the document data segments; transmitting requests sequentially for the identified sub-resources to a resource server to start transmissions of at least some of the identified sub-resources from the resource server to the intermediary server; and transmitting, to the mobile terminal, a first document data segment of the plurality of document data segments after the transmissions of all of sub-resources associated with the first document data segment from the resource server to the intermediary server have completed.
-
公开(公告)号:US10048959B2
公开(公告)日:2018-08-14
申请号:US15315272
申请日:2014-09-18
Inventor: Xiaozhi Sun
Abstract: Disclosed is a method and an apparatus for incremental upgrade. When a server generates an incremental file, it acquires sub-files of different types in an old version compressed file and a new version compressed file, and performs different difference comparison steps on the sub-files of different types, to obtain difference data files for corresponding types: for sub-files that satisfy a preset decompression condition, a decompression comparison method is used to perform difference comparison, and for sub-files that do not satisfy the preset decompression condition, a direct comparison method is used to perform difference comparison; subsequently, a client acquires the difference data files from the server, and according to the type of a difference data file, carries out a merge operation on the difference data file and the old version compressed file to obtain the new version compressed file.
-
公开(公告)号:US10031744B2
公开(公告)日:2018-07-24
申请号:US14653704
申请日:2013-08-28
Inventor: Jie Liang , Yongfu Yu , Xiaopeng He , Shunyan Zhu , Hao Huang , Weixin Xu , Fangzhu Fu
Abstract: The present invention provides an incremental upgrade method, an apparatus applying the method and a storage medium. The incremental upgrade method comprises: sending a request to a server for downloading an incremental upgrade package corresponding to a local old version file on a terminal; receiving the incremental upgrade package, which comprises unmatched block data obtained by comparing a first compressed file with a second compressed file, and the start and end information of the unmatched block data, wherein the first compressed file is a compressed file that concatenates an old version file and a new version file on the server, and the second compressed file is a compressed file of the old version file on the server; concatenating the unmatched block data in the incremental upgrade package and a local second compressed file generated from the local old version file on the terminal to generate a concatenate compressed file; and at last decompressing the concatenate compressed file to obtain the new version file. The method reduces data traffic and occupied bandwidth resources.
-
公开(公告)号:US09942305B2
公开(公告)日:2018-04-10
申请号:US14965691
申请日:2015-12-10
CPC classification number: H04L67/06 , H04L67/02 , H04L69/329 , H04L69/40
Abstract: A method for file downloading is described. The method comprises: transmitting a first request to a server to start a downloading process of a file; receiving a first destination address and a first cookie for the downloading process, wherein the first destination address and the first cookie are associated with the file; storing the first destination address, the first cookie, a link address associated with the file, and a web address associated with the link address; detecting an interruption of the downloading process; and responsive to detection of an interruption of the downloading process, transmitting a second request to the server for a second destination address and a second cookie associated with the file based on the link address and web address. The method further comprises resuming the downloading process of the file using the second destination address and the second cookie.
-
公开(公告)号:US09892038B2
公开(公告)日:2018-02-13
申请号:US15004197
申请日:2016-01-22
IPC: G06F12/08 , G06F12/0804 , G06F3/06
CPC classification number: G06F12/0804 , G06F3/0619 , G06F3/065 , G06F3/0685 , G06F11/1471 , G06F12/0246 , G06F12/0871 , G06F2212/1008 , G06F2212/1032 , G06F2212/202 , G06F2212/214 , G06F2212/281 , G06F2212/313 , G06F2212/7203 , G06F2212/7207 , G06F2212/7209
Abstract: A data caching method is disclosed. The method comprises changing, according to an instruction, a cache value, corresponding to a key, in a cache on a volatile memory, recording the instruction following a first effective content of a log file in a non-volatile memory to obtain a second effective content, the second effective content including the first effective content and the recorded instruction, and storing the key and the changed cache value corresponding to the key into the non-volatile memory.
-
公开(公告)号:US20170286392A1
公开(公告)日:2017-10-05
申请号:US15504162
申请日:2015-04-21
Inventor: Xiaozhen WANG
CPC classification number: G06F17/2705 , G06F8/427 , G06F16/907 , G06F16/958 , G06F17/272
Abstract: Methods and electronic devices for displaying a web page are provided herein. In an exemplary method, metadata of a web page can be obtained. The metadata can specify a first-screen key element and include a first-screen-strategy extended attribute. A value of the first-screen-strategy extended attribute can indicate whether a page-defined first-screen display strategy is mandatory or optional. An element of the web page can be parsed in such a way as to determine whether the element is the first-screen key element. When the element is the first-screen key element, a first screen of the web page can be displayed. When the element is not the first-screen key element and a first-screen display criterion is met, a first screen of the web page can be displayed. The first-screen display criterion can be a function of the value of the first-screen-strategy extended attribute.
-
-
-
-
-
-
-
-
-