CN106021549A - Page control method and device of web application program and terminal device - Google Patents
Page control method and device of web application program and terminal device Download PDFInfo
- Publication number
- CN106021549A CN106021549A CN201610367063.XA CN201610367063A CN106021549A CN 106021549 A CN106021549 A CN 106021549A CN 201610367063 A CN201610367063 A CN 201610367063A CN 106021549 A CN106021549 A CN 106021549A
- Authority
- CN
- China
- Prior art keywords
- page
- mark
- target histories
- history
- weblication
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides a page control method and device of a web application program and a terminal device. The method includes the steps that after a return instruction input by a user on a current page of the web application program is obtained; the identification of a target historic page corresponding to the current page is determined, wherein the identification of the target historic page is any page identification different from the identification of the current page in an application stack of the web application program; according to the identification of the target historic page, page information of the target historic page is obtained, and the target historic page is displayed according to the page information of the target historic page. The method and device and the terminal device are used for improving historic page display efficiency for users.
Description
Technical field
The present embodiments relate to Internet technical field, particularly relate to the page of a kind of weblication
Control method, device and terminal unit.
Background technology
Along with the development of Internet technology, the use of weblication is more and more extensive, and web should
It is can be by the application program of browser access by program.
In the prior art, during user is by browser access weblication, terminal sets
The standby history page generally using application stack to browse user is managed, when user opens the new page,
Terminal unit opens the order of the page according to user, and the mark of page user opened successively puts into application
Stack so that the mark of the current page that user accesses is positioned at stack top, and user can also input return instruction,
To check the history page of access, concrete: to receive what user inputted at current page at terminal unit
After return instruction, the mark of current page is popped process in application stack by terminal unit so that when
Page iden-tity before the front page is positioned at stack top, and shows the page iden-tity pair being currently located at stack top to user
The page answered, when user needs to check the n-th page browsed before current page, then user needs
N times return instruction to be sequentially input.
But, in the prior art, when user needs the history page accessed, terminal unit can only root
According to the mark of each history page in application stack, show each history page to user successively, work as user
When needing to there is multiple page between history page and the current page checked, terminal unit need successively to
After user shows multiple page, can show, to user, the history page that user needs, cause to user
Show the inefficiency of history page.
Summary of the invention
The embodiment of the present invention provides the page control method of a kind of weblication, device and terminal unit,
For improving the efficiency showing history page to user.
First aspect, the embodiment of the present invention provides the page control method of a kind of weblication, including:
After getting the return instruction that user inputs on the current page of weblication, determine institute
Stating the mark of the target histories page corresponding to current page, being designated of the described target histories page is described
Any one page iden-tity different from the mark of described current page in the application stack of weblication;
According to the mark of the described target histories page, obtain the page info of the described target histories page, and
Page info according to the described target histories page shows the described target histories page.
In a kind of possible embodiment, the described target histories page determining that described current page is corresponding
Mark, including:
Judge that whether described current page is to there being self-defined back page;
The most then the mark of described self-defined back page is defined as the mark of the described target histories page;
If it is not, then page iden-tity adjacent with the mark of described current page in described application stack is determined
Mark for the described target histories page.
In alternatively possible embodiment, the described target histories page determining that described current page is corresponding
The mark in face, including:
Obtain the history page mark all to be selected in described application stack, in addition to the mark of described current page
Know;
Described current page is shown the mark of each described history page to be selected;
Receive described user in described current page, the mark of history page to be selected chosen operation;
The mark of the history page to be selected described user chosen is defined as the mark of the described target histories page
Know.
In alternatively possible embodiment, the described target histories page determining that described current page is corresponding
After the mark in face, also include:
In described application stack, obtain page iden-tity to be popped, described in page iden-tity to be popped include described working as
The mark of the front page and be positioned at the mark of described current page and the described target histories page mark it
Between page iden-tity;
In described application stack, described page iden-tity to be popped is carried out Pop operations.
In alternatively possible embodiment, described page iden-tity to be popped is carried out Pop operations it
After, also include:
Judge whether described application stack is empty;
If the determination result is YES, then described weblication is exited.
In alternatively possible embodiment, the described mark according to the described target histories page, obtain
The page info of the described target histories page, including:
According to the mark of the described target histories page, the buffer area corresponding at described weblication obtains
The page info of the described target histories page.
Second aspect, the embodiment of the present invention provides the page of a kind of weblication to control device, including:
Determine module, for getting the return that user inputs on the current page of weblication
After instruction, determine the mark of the target histories page that described current page is corresponding, the described target histories page
To be designated in the application stack of described weblication the mark from described current page different any
One page iden-tity;
First acquisition module, for the mark according to the described target histories page, obtains described target histories
The page info of the page;
Display module, shows described target histories page for the page info according to the described target histories page
Face.
In a kind of possible embodiment, described determine module specifically for:
Judge that whether described current page is to there being self-defined back page;
The most then the mark of described self-defined back page is defined as the mark of the described target histories page;
If it is not, then page iden-tity adjacent with the mark of described current page in described application stack is determined
Mark for the described target histories page.
In alternatively possible embodiment, described determine module specifically for:
Obtain the history page mark all to be selected in described application stack, in addition to the mark of described current page
Know;
Described current page is shown the mark of each described history page to be selected;
Receive described user in described current page, the mark of history page to be selected chosen operation;
The mark of the history page to be selected described user chosen is defined as the mark of the described target histories page
Know.
In alternatively possible embodiment, described device also includes the second acquisition module and stack operation mould
Block, wherein,
Described second acquisition module is used for, and determines that module determines the target that described current page is corresponding described
After the mark of history page, in described application stack, obtain page iden-tity to be popped, described in page to be popped
Face mark includes the mark of described current page and is positioned at the mark of described current page and described target
Page iden-tity between the mark of history page;
Described stack operation module is used for, and in described application stack, goes out described page iden-tity to be popped
Stack operation.
In alternatively possible embodiment, described device also includes judge module and exits module, its
In,
Described judge module is used for, and is going out described page iden-tity to be popped in described stack operation module
After stack operation, it is judged that whether described application stack is empty;
Described exit module for, when described judge module judges whether described application stack is sky, exit
Described weblication.
In alternatively possible embodiment, described first acquisition module specifically for:
According to the mark of the described target histories page, the buffer area corresponding at described weblication obtains
The page info of the described target histories page.
The third aspect, the embodiment of the present invention provides a kind of terminal unit, and described terminal unit includes above-mentioned the
The page of the weblication described in two any one of aspect controls device.
The page control method of weblication, device and the terminal unit that the embodiment of the present invention provides,
After page control device gets the return instruction that user inputs on the current page of browser, obtain
The mark of the target histories page that current page is corresponding, the mark of this target histories page can be browser
Application stack in from different any one page iden-tity of mark of current page, and directly according to this mesh
Mark history page page info show the target histories page, in this process, the page control device without
According to according to the order of the mark of each history page in application stack, show each history page to user successively,
The page controls device can directly obtain the target pages mark that current page is corresponding, and according to target pages
Page info show target pages to user, and then improve the efficiency showing history page to user.
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 reality
Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that under,
Accompanying drawing during face describes is some embodiments of the present invention, for those of ordinary skill in the art,
On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
The schematic flow sheet of the page control method of the weblication that Fig. 1 provides for the present invention;
The stack architecture schematic diagram one that Fig. 2 provides for the present invention;
Fig. 3 provides the schematic flow sheet one of the identification method of the history page that really sets the goal for the present invention;
The stack architecture schematic diagram two that Fig. 4 provides for the present invention;
Fig. 5 provides the schematic flow sheet two of the identification method of the history page that really sets the goal for the present invention;
The terminal interface schematic diagram that Fig. 6 provides for the present invention;
The page of the weblication that Fig. 7 provides for the present invention controls the structural representation one of device;
The page of the weblication that Fig. 8 provides for the present invention controls the structural representation two of device.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this
Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention,
Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on
Embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise
The every other embodiment obtained, broadly falls into the scope of protection of the invention.
In embodiments of the present invention, user can pass through browser access web application journey in terminal unit
Sequence, this terminal unit can be the equipment such as computer, mobile phone, is provided with web application journey in terminal unit
The page of sequence controls device (the hereinafter referred page controls device), when user needs from weblication
Current page when being back to the target histories page, the page controls device, and can to obtain current page corresponding
The mark of the target histories page, and be directly back to the target histories page from current page, so improve to
User shows the efficiency of history page.Below, by specific embodiment, the technical scheme of the application is carried out
Describe in detail.
It should be noted that these specific embodiments can be combined with each other, for identical or phase below
As concept or process may repeat no more in certain embodiments.
The schematic flow sheet of the page control method of the weblication that Fig. 1 provides for the present invention, the party
The executive agent of method is that the page controls device, refer to Fig. 1, and the method may include that
S101, after getting the return instruction that user inputs on the current page of weblication,
Determining the mark of the target histories page that current page is corresponding, the web that is designated of the target histories page applies
Any one page iden-tity different from the mark of current page in the application stack of program;
S102, mark according to the target histories page, obtain the page info of the target histories page, and root
The target histories page is shown according to the page info of the target histories page.
In embodiments of the present invention, weblication is made up of multiple pages, and user can be by browsing
Each page of weblication is conducted interviews by device, and weblication has the application stack of its correspondence,
It is empty for applying stack when initial, the process of the page in user is by browser access weblication
In, when user is by the new page of browser access, the page controls device to the page that user accesses
Mark carries out stack-incoming operation so that the mark of the history page in application stack is suitable according to opening of history page
Sequence, is arranged in order from the bottom to top, and wherein, the page controls device and can be arranged in terminal unit.
Below, in conjunction with Fig. 2, the process that page iden-tity carries out stack-incoming operation is described in detail.
The stack architecture schematic diagram one that Fig. 2 provides for the present invention, refer to Fig. 2, including stack architecture 201-stack
Structure 203 is concrete:
In stack architecture 201, after user opens weblication by browser, the page controls dress
It is set to weblication and creates application stack, application stack does not include any data, now applies the stack of stack
Structure is as shown in stack architecture 201.
In stack architecture 202, when user is by the page 1 in browser access weblication,
The page controls device and the mark of the page 1 is carried out stack-incoming operation so that application stack includes the mark of the page 1
Know, now apply the stack architecture of stack as shown in stack architecture 202.
In stack architecture 203, during user to access pages 1, when user needs accession page 2
Time, user can carry out clicking operation to the link in the page 1, to realize by the browser access page
2, the page controls device and the mark of the page 2 is carried out stack-incoming operation so that application stack includes the page 2
Mark, now applies the stack architecture of stack as shown in stack architecture 203.
In actual application, in user's current page mistake by browser access weblication
Cheng Zhong, when user needs to access the target histories page, user can input return in current page and refer to
Order, optionally, user can carry out clicking operation to the return button in terminal unit and return to realize input
Refer to order, or, it is defeated to realize that user can also carry out clicking operation to the return push-button in current page
Enter return instruction.
After the page controls the return instruction that device gets user's input, the page controls device acquisition and works as
The mark of the target histories page that the front page is corresponding, this target histories page be designated application stack in and
Different any one page iden-tity of mark of current page, optionally, the target that current page is corresponding is gone through
The mark of the history page can be that the page controls device and determines according to default corresponding relation and obtain, it is also possible to is
The mark of the history page that user includes at application stack according to actual needs selects.
After the page controls the mark that device acquires the target histories page corresponding to current page, page
Face controls the device mark according to the target histories page, obtains the page info of the target histories page, optional
, owing to the target histories page is the page that user had accessed, the page controls device can to user
The page accessed carries out caching process, so that page control device can be according to the target histories page
Mark, obtains the page info of the target histories page, and then improves acquisition at the buffer area that browser is corresponding
The speed of target histories page info, after page control device acquires target histories page info,
The page controls device and shows the target histories page according to the page info of the target histories page.
Optionally, after obtaining the mark of the target histories page corresponding to current page or in basis
After the page info of the target histories page shows the target histories page, the page controls device can be in application
Obtaining page iden-tity to be popped in stack, page iden-tity to be popped includes the mark of current page and is positioned at
Page iden-tity between mark and the mark of the target histories page of current page, and in application stack, right
Page iden-tity to be popped carries out Pop operations, so that the mark of the target histories page is positioned at the top of application stack
Portion, further, the page controls device and also needs to judge to apply whether stack is empty, if the determination result is YES,
Then exit weblication.
The page control method of the weblication that the embodiment of the present invention provides, controls device at the page and obtains
After getting the return instruction that user inputs on the current page of browser, obtain the mesh that current page is corresponding
Mark history page mark, the mark of this target histories page can be browser application stack in and ought
Different any one page iden-tity of mark of the front page, and directly according to the page of this target histories page
Information shows the target histories page, and in this process, the page controls device without according to according in application stack
The order of the mark of each history page, shows each history page to user successively, and the page controls device can
The target pages mark corresponding directly to obtain current page, and according to the page info of target pages to
Target pages is shown at family, and then improves the efficiency showing history page to user.
On the basis of embodiment illustrated in fig. 2, current page can be determined by multiple feasible implementation
The mark (S101 in embodiment illustrated in fig. 1) of the target histories page that face is corresponding, below, by figure
Embodiment shown in 3-Fig. 6, introduces two kinds of feasible implementations, concrete, refers to Fig. 3-Fig. 6
Shown embodiment.
Fig. 3 provides the schematic flow sheet one of the identification method of the history page that really sets the goal for the present invention, please
Seeing Fig. 3, the method may include that
S301, judge that whether current page is to there being self-defined back page;
The most then perform S302;
If it is not, then perform S303;
S302, the mark of self-defined back page is defined as the mark of the target histories page;
S303, application stack will be defined as target histories with the adjacent page iden-tity of mark of current page
The mark of the page.
In the embodiment shown in fig. 3, weblication includes multiple page, in exploitation web application journey
During sequence, only self-defined back page can be set for partial page, it is preferred that this is self-defined returns
Returning the page is that statistics obtains, user returns, from current page, the page that probability is the highest, in the reality shown in Fig. 2
Execute in example statistics is obtained, the page that user returns probability the highest from current page is described in detail,
The most no longer repeat.
In actual application, need to obtain the target histories that current page is corresponding when the page controls device
During the page, the page controls device and first judges whether current page has the self-defined back page of its correspondence;
If current page does not has the self-defined back page of its correspondence, then the page controls device acquisition application stack
In with the adjacent page iden-tity of mark of current page, and by the page adjacent with the mark of current page
Mark is defined as the mark of the target histories page, and wherein, in application stack, the mark with current page is adjacent
Page iden-tity is the mark that user accesses the page accessed before current page.
If current page has a self-defined back page of its correspondence, then the page controls device and is obtained from definition and returns
Return the mark of the page, and the mark of self-defined back page is defined as the target histories that current page is corresponding
The mark of the page, optionally, can arrange the corresponding relation of the corresponding target histories page of each page,
So that the page controls device and can obtain, according to this corresponding relation, the target histories page that current page is corresponding,
Such as, this corresponding relation can be as shown in table 1:
Table 1
The mark of the page | The mark of the target histories page |
The page 3 | The page 1 |
The page 5 | The page 2 |
The page 6 | The page 2 |
…… | …… |
Refer to table 1, if current page is the page 3, need to obtain the mesh of the page 3 when the page controls device
During mark history page, page control device, according to the corresponding relation shown in table 1, can obtain the page 3
The target histories page is the page;If current page is the page 5, need to obtain the page 5 when the page controls device
The target histories page time, the page control device according to the corresponding relation shown in table 1, the page can be obtained
The target histories page of 5 is the page 2.
In above process, it is preferred that the target histories page that current page is corresponding can be statistics obtain,
User returns, from current page, the page that probability is the highest, optionally, user can use web application journey
The behavior of sequence is added up, the target histories page corresponding to acquire current page, concrete: can
To add up multiple effective history page that multiple users return from current page, this effective history page is for using
Family stay time after current page returns, history page is more than predetermined threshold value or in history page
In carry out the history page that operates, and return to each effective history page according to user from current page
Probability, is defined as, by history page the highest for probability, the history page that current page is corresponding;Obtain determining
After the history page that current page is corresponding, the default corresponding of current page and this history page can be set
Relation, so that the page controls device and can obtain, according to this default corresponding relation, the target that current page is corresponding
The mark of history page.
Below, in conjunction with the stack architecture shown in Fig. 4, by concrete example, to the side described in Fig. 3 embodiment
Method is described in detail.
The stack architecture schematic diagram two that Fig. 4 provides for the present invention, refer to Fig. 4, including stack architecture 401-stack
Structure 403 is concrete:
Exemplary, it is assumed that weblication 1 can be conducted interviews by user by browser, user
During weblication 1 is conducted interviews, have accessed the page 1-of weblication 1 successively
The page 5, and the page of user's current accessed is the page 5, stack architecture the most now is as shown in stack architecture 401.
In stack architecture 401, from the mark being followed successively by the page 1-page 5 at the bottom of stack to stack top;Assume user
During accession page 5, user needs return to check the target histories page, then user can be to page
Return push-button in face 5 carries out clicking operation to generate return instruction, controls device at the page and gets and return
After referring to order, the page controls device and judges whether the page 5 has the self-defined back page of its correspondence.
The most then the page controls the self-defined back page of the device acquisition page 5 correspondence, it is assumed that the page 5
Corresponding self-defined back page is the page 2, then the page controls the page info of the device acquisition page 2,
And according to the page info of the page 2 to user's displayed page 2, meanwhile, the page controls device will apply stack
In the mark of the page 5-page 3 carry out Pop operations so that the mark of the page 2 is positioned at stack top, specifically
, as shown in stack architecture 402.
If it is not, then page control device obtains the page adjacent with the mark of the page 5 in stack architecture 401
The mark of 4, and the mark of the page 4 is defined as the target histories page of the page 5 correspondence, then page control
Device processed obtains the page info of the page 4, and according to the page info of the page 4 to user's displayed page 4,
Meanwhile, the page controls device and the mark of the page 5 in application stack is carried out Pop operations so that the page 4
Mark be positioned at stack top, concrete, as shown in stack architecture 403.
Fig. 5 provides the schematic flow sheet two of the identification method of the history page that really sets the goal for the present invention, please
Seeing Fig. 5, the method may include that
The mark of the history page all to be selected in S501, acquisition application stack, in addition to the mark of current page
Know;
S502, on current page, show the mark of each history page to be selected;
S503, receive user in current page, the mark of history page to be selected chosen operation;
S504, the mark of the history page to be selected user chosen are defined as the mark of the target histories page.
In the embodiment shown in fig. 5, need to obtain the history page that current page is corresponding when the page controls device
During face, the page controls device and obtains the history all to be selected in application stack, in addition to the mark of current page
The mark of the page, and on current page, show the mark of each history page to be selected, so that user can be right
The mark of each history page to be selected carries out choosing operation, optionally, identifies that each is gone through for the ease of user
The mark of the history page, the page controls device can be by the characteristic information mark history page of history page
Mark, wherein, the characteristic information of history page can be the title etc. of history page, further, page
Face controls device and can also be ranked up each history page, and displays to the user that the history page after sequence
Mark, optionally, can according to each history page mark application stack in order to user show
The mark of each history page.
After the page controls the mark that device shows each history page to be selected on current page, the page
Control device and can receive user's operation of choosing to the mark of history page to be selected in current page, will
The mark of the history page to be selected that user chooses is defined as the mark of the target histories page.
Below, in conjunction with the terminal interface figure shown in Fig. 6, by concrete example, to shown in Fig. 5 embodiment
Method be described in detail.
Exemplary, it is assumed that weblication 1 can be conducted interviews by user by browser, user
During weblication 1 is conducted interviews, have accessed the page 1-of weblication 1 successively
The page 5, and the page of user's current accessed is the page 5, now wraps in the application stack of weblication 1
Include the mark of the page 1-page 5, and the mark of the page 1-page 5 is arranged successively according to order from top to bottom
Row.
The terminal interface schematic diagram that Fig. 6 provides for the present invention, refers to Fig. 6, including the page 601-page 3,
Concrete:
In interface 601, including the page 5 of user's current accessed, interface 601 also includes " return "
Button, the Home button, Refresh button etc., during user to access pages 5, when user needs
When checking the page accessed before accession page 5, the Back button in interface 601 is entered by user
Row clicking operation, to generate return instruction, after page control device gets this return instruction, page
Face controls device and obtains the mark of the history page all to be selected in application stack, in addition to the mark of the page 5,
The i.e. mark of the page 1-page 4, and on the page 5, show the mark of each history page to be selected, specifically
, refer to interface 602.
In interface 602, including the mark of each history page to be selected, user can be according to actual needs
The mark of each history page to be selected is carried out clicking operation, it is assumed that user needs to be back to page from the page 5
Face 2, then user can carry out clicking operation to the mark of the page 2, controls device at the page and receives use
Family in the page 5 to the mark of the page 2 choose operation after, the page controls device and is determined by the page 2
For the mark of the target histories page, and in the buffer area of weblication 1 correspondence, obtain the page 2
Page info, and display to the user that the page 2 according to the page info of the page 2, concrete, refer to boundary
Face 603.
In interface 603, the page 2 returned from the page 5 including user, further, the page controls
Device also needs in the application stack of weblication 1, pops the mark of the page 5-page 3
Operation.
In above process, by showing the mark of each history page to be selected that current page is corresponding to user
Know, so that user selects the history page that current page is corresponding according to actual needs so that page control
Device processed can show, to user, the history page that current page is corresponding more accurately.
On the basis of any one embodiment above-mentioned, it is preferred that this weblication can use list
Page mode, so that the business of the server end of client (browser end) and weblication is divided
From, client it is responsible for the front-end business such as render of the page, server end is responsible for data and processes business;
The weblication realized in single-page includes multiple subpage frame, initializes at this weblication
Time, the HyperText Markup Language of all subpage frames of weblication is loaded to server request
DOM Document Object Model (the Document of (HyperText Markup Language is called for short HTML)
Object Model, DOM) structure, in weblication running, display is active
The page, and hide the nonactivated page.
The page of the weblication that Fig. 7 provides for the present invention controls the structural representation one of device, please
With reference to Fig. 7, this device may include that
Determine module 701, for getting what user inputted on the current page of weblication
After return instruction, determine the mark of the target histories page that described current page is corresponding, described target histories
Being designated in the application stack of described weblication of the page is different from identifying of described current page
Any one page iden-tity;
First acquisition module 702, for the mark according to the described target histories page, obtains described target
The page info of history page;
For the page info according to the described target histories page, display module 703, shows that described target is gone through
The history page.
The page of the weblication that the embodiment of the present invention provides controls device can perform said method in fact
Executing the technical scheme shown in example, it realizes principle and beneficial effect is similar to, and the most no longer repeats.
In actual application, optionally, described determine that module 701 specifically may be used for:
Judge that whether described current page is to there being self-defined back page;
The most then the mark of described self-defined back page is defined as the mark of the described target histories page;
If it is not, then page iden-tity adjacent with the mark of described current page in described application stack is determined
Mark for the described target histories page.
Optionally, described determine that module 701 specifically can be also used for:
Obtain the history page mark all to be selected in described application stack, in addition to the mark of described current page
Know;
Described current page is shown the mark of each described history page to be selected;
Receive described user in described current page, the mark of history page to be selected chosen operation;
The mark of the history page to be selected described user chosen is defined as the mark of the described target histories page
Know.
The page of the weblication that Fig. 8 provides for the present invention controls the structural representation two of device,
On the basis of embodiment illustrated in fig. 7, refer to Fig. 8, this device can include the second acquisition module 704
With stack operation module 705, wherein,
Described second acquisition module 704 is used for, and determines that module determines that described current page is corresponding described
After the mark of the target histories page, in described application stack, obtain page iden-tity to be popped, described in treat out
Stack page mark includes the mark of described current page and is positioned at the mark of described current page and described
Page iden-tity between the mark of the target histories page;
Described stack operation module 705 is used for, and in described application stack, enters described page iden-tity to be popped
Row Pop operations.
Further, described device can also include judge module 706 and exit module 707, wherein,
Described judge module 706 is used for, and is entering described page iden-tity to be popped in described stack operation module
After row Pop operations, it is judged that whether described application stack is empty;
Described exit module 707 for, when described judge module judges whether described application stack is sky,
Exit described weblication.
Optionally, described first acquisition module 702 specifically may be used for:
According to the mark of the described target histories page, the buffer area corresponding at described weblication obtains
The page info of the described target histories page.
The page of the weblication that the embodiment of the present invention provides controls device can perform said method in fact
Executing the technical scheme shown in example, it realizes principle and beneficial effect is similar to, and the most no longer repeats.
The embodiment of the present invention also provides for a kind of terminal unit, and this terminal unit includes that Fig. 7 or Fig. 8 is the most real
The page executing the weblication shown in example controls device, the web application journey that this terminal unit includes
The page of sequence controls the structure of device, operation principle and accessible beneficial effect, with Fig. 7 or Fig. 8
The page of the weblication shown in any embodiment control the structure of device, operation principle and up to
The beneficial effect arrived is similar to, and the most no longer repeats.
One of ordinary skill in the art will appreciate that: realize all or part of step of above-mentioned each method embodiment
Suddenly can be completed by the hardware that programmed instruction is relevant.Aforesaid program can be stored in a computer can
Read in storage medium.This program upon execution, performs to include the step of above-mentioned each method embodiment;And
Aforesaid storage medium includes: ROM, RAM, magnetic disc or CD etc. are various can store program code
Medium.
Last it is noted that various embodiments above is only in order to illustrate technical scheme, rather than right
It limits;Although the present invention being described in detail with reference to foregoing embodiments, this area common
Skilled artisans appreciate that the technical scheme described in foregoing embodiments still can be modified by it,
Or the most some or all of technical characteristic is carried out equivalent;And these amendments or replacement, and
The essence not making appropriate technical solution departs from the scope of various embodiments of the present invention technical scheme.
Claims (10)
1. the page control method of a weblication, it is characterised in that including:
After getting the return instruction that user inputs on the current page of weblication, determine institute
Stating the mark of the target histories page corresponding to current page, being designated of the described target histories page is described
Any one page iden-tity different from the mark of described current page in the application stack of weblication;
According to the mark of the described target histories page, obtain the page info of the described target histories page, and
Page info according to the described target histories page shows the described target histories page.
Method the most according to claim 1, it is characterised in that described determine described current page pair
The mark of the target histories page answered, including:
Judge that whether described current page is to there being self-defined back page;
The most then the mark of described self-defined back page is defined as the mark of the described target histories page;
If it is not, then page iden-tity adjacent with the mark of described current page in described application stack is determined
Mark for the described target histories page.
Method the most according to claim 1, it is characterised in that described determine described current page pair
The mark of the target histories page answered, including:
Obtain the history page mark all to be selected in described application stack, in addition to the mark of described current page
Know;
Described current page is shown the mark of each described history page to be selected;
Receive described user in described current page, the mark of history page to be selected chosen operation;
The mark of the history page to be selected described user chosen is defined as the mark of the described target histories page
Know.
4. according to the method described in any one of claim 1-3, it is characterised in that described determine described working as
After the mark of the target histories page that the front page is corresponding, also include:
In described application stack, obtain page iden-tity to be popped, described in page iden-tity to be popped include described working as
The mark of the front page and be positioned at the mark of described current page and the described target histories page mark it
Between page iden-tity;
In described application stack, described page iden-tity to be popped is carried out Pop operations.
Method the most according to claim 4, it is characterised in that to described page iden-tity to be popped
After carrying out Pop operations, also include:
Judge whether described application stack is empty;
If the determination result is YES, then described weblication is exited.
6. according to the method described in any one of claim 1-3, it is characterised in that described according to described mesh
The mark of mark history page, obtains the page info of the described target histories page, including:
According to the mark of the described target histories page, the buffer area corresponding at described weblication obtains
The page info of the described target histories page.
7. the page of a weblication controls device, it is characterised in that including:
Determine module, for getting the return that user inputs on the current page of weblication
After instruction, determine the mark of the target histories page that described current page is corresponding, the described target histories page
To be designated in the application stack of described weblication the mark from described current page different any
One page iden-tity;
First acquisition module, for the mark according to the described target histories page, obtains described target histories
The page info of the page;
Display module, shows described target histories page for the page info according to the described target histories page
Face.
Device the most according to claim 7, it is characterised in that described determine module specifically for:
Judge that whether described current page is to there being self-defined back page;
The most then the mark of described self-defined back page is defined as the mark of the described target histories page;
If it is not, then page iden-tity adjacent with the mark of described current page in described application stack is determined
Mark for the described target histories page.
Device the most according to claim 7, it is characterised in that described determine module specifically for:
Obtain the history page mark all to be selected in described application stack, in addition to the mark of described current page
Know;
Described current page is shown the mark of each described history page to be selected;
Receive described user in described current page, the mark of history page to be selected chosen operation;
The mark of the history page to be selected described user chosen is defined as the mark of the described target histories page
Know.
10. a terminal unit, it is characterised in that described terminal unit includes that claim 7-9 is arbitrary
The page of the weblication described in Xiang controls device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610367063.XA CN106021549B (en) | 2016-05-27 | 2016-05-27 | Web application program page control method and device and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610367063.XA CN106021549B (en) | 2016-05-27 | 2016-05-27 | Web application program page control method and device and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106021549A true CN106021549A (en) | 2016-10-12 |
CN106021549B CN106021549B (en) | 2020-04-07 |
Family
ID=57092450
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610367063.XA Active CN106021549B (en) | 2016-05-27 | 2016-05-27 | Web application program page control method and device and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106021549B (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106658124A (en) * | 2016-11-10 | 2017-05-10 | 海信电子科技(深圳)有限公司 | Television page return control method and television |
CN106951148A (en) * | 2017-05-02 | 2017-07-14 | 深圳乐信软件技术有限公司 | A kind of method and apparatus for switching the page |
CN106980507A (en) * | 2017-03-31 | 2017-07-25 | 武汉斗鱼网络科技有限公司 | Self-defined retrogressing treating method and apparatus |
CN107807993A (en) * | 2017-11-08 | 2018-03-16 | 山东浪潮商用系统有限公司 | A kind of implementation method and device of web-page histories writing function |
CN108241688A (en) * | 2016-12-26 | 2018-07-03 | 广州市动景计算机科技有限公司 | A kind of page access method, apparatus and computing device |
CN108255550A (en) * | 2017-11-27 | 2018-07-06 | 深圳市小牛在线互联网信息咨询有限公司 | Method for page jump, device, storage medium and computer equipment |
CN108268622A (en) * | 2018-01-08 | 2018-07-10 | 金行家(深圳)文化传播有限公司 | Method and device for returning page and computer readable storage medium |
CN108345479A (en) * | 2017-01-22 | 2018-07-31 | 北京优朋普乐科技有限公司 | A kind of page returns and the method and system of mark stacking |
CN108763541A (en) * | 2018-05-31 | 2018-11-06 | 维沃移动通信有限公司 | A kind of page display method and terminal |
CN108959487A (en) * | 2018-06-22 | 2018-12-07 | 福建南威软件有限公司 | A kind of page processing method based on the end H5 |
CN108958591A (en) * | 2018-06-29 | 2018-12-07 | 深圳春沐源控股有限公司 | Terminal program control method and terminal device based on suspension button |
CN109101297A (en) * | 2017-06-20 | 2018-12-28 | 北京国双科技有限公司 | A kind of identification method and device of the page |
WO2019090764A1 (en) * | 2017-11-13 | 2019-05-16 | 深圳峰创智诚科技有限公司 | Method and device for returning to an application program page |
CN110020268A (en) * | 2017-07-28 | 2019-07-16 | 北京国双科技有限公司 | Page returning method and device |
CN110297997A (en) * | 2019-06-19 | 2019-10-01 | 百度在线网络技术(北京)有限公司 | Page display method, device and equipment |
WO2019219084A1 (en) * | 2018-05-18 | 2019-11-21 | 华为技术有限公司 | Display control method and terminal |
WO2021136300A1 (en) * | 2019-12-31 | 2021-07-08 | 华为技术有限公司 | Method and terminal device for returning to historical page |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902805A (en) * | 2012-10-15 | 2013-01-30 | 东软集团股份有限公司 | Page access method and device |
CN103105994A (en) * | 2011-11-11 | 2013-05-15 | 希姆通信息技术(上海)有限公司 | Mobile terminal and return method of mobile terminal page |
CN103257782A (en) * | 2012-02-20 | 2013-08-21 | 腾讯科技(深圳)有限公司 | Method and system for title bar path navigation of mobile device |
CN103678536A (en) * | 2013-12-02 | 2014-03-26 | 乐视网信息技术(北京)股份有限公司 | Method and device for implementing page returning |
CN103885992A (en) * | 2012-12-24 | 2014-06-25 | 腾讯科技(武汉)有限公司 | Method and device for controlling page display |
CN103984686A (en) * | 2013-02-07 | 2014-08-13 | 阿里巴巴集团控股有限公司 | Page-switching method and device |
CN103995884A (en) * | 2014-05-29 | 2014-08-20 | 北京中电普华信息技术有限公司 | Hybrid application page switching method and system |
CN104281677A (en) * | 2014-09-29 | 2015-01-14 | 百度在线网络技术(北京)有限公司 | Page displaying method and device |
CN104615697A (en) * | 2015-01-26 | 2015-05-13 | 南京信息工程大学 | Webpage level memorizing and returning method |
CN104881212A (en) * | 2015-06-26 | 2015-09-02 | 深圳市富途网络科技有限公司 | Fast display interface switching method and system for mobile electronic equipment |
CN104898914A (en) * | 2014-03-05 | 2015-09-09 | 腾讯科技(深圳)有限公司 | Multi-page display method and device |
CN104978385A (en) * | 2015-03-19 | 2015-10-14 | 腾讯科技(深圳)有限公司 | Information processing method, browser client and terminal |
CN105224579A (en) * | 2014-07-02 | 2016-01-06 | 腾讯科技(深圳)有限公司 | A kind of history page air navigation aid and device |
CN105335052A (en) * | 2015-11-30 | 2016-02-17 | 腾讯科技(深圳)有限公司 | Information processing method and terminal equipment |
CN105468243A (en) * | 2015-12-09 | 2016-04-06 | 魅族科技(中国)有限公司 | Page returning method and page returning device |
-
2016
- 2016-05-27 CN CN201610367063.XA patent/CN106021549B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103105994A (en) * | 2011-11-11 | 2013-05-15 | 希姆通信息技术(上海)有限公司 | Mobile terminal and return method of mobile terminal page |
CN103257782A (en) * | 2012-02-20 | 2013-08-21 | 腾讯科技(深圳)有限公司 | Method and system for title bar path navigation of mobile device |
CN102902805A (en) * | 2012-10-15 | 2013-01-30 | 东软集团股份有限公司 | Page access method and device |
CN103885992A (en) * | 2012-12-24 | 2014-06-25 | 腾讯科技(武汉)有限公司 | Method and device for controlling page display |
CN103984686A (en) * | 2013-02-07 | 2014-08-13 | 阿里巴巴集团控股有限公司 | Page-switching method and device |
CN103678536A (en) * | 2013-12-02 | 2014-03-26 | 乐视网信息技术(北京)股份有限公司 | Method and device for implementing page returning |
CN104898914A (en) * | 2014-03-05 | 2015-09-09 | 腾讯科技(深圳)有限公司 | Multi-page display method and device |
CN103995884A (en) * | 2014-05-29 | 2014-08-20 | 北京中电普华信息技术有限公司 | Hybrid application page switching method and system |
CN105224579A (en) * | 2014-07-02 | 2016-01-06 | 腾讯科技(深圳)有限公司 | A kind of history page air navigation aid and device |
CN104281677A (en) * | 2014-09-29 | 2015-01-14 | 百度在线网络技术(北京)有限公司 | Page displaying method and device |
CN104615697A (en) * | 2015-01-26 | 2015-05-13 | 南京信息工程大学 | Webpage level memorizing and returning method |
CN104978385A (en) * | 2015-03-19 | 2015-10-14 | 腾讯科技(深圳)有限公司 | Information processing method, browser client and terminal |
CN104881212A (en) * | 2015-06-26 | 2015-09-02 | 深圳市富途网络科技有限公司 | Fast display interface switching method and system for mobile electronic equipment |
CN105335052A (en) * | 2015-11-30 | 2016-02-17 | 腾讯科技(深圳)有限公司 | Information processing method and terminal equipment |
CN105468243A (en) * | 2015-12-09 | 2016-04-06 | 魅族科技(中国)有限公司 | Page returning method and page returning device |
Cited By (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106658124B (en) * | 2016-11-10 | 2019-12-24 | 海信电子科技(深圳)有限公司 | Television page return control method and television |
CN106658124A (en) * | 2016-11-10 | 2017-05-10 | 海信电子科技(深圳)有限公司 | Television page return control method and television |
CN108241688A (en) * | 2016-12-26 | 2018-07-03 | 广州市动景计算机科技有限公司 | A kind of page access method, apparatus and computing device |
WO2018121277A1 (en) * | 2016-12-26 | 2018-07-05 | 广州市动景计算机科技有限公司 | Page access method, device, computer apparatus, and computer storage medium |
CN108345479A (en) * | 2017-01-22 | 2018-07-31 | 北京优朋普乐科技有限公司 | A kind of page returns and the method and system of mark stacking |
CN106980507A (en) * | 2017-03-31 | 2017-07-25 | 武汉斗鱼网络科技有限公司 | Self-defined retrogressing treating method and apparatus |
CN106951148A (en) * | 2017-05-02 | 2017-07-14 | 深圳乐信软件技术有限公司 | A kind of method and apparatus for switching the page |
CN106951148B (en) * | 2017-05-02 | 2020-03-03 | 深圳乐信软件技术有限公司 | Page switching method and device |
CN109101297A (en) * | 2017-06-20 | 2018-12-28 | 北京国双科技有限公司 | A kind of identification method and device of the page |
CN110020268B (en) * | 2017-07-28 | 2022-04-12 | 北京国双科技有限公司 | Page returning method and device |
CN110020268A (en) * | 2017-07-28 | 2019-07-16 | 北京国双科技有限公司 | Page returning method and device |
CN107807993A (en) * | 2017-11-08 | 2018-03-16 | 山东浪潮商用系统有限公司 | A kind of implementation method and device of web-page histories writing function |
CN107807993B (en) * | 2017-11-08 | 2021-06-15 | 山东云缦智能科技有限公司 | Method and device for realizing webpage history recording function |
WO2019090764A1 (en) * | 2017-11-13 | 2019-05-16 | 深圳峰创智诚科技有限公司 | Method and device for returning to an application program page |
CN108255550A (en) * | 2017-11-27 | 2018-07-06 | 深圳市小牛在线互联网信息咨询有限公司 | Method for page jump, device, storage medium and computer equipment |
CN108268622A (en) * | 2018-01-08 | 2018-07-10 | 金行家(深圳)文化传播有限公司 | Method and device for returning page and computer readable storage medium |
WO2019219084A1 (en) * | 2018-05-18 | 2019-11-21 | 华为技术有限公司 | Display control method and terminal |
CN110502169A (en) * | 2018-05-18 | 2019-11-26 | 华为技术有限公司 | A kind of display control method and terminal |
CN108763541A (en) * | 2018-05-31 | 2018-11-06 | 维沃移动通信有限公司 | A kind of page display method and terminal |
CN108959487A (en) * | 2018-06-22 | 2018-12-07 | 福建南威软件有限公司 | A kind of page processing method based on the end H5 |
CN108958591A (en) * | 2018-06-29 | 2018-12-07 | 深圳春沐源控股有限公司 | Terminal program control method and terminal device based on suspension button |
CN110297997A (en) * | 2019-06-19 | 2019-10-01 | 百度在线网络技术(北京)有限公司 | Page display method, device and equipment |
WO2021136300A1 (en) * | 2019-12-31 | 2021-07-08 | 华为技术有限公司 | Method and terminal device for returning to historical page |
Also Published As
Publication number | Publication date |
---|---|
CN106021549B (en) | 2020-04-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106021549A (en) | Page control method and device of web application program and terminal device | |
CN107451199B (en) | Question recommendation method, device and equipment | |
CN109684586B (en) | Page optimization display method and device, computer equipment and storage medium | |
US9584504B2 (en) | Auto login method and device | |
CN109684574A (en) | Page loading method, device, equipment and storage medium | |
CN102880616B (en) | browser page loading method and device | |
CN107220094A (en) | Page loading method and device and electronic equipment | |
US8489985B2 (en) | Automatically adjusting a webpage | |
CN108595583A (en) | Dynamic chart class page data crawling method, device, terminal and storage medium | |
US20120234907A1 (en) | System and process for managing hosting and redirecting the data output of a 2-D QR barcode | |
CN106886570A (en) | page processing method and device | |
CN106484383A (en) | page rendering method, device and equipment | |
CN106250464B (en) | Training method and device of ranking model | |
US20140114986A1 (en) | Method and apparatus for implicit topic extraction used in an online consultation system | |
CN105955593B (en) | Method and device for presenting discussion information | |
US11550990B2 (en) | Machine first approach for identifying accessibility, non-compliances, remediation techniques and fixing at run-time | |
CN109740041B (en) | Webpage crawling method and device, storage medium and computer equipment | |
CN104142966A (en) | Web page displaying method and client | |
CN110175306A (en) | A kind of processing method and processing device of advertising information | |
CN109325810B (en) | Recharge conversion improving method, electronic equipment and computer storage medium | |
CN109740081A (en) | Page loading method and device | |
CN112685665A (en) | Page jump method and device, electronic equipment and storage medium | |
CN106372158A (en) | Method and device for processing user behavior data | |
CN107526589A (en) | Page display method and device | |
CN110287460B (en) | Electronic book display method, computing equipment and computer storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |