[go: up one dir, main page]

CN109324858B - Method and device for acquiring display content in webpage - Google Patents

Method and device for acquiring display content in webpage Download PDF

Info

Publication number
CN109324858B
CN109324858B CN201811103461.6A CN201811103461A CN109324858B CN 109324858 B CN109324858 B CN 109324858B CN 201811103461 A CN201811103461 A CN 201811103461A CN 109324858 B CN109324858 B CN 109324858B
Authority
CN
China
Prior art keywords
display content
data
static
acquiring
acquisition path
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811103461.6A
Other languages
Chinese (zh)
Other versions
CN109324858A (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811103461.6A priority Critical patent/CN109324858B/en
Publication of CN109324858A publication Critical patent/CN109324858A/en
Application granted granted Critical
Publication of CN109324858B publication Critical patent/CN109324858B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种网页中显示内容的获取方法和装置。所述方法包括:在接收到输出网页的请求后,获取网页中待显示的显示内容;确定所述待显示的显示内容的获取路径,其中所述获取路径根据所述显示内容的变化周期设置;根据显示内容的获取路径,获取所述显示内容的数据信息;利用得到的数据信息,响应所述输出网页的请求。

Figure 201811103461

The invention discloses a method and a device for acquiring content displayed in a webpage. The method includes: after receiving a request for outputting a web page, acquiring display content to be displayed in the web page; determining an acquisition path of the display content to be displayed, wherein the acquisition path is set according to a change cycle of the display content; Acquire the data information of the display content according to the acquisition path of the display content; and use the obtained data information to respond to the request for outputting the webpage.

Figure 201811103461

Description

Method and device for acquiring display content in webpage
Technical Field
The present invention relates to the field of information processing, and in particular, to a method and an apparatus for acquiring display content in a web page.
Background
A web page is a plain text file containing HTML tags in hypertext markup language format that can be stored in a computer in a corner of the world. Web pages often provide drawings with image files. The web page is to be read by a web browser. The two most basic elements that make up a web page are text and pictures. Elements of a web page include, among other things, animation, music, programs, and the like.
Clicking the right mouse button on the web page to select the 'view source file' in the menu, the actual content of the web page can be seen through the notepad. It can be seen that the web page is actually only a plain text file. It describes the elements of words, pictures, tables, sounds and the like on the page through various marks, and the browser interprets the marks and generates the page.
Web browsing is a common operation for users to surf the internet at present. In the use of web interfaces, the user experience is very important. The interface response speed is slow, the use of a user can be seriously influenced, and the user experience is extremely poor. The response speed of the page is increased, the acceptance of the user to the product can be improved, and the user experience is improved.
In view of this, after a user requests to browse a web page, how to quickly acquire data required by the web page is an urgent problem to be solved.
Disclosure of Invention
In order to solve the technical problem, the invention provides a method and a device for acquiring display contents in a webpage, which can improve the acquisition speed of webpage data.
In order to achieve the purpose of the invention, the invention provides a method for acquiring display content in a webpage, which comprises the following steps:
after receiving a request for outputting a webpage, acquiring display content to be displayed in the webpage;
determining an acquisition path of the display content to be displayed, wherein the acquisition path is set according to the change period of the display content;
acquiring data information of the display content according to an acquisition path of the display content;
and responding to the request of the output webpage by using the obtained data information.
Wherein, the method also has the following characteristics: before determining the acquisition path of the display content to be displayed, the method further includes:
acquiring a change period of display content;
comparing the change periods of the display contents with preset time thresholds respectively;
when the change cycle of the display content is smaller than the time threshold, setting the acquisition path corresponding to the display content as data read from a server side; and when the change period of the display content is greater than or equal to the time threshold, setting the acquisition path corresponding to the display content to be read from a local cache region.
Wherein, the method also has the following characteristics:
the setting of the acquisition path corresponding to the display content as reading from a local cache region includes:
identifying whether the data of the display content belongs to the data of the static file or not to obtain static display content and non-static display content;
after the data of the static display content is acquired, setting the validity period of the data of the static display content to be infinite long; after acquiring the data of the non-static display content, setting the validity period of the data of the non-static display content as a preset time;
acquiring data information of the display content according to an acquisition path of the display content, wherein the acquisition path comprises
After the acquisition path corresponding to the display content is set to be read from a local cache region, judging whether the data is valid according to the validity period of the data in the cache;
and if the data is valid, directly reading the data, otherwise, acquiring the latest data of the display content from the server.
Wherein, the method also has the following characteristics: the acquiring the data information of the display content according to the acquisition path of the display content includes:
receiving a compressed packet sent by the server, wherein the compressed packet comprises data of the display content;
and decompressing the compressed packet to obtain decompressed data.
Wherein, the method also has the following characteristics: the acquiring the data information of the display content according to the acquisition path of the display content includes:
receiving data of at least two pictures sent by the server, wherein the data carries splicing sequence information of the at least two pictures;
and processing the data of the at least two pictures into one picture according to the splicing sequence information.
In order to achieve the object of the present invention, the present invention further provides an apparatus for acquiring display content in a web page, including:
the first acquisition module is used for acquiring display contents to be displayed in the webpage after receiving a request for outputting the webpage;
the determining module is used for determining an obtaining path of the display content to be displayed, wherein the obtaining path is set according to the change period of the display content;
the second acquisition module is used for acquiring the data information of the display content according to the acquisition path of the display content;
and the response module is used for responding to the request of the output webpage by using the obtained data information.
Wherein, the device still has following characteristics: the device further comprises:
the third acquisition module is used for acquiring the change cycle of the display content before the acquisition path of the display content to be displayed is determined;
the comparison module is used for comparing the change period of the display content with a preset time threshold respectively;
the setting module is used for setting the acquisition path corresponding to the display content as data read from the server side when the change cycle of the display content is smaller than the time threshold; and when the change period of the display content is greater than or equal to the time threshold, setting the acquisition path corresponding to the display content to be read from a local cache region.
Wherein, the device still has following characteristics:
the setting module further includes:
the identification unit is used for identifying whether the data of the display content belongs to the data of the static file or not after setting the acquisition path corresponding to the display content to be read from a local cache region, so as to obtain static display content and non-static display content;
the configuration unit is used for setting the validity period of the data of the static display content to be infinite after the data of the static display content is acquired; after acquiring the data of the non-static display content, setting the validity period of the data of the non-static display content as a preset time;
the second acquisition module includes:
the judging unit is used for judging whether the data is valid or not according to the valid period of the data in the cache after the acquisition path corresponding to the display content is set to be read from a local cache region;
and the acquisition unit is used for directly reading the data if the data is valid, and acquiring the latest data of the display content from the server if the data is not valid.
Wherein, the device still has following characteristics: the second acquisition module includes:
the first receiving unit is used for receiving a compressed packet sent by a server after an acquisition path corresponding to the display content is set to read data from the server, wherein the compressed packet comprises the data of the display content;
and the decompression unit is used for decompressing the compressed packet to obtain decompressed data.
Wherein, the device still has following characteristics: the second acquisition module includes:
the second receiving unit is used for receiving the data of the at least two pictures sent by the server and carrying the splicing sequence information of the at least two pictures;
and the splicing unit is used for processing the data of the at least two pictures into one picture according to the splicing sequence information.
According to the embodiment of the invention, after a request for outputting a webpage is received, display content to be displayed in the webpage is acquired, an acquisition path of the display content to be displayed is determined, wherein the acquisition path is set according to the change period of the display content, data information of the display content is acquired according to the acquisition path of the display content, and finally the acquired data information is utilized to respond to the request for outputting the webpage, so that the selection of the acquisition path according to the change period of the data is realized, the number of data read directly from a server side is reduced, the data volume of remote transmission is reduced, and the data acquisition speed is improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the example serve to explain the principles of the invention and not to limit the invention.
FIG. 1 is a flowchart of a method for obtaining display content in a web page according to the present invention;
fig. 2 is a structural diagram of an apparatus for acquiring display content from a web page according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
Fig. 1 is a flowchart of a method for acquiring display content in a web page according to the present invention. The method shown in fig. 1 comprises:
step 101, after receiving a request for outputting a webpage, acquiring display content to be displayed in the webpage;
step 102, determining an acquisition path of the display content to be displayed, wherein the acquisition path is set according to the change period of the display content;
103, acquiring data information of the display content according to an acquisition path of the display content;
and 104, responding to the request of the output webpage by using the obtained data information.
According to the method and the device for acquiring the display content, after a request for outputting the webpage is received, the display content to be displayed in the webpage is acquired, the acquisition path of the display content to be displayed is determined, the acquisition path is set according to the change period of the display content, the data information of the display content is acquired according to the acquisition path of the display content, and finally the acquired data information is used for responding to the request for outputting the webpage, so that the selection of the acquisition path according to the change period of the data is realized, the number of data which are directly read from a server side is reduced, the data volume of remote transmission is reduced, and the data acquisition speed is improved.
The method provided by the present invention is further illustrated below:
in order to improve the data acquisition speed, resources with less variation of display contents in the webpage, such as pictures, style sheets and the like, can be directly cached to the browser end. When the page is opened, the cache data is directly used, and the stage of requesting data from the back end is skipped, so that the quantity of the requested data can be greatly reduced, and the response speed of the page is accelerated.
Before determining the acquisition path of the display content to be displayed, setting the acquisition path, and dividing the acquisition path into two types according to the acquisition source of the data, wherein one type is acquired from a server, and the other type is acquired from a local cache; the specific implementation mode is as follows:
acquiring a change period of display content;
comparing the change periods of the display contents with preset time thresholds respectively;
when the change cycle of the display content is smaller than the time threshold, setting the acquisition path corresponding to the display content as data read from a server side; and when the change period of the display content is greater than or equal to the time threshold, setting the acquisition path corresponding to the display content to be read from a local cache region.
Specifically, data with long change period is cached locally, so that the next data calling is facilitated; for data with short change period, the data needs to be acquired from the server to ensure timeliness and accuracy of the data, and certainly, in order to have enough cache space to store the data with long change period, the data with short change period in the cache region needs to be cleared in time to ensure the utilization rate of the space.
Of course, the data read from the local cache area is further divided into more specific partitions, including:
the setting of the acquisition path corresponding to the display content as reading from a local cache region includes:
identifying whether the data of the display content belongs to the data of the static file or not to obtain static display content and non-static display content;
after the data of the static display content is acquired, setting the validity period of the data of the static display content to be infinite long; after acquiring the data of the non-static display content, setting the validity period of the data of the non-static display content as a preset time;
acquiring data information of the display content according to an acquisition path of the display content, wherein the acquisition path comprises
After the acquisition path corresponding to the display content is set to be read from a local cache region, judging whether the data is valid according to the validity period of the data in the cache;
and if the data is valid, directly reading the data, otherwise, acquiring the latest data of the display content from the server.
Specifically, the static files are cached, and when the static files are accessed next time, data are directly read from the cache and are not downloaded from a far end, so that the response speed is improved. This also relieves pressure on backend services.
For data corresponding to static display content, a corresponding version number needs to be set for the data, maintenance and management are convenient, and the version number needs to be changed once when the data is changed every time; once a lot of static files cause access pressure to a server, when data is delayed, the static files are independently put in one service, and only the static files are processed to be separated from the business service, so that the normal operation of the business service is not influenced.
For data needing to be acquired from the server, when the server transmits the data to the browser, the transmitted data are compressed and then transmitted, so that the data transmission amount is reduced, and more data can be transmitted in a very short time. Correspondingly, after the browser end receives the data, the acquiring the data information of the display content according to the acquisition path of the display content includes:
receiving a compressed packet sent by the server, wherein the compressed packet comprises data of the display content;
and decompressing the compressed packet to obtain decompressed data.
Specifically, the page response time is shortened for improving the loading speed of the page. The adopted mode aiming at the purpose is to compress static resources, compress the CSS JS scripts, reduce the sizes of the CSS JS scripts and shorten the time for retransmission.
Because the image data volume in the web page is large, the transmission efficiency of the image is often low when the image is read from the server side, and therefore, the invention provides the following solution:
according to the acquisition path of the display content, acquiring the data information of the display content, comprising:
receiving data of at least two pictures sent by the server, wherein the data carries splicing sequence information of the at least two pictures;
and processing the data of the at least two pictures into one picture according to the splicing sequence information.
Specifically, when a picture is transmitted at a server, if the data volume of the picture is greater than a preset data volume threshold, the picture is divided into at least two pieces, and picture splicing information is generated, wherein the picture splicing information includes information for splicing the divided pictures into an original picture. And after receiving all the small pictures of the same picture after being divided, restoring the picture according to the divided result at the browser end.
By the operation, the pictures can be sent out in batches, the data volume of single transmission is reduced, and the transmission efficiency is improved.
The method provided by the invention is further illustrated by the application examples provided by the invention as follows:
the application example of the invention provides a method for accelerating the loading of webpage data, which comprises the following specific implementation processes:
firstly, classifying static resources on a webpage, specifically comprising:
the JS CSS script of the code class is compressed by a compression tool;
the big pictures of the picture class are independently a file, and the small pictures are made into big puzzles;
and simultaneously, performing version control on the static resources, and adding version numbers after the file names of the static resources.
Secondly, at the server, the expiration time of the static file is set to a time far in the future. The goal is to tell the browser that these static resources will not expire all the time. The browser acquires the static resources, and directly acquires the static resources from the cache when accessing the browser again next time without any communication with the server. The pressure of the service end is reduced, and the time for loading the page by the browser is also reduced, after all, the time for back-end service communication is not available.
Finally, when the static file quoted in the page is changed, the corresponding version number of the file is modified, so that the file is a new static file, the browser can request the server for the first time, and the cache is not removed, so that the static file is not changed. Meanwhile, if the static resources are excessive, the static resources can be separated from the back-end service and independently placed in one service for use.
According to the application embodiment provided by the invention, the loading speed of the page can be increased by classifying the static resource data and acquiring and maintaining the data according to the classification result. And more smooth use experience is brought to the client.
Fig. 2 is a structural diagram of an apparatus for acquiring display content from a web page according to the present invention. The apparatus shown in fig. 2 comprises:
a first obtaining module 201, configured to obtain display content to be displayed in a web page after receiving a request for outputting the web page;
a determining module 202, configured to determine an obtaining path of the display content to be displayed, where the obtaining path is set according to a change period of the display content;
the second obtaining module 203 is configured to obtain data information of the display content according to an obtaining path of the display content;
and the response module 204 is configured to respond to the request for outputting the web page by using the obtained data information.
In an embodiment of the apparatus provided by the present invention, the apparatus further comprises:
the third acquisition module is used for acquiring the change cycle of the display content before the acquisition path of the display content to be displayed is determined;
the comparison module is used for comparing the change period of the display content with a preset time threshold respectively;
the setting module is used for setting the acquisition path corresponding to the display content as data read from the server side when the change cycle of the display content is smaller than the time threshold; and when the change period of the display content is greater than or equal to the time threshold, setting the acquisition path corresponding to the display content to be read from a local cache region.
In an embodiment of the apparatus provided in the present invention, the setting module further includes:
the identification unit is used for identifying whether the data of the display content belongs to the data of the static file or not after setting the acquisition path corresponding to the display content to be read from a local cache region, so as to obtain static display content and non-static display content;
the configuration unit is used for setting the validity period of the data of the static display content to be infinite after the data of the static display content is acquired; after acquiring the data of the non-static display content, setting the validity period of the data of the non-static display content as a preset time;
the second obtaining module 203 comprises:
the judging unit is used for judging whether the data is valid or not according to the valid period of the data in the cache after the acquisition path corresponding to the display content is set to be read from a local cache region;
and the acquisition unit is used for directly reading the data if the data is valid, and acquiring the latest data of the display content from the server if the data is not valid.
In an embodiment of the apparatus provided in the present invention, the second obtaining module 203 includes:
the first receiving unit is used for receiving a compressed packet sent by a server after an acquisition path corresponding to the display content is set to read data from the server, wherein the compressed packet comprises the data of the display content;
and the decompression unit is used for decompressing the compressed packet to obtain decompressed data.
In an embodiment of the apparatus provided in the present invention, the second obtaining module 203 includes:
the second receiving unit is used for receiving the data of the at least two pictures sent by the server and carrying the splicing sequence information of the at least two pictures;
and the splicing unit is used for processing the data of the at least two pictures into one picture according to the splicing sequence information.
According to the device embodiment provided by the invention, after a request for outputting a webpage is received, display content to be displayed in the webpage is acquired, an acquisition path of the display content to be displayed is determined, wherein the acquisition path is set according to the change period of the display content, data information of the display content is acquired according to the acquisition path of the display content, and finally the acquired data information is utilized to respond to the request for outputting the webpage, so that the selection of the acquisition path according to the change period of the data is realized, the number of data read directly from a server side is reduced, the data volume of remote transmission is reduced, and the data acquisition speed is improved.
It will be understood by those of ordinary skill in the art that all or part of the steps of the above embodiments may be implemented using a computer program flow, which may be stored in a computer readable storage medium and executed on a corresponding hardware platform (e.g., system, apparatus, device, etc.), and when executed, includes one or a combination of the steps of the method embodiments.
Alternatively, all or part of the steps of the above embodiments may be implemented by using an integrated circuit, and the steps may be respectively manufactured as an integrated circuit module, or a plurality of the blocks or steps may be manufactured as a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The devices/functional modules/functional units in the above embodiments may be implemented by general-purpose computing devices, and they may be centralized on a single computing device or distributed on a network formed by a plurality of computing devices.
Each device/function module/function unit in the above embodiments may be implemented in the form of a software function module and may be stored in a computer-readable storage medium when being sold or used as a separate product. The computer readable storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for acquiring display content in a webpage is characterized by comprising the following steps:
after receiving a request for outputting a webpage, acquiring display content to be displayed in the webpage;
determining an acquisition path of the display content to be displayed, wherein the acquisition path is set according to the change period of the display content;
acquiring data information of the display content according to an acquisition path of the display content;
responding to the request of the output webpage by using the obtained data information;
the data of the static file corresponding to the static display content is independently placed in a service, wherein the service only processes the data of the static file and is separated from the business service;
the static display content on the webpage is classified to obtain the code content and the picture type, wherein the code content is stored after being compressed, the picture content identified as a big picture is stored as a file, and the picture content identified as a small picture is stored after being subjected to picture splicing operation.
2. The method of claim 1, wherein prior to determining the acquisition path of the display content to be displayed, the method further comprises:
acquiring a change period of display content;
comparing the change periods of the display contents with preset time thresholds respectively;
when the change cycle of the display content is smaller than the time threshold, setting the acquisition path corresponding to the display content as data read from a server side; and when the change period of the display content is greater than or equal to the time threshold, setting the acquisition path corresponding to the display content to be read from a local cache region.
3. The method of claim 2, wherein:
the setting of the acquisition path corresponding to the display content as reading from a local cache region includes:
identifying whether the data of the display content belongs to the data of the static file or not to obtain static display content and non-static display content;
after the data of the static display content is acquired, setting the validity period of the data of the static display content to be infinite long; after acquiring the data of the non-static display content, setting the validity period of the data of the non-static display content as a preset time;
acquiring data information of display content according to an acquisition path of the display content, wherein the acquisition path corresponding to the display content is set to be read from a local cache region, and then judging whether the data is valid or not according to the validity period of the data in the cache;
and if the data is valid, directly reading the data, otherwise, acquiring the latest data of the display content from the server.
4. The method according to claim 2 or 3, wherein the acquiring data information of the display content according to the acquisition path of the display content comprises:
receiving a compressed packet sent by the server, wherein the compressed packet comprises data of the display content;
and decompressing the compressed packet to obtain decompressed data.
5. The method according to claim 2 or 3, wherein the acquiring data information of the display content according to the acquisition path of the display content comprises:
receiving data of at least two pictures sent by the server, wherein the data carries splicing sequence information of the at least two pictures;
and processing the data of the at least two pictures into one picture according to the splicing sequence information.
6. An apparatus for acquiring display content in a web page, comprising:
the first acquisition module is used for acquiring display contents to be displayed in the webpage after receiving a request for outputting the webpage;
the determining module is used for determining an obtaining path of the display content to be displayed, wherein the obtaining path is set according to the change period of the display content;
the second acquisition module is used for acquiring the data information of the display content according to the acquisition path of the display content;
the response module is used for responding to the request of the output webpage by using the obtained data information;
the data of the static file corresponding to the static display content is independently placed in a service, wherein the service only processes the data of the static file and is separated from the business service;
the static display content on the webpage is classified to obtain the code content and the picture type, wherein the code content is stored after being compressed, the content identified as a big picture in the picture content is stored as a file, and the content identified as a small picture is stored after being subjected to picture splicing operation.
7. The apparatus of claim 6, further comprising:
the third acquisition module is used for acquiring the change cycle of the display content before the acquisition path of the display content to be displayed is determined;
the comparison module is used for comparing the change period of the display content with a preset time threshold respectively;
the setting module is used for setting the acquisition path corresponding to the display content as data read from the server side when the change cycle of the display content is smaller than the time threshold; and when the change period of the display content is greater than or equal to the time threshold, setting the acquisition path corresponding to the display content to be read from a local cache region.
8. The apparatus of claim 7, wherein:
the setting module further includes:
the identification unit is used for identifying whether the data of the display content belongs to the data of the static file or not after setting the acquisition path corresponding to the display content to be read from a local cache region, so as to obtain static display content and non-static display content;
the configuration unit is used for setting the validity period of the data of the static display content to be infinite after the data of the static display content is acquired; after acquiring the data of the non-static display content, setting the validity period of the data of the non-static display content as a preset time;
the second acquisition module includes:
the judging unit is used for judging whether the data is valid or not according to the valid period of the data in the cache after the acquisition path corresponding to the display content is set to be read from a local cache region;
and the acquisition unit is used for directly reading the data if the data is valid, and acquiring the latest data of the display content from the server if the data is not valid.
9. The apparatus of claim 7 or 8, wherein the second obtaining module comprises:
the first receiving unit is used for receiving a compressed packet sent by a server after an acquisition path corresponding to the display content is set to read data from the server, wherein the compressed packet comprises the data of the display content;
and the decompression unit is used for decompressing the compressed packet to obtain decompressed data.
10. The apparatus of claim 7 or 8, wherein the second obtaining module comprises:
the second receiving unit is used for receiving the data of the at least two pictures sent by the server and carrying the splicing sequence information of the at least two pictures;
and the splicing unit is used for processing the data of the at least two pictures into one picture according to the splicing sequence information.
CN201811103461.6A 2018-09-20 2018-09-20 Method and device for acquiring display content in webpage Active CN109324858B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811103461.6A CN109324858B (en) 2018-09-20 2018-09-20 Method and device for acquiring display content in webpage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811103461.6A CN109324858B (en) 2018-09-20 2018-09-20 Method and device for acquiring display content in webpage

Publications (2)

Publication Number Publication Date
CN109324858A CN109324858A (en) 2019-02-12
CN109324858B true CN109324858B (en) 2022-03-22

Family

ID=65266166

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811103461.6A Active CN109324858B (en) 2018-09-20 2018-09-20 Method and device for acquiring display content in webpage

Country Status (1)

Country Link
CN (1) CN109324858B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335526A (en) * 2015-12-04 2016-02-17 北京京东尚科信息技术有限公司 Image loading method and device
CN105353976A (en) * 2015-10-21 2016-02-24 百度在线网络技术(北京)有限公司 Cache data acquisition method and apparatus
CN106202547A (en) * 2016-07-26 2016-12-07 努比亚技术有限公司 A kind of station field signal method, device and a kind of web station system
CN107734023A (en) * 2017-09-30 2018-02-23 努比亚技术有限公司 Static resource document down loading method, mobile terminal and computer-readable recording medium
CN108062311A (en) * 2016-11-07 2018-05-22 天脉聚源(北京)科技有限公司 A kind of method and system of access service device web data

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020188694A1 (en) * 2001-06-07 2002-12-12 Allen Yu Cached enabled implicit personalization system and method
CN102480397A (en) * 2010-11-26 2012-05-30 金蝶软件(中国)有限公司 Method and equipment for accessing internet page
US9223888B2 (en) * 2011-09-08 2015-12-29 Bryce Hutchings Combining client and server classifiers to achieve better accuracy and performance results in web page classification
CN103873918B (en) * 2012-12-14 2017-08-29 腾讯科技(深圳)有限公司 Image processing method, device and terminal
CN103942199A (en) * 2013-01-18 2014-07-23 腾讯科技(北京)有限公司 Method and device for obtaining picture information on webpages and terminal
CN105094779A (en) * 2014-05-14 2015-11-25 北大方正集团有限公司 Page design method
CN104199951B (en) * 2014-09-12 2018-09-04 百度在线网络技术(北京)有限公司 Web page processing method and device
CN105373615B (en) * 2015-11-24 2018-12-21 华讯方舟科技有限公司 A kind of method and apparatus of page customization
CN106936727A (en) * 2015-12-30 2017-07-07 中国移动通信集团云南有限公司 A kind of Webpage display process and device
CN107145494A (en) * 2016-03-01 2017-09-08 广州市动景计算机科技有限公司 A kind of method and device for browsing thumbnail in webpage
CN106227763A (en) * 2016-07-13 2016-12-14 珠海市魅族科技有限公司 The method and device that a kind of webpage loads
CN106503272B (en) * 2016-12-15 2019-10-29 深圳Tcl数字技术有限公司 Browsing device net page display methods and device
CN107301051A (en) * 2017-06-27 2017-10-27 深圳市金立通信设备有限公司 The caching of terminal dynamic data and exchange method, terminal, system and computer-readable recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105353976A (en) * 2015-10-21 2016-02-24 百度在线网络技术(北京)有限公司 Cache data acquisition method and apparatus
CN105335526A (en) * 2015-12-04 2016-02-17 北京京东尚科信息技术有限公司 Image loading method and device
CN106202547A (en) * 2016-07-26 2016-12-07 努比亚技术有限公司 A kind of station field signal method, device and a kind of web station system
CN108062311A (en) * 2016-11-07 2018-05-22 天脉聚源(北京)科技有限公司 A kind of method and system of access service device web data
CN107734023A (en) * 2017-09-30 2018-02-23 努比亚技术有限公司 Static resource document down loading method, mobile terminal and computer-readable recording medium

Also Published As

Publication number Publication date
CN109324858A (en) 2019-02-12

Similar Documents

Publication Publication Date Title
CN113094136A (en) Page display control method and device, storage medium and electronic equipment
US20100268694A1 (en) System and method for sharing web applications
CN103051706A (en) Dynamic webpage request processing system and method for dynamic website
TW201800962A (en) Webpage file sending method, webpage rendering method and device and webpage rendering system
CN110808868B (en) Test data acquisition method and device, computer equipment and storage medium
CN107276842B (en) Interface test method and device and electronic equipment
CN112256990B (en) Image processing method and device and computer readable storage medium
CN104731869B (en) The page shows method and device
CN112187622B (en) Instant message display method and device and server
CN105808221A (en) Card type desktop realization method and apparatus
CN102916991B (en) Method, system and device for transmitting data
CN112579118A (en) Method, device, system, medium and equipment for updating configuration information of microservice
CN116304458B (en) Method, device, equipment and medium for web page real-time notification update
CN104602119A (en) Video transcoding and decoding method and device and related information release control method and system
CN113448649B (en) A server and method for loading home page data based on Redis
CN115357319A (en) User interface rendering method and device
CN109213950B (en) Data processing method and device for browser application of IPTV (Internet protocol television) intelligent set top box
US20180192121A1 (en) System and methods thereof for displaying video content
CN109344344A (en) Identification method, server and the computer readable storage medium of webpage client
CN119201271A (en) Page loading method, device, computer equipment and storage medium
CN115495694B (en) Webpage data processing method and device
CN109324858B (en) Method and device for acquiring display content in webpage
CN111783006A (en) Page generation method and device, electronic equipment and computer readable medium
CN107508705B (en) Resource tree construction method of HTTP element and computing equipment
CN115658055A (en) Dynamic layout ordering method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant