CN106202354A - A kind of navigation type purpose page loading method and device - Google Patents

A kind of navigation type purpose page loading method and device Download PDF

Info

Publication number
CN106202354A
CN106202354A CN201610526059.3A CN201610526059A CN106202354A CN 106202354 A CN106202354 A CN 106202354A CN 201610526059 A CN201610526059 A CN 201610526059A CN 106202354 A CN106202354 A CN 106202354A
Authority
CN
China
Prior art keywords
navigation
classification
content
subcategory
path
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610526059.3A
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.)
Guangzhou Huaduo Network Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network 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 Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201610526059.3A priority Critical patent/CN106202354A/en
Publication of CN106202354A publication Critical patent/CN106202354A/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
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • 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/954Navigation, e.g. using categorised browsing

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of navigation type purpose page loading method and device, solve when at present carrying out Asynchronous Request respective class purpose content (html) by iframe, owing to all classification contents of navigating need disposable loading, thus when the classification of navigation is more, loading can be caused to block, and the page caused such as cannot respond to for a long time at the technical problem of performance.Embodiment of the present invention navigation type purpose page loading method, including: create instruction based on Jquery according to the navigation classification got and create the content module corresponding with navigation classification to be created;The path of content module and navigation type purpose content file to be created are carried out relationship map process and generate navigation classification so that when loading the content page corresponding with content file, carries out page loading based on path.

Description

A kind of navigation type purpose page loading method and device
Technical field
The present invention relates to Internet technical field, particularly relate to a kind of navigation type purpose page loading method and device.
Background technology
Web page navigation shows as the forms such as the column menu setting of webpage, auxiliary menus, other online helps.Web page navigation Setting is on the basis of webpage colume structure, browses, for user, the prompt system that webpage provides further, due to each webpage The standard that design is the most unified, not only menu setting is different, and the mode opening webpage is also had any different, and some is same New web page opened by window, and some opens a browser window newly, and the most only webpage column menu allows user exist sometimes Browse disorientation during webpage, as homepage or the upper level page etc. cannot be returned to, in addition it is also necessary to complementary navigation is helped User is helped to be conveniently used info web.
Current navigation be typically with Iframe, Iframe provide a simple mode can one by one son Webpage is loaded in homepage by navigation.But iframe is the most out-of-date at present, exists and be much unworthy advocating use Local.At aspect of performance, creating of iframe includes slow 1-2 the order of magnitude of the establishment of DOM element of js and css than other, Iframe also can serve the problem in terms of onload event and connection pool by band.Onload event triggers " doing " instruction of browser Device stops, and tells user's current web page loaded, after onload event loads delay, iframe can be caused to block page Face loads, and loads the slowest sensation to user's webpage.The onload event of window needs at all iframe loadeds (element comprising the inside) just can trigger afterwards.In Safari and Chrome, dynamically arranged iframe's by JavaScript SRC can avoid this congestion situations.But, still cannot ensure the compatibility of optimum experience effect at various browsers, only Being only Safari and chrome is inadequate, the user of IE browser accounts for the overwhelming majority the most at home.In most cases, people Conventional iframe carry out carrying advertisement.This will be understood by, and is also a kind of logical solution, simple by one Way carrys out carrying advertisement service.
But iframe brings impact can to page performance, thus result in when Asynchronous Request respective class purpose content (html) Time, all classification contents of navigating need disposable loading, thus when the classification of navigation is more, loading can be caused to block, cause The page such as cannot respond to for a long time at the technical problem of performance.
Summary of the invention
A kind of navigation type purpose page loading method of embodiment of the present invention offer and device, solve and pass through at present When iframe carries out Asynchronous Request respective class purpose content (html), owing to all classification contents of navigating need disposable loading, Thus when the classification of navigation is more, loading can be caused to block, the page caused the technology of performance such as cannot respond to for a long time and asks Topic.
A kind of navigation type purpose page loading method that the embodiment of the present invention provides, including:
Based on Jquery according to get navigation classification create instruction create corresponding with navigation classification to be created in Molar block;
The path of described content module and described navigation type purpose content file to be created are carried out relationship map process also Generate navigation classification so that when loading the content page corresponding with described content file, carry out page loading based on described path.
Alternatively, create instruction based on Jquery according to the navigation classification got and create relative with navigation classification to be created The content module answered specifically includes:
Based on Jquery according to get navigation classification create instruction create corresponding with navigation classification to be created in Molar block and the described path of correspondence.
Alternatively, the path of described content module and described navigation type purpose content file to be created are carried out relationship map Process and generate navigation classification to specifically include:
By described path and navigation type purpose corresponding relation record to be created in json file;
The classification that navigates described in the described coordinates measurement that described content file is corresponding is read by described json file;
The category number that the distribution of described navigation classification is corresponding is given in order in navigation, and by described category number and institute State path corresponding.
Alternatively, navigation is given category number that the distribution of described navigation classification is corresponding in order, and by described classification Also include after sequence number is corresponding with described path:
When getting navigation subcategory extended instruction, the extension that will be associated navigate be received within subcategory same described in lead Navigation subcategory now, and is distributed corresponding subcategory sequence number by boat class in order, and by described subcategory sequence number with described The described path of navigation subcategory is corresponding.
Alternatively, navigation type purpose page loading method also includes:
When getting navigation classification content or the subcategory that navigates loads instruction, load described in instruction correspondence according to described Category number or described subcategory sequence number, and the described path of correspondence carries out described navigation classification content loading processing.
A kind of navigation type purpose page charger that the embodiment of the present invention provides, including:
Creating unit, creates and navigation type to be created for creating instruction based on Jquery according to the navigation classification got The content module that mesh is corresponding;
Navigation classification signal generating unit, for by the path of described content module and described navigation type purpose content to be created literary composition Part carries out relationship map process and generates navigation classification so that based on institute when loading the content page corresponding with described content file State path and carry out page loading.
Alternatively, creating unit, specifically for based on Jquery according to the navigation classification that gets create instruction create with Content module that navigation classification to be created is corresponding and the described path of correspondence.
Alternatively, navigation classification signal generating unit specifically includes:
Record subelement, for by described path and navigation type purpose corresponding relation record to be created in json file;
Read subelement, for being read described in the described coordinates measurement that described content file is corresponding by described json file Navigation classification;
Alignment processing subelement, for giving the category number of described navigation classification distribution correspondence in navigation in order, And described category number is corresponding with described path.
Alternatively, navigation type purpose page charger also includes:
Navigation subcategory expanding element, for when getting navigation subcategory extended instruction, will be associated extension navigation It is received within same described navigation type in subcategory now, and navigation subcategory is distributed in order the subcategory sequence number of correspondence, And described subcategory sequence number is corresponding with the described path of described navigation subcategory.
Alternatively, navigation type purpose page charger also includes:
Loading unit, for when getting navigation classification content or navigation subcategory loads instruction, according to described loading Instruct corresponding described category number or described subcategory sequence number, and the described path of correspondence carries out described navigation classification content Loading processing.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
A kind of navigation type purpose page loading method of embodiment of the present invention offer and device, wherein, navigation type purpose page Face loading method, including: create instruction based on Jquery according to the navigation classification got and create and navigation classification phase to be created Corresponding content module;The path of content module and navigation type purpose content file to be created are carried out relationship map process life Become navigation classification so that when loading the content page corresponding with content file, carry out page loading based on path.In the present embodiment, The interior molar corresponding with navigation classification to be created is created by creating instruction based on Jquery according to the navigation classification got Block, then the path of content module and navigation type purpose content file to be created are carried out relationship map process and generate navigation type Mesh, it is achieved that the asynchronous on-demand loading of navigation classification content, solves and carries out the corresponding classification of Asynchronous Request by iframe at present Content (html) time, owing to all classification contents of navigating need disposable loading, thus when the classification of navigation is more, can make Becoming to load and block, the page caused such as cannot respond to for a long time at the technical problem of performance, and dynamically the configuring and lead of navigation The boat asynchronous on-demand loading of classification contents pattern blocked, simplifies the extension of navigation type purpose, development cost is greatly reduced, adds code Maintainability, it is often more important that, serious performance issue will not be caused.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, also may be used To obtain other accompanying drawing according to these accompanying drawings.
The flow process of one embodiment of a kind of navigation type purpose page loading method that Fig. 1 provides for the embodiment of the present invention is shown It is intended to;
The flow process of another embodiment of a kind of navigation type purpose page loading method that Fig. 2 provides for the embodiment of the present invention Schematic diagram;
The structure of one embodiment of a kind of navigation type purpose page charger that Fig. 3 provides for the embodiment of the present invention is shown It is intended to;
The structure of one embodiment of a kind of navigation type purpose page charger that Fig. 4 provides for the embodiment of the present invention is shown It is intended to;
Fig. 5 (a) and (b) are the application examples schematic diagram of Fig. 2.
Detailed description of the invention
A kind of navigation type purpose page loading method of embodiment of the present invention offer and device, solve and pass through at present When iframe carries out Asynchronous Request respective class purpose content (html), owing to all classification contents of navigating need disposable loading, Thus when the classification of navigation is more, loading can be caused to block, the page caused the technology of performance such as cannot respond to for a long time and asks Topic.
Jquery is as one of current classic lightweight JavaScript storehouse, compatibility CSS3 and various browser (IE 6.0+, FF 1.5+, Safari 2.0+, Opera 9.0+ etc.), HTML can be processed more easily (under standard generalized markup language An application), events, realize animation effect, and provide AJAX mutual convenient for webpage, can make user's simultaneously The html page (structure) keeps code and html content (data) to separate, it is not necessary to inserts a pile js again inside html and calls Order, it is only necessary to id or class of definition label can operate DOM element by selector, it is achieved the dynamic load of element.
For making the goal of the invention of the present invention, feature, the advantage can be the most obvious and understandable, below in conjunction with the present invention Accompanying drawing in embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that disclosed below Embodiment be only a part of embodiment of the present invention, and not all embodiment.Based on the embodiment in the present invention, this area All other embodiments that those of ordinary skill is obtained under not making creative work premise, broadly fall into present invention protection Scope.
Refer to Fig. 1, an embodiment bag of a kind of navigation type purpose page loading method that the embodiment of the present invention provides Include:
101, create instruction based on Jquery according to the navigation classification got and create corresponding with navigation classification to be created Content module;
In the present embodiment, when needing realizing navigation classification and when dynamically configuring of content, it is necessary first to based on Jquery Create instruction according to the navigation classification got and create the content module corresponding with navigation classification to be created.
102, the path of content module is carried out relationship map process with navigation type purpose content file to be created and generates Navigation classification so that carry out page loading based on path when loading the content page corresponding with content file.
Create corresponding with navigation classification to be created when creating instruction based on Jquery according to the navigation classification got After content module, need that the path of content module and navigation type purpose content file to be created are carried out relationship map and process also Generate navigation classification so that when loading the content page corresponding with content file, carry out page loading based on path.
In the present embodiment, create and navigation to be created by creating instruction based on Jquery according to the navigation classification got The content module that classification is corresponding, then the path of content module and navigation type purpose content file to be created are carried out relationship map Process and generate navigation classification, it is achieved that the asynchronous on-demand loading of navigation classification content, solve and carried out by iframe at present During Asynchronous Request respective class purpose content (html), owing to all classification contents of navigating need disposable loading, thus in navigation Classification more time, loading can be caused to block, the page caused such as cannot respond to for a long time at the technical problem of performance, and the navigation Dynamically configuration and the navigation asynchronous on-demand loading of classification contents pattern blocked, simplify the extension of navigation type purpose, be greatly reduced out Send out cost, add the maintainability of code, it is often more important that, serious performance issue will not be caused.
The above is that the process to navigation type purpose page loading method is described in detail, and will enter additional process below The description that row is detailed, refers to Fig. 2, and another of a kind of navigation type purpose page loading method that the embodiment of the present invention provides is real Execute example to include:
201, create instruction based on Jquery according to the navigation classification got and create corresponding with navigation classification to be created Content module and the path of correspondence;
In the present embodiment, when needing realizing navigation classification and when dynamically configuring of content, it is necessary first to based on Jquery Create instruction according to the navigation classification got and create the content module corresponding with navigation classification to be created and corresponding path.
Aforesaid path is content module correspondence html address.
202, by path and navigation type purpose corresponding relation record to be created in json file;
Create corresponding with navigation classification to be created when creating instruction based on Jquery according to the navigation classification got After the path of content module and correspondence, need path and navigation type purpose corresponding relation record to be created at json file In.
203, by json file reading of content file corresponding coordinates measurement navigation classification;
After by path and navigation type purpose corresponding relation record to be created in json file, need by json literary composition The coordinates measurement navigation classification that part reading of content file is corresponding.
204, in navigation, give the category number that navigation classification distribution is corresponding in order, and by category number and path phase Corresponding;
After corresponding by json file reading of content file coordinates measurement navigation classification, need in navigation according to Order gives the category number that navigation classification distribution is corresponding, and category number is corresponding with path.
205, when getting navigation subcategory extended instruction, in the extension navigation subcategory that will be associated, it is received within same leading Navigation subcategory now, and is distributed corresponding subcategory sequence number by boat class in order, and by subcategory sequence number and navigation subclass Destination path is corresponding;
When distributing corresponding category number in order in navigation navigation classification and category number is relative with path After should, if getting navigation subcategory extended instruction, then it be received within same navigation type in the extension navigation subcategory that will be associated Now, and navigation subcategory is distributed in order corresponding subcategory sequence number, and by subcategory sequence number and navigation subcategory Path is corresponding.
206, when getting navigation classification content or navigation subcategory loads instruction, the classification corresponding according to loading instruction Sequence number or subcategory sequence number, and the path of correspondence carry out navigate classification content loading processing.
After step 204 or step 205, when getting navigation classification content or navigation subcategory loads instruction, according to Load category number corresponding to instruction or subcategory sequence number, and the path of correspondence carries out classification content loading processing of navigating.
Being described with a concrete application scenarios below, application examples includes:
1, as shown in Fig. 5 (a), creating navigation (NagativeTab.html), comprise three classifications, classification three is two grades leads Boat, comprises two subcategories;
2, creating the content module of each classification and carry out corresponding configuration with navigation classification, it is as follows that part mainly realizes code Shown in:
By the path of content module with navigation type purpose corresponding relation record a json file (config.json) In, navigation is extended, it is only necessary to corresponding classification content (html) is placed under same catalogue, then in navigation every time Order one sequence number of distribution, in above code, sequence number is corresponding with the path of classification content, user needs which loads and leads Boat classification, it is only necessary to adjust the method setTabSyn (i);It is achieved that the asynchronous on-demand loading of navigation classification content.Such as, need " noble's privilege " classification of navigation to be loaded, performs setTabSyn (2);, the page such as figure Fig. 5 (b) the most successfully loads " expensive Race's privilege .html ".
Therefore the classification that page general layout is navigated can be carried out modularity decomposition to content of pages by Jquery.That navigates is every One classification resolves into an independent Html file, the switching navigated by triggering, Asynchronous Request respective class purpose content (html), avoid navigating the disposable loading of all classification contents.Disposable loading, when the classification of navigation is more, can cause Load and block, cause the performance issues such as the page cannot respond to for a long time.Jquery is utilized to realize navigation classification and the module of content Changing, the page needs to carry out the loading of content according to classification, separate between classification, and the increase of classification has only to configure classification Corresponding content (html) path, place, can Asynchronous loading content page.Need not typesetting again, or the closest and the most numerous CSS and html in code is adjusted greatly.The more important thing is and will not bring great performance as the iframe in past Problem.Avoid being received within all navigation type purposes in a file simultaneously, cause file excessive, load the problems such as time-consuming, There is good autgmentability.
In the present embodiment, create and navigation to be created by creating instruction based on Jquery according to the navigation classification got The content module that classification is corresponding, then the path of content module and navigation type purpose content file to be created are carried out relationship map Process and generate navigation classification, it is achieved that the asynchronous on-demand loading of navigation classification content, solve and carried out by iframe at present During Asynchronous Request respective class purpose content (html), owing to all classification contents of navigating need disposable loading, thus in navigation Classification more time, loading can be caused to block, the page caused such as cannot respond to for a long time at the technical problem of performance, and the navigation Dynamically configuration and the navigation asynchronous on-demand loading of classification contents pattern blocked, simplify the extension of navigation type purpose, be greatly reduced out Send out cost, add the maintainability of code, it is often more important that, serious performance issue will not be caused.
Further, it is the dynamic configuration in order to realize navigation classification and content, can the content of webpage be carried out more accurate Carry out modularity (individually writing in a html), directly by the position of Json configuration webpage content file (html) Carry out asynchronous on-demand loading.Which not only simplifies the work of navigation extension, be also greatly saved the development time, it is to avoid newly-increased merit Unnecessary BUG can be extended with original function mixed developing, it is often more important that, a huge webpage according to content needs Carry out Asynchronous loading, be greatly improved the loading velocity of the page, allow webpage have more preferable Consumer's Experience, simplify navigation type purpose and expand Exhibition, is greatly reduced development cost, adds the maintainability of code, it is often more important that, serious performance issue will not be caused.
Refer to Fig. 3, an embodiment of a kind of navigation type purpose page charger provided in the embodiment of the present invention Including:
Creating unit 301, leads with to be created for creating instruction establishment based on Jquery according to the navigation classification got The content module that boat classification is corresponding;
Navigation classification signal generating unit 302, for entering the path of content module with navigation type purpose content file to be created Row relationship map processes and generates navigation classification so that carry out page based on path when loading the content page corresponding with content file Face loads.
In the present embodiment, create instruction based on Jquery according to the navigation classification got by creating unit 301 and create The content module corresponding with navigation classification to be created, navigation classification signal generating unit 302 again by the path of content module with wait to create Build navigation type purpose content file carry out relationship map process and generate navigation classification, it is achieved that navigation the asynchronous of classification content is pressed Need to load, solve when at present carrying out Asynchronous Request respective class purpose content (html) by iframe, due to all classes of navigation Mesh content needs disposable loading, thus when the classification of navigation is more, loading can be caused to block, the long-time nothing of the page caused The technical problem of the performances such as method response.
The above is that each unit to navigation type purpose page charger is described in detail, below will be to extra cell Being described in detail with subelement, refer to Fig. 4, a kind of navigation type purpose page provided in the embodiment of the present invention adds and carries Another embodiment put includes:
Creating unit 401, leads with to be created for creating instruction establishment based on Jquery according to the navigation classification got The content module that boat classification is corresponding, creating unit 401, specifically for creating according to the navigation classification got based on Jquery Instruction creates the content module corresponding with navigation classification to be created and corresponding path.
Navigation classification signal generating unit 402, for entering the path of content module with navigation type purpose content file to be created Row relationship map processes and generates navigation classification so that carry out page based on path when loading the content page corresponding with content file Face loads;
Navigation classification signal generating unit 402 specifically includes:
Record subelement 4021, for by path and navigation type purpose corresponding relation record to be created in json file;
Read subelement 4022, for the coordinates measurement navigation classification corresponding by json file reading of content file;
Alignment processing subelement 4023, for giving the category number of navigation classification distribution correspondence in navigation in order, And category number is corresponding with path.
Further, navigation type purpose page charger also includes:
Navigation subcategory expanding element 403, for when getting navigation subcategory extended instruction, the extension that will be associated is led It is received within same navigation type now in boat subcategory, and navigation subcategory is distributed in order the subcategory sequence number of correspondence, and Subcategory sequence number is corresponding with navigation subclass destination path.
Loading unit 404, for when getting navigation classification content or navigation subcategory loads instruction, referring to according to loading Make corresponding category number or subcategory sequence number, and the path of correspondence carries out classification content loading processing of navigating.
In the present embodiment, create instruction based on Jquery according to the navigation classification got by creating unit 401 and create The content module corresponding with navigation classification to be created, navigation classification signal generating unit 402 again by the path of content module with wait to create Build navigation type purpose content file carry out relationship map process and generate navigation classification, it is achieved that navigation the asynchronous of classification content is pressed Need to load, solve when at present carrying out Asynchronous Request respective class purpose content (html) by iframe, due to all classes of navigation Mesh content needs disposable loading, thus when the classification of navigation is more, loading can be caused to block, the long-time nothing of the page caused The technical problem of the performances such as method response, and the asynchronous on-demand loading of classification contents pattern blocked that dynamically configures and navigate of navigation, Simplify the extension of navigation type purpose, development cost be greatly reduced, add the maintainability of code, it is often more important that, Bu Huiyin The performance issue sending out serious.
Further, it is the dynamic configuration in order to realize navigation classification and content, can the content of webpage be carried out more accurate Carry out modularity (individually writing in a html), directly by the position of Json configuration webpage content file (html) Carry out asynchronous on-demand loading.Which not only simplifies the work of navigation extension, be also greatly saved the development time, it is to avoid newly-increased merit Unnecessary BUG can be extended with original function mixed developing, it is often more important that, a huge webpage according to content needs Carry out Asynchronous loading, be greatly improved the loading velocity of the page, allow webpage have more preferable Consumer's Experience, simplify navigation type purpose and expand Exhibition, is greatly reduced development cost, adds the maintainability of code, it is often more important that, serious performance issue will not be caused.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, and the system of foregoing description, The specific works process of device and unit, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method are permissible Realize by another way.Such as, device embodiment described above is only schematically, such as, and described unit Dividing, be only a kind of logic function and divide, actual can have other dividing mode, the most multiple unit or assembly when realizing Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not performs.Another point, shown or The coupling each other discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit Close or communication connection, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme 's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated list Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit realizes and as independent production marketing or use using the form of SFU software functional unit Time, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part that in other words prior art contributed or this technical scheme completely or partially can be with the form of software product Embodying, this computer software product is stored in a storage medium, including some instructions with so that a computer Equipment (can be personal computer, server, or the network equipment etc.) performs the complete of method described in each embodiment of the present invention Portion or part steps.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The above, above example only in order to technical scheme to be described, is not intended to limit;Although with reference to front State embodiment the present invention has been described in detail, it will be understood by those within the art that: it still can be to front State the technical scheme described in each embodiment to modify, or wherein portion of techniques feature is carried out equivalent;And these Amendment or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a navigation type purpose page loading method, it is characterised in that including:
Create instruction based on Jquery according to the navigation classification got and create the interior molar corresponding with navigation classification to be created Block;
The path of described content module is carried out relationship map process with described navigation type purpose content file to be created and generates Navigation classification so that carry out page loading based on described path when loading the content page corresponding with described content file.
Navigation type purpose page loading method the most according to claim 1, it is characterised in that based on Jquery according to acquisition To navigation classification create instruction create the content module corresponding with navigation classification to be created specifically include:
Create instruction based on Jquery according to the navigation classification got and create the interior molar corresponding with navigation classification to be created Block and the described path of correspondence.
Navigation type purpose page loading method the most according to claim 2, it is characterised in that by the road of described content module Footpath and described navigation type purpose content file to be created carry out relationship map process and generate navigation classification specifically include:
By described path and navigation type purpose corresponding relation record to be created in json file;
The classification that navigates described in the described coordinates measurement that described content file is corresponding is read by described json file;
The category number that the distribution of described navigation classification is corresponding is given in order in navigation, and by described category number and described road Footpath is corresponding.
Navigation type purpose page loading method the most according to claim 3, it is characterised in that give in order in navigation The category number that the distribution of described navigation classification is corresponding, and also include after corresponding with described path for described category number:
When getting navigation subcategory extended instruction, in the extension navigation subcategory that will be associated, it is received within same described navigation type Now, and navigation subcategory is distributed in order corresponding subcategory sequence number, and by described subcategory sequence number and described navigation The described path of subcategory is corresponding.
Navigation type purpose page loading method the most according to claim 4, it is characterised in that the navigation type purpose page loads Method also includes:
When getting navigation classification content or navigation subcategory loads instruction, load, according to described, the described classification that instruction is corresponding Sequence number or described subcategory sequence number, and the described path of correspondence carries out described navigation classification content loading processing.
6. a navigation type purpose page charger, it is characterised in that including:
Creating unit, creates and navigation classification phase to be created for creating instruction based on Jquery according to the navigation classification got Corresponding content module;
Navigation classification signal generating unit, for entering the path of described content module with described navigation type purpose content file to be created Row relationship map processes and generates navigation classification so that based on described road when loading the content page corresponding with described content file Footpath carries out page loading.
Navigation type purpose page charger the most according to claim 6, it is characterised in that creating unit, specifically for Based on Jquery according to get navigation classification create instruction create the content module corresponding with navigation classification to be created and Corresponding described path.
Navigation type purpose page charger the most according to claim 7, it is characterised in that navigation classification signal generating unit tool Body includes:
Record subelement, for by described path and navigation type purpose corresponding relation record to be created in json file;
Read subelement, navigate described in the described coordinates measurement that described content file is corresponding for being read by described json file Classification;
Alignment processing subelement, for giving the category number of described navigation classification distribution correspondence in navigation in order, and will Described category number is corresponding with described path.
Navigation type purpose page charger the most according to claim 8, it is characterised in that the navigation type purpose page loads Device also includes:
Navigation subcategory expanding element, for when getting navigation subcategory extended instruction, will be associated extension navigation subclass It is received within same described navigation type in mesh now, and navigation subcategory is distributed in order the subcategory sequence number of correspondence, and will Described subcategory sequence number is corresponding with the described path of described navigation subcategory.
Navigation type purpose page charger the most according to claim 8 or claim 9, it is characterised in that the navigation type purpose page Charger also includes:
Loading unit, for when getting navigation classification content or navigation subcategory loads instruction, loads instruction according to described Corresponding described category number or described subcategory sequence number, and the described path of correspondence carries out described navigation classification content and loads Process.
CN201610526059.3A 2016-07-05 2016-07-05 A kind of navigation type purpose page loading method and device Pending CN106202354A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610526059.3A CN106202354A (en) 2016-07-05 2016-07-05 A kind of navigation type purpose page loading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610526059.3A CN106202354A (en) 2016-07-05 2016-07-05 A kind of navigation type purpose page loading method and device

Publications (1)

Publication Number Publication Date
CN106202354A true CN106202354A (en) 2016-12-07

Family

ID=57466458

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610526059.3A Pending CN106202354A (en) 2016-07-05 2016-07-05 A kind of navigation type purpose page loading method and device

Country Status (1)

Country Link
CN (1) CN106202354A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102331985A (en) * 2010-07-12 2012-01-25 阿里巴巴集团控股有限公司 Method and device for fragment nested caching of webpage
CN103440340A (en) * 2013-09-09 2013-12-11 黄卓勋 Method and device for navigation webpage content display
CN105335140A (en) * 2014-07-25 2016-02-17 阿里巴巴集团控股有限公司 Website traffic distribution control method and apparatus and network device
CN105630521A (en) * 2014-10-31 2016-06-01 阿里巴巴集团控股有限公司 Webpage loading method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102331985A (en) * 2010-07-12 2012-01-25 阿里巴巴集团控股有限公司 Method and device for fragment nested caching of webpage
CN103440340A (en) * 2013-09-09 2013-12-11 黄卓勋 Method and device for navigation webpage content display
CN105335140A (en) * 2014-07-25 2016-02-17 阿里巴巴集团控股有限公司 Website traffic distribution control method and apparatus and network device
CN105630521A (en) * 2014-10-31 2016-06-01 阿里巴巴集团控股有限公司 Webpage loading method and device

Similar Documents

Publication Publication Date Title
CN109918607B (en) Page construction method and device, medium and computing equipment
CN100568226C (en) Be used for the method that reformatting has the zone of chaotic hyperlink
US20120297324A1 (en) Navigation Control Availability
CN102637184A (en) Method and system for customizing webpages
CN101154157A (en) System and method for providing globalization function to application of JavaScript
CN111966345A (en) Drag-type webpage design method and device, computer equipment and storage medium
CN103034517A (en) Method and device for loading browser control tool
CN102591954A (en) Method, device and terminal for loading data for browser
CN106339414A (en) Webpage rendering method and device
CN103955367A (en) Method and device for generating pages
CN106933640A (en) The method and system of Web page are loaded in the browser of mobile terminal
CN102982173A (en) Webpage searching method and browser
CN103034518A (en) Method and browser for loading browser control tool
CN102982172A (en) Webpage search browser and webpage search method
CN111881662A (en) Form generation method, device, processing equipment and storage medium
CN111666100B (en) Software framework generation method and device, electronic equipment and storage medium
CN104809173A (en) Search result processing method and device
US10326858B2 (en) System and method for dynamically generating personalized websites
CN102982175A (en) Method for performing search by utilizing browser and browser
CN106168959A (en) Page layout method and device
CN105677880A (en) Method and device for realizing dynamic partition of display area
CN111367514B (en) Page card development method and device, computing device and storage medium
CN105074652A (en) Remotely executing operations of an application using a schema that provides for executable scripts in a nodal hierarchy
CN104731817A (en) Webpage display method and device
US20220300524A1 (en) Systems and methods for presenting web application content

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: 20161207