A method for jumping to a page designated position, a storage medium, a device and a system

A technology for specifying locations and pages, applied in the direction of user interface execution, program control devices, etc., can solve the problems of multiple parameters, slow page loading speed, jumping to non-specified locations, etc., achieve simple business logic, increase opening speed, and improve The effect of processing efficiency

Active Publication Date: 2019-03-05
WUHAN DOUYU NETWORK TECH CO LTD
View PDF11 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, as the business code functions become more and more complex, more and more parameters will be passed, resulting in problems such as reduced page loading speed and difficult maintenance on subsequent target pages.
At the same time, as the requirements change, there will be situations where it is necessary to jump to a specified location or to a non-specified location. If these requirements are all mixed together, then the traditional method will be very laborious to maintain and easily produce various problems

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
  • A method for jumping to a page designated position, a storage medium, a device and a system
  • A method for jumping to a page designated position, a storage medium, a device and a system
  • A method for jumping to a page designated position, a storage medium, a device and a system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0037] see image 3 As shown, the embodiment of the present invention provides a method for jumping to a specified position on a page, and the method includes the following steps:

[0038] Step S1, when the button corresponding to the target page in the original page is clicked, the target page is opened directly without passing parameter information.

[0039] It is understandable that the reason why the target page is opened directly without passing parameter information is because: the traditional way of opening the target page from the original page is to perform loading operations and data request operations when opening the target page, and the opening process Some parameters need to be passed in. For example, in Android, each page is regarded as a Fragment (page fragment), and the traditional original page (such as Fragment1) ...

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 for jumping to a page designated position, a storage medium, a device and a system, which relate to the technical field of application program development. The methodcomprises the following steps that when the corresponding button of the target page in the original page is clicked, the target page is directly opened without transmitting parameter information; after the target page is opened, the HTTP request is sent to the original page to obtain the page data that needs to be loaded in the target page; if the HTTP request is successful, the target page loadsthe page data and feeds back the signal that the page data loads successfully to the original page; after receiving the signal, the original page sends the index information of the specified positionto which it needs to jump to the target page; and the target page jumps to the page at the specified position in the corresponding target page according to the index information. The invention can improve the opening speed of the target page, and at the same time greatly improves the maintainability of the program.

Description

technical field [0001] The present invention relates to the technical field of application program development, and specifically relates to a method, storage medium, device and system for jumping to a specified position on a page. Background technique [0002] Currently, during the development or use of various APPs (Applications, application programs), page jumps are often required. The so-called page jump refers to jumping to the target page by clicking the button of the target page in the original page. Usually, there will be multiple page categories in the target page (such as figure 1 As shown, the target page has multiple page categories such as page category 1, page category 2, page category 3, page category 4, etc.), each page category has corresponding display content, and some page categories have a level or Multi-level subcategories of pages (e.g. figure 2 As shown, there are two levels of subordinate pages under page category 3 in the target page, such as pag...

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/451
Inventor 张磊张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH CO 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