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

A method and device for loading components

A component and loading unit technology, which is applied in the direction of program control device, program loading/starting, etc., can solve problems such as failure, and achieve the effect of realizing personalized dependence

Active Publication Date: 2019-07-23
SHENZHEN YUNZHIJIA NETWORK CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing gradle project, in order to avoid conflicts in the build.gradle configuration file due to different component versions when merging branches, the version number of the dependent component is generally set to a fixed value. However, as the application scale increases , self-developed functions and functions developed by various third-party software will use different versions of the same component at the same time. If the same fixed version of the component is still used in multiple branches, the functions that depend on other versions of the component will become invalid

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
  • A method and device for loading components
  • A method and device for loading components
  • A method and device for loading components

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The embodiment of the present invention provides a method and device for loading components, which can dynamically obtain the version identification of the components it depends on according to the branch, so as to load the corresponding components, so that one-key update can be realized during development and debugging, and the dependent components can be found automatically and accurately. The component versions are described in detail below.

[0021] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.

[0022] The terms "first...

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 a method and device for loading a component. Version identification of a component on which a branch depends can be obtained according to a branch trend, the corresponding component is loaded, one-click updating is achieved during the development and debugging processes, and a dependent component version is found automatically and accurately. The method comprises the steps that version identification of components on which all branches in a local git library depend is predefined and configured, and a predefined configuration file is obtained; when the components are refreshed, the target branch where a project is located in the local git library is determined; by means of the predefined configuration file, the version identification of the component on which the target branch depends is obtained; the corresponding component is loaded according to the version identification of the component on which the target branch depends.

Description

technical field [0001] The invention relates to computer application technology, in particular to a method and device for loading components. Background technique [0002] In terms of continuous integration of large-scale Internet products, whether it is product process improvement or privatization and customization business requirements, the multi-branch parallel development and release model has become more and more popular. In the same project, corresponding functions are provided by loading numerous components, wherein a component is a reusable functional module in the application system architecture, which can be realized through a JAR file (Java Archive, Java archive file) or the like. [0003] In the existing gradle project, in order to avoid conflicts in the build.gradle configuration file due to different component versions when merging branches, the version number of the dependent component is generally set to a fixed value. However, as the application scale increa...

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 Patents(China)
IPC IPC(8): G06F9/445
Inventor 王坤马天祥
Owner SHENZHEN YUNZHIJIA NETWORK 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