Application page display method and device, electronic equipment, medium and application system

A page and sub-application technology, applied in the field of computer networks, can solve the problems of reducing the integration difficulty of sub-applications, hard-coded registration cannot be dynamically plugged and unplugged, etc., and achieves the effect of reducing integration difficulty and strong coupling relationship.

Pending Publication Date: 2021-12-07
BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Embodiments of the present invention provide an application page display method, device, electronic device, medium, and application system to solve the problem that sub-application hard-coded registration cannot be dynamically plugged in the main application, thereby reducing the integration difficulty of sub-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
  • Application page display method and device, electronic equipment, medium and application system
  • Application page display method and device, electronic equipment, medium and application system
  • Application page display method and device, electronic equipment, medium and application system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] figure 1 It is a flow chart of a method for displaying an application page provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of displaying a sub-application page corresponding to a sub-application component in the client. To execute, the apparatus may be implemented in software and / or hardware, and the apparatus may be configured in a terminal device. Specifically include the following steps:

[0050] S110. When a trigger operation of a sub-application component in the main application page is detected, acquire a first access path of the first sub-application page corresponding to the sub-application component.

[0051] Wherein, for example, the main application page is the main page displayed on the client, where the client includes but not limited to browser, shopping software, financial software, chat software and so on. Specifically, the main application page includes at least one sub-application component, and the sub-ap...

Embodiment 2

[0065] figure 2 It is a flow chart of a method for displaying an application page provided in Embodiment 2 of the present invention, and the technical solution of this embodiment is further refined on the basis of the foregoing embodiments. Optionally, before sending the access request including the first access path to the server, the method further includes: linking the first access path to a second access path corresponding to the first sub-application page displayed on the client Matching; if the first access path does not match the second access path, then clear the HTML string fragment corresponding to the first sub-application page in the HTML file of the first sub-application page, and obtain the The main application HTML file corresponding to the application page.

[0066] The specific implementation steps of the embodiment of the present invention include:

[0067] S210. When a trigger operation of a sub-application component in the main application page is detect...

Embodiment 3

[0079] Figure 4 It is a flow chart of a method for displaying an application page provided by Embodiment 3 of the present invention. This embodiment is applicable to the case of displaying a sub-application page corresponding to a sub-application component in the client. This method can be implemented by the display device of the application page To execute, the device may be implemented in software and / or hardware, and the device may be configured in a server. Specifically include the following steps:

[0080] S310. Receive an access request including the first access path sent by the client.

[0081] In this embodiment, the first access path is the first access path of the first sub-application page corresponding to the sub-application component obtained by the client when detecting a trigger operation on the sub-application component in the main application page. Wherein, for example, the path type of the first access path may be a URL path. The access request may be an...

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 embodiment of the invention discloses an application page display method and device, electronic equipment, a medium and an application system. The method comprises the following steps of when a trigger operation of a sub-application component in a main application page is detected, obtaining a first access path of a first sub-application page corresponding to the sub-application component; sending an access request containing the first access path to a server so that the server matches the first access path with a stored registration path, and obtains a hypertext markup language (HTML) character string segment containing pre-rendering information of the first sub-application page according to the successfully matched registration path; and receiving an HTML character string fragment sent by the server, determining a first sub-application page HTML file according to the HTML character string fragment and a main application HTML file corresponding to the main application page, and rendering and displaying the first sub-application page based on the first sub-application page HTML file. According to the method, a problem that the sub-applications cannot be dynamically plugged and unplugged is solved, and integration difficulty of the sub-applications is reduced.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of computer networks, and in particular, to a display method, device, electronic equipment, media, and application system of an application page. Background technique [0002] With the continuous growth of business needs, the code of the front-end project gradually expands, making the front-end application gradually develop into a "monolithic application", and there are great challenges in application maintenance and application upgrade. Micro-frontend is an architecture similar to microservices. It applies the concept of microservices to the browser side, that is, transforms a web application from a single application to an application that aggregates multiple small front-end applications into one. Each small front-end application can run, develop and deploy independently. [0003] At present, the most commonly used micro-frontend architecture is the Single-SPA architecture. The Singl...

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/957G06F16/958
CPCG06F16/9574G06F16/9577G06F16/986
Inventor 袁昌龙白圣培
Owner BEIJING WODONG TIANJUN INFORMATION 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