CN113407226B - Management method and device of component information and electronic equipment - Google Patents
Management method and device of component information and electronic equipment Download PDFInfo
- Publication number
- CN113407226B CN113407226B CN202110729244.3A CN202110729244A CN113407226B CN 113407226 B CN113407226 B CN 113407226B CN 202110729244 A CN202110729244 A CN 202110729244A CN 113407226 B CN113407226 B CN 113407226B
- Authority
- CN
- China
- Prior art keywords
- component
- dependent
- managed
- library
- components
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
- G06F16/288—Entity relationship models
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Software Systems (AREA)
- Computational Linguistics (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides a management method and a device of component information and electronic equipment, wherein the management method comprises the following steps: searching a dependent component corresponding to the component to be managed in a component library based on the acquired basic information of the component to be managed; determining an acquisition mode for acquiring the dependent component based on the search result, and acquiring the dependent component; and respectively storing the dependent component and the component to be managed into a storage library matched with the respective basic information, wherein the types of the components stored in the storage library and the component library are different. The management method can automatically manage the component information, and has the advantages of high intelligence degree, low cost, high efficiency and good accuracy.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for managing component information, and an electronic device.
Background
The existing enterprises pay attention to knowledge precipitation and achievement transformation, and under the guidance of the environment, componentization of a technical middle station, a business middle station, a large front end, a small front end and a data middle station is popular among enterprises and technical personnel. Thus, there are more components, versions, media, devices, SDKs, devices, runtime environment configurations to manage.
At present, the management mode of the component information still stays at the level of the verbal delivery or the document delivery (for example, the upgrading of the component A needs to depend on the component B, and the repository information of the component A and the component B is informed to the personnel who upgrade the component A in the form of the verbal delivery or the document), and the existing business system is complex, often containing many components, each requiring a different organization, department, team to maintain (e.g., components of a technical desk, requiring personnel of the technical desk to maintain in verbal delivery or documentation), labor intensive, time costly, and in addition, according to the requirements, research personnel can derive different component versions for the components, and the version information of the lower-end component, on which the upper-end component is upgraded, cannot be clearly and accurately determined by the conventional component information management method; in addition, when the business system is upgraded, oral handover or document transfer of information of different components needs to be carried out between different organizations and between different departments and between different groups, so that the whole situation cannot be snooped, the error rate is high, repeated adjustment and modification are needed, the upgrade of the business system is difficult, and the research and development efficiency is low.
In conclusion, the existing component information management method has the problems of high cost, low efficiency and high error probability.
Disclosure of Invention
In view of this, an object of the present invention is to provide a method and an apparatus for managing component information, and an electronic device, so as to alleviate technical problems of high cost, low efficiency, and error proneness of the existing component information management method.
In a first aspect, an embodiment of the present invention provides a method for managing component information, including:
searching a dependent component corresponding to the component to be managed in a component library based on the acquired basic information of the component to be managed; the component library stores components and dependent components of the components;
determining an obtaining mode for obtaining the dependent component based on the search result, and obtaining the dependent component;
and respectively storing the dependent component and the component to be managed into a repository matched with respective basic information, wherein the type of the component stored in the repository is different from that of the component stored in the component library.
Further, the basic information further includes location information; the determining, based on the search result, an obtaining manner of obtaining the dependent component and obtaining the dependent component includes:
when the search result is not searched, the obtaining mode is to obtain the dependent component corresponding to the component to be managed from the component comprehensive library according to the position information; the component comprehensive library comprises components which are not stored in the component library.
Further, the repository comprises a first repository and a second repository; the storing the dependent component and the component to be managed into the repository matched with the respective basic information respectively includes:
storing the obtained dependent component to the second repository;
storing the component to be managed to the first repository; the first storage library and the second storage library are respectively used for storing different types of components.
Further, the method further comprises:
taking the component to be managed as a current component, determining at least one dependent component related to the current component, and performing topological operation on the current component and the at least one dependent component to form a current topological relation;
taking each dependency component in the at least one dependency component as a current component respectively, and executing the topology operation to form a new current topology relation;
and forming a target topological relation of the component to be managed and a dependent component related to the component to be managed based on at least one topological relation.
Further, the basic information further includes update information, and the method further includes:
determining the components to be updated from all the components to be managed and the dependent components of the components to be managed, which have topological relations, according to the updating information;
acquiring a target dependent component of the component to be updated from a third repository according to the update information of the component to be updated, wherein the type of the component stored in the third repository is different from that of the component stored in the component library;
and updating the component to be updated according to the target dependent component.
In a second aspect, an embodiment of the present invention further provides a device for managing component information, including:
the searching unit is used for searching a dependent component corresponding to the component to be managed in a component library based on the acquired basic information of the component to be managed; the component library stores components and dependent components of the components;
the determining and obtaining unit is used for determining an obtaining mode for obtaining the dependent component based on a search result and obtaining the dependent component;
and the storage unit is used for respectively storing the dependent component and the component to be managed into a storage library matched with respective basic information, and the storage library and the component library are different in stored component type.
Further, the basic information further includes location information;
the determination and acquisition unit is further configured to: when the search result is not searched, the obtaining mode is to obtain the dependent component corresponding to the component to be managed from the component comprehensive library according to the position information; the component comprehensive library comprises components which are not stored in the component library.
Further, the repository comprises a first repository and a second repository;
the storage unit is further configured to: storing the obtained dependent component to the second repository; storing the component to be managed to the first repository; the first storage library and the second storage library are respectively used for storing different types of components.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method according to any one of the above first aspects when executing the computer program.
In a fourth aspect, embodiments of the present invention also provide a computer readable medium having stored thereon machine executable instructions, which, when invoked and executed by a processor, cause the processor to perform the method of any of the first aspects.
In an embodiment of the present invention, a method for managing component information is provided, including: searching a dependent component corresponding to the component to be managed in a component library based on the acquired basic information of the component to be managed; the component library stores components and dependent components of the components; determining an acquisition mode for acquiring the dependent component based on the search result, and acquiring the dependent component; and respectively storing the dependent component and the component to be managed into a storage library matched with the respective basic information, wherein the types of the components stored in the storage library and the component library are different. According to the above description, the management method of the component information can automatically determine the dependent component corresponding to the component to be managed, and store the component to be managed and the dependent component into the storage library matched with the respective basic information, so that the automatic management of the component information is realized, the intelligence degree is high, the cost is low, the efficiency is high, the accuracy is good, and the technical problems of high cost, low efficiency and high possibility of errors of the existing management method of the component information are solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a method for managing component information according to an embodiment of the present invention;
fig. 2 is a flowchart of storing a dependent component and a component to be managed into a repository respectively matching with respective basic information according to an embodiment of the present invention;
FIG. 3 is a flowchart of building a topological relationship of components according to an embodiment of the present invention;
FIG. 4 is a flow diagram of component update provided by an embodiment of the present invention;
fig. 5 is a schematic diagram of a device for managing component information according to an embodiment of the present invention;
fig. 6 is a schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the following embodiments, and it should be understood that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
At present, when component information is managed, the management is realized by means of oral delivery or document delivery, and the management mode has the technical problems of high cost, low efficiency and high possibility of errors.
Based on this, the embodiment provides a management method of component information, and this method can carry out automated management to the component information, and intelligent degree is high, and is with low costs, efficient, and the accuracy is good.
To facilitate understanding of the present embodiment, a detailed description will be given first of all of a management method for component information disclosed in the embodiment of the present invention.
The first embodiment is as follows:
in accordance with an embodiment of the present invention, there is provided an embodiment of a method for managing component information, it should be noted that the steps illustrated in the flowchart of the accompanying drawings may be performed in a computer system such as a set of computer-executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than that herein.
Fig. 1 is a flowchart of a management method of component information according to an embodiment of the present invention, as shown in fig. 1, the method including the steps of:
step S102, searching a dependent component corresponding to the component to be managed in a component library based on the acquired basic information of the component to be managed; the component library stores components and dependent components of the components;
the basic information may specifically include: the management method comprises the following steps of version information of a component to be managed, class names (such as technical middleboxes, business middleboxes and the like), the size of the component, dependent component information corresponding to the component to be managed, position information of the component to be managed in a component library, a storage library corresponding to the component to be managed and the like, wherein the basic information is data capable of representing the uniqueness of the component to be managed.
Specifically, the component to be managed can be analyzed through the component identifier, so that the basic information of the component to be managed is obtained, and the dependent component corresponding to the component to be managed is searched from the component library.
It should be noted that, after the basic information is obtained, the dependent component information corresponding to the component to be managed is stored in the database.
Step S104, determining an acquisition mode for acquiring the dependent component based on the search result, and acquiring the dependent component;
specifically, when the search result is the search result, the dependent component is obtained from the component library in a manner of obtaining the dependent component, and then the dependent component is directly obtained from the component library.
And S106, respectively storing the dependent component and the component to be managed into the storage libraries matched with the respective basic information, wherein the types of the components stored in the storage libraries are different from those stored in the component library.
Specifically, the information of the repositories respectively corresponding to the dependent component and the component to be managed can be saved in the database.
In an embodiment of the present invention, a method for managing component information is provided, including: searching a dependent component corresponding to the component to be managed in a component library based on the acquired basic information of the component to be managed; the component library stores components and dependent components of the components; determining an acquisition mode for acquiring the dependent component based on the search result, and acquiring the dependent component; and respectively storing the dependent component and the component to be managed into a storage library matched with respective basic information, wherein the types of the components stored in the storage library and the component library are different. According to the above description, the management method of the component information can automatically determine the dependent component corresponding to the component to be managed, and store the component to be managed and the dependent component into the storage libraries matched with the respective basic information, so that the automatic management of the component information is realized, the intelligence degree is high, the cost is low, the efficiency is high, the accuracy is good, and the technical problems of high cost, low efficiency and high possibility of errors of the existing management method of the component information are solved.
The above description briefly introduces the management method of component information of the present invention, and the following description details the specific contents involved therein.
In an optional embodiment of the invention, the base information further comprises location information; determining an obtaining mode for obtaining the dependent component based on the search result, and obtaining the dependent component, specifically comprising:
when the search result is not searched, the acquisition mode is to acquire the dependent component corresponding to the component to be managed from the component comprehensive library according to the position information; the component comprehensive library comprises components which are not stored in the component library.
In an alternative embodiment of the invention, the repository comprises a first repository and a second repository; referring to fig. 2, in step S106, the storing the dependent component and the component to be managed into the repository matched with their respective basic information respectively includes:
step S201, storing the acquired dependent component in a second repository;
step S202, storing the component to be managed to a first storage library; the first storage library and the second storage library are respectively used for storing different types of components.
Specifically, the second repository is a repository matched with the basic information of the dependent component, and the first repository is a repository matched with the basic information of the component to be managed.
In an alternative embodiment of the invention, referring to fig. 3, the method further comprises the steps of:
step S301, taking the component to be managed as a current component, determining at least one dependent component related to the current component, and performing topology operation on the current component and the at least one dependent component to form a current topology relation;
the topology operation may specifically be to connect the current component and at least one dependent component in series to obtain a current topology relationship.
Step S302, each dependent component in at least one dependent component is respectively taken as a current component, and topological operation is executed to form a new current topological relation;
step S303, based on at least one topological relation, forming a target topological relation of the component to be managed and the dependent component related to the component to be managed.
In an optional embodiment of the present invention, the basic information further includes update information, and referring to fig. 4, the method further includes:
step S401, according to the updating information, determining the components to be updated from all the components to be managed and the dependent components of which the components to be managed have the topological relation;
step S402, according to the updating information of the component to be updated, acquiring a target dependent component of the component to be updated from a third repository, wherein the types of the components stored in the third repository and the component library are different;
the update information may specifically include: and finally, determining a third repository corresponding to the target dependent component according to the basic information of the target dependent component (or according to information stored in a database).
And step S403, updating the component to be updated according to the target dependent component.
The management method of the component information provides global management for the components, can reduce the component management cost and improve the management efficiency, and is simple and convenient, convenient to popularize and wide in application range.
Example two:
the embodiment of the present invention further provides a management apparatus for component information, where the management apparatus for component information is mainly used to execute the management method for component information provided in the first embodiment of the present invention, and the following describes the management apparatus for component information provided in the first embodiment of the present invention in detail.
Fig. 5 is a schematic diagram of a device for managing component information according to an embodiment of the present invention, and as shown in fig. 5, the device mainly includes: a search unit 10, a determination and acquisition unit 20 and a storage unit 30, wherein:
the searching unit is used for searching a dependent component corresponding to the component to be managed in the component library based on the acquired basic information of the component to be managed; the component library stores components and dependent components of the components;
the determining and acquiring unit is used for determining an acquiring mode for acquiring the dependent component based on the searching result and acquiring the dependent component;
and the storage unit is used for respectively storing the dependent component and the component to be managed into the storage libraries matched with the respective basic information, and the types of the components stored in the storage libraries are different from those stored in the component library.
In an embodiment of the present invention, there is provided a device for managing component information, including: searching a dependent component corresponding to the component to be managed in a component library based on the acquired basic information of the component to be managed; the component library stores components and dependent components of the components; determining an acquisition mode for acquiring the dependent component based on the search result, and acquiring the dependent component; and respectively storing the dependent component and the component to be managed into a storage library matched with the respective basic information, wherein the types of the components stored in the storage library and the component library are different. According to the above description, the management device of the component information can automatically determine the dependent component corresponding to the component to be managed, and store the component to be managed and the dependent component into the storage library matched with the respective basic information, so that the automatic management of the component information is realized, the intelligence degree is high, the cost is low, the efficiency is high, the accuracy is good, and the technical problems of high cost, low efficiency and high possibility of errors of the existing component information management method are solved.
Optionally, the basic information further includes location information; the determination and acquisition unit is further configured to: when the search result is not searched, the acquisition mode is to acquire the dependent component corresponding to the component to be managed from the component comprehensive library according to the position information; the component comprehensive library comprises components which are not stored in the component library.
Optionally, the repository comprises a first repository and a second repository; the storage unit is further configured to: storing the acquired dependent component to a second repository; storing the component to be managed to a first storage library; the first storage library and the second storage library are respectively used for storing different types of components.
Optionally, the apparatus is further configured to: taking a component to be managed as a current component, determining at least one dependent component related to the current component, and performing topology operation on the current component and the at least one dependent component to form a current topology relationship; taking each dependent component in at least one dependent component as a current component, and executing a topological operation to form a new current topological relation; and forming a target topological relation of the component to be managed and the dependent component related to the component to be managed based on the at least one topological relation.
Optionally, the basic information further includes update information, and the apparatus is further configured to: determining a component to be updated from all components to be managed and dependent components of the components to be managed, which have topological relations, according to the updating information; acquiring a target dependent component of the component to be updated from a third repository according to the updating information of the component to be updated, wherein the type of the component stored in the third repository is different from that of the component stored in the component library; and carrying out updating operation on the component to be updated according to the target dependent component.
The device provided by the embodiment of the present invention has the same implementation principle and technical effect as the method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the method embodiments without reference to the device embodiments.
As shown in fig. 6, an electronic device 600 provided in an embodiment of the present application includes: a processor 601, a memory 602 and a bus, wherein the memory 602 stores machine-readable instructions executable by the processor 601, when the electronic device runs, the processor 601 and the memory 602 communicate with each other through the bus, and the processor 601 executes the machine-readable instructions to execute the steps of the management method of the component information.
Specifically, the memory 602 and the processor 601 can be general-purpose memories and processors, which are not specifically limited herein, and the management method of the component information can be performed when the processor 601 runs a computer program stored in the memory 602.
The processor 601 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 601. The Processor 601 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 602, and the processor 601 reads the information in the memory 602, and in combination with the hardware thereof, performs the steps of the method.
Corresponding to the management method of the component information, the embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores machine executable instructions, and when the computer executable instructions are called and executed by a processor, the computer executable instructions cause the processor to execute the steps of the management method of the component information.
The management device of the component information provided by the embodiment of the present application may be specific hardware on the device, or software or firmware installed on the device, or the like. The device provided by the embodiment of the present application has the same implementation principle and technical effect as the foregoing method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the foregoing method embodiments where no part of the device embodiments is mentioned. It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working processes of the system, the apparatus and the unit described above may all refer to the corresponding processes in the method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
For another example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing an electronic device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the vehicle marking method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in subsequent figures, and moreover, the terms "first", "second", "third", etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used to illustrate the technical solutions of the present application, but not to limit the technical solutions, and the scope of the present application is not limited to the above-mentioned embodiments, although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: those skilled in the art can still make modifications or changes to the embodiments described in the foregoing embodiments, or make equivalent substitutions for some features, within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the scope of the embodiments of the present application. Are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (8)
1. A method for managing component information, comprising:
searching a dependent component corresponding to the component to be managed in a component library based on the acquired basic information of the component to be managed; the component library stores components and dependent components of the components;
determining an acquisition mode for acquiring the dependent component based on the search result, and acquiring the dependent component;
respectively storing the dependent component and the component to be managed into a storage library matched with respective basic information, wherein the types of the components stored in the storage library and the component library are different;
the method further comprises the following steps:
taking the component to be managed as a current component, determining at least one dependent component related to the current component, and performing topology operation on the current component and the at least one dependent component to form a current topology relationship;
taking each dependent component in the at least one dependent component as a current component respectively, and executing the topological operation to form a new current topological relation;
forming a target topological relation of the component to be managed and a dependent component related to the component to be managed based on at least one topological relation;
the basic information further includes update information, and the method further includes:
determining the components to be updated from all the components to be managed and the dependent components of the components to be managed, which have topological relations, according to the updating information;
acquiring a target dependent component of the component to be updated from a third repository according to the update information of the component to be updated, wherein the type of the component stored in the third repository is different from that of the component stored in the component library;
and updating the component to be updated according to the target dependent component.
2. The method of claim 1, wherein the base information further comprises location information; the determining, based on the search result, an obtaining manner of obtaining the dependent component and obtaining the dependent component includes:
when the search result is not searched, the acquisition mode is to acquire the dependent component corresponding to the component to be managed from the component comprehensive library according to the position information; the component comprehensive library comprises components which are not stored in the component library.
3. The method of claim 1 or 2, wherein the repository comprises a first repository and a second repository; the storing the dependent component and the component to be managed into the repository matched with the respective basic information respectively includes:
storing the obtained dependent component to the second repository;
storing the component to be managed to the first repository; the first storage library and the second storage library are respectively used for storing different types of components.
4. An apparatus for managing component information, comprising:
the searching unit is used for searching a dependent component corresponding to the component to be managed in a component library based on the acquired basic information of the component to be managed; the component library stores components and dependent components of the components;
the determining and obtaining unit is used for determining an obtaining mode for obtaining the dependent component based on a search result and obtaining the dependent component;
the storage unit is used for respectively storing the dependent component and the component to be managed into a storage library matched with respective basic information, and the storage library and the component library are different in stored component type;
the apparatus is also configured to: taking the component to be managed as a current component, determining at least one dependent component related to the current component, and performing topological operation on the current component and the at least one dependent component to form a current topological relation; taking each dependency component in the at least one dependency component as a current component respectively, and executing the topology operation to form a new current topology relation; forming a target topological relation of the component to be managed and a dependent component related to the component to be managed based on at least one topological relation;
the basic information further includes update information, and the apparatus is further configured to: determining the components to be updated from all the components to be managed and the dependent components of the components to be managed, which have topological relations, according to the updating information; acquiring a target dependent component of the component to be updated from a third repository according to the update information of the component to be updated, wherein the type of the component stored in the third repository is different from that of the component stored in the component library; and updating the component to be updated according to the target dependent component.
5. The apparatus of claim 4, wherein the base information further comprises location information;
the determination and acquisition unit is further configured to: when the search result is not searched, the obtaining mode is to obtain the dependent component corresponding to the component to be managed from the component comprehensive library according to the position information; the component comprehensive library comprises components which are not stored in the component library.
6. The apparatus of claim 4 or 5, wherein the repository comprises a first repository and a second repository;
the storage unit is further configured to: storing the obtained dependent component to the second repository; storing the component to be managed to the first repository; the first storage library and the second storage library are respectively used for storing different types of components.
7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method of any of the preceding claims 1 to 3 when executing the computer program.
8. A computer readable medium having stored thereon machine executable instructions which, when invoked and executed by a processor, cause the processor to perform the method of any of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110729244.3A CN113407226B (en) | 2021-06-29 | 2021-06-29 | Management method and device of component information and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110729244.3A CN113407226B (en) | 2021-06-29 | 2021-06-29 | Management method and device of component information and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113407226A CN113407226A (en) | 2021-09-17 |
CN113407226B true CN113407226B (en) | 2022-08-19 |
Family
ID=77680122
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110729244.3A Active CN113407226B (en) | 2021-06-29 | 2021-06-29 | Management method and device of component information and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113407226B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117850756B (en) * | 2023-11-17 | 2024-08-09 | 深圳微米信息服务有限公司 | Management system and method for WEB front-end component |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110609699A (en) * | 2018-06-15 | 2019-12-24 | 伊姆西Ip控股有限责任公司 | Method, electronic device and computer program product for maintaining components of a storage system |
CN110851139A (en) * | 2019-11-07 | 2020-02-28 | 北京字节跳动网络技术有限公司 | Method and device for checking codes and electronic equipment |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8302093B2 (en) * | 2008-08-28 | 2012-10-30 | International Business Machines Corporation | Automated deployment of defined topology in distributed computing environment |
CN111241823A (en) * | 2020-01-07 | 2020-06-05 | 北京字节跳动网络技术有限公司 | Dependency configuration management method and device, electronic equipment and storage medium |
CN112256318B (en) * | 2020-10-26 | 2022-12-27 | 上海云轴信息科技有限公司 | Construction method and equipment for dependent product |
-
2021
- 2021-06-29 CN CN202110729244.3A patent/CN113407226B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110609699A (en) * | 2018-06-15 | 2019-12-24 | 伊姆西Ip控股有限责任公司 | Method, electronic device and computer program product for maintaining components of a storage system |
CN110851139A (en) * | 2019-11-07 | 2020-02-28 | 北京字节跳动网络技术有限公司 | Method and device for checking codes and electronic equipment |
Non-Patent Citations (1)
Title |
---|
《组件化架构之组件初始化 Component Initializer(组件初始化器)开源项目 介绍》;1个懒人;《https://blog.csdn.net/taotao110120119/article/details/110225262》;20201127;第1-8页 * |
Also Published As
Publication number | Publication date |
---|---|
CN113407226A (en) | 2021-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109902105B (en) | Data query system, method, device and storage medium for micro-service architecture | |
US20190155865A1 (en) | Grid-based geofence data indexing | |
CN110888866B (en) | Data expansion method and device, data processing equipment and storage medium | |
CN114997706A (en) | Workflow-based business processing method, device, equipment and storage medium | |
CN113407226B (en) | Management method and device of component information and electronic equipment | |
CN115858831B (en) | Data storage method for database | |
CN112650909A (en) | Product display method and device, electronic equipment and storage medium | |
CN115292344A (en) | Data dictionary construction method and device, electronic equipment and storage medium | |
CN110990350B (en) | Log analysis method and device | |
CN110909110A (en) | Address standardization method and device, storage medium and processor | |
US10831473B2 (en) | Locating business rules in application source code | |
CN107798086B (en) | Server information updating method, device and system and electronic equipment | |
CN116303064A (en) | Method and device for acquiring coverage rate of unit codes | |
CN114357318A (en) | Multi-dimensional track data display method and device and electronic equipment | |
CN113760237A (en) | Compiling address updating method and device, terminal equipment and readable storage medium | |
CN114860362A (en) | Interface updating method and device | |
CN113535830B (en) | Automatic interface expansion method, device, equipment and storage medium | |
CN108920749B (en) | Pipeline two-dimensional and three-dimensional data updating method and device and computer readable storage medium | |
CN114036132A (en) | Object information processing method and device, storage medium and electronic equipment | |
CN109246623B (en) | Communication number completion method, device and storage medium | |
CN111736848A (en) | Packet conflict positioning method and device, electronic equipment and readable storage medium | |
CN112527621A (en) | Test path construction method, device, equipment and storage medium | |
CN116089437B (en) | Data processing method and server | |
CN114691523B (en) | GPS system debugging method and device | |
CN112417085A (en) | Message comparison method and device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |