Front-end component online updating method and device, equipment and storage medium

A technology of front-end components and update methods, applied in the computer field, can solve problems such as lack of a good solution, re-release, increased traffic consumption, etc., to achieve the effect of improving update efficiency, narrowing the scope of testing, and reducing workload

Pending Publication Date: 2022-06-03
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But after using the framework development, even if you change a page text, you need to repackage and build the whole code again, because in the process of building the code, it may be affected by the build environment such as the node version, and some files that do not involve changes It is also possible to change the hash value of the file name suffix, so all page resources involved must be republished
This not only increases the risk scope of the release and the content covered by the test, but also causes the cache invalidation of the page opened by the user before the release (the browser will automatically cache the requested images, css, js and other resources on the page, but if the page file is modified, The cache will be invalidated, and the user needs to re-fetch all resources, the loading speed of the page will be slower, and the traffic consumption will also increase)
At present, the industry does not have a good solution to the problem of using the framework and releasing it on a small scale

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
  • Front-end component online updating method and device, equipment and storage medium
  • Front-end component online updating method and device, equipment and storage medium
  • Front-end component online updating method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0044]The terms "first", "second" and "third" in the present invention are only used for description purposes, and should not be understood as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature defined as "first", "second", "third" may expressly or implicitly include at least one of that feature. In the description of the present invention, "a plurality of" means at least two, such as...

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 field of computers, and discloses a front-end component online updating method and device, equipment and a storage medium, and the method comprises the steps: obtaining an online updating tool, a pre-configuration file and an initial frame project, building a target frame project supporting online updating according to the online updating tool, the pre-configuration file and the initial frame project, the pre-configuration file comprises an address of an online updating component and an address of an online updating file, and the online updating file is used for updating the online updating component; obtaining a corresponding online updating component in the target framework project according to the address of the online updating component, and obtaining a corresponding online updating file according to the address of the online updating file; and obtaining the component name of the online update component, positioning the update content from the online update file according to the component name, and performing online update on the online update component according to the update content. In this way, the updating efficiency can be improved, the testing range can be narrowed, and the workload of developers can be relieved.

Description

technical field [0001] The present invention relates to the field of computers, and in particular, to a method, device, device and storage medium for online updating of front-end components. Background technique [0002] At present, in the front-end field, there are mainly two popular frameworks, vue and react. These two frameworks use the idea of ​​componentization to develop page logic. Componentized development brings many benefits, such as the ability to extract and reuse small-scale functions, realize the separation of business logic and general functions, and enable better management and maintenance of project code. However, the componentized development realized by the framework can only be realized by developing under the grammatical specifications stipulated by the framework. After the development is completed, it needs to be built and compiled into the native js code through the scaffolding construction tools provided by the framework before it can truly be realize...

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): G06F8/65
CPCG06F8/65
Inventor 黄康
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT 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