CN109240568A - A kind of display methods of menu page, device and storage medium - Google Patents
A kind of display methods of menu page, device and storage medium Download PDFInfo
- Publication number
- CN109240568A CN109240568A CN201810952369.0A CN201810952369A CN109240568A CN 109240568 A CN109240568 A CN 109240568A CN 201810952369 A CN201810952369 A CN 201810952369A CN 109240568 A CN109240568 A CN 109240568A
- Authority
- CN
- China
- Prior art keywords
- label card
- menu item
- menu
- webpage
- label
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
Abstract
The application obtains the corresponding first menu item information of the first menu item in response to the trigger action of the first menu item to Webpage for a kind of display methods of menu page, device and storage medium;From the label card set of Webpage, corresponding first label card of the first menu item information of inquiry whether there is, if so, according to the first label card link information of the first label card, the first menu page of the corresponding Webpage of the first menu item information of display.In the label card set of Webpage, when label card corresponding there are a menu item information, without requesting to show the corresponding menu page of menu item information to server, directly shown according to the corresponding menu page of menu item information that label card link information obtains caching, reduce the number interacted with server, accelerates the response speed of display menu page.
Description
Technical field
This application involves field of computer technology, in particular to a kind of display methods of menu page, device and storage are situated between
Matter.
Background technique
Webpage is the basic element for constituting website, is the page for being capable of providing content and showing function.In order to open up
Show more contents, menu can be set on Webpage, by clicking the menu item in menu, to realize that displaying is different
Menu page.Content in all menu pages belongs to the content that the Webpage can be shown.
When Webpage shows content with menu mode, the first menu item in menu is clicked, then needs to send out to server
The first request is sent, request shows corresponding first menu page of the first menu item;When needing to show another menu page, need
The second menu item is clicked in a menu, closes the first menu page, and send the second request, request the second dish of display to server
Single-page;If desired the first menu page is shown again, needs to find and click from a menu again the first menu item, closes the
Two menu pages, and third request, request the first menu page of display are sent to server.
When by the way of above-mentioned display menu page, when each switching menu page, require to click the dish in menu
Individual event sends to server and requests, and the menu page after could updating display switching causes to show menu page response speed
Slowly.
Summary of the invention
In view of this, the application provides display methods, device and the storage medium of a kind of menu page, display menu is improved
The response speed of the page.
Specifically, the application is achieved by the following technical solution:
The application first aspect provides a kind of display methods of menu page, which comprises
In response to the trigger action of the first menu item to Webpage, corresponding first dish of first menu item is obtained
Form information;
From the label card set of the Webpage, inquiring corresponding first label card of the first menu item information is
No presence, the label card set include the corresponding relationship of menu item information and label card, and the label card includes label card chain
Information is connect, the label card link information is used to indicate the buffer area for caching the corresponding menu page of the menu item information;
In the presence of corresponding first label card of the first menu item information, according to the first of first label card the mark
Card link information is signed, shows the first menu page of the corresponding Webpage of the first menu item information.
In one example, the method also includes:
In the absence of corresponding first label card of the first menu item information, according to the first menu item information,
The first menu page of the corresponding Webpage of the first menu item information is requested to server;
First label card is created, first label card, first label are stored in the label card set
Card includes the first label card link information, and the first label card link information is used to indicate caching first menu page
Buffer area.
In one example, the method also includes:
When switching to the second menu page from first menu page, in response to second in the label card set
The trigger action of label card obtains the second label card link information of second label card;
Second menu page of the Webpage is shown according to the second label card link information.
In one example, the label card set further includes the corresponding relationship of menu item and label card, and the method is also
Include:
Determine corresponding second menu item of second label card;
Second menu item is distinctly displayed in the menu of the Webpage.
In one example, it is provided with the Show Button on the Webpage, the method also includes:
In response to the trigger action to described the Show Button, all label cards in the label card set are shown.
In one example, all label cards in the display label card set include:
By the label card in the label card set, according to being successively successively ranked up for creation time;
According to the label card after preset mode display sequence.
In one example, it is provided with delete button on the Webpage, the method also includes:
In response to the triggering to the delete button, at least one label card is deleted from the label card set.
The application second aspect provides a kind of display device of menu page, and described device includes:
First acquisition unit obtains described first for the trigger action in response to the first menu item to Webpage
The corresponding first menu item information of menu item;
Query unit, for it is corresponding to inquire the first menu item information from the label card set of the Webpage
The first label card whether there is, the label card set includes the corresponding relationship of menu item information and label card, the label
Card includes label card link information, and the label card link information is used to indicate the corresponding menu page of the caching menu item information
The buffer area in face;
First display unit, in the presence of working as corresponding first label card of the first menu item information, according to described
First label card link information of the first label card shows the first of the corresponding Webpage of the first menu item information
Menu page.
In one example, described device further include:
Request unit, in the absence of corresponding first label card of the first menu item information, according to described the
One menu item information requests the first menu page of the corresponding Webpage of the first menu item information to server;
Creating unit stores first label card for creating first label card in the label card set,
First label card includes the first label card link information, and the first label card link information is used to indicate caching described the
The buffer area of one menu page.
In one example, described device further include:
Second acquisition unit, when for switching to the second menu page from first menu page, in response to described
The trigger action of the second label card in label card set obtains the second label card link information of second label card;
Second display unit, for according to the second label card link information, showing described the of the Webpage
Two menu pages.
In one example, the label card set further includes the corresponding relationship of menu item and label card, and described device is also
Include:
Determination unit, for determining corresponding second menu item of second label card;
Third display unit, for distinctly displaying second menu item in the menu of the Webpage.
In one example, the Show Button, described device are provided on the Webpage further include:
4th display unit, for showing in the label card set in response to the trigger action to described the Show Button
All label cards.
In one example, the 4th display unit includes:
Sorting subunit, for by the label card in the label card set, successive according to creation time successively to be carried out
Sequence;
Subelement is shown, for according to the label card after preset mode display sequence.
In one example, delete button, described device are provided on the Webpage further include:
Unit is deleted, for deleting at least one from the label card set in response to the triggering to the delete button
A label card.
The application third aspect provides a kind of display equipment of menu page, and the equipment includes: internal bus, Yi Jitong
Cross memory, processor, external interface and the display of internal bus connection;Wherein,
The memory, the corresponding machine readable instructions of control logic for storage file storage;
The processor for reading the machine readable instructions on the memory, and executes described instruction with reality
Now following operation:
In response to the trigger action of the first menu item to Webpage, corresponding first dish of first menu item is obtained
Form information;
From the label card set of the Webpage, inquiring corresponding first label card of the first menu item information is
No presence, the label card set include the corresponding relationship of menu item information and label card, and the label card includes label card chain
Information is connect, the label card link information is used to indicate the buffer area for caching the corresponding menu page of the menu item information;
In the presence of corresponding first label card of the first menu item information, the display is according to first label
First label card link information of card shows the first menu page of the corresponding Webpage of the first menu item information
Face.
The application fourth aspect provides a kind of machine readable storage medium, if being stored on the machine readable storage medium
Dry computer instruction, the computer instruction, which is performed, to be handled as follows:
In response to the trigger action of the first menu item to Webpage, corresponding first dish of first menu item is obtained
Form information;
From the label card set of the Webpage, inquiring corresponding first label card of the first menu item information is
No presence, the label card set include the corresponding relationship of menu item information and label card, and the label card includes label card chain
Information is connect, the label card link information is used to indicate the buffer area for caching the corresponding menu page of the menu item information;
In the presence of corresponding first label card of the first menu item information, according to the first of first label card the mark
Card link information is signed, shows the first menu page of the corresponding Webpage of the first menu item information.
By the above technical solution provided by the present application as it can be seen that the triggering in response to the first menu item to Webpage is grasped
Make, obtains the corresponding first menu item information of the first menu item;From the label card set of Webpage, the first menu item is inquired
Corresponding first label card of information whether there is, if so, according to the first label card link information of the first label card, display the
First menu page of the corresponding Webpage of one menu item information.In the label card set of Webpage, there are a menus
When the corresponding label card of information, the corresponding menu page of menu item information, direct basis are shown without requesting to server
The corresponding menu page of menu item information that label card link information obtains caching is shown, is reduced and is interacted with server
Number, accelerate display menu page response speed.
Detailed description of the invention
Fig. 1 is the schematic diagram for showing menu page in the prior art shown in the application;
Fig. 2 is a kind of display methods flow chart of menu page shown in the application;
Fig. 3 is the schematic diagram of the menu page switching display shown in the application;
Fig. 4 is the Show Button and list display label card schematic diagram shown in the application;
Fig. 5 is the display frames display label card schematic diagram shown in the application;
Fig. 6 is the delete button schematic diagram shown in the application;
Fig. 7 is a kind of display device structure schematic diagram of menu page shown in the application;
Fig. 8 is a kind of display device structure schematic diagram of menu page shown in the application.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the application.
It is only to be not intended to be limiting the application merely for for the purpose of describing particular embodiments in term used in this application.
It is also intended in the application and the "an" of singular used in the attached claims, " described " and "the" including majority
Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps
It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application
A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from
In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination ".
Webpage is the basic element for constituting website, and Webpage provides various contents for user and shows.For
Webpage is capable of providing and more shows contents, it will usually which menu is set on Webpage, menu includes multiple
Menu item, each menu item corresponds to a menu page, to show different contents on different menu pages.It is all
The content that can show of menu page, belong to the content that the Webpage can be shown.
The browse network page when if desired updating the content that the Webpage is shown, clicks corresponding menu item, tradition
Under browsing mode, browser reloads the whole network page to server request and is updated;Currently, Most browsers are then adopted
With Ajax (Asynchronous Javascript and XML) technology, it is only necessary to the menu page updated to server request
, realize and the part of Webpage updated and shown.
As shown in Figure 1, used at present show that the concrete mode of menu page is illustrated using Ajax technology.With
When family uses browser browse network page A, user clicks the menu item B1 in menu, and browser sends to server and requests,
It is shown using the corresponding menu page C1 of the asynchronous Loading Menu item B1 of Ajax technology;User again taps on the menu in menu
When item B2, browser closes menu page C1, sends request to server again, and uses the asynchronous Loading Menu item of Ajax technology
The corresponding menu page C2 of B2 is shown;When user thinks to browse menu page C1 again, lookup and point from a menu are needed first
Menu item B1 is hit, browser closes menu page C2, sends request to server again, and use the asynchronous load dish of Ajax technology
The corresponding menu page C1 of individual event B1 is shown.
The method of display menu page as shown in Figure 1 is it is found that each one menu page of display again, needs to close and work as
The menu page of preceding display, also, browser requires to send primary request, one new menu page of asynchronous load to server
Face is shown.Interaction between browser and server is more, shows that the response speed of menu page is slow.
To solve the above-mentioned problems, in the application, for each accessed Webpage, can all create one with
The corresponding label card set of the Webpage, to be buffered in the menu page of shown mistake on the Webpage, label card collection
The corresponding relationship of label card Yu menu item information is created in conjunction.The number of label card in the label card set of one Webpage
Amount, no more than the number of the menu page of mistake shown on the Webpage.It is understood that if not deleting label
Card, then the quantity of label card is identical as the number of the menu page accessed in the session of the Webpage;It is deleted if it exists
The label card removed, then the quantity of label card is then less than the number of the menu page accessed in the session of the Webpage.Nothing
By which kind of above-mentioned situation, a label card corresponds only to a menu item information, that is, corresponds to a menu page.It shows again
One in the menu page being once shown on the Webpage, it is only necessary to from the corresponding label card of the menu page,
Obtain caching menu page shown, without repeat to server send request, reduce browser and server it
Between interaction times, accelerate display menu page response speed.
It is said on ordinary meaning, opens a Webpage using browser, as established between browser and server
One corresponds to the session of the Webpage.When closing the Webpage, the corresponding session of the Webpage is released immediately.Cause
This needs the session data of the temporal cache Webpage when Webpage is accessed.
For network storage, including it is locally stored and is stored with session.Wherein, session storage is used for temporal cache meeting
Data are talked about, are embodied are as follows: when Webpage is accessed, the session data of the temporal cache Webpage;When Webpage is closed,
Discharge the session data of the Webpage cached.Also, the session data of a Webpage, can only be in the Webpage
It is accessed in corresponding session, the session of other Webpages can not access.Therefore, the label card collection created to a Webpage
It closes, can store, can only be accessed in the session of the Webpage as session data.
Embodiment provided by the present application is described in detail with reference to the accompanying drawing.
Illustrative methods
Fig. 2 is a kind of display methods flow chart of menu page shown in the application, comprising:
201: in response to the trigger action of the first menu item to Webpage, obtaining corresponding first dish of the first menu item
Form information.
Embodiments herein, the scene of the different menu page applied to one Webpage of display are that is, clear at one
It lookes in the session established between device and server, accesses the scene of the different menu page.
When user browses a Webpage, when if desired checking the first menu page on the Webpage, then need
Trigger corresponding first menu item of first menu page on Webpage.Trigger action is specifically arranged according to practical application
Can, without specifically limiting in the embodiment of the present application.For example, the trigger action can be user click on a web browser this first
The operation of menu item.
After user triggers first menu item, in response to the trigger action, corresponding first menu of the first menu item is obtained
Item information.Wherein, which may include the menu item names of the first menu item, the first menu item corresponding
Appointing in the cryptographic Hash of the chained address of one menu webpage and the chained address of the corresponding first menu webpage of the first menu item
It anticipates one or more.
202: from the label card set of Webpage, whether corresponding first label card of the first menu item information of inquiry is deposited
If so, executing 203;If not, executing 204.
The label card set of Webpage, including the menu item information in menu on the Webpage, with the access network
The corresponding relationship for the label card that the menu page of the page is created.
In an example, what is established in label card set is the direct corresponding relationship of menu item information and label card.This
When, the corresponding label card of menu item information can be searched from label card set directly according to menu item information.For example, menu
Item information is the chained address of the corresponding menu page of menu item, and chained address and the mark of menu page are established in label card set
Corresponding relationship between label card.
In another example, what is established in label card set is the indirect corresponding relationship of menu item information and label card.
For example, menu item information is menu item names, label card set includes menu item names menu page corresponding with menu item
The corresponding relationship of chained address, the corresponding relationship between the chained address and label card of menu page.For another example menu item information
It is the cryptographic Hash of the chained address of the corresponding menu page of menu item, label card set includes the Kazakhstan of the chained address of menu page
The corresponding relationship of uncommon value and the chained address of menu page, the corresponding relationship between the chained address and label card of menu page.
Label card includes label card link information, and label card link information is used to indicate the corresponding dish of caching menu item information
The buffer area of single-page.It is understood that the menu page only once loaded from server could be buffered, therefore,
In the storage region of label card link information instruction, caching is the menu page once shown, and a label card corresponds to
One menu page once shown on Webpage.Under normal circumstances, label card link information is label card chain ground connection
Location.There are corresponding relationships for the chained address of the menu page of label card chained address and label card caching.
In another example, label card further includes label card title, and label card title can be consistent with menu item names,
And correspond to the same menu page;Label card title can be inconsistent with menu item names, label card title and menu item
There are corresponding relationships for title, and also correspond to the same menu page.
Since what is cached in label card is the menu page once shown on Webpage, if in label card set,
There are corresponding first label cards of the first menu item information, then it represents that corresponding first menu page of the first menu item information was once
It was shown, and was cached with first menu page;If in label card set, there is no corresponding first marks of the first menu item information
Label card, then it represents that corresponding first menu page of the first menu item information was not shown, and was not cached with first menu
The page.
203: according to the first label card link information of the first label card, showing the corresponding Network page of the first menu item information
First menu page in face.
There are corresponding first label card of the first menu item information, the first label card for obtaining the first label card links letter
Breath, according to buffer zone indicated by the first label card link information, obtains the first menu page stored in the buffer zone
And it shows.
Since corresponding first menu page of the first menu item information was once shown, it is cached with first menu page
Face requests without sending again to server, also repeats to load first menu page.First, reducing browser and server
Between interaction number, reduce network resource consumption;Second, directly obtaining the of caching according to the first label card link information
One menu page is shown, without the time loaded with server communication, accelerates the response speed of display menu page.
204: according to the first menu item information, requesting the first of the corresponding Webpage of the first menu item information to server
Menu page;The first label card is created, the first label card is stored in label card set.
It is understood that the corresponding label card of menu item information is not present in label card set, then it represents that menu item letter
It ceases corresponding menu page not to be shown, is not cached with the menu page.One menu page is requested for the first time to be added
When load, browser, which needs to send to server, is requested, and loads the menu page.
Therefore, corresponding first label card of the first menu item information is not present in label card set, then according to the first menu
Item information requests the first menu page to show first menu page in the way of the prior art to server.
Also, the first label card is created, the first label card created includes the first label card link information, in the first mark
Buffer area indicated by card link information is signed, first menu page is cached.First label card generated is stored to label card
Set.It is understood that label card is not present in label card set, with this before a Webpage is accessed for the first time
The accessed number of the menu page of Webpage increases, and the label card in label card set is consequently increased.
When closing the access to the Webpage, since label card set is stored with session data, the Webpage
While session is released, which is also deleted.Until accessing the Webpage next time, one is regenerated newly
Label card set.
As shown in the above, using the display methods of menu page provided by the present application, the label card collection of Webpage
In conjunction, when label card corresponding there are a menu item information, show that the menu item information is corresponding without requesting to server
Menu page directly obtains the corresponding menu page of menu item information cached according to label card link information and is shown,
Reduce the number interacted with server, accelerates the response speed of display menu page.
In one example, the method also includes:
When switching to the second menu page from the first menu page, in response to the second label card in label card set
Trigger action obtains the second label card link information of the second label card;
According to second menu page of the second label card link information display network page.
For the menu page once shown on Webpage, display switching is carried out between above-mentioned menu page
When, in the prior art, it is the corresponding menu item of triggering menu page, reloads the menu page to server request, respond
Speed is slow.In this application, without searching the corresponding menu item of the menu page from a menu, without trigger the menu item,
There are no need to request to reload the menu page, it is only necessary to according to the link information of the corresponding label card of the menu page
The menu page for obtaining caching is shown.
It is illustrated so that the first menu page in Webpage switches to the second menu page as an example, as shown in Figure 3.Network
The first corresponding first label card F1 of menu page D1, the first menu page D1, switching the second menu page of display are shown on the page
When D2, the corresponding second label card F2 of the second menu page of triggering closes the first menu page D1, obtains the second label card F2's
Second label card link information, the buffer area indicated by the second label card link information, obtains the second menu page of caching
D2 is shown on the Webpage.Therefore, when executing the switching of menu page, it is only necessary to trigger corresponding label card i.e.
Can, simple and convenient, the menu page of display caching shows the response speed block of menu page.
In the examples described above, label card set further includes the corresponding relationship of menu item and label card, the method also includes:
Determine corresponding second menu item of the second label card;
Second menu item is distinctly displayed in the menu of Webpage.
After creating the corresponding label card of a menu page, the corresponding menu item of the menu page and label card are also set up
Corresponding relationship.When the corresponding menu page of one label card of display, the label card is distinctly displayed in the menu of Webpage
Corresponding menu item.Wherein, distinctly displaying can show according to preset mode, here without specifically limiting.For example, can be with
Adjust that the menu item is different from the color of other menu items, or be of different shades or display box it is of different sizes etc..
The display of menu item can be adjusted while showing menu page, reinforce the incidence relation between menu page and menu item.
In one example, it is provided with the Show Button on Webpage, the method also includes:
All label cards in response to the trigger action to the Show Button, in display label card set.
As indicated at 4, the Show Button is set on Webpage, it, can be with display label card set when triggering the Show Button
In all label card.In this way, checking all label cards present in label card set convenient for user.
In the above-described example, all label cards in the display label card set include:
By the label card in label card set, according to successively successively sorting for creation time;
According to the label card after preset mode display sequence.
The corresponding menu page of label card is all the menu page once shown on Webpage, aobvious in first time
When showing the menu page, the corresponding label card of the menu page is created.It can be according to the successive suitable of menu page display for the first time
Sequence, i.e., the sequencing of each label card creation time, is ranked up label card in label card set, obtains according to arrangement
Label card in sequence display label card set.Wherein, when sequence, can according to by early to late sequence, can also according to by
The sequence of evening to morning, here without specifically limiting.
Label card after display sequence, can provide the accessed incidence relation between menu page, can also show dish
The accessed sequence of single-page can also search the menu page before a menu page is shown, can also search a dish
Single-page show after menu page, reinforce menu page between relevance.
Label card after display sequence, as shown in figure 4, can be shown in the way of list;As shown in figure 5,
It can be shown in the way of display frames;It can also be shown according to other preset modes, here without repeating.
In practical applications, if currently showing label card all in label card set, it can set and trigger again
When the Show Button, label card all in label card set is hidden.Or on Webpage be arranged one hide press
Button when triggering the hiding button, hides label card all in label card set.The application is not especially limited.
What needs to be explained here is that, in addition to described above, display is all when label card in display label card set
Label card other than, can also only show a part of label card, the application is without specifically limiting.
In one example, it is provided with delete button on Webpage, the method also includes:
In response to the triggering to delete button, at least one label card is deleted from label card set.
In one scenario, as shown in fig. 6, a corresponding deletion is arranged to each of label card set label card
Button when triggering the delete button, can only delete the corresponding label card of the delete button.Any one label is deleted to facilitate
Card.
In one scenario, as shown in fig. 6, a delete button is only arranged to all label cards in label card set,
When triggering the delete button, label card all in label card set is deleted.All label cards are disposably deleted to facilitate.
In one scenario, it is grouped to the label card in label card set, one delete button of each group of correspondence, each group
Including multiple label cards.Multiple label cards are disposably deleted to facilitate.
In one scenario, above-mentioned three kinds of delete buttons can be set on Webpage, to realize flexible deletion label
Card.
Exemplary means
Fig. 7 is a kind of display device structure schematic diagram of menu page shown in the application, comprising:
First acquisition unit 701 obtains described for the trigger action in response to the first menu item to Webpage
The corresponding first menu item information of one menu item.
Query unit 702, for inquiring the first menu item information pair from the label card set of the Webpage
The first label card answered whether there is, and the label card set includes the corresponding relationship of menu item information and label card, the mark
Label card includes label card link information, and the label card link information is used to indicate the corresponding menu of the caching menu item information
The buffer area of the page.
First display unit 703, in the presence of working as corresponding first label card of the first menu item information, according to institute
It states the first label card link information of the first label card, shows the of the corresponding Webpage of the first menu item information
One menu page.
In one example, described device further include:
Request unit, in the absence of corresponding first label card of the first menu item information, according to described the
One menu item information requests the first menu page of the corresponding Webpage of the first menu item information to server;
Creating unit stores first label card for creating first label card in the label card set,
First label card includes the first label card link information, and the first label card link information is used to indicate caching described the
The buffer area of one menu page.
In one example, described device further include:
Second acquisition unit, when for switching to the second menu page from first menu page, in response to described
The trigger action of the second label card in label card set obtains the second label card link information of second label card;
Second display unit, for according to the second label card link information, showing described the of the Webpage
Two menu pages.
In one example, the label card set further includes the corresponding relationship of menu item and label card, and described device is also
Include:
Determination unit, for determining corresponding second menu item of second label card;
Third display unit, for distinctly displaying second menu item in the menu of the Webpage.
In one example, the Show Button, described device are provided on the Webpage further include:
4th display unit, for showing in the label card set in response to the trigger action to described the Show Button
All label cards.
In one example, the 4th display unit includes:
Sorting subunit, for by the label card in the label card set, successive according to creation time successively to be carried out
Sequence;
Subelement is shown, for according to the label card after preset mode display sequence.
In one example, delete button, described device are provided on the Webpage further include:
Unit is deleted, for deleting at least one from the label card set in response to the triggering to the delete button
A label card.
Exemplary means are devices corresponding with illustrative methods, and implementation is similar, retouching in reference example method
It states, which is not described herein again.
It is one embodiment schematic diagram of the display equipment of the application menu page, the display of the menu page referring to Fig. 8
Equipment may include: internal bus 810, and the memory 820 that is connected by internal bus 810, processor 830, outside connect
Mouth 840 and display 850.
Wherein, the memory 820, the corresponding machine readable instructions of control logic for storage file storage;
The processor 830, for reading the machine readable instructions on the memory, and execute described instruction with
Realize following operation:
In response to the trigger action of the first menu item to Webpage, corresponding first dish of first menu item is obtained
Form information;
From the label card set of the Webpage, inquiring corresponding first label card of the first menu item information is
No presence, the label card set include the corresponding relationship of menu item information and label card, and the label card includes label card chain
Information is connect, the label card link information is used to indicate the buffer area for caching the corresponding menu page of the menu item information;
In the presence of corresponding first label card of the first menu item information, the display 850 is according to described first
First label card link information of label card shows the first menu of the corresponding Webpage of the first menu item information
The page.
In addition, the flow for displaying of the menu page shown in the embodiment of the present application can also be included in computer-readable storage
In medium, which can connect with the processing equipment executed instruction, and the control of file storage is stored on the storage medium
The corresponding machine readable instructions of logic processed, these instructions can equipment processed execute, above-mentioned machine readable instructions for realizing
Following operation:
In response to the trigger action of the first menu item to Webpage, corresponding first dish of first menu item is obtained
Form information;
From the label card set of the Webpage, inquiring corresponding first label card of the first menu item information is
No presence, the label card set include the corresponding relationship of menu item information and label card, and the label card includes label card chain
Information is connect, the label card link information is used to indicate the buffer area for caching the corresponding menu page of the menu item information;
In the presence of corresponding first label card of the first menu item information, according to the first of first label card the mark
Card link information is signed, shows the first menu page of the corresponding Webpage of the first menu item information.
In the embodiment of the present application, computer readable storage medium can be diversified forms, for example, in different examples
In, the machine readable storage medium may is that RAM (Radom Access Memory, random access memory), volatile deposit
Reservoir, nonvolatile memory, flash memory, memory driver (such as hard disk drive), solid state hard disk, any kind of storage dish
(such as CD, dvd) perhaps similar storage medium or their combination.Special, described computer-readable medium
Can also be paper or other be suitably capable of the medium of print routine.Using these media, these programs can be passed through
The mode of electricity gets (for example, optical scanner), can be compiled, be explained and processing in an appropriate manner, then can be by
It stores in computer media.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
The purpose for needing to select some or all of the modules therein to realize application scheme.Those of ordinary skill in the art are not paying
Out in the case where creative work, it can understand and implement.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application
Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.
Claims (16)
1. a kind of display methods of menu page, which is characterized in that the described method includes:
In response to the trigger action of the first menu item to Webpage, corresponding first menu item of first menu item is obtained
Information;
From the label card set of the Webpage, inquire whether corresponding first label card of the first menu item information is deposited
It include the corresponding relationship of menu item information and label card in, the label card set, the label card includes label card link letter
Breath, the label card link information are used to indicate the buffer area for caching the corresponding menu page of the menu item information;
In the presence of corresponding first label card of the first menu item information, according to the first label card of first label card
Link information shows the first menu page of the corresponding Webpage of the first menu item information.
2. the method according to claim 1, wherein the method also includes:
In the absence of corresponding first label card of the first menu item information, according to the first menu item information, to clothes
Business device requests the first menu page of the corresponding Webpage of the first menu item information;
First label card is created, first label card, the first label card packet are stored in the label card set
The first label card link information is included, the first label card link information is used to indicate the caching for caching first menu page
Area.
3. the method according to claim 1, wherein the method also includes:
When switching to the second menu page from first menu page, in response to the second label in the label card set
The trigger action of card obtains the second label card link information of second label card;
Second menu page of the Webpage is shown according to the second label card link information.
4. according to the method described in claim 3, it is characterized in that, the label card set further includes menu item and label card
Corresponding relationship, the method also includes:
Determine corresponding second menu item of second label card;
Second menu item is distinctly displayed in the menu of the Webpage.
5. method according to any of claims 1-4, which is characterized in that be provided on the Webpage display by
Button, the method also includes:
In response to the trigger action to described the Show Button, all label cards in the label card set are shown.
6. according to the method described in claim 5, it is characterized in that, all label cards shown in the label card set
Include:
By the label card in the label card set, according to being successively successively ranked up for creation time;
According to the label card after preset mode display sequence.
7. method described in -5 any one according to claim 1, which is characterized in that be provided on the Webpage deletion by
Button, the method also includes:
In response to the triggering to the delete button, at least one label card is deleted from the label card set.
8. a kind of display device of menu page, which is characterized in that described device includes:
First acquisition unit obtains first menu for the trigger action in response to the first menu item to Webpage
The corresponding first menu item information of item;
Query unit inquires the first menu item information corresponding for from the label card set of the Webpage
One label card whether there is, and the label card set includes the corresponding relationship of menu item information and label card, the label card packet
Label card link information is included, the label card link information is used to indicate the corresponding menu page of the caching menu item information
Buffer area;
First display unit, in the presence of working as corresponding first label card of the first menu item information, according to described first
First label card link information of label card shows the first menu of the corresponding Webpage of the first menu item information
The page.
9. device according to claim 8, which is characterized in that described device further include:
Request unit, in the absence of working as corresponding first label card of the first menu item information, according to first dish
Form information requests the first menu page of the corresponding Webpage of the first menu item information to server;
Creating unit stores first label card for creating first label card in the label card set, described
First label card includes the first label card link information, and the first label card link information is used to indicate caching first dish
The buffer area of single-page.
10. device according to claim 8, which is characterized in that described device further include:
Second acquisition unit, when for switching to the second menu page from first menu page, in response to the label
The trigger action of the second label card in card set, obtains the second label card link information of second label card;
Second display unit, for showing second dish of the Webpage according to the second label card link information
Single-page.
11. device according to claim 10, which is characterized in that the label card set further includes menu item and label card
Corresponding relationship, described device further include:
Determination unit, for determining corresponding second menu item of second label card;
Third display unit, for distinctly displaying second menu item in the menu of the Webpage.
12. according to device described in claim 8-11 any one, which is characterized in that be provided with display on the Webpage
Button, described device further include:
4th display unit, for showing the institute in the label card set in response to the trigger action to described the Show Button
There is label card.
13. device according to claim 12, which is characterized in that the 4th display unit includes:
Sorting subunit, for by the label card in the label card set, successive according to creation time to be successively ranked up;
Subelement is shown, for according to the label card after preset mode display sequence.
14. according to device described in claim 8-11 any one, which is characterized in that be provided with deletion on the Webpage
Button, described device further include:
Unit is deleted, for deleting at least one mark from the label card set in response to the triggering to the delete button
Label card.
15. a kind of display equipment of menu page, which is characterized in that the equipment includes: internal bus, and by internal total
Memory, processor, external interface and the display of line connection;Wherein,
The memory, the corresponding machine readable instructions of control logic for storage file storage;
The processor for reading the machine readable instructions on the memory, and executes described instruction to realize such as
Lower operation:
In response to the trigger action of the first menu item to Webpage, corresponding first menu item of first menu item is obtained
Information;
From the label card set of the Webpage, inquire whether corresponding first label card of the first menu item information is deposited
It include the corresponding relationship of menu item information and label card in, the label card set, the label card includes label card link letter
Breath, the label card link information are used to indicate the buffer area for caching the corresponding menu page of the menu item information;
In the presence of corresponding first label card of the first menu item information, the display is according to first label card
First label card link information shows the first menu page of the corresponding Webpage of the first menu item information.
16. a kind of machine readable storage medium, which is characterized in that be stored with several computers on the machine readable storage medium
Instruction, the computer instruction, which is performed, to be handled as follows:
In response to the trigger action of the first menu item to Webpage, corresponding first menu item of first menu item is obtained
Information;
From the label card set of the Webpage, inquire whether corresponding first label card of the first menu item information is deposited
It include the corresponding relationship of menu item information and label card in, the label card set, the label card includes label card link letter
Breath, the label card link information are used to indicate the buffer area for caching the corresponding menu page of the menu item information;
In the presence of corresponding first label card of the first menu item information, according to the first label card of first label card
Link information shows the first menu page of the corresponding Webpage of the first menu item information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810952369.0A CN109240568A (en) | 2018-08-21 | 2018-08-21 | A kind of display methods of menu page, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810952369.0A CN109240568A (en) | 2018-08-21 | 2018-08-21 | A kind of display methods of menu page, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109240568A true CN109240568A (en) | 2019-01-18 |
Family
ID=65070147
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810952369.0A Pending CN109240568A (en) | 2018-08-21 | 2018-08-21 | A kind of display methods of menu page, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109240568A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110069188A (en) * | 2019-03-08 | 2019-07-30 | 维沃移动通信有限公司 | Identification display method and terminal device |
CN110162720A (en) * | 2019-04-16 | 2019-08-23 | 平安科技(深圳)有限公司 | Webpage loading method, device, computer equipment and storage medium |
CN111949899A (en) * | 2019-05-16 | 2020-11-17 | 新奥数能科技有限公司 | Service integration method and service platform |
CN114816173A (en) * | 2022-04-25 | 2022-07-29 | 深信服科技股份有限公司 | Navigation menu generation method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050033926A1 (en) * | 2003-08-06 | 2005-02-10 | International Business Machines Corporation | Method, system and program product for validating remotely cached dynamic content web pages |
CN102855061A (en) * | 2012-08-01 | 2013-01-02 | 广州博冠信息科技有限公司 | Mailbox interface interaction method and device based on multi-label window |
CN105843680A (en) * | 2016-03-18 | 2016-08-10 | 武汉斗鱼网络科技有限公司 | Method and apparatus for preventing same page from being started for multiple times due to misoperation |
CN106293352A (en) * | 2015-05-21 | 2017-01-04 | 华为软件技术有限公司 | Page makeup method, terminal and server |
CN106886570A (en) * | 2017-01-16 | 2017-06-23 | 网宿科技股份有限公司 | page processing method and device |
-
2018
- 2018-08-21 CN CN201810952369.0A patent/CN109240568A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050033926A1 (en) * | 2003-08-06 | 2005-02-10 | International Business Machines Corporation | Method, system and program product for validating remotely cached dynamic content web pages |
CN102855061A (en) * | 2012-08-01 | 2013-01-02 | 广州博冠信息科技有限公司 | Mailbox interface interaction method and device based on multi-label window |
CN106293352A (en) * | 2015-05-21 | 2017-01-04 | 华为软件技术有限公司 | Page makeup method, terminal and server |
CN105843680A (en) * | 2016-03-18 | 2016-08-10 | 武汉斗鱼网络科技有限公司 | Method and apparatus for preventing same page from being started for multiple times due to misoperation |
CN106886570A (en) * | 2017-01-16 | 2017-06-23 | 网宿科技股份有限公司 | page processing method and device |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110069188A (en) * | 2019-03-08 | 2019-07-30 | 维沃移动通信有限公司 | Identification display method and terminal device |
CN110069188B (en) * | 2019-03-08 | 2021-01-29 | 维沃移动通信有限公司 | Identification display method and terminal equipment |
CN110162720A (en) * | 2019-04-16 | 2019-08-23 | 平安科技(深圳)有限公司 | Webpage loading method, device, computer equipment and storage medium |
WO2020211379A1 (en) * | 2019-04-16 | 2020-10-22 | 平安科技(深圳)有限公司 | Web page loading method and apparatus, computer equipment and storage medium |
CN110162720B (en) * | 2019-04-16 | 2023-07-18 | 平安科技(深圳)有限公司 | Webpage loading method and device, computer equipment and storage medium |
CN111949899A (en) * | 2019-05-16 | 2020-11-17 | 新奥数能科技有限公司 | Service integration method and service platform |
CN111949899B (en) * | 2019-05-16 | 2024-03-08 | 新奥数能科技有限公司 | Service integration method and service platform |
CN114816173A (en) * | 2022-04-25 | 2022-07-29 | 深信服科技股份有限公司 | Navigation menu generation method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109240568A (en) | A kind of display methods of menu page, device and storage medium | |
JP6488265B2 (en) | User interface for accessing documents from a computing device | |
CN106484383B (en) | Page rendering method, device and equipment | |
US8713444B2 (en) | System and method for browsing tabbed-heterogeneous windows | |
US10754489B2 (en) | System and method for pinning tabs in a tabbed browser | |
US6789075B1 (en) | Method and system for prioritized downloading of embedded web objects | |
CN103034517B (en) | Browser controls tool loads method and apparatus | |
WO2018129774A1 (en) | Method and device for page processing | |
US20080077936A1 (en) | Method and apparatus for automatically launching an application from a browser | |
CN108959455A (en) | Single page Web application implementation method, device, computer equipment and storage medium | |
CN106339508B (en) | WEB caching method based on paging | |
CN104981800A (en) | Delivery and display of page previews during page retrieval events | |
JP2011501299A (en) | Dynamically updated virtual list view | |
CN105677904B (en) | Small documents storage method and device based on distributed file system | |
CN104199684B (en) | The implementation method and device of browser cold start-up | |
CN108932332A (en) | The loading method and device of static resource | |
US20080229231A1 (en) | Methods, systems, and computer program products for consolidating web pages displayed in multiple browsers | |
CN111143729A (en) | Optimization method, device, equipment and storage medium based on single-page application | |
CN105787091B (en) | Support the content delivering system and method for multiple terminals | |
WO2013177259A2 (en) | Page phase time | |
WO2020211367A1 (en) | Data crawling method and apparatus, computer device and storage medium | |
CN102799688A (en) | Method and device for displaying historical records of webpages | |
CN110309461A (en) | Webpage representation method and apparatus | |
US20080229333A1 (en) | Method, System And Storage Medium For Implementing A Message Board Cache System | |
CN110096656A (en) | System and method for mapped page state |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190118 |
|
RJ01 | Rejection of invention patent application after publication |