CN109684575A - Processing method and processing device, storage medium, the computer equipment of web data - Google Patents

Processing method and processing device, storage medium, the computer equipment of web data Download PDF

Info

Publication number
CN109684575A
CN109684575A CN201811280590.2A CN201811280590A CN109684575A CN 109684575 A CN109684575 A CN 109684575A CN 201811280590 A CN201811280590 A CN 201811280590A CN 109684575 A CN109684575 A CN 109684575A
Authority
CN
China
Prior art keywords
data
web
web data
rendered
website
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.)
Pending
Application number
CN201811280590.2A
Other languages
Chinese (zh)
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811280590.2A priority Critical patent/CN109684575A/en
Publication of CN109684575A publication Critical patent/CN109684575A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

This application discloses a kind of processing method and processing device of web data, storage medium, computer equipments, it is related to network technique field, it can effectively solve first to Website server requested webpage data, when rendering again to the web data received, web data is be easy to cause to show slow-footed problem.Wherein method includes: to receive the acquisition request for the web data that web browser is sent, and carries website information in the acquisition request;Inquiry is corresponding with the website information from preset cache position has rendered web data, wherein, it is cached with that different website informations are corresponding to have rendered web data in the preset cache position, the web data that rendered of caching is estimated to obtain according to the real-time web page access record information of the web browser;Web data has been rendered described in inquiring is sent to the web browser.The application is suitable for the processing of web data.

Description

Processing method and processing device, storage medium, the computer equipment of web data
Technical field
This application involves network technique fields, processing method and processing device, storage particularly with regard to a kind of web data Medium, computer equipment.
Background technique
Webpage is the basic element for constituting website, is the platform of the various website applications of carrying.Webpage is one and includes HTML The text-only file of label can be stored in a certain computer in some corner of the world, be one " page " in WWW, It is hypertext markup language format (application of the standard by markup language, file extent entitled .html or .htm).Webpage Usually picture is provided with image shelves.Webpage will be read by web browser.
Web browser is in displayed web page data at present, first to Website server requested webpage data, then by net Page browsing device renders the web data received, to realize that web data is shown.However, web browser renders net Page data can expend certain time length, and then will affect the speed of web data displaying, cause webpage to open delay seriously, thus meeting Influence the usage experience of user.
Summary of the invention
In view of this, this application provides a kind of processing method and processing device of web data, storage medium, computers to set Standby, main purpose is to solve first to Website server requested webpage data, then when rendering to the web data received, It is be easy to cause waste of time, and then influences the speed that web data is shown, causes webpage to open and postpones serious problem.
According to the one aspect of the application, a kind of processing method of web data is provided, this method comprises:
The acquisition request for the web data that web browser is sent is received, carries website information in the acquisition request;
Inquiry is corresponding with the website information from preset cache position has rendered web data, wherein described default It is cached with that different website informations are corresponding to have rendered web data in cache location, the described of caching has rendered web data It estimates to obtain according to the real-time web page access record information of the web browser;
Web data has been rendered described in inquiring is sent to the web browser.
According to further aspect of the application, a kind of processing unit of web data is provided, which includes:
Receiving unit is taken in the acquisition request for receiving the acquisition request for the web data that web browser is sent With website information;
Query unit, for from preset cache position inquire it is corresponding with the website information rendered web data, Wherein, be cached with that different website informations are corresponding to have rendered web data in the preset cache position, caching it is described Web data has been rendered to estimate to obtain according to the real-time web page access record information of the web browser;
Transmission unit is sent to the web browser for having rendered web data described in inquiring.
According to the another aspect of the application, a kind of non-volatile readable storage medium is provided, calculating is stored thereon with Machine program realizes the processing method of above-mentioned web data when described program is executed by processor.
According to another aspect of the application, a kind of computer equipment is provided, including non-volatile readable storage medium, Processor and it is stored in the computer program that can be run on non-volatile readable storage medium and on a processor, the processor The processing method of above-mentioned web data is realized when executing corresponding programme.
By above-mentioned technical proposal, a kind of processing method of web data, device and equipment provided by the present application are and current Existing web data processing method is compared, and the application has carried out page data rendering work in advance, is receiving web browser After the acquisition request of the web data of transmission, do not need again to render page data, but directly from preset cache position It is middle inquire it is estimating and it is corresponding with website information rendered web data, do not need again request interface and the assembled page, Reduce web data display delay caused by web browser rendering data, accelerates the displaying speed of webpage, shorten page Face opening time, so as to build good user experience.
Above description is only the general introduction of technical scheme, in order to better understand the technological means of the application, And it can be implemented in accordance with the contents of the specification, and in order to which the above and other objects, features and advantages of the application can be more It becomes apparent, below the special specific embodiment for lifting the application.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present application, constitutes part of this application, this Shen Illustrative embodiments and their description please do not constitute the improper restriction to locally applying for explaining the application.In the accompanying drawings:
Fig. 1 shows a kind of flow diagram of the processing method of web data provided by the embodiments of the present application;
Fig. 2 shows the flow diagrams of the processing method of another web data provided by the embodiments of the present application;
Fig. 3 shows a kind of structural schematic diagram of the processing unit of web data provided by the embodiments of the present application;
Fig. 4 shows the structural schematic diagram of the processing unit of another web data provided by the embodiments of the present application.
Specific embodiment
The application is described in detail below with reference to attached drawing and in conjunction with the embodiments.It should be noted that not conflicting In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
For current web browser in displayed web page data, first to Website server requested webpage data, then again The web data received is rendered, it is too long to will lead to response time, the problem of causing web data display delay, this reality It applies example and provides a kind of processing method of web data, as shown in Figure 1, this method comprises:
101, the acquisition request for the web data that web browser is sent is received.
Wherein, the website information for the web data that web browser needs to obtain is carried in acquisition request.Website information Refer to the corresponding web page address of various web datas on internet, be mostly used belonging to Internet type (such as most common WWW (www) Deng) expression of+access protocol+domain name form.
It can be the server-side of web data processing for the executing subject of the present embodiment, for improving web browser Web data opens efficiency.
102, inquiry is corresponding with website information from preset cache position has rendered web data.
Wherein, it is cached with that different website informations are corresponding to have rendered web data in preset cache position, caching Web data has been rendered to estimate to obtain according to the real-time web page access record information of web browser;Page data has been rendered as warp Cross the page data that server-side rendered in advance.Web page access records in information and records content comprising the newest web page browsing of user Situation.For the present embodiment, server-side can obtain the real-time web page access record information of web browser, then pass through the webpage Access record information, the webpage that will be accessed the user prejudge, then the webpage of anticipation are obtained and rendered in advance, Be stored in preset cache position again, so as to the web browser subsequent request webpage data when can obtain in time and anti- Feedback.
For example, server-side is specifically as follows Node server-side, Node.JS frame can be used to be built for Node server-side, Node layers are built first with Koa, its major function has Node server-side to render, error monitoring, global abnormal positioning etc., preceding End part code is pug front-end template, is constructed using gulp, cooperation Node server-side rendering;Wherein, JS (JavaScript) is Scripting language, scripting language, which requires a resolver, to be run.For writing on hypertext markup language (HyperText Markup Language, HTML) JS in the page, browser acts as the role of resolver.And it is independently operated for needing JS, NodeJS are exactly a resolver.Each resolver is all a running environment, not only JS is allowed to define various data knots Structure carries out various calculating, and the built-in objects and method that also permission JS is provided using running environment do some things.Such as it operates in The purposes of JS in browser is operation DOM Document Object Model (Document Object Model, DOM), and browser is provided with The built-in objects of file (Document) etc.And the purposes of the JS operated in Node.JS is operation disk file or takes HTTP server is built, Node.JS just accordingly provides the built-in objects such as fs, http.
After building completion Node server-side, the real-time web page access record information of web browser can be obtained, is then led to Web page access record information is crossed, the webpage that will be accessed relative users prejudges, then by the number of the webpage of anticipation According to obtaining and render in advance, then it is stored in preset cache position.If the subsequent web browser sends network address A and corresponds to webpage number According to acquisition request, can be inquired by network address A the corresponding rendering data of the webpage whether there is in preset memory locations.
103, the web data of rendering inquired is sent to web browser.
For example, the example based on step 102, if being inquired in preset memory locations corresponding with network address A and passing through rendering Web data, then the web data inquired is sent to web browser, corresponding webpage number is realized in web browser According to display.
The processing method of web data in through this embodiment, with first requested webpage data in the prior art then again into Row rendering mode compare, this programme is rendered in advance to web data, effectively avoid in data acquisition because Delay phenomenon caused by data render can record information according to real-time web page access and estimate out the webpage number that will be searched According to, and web data is rendered in advance, and then web browser can directly be inquired from preset cache position with it is described Website information is corresponding to have rendered web data, it is very convenient efficiently, improve the opening time of the page, facilitate user clear It lookes at.
Further, as the refinement and extension of above-described embodiment specific embodiment, in order to completely illustrate in this implementation In specific implementation process, provide the processing method of another web data, as shown in Fig. 2, this method comprises:
201, classify to the corresponding different web pages data in targeted website.
Step 201 can specifically include: the corresponding different web pages data in targeted website are subjected to tree structure classification, In, next hierarchy node of same branch is classified as the subclassification of hierarchy node classification;Analyze the webpage number of different classifications Incidence relation information between.
Wherein, incidence relation information is user to the browsing correlation between the web data of each classification, if user exists It browses to will lead to after a web data and continues to browse another web data within the scope of certain time, can illustrate this two Web data has incidence relation.
For example, the corresponding different data of financing corporation is carried out tree structure classification, root node corresponds to financing corporation official website Main platform page data, next node are financing corporation's official website data (such as Beijing, Shanghai) of each region, then next node For financial class page data, commercial paper page data, the activity class page data etc. in each region official website;Next node is such as again The page data of the business such as financing, loan, insurance, the credit card for including in financial class page data, commercial paper page data packet Electric business series advertisements, the solid shop/brick and mortar store series advertisements contained;Child node is fund class page data, the stock as included in financing class page data Fare ticket type page data etc..
For another example if according to the record of history page request of data, often there is user and browse after the fund a page certain The behavior of the fund d page is browsed after the browse advertisements b page in time range, or the activity c page within the scope of certain time, that Can then determine has strong incidence relation between the fund a page and the advertisement b page, and between the activity c page and the fund d page With strong incidence relation.
In a particular embodiment, it can also be pressed as the case may be to the corresponding different web pages data in targeted website He classifies at mode.For example, Beijing official website page data, Shenzhen official website page data, Shanghai official can be divided into according to the classification of countries Webpage face data etc.;It can be according to classifying content, such as financial class page data, commercial paper page data, activity class page data Deng.
If 202, recording information according to web page access determines that web browser is currently accessing the webpage of targeted website, According to the web data classification results of targeted website, the target webpage data that web browser will request are estimated.
Step 202 can specifically include: obtain web browser last time requested webpage from web page access record information The corresponding history website information of data;Determine web data corresponding with history website information place in tree structure classification First node;The each second node for presetting level quantity where inquiring first node below branch node position is corresponding There is the web data of strong incidence relation information between first object website information, and web data corresponding with first node Second target website information;By first object website information and the corresponding web data of the second target website information, determine The target webpage data that will be requested for web browser.
Wherein, first object website information be historical viewings web data in tree corresponding all subordinaties The website information of node;Second target website information is to have strong close with the web data of historical viewings in entire tree The corresponding website information of the node of connection relationship;Target webpage data are to prejudge out according to the website information of historical viewings It is likely to the data browsed.
For example, the example based on step 201, if obtaining the request of web browser last time from web page access record information The corresponding web data of history website information be Beijing Area, financing corporation official website data, then by Beijing Area, financing corporation The corresponding subordinate's child node of official website data, i.e., financial class page data, commercial paper page data, activity class page data etc. pair The website information answered is determined as first object website information;Assuming that determining that all official website data with Beijing Area, financing corporation have There is the web data of strong incidence relation to be respectively as follows: financial class a page data, loan b page data, advertisement c page data.Then will Financial class a page data, loan b page data, the corresponding website information of advertisement c page data are determined as the second target network address letter Breath;In turn by financial class page data, commercial paper page data, activity class page data, finance class a page data, b pages of loan Face data, advertisement c page data are determined as the target webpage data that web browser will request.
203, target webpage data are obtained in advance and carry out rendering processing.
For example, first having to install koa-router in terminal terminal, this is that Koa is mentioned before rendering processing The tool of the routing supplied.Then a routers file is created below server file, it is and then new inside Two files are built, one is dev-ssr.js, the other is ssr.js.The case where server-side renders when the former is processing exploitation, The latter is situation about handling under formal environments.In dev-ssr.js file, first have to introduce koa-router.And in order to keep away Exempt to render in treatment process and mistake occurs, also mountable Koa software, while a server-side is created under project root Server file then creates a server.js file under this file, introduces Koa in server.js file, A middleware is written also inside server.js to record the mistake of all request and crawl, thus can be very good Recognize during server-side rendering some mistakes whether occur, and excludes in time.During the rendering of Node server-side, Ejs template engine can be used to generate HTML.
For example, getting target webpage data is finance class a page data, commercial paper b page data, the activity class c page Data then carry out rendering processing to them in advance.
204, will rendering treated target webpage data, be buffered in preset cache position as web data has been rendered In.
Wherein, after target webpage data carry out rendering processing, products configuration and partial page configuration on all pages It will transfer and configuration is responsible for by background management system, improve the variation flexibility of the page;Operation personnel can more timely send out Cloth content of pages also saves the working time of exploitation.
For example, the target webpage data got are finance class a page data, commercial paper b page data, c pages of activity class Face data is buffered in preset cache position then after carrying out rendering processing to them using them as web data has been rendered, It can be inquired and obtain by browser at any time.
Classified in advance the method for rendering by above-mentioned to different web pages data, it is true information can be recorded according to web page access Determine the target webpage of web browser current accessed, and estimates the target webpage data that will be requested, and then in advance to target network Page data carries out rendering processing, and the web data rendered is buffered in preset cache position, while being produced on all pages Product configuration and partial page configuration can all be transferred and be responsible for configuration by background management system, improve the variation flexibility of the page, allow Operation personnel can more timely issue content of pages, also save the working time of exploitation.It in this way can be in the net for determining browsing When page data, can directly extract it is pre-stored in preset cache position rendered web data, simplify obtaining for web data Step is taken, effectively avoids in data acquisition because of delay phenomenon caused by data render, improves the exhibition of web data Show speed.
At present in terms of search engine due to be in the prior art by web browser client request web data then It renders again, will lead to and be easy to appear search engine for the unrecognized situation of the page data not being rendered searched, be Solve the problems, such as this, alternatively, the present embodiment can also include: to receive search engine server to send Render the acquisition request of web data.The web data that rendered corresponding with targeted website cached in preset cache position is sent out Give search engine server.Further, right so that search engine server is according to the rendering web data received The Webpage search ranking of targeted website is updated processing.
Wherein, front end portion code is the pug front-end template constructed using gulp in search engine, and pug front-end template is It is generated to separate user interface with business datum (content), the document of specific format can be generated in it, is used for website Template engine will generate the html document of a standard.Pug template engine can allow (website) program to realize interface and number According to separation, the separation of service code and logical code, while promoting development efficiency, but also code reuse becomes more to hold Easily, gulp is the tool constructed in the development process of front end to code, is the building sharp weapon of automation projects;It can not only be right Site resource optimizes, and many duplicate tasks are able to use correct tool and are automatically performed in the process of development.
For example, targeted website is A, then it corresponding with targeted website A will render web data and all be sent to search engine Server, when user carries out data retrieval, searching plain engine can provide relevant rendering data to the system of user, and according to The searching times of the rendering data of record, update the Webpage search amount of targeted website.
It can solve that search engine is unrecognized for the page data not being rendered searched to ask by the above method Topic, and the Webpage search ranking of targeted website is updated.It can be corresponding with targeted website by what is cached in preset cache position The web data of rendering be sent to search engine server, provide relevant rendering data to user's using search engine System, and browser is recorded to all search of rendering data record in targeted website, and then can go out target with accurate statistics The clicking rate of website enables search engine server be updated processing to the Webpage search ranking of targeted website, allows to basis Webpage search ranking judges the dsc data being accessed frequently, and then continues to optimize to system, it is made more to be able to satisfy consumer's Demand.
205, when receive web browser send web data acquisition request when, from preset cache position inquiry with The website information carried in acquisition request is corresponding to have rendered web data.
For example, the acquisition request for receiving the web data of web browser transmission is B net homepage official website, from acquisition request In to get website information be https: //uland.B.com, then inquire in preset cache position and https: // This website information of uland.B.com is corresponding to have rendered web data.
206, the web data of rendering inquired is sent to web browser.
Wherein, it is building by pug front-end template that the data of web browser, which are shown, should install pug software first, so Afterwards using gulp tool compile pug file so that receive Node server-side send rendered after html file and progress before End is shown.
For example, corresponding with website information in acquisition request having rendered web data if going out in preset cache position enquiring and being The web data of rendering of B net homepage official website is then sent to web browser by B net homepage official website.
It, can be according to the net carried in the web data acquisition request received by the processing method of above-mentioned web data Location information, inquiry is corresponding with website information in preset memory locations has rendered web data, and will render web data It is sent to web browser, reduces the data render link in web data acquisition process in this way, greatly reduces on line Unavailable time improves the availability of version.
In specific application scenarios, if certain web datas are in dsc data state, it can receive in a short time The acquisition request for the web data that multiple and different web browsers are sent, and the web data in subsequent certain time Understand by other web browser requests, therefore in order to which the web data can be opened rapidly in other web browsers, into One step, the present embodiment may also include that the web data sent in real time according to different web pages browser as a preferred method, Acquisition request, determine and be currently at the web data of dsc data state;The webpage for being currently at dsc data state is obtained in advance Data simultaneously carry out rendering processing;By rendering, treated is currently at the web data of dsc data state, as having rendered webpage Data buffer storage is in preset cache position.
For example, the acquisition request of the web data sent in real time according to different web pages browser, it can be determined that go out frequent The web data of access can determine that if presetting the click volume preset threshold for judging dsc data state is 100 pre- Click volume in 5 minutes of fixing time is more than that the web data a of preset threshold 100 is dsc data, and carries out wash with watercolours to web data a in advance Dye processing, the web data a in dsc data state after rendering is buffered in preset cache position, as having rendered webpage Data are ready for the lasting access of subsequent each browser.
By the above-mentioned method rendered in advance to dsc data, the webpage number in dsc data state can be determined in advance According to, and dsc data is rendered in advance, and the web data after rendering is buffered in preset cache position, is browsed for different web pages The web data search of device is ready, and the loading velocity of webpage can be improved, and avoids dsc data that search is concentrated to carry out wash with watercolours again The delay Caton phenomenon being be easy to cause when dye, to further promote the web browsing experience of user.
Further, in order to save the spatial cache of preset cache position, alternatively, the present embodiment may be used also It include: that timing or not timing are carried out to the web data of rendering of the duration greater than preset duration threshold value is cached in preset cache position It removes.
For example, preset duration threshold value can be set according to actual conditions, if setting preset duration threshold value as 30 minutes, i.e. wash with watercolours Dye data can store 30 minutes in preset cache position, in rendering data stored subsequent 30 minutes, each client The page request sent is held, can all be inquired directly in preset cache position and return to the page inquired, do not needed Request interface and the assembled page again.If rendering data cache-time in preset cache position is more than preset duration threshold value and nothing Continuous access record, then by this, rendering data has been purged.
It will cache the web data that duration is more than preset duration by above-mentioned and be purged method, and enable some subsequent do not have The page data of client request is not stored in caching, can avoid inadequate buffer space well, can effectively be recycled more New spatial cache resource promotes the utilization rate of default memory space.
Further, the specific implementation as method shown in Fig. 1 and Fig. 2, the embodiment of the present application provide a kind of webpage number According to processing unit, as shown in figure 3, the device includes: receiving unit 31, query unit 32, transmission unit 33.
Receiving unit 31 can be used for receiving the acquisition request of the web data of web browser transmission, take in acquisition request With website information;
Query unit 32, can be used for from preset cache position inquire it is corresponding with website information rendered web data, Wherein, it is cached with that different website informations are corresponding to have rendered web data, the rendering net of caching in preset cache position Page data is estimated to obtain according to the real-time web page access record information of web browser;
Transmission unit 33, the web data of rendering that can be used for inquire are sent to web browser.
In specific application scenarios, in order to estimate the target webpage data that will be requested, and to target webpage data into Row rendering processing, facilitates the acquisition for meeting browser to ask so that the web data rendered is buffered in preset cache position It asks, as shown in figure 4, the present apparatus further include: taxon 34 estimates unit 35, rendering unit 36, cache unit 37.
Taxon 34 can be used for classifying to the corresponding different web pages data in targeted website;
Unit 35 is estimated, determines that web browser is currently accessing target if can be used for recording information according to web page access The webpage of website estimates the target webpage that web browser will request then according to the web data classification results of targeted website Data;
Rendering unit 36 can be used for obtaining target webpage data in advance and carry out rendering processing;
Cache unit 37 can be used for render treated target webpage data, be buffered in as web data has been rendered In preset cache position.
Wherein, taxon 34 are particularly used in the corresponding different web pages data in targeted website carrying out tree structure point Class, wherein next hierarchy node of same branch is classified as the subclassification of hierarchy node classification;Analyze the net of different classifications Incidence relation information between page data.
In specific application scenarios, unit 35 is estimated, is particularly used in and obtains webpage from web page access record information The corresponding history website information of browser last time requested webpage data;Determine that web data corresponding with history website information exists First node where in tree structure classification;The each of level quantity is preset where inquiring first node below branch node position A corresponding first object website information of second node, and there is strong association between web data corresponding with first node Second target website information of the web data of relation information;First object website information and the second target website information are distinguished Corresponding web data is determined as the target webpage data that web browser will request.
It, can not for the page data not being rendered searched in order to solve search engine in specific application scenarios The problem of identification, as shown in figure 4, the present apparatus further include: receiving unit 38, transmission unit 39.
Receiving unit 38 can be used for receiving the acquisition request for having rendered web data of search engine server transmission;
Transmission unit 39 can be used for corresponding with targeted website having rendered web data for what is cached in preset cache position It is sent to search engine server, so that search engine server is according to the rendering web data received, to target network The Webpage search ranking stood is updated processing.
In specific application scenarios, in order to render in advance to the web data in dsc data state, heat is avoided The delay Caton phenomenon that data are be easy to cause when search being concentrated to be rendered again, as shown in figure 4, the present apparatus further include: determine Unit 310.
Determination unit 310, the acquisition request for the web data that can be used for being sent in real time according to different web pages browser determine It is currently at the web data of dsc data state;
Rendering unit 36, it may also be used for obtain in advance and be currently at the web data of dsc data state and carry out at rendering Reason;
Cache unit 37, it may also be used for treated is currently at the web data of dsc data state by rendering, as Rendering web data is buffered in preset cache position.
In a specific embodiment, in order to which the spatial cache for saving preset cache position is alternatively such as schemed Shown in 4, the present apparatus may also include that clearing cell 311.
Clearing cell 311 can be used for timing or not timing and be greater than preset duration threshold to caching duration in preset cache position The web data of rendering of value is purged.
It should be noted that other phases of each functional unit involved by a kind of processing of web data provided in this embodiment It should describe, can be described referring to figs. 1 to the corresponding of Fig. 2, details are not described herein.
Based on above-mentioned method as shown in Figure 1 to Figure 2, deposited correspondingly, the present embodiment additionally provides a kind of non-volatile readable Storage media is stored thereon with computer-readable instruction, which realizes above-mentioned such as Fig. 1 to Fig. 2 institute when being executed by processor The processing method of the web data shown.
Based on this understanding, the technical solution of the application can be embodied in the form of software products, which produces Product can store in a non-volatile memory medium (can be CD-ROM, USB flash disk, mobile hard disk etc.), including some instructions With so that computer equipment (can be personal computer, server or the network equipment an etc.) execution the application is each Method described in implement scene.
Based on above-mentioned method and Fig. 3 as shown in Figure 1 to Figure 2, virtual bench embodiment shown in Fig. 4, on realizing State purpose, the present embodiment additionally provides a kind of computer equipment, the computer equipment include non-volatile readable storage medium and Processor;Non-volatile readable storage medium, for storing computer program;Processor, for executing computer program with reality The processing method of existing above-mentioned web data as shown in Figure 1 to Figure 2.
Optionally, which can also include user interface, network interface, camera, radio frequency (Radio Frequency, RF) circuit, sensor, voicefrequency circuit, WI-FI module etc..User interface may include display screen (Display), input unit such as keyboard (Keyboard) etc., optional user interface can also connect including USB interface, card reader Mouthful etc..Network interface optionally may include standard wireline interface and wireless interface (such as WI-FI interface).
It will be understood by those skilled in the art that a kind of computer equipment structure provided in this embodiment is not constituted to the reality The restriction of body equipment may include more or fewer components, perhaps combine certain components or different component layouts.
It can also include operating system, network communication module in non-volatile memory medium.Operating system is that management is above-mentioned The program of computer equipment hardware and software resource supports the operation of message handling program and other softwares and/or program.Net Network communication module for realizing the communication between each component in non-volatile memory medium inside, and with information processing entities equipment In communicate between other hardware and softwares.
Through the above description of the embodiments, those skilled in the art can be understood that the application can borrow It helps software that the mode of necessary general hardware platform is added to realize, hardware realization can also be passed through.Pass through the skill of application the application Art scheme, compared with currently available technology, the application has carried out page data rendering work in advance, is receiving web browser After the acquisition request of the web data of transmission, do not need again to render page data, but directly from preset cache position It is middle inquire it is estimating and it is corresponding with website information rendered web data, do not need again request interface and the assembled page, Reduce display delay caused by rendering data, accelerates the displaying speed of the page, shorten the page open time, so as to seek Make good user experience.
It will be appreciated by those skilled in the art that the accompanying drawings are only schematic diagrams of a preferred implementation scenario, module in attached drawing or Process is not necessarily implemented necessary to the application.It will be appreciated by those skilled in the art that the mould in device in implement scene Block can according to implement scene describe be distributed in the device of implement scene, can also carry out corresponding change be located at be different from In one or more devices of this implement scene.The module of above-mentioned implement scene can be merged into a module, can also be into one Step splits into multiple submodule.
Above-mentioned the application serial number is for illustration only, does not represent the superiority and inferiority of implement scene.Disclosed above is only the application Several specific implementation scenes, still, the application is not limited to this, and the changes that any person skilled in the art can think of is all The protection scope of the application should be fallen into.

Claims (10)

1. a kind of processing method of web data characterized by comprising
The acquisition request for the web data that web browser is sent is received, carries website information in the acquisition request;
Inquiry is corresponding with the website information from preset cache position has rendered web data, wherein the preset cache Be cached with that different website informations are corresponding to have rendered web data in position, caching it is described rendered web data according to The real-time web page access record information of web browser is estimated to obtain;
Web data has been rendered described in inquiring is sent to the web browser.
2. the method according to claim 1, wherein being obtained in the web data that the reception web browser is sent Before taking request, the method also includes:
Classify to the corresponding different web pages data in targeted website;
If recording information according to the web page access determines that web browser is currently accessing the webpage of the targeted website, According to the web data classification results of the targeted website, the target webpage data that the web browser will request are estimated;
The target webpage data are obtained in advance and carry out rendering processing;
Will rendering treated target webpage data, be buffered in the preset cache position as web data has been rendered In.
3. according to the method described in claim 2, it is characterized in that, described carry out the corresponding different web pages data in targeted website Classification, specifically includes:
The corresponding different web pages data in the targeted website are subjected to tree structure classification, wherein next level of same branch Node-classification is the subclassification of upper hierarchy node classification;
Analyze the incidence relation information between the web data of different classifications.
4. according to the method described in claim 3, the knot it is characterized in that, the web data according to the targeted website is classified Fruit estimates the target webpage data that the web browser will request, specifically includes:
The corresponding history net of the web browser last time requested webpage data is obtained from web page access record information Location information;
Determine first node of the web data corresponding with the history website information where in tree structure classification;
The each second node for presetting level quantity where inquiring the first node below branch node position is corresponding With the webpage number of strong incidence relation information between first object website information, and web data corresponding with the first node According to the second target website information;
By the first object website information and the corresponding web data of the second target website information, it is determined as described The target webpage data that web browser will request.
5. according to the method described in claim 2, it is characterized in that, the method also includes:
Receive the acquisition request for having rendered web data that search engine server is sent;
The web data that rendered corresponding with the targeted website cached in the preset cache position is sent to described search Rope engine server so that described search engine server according to receive it is described rendered web data, to the mesh The Webpage search ranking of mark website is updated processing.
6. the method according to claim 1, wherein the method also includes:
According to the acquisition request for the web data that different web pages browser is sent in real time, the net for being currently at dsc data state is determined Page data;
The web data of dsc data state is currently at described in obtaining in advance and carries out rendering processing;
The web data for being currently at dsc data state described in treated will be rendered, is buffered in institute as web data has been rendered It states in preset cache position.
7. the method according to claim 1, wherein the method also includes:
Timing or not timing are greater than the rendering web data of preset duration threshold value to caching duration in the preset cache position It is purged.
8. a kind of processing unit of web data characterized by comprising
Receiving unit carries in the acquisition request for receiving the acquisition request for the web data that web browser is sent Website information;
Query unit corresponding with the website information has rendered web data for inquiring from preset cache position, wherein It is cached with that different website informations are corresponding to have rendered web data in the preset cache position, the described of caching has rendered Web data is estimated to obtain according to the real-time web page access record information of the web browser;
Transmission unit is sent to the web browser for having rendered web data described in inquiring.
9. a kind of non-volatile readable storage medium, is stored thereon with computer program, which is characterized in that described program is processed Device realizes the processing method of web data described in any one of claims 1 to 7 when executing.
10. a kind of computer equipment, including non-volatile readable storage medium, processor and it is stored in non-volatile readable storage On medium and the computer program that can run on a processor, which is characterized in that the processor is realized when executing described program The processing method of web data described in any one of claims 1 to 7.
CN201811280590.2A 2018-10-30 2018-10-30 Processing method and processing device, storage medium, the computer equipment of web data Pending CN109684575A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811280590.2A CN109684575A (en) 2018-10-30 2018-10-30 Processing method and processing device, storage medium, the computer equipment of web data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811280590.2A CN109684575A (en) 2018-10-30 2018-10-30 Processing method and processing device, storage medium, the computer equipment of web data

Publications (1)

Publication Number Publication Date
CN109684575A true CN109684575A (en) 2019-04-26

Family

ID=66185699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811280590.2A Pending CN109684575A (en) 2018-10-30 2018-10-30 Processing method and processing device, storage medium, the computer equipment of web data

Country Status (1)

Country Link
CN (1) CN109684575A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110222288A (en) * 2019-06-10 2019-09-10 腾讯科技(深圳)有限公司 Page display method, device and storage medium
CN110442808A (en) * 2019-06-28 2019-11-12 苏宁云计算有限公司 Page rendering acceleration method and device
CN111143828A (en) * 2019-12-11 2020-05-12 中盈优创资讯科技有限公司 Safety control method and device for Web page and service
CN111191168A (en) * 2019-12-25 2020-05-22 北京永洪商智科技有限公司 SSR-based BI visual display performance optimization method
CN111274331A (en) * 2020-01-15 2020-06-12 中国建设银行股份有限公司 Relational data management maintenance system and method
CN111310005A (en) * 2020-02-07 2020-06-19 北京达佳互联信息技术有限公司 Network request processing method and device, server and storage medium
CN112149017A (en) * 2020-09-14 2020-12-29 京东数字科技控股股份有限公司 Webpage access method, device and system, electronic equipment and storage medium
CN112163173A (en) * 2020-09-22 2021-01-01 Oppo(重庆)智能科技有限公司 Webpage loading method and device, electronic equipment and computer readable storage medium
CN112784201A (en) * 2021-01-29 2021-05-11 游艺星际(北京)科技有限公司 Webpage display method, device, terminal and storage medium
CN112836152A (en) * 2019-11-22 2021-05-25 上海哔哩哔哩科技有限公司 Page rendering method, system, computer device and computer readable storage medium
CN113190612A (en) * 2021-07-01 2021-07-30 武汉华信数据系统有限公司 Data management method and data management device for man-machine interaction system
CN113347276A (en) * 2021-07-07 2021-09-03 南京大学城市规划设计研究院有限公司深圳分公司 Mobile access system based on GIS
CN113420249A (en) * 2021-06-30 2021-09-21 北京达佳互联信息技术有限公司 Webpage display method and device, electronic equipment and storage medium
CN113626742A (en) * 2021-08-02 2021-11-09 维沃移动通信有限公司 Webpage generation method and device, electronic equipment and readable storage medium
CN115190347A (en) * 2022-05-31 2022-10-14 北京达佳互联信息技术有限公司 Message processing method, message processing device, electronic equipment and storage medium
CN115858987A (en) * 2023-02-21 2023-03-28 成都萌想科技有限责任公司 Rendering method and device for H5 question bank webpage, electronic equipment and storage medium
CN116521119A (en) * 2023-06-30 2023-08-01 南京中卫信软件科技股份有限公司 Communication method of hardware equipment and browser in information system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102446222A (en) * 2011-12-22 2012-05-09 华为技术有限公司 Method, device and system of webpage content preloading
US20150154313A1 (en) * 2011-09-19 2015-06-04 Beijing Qihoo Technology Company Limited A method, device, browser and program for accessing web page
US20150370912A1 (en) * 2013-03-04 2015-12-24 Uc Mobile Limited Method and system for displaying customized webpage on double webview
CN108241703A (en) * 2016-12-27 2018-07-03 腾讯科技(深圳)有限公司 Web data transmission method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150154313A1 (en) * 2011-09-19 2015-06-04 Beijing Qihoo Technology Company Limited A method, device, browser and program for accessing web page
CN102446222A (en) * 2011-12-22 2012-05-09 华为技术有限公司 Method, device and system of webpage content preloading
US20150370912A1 (en) * 2013-03-04 2015-12-24 Uc Mobile Limited Method and system for displaying customized webpage on double webview
CN108241703A (en) * 2016-12-27 2018-07-03 腾讯科技(深圳)有限公司 Web data transmission method and device

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110222288B (en) * 2019-06-10 2023-08-04 腾讯科技(深圳)有限公司 Page display method, device and storage medium
CN110222288A (en) * 2019-06-10 2019-09-10 腾讯科技(深圳)有限公司 Page display method, device and storage medium
CN110442808A (en) * 2019-06-28 2019-11-12 苏宁云计算有限公司 Page rendering acceleration method and device
CN112836152A (en) * 2019-11-22 2021-05-25 上海哔哩哔哩科技有限公司 Page rendering method, system, computer device and computer readable storage medium
CN112836152B (en) * 2019-11-22 2023-03-10 上海哔哩哔哩科技有限公司 Page rendering method, system, computer device and computer readable storage medium
CN111143828A (en) * 2019-12-11 2020-05-12 中盈优创资讯科技有限公司 Safety control method and device for Web page and service
CN111191168A (en) * 2019-12-25 2020-05-22 北京永洪商智科技有限公司 SSR-based BI visual display performance optimization method
CN111274331A (en) * 2020-01-15 2020-06-12 中国建设银行股份有限公司 Relational data management maintenance system and method
CN111310005A (en) * 2020-02-07 2020-06-19 北京达佳互联信息技术有限公司 Network request processing method and device, server and storage medium
CN112149017A (en) * 2020-09-14 2020-12-29 京东数字科技控股股份有限公司 Webpage access method, device and system, electronic equipment and storage medium
CN112163173A (en) * 2020-09-22 2021-01-01 Oppo(重庆)智能科技有限公司 Webpage loading method and device, electronic equipment and computer readable storage medium
CN112163173B (en) * 2020-09-22 2024-05-03 Oppo(重庆)智能科技有限公司 Webpage loading method, webpage loading device, electronic equipment and computer readable storage medium
CN112784201A (en) * 2021-01-29 2021-05-11 游艺星际(北京)科技有限公司 Webpage display method, device, terminal and storage medium
CN112784201B (en) * 2021-01-29 2024-05-14 游艺星际(北京)科技有限公司 Webpage display method, device, terminal and storage medium
CN113420249A (en) * 2021-06-30 2021-09-21 北京达佳互联信息技术有限公司 Webpage display method and device, electronic equipment and storage medium
CN113190612B (en) * 2021-07-01 2021-10-26 武汉华信数据系统有限公司 Data management method and data management device for man-machine interaction system
CN113190612A (en) * 2021-07-01 2021-07-30 武汉华信数据系统有限公司 Data management method and data management device for man-machine interaction system
CN113347276A (en) * 2021-07-07 2021-09-03 南京大学城市规划设计研究院有限公司深圳分公司 Mobile access system based on GIS
CN113626742A (en) * 2021-08-02 2021-11-09 维沃移动通信有限公司 Webpage generation method and device, electronic equipment and readable storage medium
CN115190347A (en) * 2022-05-31 2022-10-14 北京达佳互联信息技术有限公司 Message processing method, message processing device, electronic equipment and storage medium
CN115190347B (en) * 2022-05-31 2024-01-02 北京达佳互联信息技术有限公司 Message processing method, message processing device, electronic equipment and storage medium
CN115858987A (en) * 2023-02-21 2023-03-28 成都萌想科技有限责任公司 Rendering method and device for H5 question bank webpage, electronic equipment and storage medium
CN115858987B (en) * 2023-02-21 2023-04-25 成都萌想科技有限责任公司 Method and device for rendering H5 question bank webpage, electronic equipment and storage medium
CN116521119A (en) * 2023-06-30 2023-08-01 南京中卫信软件科技股份有限公司 Communication method of hardware equipment and browser in information system
CN116521119B (en) * 2023-06-30 2023-09-12 中卫信软件股份有限公司 Communication method of hardware equipment and browser in information system

Similar Documents

Publication Publication Date Title
CN109684575A (en) Processing method and processing device, storage medium, the computer equipment of web data
US11328114B2 (en) Batch-optimized render and fetch architecture
US10783211B2 (en) Page processing method and device thereof
CN106484383B (en) Page rendering method, device and equipment
CN108334517A (en) A kind of webpage rendering intent and relevant device
EP3146698B1 (en) Method and system for acquiring web pages
US10284623B2 (en) Optimized browser rendering service
CN108363815A (en) A kind of pre-reading method of Webpage, device and intelligent terminal
CN106933640B (en) Method and system for loading Web page in browser of mobile terminal
US10713330B2 (en) Optimized browser render process
JPWO2014132404A1 (en) Information processing apparatus, information processing method, information processing program, display control apparatus, and display control program
CN112861050B (en) Page data backtracking method, device and equipment
CN102857369A (en) Website log saving system, method and apparatus
CN112613938B (en) Model training method and device and computer equipment
CN101188521B (en) A method for digging user behavior data and website server
CN105653724B (en) A kind of monitoring method and device of page light exposure
JP6568985B2 (en) Batch optimized rendering and fetch architecture
CN105550179A (en) Webpage collection method and browser plug-in
CN111273964B (en) Data loading method and device
CN104750824A (en) Application functional data processing method and device
CN100553250C (en) The method and apparatus of marking of web pages
EP3642727B1 (en) Resource pre-fetch using age threshold
CN110362776A (en) Browser front-end data storage method, device, equipment and readable storage medium storing program for executing
CN102694802B (en) Network access information recording method and device
WO2015017735A2 (en) Clickstream monitoring

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190426