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

Analysis method and system for page route in applet application, equipment and medium

A parsing method and small program technology, applied in the field of communication, can solve the problem that dynamic routing cannot be opened, and achieve the effect of improving user experience.

Pending Publication Date: 2020-08-18
CTRIP COMP TECH SHANGHAI
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved by the present invention is to overcome the defect that the unconfigured dynamic routing in the WeChat applet cannot be opened in the prior art, and provide an automatic dynamic routing analysis method, system, electronic equipment and storage medium

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
  • Analysis method and system for page route in applet application, equipment and medium
  • Analysis method and system for page route in applet application, equipment and medium
  • Analysis method and system for page route in applet application, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0070] This embodiment provides a method for parsing page routing in a mini-program application, where the mini-program application includes but is not limited to a WeChat mini-program application.

[0071] like figure 1 As shown, the parsing method in this embodiment includes:

[0072] Step 101, customizing the route of the page to be configured.

[0073] Step 102, judge whether the page route to be configured exists in the configuration file library of the applet application, if not, call step 104, and if yes, call step 103.

[0074] Step 103, determine that the page route to be configured is a page route that can be jumped.

[0075] Step 104, converting the to-be-configured page route into a target page route.

[0076] Wherein, the configuration file library stores several initially configured page routes, and the target page route corresponds to one of the initially configured page routes.

[0077] When a user wants to view a web page, if the page route corresponding t...

Embodiment 2

[0081] This embodiment provides a method for parsing page routing in a small program application. This embodiment is a further improvement on Embodiment 1, such as figure 2 As shown, step 102 specifically includes:

[0082] Step 1021. Compare the page route to be configured with each of the initially configured page routes in the configuration file library.

[0083] Step 1022 , judging whether there is no page route matching the page route to be configured among all the initially configured page routes, if yes, execute step 1023 , if not, execute step 103 .

[0084] Step 1023, determine that the page route to be configured does not exist in the configuration file library.

[0085] Step 1024, triggering a page non-existence event.

[0086] In this embodiment, in step 1023, when the route of the page to be configured does not exist in the configuration file library, step 1024 will be executed, that is, the page does not exist event will be triggered. Specifically, the command...

Embodiment 3

[0105] This embodiment provides a system for parsing page routing in a mini-program application, where the mini-program application includes but is not limited to a WeChat mini-program application.

[0106] Such as Figure 5 As shown, the parsing system in this embodiment includes: a custom module 201 and a judging module 202 .

[0107] The custom module 201 is used for customizing the route of the page to be configured.

[0108] The judging module 202 is used to judge whether the page route to be configured exists in the configuration file library of the applet application, if not, convert the page route to be configured into a target page route, and if so, determine the page route to be configured Configure the page route as a redirectable page route.

[0109] Wherein, the configuration file library stores several initially configured page routes, and the target page route corresponds to one of the initially configured page routes.

[0110] When a user wants to view a web...

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 an analysis method and system for a page route in an applet application, equipment and a medium. The analysis method comprises the following steps: customizing a to-be-configured page route; and judging whether the to-be-configured page route exists in a configuration file library of the applet application or not, if not, converting the to-be-configured page route into a target page route, and if so, determining that the to-be-configured page route is a page route capable of jumping, wherein a plurality of initial configured page routes are stored in the configuration file library, and the target page route corresponds to one initial configured page route. Through the analysis method, by customizing a to-be-configured page route and converting the to-be-configured page route into a target page route, when the user needs to open the page route, the page route can be successfully opened no matter whether the page route is matched with the page route configured inthe configuration file library of the applet application or not, so that the configuration requirement of the WeChat applet can be met, and the page expected to be obtained by the user can be opened,and the user experience is further improved.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a method, system, device and medium for parsing page routing in applet applications. Background technique [0002] In today's society, WeChat has gradually become a way of life for people to replace traditional methods such as SMS and phone calls. With the popularity of WeChat, more and more users use WeChat Mini Programs. WeChat Mini Programs are a new open capability. Developers can quickly develop a small program. Mini Programs can be easily obtained and disseminated within WeChat, and at the same time have an excellent user experience. However, the page routing of the WeChat applet requires static configuration in app.json (the static configuration file in the WeChat applet), and does not support dynamic routing that is not configured in app.json. Therefore, when the url (global resource locator) of the dynamic routing that the user wants to obtain is not con...

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): G06F16/955
CPCG06F16/955Y02D10/00
Inventor 陈剑于磊崔广宇李巍
Owner CTRIP COMP TECH SHANGHAI
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