Search

CN-121996522-A - Lifecycle management method and system for heterogeneous functional components

CN121996522ACN 121996522 ACN121996522 ACN 121996522ACN-121996522-A

Abstract

The invention discloses a life cycle management method and a life cycle management system of heterogeneous functional components, which relate to the technical field of life cycle management and are characterized in that a plurality of functional packages are loaded into corresponding multi-source management spaces, a plurality of subspace sources are marked in the multi-source management spaces, priorities of the subspace sources are ordered, and corresponding downloading events are determined by combining cross matching of each functional package; the plurality of subspace sources comprise a local cache source, an enterprise private source and an official public source, so that the accuracy of the downloading event is improved. And determining a corresponding conflict resolution means according to the conflict content and the corresponding constraint relation, determining a target frame in combination with the corresponding frame compatibility, marking the load of the corresponding heterogeneous functional components so as to optimize the occupation condition of the corresponding memory, triggering the life cycle management of the heterogeneous functional components in combination with the state tracking mechanism of each functional package, and improving the life cycle management effect of the heterogeneous functional components.

Inventors

  • XIANG XIAOLIN
  • XIAO SUYU
  • WANG ZIHAO
  • YE JIAJIA
  • LI XIANG
  • YU KAI
  • DU LONGSHAN
  • LIU XUANXUAN

Assignees

  • 诺德凯(苏州)智能装备有限公司

Dates

Publication Date
20260508
Application Date
20260410

Claims (10)

  1. 1. A method for lifecycle management for heterogeneous functional components, comprising: determining a corresponding component protocol based on detection of a component database, triggering encapsulation of a plurality of heterogeneous functional components along the component protocol, and outputting corresponding functional packages, wherein each functional package contains a nuspec metadata description file; Loading a plurality of functional packages into a corresponding multi-source management space, marking a plurality of subspace sources in the multi-source management space, sequencing the priorities of the subspace sources, and determining a corresponding downloading event by combining the cross matching of each functional package; In the downloading event, marking a corresponding dependency tree, determining conflict content in the detection of the dependency tree, determining a corresponding conflict resolution means according to the conflict content and a corresponding constraint relation, and determining a target frame by combining the corresponding frame compatibility so as to ensure that each functional package can be normally loaded and version conflict is avoided; The loading process of each functional package is monitored in real time, the loads of the corresponding heterogeneous functional components are marked to optimize the occupation condition of the corresponding memory, the life cycle management of the heterogeneous functional components is triggered by combining the state tracking mechanism of each functional package, and the heterogeneous functional components in the use state are protected on line.
  2. 2. The method for lifecycle management of heterogeneous functional components according to claim 1, wherein determining the corresponding component protocol based on the detection of the component database triggers encapsulation of a plurality of heterogeneous functional components along the component protocol, and outputs corresponding functional packages, each functional package including a nuspec metadata description file, and comprising: The method comprises the steps of collecting a component database, detecting the component database, determining corresponding protocol information in the detection process, determining a corresponding component protocol along the tracing of the protocol information, and determining a multidimensional protocol structure based on the analysis of the component protocol in the component protocol.
  3. 3. The method for lifecycle management of heterogeneous functional components according to claim 2, wherein the determining a corresponding component protocol based on the detection of the component database triggers encapsulation of a plurality of heterogeneous functional components along the component protocol, outputs corresponding functional packages, each functional package including a nuspec metadata description file, and further comprising: And determining a corresponding encapsulation route according to the detection of the multi-dimensional protocol structure, triggering encapsulation of a plurality of heterogeneous functional components according to the encapsulation route, and determining a corresponding functional package, wherein each functional package comprises a nuspec metadata description file, and determining the identification information, the dependency tree and the component type identification of the functional package according to the analysis of the nuspec metadata description file.
  4. 4. The method of claim 1, wherein loading the plurality of function packages into the corresponding multi-source management space, marking the plurality of subspace sources in the multi-source management space, ordering priorities of the subspace sources, and determining corresponding download events in combination with cross-matching of each function package, wherein the plurality of subspace sources comprise a local cache source, an enterprise private source, and an official public source, and the method comprises: And acquiring a preset multisource management space, loading a plurality of functional packages into the same multisource management space along different channels, managing and controlling each functional package in different dimensions in the multisource management space, and outputting corresponding subspace sources along the managing and controlling paths of the corresponding dimensions so as to mark the subspace sources.
  5. 5. The method according to claim 4, wherein the loading the plurality of function packages into the corresponding multi-source management space, marking the plurality of subspace sources in the multi-source management space, sorting priorities of the subspace sources, and determining corresponding download events in combination with cross-matching of each function package, wherein the plurality of subspace sources include a local cache source, an enterprise private source, and an official public source, and further comprising: Marking priorities of a plurality of subspace sources, carrying out cross matching by combining the state of each functional package and the load of a multi-source management space, sequentially marking corresponding comparison results in the cross matching process, carrying out multistage iteration on the plurality of comparison results, determining a plurality of downloading elements in the iteration process, carrying out multi-factor fusion according to the plurality of downloading elements to construct corresponding downloading events, wherein the subspace sources cover local cache sources, enterprise private sources and official public sources, the local cache sources, the enterprise private sources and the official public sources all have corresponding control logic, and checking whether the functional package has a copy locally in the cross matching process and detecting network delay and concurrent connection numbers of the subspace sources.
  6. 6. The lifecycle management method of the heterogeneous functional component according to claim 1, wherein in the downloading event, marking the corresponding dependency tree, determining conflict content in the detection of the dependency tree, determining the corresponding conflict resolution means according to the conflict content and the corresponding constraint relation, and determining the target framework in combination with the corresponding framework compatibility to ensure that each functional package can be normally loaded and version conflict is avoided, comprising: And monitoring the downloading event in real time, determining a plurality of nodes in the monitoring process, determining a corresponding dependency tree according to the positions of the nodes, the corresponding node contents and the downloading process of the downloading event, triggering the detection of the dependency tree, marking the corresponding conflict nodes in the detection process of the dependency tree, and determining the corresponding conflict contents along the tracing of the conflict nodes.
  7. 7. The method for managing lifecycle of heterogeneous functional modules according to claim 6, wherein in the downloading event, a corresponding dependency tree is marked, conflict content is determined in the detection of the dependency tree, a corresponding conflict resolution means is determined according to the conflict content and a corresponding constraint relationship, and a target framework is determined in combination with a corresponding framework compatibility, so as to ensure that each functional package can be normally loaded and version conflicts are avoided, and further comprising: marking constraint relations corresponding to conflict contents, determining a plurality of constraint elements along traversal of the constraint relations, determining corresponding conflict resolution means according to mapping relations of the constraint elements, the conflict contents and the conflict resolution means, collecting frame compatibility corresponding to the dependency tree, iterating the conflict resolution means and the frame compatibility to output a corresponding target frame, marking frame contents of the target frame, and enabling the frame contents to present loading processes of all functional packages and corresponding version conflict control contents.
  8. 8. The method for managing the life cycle of the heterogeneous functional component according to claim 1, wherein the steps of monitoring the loading process of each functional package in real time, marking the load of the corresponding heterogeneous functional component to optimize the occupation condition of the corresponding memory, triggering the life cycle management of the heterogeneous functional component by combining the state tracking mechanism of each functional package, and performing online protection on the heterogeneous functional component in the use state include: The loading process of each functional package is monitored in real time, corresponding heterogeneous functional components are marked in the monitoring process, at the moment, load detection is carried out on the heterogeneous functional components, corresponding load content is presented in the detection process, a plurality of sub-load items are determined along the identification of the load content, corresponding optimization content is determined according to the current working states of the plurality of sub-load items and the memory, and the occupation condition of the corresponding memory is optimized along the optimization content.
  9. 9. The method for managing the life cycle of the heterogeneous functional component according to claim 8, wherein the real-time monitoring of the loading process of each functional package and marking the load of the corresponding heterogeneous functional component to optimize the occupation situation of the corresponding memory, the combination of the state tracking mechanism of each functional package triggers the life cycle management of the heterogeneous functional component and performs online protection on the heterogeneous functional component in the use state, further comprises: Collecting state tracking mechanisms of all the functional packages, detecting the state tracking mechanisms, determining a plurality of state tracking items in the detection process, detecting the occupation condition of a memory along the plurality of state tracking items, determining a plurality of life cycle nodes of heterogeneous functional components, and marking corresponding component management and control contents in the life cycle nodes; And constructing corresponding life cycle management according to the plurality of life cycle nodes, marking the heterogeneous functional components in the use state in the life cycle management, introducing an online protection mechanism to the heterogeneous functional components in the use state, and dynamically protecting the heterogeneous functional components in the use state in multiple sections.
  10. 10. A lifecycle management system for a heterogeneous functional component, wherein the lifecycle management system for a heterogeneous functional component is applied to the lifecycle management method for a heterogeneous functional component according to any one of claims 1-9, the lifecycle management system for a heterogeneous functional component comprising: the function package module is used for determining a corresponding component protocol based on detection of the component database, triggering encapsulation of a plurality of heterogeneous function components along the component protocol, and outputting corresponding function packages, wherein each function package comprises a nuspec metadata description file; The system comprises a download event module, a download event module and a download event module, wherein the download event module is used for loading a plurality of functional packages into a corresponding multi-source management space, marking a plurality of subspace sources in the multi-source management space, sequencing the priorities of the subspace sources, and determining a corresponding download event by combining the cross matching of each functional package; The conflict management and control module is used for marking a corresponding dependency tree in the downloading event, determining conflict content in the detection of the dependency tree, determining a corresponding conflict resolution means according to the conflict content and a corresponding constraint relation, and determining a target frame by combining the corresponding frame compatibility so as to ensure that each functional package can be normally loaded and version conflict is avoided; The life cycle management module is used for monitoring the loading process of each functional package in real time, marking the load of the corresponding heterogeneous functional component so as to optimize the occupation condition of the corresponding memory, triggering the life cycle management of the heterogeneous functional component by combining the state tracking mechanism of each functional package, and carrying out online protection on the heterogeneous functional component in the use state.

Description

Lifecycle management method and system for heterogeneous functional components Technical Field The invention relates to the technical field of life cycle management, in particular to a life cycle management method and system of heterogeneous functional components. Background In the field of modern industrial automation software, along with increasing complexity of system functions, a software architecture gradually evolves towards modularization and service directions, and a plurality of heterogeneous functional components such as a visual mode, motion control and a communication protocol are usually required to be integrated, in the prior art, the heterogeneous functional components often lack a unified packaging protocol, metadata description (such as dependency relationship and version information) formats of the components are different, and the traditional software architecture usually only depends on a single file storage or network warehouse to load. Disclosure of Invention The invention aims to overcome the defects of the prior art and provides a life cycle management method and system of a heterogeneous functional component. The embodiment of the invention provides a life cycle management method of a heterogeneous functional component, which comprises the following steps: determining a corresponding component protocol based on detection of a component database, triggering encapsulation of a plurality of heterogeneous functional components along the component protocol, and outputting corresponding functional packages, wherein each functional package contains a nuspec metadata description file; Loading a plurality of functional packages into a corresponding multi-source management space, marking a plurality of subspace sources in the multi-source management space, sequencing the priorities of the subspace sources, and determining a corresponding downloading event by combining the cross matching of each functional package; In the downloading event, marking a corresponding dependency tree, determining conflict content in the detection of the dependency tree, determining a corresponding conflict resolution means according to the conflict content and a corresponding constraint relation, and determining a target frame by combining the corresponding frame compatibility so as to ensure that each functional package can be normally loaded and version conflict is avoided; The loading process of each functional package is monitored in real time, the loads of the corresponding heterogeneous functional components are marked to optimize the occupation condition of the corresponding memory, the life cycle management of the heterogeneous functional components is triggered by combining the state tracking mechanism of each functional package, and the heterogeneous functional components in the use state are protected on line. The embodiment of the invention provides a life cycle management system of a heterogeneous functional component, which is applied to the life cycle management method of the heterogeneous functional component, and comprises the following steps: the function package module is used for determining a corresponding component protocol based on detection of the component database, triggering encapsulation of a plurality of heterogeneous function components along the component protocol, and outputting corresponding function packages, wherein each function package comprises a nuspec metadata description file; The system comprises a download event module, a download event module and a download event module, wherein the download event module is used for loading a plurality of functional packages into a corresponding multi-source management space, marking a plurality of subspace sources in the multi-source management space, sequencing the priorities of the subspace sources, and determining a corresponding download event by combining the cross matching of each functional package; The conflict management and control module is used for marking a corresponding dependency tree in the downloading event, determining conflict content in the detection of the dependency tree, determining a corresponding conflict resolution means according to the conflict content and a corresponding constraint relation, and determining a target frame by combining the corresponding frame compatibility so as to ensure that each functional package can be normally loaded and version conflict is avoided; The life cycle management module is used for monitoring the loading process of each functional package in real time, marking the load of the corresponding heterogeneous functional component so as to optimize the occupation condition of the corresponding memory, triggering the life cycle management of the heterogeneous functional component by combining the state tracking mechanism of each functional package, and carrying out online protection on the heterogeneous functional component in the use state. Compared with the prior art, the inventio