CN105912363A - Module loading method and apparatus - Google Patents

Module loading method and apparatus Download PDF

Info

Publication number
CN105912363A
CN105912363A CN201610222333.8A CN201610222333A CN105912363A CN 105912363 A CN105912363 A CN 105912363A CN 201610222333 A CN201610222333 A CN 201610222333A CN 105912363 A CN105912363 A CN 105912363A
Authority
CN
China
Prior art keywords
module
object module
loading data
loading
target
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
CN201610222333.8A
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 Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610222333.8A priority Critical patent/CN105912363A/en
Publication of CN105912363A publication Critical patent/CN105912363A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • G06F9/44526Plug-ins; Add-ons

Landscapes

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

Abstract

The present invention relates to a module loading method and apparatus. The method comprises determining a first target module required to be loaded according to a target page corresponding to a to-be-accessed target website in a website access request when the website access request is received; obtaining state information of the first target module; obtaining loading data required by loading the first target module according to the state information; and loading the first target module according to the loading data. According to the technical scheme, the loading data required by loading the first target module can be obtained from a buffer memory or a far-end, so that the first target module can be loaded directly and rapidly, the first target module is displayed and rendered, the first target module is loaded without using a special common message module for managing to-be-loaded modules, and therefore complexity of timing sequence adjustment and submodule expansion is reduced, and module expansibility is improved.

Description

Module loading method and device
Technical field
It relates to module loading technical field, particularly relate to module loading method and device.
Background technology
At present, now increasing terminal applies use html5 (be called for short H5, the kernel language of WWW, The 5th time of under standard generalized markup language one application HTML (HTML) is great repaiies Change) realize increasing function, and the page often relates to multiple module in a H5 application, Modules can be depending therefrom, it is also possible to separate, but when carrying out module integrated, is frequently run onto Performance, the also problem in terms of autgmentability.The such issues that of in order to solve, the solution of correlation technique is Transfer to an independent public message module to complete by unified for the interworking of each module, thus reduce multiple The coupling of intermodule, makes software system be easily maintained, but this scheme still designs sequence problem, and expands Malleability problem, if the sequential of module have changed, it is necessary to readjust the sequential in public message module, And if certain module adds submodule, then need to readjust the module in public message module and Adjust work relatively big, thus the operation of module is the most inconvenient.
Summary of the invention
Disclosure embodiment provides module loading method and device.Described technical scheme is as follows:
First aspect according to disclosure embodiment, it is provided that a kind of module loading method, including:
When receiving network address access request, according to the target network address to be visited in described network address access request Corresponding target web, determines the first object module needing to load;
Obtain the status information of described first object module;
According to described status information, obtain the loading data loaded needed for described first object module;
According to described loading data, load described first object module.
In one embodiment, the status information of described acquisition described first object module, including:
According to the mark of described first object module, determine and whether caching is cached with described loading data;
According to determining result, determine described status information, wherein, the state letter of described first object module Breath includes: uncached described loading data, to cache described loading data, described loading data the completeest Become any one state in caching.
In one embodiment, described according to described status information, obtain and load described first object module Required loading data, including:
When described status information be described loading data completed caching time, call described first object module Corresponding call back function;
By described call back function and the described mark of described first object module, read from described caching Described loading data;Or
When described status information is for caching described loading data, wait preset duration, until described Status information by cache described loading data be converted to described loading data completed caching time, call The call back function that described first object module is corresponding;
By described call back function and the described mark of described first object module, read from described caching Described loading data.
In one embodiment, described according to described status information, obtain and load described first object module Required loading data, including:
When described status information is uncached described loading data, invocation target background process;
By described target background process, send to the server of described target network address and obtain described loading number According to request, and described target background process is after getting described loading data, by described loading number According to storing to described caching;
Call the call back function that described first object module is corresponding;
By described call back function and the described mark of described first object module, read from described caching Described loading data.
In one embodiment, described method also includes:
After having loaded described first object module, it is judged that whether described target web has been loaded;
When described target web has not been loaded, the target triggering described first object module completes thing Part, wherein, described target needs the described target loaded after completing event and described first object module The call back function of the second object module in webpage is bound mutually, for when being triggered, calls described second The call back function of object module, obtains described second with the call back function by described second object module The loading data of object module, and complete the loading of described second object module.
In one embodiment, described when described target network address has not been loaded, trigger described first The target of object module completes event, including:
Loading described first object module and described second object module includes that at least two is to be loaded During module, trigger described target and complete event, call each to be added respectively completing event by described target The call back function carrying module carrys out the loading data of asynchronous acquisition described at least two module to be loaded, and completes The loading of described second object module.
Second aspect according to disclosure embodiment, it is provided that a kind of module loading device, including:
Determine module, for when receiving network address access request, according in described network address access request The target web that target network address to be visited is corresponding, determines the first object module needing to load;
First acquisition module, for obtaining the described shape determining described first object module that module determines State information;
Second acquisition module, for the described status information got according to described first acquisition module, obtains Take the loading data loaded needed for described first object module;
Load-on module, for the described loading data got according to described second acquisition module, loads institute State first object module.
In one embodiment, described first acquisition module includes:
Whether first determines submodule, for according to the mark of described first object module, determine in caching It is cached with described loading data;
Second determines submodule, for determining, according to described first, the determination result that submodule is determined, really Fixed described status information, wherein, the status information of described first object module includes: add described in uncached Carry data, cache described loading data, described loading data completed caching in any one state.
In one embodiment, described second acquisition module includes:
First calls submodule, is institute for the described status information got when described first acquisition module State loading data completed caching time, call the call back function that described first object module is corresponding;
Reading submodule, for calling described call back function that submodule calls and described by described first The described mark of first object module, reads described loading data from described caching;Or
Second calls submodule, and the described status information for getting when described first acquisition module is just When caching described loading data, wait preset duration, until described status information is described by caching Loading data be converted to described loading data completed caching time, call described first object module corresponding Call back function;
Reading submodule, for calling described call back function that submodule calls and described by described second The described mark of first object module, reads described loading data from described caching.
In one embodiment, described second acquisition module includes:
3rd calls submodule, and the described status information for getting when described first acquisition module is not When caching described loading data, invocation target background process;
Send submodule, for calling, by the described 3rd, the described target background process that submodule calls, Send the request obtaining described loading data to the server of described target network address, and described target backstage is entered Described loading data, after getting described loading data, is stored to described caching by journey;
4th calls submodule, for calling the call back function that described first object module is corresponding;
Reading submodule, for calling described call back function that submodule calls and described by the described 4th The described mark of first object module, reads described loading data from described caching.
In one embodiment, described device also includes:
Judge module, for after having loaded described first object module, it is judged that described target web is No it is loaded;
Trigger module, is used for when the judged result of described judge module is that described target web has not been loaded Cheng Shi, the target triggering described first object module completes event, wherein, described target complete event with The readjustment letter of the second object module in the described target web loaded is needed after described first object module Number is bound mutually, for when being triggered, calls the call back function of described second object module, to pass through State the call back function of the second object module to obtain the loading data of described second object module, and complete institute State the loading of the second object module.
In one embodiment, described trigger module includes:
Triggers module, for loading described first object module and described second object module bag When including at least two module to be loaded, trigger described target and complete event, to complete thing by described target Part calls the call back function of each module to be loaded respectively and carrys out asynchronous acquisition described at least two module to be loaded Loading data, and complete the loading of described second object module.
The third aspect according to disclosure embodiment, it is provided that a kind of module loading device, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
When receiving network address access request, according to the target network address to be visited in described network address access request Corresponding target web, determines the first object module needing to load;
Obtain the status information of described first object module;
According to described status information, obtain the loading data loaded needed for described first object module;
According to described loading data, load described first object module.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
The technical scheme of offer is provided, can be according to the mesh to be visited in network address access request The target web that mark network address is corresponding, determines the first object module needing to load, and then according to this first mesh Mark module status information, from caching or far-end get corresponding loading data, so that set Standby middle installed browser can load this first object module directly, rapidly according to this loading data, This first object module is shown and renders, and module to be loaded need not be managed by special being used for Public message module load this first object module, thus when reducing module loading, sequential adjusts With the complexity of submodule extension, improve the autgmentability of module.
It should be appreciated that it is only exemplary and explanatory that above general description and details hereinafter describe , the disclosure can not be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet these public affairs The embodiment opened, and for explaining the principle of the disclosure together with description.
Fig. 1 is the flow chart according to a kind of module loading method shown in an exemplary embodiment.
Fig. 2 is the flow chart according to the another kind of module loading method shown in an exemplary embodiment.
Fig. 3 A is the flow chart according to another the module loading method shown in an exemplary embodiment one.
Fig. 3 B is the flow chart according to another the module loading method shown in an exemplary embodiment one.
Fig. 4 is the flow chart according to another the module loading method shown in an exemplary embodiment one.
Fig. 5 is the flow chart according to another the module loading method shown in an exemplary embodiment one.
Fig. 6 is the flow chart according to another the module loading method shown in an exemplary embodiment one.
Fig. 7 is the block diagram according to a kind of module loading device shown in an exemplary embodiment.
Fig. 8 is the block diagram according to the another kind of module loading device shown in an exemplary embodiment.
Fig. 9 A is the block diagram according to another the module loading device shown in an exemplary embodiment.
Fig. 9 B is the block diagram according to another the module loading device shown in an exemplary embodiment.
Figure 10 is the block diagram according to another the module loading device shown in an exemplary embodiment.
Figure 11 is the block diagram according to another the module loading device shown in an exemplary embodiment.
Figure 12 is the block diagram according to another the module loading device shown in an exemplary embodiment.
Figure 13 is according to the block diagram being applicable to module loading device shown in an exemplary embodiment.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Following retouches Stating when relating to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous and wants Element.Embodiment described in following exemplary embodiment does not represent own consistent with the disclosure Embodiment.On the contrary, they only with as appended claims describes in detail, the disclosure some The example of the apparatus and method that aspect is consistent.
At present, increasing terminal applies uses html5 to realize increasing function, and one In individual H5 application, the page often relates to multiple module, and modules can be depending therefrom, it is also possible to Separate, but when carrying out module integrated, it is frequently run onto performance, the also problem in terms of autgmentability. The such issues that of in order to solve, the solution of correlation technique is to transfer to one by unified for the interworking of each module Individual independent public message module completes, thus reduces the coupling of multiple intermodule, makes software system be prone to Safeguard, but this scheme still designs sequence problem, and scaling concern, if the sequential change of module , it is necessary to readjust the sequential in public message module, and if certain module adds submodule, Then need to readjust the module in public message module and adjust work relatively big, thus the operation of module The most inconvenient.
In order to solve above-mentioned technical problem, disclosure embodiment provides a kind of module loading method, the method Can be used in module loading program, system or device, and executive agent corresponding to the method can be user The terminal carried, as it is shown in figure 1, the method comprising the steps of S101 is to step S104:
In step S101, when receiving network address access request, according in described network address access request Target web corresponding to target network address to be visited, determine the first object module needing to load;
When the browser installed on equipment receives network address access request, can be according to this target network address The content of the required display of corresponding target web, determines the first object module of required loading, looks into Find the enter method of this first object module, thus complete adding of webpage by loading corresponding module Carry, realize the requirements for access of user, and required when this first object module can be to load this target web The one or more html5 modules to load at first, such as, this first object module can be to need to add Word that dialog box in certain webpage carried, display box, button, needs show, picture, video, The module that one or more element such as animation is corresponding, wherein, the enter method of this first object module, pass Entered the first object module of request of loading ID (identification, identity) (can be this The buffer address of the loading data that one object module is corresponding), its call back function and executive mode (i.e. synchronize to add Carry or Asynchronous loading).
In step s 102, the status information of described first object module is obtained;
Needed for the status information of this first object module may is that this first object module of uncached loading Loading data, cache this loading data, this loading data completed caching in any one state.
In step s 103, according to described status information, obtain needed for loading described first object module Loading data;
In step S104, according to described loading data, load described first object module.
According to the status information of this first object module, can from caching or far-end get accordingly Loading data, so that the browser installed in equipment can according to this loading data directly, quickly Ground loads this first object module, and this first object module is shown and is rendered, and need not be by specially Door for managing the public message module of module to be loaded to load this first object module, thus reduce During module loading, sequential adjusts and the complexity of submodule extension, improves the autgmentability of module.
As in figure 2 it is shown, in one embodiment, above-mentioned steps S102 can be performed as:
In step A1, according to the mark of described first object module, determine in caching and whether be cached with Described loading data;
In step A2, according to determining result, determine described status information, wherein, described first mesh The status information of mark module includes: uncached described loading data, cache described loading data, institute State loading data completed caching in any one state, the mark of this first object module be exactly this first The ID of object module, namely the buffer address of loading data corresponding to this first object module.
According to the mark of first object module, the loading that browser can be corresponding by searching this first object The buffer address at data place determines whether be cached with this loading data in caching, specifically: if should Uncached in buffer address have this loading data, then the status information of this first object module is exactly uncached Loading data;If this buffer address has this loading data, then determine whether the number of this loading data According to the preset data amount measured corresponding to the loading data whether reaching complete and the file format of this loading data In whether be .tmp file (i.e. temporary file), if the data volume of this loading data has reached complete Preset data amount and the file format of this loading data corresponding to loading data are not .tmp files, then Illustrate that the status information of this first object module is that loading data has completed caching, correspondingly, if this adds The data volume carrying data is not up to the preset data amount corresponding to complete loading data or this loading number According to file format in be .tmp file, then illustrate that the status information of this first object module is uncached adding Carry data.
As shown in Figure 3A, in one embodiment, above-mentioned steps S103 can be performed as:
In step bl is determined., when described status information be described loading data completed caching time, call institute State the call back function that first object module is corresponding;
In step B2, by described call back function and the described mark of described first object module, from Described caching reads described loading data;
When this status information be loading data completed caching time, illustrate loading this first object module needed for The most complete being buffered of loading data, when further relating to load this first object module, Ke Yizhi Connect and call the call back function that this first object module is corresponding, so that this call back function can be according to this first mesh The mark of mark module, gets this loading data in caching, and then returns to browser, so that Browser can read this loading data from caching, and first object module rendered and show, With realize be independent of public message module on the basis of, can quickly, be done directly into first object module Loading, simultaneously because this loading data completed caching, therefore, it is possible to avoid to far-end (as service Device) this loading data of acquisition request, it is to avoid take extra bandwidth.
Or
As shown in Figure 3 B, in one embodiment, above-mentioned steps S103 can be performed as:
In step B3, when described status information is for caching described loading data, waits and presetting Duration, until described status information is by caching described loading data, to be converted to described loading data the completeest When becoming caching, call the call back function that described first object module is corresponding;
In step B2, by described call back function and the described mark of described first object module, from Described caching reads described loading data.
When this status information is for caching loading data, needed for illustrating to load this first object module Loading data not yet by complete caching, therefore, it is possible to wait preset duration, until this status information by Caching this loading data and be converted to that this loading data has completed caching, this loading data is by complete Caching, and then call the call back function that this first object module is corresponding, so that this call back function can basis The mark of this first object module, gets this loading data in caching, and then returns to browser, So that browser can read this loading data from caching, and first object module is carried out wash with watercolours Dye and show, with realize on the basis of being independent of public message module, can quickly, be done directly into The loading of first object module, simultaneously because this loading data is finally by complete caching, thus, can To avoid to this loading data of far-end (such as server) acquisition request, it is to avoid take extra bandwidth.
As shown in Figure 4, in one embodiment, above-mentioned steps S103 can be performed as:
In step B4, when described status information is uncached described loading data, after invocation target Platform process;
In step B5, by described target background process, send to the server of described target network address Obtain the request of described loading data, and described target background process be after getting described loading data, Described loading data is stored to described caching;
In step B6, call the call back function that described first object module is corresponding;
In step B2, by described call back function and the described mark of described first object module, from Described caching reads described loading data.
When this status information is uncached loading data, this locality does not store this loading data, thus, The target background process (module factory) run in equipment can be called, and then by target backstage Process, sends the request obtaining loading data, and is getting loading data to the server of target network address Afterwards, loading data is stored i.e. be stored in pointed by the ID of this first object module to caching slow Deposit address, so that browser remains able to call the call back function that first object module is corresponding, and control This call back function, according to the mark of this first object module, gets this loading data in caching, and then This loading data is returned to browser, so that browser can read this loading number from caching According to, and first object module is rendered and shows, to realize at the base being independent of public message module On plinth, can quickly, be done directly into the loading of first object module.
As it is shown in figure 5, in one embodiment, described method also includes:
In step S501, after having loaded described first object module, it is judged that described target web Whether it is loaded;
In step S502, when described target web has not been loaded, trigger described first object The target of module completes event, and wherein, described target completes event to be needed after described first object module The call back function of the second object module in described target web to be loaded is bound mutually, for being triggered Time, call the call back function of described second object module, with the readjustment letter by described second object module Several loading datas obtaining described second object module, and complete the loading of described second object module, Wherein, the second object module can be one or more module identical with this first object module level, And/or subordinate's submodule (as being the submodule of first object module).
When having loaded this first object module, if this target web has not been loaded, the most permissible Trigger this target and complete event, i.e. by this compete event notify follow-up module to be loaded (i.e. this Two object modules), the loading of the second object module is obtained with the call back function by this second object module Data, thus quickly complete the loading of the second object module, and due to when loading any module, all Need not rely on any public message module, thus when reducing module loading, sequential adjusts and submodule The complexity of extension, the autgmentability of hoisting module;
Such as: a. when the sequential that module performs changes, as the execution of front module 2 depend on mould The result of block 1, but now become module 2 and depend on module 3, module 3 depends on module 1, the most only The compete event needing modified module 1 and module 3 is all right so that module 1 passes through it after completing Compete event notification module 3, module 3 complete after by its compete event notification module 2, In the process, this two module on affected simply upper strata, as long as again adjusting the two module Whole all right, it is not required to module 2 is adjusted, and owing to being independent of public message module, thus also Do not adjust the sequential in public message module, so, sequential adjusts more efficient;
B. when module need extension time, as front module 1 perform after, the compete of module 1 can go adjust With the call back function in module 2 with load-on module 2, but now module 2 needs to increase new submodule, Such as module 2.1, module 2.2, then have only to modify all right to module 2, it is not necessary to modified module 1 Content, thus, the autgmentability of module is more preferable, it is not necessary to depends on public message module and unifies Adjustment, reduce the dependence to public message module.
It addition, it is identical with the process of the first object module of loading to load the process of this second object module, This second object module also has a corresponding enter method, the second object module of incoming request of loading ID (identification, identity) (can be the slow of loading data corresponding to this first object module Deposit address), call back function and executive mode, and browser still can returning by this second object module Letter of transfer number obtains the loading data of the second object module, thus quickly completes adding of the second object module Carrying, similarly, if after having loaded the second object module, this target web has not been loaded, then Still the compete event of this second object module can be triggered, returning with triggering following module to be loaded Letter of transfer number, thus complete the loading of follow-up module to be loaded, the like, until this target web is added Load completes, and ibid, here is omitted for concrete loading procedure.
As shown in Figure 6, in one embodiment, above-mentioned steps S502 can be performed as:
In step C1, loading described first object module and described second object module includes During at least two module to be loaded, trigger described target and complete event, to complete event by described target The call back function calling each module to be loaded respectively adding of asynchronous acquisition described at least two module to be loaded Load data, and complete the loading of described second object module, wherein, owing to the second object module can be One or more modules identical with this first object module level and/or subordinate's submodule are (as being The submodule of first object module), thus, this at least two module to be loaded can be all and this second mesh The module follow-up to be loaded that mark module level is identical, or be all the submodule of this first object module, or Person not only comprises the module identical with this second object module rank but also comprise the submodule of this first object module Block.
When the second object module is multiple (the i.e. second object module includes at least two module to be loaded), What the compete event of this object module was bound simultaneously is the call back function of at least two module to be loaded, Thus, if having loaded this first object module, then can trigger the compete of this first object module Event, loads this extremely by Asynchronous loading mode calling the call back function of each module to be loaded respectively Few two modules to be loaded such that it is able to module to be loaded to this at least two loads simultaneously, and then Quickly complete the loading of all modules, improve the loading efficiency of module.Such as: module 1 is the first mesh Mark module, module 2 and module 3 are at least two modules to be loaded in this second object module, and mould Block 2 and module 3 are after having loaded module 1, two of needs continuation loading and module 1 rank phase Two same modules, if then having loaded module 1, with regard to the compete event of trigger module 1, and lead to Cross Asynchronous loading mode and come calling module 2 and the call back function of module 3 simultaneously, thus realize loading simultaneously Module 2 and module 3;Certainly, in this embodiment, if this at least two module to be loaded also includes mould The submodule 1.1 of block 1 and submodule 1.2, now, if submodule 1.1 and submodule 1.2 are arranged side by side Relation, do not interdepend, then in the compete event of trigger module 1 with by Asynchronous loading side Formula carrys out the call back function of calling module 2 and module 3 simultaneously simultaneously, also can trigger submodule by Asynchronous loading simultaneously Block 1.1 and submodule 1.2, to start simultaneously at loading submodule 1.1 and submodule 1.2;If submodule 1.1 and submodule 1.2 be rely on relation, be not mutually juxtaposed, as submodule 1.2 relies on submodule 1.1, Then calling module 2 and mould the compete event of trigger module 1 is to come by Asynchronous loading mode while The call back function of block 3 simultaneously, only can Asynchronous loading triggers module 1.1, to complete submodule 1.1 After loading, recall the call back function of submodule 1.2, complete the record of submodule 1.2, now, son The loading relation of module 1.2 and submodule 1.1 synchronizes to load exactly.
The above-mentioned module loading method that corresponding disclosure embodiment provides, disclosure embodiment also provides for one Module loading device, as it is shown in fig. 7, this device includes:
Determine module 701, for when receiving network address access request, according to described network address access request In target web corresponding to target network address to be visited, determine the first object module needing to load;
When the browser installed on equipment receives network address access request, determine that module 701 can root According to the content of display required for the target web that this target network address is corresponding, determine the first of required loading Object module, finds the enter method of this first object module, thus comes by loading corresponding module Complete the loading of webpage, realize the requirements for access of user, and this first object module can be to load this mesh The required one or more html5 modules loaded at first during mark webpage.
First acquisition module 702, for obtaining the described described first object module determining that module is determined Status information;
Needed for the status information of this first object module may is that this first object module of uncached loading Loading data, cache this loading data, this loading data completed caching in any one state.
Second acquisition module 703, for the described status information got according to described first acquisition module, Obtain the loading data loaded needed for described first object module;
Load-on module 704, for the described loading data got according to described second acquisition module, adds Carry described first object module.
According to the status information of this first object module that the first acquisition module gets, can be from caching Or far-end gets corresponding loading data, so that load-on module 704 can be according to this loading number According to loading this first object module directly, rapidly, this first object module is shown and renders, And this first object mould need not be loaded by the special public message module being used for managing module to be loaded Block, thus when reducing module loading, sequential adjusts and the complexity of submodule extension, improves module Autgmentability.
As shown in Figure 8, in one embodiment, described first acquisition module 702 includes:
First determines submodule 7021, for the mark according to described first object module, determines in caching Whether it is cached with described loading data;
Second determines submodule 7022, for determining that submodule 7021 is determined really according to described first Determining result, determine described status information, wherein, the status information of described first object module includes: not Cache described loading data, cache described loading data, described loading data completed caching in Any one state, the mark of this first object module is exactly the ID of this first object module, namely this first The buffer address of the loading data that object module is corresponding.
According to the mark of first object module, first determines that submodule 7021 can be by searching this first mesh The buffer address at the loading data place that mark is corresponding determines whether be cached with this loading data in caching, tool Body ground: have this loading data if uncached in this buffer address, then second determines that submodule 7022 is permissible The status information determining this first object module is exactly uncached loading data;If this buffer address has This loading data, then second determines that submodule 7022 may determine that the data determining whether this loading data Whether amount reaches in the file format of the complete preset data amount corresponding to loading data and this loading data Whether it is .tmp file (i.e. temporary file), if the data volume of this loading data has reached complete adding The file format of the preset data amount corresponding to data of load and this loading data is not .tmp file, then the Two determine that submodule 7022 may determine that the status information of this first object module is that loading data completes Caching, correspondingly, if the data volume of this loading data be not up to corresponding to complete loading data pre- If in the file format of data volume or this loading data being .tmp file, then second determines submodule 7022 may determine that the status information of this first object module is uncached loading data.
As shown in Figure 9 A, in one embodiment, described second acquisition module 703 includes:
First calls submodule 7031, for the described state got when described first acquisition module 702 Information be described loading data completed caching time, call the call back function that described first object module is corresponding;
Reading submodule 7032, for calling, by described first, the described readjustment that submodule 7031 calls Function and the described mark of described first object module, read described loading data from described caching;
When this status information that the first acquisition module 702 gets be loading data completed caching time, say The most complete being buffered of loading data needed for this first object module of bright loading, further relates to load During this first object module, directly can call submodule 7031 by first and call this first object module Corresponding call back function, so that this call back function can get according to the mark of this first object module This loading data in caching, and then return to browser, so that reading submodule 7032 can be from Caching reads this loading data, and first object module is rendered and shows, to realize disobeying Rely on the basis of public message module, can quickly, be done directly into the loading of first object module, together Time due to this loading data completed caching, therefore, it is possible to avoid to far-end (such as server) request obtain Take this loading data, it is to avoid take extra bandwidth.
Or
As shown in Figure 9 B, in one embodiment, described second acquisition module 703 includes:
Second calls submodule 7034, for the described state got when described first acquisition module 702 When information is for caching described loading data, wait preset duration, until described status information is by Cache described loading data be converted to described loading data completed caching time, call described first object mould The call back function that block is corresponding;
Reading submodule 7032, for calling, by described second, the described readjustment that submodule 7034 calls Function and the described mark of described first object module, read described loading data from described caching.
When this status information that the first acquisition module 702 gets is for caching loading data, explanation Load the loading data needed for this first object module not yet by complete caching, thus, second calls son Module 7034 can wait preset duration, until this status information is converted to by caching this loading data This loading data has completed caching, this loading data is by complete caching, and then calls this first object The call back function that module is corresponding, so that this call back function can obtain according to the mark of this first object module Get this loading data in caching, and then return to browser, so that reading submodule 7032 This loading data can be read from caching, and first object module is rendered and shows, with reality On the basis of being independent of now public message module, can quickly, be done directly into first object module Load, simultaneously because this loading data is finally by complete caching, therefore, it is possible to avoid to far-end (as Server) this loading data of acquisition request, it is to avoid take extra bandwidth.
As shown in Figure 10, in one embodiment, described second acquisition module 703 includes:
3rd calls submodule 7035, for the described state got when described first acquisition module 702 When information is uncached described loading data, invocation target background process;
Send submodule 7036, for calling, by the described 3rd, the described target that submodule 7035 calls Background process, sends the request obtaining described loading data to the server of described target network address, and described Described loading data, after getting described loading data, is stored to described caching by target background process In;
4th calls submodule 7037, for calling the call back function that described first object module is corresponding;
Reading submodule 7032, for calling, by the described 4th, the described readjustment that submodule 7037 calls Function and the described mark of described first object module, read described loading data from described caching.
When this status information that the first acquisition module 702 gets is uncached loading data, this locality is also Do not store this loading data, thus, the 3rd calls submodule 7035 can call the mesh run in equipment Mark background process (module factory), and then transmission submodule 7036 can pass through target background process, The request obtaining loading data is sent to the server of target network address, and after getting loading data, Loading data is stored the buffer address pointed by the ID being i.e. stored in this first object module to caching, So that the 4th calls submodule 7037 and remains able to call the call back function that first object module is corresponding, and Control this call back function mark according to this first object module, get this loading data in caching, And then this loading data is returned to browser, so that reading submodule 7032 can be read from caching Get this loading data, and first object module is rendered and shows, to realize being independent of On the basis of public message module, can quickly, be done directly into the loading of first object module.
As shown in figure 11, in one embodiment, described device also includes:
Judge module 1101, for after having loaded described first object module, it is judged that described target network Whether page has been loaded;
Trigger module 1102, is used for when the judged result of described judge module 1101 is described target web When not being loaded, the target triggering described first object module completes event, wherein, and described target The event that completes needs the second target mould in the described target web loaded after described first object module The call back function of block is bound mutually, for when being triggered, calls the call back function of described second object module, The loading data of described second object module is obtained with the call back function by described second object module, And complete the loading of described second object module, wherein, the second object module can be one or more with Module that this first object module level is identical and/or subordinate's submodule are (as being first object module Submodule).
When having loaded this first object module, if it is determined that the judged result of module 1101 is this target network Page has not been loaded, then can trigger this target by trigger module 1102 and complete event, i.e. pass through This compete event notifies follow-up module to be loaded (i.e. this second object module), with by this second mesh The call back function of mark module obtains the loading data of the second object module, thus quickly completes the second mesh The loading of mark module, and owing to when loading any module, all needing not rely on any public message module, Thus when reducing module loading, sequential adjusts and the complexity of submodule extension, the extension of hoisting module Property.
As shown in figure 12, in one embodiment, described trigger module 1102 includes:
Triggers module 11021, for loading described first object module and described second target When module includes at least two module to be loaded, trigger described target and complete event, with by described target The next described at least two of asynchronous acquisition of call back function that the event that completes calls each module to be loaded respectively is to be loaded The loading data of module, and complete the loading of described second object module.When the second object module is multiple Time (the i.e. second object module includes at least two module to be loaded), the compete thing of this object module What part was bound simultaneously is the call back function of at least two module to be loaded, thus, if loaded this first Object module, then triggers module 11021 can trigger the compete event of this first object module, This at least two is loaded calling the call back function of each module to be loaded respectively by Asynchronous loading mode Module to be loaded such that it is able to module to be loaded to this at least two loads simultaneously, and then rapidly Complete the loading of all modules, improve the loading efficiency of module.According to the third aspect of disclosure embodiment, A kind of module loading device is provided, including:
Processor;
For storing the memorizer of processor executable;
Wherein, processor is configured to:
When receiving network address access request, according to the target network address to be visited in described network address access request Corresponding target web, determines the first object module needing to load;
Obtain the status information of described first object module;
According to described status information, obtain the loading data loaded needed for described first object module;
According to described loading data, load described first object module.
Above-mentioned processor is also configured to:
The status information of described acquisition described first object module, including:
According to the mark of described first object module, determine and whether caching is cached with described loading data;
According to determining result, determine described status information, wherein, the state letter of described first object module Breath includes: uncached described loading data, to cache described loading data, described loading data the completeest Become any one state in caching.
Above-mentioned processor is also configured to:
Described according to described status information, acquisition loads the loading data needed for described first object module, Including:
When described status information be described loading data completed caching time, call described first object module Corresponding call back function;
By described call back function and the described mark of described first object module, read from described caching Described loading data;Or
When described status information is for caching described loading data, wait preset duration, until described Status information by cache described loading data be converted to described loading data completed caching time, call The call back function that described first object module is corresponding;
By described call back function and the described mark of described first object module, read from described caching Described loading data.
Above-mentioned processor is also configured to:
Described according to described status information, acquisition loads the loading data needed for described first object module, Including:
When described status information is uncached described loading data, invocation target background process;
By described target background process, send to the server of described target network address and obtain described loading number According to request, and described target background process is after getting described loading data, by described loading number According to storing to described caching;
Call the call back function that described first object module is corresponding;
By described call back function and the described mark of described first object module, read from described caching Described loading data.
Above-mentioned processor is also configured to:
Described method also includes:
After having loaded described first object module, it is judged that whether described target web has been loaded;
When described target web has not been loaded, the target triggering described first object module completes thing Part, wherein, described target needs the described target loaded after completing event and described first object module The call back function of the second object module in webpage is bound mutually, for when being triggered, calls described second The call back function of object module, obtains described second with the call back function by described second object module The loading data of object module, and complete the loading of described second object module.
Above-mentioned processor is also configured to:
Described when described target network address has not been loaded, the target triggering described first object module is complete One-tenth event, including:
Loading described first object module and described second object module includes that at least two is to be loaded During module, trigger described target and complete event, call each to be added respectively completing event by described target The call back function carrying module carrys out the loading data of asynchronous acquisition described at least two module to be loaded, and completes The loading of described second object module.
Figure 13 is according to a kind of block diagram for module loading device 1300 shown in an exemplary embodiment, This device is applicable to terminal unit.Such as, device 1300 can be mobile phone, computer, and numeral is wide Broadcast terminal, messaging devices, game console, tablet device, armarium, body-building equipment, individual Personal digital assistant etc..
With reference to Figure 13, device 1300 can include with next or at least two assembly: processes assembly 1302, Memorizer 1304, power supply module 1306, multimedia groupware 1308, audio-frequency assembly 1310, input/output (I/O) interface 1312, sensor cluster 1314, and communications component 1316.
Process assembly 1302 and generally control the integrated operation of device 1300, such as with display, call, The operation that data communication, camera operation and record operation are associated.Process assembly 1302 and can include one Or at least two processor 1320 performs instruction, to complete all or part of step of above-mentioned method. Additionally, process assembly 1302 can include one or at least two module, it is simple to process assembly 1302 He Mutual between other assemblies.Such as, process assembly 1302 and can include multi-media module, many to facilitate Media component 1308 and process between assembly 1302 mutual.
Memorizer 1304 is configured to store various types of data to support the operation at equipment 1300. The example of these data includes any storage object for operation on device 1300 or the instruction of method, Contact data, telephone book data, message, picture, video etc..Memorizer 1304 can be by any class The volatibility of type or non-volatile memory device or combinations thereof realize, such as static random access memory Device (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable programmable is read-only Memorizer (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic Memorizer, flash memory, disk or CD.
The various assemblies that power supply module 1306 is device 1300 provide power supply.Power supply module 1306 can wrap Include power-supply management system, one or at least two power supply, and other with generate for device 1300, manage and The assembly that distribution power supply is associated.
One output interface of offer that multimedia groupware 1308 is included between described device 1300 and user Screen.In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP). If screen includes that touch panel, screen may be implemented as touch screen, to receive the input from user Signal.Touch panel includes that one or at least two touch sensor touch with sensing, slide and touch surface Gesture on plate.Described touch sensor can not only sense touch or the border of sliding action, but also Detect the persistent period relevant to described touch or slide and pressure.In certain embodiments, many matchmakers Body assembly 1308 includes a front-facing camera and/or post-positioned pick-up head.When equipment 1300 is in operation mould Formula, during such as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside Multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems Or there is focal length and optical zoom ability.
Audio-frequency assembly 1310 is configured to output and/or input audio signal.Such as, audio-frequency assembly 1310 Including a mike (MIC), when device 1300 is in operator scheme, such as call model, record mould When formula and speech recognition mode, mike is configured to receive external audio signal.The audio frequency letter received Number can be further stored at memorizer 1304 or send via communications component 1316.Implement at some In example, audio-frequency assembly 1310 also includes a speaker, is used for exporting audio signal.
I/O interface 1312 is to process to provide interface between assembly 1302 and peripheral interface module, above-mentioned outside Enclosing interface module can be keyboard, puts striking wheel, button etc..These buttons may include but be not limited to: homepage Button, volume button, start button and locking press button.
Sensor cluster 1314 includes one or at least two sensor, for providing each for device 1300 The state estimation of individual aspect.Such as, sensor cluster 1314 can detect the opening of equipment 1300/ Closed mode, the relative localization of assembly, the most described assembly is display and the keypad of device 1300, Sensor cluster 1314 can also detect device 1300 or the position change of 1,300 1 assemblies of device, uses The presence or absence that family contacts with device 1300, device 1300 orientation or acceleration/deceleration and device 1300 Variations in temperature.Sensor cluster 1314 can include proximity transducer, is configured to the most any Physical contact time detection near the existence of object.Sensor cluster 1314 can also include optical sensor, Such as CMOS or ccd image sensor, it is used for using in imaging applications.In certain embodiments, This sensor cluster 1314 can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure Force transducer or temperature sensor.
Communications component 1316 is configured to facilitate wired or wireless mode between device 1300 and other equipment Communication.Device 1300 can access wireless network based on communication standard, such as WiFi, 2G or 3G, Or combinations thereof.In one exemplary embodiment, communications component 1316 receives via broadcast channel From broadcast singal or the broadcast related information of external broadcasting management system.In one exemplary embodiment, Described communications component 1316 also includes near-field communication (NFC) module, to promote junction service.Such as, Can be based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, Ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1300 can be by one or at least two application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), able to programme patrol Collect device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor Or other electronic building bricks realize, it is used for performing said method.
In the exemplary embodiment, a kind of non-transitory computer-readable storage including instruction is additionally provided Medium, such as, include the memorizer 1304 of instruction, and above-mentioned instruction can be by the processor 1320 of device 1300 Perform to complete said method.Such as, described non-transitory computer-readable recording medium can be ROM, Random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is by above-mentioned dress When putting the processor execution of 1300 so that said apparatus 1300 is able to carry out a kind of module loading method, Including:
When receiving network address access request, according to the target network address to be visited in described network address access request Corresponding target web, determines the first object module needing to load;
Obtain the status information of described first object module;
According to described status information, obtain the loading data loaded needed for described first object module;
According to described loading data, load described first object module.
In one embodiment, the status information of described acquisition described first object module, including:
According to the mark of described first object module, determine and whether caching is cached with described loading data;
According to determining result, determine described status information, wherein, the state letter of described first object module Breath includes: uncached described loading data, to cache described loading data, described loading data the completeest Become any one state in caching.
In one embodiment, described according to described status information, obtain and load described first object module Required loading data, including:
When described status information be described loading data completed caching time, call described first object module Corresponding call back function;
By described call back function and the described mark of described first object module, read from described caching Described loading data;Or
When described status information is for caching described loading data, wait preset duration, until described Status information by cache described loading data be converted to described loading data completed caching time, call The call back function that described first object module is corresponding;
By described call back function and the described mark of described first object module, read from described caching Described loading data.
In one embodiment, described according to described status information, obtain and load described first object module Required loading data, including:
When described status information is uncached described loading data, invocation target background process;
By described target background process, send to the server of described target network address and obtain described loading number According to request, and described target background process is after getting described loading data, by described loading number According to storing to described caching;
Call the call back function that described first object module is corresponding;
By described call back function and the described mark of described first object module, read from described caching Described loading data.
In one embodiment, described method also includes:
After having loaded described first object module, it is judged that whether described target web has been loaded;
When described target web has not been loaded, the target triggering described first object module completes thing Part, wherein, described target needs the described target loaded after completing event and described first object module The call back function of the second object module in webpage is bound mutually, for when being triggered, calls described second The call back function of object module, obtains described second with the call back function by described second object module The loading data of object module, and complete the loading of described second object module.
In one embodiment, described when described target network address has not been loaded, trigger described first The target of object module completes event, including:
Loading described first object module and described second object module includes that at least two is to be loaded During module, trigger described target and complete event, call each to be added respectively completing event by described target The call back function carrying module carrys out the loading data of asynchronous acquisition described at least two module to be loaded, and completes The loading of described second object module.
Those skilled in the art, after considering description and putting into practice disclosure disclosed herein, will readily occur to this Other embodiment disclosed.The application is intended to any modification, purposes or the adaptability of the disclosure Change, these modification, purposes or adaptations are followed the general principle of the disclosure and include these public affairs Open undocumented common knowledge in the art or conventional techniques means.Description and embodiments only by Being considered as exemplary, the true scope of the disclosure and spirit are pointed out by claim below.
It should be appreciated that the disclosure be not limited to described above and illustrated in the accompanying drawings accurately Structure, and various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only by institute Attached claim limits.

Claims (13)

1. a module loading method, it is characterised in that including:
When receiving network address access request, according to the target network address to be visited in described network address access request Corresponding target web, determines the first object module needing to load;
Obtain the status information of described first object module;
According to described status information, obtain the loading data loaded needed for described first object module;
According to described loading data, load described first object module.
Method the most according to claim 1, it is characterised in that
The status information of described acquisition described first object module, including:
According to the mark of described first object module, determine and whether caching is cached with described loading data;
According to determining result, determine described status information, wherein, the state letter of described first object module Breath includes: uncached described loading data, to cache described loading data, described loading data the completeest Become any one state in caching.
Method the most according to claim 2, it is characterised in that
Described according to described status information, acquisition loads the loading data needed for described first object module, Including:
When described status information be described loading data completed caching time, call described first object module Corresponding call back function;
By described call back function and the described mark of described first object module, read from described caching Described loading data;Or
When described status information is for caching described loading data, wait preset duration, until described Status information by cache described loading data be converted to described loading data completed caching time, call The call back function that described first object module is corresponding;
By described call back function and the described mark of described first object module, read from described caching Described loading data.
Method the most according to claim 2, it is characterised in that
Described according to described status information, acquisition loads the loading data needed for described first object module, Including:
When described status information is uncached described loading data, invocation target background process;
By described target background process, send to the server of described target network address and obtain described loading number According to request, and described target background process is after getting described loading data, by described loading number According to storing to described caching;
Call the call back function that described first object module is corresponding;
By described call back function and the described mark of described first object module, read from described caching Described loading data.
Method the most according to any one of claim 1 to 4, it is characterised in that described method is also Including:
After having loaded described first object module, it is judged that whether described target web has been loaded;
When described target web has not been loaded, the target triggering described first object module completes thing Part, wherein, described target needs the described target loaded after completing event and described first object module The call back function of the second object module in webpage is bound mutually, for when being triggered, calls described second The call back function of object module, obtains described second with the call back function by described second object module The loading data of object module, and complete the loading of described second object module.
Method the most according to claim 5, it is characterised in that
Described when described target network address has not been loaded, the target triggering described first object module is complete One-tenth event, including:
Loading described first object module and described second object module includes that at least two is to be loaded During module, trigger described target and complete event, call each to be added respectively completing event by described target The call back function carrying module carrys out the loading data of asynchronous acquisition described at least two module to be loaded, and completes The loading of described second object module.
7. a module loading device, it is characterised in that including:
Determine module, for when receiving network address access request, according in described network address access request The target web that target network address to be visited is corresponding, determines the first object module needing to load;
First acquisition module, for obtaining the described shape determining described first object module that module determines State information;
Second acquisition module, for the described status information got according to described first acquisition module, obtains Take the loading data loaded needed for described first object module;
Load-on module, for the described loading data got according to described second acquisition module, loads institute State first object module.
Device the most according to claim 7, it is characterised in that
Described first acquisition module includes:
Whether first determines submodule, for according to the mark of described first object module, determine in caching It is cached with described loading data;
Second determines submodule, for determining, according to described first, the determination result that submodule is determined, really Fixed described status information, wherein, the status information of described first object module includes: add described in uncached Carry data, cache described loading data, described loading data completed caching in any one state.
Device the most according to claim 8, it is characterised in that
Described second acquisition module includes:
First calls submodule, is institute for the described status information got when described first acquisition module State loading data completed caching time, call the call back function that described first object module is corresponding;
Reading submodule, for calling described call back function that submodule calls and described by described first The described mark of first object module, reads described loading data from described caching;Or
Second calls submodule, and the described status information for getting when described first acquisition module is just When caching described loading data, wait preset duration, until described status information is described by caching Loading data be converted to described loading data completed caching time, call described first object module corresponding Call back function;
Reading submodule, for calling described call back function that submodule calls and described by described second The described mark of first object module, reads described loading data from described caching.
Device the most according to claim 8, it is characterised in that
Described second acquisition module includes:
3rd calls submodule, and the described status information for getting when described first acquisition module is not When caching described loading data, invocation target background process;
Send submodule, for calling, by the described 3rd, the described target background process that submodule calls, Send the request obtaining described loading data to the server of described target network address, and described target backstage is entered Described loading data, after getting described loading data, is stored to described caching by journey;
4th calls submodule, for calling the call back function that described first object module is corresponding;
Reading submodule, for calling described call back function that submodule calls and described by the described 4th The described mark of first object module, reads described loading data from described caching.
11. according to the device according to any one of claim 7 to 10, it is characterised in that described device Also include:
Judge module, for after having loaded described first object module, it is judged that described target web is No it is loaded;
Trigger module, is used for when the judged result of described judge module is that described target web has not been loaded Cheng Shi, the target triggering described first object module completes event, wherein, described target complete event with The readjustment letter of the second object module in the described target web loaded is needed after described first object module Number is bound mutually, for when being triggered, calls the call back function of described second object module, to pass through State the call back function of the second object module to obtain the loading data of described second object module, and complete institute State the loading of the second object module.
12. devices according to claim 11, it is characterised in that
Described trigger module includes:
Triggers module, for loading described first object module and described second object module bag When including at least two module to be loaded, trigger described target and complete event, to complete thing by described target Part calls the call back function of each module to be loaded respectively and carrys out asynchronous acquisition described at least two module to be loaded Loading data, and complete the loading of described second object module.
13. 1 kinds of module loading devices, it is characterised in that including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
When receiving network address access request, according to the target network address to be visited in described network address access request Corresponding target web, determines the first object module needing to load;
Obtain the status information of described first object module;
According to described status information, obtain the loading data loaded needed for described first object module;
According to described loading data, load described first object module.
CN201610222333.8A 2016-04-11 2016-04-11 Module loading method and apparatus Pending CN105912363A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610222333.8A CN105912363A (en) 2016-04-11 2016-04-11 Module loading method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610222333.8A CN105912363A (en) 2016-04-11 2016-04-11 Module loading method and apparatus

Publications (1)

Publication Number Publication Date
CN105912363A true CN105912363A (en) 2016-08-31

Family

ID=56745042

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610222333.8A Pending CN105912363A (en) 2016-04-11 2016-04-11 Module loading method and apparatus

Country Status (1)

Country Link
CN (1) CN105912363A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933792A (en) * 2017-03-17 2017-07-07 郑州云海信息技术有限公司 It is a kind of to improve the method that servers' data fills client table single-action rate
CN108008995A (en) * 2017-12-04 2018-05-08 山东浪潮通软信息科技有限公司 A kind of wait component realization method and device based on call type
CN108235109A (en) * 2017-12-28 2018-06-29 深圳Tcl新技术有限公司 Table information transferring method, smart television and computer readable storage medium
CN109359256A (en) * 2018-09-29 2019-02-19 北京城市网邻信息技术有限公司 Page loading method, device, equipment and storage medium
CN110213600A (en) * 2019-04-29 2019-09-06 网易(杭州)网络有限公司 Net cast method, device and equipment
CN110399176A (en) * 2018-04-17 2019-11-01 阿里巴巴集团控股有限公司 Business loading method, device and storage medium
CN112416425A (en) * 2020-11-20 2021-02-26 微医云(杭州)控股有限公司 APP construction method and device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103377059A (en) * 2012-04-23 2013-10-30 阿里巴巴集团控股有限公司 Function module dynamic loading method and device based on jQuery framework
CN103605502A (en) * 2013-08-08 2014-02-26 北京九恒星科技股份有限公司 Form page display method and server
CN104519081A (en) * 2013-09-27 2015-04-15 阿里巴巴集团控股有限公司 Page access method and device
CN104899208A (en) * 2014-03-05 2015-09-09 腾讯科技(深圳)有限公司 Caching method and apparatus for browser

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103377059A (en) * 2012-04-23 2013-10-30 阿里巴巴集团控股有限公司 Function module dynamic loading method and device based on jQuery framework
CN103605502A (en) * 2013-08-08 2014-02-26 北京九恒星科技股份有限公司 Form page display method and server
CN104519081A (en) * 2013-09-27 2015-04-15 阿里巴巴集团控股有限公司 Page access method and device
CN104899208A (en) * 2014-03-05 2015-09-09 腾讯科技(深圳)有限公司 Caching method and apparatus for browser

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933792A (en) * 2017-03-17 2017-07-07 郑州云海信息技术有限公司 It is a kind of to improve the method that servers' data fills client table single-action rate
CN108008995A (en) * 2017-12-04 2018-05-08 山东浪潮通软信息科技有限公司 A kind of wait component realization method and device based on call type
CN108235109A (en) * 2017-12-28 2018-06-29 深圳Tcl新技术有限公司 Table information transferring method, smart television and computer readable storage medium
CN108235109B (en) * 2017-12-28 2021-01-12 深圳Tcl新技术有限公司 Table information transmission method, smart television and computer readable storage medium
CN110399176A (en) * 2018-04-17 2019-11-01 阿里巴巴集团控股有限公司 Business loading method, device and storage medium
CN109359256A (en) * 2018-09-29 2019-02-19 北京城市网邻信息技术有限公司 Page loading method, device, equipment and storage medium
CN110213600A (en) * 2019-04-29 2019-09-06 网易(杭州)网络有限公司 Net cast method, device and equipment
CN112416425A (en) * 2020-11-20 2021-02-26 微医云(杭州)控股有限公司 APP construction method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105912363A (en) Module loading method and apparatus
CN109086374A (en) Webpage loading display method, device, terminal device and readable storage medium storing program for executing
CN108664190B (en) Page display method, device, mobile terminal and storage medium
EP3407287A1 (en) Method and apparatus for screenshot processing
CN105138259A (en) Operation execution method and operation execution device
JP2016522483A (en) Page rollback control method, page rollback control device, terminal, program, and recording medium
CN106028375A (en) Method and device for prompting network switching and terminal device
CN106020682A (en) Multi-task management method and device
CN105516270A (en) Information push method and device
CN106126685A (en) Page loading method and device
CN107730847A (en) Sharing articles finding method and device
CN107239527A (en) web access method and device
CN105530292A (en) Page image display method and device
CN106201610A (en) Web application accesses the method and device of the primary function of terminal
CN105095227A (en) Method and apparatus for preloading webpage
CN105867733A (en) Notice display method and device and mobile device
CN105630339A (en) Method and device for controlling page
CN105677314A (en) Processing method and apparatus of scroll events, and device
CN107220059A (en) The display methods and device of application interface
CN105912204A (en) Method and device for starting up application interface
CN105677164A (en) Page selection method and device
CN105843486A (en) Method and apparatus for interface display
CN106708967A (en) Page display method and device
CN106775708A (en) The page layout switch control method and device of mobile terminal
CN106210258A (en) Web access method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160831