CN107066631A - Display methods, device and the electronic equipment of the page - Google Patents

Display methods, device and the electronic equipment of the page Download PDF

Info

Publication number
CN107066631A
CN107066631A CN201710383915.9A CN201710383915A CN107066631A CN 107066631 A CN107066631 A CN 107066631A CN 201710383915 A CN201710383915 A CN 201710383915A CN 107066631 A CN107066631 A CN 107066631A
Authority
CN
China
Prior art keywords
page
destination client
general framework
resource
target pages
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
CN201710383915.9A
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.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN201710383915.9A priority Critical patent/CN107066631A/en
Publication of CN107066631A publication Critical patent/CN107066631A/en
Pending legal-status Critical Current

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides a kind of display methods of the page, device and electronic equipment, and an embodiment of methods described includes:When destination client is triggered, the corresponding page general framework resource in destination client is obtained;Instantiate the corresponding network view WebView components in destination client;Based on WebView components described in the page general framework resource pre-rendered, to generate initial page;When asking the access target page, the target pages are shown using the corresponding initial page of the target pages.The embodiment is before the request access target page, first obtain page general framework resource, and the page general framework resource used has carried out pre-rendered to WebView components, therefore, when asking the access target page, without reloading and parsing page general framework resource, without reinitializing the page, so as to save the loading of resource and reinitialize the time of the page, the page display speed of client is improved, the service efficiency of client is also improved.

Description

Display methods, device and the electronic equipment of the page
Technical field
The application is related to computer software technical field, and more particularly to a kind of display methods of the page, device and electronics are set It is standby.
Background technology
At present, the aobvious of the page can be realized using WebView (network view) by being much installed on the client of terminal device Show.In general, when user is by the client request access target page, WebView is first created, and number is sent to server Asked according to resource acquisition, to obtain all data resources needed for shows target pages.Using the data resource got to upper The WebView for stating establishment is rendered, so that shows target pages.But, through the above way during shows target pages, entirely The process that data resource is obtained and rendered is time-consuming longer so that the page display speed of client is slow, and service efficiency is low.
The content of the invention
In order to solve the above-mentioned technical problem, the application provides a kind of display methods of the page, device and electronic equipment.
According to the first aspect of the embodiment of the present application there is provided a kind of display methods of the page, including:
When destination client is triggered, the corresponding page general framework resource in the destination client is obtained;
Instantiate the corresponding network view WebView components in the destination client;
Based on WebView components described in the page general framework resource pre-rendered, to generate initial page;
When asking the access target page, the target pages are shown using the corresponding initial page of the target pages.
Alternatively, the corresponding page general framework resource in the acquisition destination client, including:
The page general framework resource is obtained from the data locally prestored.
Alternatively, before the corresponding page general framework resource in the acquisition destination client, in addition to:
The page general framework resource is parsed from the installation file of the destination client;
The page general framework resource is stored in locally.
Alternatively, before the corresponding page general framework resource in the acquisition destination client, in addition to:
The corresponding page general framework resource acquisition request in the destination client is sent to server;
Receive the page general framework resource that the server is returned;
The page general framework resource is stored in locally.
Alternatively, the destination client is triggered including following any one:
The destination client is activated;
The destination client is switched to foreground from backstage;
Into the specified interface of the destination client.
Alternatively, it is described to show the target pages using the corresponding initial page of the target pages, including:
Obtain the corresponding initial page of the target pages;
Obtain the corresponding service resources of the target pages;
The corresponding initial page is rendered using the service resources, to generate target pages;
Show the target pages.
Alternatively, methods described also includes:
After initial page corresponding using the target pages, the corresponding initial page of the target pages is regenerated Face.
Alternatively, the corresponding network view WebView components in the instantiation destination client, including:
Instantiate one or more WebView components;
Wherein, for each WebView components, corresponding one initial page of generation.
According to the second aspect of the embodiment of the present application there is provided a kind of display device of the page, including:
Acquisition module, for when destination client is triggered, obtaining the corresponding general frame of the page in the destination client Frame resource;
Creation module, for instantiating the corresponding network view WebView components in the destination client;
Pre-rendered module, for based on WebView components described in the page general framework resource pre-rendered, to generate just The beginning page;
Display module, for when asking the access target page, being shown using the corresponding initial page of the target pages The target pages.
According to the third aspect of the embodiment of the present application there is provided a kind of computer-readable recording medium, the storage medium is deposited Computer program is contained, the computer program realizes the page any one of above-mentioned first aspect when being executed by processor Display methods.
According to the fourth aspect of the embodiment of the present application there is provided a kind of electronic equipment, including memory, processor and it is stored in On memory and the computer program that can run on a processor, above-mentioned first party is realized during the computing device described program The display methods of the page any one of face.
The technical scheme that embodiments herein is provided can include the following benefits:
The display methods and device for the page that embodiments herein is provided, when being triggered in destination client, obtain mesh The corresponding page general framework resource of client is marked, the corresponding network view WebView components in instantiation destination client are based on Above-mentioned page general framework resource pre-rendered WebView components, to generate initial page, and in the request access target page When, use the corresponding initial page shows target pages of target pages.Due to before the request access target page, first obtaining Page general framework resource, and the page general framework resource used has carried out pre-rendered to WebView components, therefore, When asking the access target page, without reloading and parsing page general framework resource, without reinitializing the page, so that Save the loading of resource and reinitialize the time of the page, improve the page display speed of client, also improve visitor The service efficiency at family end.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The application can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the application Example, and be used to together with specification to explain the principle of the application.
Fig. 1 be the application be a kind of page according to an exemplary embodiment display schematic diagram of a scenario;
Fig. 2 is a kind of flow chart of the display methods of the page of the application according to an exemplary embodiment;
Fig. 3 is the flow chart of the display methods of another page of the application according to an exemplary embodiment;
Fig. 4 is a kind of block diagram of the display device of the page of the application according to an exemplary embodiment;
Fig. 5 is the block diagram of the display device of another page of the application according to an exemplary embodiment;
Fig. 6 is the block diagram of the display device of another page of the application according to an exemplary embodiment;
Fig. 7 is the block diagram of the display device of another page of the application according to an exemplary embodiment;
Fig. 8 is the structural representation of a kind of electronic equipment of the application according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the application.
It is the purpose only merely for description specific embodiment in term used in this application, and is not intended to be limiting the application. " one kind ", " described " and "the" of singulative used in the application and appended claims are also intended to including majority Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wrapped It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, not departing from In the case of the application scope, the first information can also be referred to as the second information, similarly, and the second information can also be referred to as One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining ".
As shown in figure 1, Fig. 1 is a kind of display schematic diagram of a scenario of page according to an exemplary embodiment, in Fig. 1 In the scene shown, preparatory stage and display stage can be divided into, the preparatory stage before user's request access target page, shows Show the stage after user's request access target page.Specifically, for destination client, in user's request access target page Before face (preparatory stage), the corresponding WebView components in destination client, and request target client pair can be instantiated in advance The page general framework resource answered.Then, WebView components are entered using the corresponding page general framework resource in destination client Row pre-rendered, so as to generate initial page.After user asks the access target page (display stage), target can be directly displayed The corresponding initial page of the page, meanwhile, the corresponding service resources of acquisition request target pages.Using the corresponding business of target pages Resource is rendered to WebView components, so that target pages are obtained, finally, shows target pages.
It should be noted that the step of instantiation corresponding WebView components in destination client (abbreviation instantiating step) The step of page general framework resource corresponding with request target client (abbreviation step of resource request), in execution sequentially Do not limit.For example, instantiating step can be first carried out, then perform step of resource request;Resource request step can also be first carried out Suddenly, then instantiating step is performed;Instantiating step and step of resource request can also be performed simultaneously.The application is not in this respect Limit.
As shown in Fig. 2 Fig. 2 is a kind of flow chart of the display methods of page according to an exemplary embodiment, should Method can apply in terminal device.In the present embodiment, in order to make it easy to understand, with reference to third party application can be installed Terminal device illustrate.It will be understood by those skilled in the art that the terminal device can include but is not limited to such as intelligence Can the mobile terminal device of mobile phone, intelligent wearable equipment, tablet personal computer, personal digital assistant, laptop portable computer with And desktop computer etc..This method comprises the following steps:
In step 201, when destination client is triggered, the corresponding page general framework money in destination client is obtained Source.
In the present embodiment, destination client is the third party application being installed on terminal device, destination client The display of the page can be realized using WebView.In a kind of implementation of the present embodiment, the exploitation rank in destination client Section, the corresponding page general framework resource in destination client can be obtained in advance, and the page general framework resource is put into mesh , can be by the page general framework resource after destination client is installed successfully on the terminal device in the installation file for marking client It is stored in terminal device.When being triggered in destination client, the mesh is taken out in the data that directly can be stored from terminal device Mark the corresponding page general framework resource of client.
, can also be in the development phase of destination client, by the above-mentioned page in another implementation of the present embodiment General framework resource is stored in the corresponding system platform server in destination client.Install on the terminal device destination client After success, when first time is using destination client, the page general framework resource is obtained from system platform server, and will The page general framework resource is stored in terminal device., can also be directly from terminal device when being triggered in destination client The corresponding page general framework resource in the destination client is taken out in the data of storage.
, can also be in the development phase of destination client, by the above-mentioned page in another implementation of the present embodiment General framework resource is stored in the corresponding system platform server in destination client.After being opened whenever destination client, automatically The page general framework resource is obtained from system platform server, and by the page general framework caching resource in terminal device In.Can be from the corresponding page general framework resource in data cached middle taking-up destination client of terminal device.
It is appreciated that the corresponding page general framework resource in destination client can also be obtained by another way, this Apply not limiting the concrete mode aspect for obtaining the corresponding page general framework resource in destination client.
In the present embodiment, the corresponding page general framework resource in destination client can be directed to target customer's end page The general basic data resource in face, the i.e. each page in destination client are required to the conventional data resource used in display.Page Face general framework resource can include generic logic resource and general showing resource, wherein, generic logic resource can include The skeleton code data resource that the destination client page is used.General showing resource can include following one or more:Page The general pattern resource in face;Page general font resource;And the general picture resource of the page etc..Wherein, the page general framework Resource can include the file of HML (Hypertext Markup Language, HTML) form, can also wrap The file of CSS (Cascading Style Sheet, CSS) form is included, JS (JavaScript, pin can also be included This language) form file.It is appreciated that the page general framework resource can also include the data resource of other forms, this Apply not limiting in terms of the concrete form to the page general framework resource.
In the present embodiment, destination client, which is triggered, can include following any one:Destination client is activated;Mesh Mark client is switched to foreground from backstage;Into the specified interface of destination client.Specifically, in a kind of implementation In, when being activated destination client, determine that destination client is triggered.In another implementation, whenever target visitor When family end is switched to foreground from backstage, determine that destination client is triggered.In another implementation, whenever entering target During the specified interface of client, determine that destination client is triggered.Specifically, when destination client is entering some specified boundaries Behind face, it can predict that next more likely request accesses the WebView pages, therefore, it can enter in destination client and specify Behind interface, determine that destination client is triggered, so that access the WebView pages for next step carries out pre-rendered in advance.For example, mesh The specified interface of mark client can be the interface by primary view realization, and this specifies interface to include multiple WebView pages The link in face, after the specified interface is entered, it is believed that more likely pass through the links and accesses WebView pages.It is appreciated that Destination client, which is triggered, can also include other modes, and the application to not limiting in this respect.
In step 202., the corresponding network view WebView components in instantiation destination client.
In the present embodiment, when destination client is triggered, instantiation destination client correspondence WebView components can be with One or more WebView components are instantiated, and said one or multiple WebView components are hidden in backstage, without exhibition Show.Specifically, the number of species for the page general framework that can be used according to destination client, it is determined that instantiation The quantity of WebView components, if for example, destination client can instantiate one using a kind of page general framework WebView components.If the destination client page uses a variety of page general frameworks, multiple WebView groups can be instantiated Part, one WebView component of every kind of corresponding instantiation of page general framework.
In step 203, it is initial to generate based on the above-mentioned above-mentioned WebView components of page general framework resource pre-rendered The page.
In the present embodiment, the above-mentioned above-mentioned WebView components of page general framework resource pre-rendered can be based on, for each WebView components, corresponding one initial page of generation, and the initial page is hidden in backstage, without displaying.If mesh Mark client and use a kind of page general framework, instantiate a WebView component, then using above-mentioned page general framework resource Pre-rendered is carried out to said one WebView components, an initial page is obtained.If destination client is logical using a variety of pages With framework, multiple WebView components are instantiated, then using every kind of page general framework correspondence in above-mentioned page general framework resource Data resource, pre-rendered are carried out to above-mentioned multiple WebView components respectively, multiple initial pages, each initial page are obtained A kind of page general framework of correspondence.
Specifically, for each WebView components, pre- wash with watercolours can be carried out to the WebView components by following process Dye:First, load using the WebView components and parse the html file in page general framework, then, to the general frame of the page Scripted code in frame resource is parsed, compiled and performed, and the CSS files in page general framework resource are solved Analysis, builds dom tree and render tree.Finally, the data to other forms in page general framework resource are parsed, and perform wash with watercolours Contaminate and complete pre-rendered process.
In step 204, when asking the access target page, the target is shown using the corresponding initial page of target pages The page.
In the present embodiment, when detecting user and making requests on the operation of the access target page, target pages can be used Corresponding initial page shows the target pages.
Specifically, in one implementation, it is possible, firstly, to obtain the corresponding initial page of target pages.In this reality Apply in example, if destination client uses a kind of page general framework, previously generate an initial page, then target pages correspondence Initial page be initial page that this is previously generated.When asking the access target page, the pre- Mr. can be directly obtained Into initial page be used as the corresponding initial page of target pages.If destination client uses a variety of page general frameworks, in advance Multiple initial pages are first generated, then the corresponding initial page of target pages is to have same page general framework with target pages Initial page.When asking the access target page, can be obtained from multiple initial pages are previously generated has with target pages The initial page of same page general framework is used as the corresponding initial page of target pages.
Then, the corresponding service resources of target pages are obtained.In the present embodiment, the corresponding service resources of target pages can To be target pages specific data resource in display, without versatility.The service resources can include peculiar logic Resource and peculiar showing resource.Wherein, the service resources can (Hypertext Markup Language surpass including HTML Text mark up language) form file, CSS (Cascading Style Sheet, CSS) form can also be included File, can also include the file of JS (JavaScript, script) form.It is appreciated that the service resources can also be The data resource of other forms, the application is not limited the concrete form aspect of the service resources.Can be by network from target The corresponding service resources of acquisition request target pages in the corresponding system platform server of client.It is appreciated that the application couple Do not limited in terms of the concrete mode for obtaining the corresponding service resources of target pages.
Finally, using the corresponding initial page of the service resources post-processing object page, to generate target pages, the mesh is shown Mark the page.
In another implementation, if the corresponding page general framework resource in destination client includes loading page Data (data used needed for the style of loading of the destination client page before display), can obtain target pages corresponding just The beginning page, the corresponding initial page of the target pages is the page of style of loading.The initial page of the style of loading is shown, together When, obtain the corresponding service resources of target pages.Using the corresponding initial page of the service resources post-processing object page, to generate The target pages of pattern are shown, the target pages are shown.
It should be noted that when destination client is triggered, can first obtain the corresponding page in destination client general Framework resources, can also first instantiate the corresponding WebView components in destination client, above-mentioned acquisition resource can also be performed simultaneously And the step of instantiation, the application in terms of the execution sequence of above-described embodiment step to not limiting.
The display methods for the page that above-described embodiment of the application is provided, when being triggered in destination client, obtains target The corresponding page general framework resource of client, the corresponding network view WebView components in instantiation destination client, based on upper The page general framework resource pre-rendered WebView components are stated, to generate initial page, and when asking the access target page, Use the corresponding initial page shows target pages of target pages.Due to before the request access target page, first obtaining page Face general framework resource, and the page general framework resource used has carried out pre-rendered to WebView components, therefore, is asking When seeking the access target page, without reloading and parsing page general framework resource, without the page is reinitialized, so as to save The loading of resource is saved and has reinitialized the time of the page, improved the page display speed of client, also improve client The service efficiency at end.
As shown in figure 3, the flow chart of the display methods of another pages of the Fig. 3 according to an exemplary embodiment, should Embodiment describes the process using the corresponding initial page shows target pages of target pages, and this method can apply to terminal In equipment, comprise the following steps:
In step 301, when destination client is triggered, the corresponding page general framework money in destination client is obtained Source.
In step 302, the corresponding network view WebView components in instantiation destination client.
In step 303, it is initial to generate based on the above-mentioned above-mentioned WebView components of page general framework resource pre-rendered The page.
In step 304, when asking the access target page, the target is shown using the corresponding initial page of target pages The page.
In step 305, after initial page corresponding using target pages, target pages are regenerated corresponding initial The page.
In the present embodiment, when generating during target pages, the corresponding initial page of target pages is used, and It can not recover, accordingly, it would be desirable to the corresponding initial page of target pages be regenerated, so that next time uses.Specifically, in one kind In implementation, if destination client uses a kind of page general framework, an initial page is previously generated, then is using mesh , it is necessary to instantiate the corresponding WebView components in a destination client again after the corresponding initial page of the mark page, then, then With the page general framework resource pre-rendered WebView components, so as to regenerate initial page.
In another implementation of the present embodiment, if destination client uses a variety of page general frameworks, in advance Multiple initial pages are generated, then, it is necessary to instantiate a target customer again after using the corresponding initial page of target pages Corresponding WebView components are held, then, part resource (target corresponding with target pages in page general framework resource are used The resource data for the page general framework that the page is used) the pre-rendered WebView components, so as to regenerate target pages correspondence Initial page.
It should be noted that the opportunity for regenerating the corresponding initial page of target pages can be initial page correspondence At the time of beginning to use any reasonable after the moment, for example, starting to render (with above-mentioned service resources to the initial page Rendered) at the time of, or at the time of shows target pages etc., the application is to regenerating the specific of the initial page Do not limited in terms of opportunity.Wherein, the initial page it is corresponding begin to use the moment can be start using initial page loading and At the time of parsing the service resources respective file.
In addition, for the step identical with Fig. 2 embodiments, no longer being repeated in above-mentioned Fig. 3 embodiments, mutually inside the Pass Hold and can be found in Fig. 2 embodiments.
The display methods for the page that above-described embodiment of the application is provided, when being triggered in destination client, obtains target The corresponding page general framework resource of client, the corresponding network view WebView components in instantiation destination client, based on upper The page general framework resource pre-rendered WebView components are stated, to generate initial page, when asking the access target page, are made With the corresponding initial page shows target pages of target pages.And after using the corresponding initial page of target pages, give birth to again Into the corresponding initial page of target pages.Therefore, not only when asking the access target page, without reloading page general framework Resource, saves the load time of resource, and so that the WebView components that it is good that destination client can have pre-rendered at any time can To use, the page display speed and service efficiency of client are further increased.
It should be noted that although the operation of the application method is described with particular order in the accompanying drawings, this is not required that Or imply that these must be performed according to the particular order operates, or the operation having to carry out shown in whole could realize the phase The result of prestige.On the contrary, the step of describing in flow chart can change execution sequence.Additionally or alternatively, it is convenient to omit some Multiple steps are merged into a step execution, and/or a step is decomposed into execution of multiple steps by step.
Display methods embodiment with the foregoing page is corresponding, and present invention also provides the implementation of the display device of the page Example.
As shown in figure 4, Fig. 4 is a kind of display device block diagram of the page of the application according to an exemplary embodiment, The device can include:Acquisition module 401, creation module 402, pre-rendered module 403 and display module 404.
Wherein, acquisition module 401, during for being triggered in destination client, obtaining the corresponding page in destination client and leading to Use framework resources.
Creation module 402, for instantiating the corresponding network view WebView components in destination client.
Pre-rendered module 403, for based on page general framework resource pre-rendered WebView components, to generate initial page Face.
Display module 404, for when asking the access target page, mesh to be shown using the corresponding initial page of target pages Mark the page.
In some optional embodiments, acquisition module 401 is arranged to obtain described from the data locally prestored Page general framework resource.
As shown in figure 5, Fig. 5 is the display device frame of another page of the application according to an exemplary embodiment Figure, the embodiment is on the basis of foregoing embodiment illustrated in fig. 4, and the device can further include:Parsing module 405 and First memory module 406.
Wherein, parsing module 405, for parsing page-out general framework resource from the installation file of destination client.
First memory module 406, for page general framework resource to be stored in locally.
As shown in fig. 6, Fig. 6 is the display device frame of another page of the application according to an exemplary embodiment Figure, the embodiment is on the basis of foregoing embodiment illustrated in fig. 4, and the device can further include:Sending module 407, connects Receive the memory module 409 of module 408 and second.
Wherein, sending module 407, for sending the corresponding page general framework resource acquisition in destination client to server Request.
Receiving module 408, the above-mentioned page general framework resource returned for the reception server.
Second memory module 409, for above-mentioned page general framework resource to be stored in locally.
In other optional embodiments, destination client is triggered including following any one:The destination client It is activated;The destination client is switched to foreground from backstage;Into the specified interface of the destination client.
As shown in fig. 7, Fig. 7 is the display device frame of another page of the application according to an exemplary embodiment Figure, the embodiment is on the basis of foregoing embodiment illustrated in fig. 4, and display module 404 can include:First acquisition submodule 701, Second acquisition submodule 702, renders submodule 703 and display sub-module 704.
Wherein, the first acquisition submodule 701, for obtaining the corresponding initial page of target pages.
Second acquisition submodule 702, for obtaining the corresponding service resources of target pages.
Submodule 703 is rendered, for using the corresponding initial page of the service resources post-processing object page, to generate page object Face.
Display sub-module 704, for shows target pages.
In other optional embodiments, the device can further include:Rebuild module (not shown).
Wherein, module is rebuild, for after using the corresponding initial page of target pages, regenerating target pages correspondence Initial page.
In other optional embodiments, creation module 402 is arranged to:Instantiate one or more WebView Component;Wherein, for each WebView components, corresponding one initial page of generation.
In other optional embodiments, page general framework resource can include generic logic resource and general exhibition Show resource.
Wherein, generic logic resource can include page versatility code data.Page presentation resource can include with next Item is multinomial:The general pattern resource of the page;Universal page font resource;Universal page picture resource.
It should be appreciated that said apparatus can be set in advance in terminal device, it can also be loaded by modes such as downloads Into terminal device.Corresponding module in said apparatus can cooperate to realize the aobvious of the page with the module in terminal device Show scheme.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method Apply the part explanation of example.Device embodiment described above is only schematical, wherein described be used as separating component The unit of explanation can be or may not be physically separate, and the part shown as unit can be or can also It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality Selection some or all of module therein is needed to realize the purpose of application scheme.Those of ordinary skill in the art are not paying In the case of going out creative work, you can to understand and implement.
The embodiment of the present application additionally provides a kind of computer-readable recording medium, and the storage medium is stored with computer journey Sequence, computer program can be used for the display methods for performing the page that above-mentioned Fig. 2 is provided to Fig. 3 any embodiments.
Corresponding to the display methods of the above-mentioned page, the embodiment of the present application also proposed shown in Fig. 8 according to the application's The schematic configuration diagram of the electronic equipment of one exemplary embodiment.Fig. 8 is refer to, in hardware view, the electronic equipment includes processing Device, internal bus, network interface, internal memory and nonvolatile memory, are also possible that hard required for other business certainly Part.Processor reads corresponding computer program into internal memory and then run from nonvolatile memory, on logic level Form the display device of the page.Certainly, in addition to software realization mode, the application is not precluded from other implementations, such as Mode of logical device or software and hardware combining etc., that is to say, that the executive agent of following handling process is not limited to each Logic unit or hardware or logical device.
Those skilled in the art will readily occur to its of the application after considering specification and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the application, these modifications, purposes or Person's adaptations follow the general principle of the application and including the undocumented common knowledge in the art of the application Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the application and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the application is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.Scope of the present application is only limited by appended claim.

Claims (11)

1. a kind of display methods of the page, it is characterised in that methods described includes:
When destination client is triggered, the corresponding page general framework resource in the destination client is obtained;
Instantiate the corresponding network view WebView components in the destination client;
Based on WebView components described in the page general framework resource pre-rendered, to generate initial page;
When asking the access target page, the target pages are shown using the corresponding initial page of the target pages.
2. according to the method described in claim 1, it is characterised in that described to obtain the corresponding page in the destination client general Framework resources, including:
The page general framework resource is obtained from the data locally prestored.
3. method according to claim 2, it is characterised in that lead in the corresponding page in the destination client that obtains Before framework resources, in addition to:
The page general framework resource is parsed from the installation file of the destination client;
The page general framework resource is stored in locally.
4. method according to claim 2, it is characterised in that lead in the corresponding page in the destination client that obtains Before framework resources, in addition to:
The corresponding page general framework resource acquisition request in the destination client is sent to server;
Receive the page general framework resource that the server is returned;
The page general framework resource is stored in locally.
5. according to the method described in claim 1, it is characterised in that the destination client is triggered including following any one :
The destination client is activated;
The destination client is switched to foreground from backstage;
Into the specified interface of the destination client.
6. according to the method described in claim 1, it is characterised in that described to be shown using the corresponding initial page of the target pages Show the target pages, including:
Obtain the corresponding initial page of the target pages;
Obtain the corresponding service resources of the target pages;
The corresponding initial page is rendered using the service resources, to generate target pages;
Show the target pages.
7. according to the method described in claim 1, it is characterised in that methods described also includes:
After initial page corresponding using the target pages, the corresponding initial page of the target pages is regenerated.
8. according to the method described in claim 1, it is characterised in that described to instantiate the corresponding network video in the destination client Scheme WebView components, including:
Instantiate one or more WebView components;
Wherein, for each WebView components, corresponding one initial page of generation.
9. a kind of display device of the page, it is characterised in that described device includes:
Acquisition module, for when destination client is triggered, obtaining the corresponding page general framework money in the destination client Source;
Creation module, for instantiating the corresponding network view WebView components in the destination client;
Pre-rendered module, for based on WebView components described in the page general framework resource pre-rendered, to generate initial page Face;
Display module, for when asking the access target page, showing described using the corresponding initial page of the target pages Target pages.
10. a kind of computer-readable recording medium, it is characterised in that the storage medium is stored with computer program, the meter Calculation machine program realizes the display methods of the page described in the claims any one of 1-8 when being executed by processor.
11. a kind of electronic equipment, including memory, processor and storage are on a memory and the calculating that can run on a processor Machine program, it is characterised in that the side any one of the claims 1-8 is realized during the computing device described program Method.
CN201710383915.9A 2017-05-26 2017-05-26 Display methods, device and the electronic equipment of the page Pending CN107066631A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710383915.9A CN107066631A (en) 2017-05-26 2017-05-26 Display methods, device and the electronic equipment of the page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710383915.9A CN107066631A (en) 2017-05-26 2017-05-26 Display methods, device and the electronic equipment of the page

Publications (1)

Publication Number Publication Date
CN107066631A true CN107066631A (en) 2017-08-18

Family

ID=59611234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710383915.9A Pending CN107066631A (en) 2017-05-26 2017-05-26 Display methods, device and the electronic equipment of the page

Country Status (1)

Country Link
CN (1) CN107066631A (en)

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108874389A (en) * 2018-06-27 2018-11-23 中国建设银行股份有限公司 front end page development framework
CN109032730A (en) * 2018-07-09 2018-12-18 武汉斗鱼网络科技有限公司 A kind of bullet frame methods of exhibiting, terminal installation and storage medium
CN109522124A (en) * 2018-11-19 2019-03-26 郑州云海信息技术有限公司 Storage management system loading method, device, equipment and readable storage medium storing program for executing
CN109522500A (en) * 2018-11-26 2019-03-26 深圳乐信软件技术有限公司 Webpage display process, device, terminal and storage medium
CN109558133A (en) * 2018-12-03 2019-04-02 咪咕数字传媒有限公司 A kind of page processing method, device and storage medium
CN109614563A (en) * 2018-12-05 2019-04-12 北京达佳互联信息技术有限公司 Show method, apparatus, equipment and the storage medium of webpage
CN109885355A (en) * 2019-02-21 2019-06-14 珠海市魅族科技有限公司 A kind of application starting method and relevant apparatus
CN110020284A (en) * 2017-09-28 2019-07-16 北京国双科技有限公司 Chart display method and device
CN110020306A (en) * 2017-11-30 2019-07-16 腾讯科技(深圳)有限公司 Page display method, device, storage medium and terminal
CN110442286A (en) * 2019-07-29 2019-11-12 北京奇艺世纪科技有限公司 A kind of page display method, device and electronic equipment
CN110866197A (en) * 2019-11-19 2020-03-06 中国民航信息网络股份有限公司 Method and device for accessing departure front-end client based on WEB application program
CN110990741A (en) * 2019-11-29 2020-04-10 北京达佳互联信息技术有限公司 Page display method and device, electronic equipment, server and storage medium
CN111124574A (en) * 2019-12-18 2020-05-08 南京三百云信息科技有限公司 First screen rendering acceleration method, development terminal, server, system and electronic equipment
CN111158799A (en) * 2019-12-31 2020-05-15 北京百度网讯科技有限公司 Page rendering method and device, electronic equipment and storage medium
CN111259286A (en) * 2020-01-14 2020-06-09 上海英方软件股份有限公司 Universal WEB page layout generation device and method
CN111339458A (en) * 2018-12-18 2020-06-26 阿里巴巴集团控股有限公司 Page presenting method and device
CN111506387A (en) * 2020-03-02 2020-08-07 百度在线网络技术(北京)有限公司 Page pre-rendering method and device, electronic equipment and storage medium
CN111610972A (en) * 2020-05-22 2020-09-01 北京百度网讯科技有限公司 Page generation method, device, equipment and storage medium
CN111723314A (en) * 2019-03-18 2020-09-29 腾讯科技(深圳)有限公司 Webpage display method and device, electronic equipment and computer readable storage medium
CN112052417A (en) * 2020-09-01 2020-12-08 企查查科技有限公司 Webpage loading method, device, equipment and storage medium
CN112163178A (en) * 2020-09-27 2021-01-01 珠海格力电器股份有限公司 Page data display method and device, storage medium and electronic device
CN112306587A (en) * 2019-07-15 2021-02-02 腾讯科技(深圳)有限公司 Page display processing method and device and terminal equipment
CN112800359A (en) * 2020-12-18 2021-05-14 成都泛微网络科技有限公司 Data processing method and related equipment
CN112861050A (en) * 2021-04-26 2021-05-28 北京健康之家科技有限公司 Page data backtracking method, device and equipment
CN113553522A (en) * 2020-04-24 2021-10-26 北京金山云网络技术有限公司 Page display method and device, electronic equipment and storage medium
CN111339458B (en) * 2018-12-18 2024-05-31 阿里巴巴集团控股有限公司 Page presentation method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103425794A (en) * 2013-08-29 2013-12-04 优视科技有限公司 Webpage previewing method and webpage previewing device based on bis-WebView
CN105320687A (en) * 2014-07-29 2016-02-10 腾讯科技(北京)有限公司 Webpage display method and device
CN105447096A (en) * 2015-11-09 2016-03-30 百度在线网络技术(北京)有限公司 Web page generation method and apparatus
CN105843814A (en) * 2015-01-14 2016-08-10 阿里巴巴集团控股有限公司 Method, device, and system for generating page
CN106250434A (en) * 2016-07-26 2016-12-21 东软集团股份有限公司 Load the method and device of webpage
CN106682009A (en) * 2015-11-06 2017-05-17 北大方正集团有限公司 EPUB (electronic publication) browser page generating method and device and cellphone

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103425794A (en) * 2013-08-29 2013-12-04 优视科技有限公司 Webpage previewing method and webpage previewing device based on bis-WebView
CN105320687A (en) * 2014-07-29 2016-02-10 腾讯科技(北京)有限公司 Webpage display method and device
CN105843814A (en) * 2015-01-14 2016-08-10 阿里巴巴集团控股有限公司 Method, device, and system for generating page
CN106682009A (en) * 2015-11-06 2017-05-17 北大方正集团有限公司 EPUB (electronic publication) browser page generating method and device and cellphone
CN105447096A (en) * 2015-11-09 2016-03-30 百度在线网络技术(北京)有限公司 Web page generation method and apparatus
CN106250434A (en) * 2016-07-26 2016-12-21 东软集团股份有限公司 Load the method and device of webpage

Cited By (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110020284A (en) * 2017-09-28 2019-07-16 北京国双科技有限公司 Chart display method and device
CN110020306A (en) * 2017-11-30 2019-07-16 腾讯科技(深圳)有限公司 Page display method, device, storage medium and terminal
CN108874389A (en) * 2018-06-27 2018-11-23 中国建设银行股份有限公司 front end page development framework
CN109032730A (en) * 2018-07-09 2018-12-18 武汉斗鱼网络科技有限公司 A kind of bullet frame methods of exhibiting, terminal installation and storage medium
CN109522124A (en) * 2018-11-19 2019-03-26 郑州云海信息技术有限公司 Storage management system loading method, device, equipment and readable storage medium storing program for executing
CN109522124B (en) * 2018-11-19 2021-12-17 郑州云海信息技术有限公司 Storage management system loading method, device, equipment and readable storage medium
CN109522500A (en) * 2018-11-26 2019-03-26 深圳乐信软件技术有限公司 Webpage display process, device, terminal and storage medium
CN109522500B (en) * 2018-11-26 2021-03-09 深圳乐信软件技术有限公司 Webpage display method, device, terminal and storage medium
CN109558133A (en) * 2018-12-03 2019-04-02 咪咕数字传媒有限公司 A kind of page processing method, device and storage medium
CN109614563B (en) * 2018-12-05 2021-06-08 北京达佳互联信息技术有限公司 Method, device and equipment for displaying webpage and storage medium
CN109614563A (en) * 2018-12-05 2019-04-12 北京达佳互联信息技术有限公司 Show method, apparatus, equipment and the storage medium of webpage
CN111339458B (en) * 2018-12-18 2024-05-31 阿里巴巴集团控股有限公司 Page presentation method and device
CN111339458A (en) * 2018-12-18 2020-06-26 阿里巴巴集团控股有限公司 Page presenting method and device
CN109885355A (en) * 2019-02-21 2019-06-14 珠海市魅族科技有限公司 A kind of application starting method and relevant apparatus
CN111723314A (en) * 2019-03-18 2020-09-29 腾讯科技(深圳)有限公司 Webpage display method and device, electronic equipment and computer readable storage medium
CN111723314B (en) * 2019-03-18 2023-08-15 腾讯科技(深圳)有限公司 Webpage display method and device, electronic equipment and computer readable storage medium
CN112306587A (en) * 2019-07-15 2021-02-02 腾讯科技(深圳)有限公司 Page display processing method and device and terminal equipment
CN110442286A (en) * 2019-07-29 2019-11-12 北京奇艺世纪科技有限公司 A kind of page display method, device and electronic equipment
CN110866197B (en) * 2019-11-19 2022-08-19 中国民航信息网络股份有限公司 Method and device for accessing departure front-end client based on WEB application program
CN110866197A (en) * 2019-11-19 2020-03-06 中国民航信息网络股份有限公司 Method and device for accessing departure front-end client based on WEB application program
CN110990741A (en) * 2019-11-29 2020-04-10 北京达佳互联信息技术有限公司 Page display method and device, electronic equipment, server and storage medium
CN110990741B (en) * 2019-11-29 2024-03-12 北京达佳互联信息技术有限公司 Page display method and device, electronic equipment, server and storage medium
CN111124574A (en) * 2019-12-18 2020-05-08 南京三百云信息科技有限公司 First screen rendering acceleration method, development terminal, server, system and electronic equipment
CN111158799A (en) * 2019-12-31 2020-05-15 北京百度网讯科技有限公司 Page rendering method and device, electronic equipment and storage medium
CN111259286A (en) * 2020-01-14 2020-06-09 上海英方软件股份有限公司 Universal WEB page layout generation device and method
CN111506387A (en) * 2020-03-02 2020-08-07 百度在线网络技术(北京)有限公司 Page pre-rendering method and device, electronic equipment and storage medium
US11829436B2 (en) 2020-03-02 2023-11-28 Baidu Online Network Technology (Beijing) Co., Ltd. Method and apparatus of pre-rendering page, electronic device, and storage medium
US20220308900A1 (en) 2020-03-02 2022-09-29 Baidu Online Network Technology (Beijing) Co., Ltd. Method and apparatus of pre-rendering page, electronic device, and storage medium
CN111506387B (en) * 2020-03-02 2023-09-22 百度在线网络技术(北京)有限公司 Page prerendering method and device, electronic equipment and storage medium
CN113553522A (en) * 2020-04-24 2021-10-26 北京金山云网络技术有限公司 Page display method and device, electronic equipment and storage medium
CN111610972B (en) * 2020-05-22 2023-10-13 北京百度网讯科技有限公司 Page generation method, device, equipment and storage medium
CN111610972A (en) * 2020-05-22 2020-09-01 北京百度网讯科技有限公司 Page generation method, device, equipment and storage medium
CN112052417A (en) * 2020-09-01 2020-12-08 企查查科技有限公司 Webpage loading method, device, equipment and storage medium
CN112163178A (en) * 2020-09-27 2021-01-01 珠海格力电器股份有限公司 Page data display method and device, storage medium and electronic device
CN112800359A (en) * 2020-12-18 2021-05-14 成都泛微网络科技有限公司 Data processing method and related equipment
CN112861050A (en) * 2021-04-26 2021-05-28 北京健康之家科技有限公司 Page data backtracking method, device and equipment

Similar Documents

Publication Publication Date Title
CN107066631A (en) Display methods, device and the electronic equipment of the page
US11144711B2 (en) Webpage rendering method, device, electronic apparatus and storage medium
CN106484383A (en) page rendering method, device and equipment
CN109542427B (en) System customization method and device, electronic equipment and storage medium
CN110457038B (en) Card display method, device and equipment of auxiliary application terminal and storage medium
CN103617191A (en) Browser and method for rendering same by means of hardware acceleration
CN113010827B (en) Page rendering method and device, electronic equipment and storage medium
CN110058854B (en) Method, terminal device and computer-readable medium for generating application
CN102929971A (en) Multimedia information playing method and system
CN109582317B (en) Method and apparatus for debugging hosted applications
CN109740081A (en) Page loading method and device
CN109656670B (en) Page rendering method and device
CN111737614B (en) Page display method, page display device, electronic equipment and storage medium
CN116821533A (en) Page rendering method, computer device and computer-readable storage medium
CN111880789A (en) Page rendering method, device, server and computer-readable storage medium
CN115134228A (en) Environment link supply and detection method, device, equipment, medium and program product
CN113961298A (en) Page switching method, device, equipment and medium
CN114036431A (en) Page cache skipping method and device, electronic equipment and storage medium
CN113656041A (en) Data processing method, device, equipment and storage medium
CN114679491A (en) Micro front-end service application method and device, storage medium and electronic equipment
CN108762957B (en) Method and device for generating cloud platform demonstration system
CN107045549B (en) Method and device for acquiring page number of electronic book
CN113703893B (en) Page rendering method, device, terminal and storage medium
CN108737133A (en) Method and device for CDN static network reparations
CN113268240A (en) Webpage acceleration method and device, storage medium and electronic equipment

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

Application publication date: 20170818

RJ01 Rejection of invention patent application after publication