Method and device for managing browsing history in single page application

A single-page application and browsing record technology, which is applied in special data processing applications, electrical digital data processing, instruments, etc., can solve the problems of non-existing security issues, not allowing pages to obtain browsing records, data loss, etc., to improve user experience Effect

Inactive Publication Date: 2016-05-04
ALIBABA GRP HLDG LTD
View PDF2 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] From the perspective of security, the browser does not allow the page to obtain the user's browsing records; but in the single-page system application, there is no security problem
[0004] However, in the prior art, once the user uses the browser behavior, the data stored in the single-page application will be lost, and the page cannot detect whether the current page is obtained by going back, forward, jumping, or directly entering the url

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for managing browsing history in single page application
  • Method and device for managing browsing history in single page application
  • Method and device for managing browsing history in single page application

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The present invention will be described in detail below in conjunction with specific embodiments shown in the accompanying drawings. However, these embodiments do not limit the present invention, and any structural, method, or functional changes made by those skilled in the art according to these embodiments are included in the protection scope of the present invention.

[0033] Such as figure 1 As shown, in an embodiment of the present invention, the management method of browsing records in the single-page application includes:

[0034] In a single-page application, each time a page is loaded, a value corresponding to the page is stored in the historical state corresponding to the single-page application as the unique identifier of the page; a single-page application refers to a page In the case of no refresh, a page controls the display form of all sub-pages (only modify the hash value on the url).

[0035] Such as figure 2 As shown, the single-page application 20...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and a device for managing browsing history in a single page application. The method comprises the steps of in the single page application, when loading a page, storing a value corresponding to the page in the history state as the unique identifier of the page; forming an array by the plurality of values corresponding to the plurality of pages according to the loading sequence of the plurality of pages; and when a browser behavior occurs in the single page application, determining the page property of the jump page in the single page application according to the relationship between the value corresponding to the jump page and the array. According to the method, after the browser behavior is used, the browsing history still can be acquired in the single page application to judge the page property of the jump page after the browser behavior is executed, thus the user experience is enhanced.

Description

technical field [0001] The invention relates to a method and device for managing browsing records in a single-page application, in particular to a method and device for managing browsing records in a browser single-page application. Background technique [0002] A single-page application means that a page controls the presentation of all sub-pages without refreshing the page (only modifying the hash value on the url). [0003] From the perspective of security, the browser does not allow the page to obtain the user's browsing records; but in the single-page system application, there is no security problem. [0004] However, in the prior art, once the user uses the browser behavior, the data stored in the single-page application will be lost, and the page cannot detect whether the current page is obtained by going back, forward, jumping, or directly entering the url. That is, the feeling that the single-page application gives the user is: on this page, the behavior of using t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/30
Inventor 方凯
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products