Unlock instant, AI-driven research and patent intelligence for your innovation.

View layer component replacement method and device

A view layer and component technology, applied in the field of view layer component replacement, can solve problems such as huge code and inconvenient modular replacement

Active Publication Date: 2021-07-06
杭州普数软件有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In order to solve the problems in the prior art that the code is huge and inconvenient for modular replacement, the present invention provides a view layer component replacement method and device, which has the characteristics of avoiding circular dependency and facilitating module modular replacement.

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
  • View layer component replacement method and device
  • View layer component replacement method and device
  • View layer component replacement method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be described in detail below. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other implementations obtained by persons of ordinary skill in the art without making creative efforts fall within the protection scope of the present invention.

[0031] refer to figure 1 As shown, the embodiment of the present invention provides a view layer component replacement method, specifically including:

[0032] 101. Based on the inversion of control technology, when the component is defined, the unique key is used to store it in the preset queue and generate the corresponding producer;

[0033] When a component is defined, it uses a unique key to store it in a certain queue, that is, the producer. When the co...

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 a view layer component replacement method and device, and the method comprises the steps of employing a unique key to store in a preset queue when a component is defined based on a control inversion technology, and generating a corresponding producer; obtaining the producer conditions generated by producers, and storing the producer conditions in a producer condition queue; obtaining the consumer conditions of the consumers, and putting the consumer conditions into the producer condition queue for matching; and if the matching passes, replacing the corresponding component of the corresponding producer with the corresponding target component of the consumer based on the corresponding and unique key of the corresponding producer. The method has the beneficial effects that the problem of cyclic dependence is solved, so that the modular component replacement is realized, and the component replacement is more convenient.

Description

technical field [0001] The invention belongs to the technical field of software development, and in particular relates to a view layer component replacement method and device. Background technique [0002] Currently, in the mainstream front-end development model, view layer components have component-level circular dependencies. And it is difficult to realize incremental on-demand replacement during the development process of a large number of components. That is to upgrade and expand existing front-end projects without intrusion. The existing general method adopts some methods of modifying the original code and recompiling to realize the upgrade. This method is not friendly to incremental development, and it is easy to cause the source code to be too large, which is not conducive to the modular division of the project. Contents of the invention [0003] In order to solve the problems in the prior art that the code is huge and inconvenient for modular replacement, the pr...

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
IPC IPC(8): G06F8/30G06F8/70
CPCG06F8/30G06F8/70
Inventor 王锦帆
Owner 杭州普数软件有限公司