Unlock instant, AI-driven research and patent intelligence for your innovation.

Page switching method and device for single-page application, storage medium and electronic equipment

A page switching and single-page application technology, applied in the computer field, can solve problems such as increasing the development cost of single-page applications, increasing the logic complexity of page switching code, and achieving the effect of improving development efficiency

Pending Publication Date: 2022-07-12
BEIJING MEDICAL CROSS THE CLOUD TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In related technologies, the page jump of a single-page application pre-sets the forward and backward relationship between page components according to the relevance of the page. In order to control the page state after the page is forwarded or backward, a large number of hard codes need to be written to process each page component. The jump logic between them not only increases the code logic complexity of page switching, but also increases the development cost of single-page applications

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
  • Page switching method and device for single-page application, storage medium and electronic equipment
  • Page switching method and device for single-page application, storage medium and electronic equipment
  • Page switching method and device for single-page application, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] Example embodiments will now be described more fully with reference to the accompanying drawings. Exemplary embodiments can, however, be embodied in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of exemplary embodiments conveyed to those skilled in the art. The same reference numerals in the drawings denote the same or similar structures, and thus their detailed descriptions will be omitted.

[0034] Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be pract...

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 relates to the technical field of computers, in particular to a page switching method and device for a single-page application, a storage medium and electronic equipment. The method comprises the steps that in response to a current page switching operation, a page agent component is determined, and the page agent component is obtained by packaging a first target page component corresponding to the current page switching operation; obtaining a target global state corresponding to the page proxy component, and detecting whether a page switching mode of the first target page component needs to be updated or not according to the target global state and a preset default global state; and if so, rendering the first target page component according to a component rendering mode corresponding to the target global state to obtain a target page. According to the method, the refreshing or caching opportunity of page switching in the single-page application can be controlled, the flexibility of page switching of the single-page application is improved, and the user experience feeling is good.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and more particularly, to a page switching method for a single-page application, a page switching apparatus for a single-page application, a computer storage medium, and an electronic device. Background technique [0002] With the development of the field of computer technology, the single-page application with the front and back ends was born. In the single-page application, when the application is first entered, the server returns a unique html (Hyper Text Markup Language, hypertext markup language) page and all During the page switching process, the html file is no longer obtained from the server, but the page components are replaced. [0003] In the related art, in the page jump of a single-page application, the forward-backward relationship between page components is preset according to the relevance of the page, and in order to be able to control the page status after the page is...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/451G06F9/445
CPCG06F9/451G06F9/44526
Inventor 张东东吕舒雅
Owner BEIJING MEDICAL CROSS THE CLOUD TECH CO LTD