CN117170823B - Method and device for executing operation in batch container and electronic equipment - Google Patents

Method and device for executing operation in batch container and electronic equipment Download PDF

Info

Publication number
CN117170823B
CN117170823B CN202311453808.0A CN202311453808A CN117170823B CN 117170823 B CN117170823 B CN 117170823B CN 202311453808 A CN202311453808 A CN 202311453808A CN 117170823 B CN117170823 B CN 117170823B
Authority
CN
China
Prior art keywords
container
target
batch container
information
batch
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
Application number
CN202311453808.0A
Other languages
Chinese (zh)
Other versions
CN117170823A (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202311453808.0A priority Critical patent/CN117170823B/en
Publication of CN117170823A publication Critical patent/CN117170823A/en
Application granted granted Critical
Publication of CN117170823B publication Critical patent/CN117170823B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a method, a device and electronic equipment for executing operations in a batch container, and relates to the field of cloud technology, wherein the method comprises the following steps: acquiring batch container selection information corresponding to target batch container operation and operation configuration information corresponding to the target batch container operation; the target batch container operation is any one of at least one batch container operation; the at least one batch container operation is at least one container internal operation performed in the batch container; the batch container selection information is container selection information corresponding to at least one preset container selection dimension in a plurality of preset container selection dimensions; based on the operation configuration information, a target batch container operation is performed in the target batch container indicated by the batch container selection information. By means of the technical scheme, batch execution of operations in the container such as script execution, file uploading and file downloading can be achieved in the batch container, and batch execution efficiency of the operations in the container is greatly improved.

Description

Method and device for executing operation in batch container and electronic equipment
Technical Field
The present disclosure relates to the field of cloud technologies, and in particular, to a method and an apparatus for executing operations in a batch container, and an electronic device.
Background
With the development of cloud technology, container technologies and container clusters (e.g., kubernetes) are also maturing, and more organizations migrate their infrastructures to container clusters. In the related art, the server operation is mainly to perform batch operations on the server, that is, the batch operations in the related art are directed to the resources of the container cluster itself, such as a parent machine for operating the container, to operate the container itself (for example, add a container and delete a container), if the same operations need to be performed in a large number of containers, it is often necessary to configure and execute the operations separately, and the containers cannot be selected in batch to perform batch execution of operations inside the container, which results in lower efficiency of batch execution of operations inside the container.
Disclosure of Invention
The application provides a method, a device, equipment, a storage medium and a computer program product for executing operations in a batch container, which can realize batch execution of operations in the container such as script execution, file uploading, file downloading and the like in the batch container, and greatly improve the batch execution efficiency of the operations in the container.
In one aspect, the present application provides a method of performing an operation in a batch container, the method comprising:
acquiring batch container selection information corresponding to target batch container operation and operation configuration information corresponding to the target batch container operation; the target batch container operation is any one of at least one batch container operation; the at least one batch container operation is at least one container internal operation performed in the batch container; the batch of container selection information is container selection information corresponding to at least one preset container selection dimension in a plurality of preset container selection dimensions;
and executing the target batch container operation in the target batch container indicated by the batch container selection information based on the operation configuration information.
In another aspect, the present application provides another method of performing an operation in a batch container, the method comprising:
responding to a container batch configuration instruction corresponding to a target batch container operation, and displaying a target configuration interface corresponding to the target batch container operation, wherein the target batch container operation is any batch container operation in at least one batch container operation; the at least one batch container operation is at least one container internal operation performed in the batch container; the target configuration interface comprises an operation configuration control and a container selection control corresponding to the target batch container operation, wherein the container selection control is used for selecting batch containers from a plurality of preset container selection dimensions;
When the operation configuration control is used for configuring the operation configuration information corresponding to the target batch container operation and the batch container selection information is used for configuring the batch container selection information based on the container selection control, sending a batch container operation request carrying the batch container selection information and the operation configuration information to a server, so that the server executes the target batch container operation in a target batch container indicated by the batch container selection information based on the operation configuration information; the batch of container selection information is container selection information corresponding to at least one preset container selection dimension in a plurality of preset container selection dimensions.
In another aspect, the present application provides an apparatus for performing operations in a batch container, the apparatus comprising:
the information acquisition module is configured to acquire batch container selection information corresponding to target batch container operation and operation configuration information corresponding to the target batch container operation; the target batch container operation is any one of at least one batch container operation; the at least one batch container operation is at least one container internal operation performed in the batch container; the batch of container selection information is container selection information corresponding to at least one preset container selection dimension in a plurality of preset container selection dimensions;
And a batch container operation execution module configured to execute the target batch container operation in a target batch container indicated by the batch container selection information based on the operation configuration information.
In another aspect, the present application provides another apparatus for performing an operation in a batch container, the apparatus comprising:
a target configuration interface display module configured to execute a container batch configuration instruction corresponding to a target batch container operation, and display a target configuration interface corresponding to the target batch container operation, wherein the target batch container operation is any one batch container operation of at least one batch container operation; the at least one batch container operation is at least one container internal operation performed in the batch container; the target configuration interface comprises an operation configuration control and a container selection control corresponding to the target batch container operation, wherein the container selection control is used for selecting batch containers from a plurality of preset container selection dimensions;
a batch container operation request sending module configured to send a batch container operation request carrying the batch container selection information and the operation configuration information to a server in a case where the operation configuration information corresponding to the target batch container operation is configured based on the operation configuration control and the batch container selection information is configured based on the container selection control, so that the server executes the target batch container operation in the target batch container indicated by the batch container selection information based on the operation configuration information; the batch of container selection information is container selection information corresponding to at least one preset container selection dimension in a plurality of preset container selection dimensions.
Another aspect provides an electronic device, comprising: a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of performing operations in a batch container of any of the above.
Another aspect provides a computer readable storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform any of the methods of performing operations in a batch container described above.
Another aspect provides a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The computer instructions are read from the computer-readable storage medium by a processor of a computer device, and executed by the processor, cause the computer device to perform the methods of performing operations in a batch container provided in various alternative implementations described above.
The method, the device, the equipment, the storage medium and the computer program product for executing the operation in the batch container have the following technical effects:
The method comprises the steps of obtaining batch container selection information corresponding to any batch container operation in at least one batch container operation and operation configuration information corresponding to the batch container operation; the batch container selection information is container selection information corresponding to at least one preset container selection dimension in a plurality of preset container selection dimensions, so that batch container selection from the plurality of preset container selection dimensions can be realized, and the richness of batch container selection is greatly improved; then, based on the operation configuration information, the target batch container operation can be executed in the target batch container indicated by the batch container selection information, batch execution of container internal operations such as script execution, file uploading and file downloading can be realized in the batch container, and the batch execution efficiency of the container internal operations is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions and advantages of embodiments of the present application or of the prior art, the following description will briefly introduce the drawings that are required to be used in the embodiments or the prior art descriptions, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic illustration of an application environment for a method of performing operations in a batch container provided in an embodiment of the present application;
FIG. 2 is a flow diagram of a method of performing operations in a batch container provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of a target configuration interface provided by an embodiment of the present application;
FIG. 4 is a schematic illustration of a container selection interface provided by an embodiment of the present application;
FIG. 5 is a schematic diagram of another target configuration interface provided by an embodiment of the present application;
FIG. 6 is a schematic diagram of another target configuration interface provided by an embodiment of the present application;
FIG. 7 is a schematic diagram of another target configuration interface provided by an embodiment of the present application;
fig. 8 is a schematic diagram of a preset configuration page provided in an embodiment of the present application;
FIG. 9 is a schematic diagram of a container execution result display page according to an embodiment of the present application;
FIG. 10 is a flow diagram of another method of performing operations in a batch container provided by embodiments of the present application;
FIG. 11 is a schematic diagram of an apparatus for performing operations in a batch container according to an embodiment of the present application;
FIG. 12 is a schematic diagram of another apparatus for performing operations in a batch container provided in an embodiment of the present application;
FIG. 13 is a block diagram of an electronic device for performing operations in a batch container provided by an embodiment of the present application;
FIG. 14 is a block diagram of another electronic device for performing operations in a batch container provided by embodiments of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present application based on the embodiments herein.
It should be noted that the terms "first," "second," and the like herein are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Referring to fig. 1, fig. 1 is a schematic diagram of an application environment of a method for performing operations in a batch container according to an embodiment of the present application, where the application environment may at least include a terminal, a server, a database, and the like.
In an alternative embodiment, the terminal may be configured to provide a configuration page for the user to perform the operations inside the container in the batch container, and accordingly, the user may perform the selection of the batch container and the configuration of the operations inside the container based on the configuration page, and trigger the batch container operation request. Specifically, the terminal may include, but is not limited to, a smart phone, a desktop computer, a tablet computer, a notebook computer, a smart speaker, a digital assistant, an augmented reality (augmented reality, AR)/Virtual Reality (VR) device, an intelligent wearable device, a vehicle-mounted terminal, a smart television, and other types of electronic devices; or software running on the electronic device, such as an application, applet, etc. Operating systems running on the electronic device in embodiments of the present application may include, but are not limited to, android systems, IOS systems, linux, windows, and the like.
In an optional embodiment, the server may combine with the application interface, receive the batch container operation requests sent by the terminal, and put batch container selection information and operation configuration information carried in each batch container operation request into the message queue; further, batch container selection information and operation configuration information corresponding to each batch container operation request in the message queue can be set for parallel processing of the plurality of message processing processes; further, each message processing process may execute a corresponding container internal operation in the target batch container indicated by the batch container selection information based on the operation configuration information by calling a preset issuing interface of the container cluster; further, the server may store the container execution results in a local cache or in a database. Optionally, the server may be further provided with a timed task processing module, so that in case the container internal operation is a timed container internal operation, the execution of the timed container internal operation may be performed in conjunction with the timed task processing module. Specifically, the server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud computing service.
In addition, it should be noted that, fig. 1 is merely an application environment of a method for executing an operation in a batch container, and the embodiment of the present disclosure is not limited to the foregoing.
In the embodiment of the present disclosure, the server and the terminal may be directly or indirectly connected through a wired or wireless communication manner, which is not limited herein.
The following describes a method for performing an operation in a batch container, where the method may be applied to an electronic device such as a terminal, and fig. 2 is a schematic flow chart of a method for performing an operation in a batch container according to an embodiment of the present application, and as shown in fig. 2, the method may include:
s201: and responding to the container batch configuration instruction corresponding to the target batch container operation, and displaying a target configuration interface corresponding to the target batch container operation.
In a specific embodiment, the target batch container operation may be any one of at least one batch container operation; specifically, the at least one batch container operation may be at least one container internal operation (operation performed in a container) performed in the batch container, such as an operation of performing a script once in the batch container, an operation of performing a script at a timing in the batch container, an operation of downloading a file in the batch container, an operation of uploading a file in the batch container, and the like.
In an alternative embodiment, a preset page may be displayed first, where the preset page displays at least one display trigger control of the configuration interface corresponding to each batch container operation; optionally, the corresponding display trigger control may be operated by each batch container to trigger the display of the corresponding configuration interface.
In a specific embodiment, the target configuration interface may include an operation configuration control and a container selection control corresponding to the target batch container operation, and in particular, the container selection control may be used for batch container selection from a plurality of preset container selection dimensions; the plurality of preset container selection dimensions comprise at least two of a cluster dimension, a namespace dimension, a task dimension and a container group dimension; specifically, each container cluster (cls) may include at least one namespace (namespace), each namespace may include at least one task (work load), each task may include at least one container group (Pod), and Pod is the smallest deployable unit in the container cluster. A Pod may contain one or more containers that share storage, networking, and operating configurations. Specifically, the operation configuration control may be used to configure operation configuration information corresponding to the target batch container operation, and specifically, the operation configuration information corresponding to the target batch container operation may be information required for executing the target batch container operation.
S203: and sending a batch container operation request carrying batch container selection information and operation configuration information to a server under the condition that operation configuration information corresponding to the target batch container operation is configured based on the operation configuration control and batch container selection information is configured based on the container selection control, so that the server executes the target batch container operation in the target batch container indicated by the batch container selection information based on the operation configuration information.
In a specific embodiment, in a case where the target batch container operation may be an operation of executing a script once in the batch container, the operation configuration information may include a first preset script; specifically, the first preset script may be a script that needs to be executed in a batch container, specifically, the first preset script may be set in combination with an actual application, and optionally, the first preset script may be a script for detecting a running state of the container, a script for deleting a log in the container, and the like. Alternatively, taking the operation of the target batch container as an operation of executing a script once in the batch container as shown in fig. 3, fig. 3 is a schematic diagram of a target configuration interface provided in an embodiment of the present application. Specifically, the operation configuration control may include a control corresponding to 301, and optionally, in combination with the control corresponding to 301, it may be known that a script to be executed may be directly input, or a written script may be selected. Specifically, the container selection controls may include 302 the corresponding controls.
In a specific embodiment, in combination with the container selection control, the display of the container selection interface may be triggered, as shown in fig. 4, fig. 4 is a schematic diagram of a container selection interface provided in an embodiment of the present application; in particular, the container selection interface may present a list of selectable containers (i.e., a list of containers in a tree structure) distributed in terms of clusters, namespaces, task and container group hierarchy relationships (i.e., mutual dependencies). Optionally, the user may sequentially select a corresponding pod, or may directly select a certain nacispace, a certain cls, a certain workload, or the like.
In an optional embodiment, cluster index information corresponding to a plurality of clusters having a target association relationship includes partially identical shared index information; specifically, the cluster index information corresponding to any cluster may be the identification information of the cluster, the cluster index information corresponding to different clusters is different, and correspondingly, the shared index information corresponding to the plurality of clusters may be the identification information which is partially the same in the cluster index information corresponding to the plurality of clusters. The spatial index information corresponding to the namespaces with the target association relationship contains shared index information with the same part; specifically, the spatial index information corresponding to any one of the namespaces may be identification information of the namespaces, the spatial index information corresponding to different namespaces is different, and correspondingly, the shared index information corresponding to the namespaces may be identification information which is partially the same in the spatial index information corresponding to the namespaces; task index information corresponding to a plurality of tasks with target association relation contains shared index information with partial same; specifically, the task index information corresponding to any task may be the identification information of the task, the task index information corresponding to different tasks is different, and accordingly, the task index information corresponding to a plurality of tasks may be the identification information which is partially the same in the task index information corresponding to a plurality of tasks; the container group index information corresponding to the plurality of container groups with the target association relationship comprises shared index information with the same part; specifically, the container group index information corresponding to any container group may be identification information of the container group, the container group index information corresponding to different container groups is different, and accordingly, the container group index information corresponding to the plurality of container groups may be identification information partially identical in the container group index information corresponding to the plurality of container groups. The target association relationship may be a relationship for executing the same preset service together; specifically, the preset service can be set in combination with actual application requirements, and the batch container selection information comprises target batch container information in a target container selection dimension; the target container selection dimension is any one of a plurality of preset container selection dimensions; correspondingly, the method can further comprise the steps of:
Responsive to a container selection operation triggered based on the container selection control, displaying a container selection interface, the container selection interface including container search operation information;
under the condition that the target shared index information corresponding to the target container selection dimension is searched based on the container searching operation information, displaying the full selection operation information of the batch containers corresponding to the target shared index information;
and responding to batch container selection operation triggered based on the full selection operation information, and acquiring target batch container information.
In a specific embodiment, the target container selection dimension may correspond to a plurality of shared index information, and the target shared index information may be any one of the plurality of shared index information.
In a specific embodiment, the full selection operation information may be used to select a batch container corresponding to the target shared index information by one key. When the target container selection dimension is a cluster dimension, the batch containers corresponding to the target shared index information may be all containers under a plurality of clusters in which the cluster index information includes the target shared index information; in the case that the target container selection dimension is a namespace dimension, the batch containers corresponding to the target shared index information may be all containers under a plurality of namespaces where the spatial index information includes the target shared index information; when the target container selection dimension is a task dimension, the batch container corresponding to the target shared index information may be all containers under a plurality of tasks in which the task index information includes the target shared index information; in the case where the target container selection dimension is a container group dimension, the batch containers corresponding to the target shared index information may be all containers under a plurality of container groups whose container group index information contains the target shared index information.
In a specific embodiment, batch container selection operations may be set in connection with an actual application, such as clicking, long pressing, etc. The target batch container information may be identification information of a batch container corresponding to the target shared index information; alternatively, in the case of a batch container selection operation triggered based on the full selection operation information, target batch container information may be acquired; further, the container selection confirmation instruction may be directly triggered, and correspondingly, the target batch container information may be used as batch container selection information; alternatively, other containers besides the target batch container information may be selected, and a container selection confirmation instruction may be triggered, and accordingly, the target batch container information and the information of the selected more containers may be used as batch container selection information.
In the above embodiment, the same shared index information is set for the multiple clusters, the multiple namespaces, the multiple tasks and the multiple container groups with the target association relationship, so that in the process of selecting the batch containers, the batch containers with the same shared index information can be selected quickly by one key, and the selection efficiency of the batch containers is greatly improved.
In a particular embodiment, as can be seen in connection with FIG. 3, in the case where the target batch container operates to execute a script operation once in the batch container, the target configuration interface may also include a timeout configuration control 303, a container list 304, a task name configuration control 305, and so on; specifically, the timeout configuration control may be used to configure a script runtime upper bound; correspondingly, in the subsequent script execution process in the batch container, if the upper limit of the configured script operation time is exceeded, the stopping operation of the script can be triggered, so that the abnormal situation that the script operation cannot be stopped is avoided. Optionally, the container list 304 may display selected container information, where the container information may include cluster information corresponding to the selected container, namespace information corresponding to the selected container, container group information corresponding to the selected container, and server IP (Internet Protocol ) corresponding to the selected container; optionally, the container list 304 may also include an operation control (e.g., delete, etc.) for each piece of container information; in particular, task name configuration control 305 may be used to name a task for a current configuration operation. Optionally, in the case that the target batch container is operated to execute the script operation once in the batch container, the target configuration interface may further include a submit control and a purge list control, and optionally, the purging of the information in the container list may be triggered by one key of the purge list control; optionally, when operation configuration information corresponding to the target batch container operation is configured and batch container selection information is configured based on the container selection control, a batch container operation request may be triggered by clicking the submit control.
In a specific embodiment, in a case where the target batch container operation is an operation of executing a script in a batch container at a timing, the above operation configuration information may include a second preset script and timing information; specifically, the timing information may include operation execution time information and information on whether the timing is immediately turned on; specifically, the second preset script may be a script that needs to be executed in a batch container, specifically, the second preset script may be set in combination with an actual application, and optionally, the second preset script may be a script for detecting a running state of the container, a script for deleting a log in the container, and the like. Alternatively, taking the operation of the target batch container as an example of the operation of executing script in the batch container at regular time, as shown in fig. 5, fig. 5 is a schematic diagram of another target configuration interface provided in the embodiment of the present application; specifically, the operation configuration control may include a control corresponding to 501, and optionally, in combination with knowledge of the control corresponding to 501, a script to be executed may be directly input, or a written script may be selected; specifically, the execution time information of the control configuration operation corresponding to the "task configuration" in the control corresponding to 501 may be combined, and the information of whether the control configuration timing corresponding to the "on state" is immediately started may be combined. Specifically, the container selection controls may include 502 a corresponding control; in addition, when creating a timed task, since the pod will change, when selecting a container, a selection may be made from a workload (task dimension) or a hierarchy up from the workload.
In a particular embodiment, as can be seen in connection with FIG. 5, where the target batch container operation is an operation that executes a script in a batch container at a timing, the target configuration interface may also include a timeout configuration control and a task name configuration control; specifically, the timeout configuration control may be used to configure a script runtime upper bound; correspondingly, in the subsequent script execution process in the batch container, if the upper limit of the configured script operation time is exceeded, the stopping operation of the script can be triggered, so that the abnormal situation that the script operation cannot be stopped is avoided. Specifically, the task name configuration control may be used to name a task for a current configuration operation. Optionally, in the case where the target batch container operates to execute operations of the script in the batch container at regular time, the target configuration interface may further include a submit control; optionally, when operation configuration information corresponding to the target batch container operation is configured and batch container selection information is configured based on the container selection control, a batch container operation request may be triggered by clicking the submit control.
In a specific embodiment, in a case that the target batch container is operated as an operation of downloading a file in the batch container, the operation configuration information may include first storage path information corresponding to the first target type file; the first target type file may be a file of a specified type to be downloaded; the first storage path information may be storage path information of a first target type file, and specifically, storage path information corresponding to the same type file in different containers is the same. Alternatively, taking the operation of the target batch container as an operation of downloading a file in the batch container as an example, as shown in fig. 6, fig. 6 is a schematic diagram of another target configuration interface provided in an embodiment of the present application; specifically, the container selection control may include a control corresponding to 601, and the operation configuration control may include a control corresponding to 602; optionally, in the case that the target batch container operates to download a file in the batch container, the target configuration interface may further include a container list, where selected container information may be displayed, and specifically, the container information may include cluster information corresponding to the selected container, namespace information corresponding to the selected container, container group information corresponding to the selected container, and a server IP corresponding to the selected container; optionally, the container list may also include an operation control (e.g., delete, etc.) for each piece of container information. Optionally, in the case that the target batch container is operated as an operation of downloading a file in the batch container, the target configuration interface may further include a submit control and a purge list control, and optionally, the purging of information in the container list may be triggered by one key of the purge list control; optionally, when operation configuration information corresponding to the target batch container operation is configured and batch container selection information is configured based on the container selection control, a batch container operation request may be triggered by clicking the submit control.
In a specific embodiment, in a case that the target batch container is operated as an operation of uploading a file in the batch container, the operation configuration information may include second storage path information corresponding to a second target type file; the second target type file may be a file to be uploaded; the second storage path information may be storage path information of a second target type file, and specifically, storage path information corresponding to the same type file in different containers is the same. Alternatively, taking the operation of the target batch container as the operation of uploading the file in the batch container as an example, as shown in fig. 7, fig. 7 is a schematic diagram of another target configuration interface provided in the embodiment of the present application; specifically, the operation configuration control may include a control corresponding to 701, and the container selection control may include a control corresponding to 702; optionally, in the case that the target batch container is operated to upload a file in the batch container, the target configuration interface may further include a container list, where selected container information may be displayed, and specifically, the container information may include cluster information corresponding to the selected container, namespace information corresponding to the selected container, container group information corresponding to the selected container, and a server IP corresponding to the selected container; optionally, the container list may also include an operation control (e.g., delete, etc.) for each piece of container information. Optionally, in the case that the target batch container is operated as an operation of uploading a file in the batch container, the target configuration interface may further include a submit control and a purge list control, and optionally, the purging of information in the container list may be triggered by one key of the purge list control; optionally, when operation configuration information corresponding to the target batch container operation is configured and batch container selection information is configured based on the container selection control, a batch container operation request may be triggered by clicking the submit control.
In a specific embodiment, the batch of container selection information is container selection information corresponding to at least one preset container selection dimension among a plurality of preset container selection dimensions. In a particular embodiment, where the batch container selection is made in a cluster dimension, the target batch container may comprise a container in at least one cluster of containers; alternatively, in the case of batch container selection in the namespace dimension, the target batch container may comprise at least one under-namespace container; alternatively, at least one namespace may belong to the same container cluster or may belong to multiple container clusters. Optionally, in the case of selecting a batch container in a task dimension, the target batch container may include a container under at least one task, and optionally, at least one task may belong to the same container cluster or may belong to multiple container clusters. Alternatively, in the case of batch container selection in the container group dimension, the target batch container may include containers under at least one container group, and optionally, the at least one container group may belong to the same container cluster or may belong to multiple container clusters.
In an alternative embodiment, it is assumed that the container is selected based on the namespace dimension; accordingly, the batch container selection information may include identification information of the selected namespaces. Further, when the server receives the batch container selection information, the server may combine the identification information of the namespaces in the batch container selection information, and use the containers under the namespaces corresponding to the identification information of the namespaces as target batch containers. In particular, the target batch container may be a plurality of containers that are required to perform the target batch container operations.
In an alternative embodiment, the method may further include:
displaying a preset configuration page, wherein the preset configuration page can comprise a cluster configuration control, an object configuration control and an authentication configuration control;
under the condition that cluster attribute information is configured based on the cluster configuration control, preset object information is set based on the object configuration control, and preset cluster authentication information is set based on the authentication configuration control, the cluster attribute information, the preset object information and the preset cluster authentication information are sent to a server;
in a particular embodiment, the cluster configuration control may be used to configure cluster attribute information for a container cluster that supports bulk container operations; specifically, the cluster attribute information may include a cluster name, a cluster ID (Identity document, identity), a service IP corresponding to the cluster, a service domain name corresponding to the cluster, and the like. Specifically, the object configuration control may be used to configure object information with batch operation rights for specifying a container in the container cluster, where the container cluster is a container cluster supporting batch container operations; in particular, the authentication configuration control may be used to configure cluster authentication information for a specified container cluster.
In a specific embodiment, the preset object information may be used to indicate an object with a batch operation authority of a container in a cluster (a cluster of containers supporting batch container operation) corresponding to the cluster attribute information, and specifically, the object may be a user account. The preset cluster authentication information may be access authentication information of a cluster corresponding to the cluster attribute information.
In a specific embodiment, as shown in fig. 8, fig. 8 is a schematic diagram of a preset configuration page provided in an embodiment of the present application; the cluster configuration control may include a control corresponding to 801; the object configuration controls may include 802 corresponding controls; the authentication configuration control may include 803 a corresponding control.
In the above embodiment, the cluster attribute information of the container cluster supporting the batch container operation, the preset object information for indicating the object having the batch container operation authority in the cluster corresponding to the cluster attribute information, and the access authentication information of the cluster corresponding to the cluster are preconfigured through the cluster configuration control, the object configuration control and the authentication configuration control in the preset configuration page, so that the batch container operation authority can be opened to the user in a targeted manner, and the security of the container cluster access can be effectively ensured.
In a specific embodiment, the method may further include:
receiving a container execution result sent by a server;
and displaying the execution result of the container.
In a specific embodiment, the container execution result may be an execution result of executing the target batch container operation in the target batch container.
In a specific embodiment, in a case that the target object triggers a plurality of batch container operation requests, a plurality of container execution results corresponding to the plurality of batch container operation requests may be aggregated according to an execution state, and optionally, the execution state may include execution success, execution failure, execution in-progress, to-be-executed, timeout, and the like. Optionally, as shown in fig. 9, fig. 9 is a schematic diagram of a container execution result display page provided in an embodiment of the present application. Optionally, the display of the container execution results is performed in combination with the container information corresponding to each container execution result.
As can be seen from the technical solutions provided in the embodiments of the present disclosure, in response to a container batch configuration instruction corresponding to any one of at least one batch container operation in the present disclosure, a target configuration interface including an operation configuration control corresponding to the batch container operation and a container selection control for performing batch container selection from multiple preset container selection dimensions may be displayed, so that batch container selection may be performed from multiple preset container selection dimensions, and when corresponding operation configuration information is configured based on the operation configuration control and batch container selection information is configured based on the container selection control, a batch container operation request carrying the batch container selection information and the operation configuration information is sent to a server, so that the server executes the target batch container operation in the target batch container indicated by the batch container selection information based on the operation configuration information, and further, batch execution of container internal operations such as script execution, file uploading, file downloading, and the like may be performed in the batch container, thereby greatly improving batch execution efficiency of container internal operations.
Another method for performing operations in a batch container according to the present application, which may be applied to an electronic device such as a server, is described below, and fig. 10 is a schematic flow chart of another method for performing operations in a batch container according to an embodiment of the present application, as shown in fig. 10, where the method may include:
s1001: acquiring batch container selection information corresponding to target batch container operation and operation configuration information corresponding to the target batch container operation;
in a specific embodiment, the target batch container operation may be any one of at least one batch container operation; the at least one batch container operation may be at least one container internal operation performed in the batch container; the plurality of preset container selection dimensions comprise at least two of a cluster dimension, a namespace dimension, a task dimension and a container group dimension;
in a specific embodiment, the obtaining the batch container selection information corresponding to the target batch container operation and the operation configuration information corresponding to the target batch container operation may include:
receiving a batch container operation request sent by a target object, wherein the batch container operation request carries batch container selection information and operation configuration information;
In a specific embodiment, cluster index information corresponding to a plurality of clusters having a target association relationship includes partially identical shared index information; the spatial index information corresponding to the namespaces with the target association relationship contains shared index information with the same part; task index information corresponding to a plurality of tasks with target association relation contains shared index information with partial same; the container group index information corresponding to the plurality of container groups with the target association relationship comprises shared index information with the same part; the target association relationship is a relationship for executing the same preset service together;
in an alternative embodiment, the batch container selection information includes target batch container information in a target container selection dimension; the target container selection dimension is any one of a plurality of preset container selection dimensions; the target batch container information is obtained by batch selection (obtained by one-key selection) based on the target shared index information corresponding to the target container selection dimension.
In the above embodiment, the same shared index information is set for the multiple clusters, the multiple namespaces, the multiple tasks and the multiple container groups with the target association relationship, so that in the process of selecting the batch containers, the batch containers with the same shared index information can be selected quickly by one key, and the selection efficiency of the batch containers is greatly improved.
In one particular embodiment, the target object may be a user account that triggers a batch container operation request. Specifically, under the condition that the target object logs in, the batch container operation request can be triggered after the terminal configures batch container selection information and operation configuration information corresponding to the target batch container operation. Specifically, details of configuring batch container selection information and operation configuration information corresponding to the target batch container operation at the terminal may be referred to the above related description, which is not repeated herein.
S1003: based on the operation configuration information, a target batch container operation is performed in the target batch container indicated by the batch container selection information.
In an alternative embodiment, in the case where the target batch container is operated to execute the operation of the script once in the batch container, the operation configuration information includes a first preset script; the performing of the target batch container operation in the target batch container indicated by the batch container selection information based on the operation configuration information may include:
determining a target batch container according to the batch container selection information;
and calling a preset issuing interface in the cluster corresponding to the target batch container, and issuing a first preset script to the target batch container so as to execute the first preset script in the target batch container.
In a specific embodiment, the batch of container selection information may be container selection information corresponding to at least one preset container selection dimension among a plurality of preset container selection dimensions. For example, a container is selected based on the namespace dimension; accordingly, the batch container selection information may include identification information of the selected namespaces. Further, when the server receives the batch container selection information, the server may combine the identification information of the namespaces in the batch container selection information, and use the containers under the namespaces corresponding to the identification information of the namespaces as target batch containers. In particular, the target batch container may be a plurality of containers that are required to perform the target batch container operations.
In a specific embodiment, details of the first preset script may be referred to the above related description, which is not repeated herein.
In a particular embodiment, the target batch container may comprise multiple containers, optionally, multiple containers may be contained in the same cluster or in multiple clusters; specifically, when the plurality of containers are included in the plurality of clusters, the preset issuing interfaces corresponding to the plurality of clusters may be respectively called, and the corresponding containers may be respectively issued to issue the first preset script, so as to execute the first preset script in the corresponding containers. Specifically, the preset issuing interface may be an interface for issuing information to the container in the container cluster. Such as the pod/exec interface (the issuing interface) in kubernetes (container clusters).
In a specific embodiment, taking an operation of executing a first preset script in the target batch container, where the first preset script is a detection script of a container running state as an example, and a corresponding script running result may be generated when the detection script of the container running state is run in the target batch container; correspondingly, the container execution result can be a script operation result of a script operated in the container, and further, the container with abnormal operation can be screened out according to the script operation result.
In the above embodiment, when the target batch container is operated to execute the operation of the script once in the batch container, and the operation configuration information includes the first preset script, the target batch container is determined according to the batch container selection information, and then the preset issuing interface in the cluster corresponding to the target batch container is called to issue the first preset script to the target batch container, so as to execute the first preset script in the target batch container, thereby implementing script execution in the batch container, further implementing running state detection of the batch container and log cleaning of the batch container, and greatly improving the running state detection efficiency and the log cleaning efficiency of the container.
In an alternative embodiment, in the case where the target batch container operates as an operation for executing the script at a timing in the batch container, the operation configuration information includes a second preset script and timing information; the performing of the target batch container operation in the target batch container indicated by the batch container selection information based on the operation configuration information may include:
determining a target batch container according to the batch container selection information;
and under the condition that the time corresponding to the timing information is reached, calling a preset issuing interface in the cluster corresponding to the target batch container, and issuing a second preset script to the target batch container so as to execute the second preset script in the target batch container.
In a specific embodiment, the specific refinement of the target batch container is determined according to the batch container selection information, which is described above and will not be repeated here.
In a specific embodiment, the server may combine the timing information to set a timing task, and correspondingly, under the condition that the timing information corresponds to the time, may trigger a timing call instruction of a preset issuing interface in the cluster corresponding to the target batch container. Specifically, the preset issuing interface may be an interface for issuing information to the container in the container cluster.
In a specific embodiment, the specific details of the second preset script and the timing information may be referred to the above related description, which is not repeated herein.
In a specific embodiment, taking the operation of executing the second preset script in the batch container at regular time, where the second preset script is a script for deleting the log in the container as an example, and when the script for deleting the log in the container is run in the target batch container, a corresponding script running result can be generated; correspondingly, the container execution result may be a script operation result of a script operated in the container, and further, whether to successfully clean the corresponding log may be determined according to the container execution result.
In the above embodiment, when the target batch container is operated to execute the operation of the script in the batch container at a fixed time, and the operation configuration information includes the second preset script and the timing information, the target batch container is determined according to the batch container selection information; and then, calling a preset issuing interface in the corresponding cluster of the target batch container under the condition that the timing information corresponds to the time, and issuing a second preset script to the target batch container so as to execute the second preset script in the target batch container, so that the script can be executed in the batch container at regular time, further, the running state detection of the batch container and the log cleaning of the batch container can be carried out at regular time, and the running state detection efficiency and the log cleaning efficiency of the container are greatly improved.
In an alternative embodiment, in a case that the target batch container operates as an operation for downloading a file in the batch container, the operation configuration information includes first storage path information corresponding to the first target type file; the performing of the target batch container operation in the target batch container indicated by the batch container selection information based on the operation configuration information may include:
determining a target batch container according to the batch container selection information;
and calling a preset issuing interface in a cluster corresponding to the target batch container, and issuing a target downloading instruction to the target batch container so as to download the first target type file from the target batch container.
In a specific embodiment, the specific refinement of the target batch container is determined according to the batch container selection information, which is described above and will not be repeated here.
In a specific embodiment, the preset issuing interface may be an interface for issuing information to a container in the container cluster. The above-mentioned target downloading instruction indicates that the operation of downloading the first target type file is performed in the target batch container based on the first storage path information, and in particular, the target downloading instruction may include the first storage path information.
In a specific embodiment, the first target type file may be a file of a specified type to be downloaded; the first storage path information may be storage path information of a first target type file, and specifically, storage path information corresponding to the same type file in different containers is the same; accordingly, the storage path information of the first target type file in the plurality of containers (i.e., target batch containers) is the same. Alternatively, the first object type file may be a configuration file, a log file, or the like.
In a specific embodiment, taking an operation of downloading the first target type file in the batch containers as an example, in a case where the target download instruction is executed in the target batch container, a corresponding container execution result may be generated, and in particular, the container execution result may be information reflecting whether the download of the first target type file from each of the target batch containers is successful.
In the above embodiment, when the target batch container is an operation of downloading a file in the batch container and the operation configuration information includes the first storage path information corresponding to the first target type file, the target batch container is determined according to the batch container selection information; and then, calling a preset issuing interface in the cluster corresponding to the target batch container, and issuing a target downloading instruction to the target batch container so as to download the first target type file from the target batch container, so that the file can be downloaded from the batch container, and further, the downloading efficiency of the container file can be greatly improved.
In an alternative embodiment, in a case that the target batch container operates as an operation of uploading a file in the batch container, the operation configuration information includes a second target type file and second storage path information corresponding to the second target type file; based on the operation configuration information, performing the target batch container operation in the target batch container indicated by the batch container selection information includes:
determining a target batch container according to the batch container selection information;
and calling a preset issuing interface in a cluster corresponding to the target batch container, and issuing a target uploading instruction to the target batch container so as to upload the second target type file to the target batch container.
In a specific embodiment, the specific refinement of the target batch container is determined according to the batch container selection information, which is described above and will not be repeated here.
In a specific embodiment, the preset issuing interface may be an interface for issuing information to a container in the container cluster. The target upload instruction indicates that an operation of uploading the second target type file is performed in the target batch container based on the second storage path information, and the target upload instruction may include the second target type file and the second storage path information.
In a specific embodiment, the second target type file may be a file of a specified type to be uploaded; the second storage path information may be storage path information of a second target type file, and specifically, storage path information corresponding to the same type file in different containers is the same; accordingly, the storage path information of the second target type file in the plurality of containers (i.e., target batch containers) is the same. Alternatively, the second object type file may be a file to be published, for example, a test file to be published, etc.
In a specific embodiment, taking an operation of uploading the second target type file in the batch container as an example, in a case where the target uploading instruction is executed in the target batch container, a corresponding container execution result may be generated, and specifically, the container execution result is information reflecting whether the second target type file is successfully uploaded to each container in the target batch container.
In the above embodiment, when the target batch container operation is an operation of uploading a file in the batch container, and the operation configuration information includes a second target type file and second storage path information corresponding to the second target type file, the target batch container is determined according to the batch container selection information; and then, calling a preset issuing interface in the cluster corresponding to the target batch container, and issuing a target uploading instruction to the target batch container so as to upload the second target type file to the target batch container, so that the file uploading to the batch container can be realized, further, the test file can be issued to the batch container, and the issuing efficiency of the test file aiming at the container is improved.
In a particular embodiment, performing the target batch container operation in the target batch container indicated by the batch container selection information based on the operation configuration information may include: and calling a preset issuing interface in the cluster corresponding to the target batch container, and issuing an operation instruction corresponding to the operation configuration information to the target batch container. In practical applications, the batch container operation rights are often opened to the designated object, and accordingly, the method may further include:
based on preset object information, authenticating the target object to obtain an authentication result;
accordingly, the performing the target batch container operation in the target batch container indicated by the batch container selection information based on the operation configuration information may include:
and executing the target batch container operation in the target batch container indicated by the batch container selection information based on the operation configuration information in the case that the authentication result indicates that the target object passes the authentication.
In a specific embodiment, the preset object information may indicate an object having a batch container operation authority, specifically, the object may be a user account, and correspondingly, the preset object information may be an object identifier having a batch container operation authority.
In a specific embodiment, the authentication result may indicate whether the target object passes authentication; the target object may be an object that triggers a batch container operation request. Optionally, if the preset object information includes an object identifier of the target object, an authentication result indicating that the target object passes authentication may be generated; otherwise, if the preset object information does not include the object identifier of the target object, an authentication result indicating that the authentication of the target object is not passed can be generated.
In the above embodiment, the batch container operation authority authentication is performed on the object currently triggering the batch container operation request by indicating the preset object information of the object with the batch container operation authority, so that the targeted batch container operation authority opening is realized, and the effectiveness of the batch container operation authority management is improved.
In an alternative embodiment, to ensure security of container cluster access, cluster access authentication may be performed prior to accessing the container cluster; accordingly, in the case where the authentication result indicates that the target object passes the authentication, performing the target batch container operation in the target batch container indicated by the batch container selection information based on the operation configuration information may include:
Under the condition that the authentication result indicates that the authentication of the target object passes, acquiring preset cluster authentication information corresponding to the target batch container;
based on preset cluster authentication information, performing cluster access authentication corresponding to the target batch container to obtain a cluster access authentication result;
in a case where the cluster access authentication result indicates that the authentication is passed, a target batch container operation is performed in the target batch container indicated by the batch container selection information based on the operation configuration information.
In a specific embodiment, the preset cluster authentication information may be set in a process of performing a batch container access authority configuration of a cluster corresponding to the target batch container; specifically, the preset cluster authentication information is access authentication information of a cluster corresponding to the cluster attribute information.
In an optional embodiment, an access request can be sent to a cluster corresponding to the target batch container in combination with preset cluster authentication information, and correspondingly, the cluster corresponding to the target batch container can be subjected to access authentication in combination with the preset cluster authentication information in the access request, and optionally, a cluster access authentication result indicating authentication passing can be returned under the condition of authentication passing; and otherwise, returning a cluster access authentication result indicating that the authentication is not passed.
In the above embodiment, based on the operation configuration information, before the target batch container operation is performed in the target batch container indicated by the batch container selection information, the access authentication of the corresponding cluster of the target batch container is performed, so that the security of the access of the container cluster can be effectively ensured.
In an alternative embodiment, in order to ensure orderly execution of a large number of batch container operation requests, in the case that the authentication result indicates that the target object passes the authentication, the operation configuration information and the batch container selection information in the batch container operation requests may be put into a preset message queue; correspondingly, under the condition that the operation configuration information and the batch container selection information are taken out from the preset message queue, the operation of obtaining the preset cluster authentication information corresponding to the target batch container is executed, so as to perform cluster access authentication.
In another alternative embodiment, in order to ensure orderly execution of a large number of batch container operation requests, in the case that the authentication result indicates that the target object passes the authentication, the operation configuration information and the batch container selection information in the batch container operation request may be placed in a preset database; correspondingly, under the condition that the operation configuration information and the batch container selection information are taken out from the preset database, the operation of obtaining the preset cluster authentication information corresponding to the target batch container is executed, so as to perform cluster access authentication. Alternatively, the preset database may be a cache database, a relational database, or the like.
In an alternative embodiment, after performing the target batch container operation in the target batch container indicated by the batch container selection information based on the operation configuration information, the method may further include:
the container execution results are stored.
In a particular embodiment, the container execution result is an execution result of executing a target batch container operation in a target batch container.
In an optional embodiment, after the target batch container operation is performed in the target batch container indicated by the batch container selection information based on the operation configuration information, the container execution result may be sent to the terminal corresponding to the target object, so that the terminal displays the container execution result, and thus, a user may conveniently know the container execution condition.
In an alternative embodiment, in order to improve the security of the system and the effectiveness of executing the script command in the container, before executing the script command in the container, detection of an abnormal command input by a user by mistake may be performed in advance, if no abnormal command is detected, the corresponding script command is executed again, otherwise, the corresponding abnormal command may be deleted, and then the corresponding script command is executed again.
In an alternative embodiment, an upper limit on the capacity of the uploaded and downloaded files may be set to increase the efficiency of the execution of batch operations in the container.
As can be seen from the technical solutions provided in the embodiments of the present specification, the present specification obtains batch container selection information corresponding to any one batch container operation in at least one batch container operation and operation configuration information corresponding to the batch container operation; the batch container selection information is container selection information corresponding to at least one preset container selection dimension in a plurality of preset container selection dimensions, so that batch container selection from the plurality of preset container selection dimensions can be realized, and the richness of batch container selection is greatly improved; then, based on the operation configuration information, the target batch container operation can be executed in the target batch container indicated by the batch container selection information, batch execution of container internal operations such as script execution, file uploading and file downloading can be realized in the batch container, and the batch execution efficiency of the container internal operations is greatly improved.
The embodiment of the application also provides a device for executing operations in a batch container, as shown in fig. 11, where the device includes:
An information acquisition module 1110 configured to perform acquisition of batch container selection information corresponding to a target batch container operation and operation configuration information corresponding to the target batch container operation; the target batch container operation is any one of at least one batch container operation; the at least one batch container operation is at least one container internal operation performed in the batch container; the batch of container selection information is container selection information corresponding to at least one preset container selection dimension in a plurality of preset container selection dimensions;
a batch container operation execution module 1120 configured to execute the target batch container operation in a target batch container indicated by the batch container selection information based on the operation configuration information.
In an alternative embodiment, the plurality of preset container selection dimensions includes at least two of a cluster dimension, a namespace dimension, a task dimension, and a container group dimension; and cluster index information corresponding to a plurality of clusters with target association relation contains shared index information with partial same; the spatial index information corresponding to the namespaces with the target association relationship comprises shared index information with the same part; task index information corresponding to a plurality of tasks with the target association relationship comprises shared index information with the same part; the container group index information corresponding to the plurality of container groups with the target association relationship comprises shared index information with the same part; the target association relationship is a relationship for executing the same preset service together;
The batch container selection information includes target batch container information in a target container selection dimension; the target container selection dimension is any one preset container selection dimension of the plurality of preset container selection dimensions; the target batch container information is obtained by batch selection based on target sharing index information corresponding to the target container selection dimension.
In an alternative embodiment, in a case where the target batch container operates as an operation to execute a script once in a batch container, the operation configuration information includes a first preset script; the batch container operation execution module 1120 includes:
a first container determining unit configured to perform determination of the target batch container according to the batch container selection information;
the first execution unit is configured to execute and call a preset issuing interface in a cluster corresponding to the target batch container, and issue the first preset script to the target batch container so as to execute the first preset script in the target batch container.
In an alternative embodiment, in the case where the target batch container operates as an operation for executing a script in a batch container at a timing, the operation configuration information includes a second preset script and timing information; the batch container operation execution module 1120 includes:
A second container determining unit configured to perform determination of the target batch container according to the batch container selection information;
and the second execution unit is configured to execute the second preset script issued to the target batch container by calling a preset issuing interface in a cluster corresponding to the target batch container under the condition that the time corresponding to the timing information is reached, so as to execute the second preset script in the target batch container.
In an optional embodiment, in a case that the target batch container is operated as an operation of downloading a file in the batch container, the operation configuration information includes first storage path information corresponding to a first target type file; the batch container operation execution module 1120 includes:
a third container determining unit configured to perform determination of the target batch container according to the batch container selection information;
the third execution unit is configured to execute and call a preset issuing interface in a cluster corresponding to the target batch container, issue a target downloading instruction to the target batch container so as to download the first target type file from the target batch container, and the target downloading instruction indicates that the operation of downloading the first target type file is executed in the target batch container based on the first storage path information.
In an optional embodiment, in a case that the target batch container is operated as an operation of uploading a file in the batch container, the operation configuration information includes a second target type file and second storage path information corresponding to the second target type file; the batch container operation execution module 1120 includes:
a fourth container determining unit configured to perform determination of the target batch container according to the batch container selection information;
and the fourth execution unit is configured to execute the operation of calling a preset issuing interface in a cluster corresponding to the target batch container, issuing a target uploading instruction to the target batch container so as to upload the second target type file to the target batch container, wherein the target uploading instruction indicates the operation of uploading the second target type file in the target batch container based on the second storage path information.
In an alternative embodiment, the information obtaining module 1110 is specifically configured to execute a batch container operation request sent by the receiving target object, where the batch container operation request carries the batch container selection information and the operation configuration information;
The apparatus further comprises:
the authentication module is configured to perform authentication on the target object based on preset object information to obtain an authentication result, wherein the preset object information indicates objects with batch container operation rights;
the batch container operation execution module 1120 includes:
and a fifth execution unit configured to execute the target batch container operation in the target batch container indicated by the batch container selection information based on the operation configuration information in a case where the authentication result indicates that the target object passes authentication.
In an alternative embodiment, the fifth execution unit includes:
an authentication information obtaining unit configured to obtain preset cluster authentication information corresponding to the target batch container when the authentication result indicates that the target object passes authentication;
the access authentication unit is configured to perform cluster access authentication corresponding to the target batch container based on the preset cluster authentication information to obtain a cluster access authentication result;
a sixth execution unit configured to execute, based on the operation configuration information, the target batch container operation in the target batch container indicated by the batch container selection information, in a case where the cluster access authentication result indicates authentication pass.
In an alternative embodiment, after the performing the target batch container operation in the target batch container indicated by the batch container selection information based on the operation configuration information, the apparatus further includes:
and the container execution result storage module is configured to execute and store container execution results, wherein the container execution results are the execution results of executing the target batch container operation in the target batch container.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
The embodiment of the application also provides a device for executing operations in a batch container, as shown in fig. 12, where the device includes:
a target configuration interface display module 1210 configured to execute a container batch configuration instruction corresponding to a target batch container operation, and display a target configuration interface corresponding to the target batch container operation, where the target batch container operation is any one of at least one batch container operation; the at least one batch container operation is at least one container internal operation performed in the batch container; the target configuration interface comprises an operation configuration control and a container selection control corresponding to the target batch container operation, wherein the container selection control is used for selecting batch containers from a plurality of preset container selection dimensions;
A batch container operation request sending module 1220 configured to perform sending, to a server, a batch container operation request carrying the batch container selection information and the operation configuration information in a case where the operation configuration information corresponding to the target batch container operation is configured based on the operation configuration control and the batch container selection information is configured based on the container selection control, so that the server performs the target batch container operation in the target batch container indicated by the batch container selection information based on the operation configuration information; the batch of container selection information is container selection information corresponding to at least one preset container selection dimension in a plurality of preset container selection dimensions.
In an alternative embodiment, the plurality of preset container selection dimensions includes at least two of a cluster dimension, a namespace dimension, a task dimension, and a container group dimension; the cluster index information corresponding to the clusters with the target association relationship comprises shared index information with the same part; the spatial index information corresponding to the namespaces with the target association relationship comprises shared index information with the same part; task index information corresponding to a plurality of tasks with the target association relationship comprises shared index information with the same part; the container group index information corresponding to the plurality of container groups with the target association relationship comprises shared index information with the same part; the target association relationship is a relationship for executing the same preset service together; the batch container selection information includes target batch container information in a target container selection dimension; the target container selection dimension is any one preset container selection dimension of the plurality of preset container selection dimensions; the apparatus further comprises:
A container selection interface presentation module configured to perform a container selection operation in response to triggering based on the container selection control, present a container selection interface comprising container search operation information;
a full selection operation information module configured to perform full selection operation information of a batch container corresponding to the target container selection dimension when searching for the target shared index information corresponding to the target container selection dimension based on the container search operation information;
and a target batch container information acquisition module configured to perform a batch container selection operation triggered in response to the full selection operation information, to acquire the target batch container information.
In an alternative embodiment, the apparatus further comprises:
the system comprises a preset configuration page display module, a verification module and a verification module, wherein the preset configuration page display module is configured to execute display of a preset configuration page, and the preset configuration page comprises a cluster configuration control, an object configuration control and an authentication configuration control;
an information sending module configured to send cluster attribute information, preset object information and preset cluster authentication information to the server when cluster attribute information is configured based on the cluster configuration control, preset object information is set based on the object configuration control, and preset cluster authentication information is set based on the authentication configuration control;
The preset object information is used for indicating objects with batch operation authority of the containers in the clusters corresponding to the cluster attribute information; the preset cluster authentication information is access authentication information of a cluster corresponding to the cluster attribute information.
In an alternative embodiment, the apparatus further comprises:
the container execution result receiving module is configured to receive a container execution result sent by the server, wherein the container execution result is an execution result of executing the target batch container operation in the target batch container;
and the container execution result display module is configured to display the container execution result.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 13 is a block diagram of an electronic device, which may be a terminal, for performing operations in a batch container, and an internal structure diagram thereof may be as shown in fig. 13, provided in an embodiment of the present application. The electronic device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic device includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the electronic device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a method of performing operations in a batch container. The display screen of the electronic equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the electronic equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
Fig. 14 is a block diagram of another electronic device, which may be a server, for performing operations in a batch container, and an internal block diagram thereof may be as shown in fig. 14, provided in an embodiment of the present application. The electronic device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic device includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the electronic device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a method of performing operations in a batch container.
It will be appreciated by those skilled in the art that the structures shown in fig. 13 or 14 are merely block diagrams of partial structures related to the present disclosure and do not constitute limitations of the electronic device to which the present disclosure is applied, and that a particular electronic device may include more or fewer components than shown in the drawings, or may combine certain components, or have different arrangements of components.
In an exemplary embodiment, there is also provided an electronic device including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement a method of performing operations in a batch container as in an embodiment of the present disclosure.
In an exemplary embodiment, a computer-readable storage medium is also provided, which when executed by a processor of an electronic device, enables the electronic device to perform the method of performing operations in a batch container in embodiments of the present disclosure.
In an exemplary embodiment, a computer program product or a computer program is also provided, the computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The computer instructions are read from the computer-readable storage medium by a processor of a computer device, and executed by the processor, cause the computer device to perform the methods of performing operations in a batch container provided in various alternative implementations described above.
It will be appreciated that in the specific embodiments of the present application, where user-related data is involved, user permissions or consent may be required when the above embodiments of the present application are applied to specific products or technologies, and the collection, use and processing of the related data may be required to comply with relevant laws and regulations and standards in the relevant countries and regions.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. The specification and examples are to be regarded in an illustrative manner only.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (24)

1. A method of performing operations in a batch container, the method comprising:
acquiring batch container selection information corresponding to target batch container operation and operation configuration information corresponding to the target batch container operation; the target batch container operation is any one of at least one batch container operation; the at least one batch container operation is at least one container internal operation performed in the batch container, the container internal operation being an operation performed in the container; the batch container selection information is container selection information corresponding to at least one preset container selection dimension in a plurality of preset container selection dimensions, wherein the plurality of preset container selection dimensions comprise at least two of a cluster dimension, a name space dimension, a task dimension and a container group dimension; and cluster index information corresponding to a plurality of clusters with target association relation contains shared index information with partial same; the spatial index information corresponding to the namespaces with the target association relationship comprises shared index information with the same part; task index information corresponding to a plurality of tasks with the target association relationship comprises shared index information with the same part; the container group index information corresponding to the plurality of container groups with the target association relationship comprises shared index information with the same part; the target association relationship is a relationship for executing the same preset service together; the batch container selection information includes target batch container information in a target container selection dimension; the target container selection dimension is any one preset container selection dimension of the plurality of preset container selection dimensions; the target batch container information is obtained by batch selection based on target sharing index information corresponding to the target container selection dimension;
And executing the target batch container operation in the target batch container indicated by the batch container selection information based on the operation configuration information.
2. The method of claim 1, wherein the operation configuration information includes a first preset script in the case where the target batch container operates as an operation to execute a script once in a batch container; the performing the target batch container operation in the target batch container indicated by the batch container selection information based on the operation configuration information includes:
determining the target batch container according to the batch container selection information;
and calling a preset issuing interface in a cluster corresponding to the target batch container, and issuing the first preset script to the target batch container so as to execute the first preset script in the target batch container.
3. The method of claim 1, wherein the operation configuration information includes a second preset script and timing information in the case where the target batch container operates as an operation to execute a script at a timing in a batch container; the performing the target batch container operation in the target batch container indicated by the batch container selection information based on the operation configuration information includes:
Determining the target batch container according to the batch container selection information;
and calling a preset issuing interface in a cluster corresponding to the target batch container under the condition that the time corresponding to the timing information is reached, and issuing the second preset script to the target batch container so as to execute the second preset script in the target batch container.
4. The method according to claim 1, wherein in the case where the target batch container is operated as an operation of downloading a file in a batch container, the operation configuration information includes first storage path information corresponding to a first target type file; the performing the target batch container operation in the target batch container indicated by the batch container selection information based on the operation configuration information includes:
determining the target batch container according to the batch container selection information;
and calling a preset issuing interface in a cluster corresponding to the target batch container, issuing a target downloading instruction to the target batch container so as to download the first target type file from the target batch container, wherein the target downloading instruction indicates that the operation of downloading the first target type file is executed in the target batch container based on the first storage path information.
5. The method according to claim 1, wherein in the case where the target batch container is operated as an operation of uploading a file in a batch container, the operation configuration information includes a second target type file and second storage path information corresponding to the second target type file; the performing the target batch container operation in the target batch container indicated by the batch container selection information based on the operation configuration information includes:
determining the target batch container according to the batch container selection information;
and calling a preset issuing interface in a cluster corresponding to the target batch container, issuing a target uploading instruction to the target batch container so as to upload the second target type file to the target batch container, wherein the target uploading instruction indicates that the second target type file uploading operation is executed in the target batch container based on the second storage path information.
6. The method of any one of claims 1 to 5, wherein the obtaining batch container selection information corresponding to a target batch container operation and operation configuration information corresponding to the target batch container operation includes:
Receiving a batch container operation request sent by a target object, wherein the batch container operation request carries the batch container selection information and the operation configuration information;
the method further comprises the steps of:
authenticating the target object based on preset object information to obtain an authentication result, wherein the preset object information indicates objects with batch container operation rights;
the performing the target batch container operation in the target batch container indicated by the batch container selection information based on the operation configuration information includes:
and executing the target batch container operation in the target batch container indicated by the batch container selection information based on the operation configuration information under the condition that the authentication result indicates that the target object passes authentication.
7. The method of claim 6, wherein, if the authentication result indicates that the target object is authenticated, performing the target batch container operation in the target batch container indicated by the batch container selection information based on the operation configuration information comprises:
acquiring preset cluster authentication information corresponding to the target batch container under the condition that the authentication result indicates that the target object passes the authentication;
Based on the preset cluster authentication information, performing cluster access authentication corresponding to the target batch container to obtain a cluster access authentication result;
and executing the target batch container operation in the target batch container indicated by the batch container selection information based on the operation configuration information when the cluster access authentication result indicates authentication passing.
8. The method of any of claims 1 to 5, wherein after the performing the target batch container operation in a target batch container indicated by the batch container selection information based on the operation configuration information, the method further comprises:
and storing a container execution result, wherein the container execution result is the execution result of executing the target batch container operation in the target batch container.
9. A method of performing operations in a batch container, the method comprising:
responding to a container batch configuration instruction corresponding to a target batch container operation, and displaying a target configuration interface corresponding to the target batch container operation, wherein the target batch container operation is any batch container operation in at least one batch container operation; the at least one batch container operation is at least one container internal operation performed in the batch container, the container internal operation being an operation performed in the container; the target configuration interface comprises an operation configuration control and a container selection control corresponding to the target batch container operation, wherein the container selection control is used for selecting batch containers from a plurality of preset container selection dimensions;
When the operation configuration control is used for configuring the operation configuration information corresponding to the target batch container operation and the batch container selection information is used for configuring the batch container selection information based on the container selection control, sending a batch container operation request carrying the batch container selection information and the operation configuration information to a server, so that the server executes the target batch container operation in a target batch container indicated by the batch container selection information based on the operation configuration information; the batch of container selection information is container selection information corresponding to at least one preset container selection dimension in a plurality of preset container selection dimensions; the plurality of preset container selection dimensions comprise at least two of a cluster dimension, a namespace dimension, a task dimension and a container group dimension; the cluster index information corresponding to the clusters with the target association relationship comprises shared index information with the same part; the spatial index information corresponding to the namespaces with the target association relationship comprises shared index information with the same part; task index information corresponding to a plurality of tasks with the target association relationship comprises shared index information with the same part; the container group index information corresponding to the plurality of container groups with the target association relationship comprises shared index information with the same part; the target association relationship is a relationship for executing the same preset service together; the batch container selection information includes target batch container information in a target container selection dimension; the target container selection dimension is any one preset container selection dimension of the plurality of preset container selection dimensions; the target batch container information is obtained by adopting the following mode: responsive to a container selection operation triggered based on the container selection control, displaying a container selection interface, the container selection interface including container search operation information; under the condition that the container searching operation information is used for searching the target sharing index information corresponding to the target container selection dimension, displaying the full selection operation information of the batch containers corresponding to the target sharing index information; and responding to batch container selection operation triggered based on the full selection operation information, and acquiring the target batch container information.
10. The method according to claim 9, wherein the method further comprises:
displaying a preset configuration page, wherein the preset configuration page comprises a cluster configuration control, an object configuration control and an authentication configuration control;
transmitting the cluster attribute information, the preset object information and the preset cluster authentication information to the server under the condition that the cluster attribute information is configured based on the cluster configuration control, the preset object information is set based on the object configuration control, and the preset cluster authentication information is set based on the authentication configuration control;
the preset object information is used for indicating objects with batch operation authority of the containers in the clusters corresponding to the cluster attribute information; the preset cluster authentication information is access authentication information of a cluster corresponding to the cluster attribute information.
11. The method according to claim 9, wherein the method further comprises:
receiving a container execution result sent by the server, wherein the container execution result is an execution result of executing the target batch container operation in the target batch container;
and displaying the execution result of the container.
12. An apparatus for performing operations in a batch container, the apparatus comprising:
the information acquisition module is configured to acquire batch container selection information corresponding to target batch container operation and operation configuration information corresponding to the target batch container operation; the target batch container operation is any one of at least one batch container operation; the at least one batch container operation is at least one container internal operation performed in the batch container, the container internal operation being an operation performed in the container; the batch of container selection information is container selection information corresponding to at least one preset container selection dimension in a plurality of preset container selection dimensions; the plurality of preset container selection dimensions comprise at least two of a cluster dimension, a namespace dimension, a task dimension and a container group dimension; and cluster index information corresponding to a plurality of clusters with target association relation contains shared index information with partial same; the spatial index information corresponding to the namespaces with the target association relationship comprises shared index information with the same part; task index information corresponding to a plurality of tasks with the target association relationship comprises shared index information with the same part; the container group index information corresponding to the plurality of container groups with the target association relationship comprises shared index information with the same part; the target association relationship is a relationship for executing the same preset service together; the batch container selection information includes target batch container information in a target container selection dimension; the target container selection dimension is any one preset container selection dimension of the plurality of preset container selection dimensions; the target batch container information is obtained by batch selection based on target sharing index information corresponding to the target container selection dimension;
And a batch container operation execution module configured to execute the target batch container operation in a target batch container indicated by the batch container selection information based on the operation configuration information.
13. The apparatus of claim 12, wherein the operation configuration information includes a first preset script in the case where the target batch container operates to execute a script operation once in a batch container; the batch container operation execution module includes:
a first container determining unit configured to perform determination of the target batch container according to the batch container selection information;
the first execution unit is configured to execute and call a preset issuing interface in a cluster corresponding to the target batch container, and issue the first preset script to the target batch container so as to execute the first preset script in the target batch container.
14. The apparatus of claim 12, wherein the operation configuration information includes a second preset script and timing information in the case where the target batch container operates to execute operations of the script at a timing in the batch container; the batch container operation execution module includes:
A second container determining unit configured to perform determination of the target batch container according to the batch container selection information;
and the second execution unit is configured to execute the second preset script issued to the target batch container by calling a preset issuing interface in a cluster corresponding to the target batch container under the condition that the time corresponding to the timing information is reached, so as to execute the second preset script in the target batch container.
15. The apparatus of claim 12, wherein, in the case where the target batch container is operated as an operation for downloading a file in a batch container, the operation configuration information includes first storage path information corresponding to a first target type file; the batch container operation execution module includes:
a third container determining unit configured to perform determination of the target batch container according to the batch container selection information;
the third execution unit is configured to execute and call a preset issuing interface in a cluster corresponding to the target batch container, issue a target downloading instruction to the target batch container so as to download the first target type file from the target batch container, and the target downloading instruction indicates that the operation of downloading the first target type file is executed in the target batch container based on the first storage path information.
16. The apparatus of claim 12, wherein, in the case where the target batch container is operated as an operation to upload a file in a batch container, the operation configuration information includes a second target type file and second storage path information corresponding to the second target type file; the batch container operation execution module includes:
a fourth container determining unit configured to perform determination of the target batch container according to the batch container selection information;
and the fourth execution unit is configured to execute the operation of calling a preset issuing interface in a cluster corresponding to the target batch container, issuing a target uploading instruction to the target batch container so as to upload the second target type file to the target batch container, wherein the target uploading instruction indicates the operation of uploading the second target type file in the target batch container based on the second storage path information.
17. The apparatus according to any one of claims 12 to 16, wherein the information acquisition module is specifically configured to execute a batch container operation request sent by a receiving target object, the batch container operation request carrying the batch container selection information and the operation configuration information;
The apparatus further comprises:
the authentication module is configured to perform authentication on the target object based on preset object information to obtain an authentication result, wherein the preset object information indicates objects with batch container operation rights;
the batch container operation execution module includes:
and a fifth execution unit configured to execute the target batch container operation in the target batch container indicated by the batch container selection information based on the operation configuration information in a case where the authentication result indicates that the target object passes authentication.
18. The apparatus of claim 17, wherein the fifth execution unit comprises:
an authentication information obtaining unit configured to obtain preset cluster authentication information corresponding to the target batch container when the authentication result indicates that the target object passes authentication;
the access authentication unit is configured to perform cluster access authentication corresponding to the target batch container based on the preset cluster authentication information to obtain a cluster access authentication result;
a sixth execution unit configured to execute, based on the operation configuration information, the target batch container operation in the target batch container indicated by the batch container selection information, in a case where the cluster access authentication result indicates authentication pass.
19. The apparatus according to any one of claims 12 to 16, further comprising:
and the container execution result storage module is configured to execute and store container execution results, wherein the container execution results are the execution results of executing the target batch container operation in the target batch container.
20. An apparatus for performing operations in a batch container, the apparatus comprising:
a target configuration interface display module configured to execute a container batch configuration instruction corresponding to a target batch container operation, and display a target configuration interface corresponding to the target batch container operation, wherein the target batch container operation is any one batch container operation of at least one batch container operation; the at least one batch container operation is at least one container internal operation performed in the batch container, the container internal operation being an operation performed in the container; the target configuration interface comprises an operation configuration control and a container selection control corresponding to the target batch container operation, wherein the container selection control is used for selecting batch containers from a plurality of preset container selection dimensions;
a batch container operation request sending module configured to send a batch container operation request carrying the batch container selection information and the operation configuration information to a server in a case where the operation configuration information corresponding to the target batch container operation is configured based on the operation configuration control and the batch container selection information is configured based on the container selection control, so that the server executes the target batch container operation in the target batch container indicated by the batch container selection information based on the operation configuration information; the batch of container selection information is container selection information corresponding to at least one preset container selection dimension in a plurality of preset container selection dimensions; the plurality of preset container selection dimensions comprise at least two of a cluster dimension, a namespace dimension, a task dimension and a container group dimension; the cluster index information corresponding to the clusters with the target association relationship comprises shared index information with the same part; the spatial index information corresponding to the namespaces with the target association relationship comprises shared index information with the same part; task index information corresponding to a plurality of tasks with the target association relationship comprises shared index information with the same part; the container group index information corresponding to the plurality of container groups with the target association relationship comprises shared index information with the same part; the target association relationship is a relationship for executing the same preset service together; the batch container selection information includes target batch container information in a target container selection dimension; the target container selection dimension is any one preset container selection dimension of the plurality of preset container selection dimensions; the target batch container information is acquired by adopting the following modules: a container selection interface presentation module configured to perform a container selection operation in response to triggering based on the container selection control, present a container selection interface comprising container search operation information; a full selection operation information module configured to perform full selection operation information of a batch container corresponding to the target container selection dimension when searching for the target shared index information corresponding to the target container selection dimension based on the container search operation information; and a target batch container information acquisition module configured to perform a batch container selection operation triggered in response to the full selection operation information, to acquire the target batch container information.
21. The apparatus of claim 20, wherein the apparatus further comprises:
the system comprises a preset configuration page display module, a verification module and a verification module, wherein the preset configuration page display module is configured to execute display of a preset configuration page, and the preset configuration page comprises a cluster configuration control, an object configuration control and an authentication configuration control;
an information sending module configured to send cluster attribute information, preset object information and preset cluster authentication information to the server when cluster attribute information is configured based on the cluster configuration control, preset object information is set based on the object configuration control, and preset cluster authentication information is set based on the authentication configuration control;
the preset object information is used for indicating objects with batch operation authority of the containers in the clusters corresponding to the cluster attribute information; the preset cluster authentication information is access authentication information of a cluster corresponding to the cluster attribute information.
22. The apparatus of claim 20, wherein the apparatus further comprises:
the container execution result receiving module is configured to receive a container execution result sent by the server, wherein the container execution result is an execution result of executing the target batch container operation in the target batch container;
And the container execution result display module is configured to display the container execution result.
23. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of performing an operation in a batch container of any one of claims 1 to 8 or the method of performing an operation in a batch container of any one of claims 9 to 11.
24. A computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the method of performing operations in a batch container of any one of claims 1 to 8 or the method of performing operations in a batch container of any one of claims 9 to 11.
CN202311453808.0A 2023-11-03 2023-11-03 Method and device for executing operation in batch container and electronic equipment Active CN117170823B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311453808.0A CN117170823B (en) 2023-11-03 2023-11-03 Method and device for executing operation in batch container and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311453808.0A CN117170823B (en) 2023-11-03 2023-11-03 Method and device for executing operation in batch container and electronic equipment

Publications (2)

Publication Number Publication Date
CN117170823A CN117170823A (en) 2023-12-05
CN117170823B true CN117170823B (en) 2024-02-27

Family

ID=88939931

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311453808.0A Active CN117170823B (en) 2023-11-03 2023-11-03 Method and device for executing operation in batch container and electronic equipment

Country Status (1)

Country Link
CN (1) CN117170823B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101673244A (en) * 2008-09-09 2010-03-17 上海华虹Nec电子有限公司 Memorizer control method for multi-core or cluster systems
CN113886023A (en) * 2021-10-22 2022-01-04 江苏苏宁银行股份有限公司 Batch dispatching system and method based on distributed architecture and containerization
CN115878154A (en) * 2022-12-05 2023-03-31 中国建设银行股份有限公司 System and method for upgrading container mirror image version
WO2023160500A1 (en) * 2022-02-28 2023-08-31 北京字节跳动网络技术有限公司 Encyclopedia information display method and apparatus, device and medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9262231B2 (en) * 2012-08-07 2016-02-16 Advanced Micro Devices, Inc. System and method for modifying a hardware configuration of a cloud computing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101673244A (en) * 2008-09-09 2010-03-17 上海华虹Nec电子有限公司 Memorizer control method for multi-core or cluster systems
CN113886023A (en) * 2021-10-22 2022-01-04 江苏苏宁银行股份有限公司 Batch dispatching system and method based on distributed architecture and containerization
WO2023160500A1 (en) * 2022-02-28 2023-08-31 北京字节跳动网络技术有限公司 Encyclopedia information display method and apparatus, device and medium
CN115878154A (en) * 2022-12-05 2023-03-31 中国建设银行股份有限公司 System and method for upgrading container mirror image version

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于Linux操作系统的批量管理工具;陈衍鹏;《微型电脑应用》;20170131;第33卷(第1期);第77-80页 *
汪永松著.《私有云存储系统搭建与应用》.机械工业出版社,2020,(第1版),第90-91页. *

Also Published As

Publication number Publication date
CN117170823A (en) 2023-12-05

Similar Documents

Publication Publication Date Title
CN107729352B (en) Page resource loading method and terminal equipment
CN108197200B (en) Log tracking method and device, computer equipment and storage medium
CN107948314B (en) Business processing method and device based on rule file and server
CN111695156A (en) Service platform access method, device, equipment and storage medium
CN106708557B (en) Update processing method and device for terminal application
CN109032824A (en) Database method of calibration, device, computer equipment and storage medium
CN113489713B (en) Network attack detection method, device, equipment and storage medium
CN110162720B (en) Webpage loading method and device, computer equipment and storage medium
US20150012924A1 (en) Method and Device for Loading a Plug-In
CN110244984B (en) Application processing method, device, storage medium and computer equipment
CN111641627A (en) User role authority management method and device, computer equipment and storage medium
US10387627B2 (en) Systems and methods for analyzing software
CN107528718B (en) Method, device and system for acquiring resources
CN110309109B (en) Data monitoring method, device, computer equipment and storage medium
CN108418797B (en) Webpage access method and device, computer equipment and storage medium
CN111475376A (en) Method and device for processing test data, computer equipment and storage medium
CN109542764B (en) Webpage automatic testing method and device, computer equipment and storage medium
CN110750443A (en) Webpage testing method and device, computer equipment and storage medium
CN111353143A (en) Sensitive authority detection method and device and storage medium
US9665732B2 (en) Secure Download from internet marketplace
CN114168179A (en) Micro-service management method, device, computer equipment and storage medium
CN116644250B (en) Page detection method, page detection device, computer equipment and storage medium
CN112559352A (en) Interface test method, device, equipment and storage medium
CN109492144B (en) Association relation analysis method, device and storage medium for software system
CN117170823B (en) Method and device for executing operation in batch container and electronic equipment

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