CN117056017A - Method and system for containerizing enterprise IT resources - Google Patents

Method and system for containerizing enterprise IT resources Download PDF

Info

Publication number
CN117056017A
CN117056017A CN202310966974.4A CN202310966974A CN117056017A CN 117056017 A CN117056017 A CN 117056017A CN 202310966974 A CN202310966974 A CN 202310966974A CN 117056017 A CN117056017 A CN 117056017A
Authority
CN
China
Prior art keywords
deployment
resource
client
target
acquiring
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.)
Pending
Application number
CN202310966974.4A
Other languages
Chinese (zh)
Inventor
王军平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Saibo Yunrui Intelligent Technology Co ltd
Original Assignee
Beijing Saibo Yunrui Intelligent Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Saibo Yunrui Intelligent Technology Co ltd filed Critical Beijing Saibo Yunrui Intelligent Technology Co ltd
Priority to CN202310966974.4A priority Critical patent/CN117056017A/en
Publication of CN117056017A publication Critical patent/CN117056017A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a method and a system for containerizing I T resources of an enterprise, wherein the method comprises the following steps: step 1: acquiring resource requests of resource nodes and clients of an enterprise I T platform; step 2: accessing a resource node according to the resource request, and pre-verifying the resource request by the resource node to determine target resources passing the pre-verification; step 3: acquiring a target mirror image of a target resource; step 4: acquiring a configuration environment of a client and deployment requirements of a target image; step 5: and carrying out deployment demand conflict judgment according to the configuration environment and the deployment demands of the client, and carrying out target resource containerization according to different judgment results and target images. According to the method and the system for containerizing the enterprise I T resource, the deployment demand conflict is judged according to the configuration environment and the deployment demand, the target resource is containerized according to the difference of the judging results and the target mirror image, the containerized efficiency of the target resource is improved, and containerized deployment is more suitable.

Description

Method and system for containerizing enterprise IT resources
Technical Field
The application relates to the technical field of electric digital data processing, in particular to a method and a system for containerizing IT resources of enterprises.
Background
The enterprise IT resources refer to information resources developed by enterprises on the basis of computer technology, the containerized nature is a process running environment with 'view isolation and resource limitation', and the enterprise IT resources are containerized, so that fine management capability can be improved, and business intelligence is realized.
The application patent with the application number of CN202310121029.4 discloses an application resource self-adaptive allocation management method and system for a concentrator, and belongs to the technical field of intelligent measurement. The method comprises the following steps: determining an application sending a starting request as an application to be started; determining a starting mode of the application to be started; determining an operation mode of the application to be started; acquiring operation information of each container in the concentrator, and determining the resource consumption of at least one application running in each container according to the operation information of each container; determining a resource usage rate of each container based on a resource consumption amount of at least one application of the applications running in each container; and allocating resources for the application to be started in the starting queue based on the resource utilization rate of each container, the starting mode of the application to be started and the running mode of the application to be started. Said application can quickly implement quick allocation of resource for application in the concentrator.
However, in the prior art, when resource allocation is performed, the situation when allocation conflict occurs is not considered, and when conflict occurs, all the resources are reallocated, so that the efficiency of containerization of target resources is low and the suitability is poor.
In view of the foregoing, there is a need for a method and a system for containerizing enterprise IT resources to solve the above-mentioned problems.
Disclosure of Invention
The application aims to provide a method for containerizing enterprise IT resources, which is used for carrying out deployment demand conflict judgment according to the configuration environment of a client and the deployment demand of a target mirror image, and carrying out containerization of the target resources on the client according to different judgment results and the target mirror image, so that the containerization efficiency of the target resources is improved, and the containerized deployment process of the client is more suitable.
The embodiment of the application provides a method for containerizing enterprise IT resources, which comprises the following steps:
step 1: acquiring a resource node of an enterprise IT platform, and simultaneously acquiring a resource request of a client of the enterprise IT platform;
step 2: accessing a resource node according to the resource request, pre-verifying the resource request by the resource node, and taking the access resource of the resource request passing the pre-verification as a target resource;
step 3: acquiring a target mirror image of a target resource;
step 4: acquiring a configuration environment of a client and deployment requirements of the client on a target image;
step 5: and carrying out deployment demand conflict judgment according to the configuration environment and the deployment demand of the client, and carrying out containerization of corresponding target resources on the client according to the judgment result of the deployment demand conflict judgment and the target mirror image.
Preferably, step 1: acquiring a resource node of an enterprise IT platform, comprising:
acquiring a plurality of access areas of an enterprise IT platform;
determining a first content attribute of the access content in the access area according to the area label of the access area;
matching the first content attribute with a preset second content attribute;
when the matching is successful, an access area corresponding to the successfully matched first content attribute is obtained and is used as a target area;
and acquiring an access path of the access content in the target area, and taking the access path as a resource node.
Preferably, step 2: accessing the resource node according to the resource request, and if the resource request passes the verification of the resource node, taking the access resource of the corresponding resource request as a target resource, wherein the method comprises the following steps:
acquiring a preset access resource extraction template;
and extracting the target resource according to the resource request and the access resource extraction template passing the verification of the resource node.
Preferably, step 3: obtaining a target image of a target resource, comprising:
determining a first mirror label according to the resource type of the target resource based on a preset mirror label generation rule;
acquiring a first communication node of a warehouse registration server;
acquiring a to-be-selected image locally stored in a warehouse registration server through a first communication node, and determining a second image label of the to-be-selected image;
and matching the first mirror image tag with the second mirror image tag, obtaining a to-be-selected mirror image corresponding to the matched second mirror image tag, and taking the to-be-selected mirror image as a target mirror image.
Preferably, step 4: the method for acquiring the configuration environment of the client and the deployment requirement of the client on the target image comprises the following steps:
acquiring a second communication node of the client;
acquiring a configuration environment of the client and a verification result of the deployment request received by the client through a second communication node;
and if the verification result is that the verification is passed, the corresponding deployment request is used as the deployment requirement.
Preferably, step 5: according to the configuration environment and the deployment requirement of the client, carrying out deployment requirement conflict judgment, and according to the judgment result of the deployment requirement conflict judgment and the target mirror image, carrying out the containerization of corresponding target resources at the client, wherein the method comprises the following steps:
extracting templates based on preset containerized deployment constraint conditions, and extracting containerized deployment constraint conditions of the client according to the configuration environment;
extracting a template based on preset deployment requirement conditions, and extracting deployment requirement conditions according to deployment requirements;
performing condition matching on the deployment demand conditions and the containerized deployment constraint conditions to obtain a condition matching result;
if at least one condition matching exists in the condition matching results, the deployment requirements conflict;
if the judgment result shows that the deployment requirements conflict, reminding the client to adjust the deployment requirements or reminding the client to adjust the configuration environment of the client;
after reminding, based on the configuration environment of the client after the client is adjusted or according to the deployment requirement after the client is adjusted, carrying out containerization of target resources according to the target mirror image;
and if the deployment demand conflict does not exist, carrying out the containerization of the target resource according to the target mirror image.
Preferably, the condition matching is performed on the deployment requirement condition and the containerized deployment constraint condition, and a condition matching result is obtained, including:
determining a first range of a first configuration parameter according to deployment demand conditions;
determining a second range of second configuration parameters according to the containerized deployment constraint;
acquiring configuration parameter types of the first configuration parameter and the second configuration parameter;
sequentially traversing the configuration parameter types, taking the first configuration parameter of the configuration parameter type being traversed as a third configuration parameter, and taking the second configuration parameter of the configuration parameter type being traversed as a fourth configuration parameter;
judging whether the first range of the third configuration parameter is contained in the second range of the fourth configuration parameter;
if yes, continuing traversing;
if the first range of the third configuration parameter is contained in the second range of the fourth configuration parameter after all the configuration parameter types are completed, the condition matching result is that the condition matching is met;
otherwise, the condition matching result is that the condition matching is not in conformity.
Preferably, the reminding client adjusts deployment requirements or the reminding client adjusts a configuration environment of the client, including:
taking a conditional matching result, which is not met by the conditional matching, as a conflict item;
predicting that conflicting terms affect the achieved deployment sub-requirements;
based on the deployment sub-requirement display rule, displaying the deployment sub-requirement on a display device corresponding to the client;
acquiring a connection operation command received after the client displays the deployment sub-requirement;
if the continuing operation command is a preset first command, the deployment sub-requirement is ignored, and the deployment requirement after the deployment sub-requirement is ignored is used as the deployment requirement after the adjustment is completed;
if the continuing operation command is a preset second command, inputting the conflict item into a preset environment configuration adjustment model to obtain an environment configuration adjustment strategy output by the environment configuration adjustment model;
and determining the configuration environment of the client after the adjustment is completed according to the environment configuration adjustment strategy.
Preferably, predicting the conflicting term affects the achieved deployment sub-requirement includes:
acquiring a plurality of first history containerized records;
determining a second historical containerization record of which conflict reminders corresponding to conflict items exist in the containerization process according to the first historical containerization record;
taking the second history containerized record neglecting the conflict reminding as a third history containerized record;
obtaining a containerization result corresponding to the third history containerization record;
acquiring an initial requirement of a third historical containerized record;
and determining the differential requirement according to the difference of the initial requirement and the containerization result, and taking the differential requirement as a deployment sub-requirement.
The embodiment of the application provides a containerization system of enterprise IT resources, which comprises:
the resource node acquisition subsystem is used for acquiring the resource node of the enterprise IT platform and simultaneously acquiring the resource request of the client of the enterprise IT platform;
the target resource acquisition subsystem is used for accessing the resource node according to the resource request, the resource node pre-verifies the resource request, and the access resource of the resource request passing the pre-verification is used as the target resource;
the target image acquisition subsystem is used for acquiring a target image of the target resource;
the deployment demand acquisition subsystem is used for acquiring the configuration environment of the client and the deployment demand of the client on the target image;
and the containerization subsystem is used for carrying out deployment demand conflict judgment according to the configuration environment and the deployment demand of the client, and carrying out containerization of target resources on the client according to different judgment results and target images.
The beneficial effects of the application are as follows:
according to the configuration environment of the client and the deployment requirement of the target mirror image, deployment requirement conflict judgment is carried out, and the target resource is containerized in the client according to different judgment results and the target mirror image, so that the containerization efficiency of the target resource is improved, and the containerized deployment process of the client is more suitable.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
The technical scheme of the application is further described in detail through the drawings and the embodiments.
Drawings
The accompanying drawings are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate the application and together with the embodiments of the application, serve to explain the application. In the drawings:
FIG. 1 is a schematic diagram of a method for containerizing IT resources of an enterprise in an embodiment of the present application;
FIG. 2 is a schematic diagram of a system for containerizing IT resources in an enterprise in accordance with an embodiment of the present application.
Detailed Description
The preferred embodiments of the present application will be described below with reference to the accompanying drawings, it being understood that the preferred embodiments described herein are for illustration and explanation of the present application only, and are not intended to limit the present application.
The embodiment of the application provides a method for containerizing enterprise IT resources, which is shown in figure 1 and comprises the following steps:
step 1: acquiring a resource node of an enterprise IT platform, and simultaneously acquiring a resource request of a client of the enterprise IT platform; the enterprise IT platform is: the industrial Internet public service platform can help solve the problems of mass terminal access, industrial knowledge multiplexing, software development and deployment, industrial resource sharing, micro-service component calling and the like. The resource nodes are as follows: communication nodes of resources (such as micro-service components) that the enterprise IT platform can provide; the client is: a server side of a user of the enterprise IT platform; the resource request is: a command requesting a resource;
step 2: accessing a resource node according to the resource request, pre-verifying the resource request by the resource node, and taking the access resource of the resource request passing the pre-verification as a target resource; the resource nodes are as follows: a resource node to which the resource requests access; the pre-verification is as follows: verifying whether the resource requesting party has access rights; the access resources are, for example: a customer relationship management component;
step 3: acquiring a target mirror image of a target resource; the target mirror image is a file storage form of the target resource;
step 4: acquiring a configuration environment of a client and deployment requirements of the client on a target image; the configuration environment is, for example: an operating system of the client; the deployment requirements are: the target mirror image is subjected to the conditions required by the containerized deployment at the client;
step 5: and carrying out deployment demand conflict judgment according to the configuration environment and the deployment demand of the client, and carrying out containerization of corresponding target resources on the client according to the judgment result of the deployment demand conflict judgment and the target mirror image. Deployment demand conflict is determined as: judging whether the configuration environment can meet the deployment requirement; the determination result is, for example: there are conflicts, such as: no conflict exists; when deployment demand conflicts exist, adjusting deployment demands or configuration environments, and according to the adjusted deployment demands or configuration environments, carrying out containerization of target resources, and if the deployment demand conflicts do not exist, directly carrying out containerization deployment of the target resources; containerization is a software deployment process that bundles the code of an application with all files and libraries that are needed for the application to run on any infrastructure.
The working principle and the beneficial effects of the technical scheme are as follows:
according to the method, the target resource passing through the pre-verification of the resource node is determined according to the resource node set and the resource request of the client, the target mirror image of the target resource is obtained, the conflict judgment of the deployment requirement is carried out according to the configuration environment of the client and the deployment requirement of the client on the target mirror image, and the target resource is containerized according to the difference of the judgment results and the target mirror image.
According to the configuration environment of the client and the deployment requirement of the target mirror image, deployment requirement conflict judgment is carried out, and the target resource is containerized in the client according to different judgment results and the target mirror image, so that the containerization efficiency of the target resource is improved, and the containerized deployment process of the client is more suitable.
In one embodiment, step 1: acquiring a resource node of an enterprise IT platform, comprising:
acquiring a plurality of access areas of an enterprise IT platform; the access area is: page areas accessible to the enterprise IT platform, each page area containing accessible content including, but not limited to: platform information and public resources;
determining a first content attribute of the access content in the access area according to the area label of the access area; the regional label is: name of the access area, for example: xx layout; the access content is, for example: accessing public resources of the region; the first content attribute is: accessing content characteristics of content, such as: accessing a title of the content;
matching the first content attribute with a preset second content attribute; the preset second content attribute is preset by a person, and the second content attribute represents the content characteristics of the resource content; when matching, the characteristic matching is realized based on the characteristic matching technology, and the characteristic matching belongs to the category of the prior art and is not repeated; the matching formula is as follows:
wherein V is the matching result of the access content, τ n,m For the matching value of the mth content feature of the access sub-content of the nth content type in the access content, M is the total number of the content features of the access sub-content of the nth content type, ρ n For the N-th content type, corresponding to a preset matching weight value, N is the total number of content types of the accessed content, and lg is the logarithm based on 10;
when the matching is successful, an access area corresponding to the successfully matched first content attribute is obtained and is used as a target area; the target area is, for example: a certain resource plate;
and acquiring an access path of the access content in the target area, and taking the access path as a resource node. The access path is: communication links within the target area to access content.
The working principle and the beneficial effects of the technical scheme are as follows:
according to the acquired regional tag of the access region of the enterprise IT platform, the first content attribute of the access content in the access region is determined, and the rationality of determining the first content attribute is improved; and introducing a second content attribute, acquiring a target area determined when the first content attribute and the second content attribute are successfully matched, and taking an access path of the target area as a resource node, wherein the acquisition process of the resource node is more accurate.
In one embodiment, step 2: accessing the resource node according to the resource request, and if the resource request passes the verification of the resource node, taking the access resource of the corresponding resource request as a target resource, wherein the method comprises the following steps:
acquiring a preset access resource extraction template; the access resource extraction template is preset manually, and is restricted to only extract access resources and not extract other contents;
and extracting the target resource according to the resource request and the access resource extraction template passing the verification of the resource node.
The working principle and the beneficial effects of the technical scheme are as follows:
the application introduces the access resource extraction template, extracts the target resource according to the resource request passing the verification of the resource node and the access resource extraction template, and the extraction of the target resource is more standard.
In one embodiment, step 3: obtaining a target image of a target resource, comprising:
determining a first mirror label according to the resource type of the target resource based on a preset mirror label generation rule; the mirror image label generation rule is preset manually;
acquiring a first communication node of a warehouse registration server; the first communication node is: a communication node of a repository registration server; storing a plurality of images to be selected in a warehouse registration server; the image to be selected is an image file of the historically generated resource;
acquiring a to-be-selected image locally stored in a warehouse registration server through a first communication node, and determining a second image label of the to-be-selected image; each mirror image to be selected is provided with a unique second mirror image label, and the second mirror image labels are determined according to the resource types of the mirror images to be selected;
and matching the first mirror image tag with the second mirror image tag, obtaining a to-be-selected mirror image corresponding to the matched second mirror image tag, and taking the to-be-selected mirror image as a target mirror image.
The working principle and the beneficial effects of the technical scheme are as follows:
according to the method, the mirror image label generation rule is introduced, the first mirror image label is determined according to the resource type of the target resource, and the standardization of the determination of the first mirror image label is improved; and introducing a to-be-selected image locally stored in the warehouse registration server, and determining a target image according to a matching result of the first image label and the second image label of the to-be-selected image, wherein the target image selection process is more accurate.
In one embodiment, step 4: the method for acquiring the configuration environment of the client and the deployment requirement of the client on the target image comprises the following steps:
acquiring a second communication node of the client; the second communication node is: the client communicates with the outside;
acquiring a configuration environment of the client and a verification result of the deployment request received by the client through a second communication node; the verification result is, for example: deployment is allowed, again for example: deployment is not allowed;
and if the verification result is that the verification is passed, the corresponding deployment request is used as the deployment requirement.
The working principle and the beneficial effects of the technical scheme are as follows:
the application introduces the second communication node of the client, establishes the communication link between the client and the enterprise IT platform through the second communication node, acquires the configuration environment of the client and the verification result of the deployment request through the second communication node, determines the deployment requirement according to the verification result, and ensures that the deployment requirement acquisition process is more standard.
In one embodiment, step 5: according to the configuration environment and the deployment requirement of the client, carrying out deployment requirement conflict judgment, and according to the judgment result of the deployment requirement conflict judgment and the target mirror image, carrying out the containerization of corresponding target resources at the client, wherein the method comprises the following steps:
extracting templates based on preset containerized deployment constraint conditions, and extracting containerized deployment constraint conditions of the client according to the configuration environment; the extraction template of the containerized deployment constraint condition is preset manually, the extraction of the containerized deployment constraint condition is only carried out in the configuration environment, and other information is not extracted;
extracting a template based on preset deployment requirement conditions, and extracting deployment requirement conditions according to deployment requirements; the deployment requirement condition extraction template is preset manually, the deployment requirement conditions in the deployment requirement are restrained and extracted, and other information is not extracted;
performing condition matching on the deployment demand conditions and the containerized deployment constraint conditions to obtain a condition matching result; the condition matching is as follows: whether the matching condition is met; the condition matching result is: the condition matching is met or the condition matching is not met;
if at least one condition matching exists in the condition matching results, the deployment requirements conflict;
if the judgment result shows that the deployment requirements conflict, reminding the client to adjust the deployment requirements or reminding the client to adjust the configuration environment of the client; when there is a conflict in the deployment requirement, two solving paths are considered, one is to adjust the deployment requirement, and the other is to adjust the configuration environment so as to achieve the purpose of containerization;
after reminding, based on the configuration environment of the client after the client is adjusted or according to the deployment requirement after the client is adjusted, carrying out containerization of target resources according to the target mirror image;
and if the deployment demand conflict does not exist, carrying out the containerization of the target resource according to the target mirror image.
The working principle and the beneficial effects of the technical scheme are as follows:
the method comprises the steps of introducing a containerized deployment constraint condition extraction template, extracting containerized deployment constraint conditions of a configuration environment, introducing a deployment demand condition extraction template, and extracting deployment demand conditions in deployment demands; according to the condition matching result of the condition matching of the deployment requirement condition and the containerized deployment constraint condition, the deployment requirement conflict is determined, the condition acquisition efficiency is high, and the subsequent judgment of the deployment requirement is facilitated; when deployment demand conflicts exist, the deployment demand or the configuration environment is adjusted, the target resource is containerized according to the adjusted deployment demand or the configuration environment, and if the deployment demand conflicts do not exist, containerized deployment of the target resource is directly carried out, so that the suitability of containerized deployment is improved.
In one embodiment, performing condition matching on the deployment requirement condition and the containerized deployment constraint condition to obtain a condition matching result, including:
determining a first range of a first configuration parameter according to deployment demand conditions; the first configuration parameters are: the configuration parameters meeting the deployment requirement conditions are as follows: a value range of the first configuration parameter;
determining a second range of second configuration parameters according to the containerized deployment constraint; the second configuration parameters are: configuration parameters meeting containerized deployment constraints, the second range is: a value range of the second configuration parameter;
acquiring configuration parameter types of the first configuration parameter and the second configuration parameter; the configuration parameter types are as follows: the parameter types of the first configuration parameter and the second configuration parameter;
sequentially traversing the configuration parameter types, taking the first configuration parameter of the configuration parameter type being traversed as a third configuration parameter, and taking the second configuration parameter of the configuration parameter type being traversed as a fourth configuration parameter;
judging whether the first range of the third configuration parameter is contained in the second range of the fourth configuration parameter; the value range of the parameter category being traversed meets the constraint condition;
if yes, continuing traversing;
if the first range of the third configuration parameter is contained in the second range of the fourth configuration parameter after all the configuration parameter types are completed, the condition matching result is that the condition matching is met;
otherwise, the condition matching result is that the condition matching is not in conformity.
The working principle and the beneficial effects of the technical scheme are as follows:
the application introduces the first range of the first configuration parameter and the second range of the second configuration parameter, determines whether the value of each parameter type meets the constraint condition according to the acquired configuration parameter types of the first configuration parameter and the second configuration parameter, and sequentially matches according to the parameter types, thereby improving the precision and the efficiency of condition matching.
In one embodiment, the reminding client adjusts the deployment requirement or the reminding client adjusts the configuration environment of the client, comprising:
taking a conditional matching result, which is not met by the conditional matching, as a conflict item;
predicting that conflicting terms affect the achieved deployment sub-requirements; the deployment sub-requirements that affect achievement are, for example: influence what functions are achieved, influence what effects are achieved, etc.;
based on the deployment sub-requirement display rule, displaying the deployment sub-requirement on a display device corresponding to the client; the deployment sub-requirement display rule is preset manually; the display device comprises: a display device on which a client is mounted;
acquiring a connection operation command received after the client displays the deployment sub-requirement; the following operation command is: an authorized client user determines an operation command according to the displayed deployment resource requirements;
if the continuing operation command is a preset first command, the deployment sub-requirement is ignored, and the deployment requirement after the deployment sub-requirement is ignored is used as the deployment requirement after the adjustment is completed; the preset first command is: adjusting deployment requirements;
if the continuing operation command is a preset second command, inputting the conflict item into a preset environment configuration adjustment model to obtain an environment configuration adjustment strategy output by the environment configuration adjustment model; the preset second command is: adjusting the configuration environment; the environment configuration adjustment model is as follows: replacing an intelligent model for manually adjusting the configuration environment; the environment configuration adjustment policy is, for example: adjusting what the configuration parameters of what parameter types are;
and determining the configuration environment of the client after the adjustment is completed according to the environment configuration adjustment strategy.
The working principle and the beneficial effects of the technical scheme are as follows:
the application determines the deployment resource requirement which is achieved by the influence of the conflict item, introduces the deployment sub-requirement display rule to display the deployment sub-requirement, and is more humanized; in the process of containerization deployment, the containerization can be realized, but because of the problems of component compatibility and the like, part of the content of the component cannot be used, but deployment requirements of the client are different and are respectively processed according to different requirements of the client for deploying sub-requirements which are achieved by influencing conflict items, so that a continuous operation command received after the client displays the deployment sub-requirements is acquired, when the continuous operation command is a first command, the deployment requirement after the deployment sub-requirements are ignored is used as the deployment requirement after the adjustment is completed, when the continuous operation command is a second command, an environment configuration adjustment model is introduced, and the environment is reconfigured according to an environment configuration adjustment strategy output after the conflict items are input into the environment configuration adjustment model, thereby avoiding the waste of system resources caused by repeated containerization deployment and improving the containerization efficiency.
In one embodiment, predicting conflicting terms to affect achieved deployment sub-requirements includes:
acquiring a plurality of first history containerized records; the first history containerized record is: a containerized record stored in a local database of the client that has been performed at the client;
determining a second historical containerization record of which conflict reminders corresponding to conflict items exist in the containerization process according to the first historical containerization record; the second history containerized record is: a second historic containerized record consistent with the conflict type of the conflicting item, such as: the conflict types are that a certain parameter type does not meet constraint conditions; the conflict reminder is, for example: what kind of problem occurs in the "xx component containerization process, please ask you if you continue to perform the containerization process? "
Taking the second history containerized record neglecting the conflict reminding as a third history containerized record; the third history containerized record is: when conflict reminding occurs, continuing to execute a second historical containerization record of the containerization process;
obtaining a containerization result corresponding to the third history containerization record; the containerization results are, for example: whether the containerized resource can be used, how much the resource is used, and the like;
acquiring an initial requirement of a third historical containerized record; the initial requirements are, for example: the degree of use achieved by the gadget that needs to be transplanted;
and determining the differential requirement according to the difference of the initial requirement and the containerization result, and taking the differential requirement as a deployment sub-requirement. The differential requirements are, for example: the gadget xx function is not available.
The working principle and the beneficial effects of the technical scheme are as follows:
according to the method, the first historical containerization record is obtained, the second historical containerization record corresponding to the conflict reminding of the conflict item exists in the containerization process is determined, the third historical containerization record neglecting the conflict reminding in the second historical containerization record is determined, the difference requirement is determined according to the containerization result of the third historical containerization record and the difference of the initial requirement of the second historical containerization record, the difference requirement is used as the predicted deployment sub-requirement which is achieved by the influence of the conflict item, and the prediction process of the deployment sub-requirement is more accurate.
The embodiment of the application provides a containerization system of enterprise IT resources, as shown in figure 2, comprising:
the resource node acquisition subsystem 1 is used for acquiring resource nodes of the enterprise IT platform and simultaneously acquiring resource requests of clients of the enterprise IT platform;
the target resource acquisition subsystem 2 is used for accessing the resource node according to the resource request, the resource node pre-verifies the resource request, and the access resource of the resource request passing the pre-verification is used as the target resource;
a target image acquisition subsystem 3 for acquiring a target image of the target resource;
the deployment requirement acquisition subsystem 4 is used for acquiring the configuration environment of the client and the deployment requirement of the client on the target image;
and the containerization subsystem 5 is used for carrying out deployment demand conflict judgment according to the configuration environment and the deployment demands of the client, and carrying out containerization of target resources on the client according to different judgment results and target images.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (10)

1. A method for containerizing an IT resource of an enterprise, comprising:
step 1: acquiring a resource node of an enterprise IT platform, and simultaneously acquiring a resource request of a client of the enterprise IT platform;
step 2: accessing a resource node according to the resource request, pre-verifying the resource request by the resource node, and taking the access resource of the resource request passing the pre-verification as a target resource;
step 3: acquiring a target mirror image of a target resource;
step 4: acquiring a configuration environment of a client and deployment requirements of the client on a target image;
step 5: and carrying out deployment demand conflict judgment according to the configuration environment and the deployment demand of the client, and carrying out containerization of corresponding target resources on the client according to the judgment result of the deployment demand conflict judgment and the target mirror image.
2. The method for containerizing enterprise IT resources of claim 1, wherein step 1: acquiring a resource node of an enterprise IT platform, comprising:
acquiring a plurality of access areas of an enterprise IT platform;
determining a first content attribute of the access content in the access area according to the area label of the access area;
matching the first content attribute with a preset second content attribute;
when the matching is successful, an access area corresponding to the successfully matched first content attribute is obtained and is used as a target area;
and acquiring an access path of the access content in the target area, and taking the access path as a resource node.
3. The method for containerizing enterprise IT resources of claim 1, wherein step 2: according to the resource request, accessing the resource node, pre-verifying the resource request by the resource node, taking the access resource of the resource request passing the pre-verification as a target resource, and comprising the following steps:
acquiring a preset access resource extraction template;
and extracting the target resource according to the resource request and the access resource extraction template passing through the pre-verification.
4. The method for containerizing enterprise IT resources of claim 1, wherein step 3: obtaining a target image of a target resource, comprising:
determining a first mirror label according to the resource type of the target resource based on a preset mirror label generation rule;
acquiring a first communication node of a warehouse registration server;
acquiring a to-be-selected image locally stored in a warehouse registration server through a first communication node, and determining a second image label of the to-be-selected image;
and matching the first mirror image tag with the second mirror image tag, obtaining a to-be-selected mirror image corresponding to the matched second mirror image tag, and taking the to-be-selected mirror image as a target mirror image.
5. The method for containerizing enterprise IT resources of claim 1, wherein step 4: the method for acquiring the configuration environment of the client and the deployment requirement of the client on the target image comprises the following steps:
acquiring a second communication node of the client;
acquiring a configuration environment of the client and a verification result of the deployment request received by the client through a second communication node;
and if the verification result is that the verification is passed, the corresponding deployment request is used as the deployment requirement.
6. The method for containerizing enterprise IT resources of claim 1, wherein step 5: according to the configuration environment and the deployment requirement of the client, carrying out deployment requirement conflict judgment, and according to the judgment result of the deployment requirement conflict judgment and the target mirror image, carrying out the containerization of corresponding target resources at the client, wherein the method comprises the following steps:
extracting templates based on preset containerized deployment constraint conditions, and extracting containerized deployment constraint conditions of the client according to the configuration environment;
extracting a template based on preset deployment requirement conditions, and extracting deployment requirement conditions according to deployment requirements;
performing condition matching on the deployment demand conditions and the containerized deployment constraint conditions to obtain a condition matching result;
if at least one condition matching exists in the condition matching results, the deployment requirements conflict;
if the judgment result shows that the deployment requirements conflict, reminding the client to adjust the deployment requirements or reminding the client to adjust the configuration environment of the client;
after reminding, based on the configuration environment of the client after the client is adjusted or according to the deployment requirement after the client is adjusted, carrying out containerization of target resources according to the target mirror image;
and if the deployment demand conflict does not exist, carrying out the containerization of the target resource according to the target mirror image.
7. The method for containerizing enterprise IT resources of claim 6, wherein the condition matching the deployment requirement condition and the containerized deployment constraint condition to obtain the condition matching result comprises:
determining a first range of a first configuration parameter according to deployment demand conditions;
determining a second range of second configuration parameters according to the containerized deployment constraint;
acquiring configuration parameter types of the first configuration parameter and the second configuration parameter;
sequentially traversing the configuration parameter types, taking the first configuration parameter of the configuration parameter type being traversed as a third configuration parameter, and taking the second configuration parameter of the configuration parameter type being traversed as a fourth configuration parameter;
judging whether the first range of the third configuration parameter is contained in the second range of the fourth configuration parameter;
if yes, continuing traversing;
if the first range of the third configuration parameter is contained in the second range of the fourth configuration parameter after all the configuration parameter types are completed, the condition matching result is that the condition matching is met;
otherwise, the condition matching result is that the condition matching is not in conformity.
8. The method for containerizing enterprise IT resources of claim 6, wherein the reminding client adjusts the deployment requirements or the reminding client adjusts the configuration environment of the client, comprising:
taking a conditional matching result, which is not met by the conditional matching, as a conflict item;
predicting that conflicting terms affect the achieved deployment sub-requirements;
based on the deployment sub-requirement display rule, displaying the deployment sub-requirement on a display device corresponding to the client;
acquiring a connection operation command received after the client displays the deployment sub-requirement;
if the continuing operation command is a preset first command, the deployment sub-requirement is ignored, and the deployment requirement after the deployment sub-requirement is ignored is used as the deployment requirement after the adjustment is completed;
if the continuing operation command is a preset second command, inputting the conflict item into a preset environment configuration adjustment model to obtain an environment configuration adjustment strategy output by the environment configuration adjustment model;
and determining the configuration environment of the client after the adjustment is completed according to the environment configuration adjustment strategy.
9. The method of claim 8, wherein predicting deployment sub-requirements achieved by conflicting term effects comprises:
acquiring a plurality of first history containerized records;
determining a second historical containerization record of which conflict reminders corresponding to conflict items exist in the containerization process according to the first historical containerization record;
taking the second history containerized record neglecting the conflict reminding as a third history containerized record;
obtaining a containerization result corresponding to the third history containerization record;
acquiring an initial requirement of a third historical containerized record;
and determining the differential requirement according to the difference of the initial requirement and the containerization result, and taking the differential requirement as a deployment sub-requirement.
10. A containerization system for enterprise IT resources, comprising:
the resource node acquisition subsystem is used for acquiring the resource node of the enterprise IT platform and simultaneously acquiring the resource request of the client of the enterprise IT platform;
the target resource acquisition subsystem is used for accessing the resource node according to the resource request, the resource node pre-verifies the resource request, and the access resource of the resource request passing the pre-verification is used as the target resource;
the target image acquisition subsystem is used for acquiring a target image of the target resource;
the deployment demand acquisition subsystem is used for acquiring the configuration environment of the client and the deployment demand of the client on the target image;
and the containerization subsystem is used for carrying out deployment demand conflict judgment according to the configuration environment and the deployment demand of the client, and carrying out containerization of target resources on the client according to different judgment results and target images.
CN202310966974.4A 2023-08-02 2023-08-02 Method and system for containerizing enterprise IT resources Pending CN117056017A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310966974.4A CN117056017A (en) 2023-08-02 2023-08-02 Method and system for containerizing enterprise IT resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310966974.4A CN117056017A (en) 2023-08-02 2023-08-02 Method and system for containerizing enterprise IT resources

Publications (1)

Publication Number Publication Date
CN117056017A true CN117056017A (en) 2023-11-14

Family

ID=88663706

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310966974.4A Pending CN117056017A (en) 2023-08-02 2023-08-02 Method and system for containerizing enterprise IT resources

Country Status (1)

Country Link
CN (1) CN117056017A (en)

Similar Documents

Publication Publication Date Title
Gozhyj et al. Web resources management method based on intelligent technologies
US7574379B2 (en) Method and system of using artifacts to identify elements of a component business model
CN110363305A (en) Federal learning method, system, terminal device and storage medium
US11949760B2 (en) System and method for content parsing
US10846481B2 (en) Method and system for bridging disparate platforms to automate a natural language interface
AU2014400621B2 (en) System and method for providing contextual analytics data
JP4676782B2 (en) Information processing apparatus, operation permission data generation method, operation permission data generation permission determination method, operation permission data generation program, operation permission data generation permission determination program, and recording medium
CN112631751A (en) Task scheduling method and device, computer equipment and storage medium
CN111078980A (en) Management method, device, equipment and storage medium based on credit investigation big data
CN113094560A (en) Data label library construction method, device, equipment and medium based on data middlebox
JP2003196476A (en) Security policy creation support system and security measure determination support system
CN112084021A (en) Interface configuration method, device and equipment of education system and readable storage medium
Pekša et al. Integration of decision-making components in ERP systems
CN111291045A (en) Service isolation data transmission method and device, computer equipment and storage medium
CN117056017A (en) Method and system for containerizing enterprise IT resources
US20140149186A1 (en) Method and system of using artifacts to identify elements of a component business model
CN112487277B (en) Data distribution method and device, readable storage medium and electronic equipment
US11799864B2 (en) Computer systems for regulating access to electronic content using usage telemetry data
US10832419B2 (en) Cognitive search analytics for multi-dimensional objects
CN114022082B (en) Smart cloud warehouse management method, smart cloud warehouse management device, smart cloud warehouse management equipment and smart cloud warehouse management medium
CN117707557B (en) Management method and system for describing and controlling saas software package installation
US20220405617A1 (en) Artificial intelligence collectors
CN113760233B (en) Page modularized dynamic integration and display method and device, electronic equipment and medium
CN116974898A (en) Data processing method, device, equipment and computer readable storage medium
Power et al. Decision support and analytics

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