Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

H5 page local debugging method suitable for Hybrid App

A debugging method and page technology, which is applied in the field of computer networks, can solve the problems of reducing the research and development efficiency of H5 developers, increasing the cost of communication, and lack of access, so as to save development time, reduce communication times, and reduce communication costs.

Pending Publication Date: 2022-04-15
UNICLOUD (NANJING) DIGITAL TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] During the development process, H5 page developers need to debug the page locally. There is no token to provide, and they can only grab the token in the App for testing. After the token fails, repeat the grabbing, but many H5 developers don’t know how to do it. Data is captured in the App, so it is necessary to communicate frequently with Native developers. They provide tokens and use them for debugging when accessing H5 pages, which will increase the cost of communication. At the same time, H5 developers simulate debugging in the browser due to It is not in the App environment and lacks an entry point. You can only find the access path from the code for debugging. Especially when several pages need to be debugged together, you need to manually enter the access path in the browser, which increases the time cost of local joint debugging and reduces the cost. H5 developers improve R&D efficiency

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
  • H5 page local debugging method suitable for Hybrid App
  • H5 page local debugging method suitable for Hybrid App

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the technical means, creative features, goals and effects achieved by the present invention easy to understand, the technical solutions in the specific embodiments of the present invention are clearly and completely described below to further illustrate the present invention. Obviously, the described specific implementation The form is only a part of embodiment of this invention, and it is not all form.

[0028] This specific implementation mode is a local debugging method for H5 pages suitable for HybridApp, and the schematic diagram of the H5 page access process structure is as follows figure 1 As shown, the structure diagram of the environment variable module is as follows figure 2 As shown, the H5 page local debugging method applicable to HybridApp includes the following steps:

[0029] Step 1: Modify the router file, configure the meta attribute identification for the routes that use App as the entry point, and display them through the menu;

[...

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 provides an H5 page local debugging method suitable for a Hybrid App, which comprises the following steps of: 1, modifying a router file, configuring meta attribute identifiers for routes taking the App as an entry, and performing related display through a menu; 2, a menu page is developed, and a menu configured with meta attributes is rendered; 3, environment distinguishing is carried out on the H5 project, and a development environment and a production environment are set; 4, intercepting a route accessing the H5 page, and performing related processing judgment; and 5, identifying the token obtained in the step 4. By adopting the login logic for simulating the APP, when an H5 developer performs self-testing, the token can be automatically obtained without relying on a Native developer, so that the number of times of communication between the H5 developer and the Native developer during testing is reduced, the communication cost is reduced, and in the debugging process, the workload of the H5 developer is reduced, and the debugging efficiency of the H5 developer is improved. Developers can open the menu page and randomly select and enter the page to be debugged, so that the development time is greatly saved.

Description

technical field [0001] The invention relates to the technical field of computer networks, in particular to a local debugging method for H5 pages suitable for HybridApp. Background technique [0002] Since the boom of the mobile Internet, many companies have entered one after another, but there are too few mobile application developers, and many companies cannot afford to maintain a professional mobile application development team with cross-platform development capabilities. It is just a coincidence Under the circumstances, the Hybrid App technology based on the low-cost cross-platform development advantages of H5 (HTML5) and the characteristics of Native App stand out. Because Hybrid App uses web language coding at the same time, the development cost and difficulty are much smaller than Native App. App When loading the H5 page, the user token will be passed to the H5 page through the access address, so that the H5 page can obtain the permission to call the interface to quer...

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): G06F11/36
CPCG06F11/362G06F11/3664
Inventor 王秀艳
Owner UNICLOUD (NANJING) DIGITAL TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products