CN107784086A - A kind of loading method of webpage, terminal device and computer-readable recording medium - Google Patents

A kind of loading method of webpage, terminal device and computer-readable recording medium Download PDF

Info

Publication number
CN107784086A
CN107784086A CN201710928591.2A CN201710928591A CN107784086A CN 107784086 A CN107784086 A CN 107784086A CN 201710928591 A CN201710928591 A CN 201710928591A CN 107784086 A CN107784086 A CN 107784086A
Authority
CN
China
Prior art keywords
page
data
version
numbering
page data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710928591.2A
Other languages
Chinese (zh)
Other versions
CN107784086B (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.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China 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 Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201710928591.2A priority Critical patent/CN107784086B/en
Publication of CN107784086A publication Critical patent/CN107784086A/en
Application granted granted Critical
Publication of CN107784086B publication Critical patent/CN107784086B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention is applied to network technique field, there is provided the loading method and its system of a kind of webpage, including:Obtain Client-initiated page load request;If the page data matched with page iden-tity in default database be present, version querying request is sent to page management server corresponding to page data;Mismatched if first version is numbered with the second edition of page data numbering, whether the major version number during the major version number in judgement first version numbering is numbered with the second edition is consistent;If inconsistent, from page data corresponding to page management server download first version numbering, load and show the page data;If consistent, the page data in loading of databases, preview page is generated;From download page change file, and according to the changed content included in the page change file, update the preview page.The present invention solves existing page loading technique, during each load networks page, is required to download web data, reduces loading efficiency problem.

Description

A kind of loading method of webpage, terminal device and computer-readable recording medium
Technical field
The invention belongs to network technique field, more particularly to a kind of loading method of webpage, terminal device and computer can Read storage medium.
Background technology
Webpage is widely used in industry-by-industry as one of important way to present customers product.Especially, Comprising multi-medium datas such as substantial amounts of audio, video data, lteral data and hyperlink datas in Webpage, show for user Colourful content, therefore also considerably increase the data volume downloaded during the load networks page.But existing page loading Technology, during each load networks page, it is required to from page management server just be shown after page data is fetched into local Show, because Webpage data volume is larger, the load time is long so as to result in, and reduces the efficiency of page presentation, and wave The substantial amounts of data on flows of user is taken, so as to add the cost that user checks the page.
The content of the invention
In view of this, the embodiments of the invention provide a kind of loading method of webpage, terminal device and computer-readable deposit Storage media, to solve existing page loading technique, during each load networks page, being required to from page management server will Page data is just shown after fetching local, long so as to result in the load time because Webpage data volume is larger, drop The low efficiency of page presentation, and the substantial amounts of data on flows of user is wasted, so as to add the cost that user checks the page The problem of.
The first aspect of the embodiment of the present invention provides a kind of loading method of webpage, the loading method bag of the webpage Include:
Obtain Client-initiated page load request;Wherein, the page load request includes page iden-tity;
It is corresponding to the page data if the page data matched with the page iden-tity in default database be present Page management server send version querying request, the first version returned with obtaining the page management server is numbered;
If second edition numbering of the first version numbering with the page data in the database matches, from Page data corresponding to the second edition numbering is extracted in database, generates preview page;
If the first version numbering mismatches with second edition numbering, judge in the first version numbering Whether the major version number during major version number is numbered with the second edition is consistent;
If the major version number during the major version number in the first version numbering is numbered with the second edition is inconsistent, From page data corresponding to the page management server download first version numbering, load and show the page data;
If the major version number during the major version number in the first version numbering is numbered with the second edition is consistent, plus The page data in the database is carried, generates preview page;
Issuing time to the second edition for downloading the first version numbering successively from the page management server is compiled Number issuing time between the page change file that includes, and according to the changed content included in the page change file, more The new preview page.
The second aspect of the embodiment of the present invention provides a kind of terminal device, including memory, processor and is stored in In the memory and the computer program that can run on the processor, described in the computing device during computer program Realize following steps:
Obtain Client-initiated page load request;Wherein, the page load request includes page iden-tity;
It is corresponding to the page data if the page data matched with the page iden-tity in default database be present Page management server send version querying request, the first version returned with obtaining the page management server is numbered;
If second edition numbering of the first version numbering with the page data in the database matches, from Page data corresponding to the second edition numbering is extracted in database, generates preview page;
If the first version numbering mismatches with second edition numbering, judge in the first version numbering Whether the major version number during major version number is numbered with the second edition is consistent;
If the major version number during the major version number in the first version numbering is numbered with the second edition is inconsistent, From page data corresponding to the page management server download first version numbering, load and show the page data;
If the major version number during the major version number in the first version numbering is numbered with the second edition is consistent, plus The page data in the database is carried, generates preview page;
Issuing time to the second edition for downloading the first version numbering successively from the page management server is compiled Number issuing time between the page change file that includes, and according to the changed content included in the page change file, more The new preview page.
The third aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable storage Media storage has computer program, and the computer program realizes following steps when being executed by processor:
Obtain Client-initiated page load request;Wherein, the page load request includes page iden-tity;
It is corresponding to the page data if the page data matched with the page iden-tity in default database be present Page management server send version querying request, the first version returned with obtaining the page management server is numbered;
If second edition numbering of the first version numbering with the page data in the database matches, from Page data corresponding to the second edition numbering is extracted in database, generates preview page;
If the first version numbering mismatches with second edition numbering, judge in the first version numbering Whether the major version number during major version number is numbered with the second edition is consistent;
If the major version number during the major version number in the first version numbering is numbered with the second edition is inconsistent, From page data corresponding to the page management server download first version numbering, load and show the page data;
If the major version number during the major version number in the first version numbering is numbered with the second edition is consistent, plus The page data in the database is carried, generates preview page;
Issuing time to the second edition for downloading the first version numbering successively from the page management server is compiled Number issuing time between the page change file that includes, and according to the changed content included in the page change file, more The new preview page.
Implement loading method, terminal device and the computer-readable recording medium of a kind of webpage provided in an embodiment of the present invention Have the advantages that:
The embodiment of the present invention from the database of local by when receiving Client-initiated page load request, detecting With the presence or absence of web data corresponding to the page load request, if in the presence of, recognize the need for the page data carry out more New operation, thus version querying request is sent to page management server corresponding to the page data, to obtain newest page number Numbered according to corresponding first version;Match, load with the second edition of local page data numbering if the first version is numbered The page data of local is simultaneously shown;Conversely, if first version numbering mismatches with second edition numbering, it is determined that both it Between major version number it is whether consistent,, be again if inconsistent so that it is determined that whether the general frame of two page datas consistent After being downloaded from page management server, loading operation is just performed;It is if consistent, then it represents that the difference between two versions is not Greatly, local page data can be first loaded, then the page included between two versions is downloaded from page management server and is become More file, and enter Mobile state renewal to the preview page of generation according to page change file.With existing webpage loading technique phase Than the embodiment of the present invention is not that page data is downloaded in each page loading from management of webpage server, but is inquired about first It whether there is corresponding page data in local database, if in the presence of by being extracted from local, so as to what is accelerated The loading speed of page data, decrease the consumption of flow.On the other hand, page data has occurred and that the situation of change, eventually After the pre-loaded local page data of end equipment, then the webpage change text corresponding to download from management of webpage server successively Part, dynamically preview page is updated, therefore by way of above-mentioned incremental update, consumed when can not only reduce loading page Flow, moreover it is possible to ensure loading the page keep latest edition state, also further increase the page loading efficiency.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art In the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description be only the present invention some Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Accompanying drawing obtains other accompanying drawings.
Fig. 1 is a kind of implementation process figure of the loading method for webpage that first embodiment of the invention provides;
Fig. 2 is a kind of loading method S106 for webpage that second embodiment of the invention provides specific implementation flow chart;
Fig. 3 is a kind of specific implementation flow chart of the loading method for webpage that third embodiment of the invention provides;
Fig. 4 is a kind of specific implementation flow chart of the loading method for webpage that fourth embodiment of the invention provides;
Fig. 5 is a kind of loading method S106 for webpage that fifth embodiment of the invention provides specific implementation flow chart;
Fig. 6 is a kind of structured flowchart of the loading terminal for webpage that one embodiment of the invention provides;
Fig. 7 is a kind of schematic diagram for terminal device that one embodiment of the invention provides.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
The embodiment of the present invention from the database of local by when receiving Client-initiated page load request, detecting With the presence or absence of web data corresponding to the page load request, if in the presence of, recognize the need for the page data carry out more New operation, thus version querying request is sent to page management server corresponding to the page data, to obtain newest page number Numbered according to corresponding first version;Match, load with the second edition of local page data numbering if the first version is numbered The page data of local is simultaneously shown;Conversely, if first version numbering mismatches with second edition numbering, it is determined that both it Between major version number it is whether consistent,, be again if inconsistent so that it is determined that whether the general frame of two page datas consistent After being downloaded from page management server, loading operation is just performed;It is if consistent, then it represents that the difference between two versions is not Greatly, local page data can be first loaded, then the page included between two versions is downloaded from page management server and is become More file, and enter Mobile state renewal to the preview page of generation according to page change file, solve existing page loading skill Art, during each load networks page, it is required to from page management server just be shown after page data is fetched into local, Because Webpage data volume is larger, the load time is long so as to result in, and reduces the efficiency of page presentation, and waste The substantial amounts of data on flows of user, so as to add the problem of user checks the cost of the page.
In embodiments of the present invention, the executive agent of flow is the loading terminal of webpage, and terminal device includes mobile phone, calculated The terminals such as machine equipment, tablet personal computer, server, especially, the terminal device are specially a mobile terminal, pass through radio communication mold Block is communicated with management of webpage server, obtains interaction data related to webpage in management of webpage server, especially, should A database is provided with terminal device, for storing the web data browsed.Fig. 1 shows that first embodiment of the invention provides Webpage loading method implementation process figure, details are as follows:
In S101, Client-initiated page load request is obtained;Wherein, the page load request includes page mark Know.
In the present embodiment, user can trigger page by clicking on corresponding button or region on terminal device display module Face loads flow, and in this case, terminal device identifies the button clicked on according to user or area coordinate determines user's need The page data to be loaded, generate and obtain the page load request, and the page mark for the page data that user is needed to load Knowledge is packaged in page load request.
In the present embodiment, user can also send page load request by user terminal to terminal device.For example, eventually End equipment is a page projector equipment, the interior database provided with storing page data, and user exports the page by hand-held remote controller Page number corresponding to data, and the numbering is sent to projector equipment, then projector equipment matches from the database of local Page data corresponding to the page number, realize the purpose of page loading.Certainly, the user terminal is in addition to hand-held remote controller, Can also be the mobile terminals such as mobile phone, tablet personal computer.
In the present embodiment, page iden-tity includes but is not limited to:Page number, page link, page network address etc..It is special Not, if user initiates page load request by clicking on mobile terminal touch modules, the page iden-tity can be user The position coordinates clicked on terminal device display interface, then determine that user needs the page loaded according to the position coordinates.
In S102, if the page data matched with the page iden-tity in default database be present, to the page Page management server corresponding to the data of face sends version querying request, to obtain the first of the page management server return Start context.
In the present embodiment, for terminal device after the page load request of user is got, then extracting page loading please The page iden-tity included in asking, and inquire about with the presence or absence of the page data matched with the page iden-tity in default database, if The page data matched with page iden-tity in default database be present, then perform S102 associative operation;It is if conversely, default It is not present and the unmatched page data of page iden-tity in database, then it represents that user not browses or loaded the page number According to then directly downloading the page data from page management server and shown.
In the present embodiment, terminal device is stored with the page data of the opened or browsed Webpage of user, and For each page data set corresponding to page iden-tity, and generate page iden-tity list.Terminal device inquires about page iden-tity row It whether there is the page iden-tity included in the page load request in table, if in the presence of, it is determined that the page of page iden-tity instruction Page management server corresponding to data, then generate a version querying comprising page iden-tity and ask, by the version querying Request is sent to the page management server.
In the present embodiment, page management server will extract the version querying after version querying request is received The page iden-tity included in request, and corresponding page data is determined according to the page iden-tity, then by the page data Corresponding first version numbering is packaged in Query Result, and Query Result is returned into terminal device.It should be noted that should First version numbering is the newest start context of page data.
In S1031, if the second edition of the first version numbering with the page data in the database is compiled Number matching, then second edition numbering is extracted from database corresponding to page data, generate preview page.
In the present embodiment, terminal device, will be with after the first version numbering of page management server return is received Page data corresponds to second edition numbering and matched in local data base;If two start context matchings, then it represents that local Page data is the newest page data of version, without carrying out any renewal to the page data or re-downloading operation, is directly added The page data in the database is carried, and generates preview page;Conversely, if first version number and the page data are in local data The second edition number in storehouse mismatches, then it represents that local page data and non-current page data are, it is necessary to keep display Data are synchronous with page data holding newest in page management server, therefore then perform S1032 associative operation.
In S1032, if first version numbering mismatches with second edition numbering, the first edition is judged Whether the major version number during the major version number in this numbering is numbered with the second edition is consistent.
In the present embodiment, the start context of page data is made up of major version number and sub-version number, different key plate sheets The display effect of page data between number differs greatly, and is related to page layout and framework, page IU designs, the link in the page Deng the change for influenceing overall page;And the display effect difference of the page data between different sub-version numbers is smaller, such as picture Change, the optimization of font, the adjustment of background music etc..Therefore, if terminal device is getting first version numbering and second After start context is inconsistent, then judge whether the major version number between first version numbering and second edition numbering is consistent, from And determine the need for re-downloading Webpage data.
Illustratively, first version numbering is V3.28, and wherein major version number is V3, sub-version number 28, and the second edition Numbering is V3.22, and wherein major version number is V3, sub-version number 22, it is seen then that although first version numbering is numbered with the second edition Mismatch, but major version number between the two is consistent, therefore perform S105 associative operation;If second edition numbering is V2.02, then major version number between the two is inconsistent, then performs S104 associative operation.
Alternatively, in the present embodiment, terminal device is detecting that first version numbering and first version numbering are inconsistent Afterwards, can be loaded directly into page data, generate preview page, and detect current network conditions whether with default data download environment Matching, if current network conditions match with default data download environment, downloading from the background, the first version numbering is corresponding Web data, after the download is complete, update the preview page.
In S104, if the major version number in first version numbering and the major version number in second edition numbering It is inconsistent, then from page data corresponding to the page management server download first version numbering, load and show this Page data.
In the present embodiment, terminal device determines the major version number of the major version number of first version number and the second edition number not Unanimously, then it represents that the difference degree of the web data in the web data and local data base of latest edition is larger, if directly adding The web data for carrying local data base simultaneously generates preview page, it would be possible to which certain partial page function and user's operation can not be by Page management server normal response, in this case, it is right that terminal device will download first version number from page management server The page data answered, with the page data that build version is newest.
Alternatively, after S104, the page data that terminal device obtains download replaces the page in default database Page data corresponding to the mark of face, to carry out data renewal to default database, if user repeatedly accesses in a short time The Webpage, also directly read and load from the database of local, operation is downloaded without repeating.
Specifically, terminal device sends a page data download request to page management server, wherein comprising described The page iden-tity of page data to be loaded, page management server return web data bag corresponding to first version numbering Back to terminal device.Alternatively, the second edition number can also be packaged in page data download request by terminal device, page pipe The change data between Liang Ge version numbers will be determined, and will change from according to first version number and the second edition by managing server Data are sent to terminal device, and terminal device is adjusted based on the change data to the page data of local, after adjustment The page data is reloaded, generates preview page.
In S105, if the major version number in first version numbering and the major version number in second edition numbering Unanimously, then the page data in the database is loaded, generates preview page.
In the present embodiment, terminal device determines the major version number of first version number and the major version number one of the second edition number Cause, then it represents that the difference degree of the web data in the web data and local data base of latest edition is smaller, can load local The web data of database and after generating preview page, is updated in dynamic to the preview page so that current page with The Webpage of latest edition is consistent.
It should be noted that in the present embodiment, the operation and S106 operation for generating preview page are synchronously carried out, That is terminal device will obtain the page change file while loading page data from page management server.
In S106, the issuing time of first version numbering is downloaded successively from the page management server to the The page change file included between the issuing time of two start contexts, and according to the change included in the page change file Content, update the preview page.
In the present embodiment, terminal device, will be successively from page management service in order to update the preview page currently shown The page change file that includes between first version numbering and second edition numbering is fetched in device, specifically, whenever having received Into a page change file, the data included to preview page are subjected to once renewal and operated, then when second change text After the completion of part is downloaded, operation will be updated to the page of preview again, and realize the process of dynamic renewal, it is necessary to illustrate, Down operation is carried out by two independent threads respectively with renewal operation, that is, is downloaded after completing a page change file, will be same Shi Zhihang downloads next page change file and loads the operation of this page change file, so as to further increase page The renewal rate in face.
Alternatively, in the present embodiment, terminal device can be according to corresponding to numbering first version and the second edition is numbered The time is generated, is the page that this needs is downloaded it is determined that generating the page change file included between the time in above-mentioned two Change file.Terminal device can download each page change file successively according to the precedence of generation time.
In the present embodiment, terminal device will be extracted in the page change file after completion page change file is downloaded Comprising change data and the change data corresponding to data area, by the change data replace page data in corresponding data The data in region, realize that dynamic updates.Especially, will be run after being loaded due to page data in internal memory, therefore terminal device Data will be changed and replace the page data that runs in internal memory, and and the page data in non-replaced default database.
Above as can be seen that a kind of loading method of webpage provided in an embodiment of the present invention receives user's initiation by working as The page load request when, from local database in detect whether web data corresponding to the page load request be present, if In the presence of, then recognize the need for be updated operation to the page data, thus taken to page management corresponding to the page data Business device sends version querying request, is numbered with obtaining first version corresponding to newest page data;If the first version number with The second edition numbering matching of local page data, then load local page data and shown;If conversely, first version Numbering mismatches with second edition numbering, it is determined that whether major version number between the two is consistent, so that it is determined that two page numbers According to general frame it is whether consistent, if inconsistent, after being downloaded again from page management server, just perform loading Operation;If consistent, then it represents that the difference between two versions is little, can first load local page data, then from page pipe The page change file included between two versions, and the preview page according to page change file to generation are downloaded in reason server Mobile state renewal is entered in face.Compared with existing webpage loading technique, the embodiment of the present invention is not each page loading from webpage Page data is downloaded in management server, but inquires about whether there is corresponding page data in local database first, if In the presence of then by being extracted from local, so as to the loading speed of page data accelerated, decreasing the consumption of flow. On the other hand, page data has occurred and that the situation of change, after the pre-loaded local page data of terminal device, then successively from Webpage change file corresponding to being downloaded in management of webpage server, is dynamically updated, therefore pass through above-mentioned increasing to preview page The mode of renewal is measured, the flow consumed during loading page can not only be reduced, moreover it is possible to ensures that the page of loading keeps latest edition State, also further increase the efficiency of page loading.
Fig. 2 shows a kind of loading method S106 for webpage that second embodiment of the invention provides specific implementation flow Figure.Shown in Figure 2, relative to embodiment described in Fig. 1, S106 includes in a kind of loading method for webpage that the present embodiment provides S201 to S203, specific details are as follows:
Further, the changed content includes new content, deletes content and replaces content;It is described according to the page The changed content included in the change file of face, the preview page is updated, including:
In S201, if the changed content is new content, according to corresponding to increasing data newly in the new content Viewing area, the position of page data in the preview page is adjusted, and the newly-increased data are loaded on into the viewing area It is interior.
In the present embodiment, the changed content included in page change file includes three types, respectively new content, Content and changed content are deleted, one or at least two changed contents can be included in a page change file, and it is different The type of changed content can be the same or different.Terminal device is by according in the change included in page change file Hold, the page data of corresponding region in preview page is updated respectively.
Specifically, if changed content is new content, the new content will include new added pages data and this is increased newly Viewing area corresponding to page data, especially, also comprising each display content in original page data more in new content Viewing area position in new page.First, terminal device updates each display content and the corresponding pass of its viewing area position System, then it is added to by newly-increased display content in page data, so as to realize the renewal operation to new content.
In the present embodiment, terminal device can perform page furbishing operation automatically, realize to preview page after renewal The display content in face is updated.Especially, if being included in page data in multiple pages, such as the H5 pages by multiple different Subpage frame is formed, and terminal device will show a certain subpage frame in the H5 pages, in this case, terminal device is first to other subpages Face is updated operation, after the subpage frame that user's switching is currently shown, then the subpage frame is updated, so as to be returned in user When returning the subpage frame, newest Webpage is displayed that.
In S202, if the changed content is deletion content, page data corresponding to the deletion content is deleted, and Adjust the position of remaining page data in the preview page.
In the present embodiment, if changed content is deletes content, the deletion content by comprising data to be deleted and Regional location corresponding to the data to be deleted, such as field scope, terminal device will be according to the regional location positioning webpage numbers The content to be deleted in, and the data content in the regional location is deleted from page data, and it is corresponding to update display content Display location, realize adjustment preview page in remaining page data position purpose.
In the present embodiment, it can be continuous or discontinuous to delete content, that is, shows as a deletion area Domain and multiple deletion regions, relatively, in the case of content is deleted comprising multiple deletion regions, terminal device can be gradually right Each data for deleting region carry out deletion action, can also position simultaneously after, are uniformly deleted.
In S203, if the changed content to replace content, is replaced using page data corresponding to the replacement content Change in the preview page and correspond to the page data of viewing area.
In the present embodiment, if changed content is replaces content, the replacement content by comprising data to be replaced and The corresponding position coordinates for being replaced data, terminal device will be positioned in page data according to the position coordinates and be replaced Data, then delete this and be replaced data and the replacement data that includes in content will be replaced and be added to corresponding position coordinates, To change the display content of correspondence position in preview page.
In embodiments of the present invention, according to the different type of changed content, different change operations is performed, so as to realize pair Page data newly such as is increased, deleted and replaced at the operation, improves the scope of application of the loading method of the page, and dynamic is more New purpose.
Fig. 3 shows a kind of specific implementation flow chart of the loading method for webpage that second embodiment of the invention provides.Ginseng As shown in Figure 3, also include relative to embodiment described in Fig. 1, in a kind of loading method for webpage that the present embodiment provides S301 with And S302, it is specific that details are as follows:
Further, after the acquisition Client-initiated page load request, in addition to:
In S301, if the page data that is matched with the page iden-tity is not present in default database, from described Page data corresponding to the page iden-tity is downloaded in page management server, and preview page is generated according to the page data Face.
In the present embodiment, if the page data matched with the page iden-tity is not present in default local data base, Then represent the user and open or browse the page on mobile terminals, be that user loads the page data first, thus it is default Database in there will be no matching page data.In this case, terminal device will generate a page data and obtain Instruction fetch, to download page data corresponding to the page iden-tity from page management server.
Alternatively, in the present embodiment, terminal device can also be according to Client-initiated page load request, it is determined that and page The association page corresponding to the mark of face, while page data corresponding to page iden-tity is downloaded, download the page number of the association page According to, wherein, the association page is other page datas larger with page data relevance.Such as most of user is opening first After the page, second page is opened in default time interval, in this case, page management server will be by two pages Between incidence coefficient carry out plus 1 operation, if the numerical value of the incidence coefficient is more than default correlation threshold, identify above-mentioned two The page belongs to the association page.So as to which user only needs to wait for the downloading process of a page data, you can while browse and the page Other pages of association, improve the page browsing efficiency of user.Especially, it can be to be included in the page data to associate the page Hyperlink corresponding to the page.
In the present embodiment, in page data storage and memory modules of the terminal device directly by download, and loaded Operated with display, therefore the page data is not stored in the local data base of terminal device, in order to enter to the page data Row preserves, and will perform S302 correlation after page data is shown, that is, after detecting the instruction of Client-initiated page close Operation.
In S302, if receiving the instruction of Client-initiated page close, the data included according to the page data Amount, memory space corresponding with the data volume is distributed in the database, and the page data is stored in described deposit Store up in space, and establish the memory space and the corresponding relation of page iden-tity.
In the present embodiment, user can then generate a page close instruction, on exiting after browsing and finishing the page The preview page of generation is stated, carries out other operations.Therefore, if terminal device detects that user initiates page close instruction, and should Page data corresponding to page close instruction is not stored in default database, then performs S302 operation.
In the present embodiment, terminal device will in default database, establish an independent memory space with comprising The page data, therefore the size of memory space will be determined according to the data volume of current page data, certainly, memory space Size can be equal with the data volume of page data, can also be more than page data data volume, to ensure certain surplus To store data are changed corresponding to the page data.For example, the data volume of a certain page data is 10MB, and default storage ratio Example be 150%, therefore, terminal device will according to corresponding to the default stored ratio determines the data volume memory space, be 15MB。
In the present embodiment, terminal device is after there is provided corresponding memory space, the webpage number that will be run from internal memory According to storing to the memory space, and according to the page iden-tity extracted in S101, the page iden-tity and memory space are established Mapping relations, when being read so as to next time, directly obtain the page data of the memory space.
Alternatively, in the present embodiment, can be according to the loading of each page data if memory space inadequate in database Number, release loading number is minimum and browses the memory space of the one or more page datas of date earliest, to preserve this The page data of download.
In embodiments of the present invention, the page data browsed first by preservation, the page quantity in abundant data storehouse, from And during the page of later stage user opening correlation, the page can be quickly loaded, improves the speed of user's browsing pages.
Fig. 4 shows a kind of specific implementation flow chart of the loading method for webpage that fourth embodiment of the invention provides.Ginseng As shown in Figure 4, from described described in a kind of loading method of the webpage provided relative to the embodiments of Fig. 1 to 3, the present embodiment Page data corresponding to the page management server download first version numbering, loads and shows the page data, also include S401~S403, and the loading method of the page also includes S404, and details are as follows:
It is further, described to download page data corresponding to the first version numbering from the page management server, Load and show the page data, in addition to:
In S401, judge that current network state downloads whether network state matches with default data.
In the present embodiment, terminal device exists in local data base is detected and matched with the page load request of user Page data, when the page data version it is older need re-downloaded operation when, in order to avoid download page data disappear Excessive flow is consumed, will detect whether current network state matches with default data download network state, so as to judge to be It is no to need to be downloaded page data operation by current network state.
Specifically, it can be to be connected with WIFI wireless communication status or wire communication that the default data, which download network state, State, in such a case it is possible to page data corresponding to first version numbering is downloaded by WIFI network or cable network, and The mobile communication flow of terminal device is not consumed.Therefore, if current network state downloads network state with default data Match somebody with somebody, then directly perform from page data corresponding to the page management server download first version numbering, load and show Show the page data;Conversely, if current network state mismatches with default download network state, S402 correlation is performed Operation.
In the present embodiment, default data are downloaded network state and can be configured by the demand according to user.Certainly, User is prompted before can also being arranged on progress page data download, by playing the related prompting mode such as frame or notice, is informed Subscriber terminal equipment will carry out the down operation of page data, after the download determine instruction of user's return is received, just hold Page data corresponding to row from the page management server download first version numbering, loads and shows the page data Operation.
In S402, mismatched if current network state downloads network state with default data, obtain current stream Measure Expenditure Levels.
In the present embodiment, mismatched if the current network state of terminal device and default data download network state, Then terminal device will be downloaded by the mobile data network of the machine to page data, therefore will obtain working as the mobile terminal Preceding flow Expenditure Levels.Specifically, traffic statistics application is provided with terminal device local, in this case, terminal device is direct By reading corresponding flow reading in flow statistics application, to obtain present flow rate Expenditure Levels;Terminal device can also be to stream Server transmitted traffic inquiry request corresponding to supplier is measured, so that server returns to present flow rate consumption corresponding to terminal device Situation.
In the present embodiment, consumption scope is preset with terminal device, if the current Expenditure Levels are in the consumption scope It is interior, then perform S403 associative operation;If conversely, the current Expenditure Levels outside the consumption scope, perform S404 phase Close operation.
Alternatively, in the present embodiment, the numerical value of the consumption scope enters Mobile state adjustment according to current date.Such as user Terminal device this month can consumed flow be 300MB, then it represents that consumption estimated daily is 10MB, therefore, currently The first day, default consumption scope was 10MB, and of that month 20th day default consumption scope is 200MB.
In S403, if present flow rate Expenditure Levels in the range of default consumption, from the page management server Page data corresponding to downloading the first version numbering, loads and shows the page data.
In the present embodiment, terminal device if it is determined that present flow rate Expenditure Levels in the range of default consumption, then it represents that There is terminal device sufficient mobile network data can use, therefore by under current network state, be taken from page management Page data corresponding to business device download first version numbering, after download, will load and shows the page data, generation is pre- Look at the page.
Alternatively, in the present embodiment, if terminal device detects that current network state changes, return and perform S401 correlation step, if so as to which the network state after change meets that default data download network state, switch to data Download port corresponding to downloading network state continues to download the page data, and the data cases downloaded are returned into page pipe Server is managed, so that page management server continues to send the page data not received, the situation for avoiding repeating to receive occurs.
Further, the loading method of the page also includes:
In S404, if present flow rate Expenditure Levels load the institute in the database outside default consumption scope Page data is stated, generates the preview page.
In the present embodiment, terminal device is detecting present flow rate Expenditure Levels outside default consumption scope, then table Show that the utilizable flow of present terminal equipment has been not enough to support the down operation of this page data, can if being downloaded operation It can consume extra campus network.Therefore, avoiding the amount of money outside user's amount paid, terminal device can extract in local data base Page data corresponding to the page iden-tity, and loading operation is carried out, preview page corresponding to generation, so that user enters to the page Row preview.
Alternatively, in this case, due to the preview page of page data generation and the preview page of latest edition of local Face is larger difference be present, and possible partial function is deleted or connection has been removed, i.e., when user clicks on corresponding region, clothes Business device can not correctly return to corresponding data and be given to terminal device, therefore, the occurrence of in order to avoid this, in the aobvious of the S404 Show under pattern, user can only browse the preview page, and service can not be interacted by the page.
In embodiments of the present invention, by the current network conditions and flow Expenditure Levels of detection terminal equipment, avoid User consumes substantial amounts of flow because carrying out page loading operation, user's extra-pay is added, so as to reduce user The wind direction of unconscious consumption.
Fig. 5 shows a kind of loading method S106 for webpage that fifth embodiment of the invention provides specific implementation flow Figure.Shown in Figure 5, relative to embodiment described in Fig. 1, a kind of loading method S106 for webpage that the present embodiment provides also includes Following steps, details are as follows:
Further, the issuing time for downloading the first version numbering successively from the page management server To the page change file included between the issuing time of second edition numbering, including:
In S501, the sub-version number and the second edition that are included according to first version numbering number what is included Version difference between sub-version number, determine the number of files of the page change file;Wherein, the version difference and the text Number of packages is equal.
In the present embodiment, terminal device first version numbering and second edition numbering include major version number and sub- version This number, in the case of terminal device determines major version number identical, it will obtain two child releases from page management server and compile Page change file between number, wherein, the sub-version number and the second edition that the quantity of page change file is numbered by first version Version difference between the sub-version number of this numbering determines.Illustratively, first version numbering is V3.12, and the second edition is compiled Number be V3.09, then the difference between the sub- version number of the sub-version number of first version numbering and second edition numbering is 12-9=3, Then need to download 3 page change files.
In the present embodiment, it is determined that after the quantity of page change file, then it can determine that each page change file is corresponding Start context, operation is then downloaded from page management server by the start context of page change file.Continue It is illustrated by above-mentioned example, due to including 3 page change files between two versions, then first page change file To make page data be changed to V3.10 by V3.09, then the start context of the page change file is V3.10, by that analogy, then 3 Individual page change file is respectively V3.10, V3.11 and V3.12.
In embodiments of the present invention, by calculating the difference between two sub-version numbers, so that it is determined that needing the page downloaded Face change file number, realizes the renewal to preview page.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment Execution sequence should determine that the implementation process without tackling the embodiment of the present invention forms any limit with its function and internal logic It is fixed.
Fig. 6 shows a kind of structured flowchart of the loading terminal for webpage that one embodiment of the invention provides, and the webpage adds The each unit that mounted terminal includes is used to perform each step in embodiment corresponding to Fig. 1.Referring specifically to corresponding to Fig. 1 and Fig. 1 Embodiment in associated description.For convenience of description, it illustrate only part related to the present embodiment.
Referring to Fig. 6, the loading terminal of the webpage includes:
Page load request acquiring unit 61, for obtaining Client-initiated page load request;Wherein, the page adds Carry request bag and contain page iden-tity;
First version numbering acquiring unit 62, if for the page matched with the page iden-tity in default database be present Face data, then version querying request is sent to page management server corresponding to the page data, to obtain the page pipe Manage the first version numbering that server returns;
Local page loading unit 631, if for first version numbering with the page data in the database In second edition numbering matching, then second edition numbering is extracted from database corresponding to page data, generate preview The page;
Major version number matches unit 632, if for first version numbering with the page data in the database In second edition numbering mismatch, then judge major version number in first version numbering with second edition numbering Major version number it is whether consistent;
Execution unit 64 is re-downloaded, if the major version number in being numbered for the first version is numbered with the second edition In major version number it is inconsistent, then download page data corresponding to first version numbering from the page management server, Load and show the page data;
First preview page generation unit 65, if major version number and the second edition in being numbered for the first version Major version number in this numbering is consistent, then loads the page data in the database, generates preview page;
Preview page updating block 66, for downloading the first version numbering successively from the page management server The issuing time numbered to the second edition of issuing time between the page change file that includes, and text is changed according to the page The changed content included in part, update the preview page.
Alternatively, the changed content includes new content, deletes content and replaces content;The preview page renewal Unit 66, including:
New content updating block, if being new content for the changed content, according to new in the new content Viewing area corresponding to increasing data, adjusts the position of page data in the preview page, and the newly-increased data are loaded on In the viewing area;
Content update unit is deleted, if it is corresponding to delete the deletion content to delete content for the changed content Page data, and adjust the position of remaining page data in the preview page;
Content update unit is replaced, if for the changed content to replace content, it is corresponding using the replacement content Page data replace the page data that viewing area is corresponded in the preview page.
Alternatively, the loading terminal of the page also includes:
Page data download unit, if for the page number matched with the page iden-tity to be not present in default database According to, then page data corresponding to the page iden-tity is downloaded from the page management server, and according to the page data Generate preview page;
Page data memory cell, if for receiving the instruction of Client-initiated page close, according to the page number According to comprising data volume, distribute corresponding with data volume memory space in the database, and by the page data It is stored in the memory space, and establishes the memory space and the corresponding relation of page iden-tity.
Alternatively, it is described to re-download execution unit 64, in addition to:
Network state identifying unit, for judge current network state and default data download network state whether Match somebody with somebody;
Flow Expenditure Levels acquiring unit, if not downloading network state not for current network state and default data Match somebody with somebody, then obtain present flow rate Expenditure Levels;
Page data loading unit, if for present flow rate Expenditure Levels in the range of default consumption, from the page Page data corresponding to the face management server download first version numbering, loads and shows the page data;
The loading terminal of the page also includes:
Second preview page generation unit, if being loaded for present flow rate Expenditure Levels outside default consumption scope The page data in the database, generates the preview page.
Alternatively, the preview page updating block 66, in addition to:
Page change file determining unit, for according to the first version sub-version number that includes of numbering and described the Version difference between the sub-version number that two start contexts include, determine the number of files of the page change file;Wherein, it is described Version difference is equal with the number of files.
Therefore, the loading terminal client of webpage provided in an embodiment of the present invention, which again may be by working as, receives user's initiation The page load request when, from local database in detect whether web data corresponding to the page load request be present, if In the presence of, then recognize the need for be updated operation to the page data, thus taken to page management corresponding to the page data Business device sends version querying request, is numbered with obtaining first version corresponding to newest page data;If the first version number with The second edition numbering matching of local page data, then load local page data and shown;If conversely, first version Numbering mismatches with second edition numbering, it is determined that whether major version number between the two is consistent, so that it is determined that two page numbers According to general frame it is whether consistent, if inconsistent, after being downloaded again from page management server, just perform loading Operation;If consistent, then it represents that the difference between two versions is little, can first load local page data, then from page pipe The page change file included between two versions, and the preview page according to page change file to generation are downloaded in reason server Mobile state renewal is entered in face.Compared with existing webpage loading technique, the embodiment of the present invention is not each page loading from webpage Page data is downloaded in management server, but inquires about whether there is corresponding page data in local database first, if In the presence of then by being extracted from local, so as to the loading speed of page data accelerated, decreasing the consumption of flow. On the other hand, page data has occurred and that the situation of change, after the pre-loaded local page data of terminal device, then successively from Webpage change file corresponding to being downloaded in management of webpage server, is dynamically updated, therefore pass through above-mentioned increasing to preview page The mode of renewal is measured, the flow consumed during loading page can not only be reduced, moreover it is possible to ensures that the page of loading keeps latest edition State, also further increase the efficiency of page loading.
Fig. 7 is a kind of schematic diagram for terminal device that another embodiment of the present invention provides.As shown in fig. 7, the embodiment Terminal device 7 includes:Processor 70, memory 71 and it is stored in the memory 71 and can be transported on the processor 70 Capable computer program 72, such as the loading procedure of the page.The processor 70 is realized when performing the computer program 72 State the step in the loading method embodiment of each page, such as the S101 to S106 shown in Fig. 1.Or the processor 70 Realize the function of each unit in above-mentioned each device embodiment when performing the computer program 72, for example, module 61 shown in Fig. 6 to 66 functions.
Exemplary, the computer program 72 can be divided into one or more units, one or more of Unit is stored in the memory 71, and is performed by the processor 70, to complete the present invention.One or more of lists Member can complete the series of computation machine programmed instruction section of specific function, and the instruction segment is used to describe the computer journey Implementation procedure of the sequence 72 in the terminal device 7.For example, the computer program 72 can be divided into page load request Acquiring unit, first version numbering acquiring unit, local page loading unit, major version number matches unit, re-download and perform list Member, the first preview page generation unit and preview page updating block, each unit concrete function are as follows:
Page load request acquiring unit, for obtaining Client-initiated page load request;Wherein, the page loading Request bag contains page iden-tity;
First version numbering acquiring unit, if for the page matched with the page iden-tity in default database be present Data, then version querying request is sent to page management server corresponding to the page data, to obtain the page management The first version numbering that server returns;
Local page loading unit, if for first version numbering and the page data in the database Second edition numbering matching, then page data corresponding to the second edition numbering, generation preview page are extracted from database;
Major version number matches unit, if for first version numbering and the page data in the database Second edition numbering mismatches, then judges the major version number in the first version numbering and the master in second edition numbering Whether version number is consistent;
Execution unit is re-downloaded, if during the major version number in being numbered for the first version is numbered with the second edition Major version number it is inconsistent, then from the page management server download first version numbering corresponding to page data, add Carry and show the page data;
First preview page generation unit, if major version number and the second edition in being numbered for the first version Major version number in numbering is consistent, then loads the page data in the database, generates preview page;
Preview page updating block, for downloading the first version numbering successively from the page management server The page change file included between the issuing time that issuing time is numbered to the second edition, and according to the page change file In the changed content that includes, update the preview page.
The terminal device 7 can be that the calculating such as desktop PC, notebook, palm PC and cloud server are set It is standby.The terminal device may include, but be not limited only to, processor 70, memory 71.It will be understood by those skilled in the art that Fig. 7 The only example of terminal device 7, the restriction to terminal device 7 is not formed, can included than illustrating more or less portions Part, some parts or different parts are either combined, such as the terminal device can also include input-output equipment, net Network access device, bus etc..
Alleged processor 70 can be CPU (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
The memory 71 can be the internal storage unit of the terminal device 7, such as the hard disk of terminal device 7 or interior Deposit.The memory 71 can also be the External memory equipment of the terminal device 7, such as be equipped with the terminal device 7 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, dodge Deposit card (Flash Card) etc..Further, the memory 71 can also both include the storage inside list of the terminal device 7 Member also includes External memory equipment.The memory 71 is used to store needed for the computer program and the terminal device Other programs and data.The memory 71 can be also used for temporarily storing the data that has exported or will export.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated module/unit realized in the form of SFU software functional unit and as independent production marketing or In use, it can be stored in a computer read/write memory medium.Based on such understanding, the present invention realizes above-mentioned implementation All or part of flow in example method, by computer program the hardware of correlation can also be instructed to complete, described meter Calculation machine program can be stored in a computer-readable recording medium, and the computer program can be achieved when being executed by processor The step of stating each embodiment of the method..Wherein, the computer program includes computer program code, the computer program Code can be source code form, object identification code form, executable file or some intermediate forms etc..Computer-readable Jie Matter can include:Can carry any entity or device of the computer program code, recording medium, USB flash disk, mobile hard disk, Magnetic disc, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It is it should be noted that described The content that computer-readable medium includes can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice Subtract, such as in some jurisdictions, electric carrier signal and electricity are not included according to legislation and patent practice, computer-readable medium Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality Example is applied the present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed Or replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme, all should Within protection scope of the present invention.

Claims (10)

  1. A kind of 1. loading method of webpage, it is characterised in that including:
    Obtain Client-initiated page load request;Wherein, the page load request includes page iden-tity;
    If the page data matched with the page iden-tity in default database be present, to page corresponding to the page data Face management server sends version querying request, and the first version returned with obtaining the page management server is numbered;
    If second edition numbering of the first version numbering with the page data in the database matches, from data Page data corresponding to the second edition numbering is extracted in storehouse, generates preview page;
    If the first version numbering mismatches with second edition numbering, the major version number in the first version numbering is judged Whether the major version number in being numbered with the second edition is consistent;
    If the major version number during the major version number in the first version numbering is numbered with the second edition is inconsistent, from institute Page data corresponding to stating the page management server download first version numbering, loads and shows the page data;
    If the major version number during the major version number in the first version numbering is numbered with the second edition is consistent, institute is loaded The page data in database is stated, generates preview page;
    Download what the issuing time that the first version is numbered was numbered to the second edition successively from the page management server The page change file included between issuing time, and according to the changed content included in the page change file, update institute State preview page.
  2. 2. loading method according to claim 1, it is characterised in that the changed content is including in new content, deletion Hold and replace content;It is described that the preview page is updated according to the changed content included in the page change file, wrap Include:
    If the changed content is new content, the viewing area according to corresponding to increasing data newly in the new content, adjustment The position of page data in the preview page, and the newly-increased data are loaded in the viewing area;
    If the changed content deletes page data corresponding to the deletion content, and adjust the preview to delete content The position of remaining page data in the page;
    If the changed content replaces the preview page to replace content, using page data corresponding to the replacement content The page data of middle corresponding viewing area.
  3. 3. loading method according to claim 1, it is characterised in that also include:
    If the page data matched with the page iden-tity is not present in default database, from the page management server It is middle to download page data corresponding to the page iden-tity, and preview page is generated according to the page data;
    If receive the instruction of Client-initiated page close, the data volume included according to the page data, in the data Memory space corresponding with the data volume is distributed in storehouse, and the page data is stored in the memory space, and is built Found the memory space and the corresponding relation of page iden-tity.
  4. 4. according to the loading method described in claim 1-3, it is characterised in that described to download institute from the page management server Page data corresponding to stating first version numbering, loads and shows the page data, in addition to:
    Judge that current network state downloads whether network state matches with default data;
    If current network state is downloaded network state with default data and mismatched, present flow rate Expenditure Levels are obtained;
    If present flow rate Expenditure Levels download the first edition in the range of default consumption, from the page management server Page data corresponding to this numbering, load and show the page data;
    The loading method also includes:
    If present flow rate Expenditure Levels load the page data in the database outside default consumption scope, raw Into the preview page.
  5. 5. loading method according to claim 1, it is characterised in that it is described from the page management server successively under Carry the page change file included between the issuing time that the issuing time that the first version is numbered is numbered to the second edition, bag Include:
    Between the sub-version number that the sub-version number and second edition numbering included according to first version numbering includes Version difference, determine the number of files of the page change file;Wherein, the version difference is equal with the number of files.
  6. 6. a kind of terminal device, it is characterised in that the terminal device includes memory, processor and is stored in the storage Realized in device and the computer program that can run on the processor, described in the computing device during computer program as follows Step:
    Obtain Client-initiated page load request;Wherein, the page load request includes page iden-tity;
    If the page data matched with the page iden-tity in default database be present, to page corresponding to the page data Face management server sends version querying request, and the first version returned with obtaining the page management server is numbered;
    If second edition numbering of the first version numbering with the page data in the database matches, from data Page data corresponding to the second edition numbering is extracted in storehouse, generates preview page;
    If the first version numbering mismatches with second edition numbering, the key plate in the first version numbering is judged Whether this number consistent with the major version number in second edition numbering;
    If the major version number during the major version number in the first version numbering is numbered with the second edition is inconsistent, from institute Page data corresponding to stating the page management server download first version numbering, loads and shows the page data;
    If the major version number during the major version number in the first version numbering is numbered with the second edition is consistent, institute is loaded The page data in database is stated, generates preview page;
    Download what the issuing time that the first version is numbered was numbered to the second edition successively from the page management server The page change file included between issuing time, and according to the changed content included in the page change file, update institute State preview page.
  7. 7. terminal device according to claim 6, it is characterised in that the changed content is including in new content, deletion Hold and replace content;It is described that the preview page is updated according to the changed content included in the page change file, wrap Include:
    If the changed content is new content, the viewing area according to corresponding to increasing data newly in the new content, adjustment The position of page data in the preview page, and the newly-increased data are loaded in the viewing area;
    If the changed content deletes page data corresponding to the deletion content, and adjust the preview to delete content The position of remaining page data in the page;
    If the changed content replaces the preview page to replace content, using page data corresponding to the replacement content The page data of middle corresponding viewing area.
  8. 8. terminal device according to claim 6, it is characterised in that described in the computing device during computer program also Realize following steps:
    If the page data matched with the page iden-tity is not present in default database, from the page management server It is middle to download page data corresponding to the page iden-tity, and preview page is generated according to the page data;
    If receive the instruction of Client-initiated page close, the data volume included according to the page data, in the data Memory space corresponding with the data volume is distributed in storehouse, and the page data is stored in the memory space, and is built Found the memory space and the corresponding relation of page iden-tity.
  9. 9. according to the terminal device described in claim any one of 6-8, it is characterised in that described from the page management server Page data corresponding to downloading the first version numbering, loads and shows the page data, in addition to:
    Judge that current network state downloads whether network state matches with default data;
    If current network state is downloaded network state with default data and mismatched, present flow rate Expenditure Levels are obtained;
    If present flow rate Expenditure Levels download the first edition in the range of default consumption, from the page management server Page data corresponding to this numbering, load and show the page data;
    Described in the computing device following steps are also realized during computer program:
    If present flow rate Expenditure Levels load the page data in the database outside default consumption scope, raw Into the preview page.
  10. 10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, and its feature exists In when the computer program is executed by processor the step of realization such as any one of claim 1 to 5 methods described.
CN201710928591.2A 2017-10-09 2017-10-09 Webpage loading method, terminal equipment and computer readable storage medium Active CN107784086B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710928591.2A CN107784086B (en) 2017-10-09 2017-10-09 Webpage loading method, terminal equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710928591.2A CN107784086B (en) 2017-10-09 2017-10-09 Webpage loading method, terminal equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107784086A true CN107784086A (en) 2018-03-09
CN107784086B CN107784086B (en) 2020-08-04

Family

ID=61433570

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710928591.2A Active CN107784086B (en) 2017-10-09 2017-10-09 Webpage loading method, terminal equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107784086B (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108845816A (en) * 2018-06-22 2018-11-20 平安科技(深圳)有限公司 Application program update method, system, computer equipment and storage medium
CN108984206A (en) * 2018-08-09 2018-12-11 聚好看科技股份有限公司 A kind of method and apparatus that data are sent
CN109871503A (en) * 2019-01-18 2019-06-11 平安普惠企业管理有限公司 Data calling method, device, computer equipment and storage medium
CN110162725A (en) * 2019-04-10 2019-08-23 浙江口碑网络技术有限公司 Online page loading method, device, storage medium and computer equipment
CN110287443A (en) * 2019-06-28 2019-09-27 腾讯科技(深圳)有限公司 A kind of method and relevant apparatus of page data displaying
CN110321227A (en) * 2018-03-29 2019-10-11 腾讯科技(深圳)有限公司 Page data synchronous method, electronic device and computer readable storage medium
CN110321177A (en) * 2019-06-18 2019-10-11 北京奇艺世纪科技有限公司 A kind of mobile application localization loading method, device and electronic equipment
CN110413684A (en) * 2018-04-25 2019-11-05 武汉海康存储技术有限公司 A kind of database synchronization method, apparatus and system
CN110674435A (en) * 2019-09-27 2020-01-10 网易(杭州)网络有限公司 Page access method, server, terminal, electronic equipment and readable storage medium
CN111078983A (en) * 2019-06-09 2020-04-28 广东小天才科技有限公司 Method for determining page to be identified and learning device
CN111259178A (en) * 2020-01-19 2020-06-09 罗普特科技集团股份有限公司 Image data synchronization method, device and system
CN111966937A (en) * 2020-09-04 2020-11-20 Oppo(重庆)智能科技有限公司 Search response method and device and computer readable storage medium
CN112395437A (en) * 2019-08-16 2021-02-23 北京百度网讯科技有限公司 3D model loading method and device, electronic equipment and storage medium
WO2021233042A1 (en) * 2020-05-19 2021-11-25 京东方科技集团股份有限公司 Page data loading method, apparatus, and system
CN113778707A (en) * 2021-08-24 2021-12-10 北京达佳互联信息技术有限公司 Front-end frame loading method and device, electronic equipment and storage medium
CN113825008A (en) * 2021-11-24 2021-12-21 飞狐信息技术(天津)有限公司 Active page display method and device
CN114021050A (en) * 2022-01-04 2022-02-08 太平金融科技服务(上海)有限公司深圳分公司 Data processing method, data processing device, computer equipment and storage medium
CN114518922A (en) * 2021-12-28 2022-05-20 百果园技术(新加坡)有限公司 Page display system, method and device, electronic equipment and storage medium
CN114995861A (en) * 2022-08-02 2022-09-02 中航信移动科技有限公司 Weex-based application program updating method, storage medium and electronic equipment
WO2023020333A1 (en) * 2021-08-20 2023-02-23 花瓣云科技有限公司 Application control method and system, and electronic device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101296255A (en) * 2008-06-30 2008-10-29 腾讯科技(深圳)有限公司 Web page browsing method, system, proxy server and mobile phone browser
CN102594873A (en) * 2012-01-12 2012-07-18 山东大学 Passive voice alarm system based on B/S (Browser/Server) framework
CN102833350A (en) * 2012-09-11 2012-12-19 优视科技有限公司 Processing method and processing device of WebApp updating
US20140025731A1 (en) * 2010-08-06 2014-01-23 Navteq B.V. Page Server for Navigation Data
CN104065637A (en) * 2013-07-10 2014-09-24 腾讯科技(深圳)有限公司 Web-game running method and device
CN105138376A (en) * 2015-09-01 2015-12-09 北京皮尔布莱尼软件有限公司 Mixed model application, webpage resource upgrading method thereof, mobile terminal and system
CN106682176A (en) * 2016-12-29 2017-05-17 北京五八信息技术有限公司 Page loading method, equipment and device
CN106790334A (en) * 2015-11-25 2017-05-31 广州市动景计算机科技有限公司 A kind of page data transmission method and system
CN106933865A (en) * 2015-12-31 2017-07-07 北京五八信息技术有限公司 The resource loading method and device of mobile applications web application

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101296255A (en) * 2008-06-30 2008-10-29 腾讯科技(深圳)有限公司 Web page browsing method, system, proxy server and mobile phone browser
US20140025731A1 (en) * 2010-08-06 2014-01-23 Navteq B.V. Page Server for Navigation Data
CN102594873A (en) * 2012-01-12 2012-07-18 山东大学 Passive voice alarm system based on B/S (Browser/Server) framework
CN102833350A (en) * 2012-09-11 2012-12-19 优视科技有限公司 Processing method and processing device of WebApp updating
CN104065637A (en) * 2013-07-10 2014-09-24 腾讯科技(深圳)有限公司 Web-game running method and device
CN105138376A (en) * 2015-09-01 2015-12-09 北京皮尔布莱尼软件有限公司 Mixed model application, webpage resource upgrading method thereof, mobile terminal and system
CN106790334A (en) * 2015-11-25 2017-05-31 广州市动景计算机科技有限公司 A kind of page data transmission method and system
CN106933865A (en) * 2015-12-31 2017-07-07 北京五八信息技术有限公司 The resource loading method and device of mobile applications web application
CN106682176A (en) * 2016-12-29 2017-05-17 北京五八信息技术有限公司 Page loading method, equipment and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵乃珍: "《电子商务网站建设》", 30 April 2003 *

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110321227A (en) * 2018-03-29 2019-10-11 腾讯科技(深圳)有限公司 Page data synchronous method, electronic device and computer readable storage medium
CN110413684B (en) * 2018-04-25 2023-05-02 杭州海康存储科技有限公司 Database synchronization method, device and system
CN110413684A (en) * 2018-04-25 2019-11-05 武汉海康存储技术有限公司 A kind of database synchronization method, apparatus and system
CN108845816A (en) * 2018-06-22 2018-11-20 平安科技(深圳)有限公司 Application program update method, system, computer equipment and storage medium
WO2019242166A1 (en) * 2018-06-22 2019-12-26 平安科技(深圳)有限公司 Application update method and system, and computer device and storage medium
CN108984206A (en) * 2018-08-09 2018-12-11 聚好看科技股份有限公司 A kind of method and apparatus that data are sent
CN109871503A (en) * 2019-01-18 2019-06-11 平安普惠企业管理有限公司 Data calling method, device, computer equipment and storage medium
CN110162725A (en) * 2019-04-10 2019-08-23 浙江口碑网络技术有限公司 Online page loading method, device, storage medium and computer equipment
CN111078983A (en) * 2019-06-09 2020-04-28 广东小天才科技有限公司 Method for determining page to be identified and learning device
CN110321177B (en) * 2019-06-18 2022-06-03 北京奇艺世纪科技有限公司 Mobile application localized loading method and device and electronic equipment
CN110321177A (en) * 2019-06-18 2019-10-11 北京奇艺世纪科技有限公司 A kind of mobile application localization loading method, device and electronic equipment
CN110287443B (en) * 2019-06-28 2024-03-15 腾讯科技(深圳)有限公司 Page data display method and related device
CN110287443A (en) * 2019-06-28 2019-09-27 腾讯科技(深圳)有限公司 A kind of method and relevant apparatus of page data displaying
CN112395437A (en) * 2019-08-16 2021-02-23 北京百度网讯科技有限公司 3D model loading method and device, electronic equipment and storage medium
CN112395437B (en) * 2019-08-16 2024-04-30 北京百度网讯科技有限公司 3D model loading method and device, electronic equipment and storage medium
CN110674435A (en) * 2019-09-27 2020-01-10 网易(杭州)网络有限公司 Page access method, server, terminal, electronic equipment and readable storage medium
CN111259178A (en) * 2020-01-19 2020-06-09 罗普特科技集团股份有限公司 Image data synchronization method, device and system
WO2021233042A1 (en) * 2020-05-19 2021-11-25 京东方科技集团股份有限公司 Page data loading method, apparatus, and system
CN111966937A (en) * 2020-09-04 2020-11-20 Oppo(重庆)智能科技有限公司 Search response method and device and computer readable storage medium
WO2023020333A1 (en) * 2021-08-20 2023-02-23 花瓣云科技有限公司 Application control method and system, and electronic device
CN113778707A (en) * 2021-08-24 2021-12-10 北京达佳互联信息技术有限公司 Front-end frame loading method and device, electronic equipment and storage medium
CN113825008B (en) * 2021-11-24 2022-03-01 飞狐信息技术(天津)有限公司 Active page display method and device
CN113825008A (en) * 2021-11-24 2021-12-21 飞狐信息技术(天津)有限公司 Active page display method and device
CN114518922A (en) * 2021-12-28 2022-05-20 百果园技术(新加坡)有限公司 Page display system, method and device, electronic equipment and storage medium
CN114518922B (en) * 2021-12-28 2024-03-05 百果园技术(新加坡)有限公司 Page display system, method and device, electronic equipment and storage medium
CN114021050B (en) * 2022-01-04 2022-03-29 太平金融科技服务(上海)有限公司深圳分公司 Data processing method, data processing device, computer equipment and storage medium
CN114021050A (en) * 2022-01-04 2022-02-08 太平金融科技服务(上海)有限公司深圳分公司 Data processing method, data processing device, computer equipment and storage medium
CN114995861A (en) * 2022-08-02 2022-09-02 中航信移动科技有限公司 Weex-based application program updating method, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN107784086B (en) 2020-08-04

Similar Documents

Publication Publication Date Title
CN107784086A (en) A kind of loading method of webpage, terminal device and computer-readable recording medium
US10140672B2 (en) Apparatus and method of managing a licensable item
EP3531257A1 (en) Application interface management method and apparatus
AU2018203495A1 (en) Device, method and system for autonomous selection of a commodity supplier through a blockchain database
CN106484910A (en) A kind of data asynchronous refresh method and its system
CN107426322A (en) A kind of PUSH message target matching method, server, terminal and computer-readable recording medium
CN107451244A (en) File naming method, mobile terminal and computer-readable recording medium
CN110019125A (en) The method and apparatus of data base administration
CN105743984A (en) Method, device and system for automatically updating mobile application
CN108804175A (en) Multilingual adaptation method, mobile terminal and computer readable storage medium
CN104267987B (en) A kind of newer detection method of application APP, detection device and terminal
CN107656750A (en) Update of plug-in method and device
CN108038112A (en) Document handling method, mobile terminal and computer-readable recording medium
CN110019062A (en) Method of data synchronization and system
CN107301179A (en) The method and apparatus of data base read-write separation
CN107480001A (en) System recovery method and device
CN108280099A (en) Data dictionary management method, apparatus and server
CN108366091A (en) Network request processing method, terminal and computer-readable medium
CN102750168A (en) Application icon updating method and device
CN109639801A (en) Back end distribution and data capture method and system
CN103442085A (en) Method, terminal, server and system used for maintaining user information
CN110321242A (en) Data processing method and device
US9124664B1 (en) Distributing multi-platform content
CN107330058A (en) Application searches method, mobile terminal and computer-readable recording medium
CN109150694A (en) Sending method, display methods and the server and mobile terminal of dynamic scene information

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