WO2019090764A1 - Procédé et dispositif de renvoi à une page de programme d'application - Google Patents
Procédé et dispositif de renvoi à une page de programme d'application Download PDFInfo
- Publication number
- WO2019090764A1 WO2019090764A1 PCT/CN2017/110697 CN2017110697W WO2019090764A1 WO 2019090764 A1 WO2019090764 A1 WO 2019090764A1 CN 2017110697 W CN2017110697 W CN 2017110697W WO 2019090764 A1 WO2019090764 A1 WO 2019090764A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- page
- application
- url
- currently loaded
- json array
- Prior art date
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
Definitions
- the present invention relates to the field of communications, and in particular, to an implementation method and apparatus for returning navigation of an application.
- the main object of the present invention is to solve the technical problem that the application program in the prior art needs to control the return direction of the page by manually writing code, and the scalability is poor.
- the present invention provides an implementation method for returning an application page, where the application cache has a JSON array; and the implementation method of the application page return includes:
- adding the URL of the currently loaded page to the JSON array specifically includes:
- the method further includes
- the implementation method of the application page return is characterized in that:
- the present invention further provides an apparatus for implementing an application page return, where the application caches a JSON array; and the implementation device returned by the application page includes: [0018] adding a module, For loading the page, adding the URL of the currently loaded page to the JSON array;
- a determining module configured to determine a page type of the currently loaded page
- a generating module configured to display a previous page return control in an application head navigation menu if the currently loaded page is a non-home page
- a jump module configured to read, according to the received previous page return control click instruction, the first URL of the corresponding previous page from the JSON array, according to the first URL control The application jumps to the previous page.
- the adding module is specifically configured to: when loading a page, determine whether the URL of the currently loaded page exists in the JSON array; when the URL of the currently loaded page does not exist in the JSON array Adding the URL of the currently loaded page to the JSON array; and when the URL of the currently loaded page exists in the JS ON array, the definition has been performed to add the URL of the currently loaded page to The operation of the JSON array.
- the implementing device returned by the application page further includes:
- a deleting module configured to delete a URL of the currently loaded page in the JSON array after the jump module controls the application to jump to the previous page according to the first URL.
- the implementing device returned by the application page further includes: clearing a module
- the generating module is further configured to display an application closing control in the application head navigation menu; [0027] the clearing module is configured to close the control click instruction according to the received application, and clear the Description JSON array.
- the implementation method and apparatus for returning an application page provided by the present invention, by loading a page, adding the URL of the currently loaded page to the JSON array; determining the page type of the currently loaded page, if currently Loading the page as a non-home page, displaying the previous page return control in the application head navigation menu; reading the corresponding previous page from the JSON array according to the received previous page return control click instruction
- the first URL controls the application to jump to the previous page according to the manner in which the first URL controls the jump to the previous page, and does not need to manually write the code to control the return direction of the page, and has good scalability and can be reduced.
- the bursting effort of the application is not be reduced.
- FIG. 1 is a schematic flowchart of a first embodiment of an implementation method for returning an application page according to the present invention
- step S10 in FIG. 1 is a schematic diagram of a specific refinement process of step S10 in FIG. 1;
- FIG. 3 is a schematic diagram of functional modules of a first embodiment of an apparatus for implementing application page return according to the present invention
- FIG. 4 is a schematic diagram of functional modules of a second embodiment of an apparatus for implementing application page return according to the present invention
- FIG. 5 is a schematic diagram of functional modules of a third embodiment of an apparatus for implementing application page return according to the present invention.
- FIG. 1 is a schematic flow chart of a first embodiment of an implementation method for returning an application page of the present invention. As shown in FIG. 1, the implementation method of the application page return in the first embodiment includes the following steps:
- Step S10 After loading the page, add the URL of the currently loaded page to the JSON array.
- FIG. 2 is a schematic diagram of a specific refinement process of step S10 in FIG. As shown in FIG. 2, the step S10 in this embodiment specifically includes the following steps:
- Step S11 After loading the page, determining whether there is a U of the currently loaded page in the JSON array
- Step S12 When the URL of the currently loaded page does not exist in the JSON array, add the URL of the currently loaded page to the JSON array.
- Step S13 When the URL of the currently loaded page exists in the JSON array, the operation of adding the URL of the currently loaded page to the JSON array is defined.
- the loading page in this embodiment has the following situation: The first case is to jump from the corresponding previous page sequence to the currently loaded page; the second case is to return to the corresponding next page to jump to The page currently loaded.
- the URL of the currently loaded page when the URL of the currently loaded page exists in the JSON array, it indicates that the currently loaded page is returned by the corresponding next page.
- the URL of the currently loaded page does not exist in the JSON array, it indicates that the corresponding previous page sequentially jumps to the currently loaded page, and then the URL of the currently loaded page needs to be added to the JSON array. Provide the corresponding URL for subsequent jumps from the next page to the currently loaded page.
- Step S20 Determine the page type of the currently loaded page. If the currently loaded page is a non-home page, display the previous page return control in the application head navigation menu.
- the currently loaded page in the embodiment may be a non-home page or a home page. If the currently loaded page is a home page, there is no need to display the previous page return control in the application head navigation menu. If the currently loaded page is a non-home page, the previous page return control needs to be displayed in the application head navigation menu.
- Step S30 reading the first URL of the corresponding previous page from the JSON array according to the received last page return control click instruction, and controlling the application to jump to the first URL according to the first URL The previous page.
- the present invention proposes a second embodiment of the implementation method of returning the application page, and the second embodiment is improved on the basis of the first embodiment described above, and the improvement is that After the URL control application jumps to the previous page, the method further includes the following process: deleting the URL of the currently loaded page in the JSON array.
- the present invention provides a third embodiment of the implementation method of returning the application page, and the third embodiment is improved on the basis of the foregoing second embodiment, and the improvement is that the application page returns
- the implementation method further includes the following: displaying an application close control in the application head navigation menu; and closing the control click instruction according to the received application, clearing the JSON array; and closing after clearing the JSON array The application. Prepare for the subsequent application of the application.
- the implementation method of the application page returned by the foregoing embodiment by loading the page, adding the URL of the currently loaded page to the JSON array; determining the page type of the currently loaded page, if currently The loaded page is a non-home page, and the previous page return control is displayed in the application head navigation menu; according to the received previous page return control click command, the corresponding previous one is read from the JSON array.
- the first URL of the page controls the application to jump to the previous page according to the first URL, thereby automatically controlling the return direction of the page, without manually writing the code to control the return direction of the page, and the scalability is good, and the Reduce the amount of bursting of your application.
- FIG. 3 is a schematic diagram of functional modules of a first embodiment of an apparatus for implementing an application page return according to the present invention.
- the implementation device 100 returned by the application page includes: an adding module 110, a determining module 120, a generating module 130, and a jumping module 140.
- the adding module 110 is configured to add a URL of the currently loaded page to the JSON array after loading the page.
- the determining module 120 is configured to determine a page type of the currently loaded page.
- the generating module 130 is configured to display a previous page return control in the application head navigation menu if the currently loaded page is a non-home page.
- the jump module 140 is configured to read, according to the received previous page return control click instruction, the first URL of the corresponding previous page from the JSON array, and control the application according to the first URL Jump to the previous page.
- the currently loaded page in the embodiment may be a non-home page or a home page. If The previously loaded page is the home page, and there is no need to display the previous page return control in the application head navigation menu. If the currently loaded page is a non-home page, the previous page return control needs to be displayed in the application head navigation menu.
- the user needs to view the previous page, and the input can be implemented by clicking the previous page return control displayed in the application head navigation menu.
- the previous page returns a control click command.
- the adding module 110 is specifically configured to determine, in the loading page, whether the URL of the currently loaded page exists in the JSON array; If the URL of the currently loaded page does not exist in the JSON array, the URL of the currently loaded page is added to the JSON array; and when the URL of the currently loaded page exists in the JSON array, Defining an operation that has performed adding a URL of the currently loaded page to the JSON array
- the loading page in this embodiment has the following situations: The first case is to jump from the corresponding previous page sequence to the currently loaded page; the second case is to return to the corresponding next page to jump to The page currently loaded.
- the URL of the currently loaded page when the URL of the currently loaded page exists in the JSON array, it indicates that the currently loaded page is returned by the corresponding next page.
- the URL of the currently loaded page does not exist in the JSON array, it indicates that the corresponding previous page sequentially jumps to the currently loaded page, and then the URL of the currently loaded page needs to be added to the JSON array. Provide the corresponding URL for subsequent jumps from the next page to the currently loaded page.
- FIG. 4 is a schematic diagram of the functional modules of the second embodiment of the device for returning the application page according to the present invention.
- the second embodiment is improved on the basis of the first embodiment described above.
- the improvement is that the implementation device 100 of the application page return further includes: a deletion module 150.
- the deleting module 150 is configured to delete, after the jump module 140 controls the application to jump to the previous page according to the first URL, deleting the currently loaded page in the JSON array. URL.
- FIG. 5 is a schematic diagram of a functional module of a third embodiment of an apparatus for returning an application page according to the present invention.
- the third real The embodiment is improved on the basis of the second embodiment described above.
- the improvement is that the implementation device 100 returned by the application page further includes: an empty module 160.
- the generating module 130 is further configured to display an application close control in the application head navigation menu.
- the clearing module 160 is configured to close the JSON array according to the received application closing control click instruction; and close the application after clearing the JSON array. Prepare for the subsequent application of the application.
- the implementation method of the application page returned by the foregoing embodiment by loading the page, adding the URL of the currently loaded page to the JSON array; determining the page type of the currently loaded page, if currently The loaded page is a non-home page, and the previous page return control is displayed in the application head navigation menu; according to the received previous page return control click command, the corresponding previous one is read from the JSON array.
- the first URL of the page controls the application to jump to the previous page according to the first URL, thereby automatically controlling the return direction of the page, without manually writing the code to control the return direction of the page, and the scalability is good, and the Reduce the amount of bursting of your application.
- the implementation of the application page returned in the specific application example is as follows: After receiving the program, the application first executes the program snoring operation, and caches the JSON array; after loading the home page, the URL of the first page is loaded. Add to the JSON array. When the user continues to click to load the second page, the previous page return control is displayed in the application head navigation menu, and the URL of the second page is added to the J SON array; when the user continues to click to load the first page After 3 pages, the previous page return control is displayed in the application head navigation menu, and the URL of the third page is added to the JSON array; and so on.
- the application head navigation menu displays the previous page return control, and the user wants to return to view
- the control can be returned by clicking the previous page by the mouse; the application will read the (N-1) from the JSON array according to the click operation of the previous page return control.
- the URL of the page, and according to the URL of the (N-1)th page, the current Nth page jumps to the (N-1)th page, and the URL of the Nth page is from the JSON array. delete.
- an application close control is set in the application head navigation menu, and the user wants to close The application can close the control by clicking the application with the mouse, and the application will close the control according to the click operation of the application, and clear the JSON array, that is, delete all the URLs in the JSON array.
- the implementation method and apparatus for returning an application page provided by the present invention can automatically control the return direction of the page by manually adding or deleting the URL of the corresponding page from the JSON array, without manual manual operation.
- the write code controls the return direction of the page, and the scalability is good, which can reduce the bursting workload of the application.
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)
- Navigation (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
L'invention concerne un procédé de renvoi à une page de programme d'application, un programme d'application mettant en mémoire tampon un réseau de notation d'objet JavaScript (JSON). Le procédé consiste à : lorsqu'une page est chargée, ajouter un localisateur uniforme de ressources (URL) de la page actuellement chargée dans un réseau JSON (S10) ; déterminer le type de page de la page actuellement chargée, et si la page actuellement chargée n'est pas une page d'accueil, afficher une commande de renvoi à la dernière page dans un menu de navigation sur un en-tête de programme d'application (S20) ; et lire un premier URL correspondant à la dernière page à partir du réseau JSON selon une instruction de clic reçue pour la commande de renvoi à la dernière page, et commander le programme d'application pour qu'il saute à la dernière page selon le premier URL (S30). L'invention concerne également un dispositif de renvoi à une page de programme d'application. Selon le procédé et le dispositif de renvoi à une page de programme d'application décrits, la direction de renvoi de page est automatiquement commandée, la direction de renvoi de page n'a pas besoin d'être commandée par écriture de code manuel, la capacité d'expansion est bonne, et les charges de travail de développement de programme d'application peuvent être réduites.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2017/110697 WO2019090764A1 (fr) | 2017-11-13 | 2017-11-13 | Procédé et dispositif de renvoi à une page de programme d'application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2017/110697 WO2019090764A1 (fr) | 2017-11-13 | 2017-11-13 | Procédé et dispositif de renvoi à une page de programme d'application |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019090764A1 true WO2019090764A1 (fr) | 2019-05-16 |
Family
ID=66437519
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/110697 WO2019090764A1 (fr) | 2017-11-13 | 2017-11-13 | Procédé et dispositif de renvoi à une page de programme d'application |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2019090764A1 (fr) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106021549A (zh) * | 2016-05-27 | 2016-10-12 | 青岛海信传媒网络技术有限公司 | Web应用程序的页面控制方法、装置及终端设备 |
CN106339163A (zh) * | 2016-08-30 | 2017-01-18 | 竞技世界(北京)网络技术有限公司 | 一种App内置浏览器与内嵌网页回退交互的方法 |
CN106372251A (zh) * | 2016-09-28 | 2017-02-01 | 北京京东尚科信息技术有限公司 | 一种返回页面显示位置的方法和装置 |
CN106484862A (zh) * | 2016-10-10 | 2017-03-08 | 聚好看科技股份有限公司 | 页面控制方法及装置 |
-
2017
- 2017-11-13 WO PCT/CN2017/110697 patent/WO2019090764A1/fr active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106021549A (zh) * | 2016-05-27 | 2016-10-12 | 青岛海信传媒网络技术有限公司 | Web应用程序的页面控制方法、装置及终端设备 |
CN106339163A (zh) * | 2016-08-30 | 2017-01-18 | 竞技世界(北京)网络技术有限公司 | 一种App内置浏览器与内嵌网页回退交互的方法 |
CN106372251A (zh) * | 2016-09-28 | 2017-02-01 | 北京京东尚科信息技术有限公司 | 一种返回页面显示位置的方法和装置 |
CN106484862A (zh) * | 2016-10-10 | 2017-03-08 | 聚好看科技股份有限公司 | 页面控制方法及装置 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7805670B2 (en) | Partial rendering of web pages | |
KR101783503B1 (ko) | 웹 애플리케이션 홈 버튼 | |
EP2732380B1 (fr) | Navigateur internet mobile pour précharger des pages internet | |
US8954589B2 (en) | Multi-process browser architecture | |
US8386955B1 (en) | User-optimized content for web browsing windows | |
US20060184537A1 (en) | System and method for browsing tabbed-heterogeneous windows | |
US9378298B2 (en) | User influenced asynchronous module definition loader | |
US20120210270A1 (en) | Method and apparatus for processing multi-touch input at touch screen terminal | |
JP2012501507A (ja) | ブラウザにおける新しいタブページおよびブックマークツールバー | |
US20100070887A1 (en) | Method and apparatus for providing an application canvas framework | |
WO2016107325A1 (fr) | Procédé et dispositif de chargement de ressource de page sur la base d'un terminal mobile | |
US20140359408A1 (en) | Invoking an Application from a Web Page or other Application | |
US10339213B2 (en) | Adaptive navigation functionality in a web-based data-entry grid | |
US10592063B1 (en) | Controlling actions for browser extensions | |
CN105183890B (zh) | 基于浏览器的网页加载方法和浏览器装置 | |
CN105868420A (zh) | 一种网络资源加载方式配置方法及装置 | |
CN110989897B (zh) | 截屏图片的获取方法、装置、终端设备及存储介质 | |
CN108345683B (zh) | 网页显示方法、装置、终端及存储介质 | |
US10691750B1 (en) | Browser configured to efficiently store browsing session state | |
US9881101B2 (en) | Dynamic file retrieving for web page loading | |
US9037958B2 (en) | Dynamic creation of user interface hot spots | |
CN109101429B (zh) | 一种机顶盒的浏览器页面调试的方法及装置 | |
WO2019090764A1 (fr) | Procédé et dispositif de renvoi à une page de programme d'application | |
US9785560B2 (en) | Scene-isolated internet application | |
WO2016034067A1 (fr) | Procédé et dispositif de traitement de pages web |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17931259 Country of ref document: EP Kind code of ref document: A1 |