CN112905197A - Information processing method, device and system, electronic equipment and storage medium - Google Patents

Information processing method, device and system, electronic equipment and storage medium Download PDF

Info

Publication number
CN112905197A
CN112905197A CN202011322645.9A CN202011322645A CN112905197A CN 112905197 A CN112905197 A CN 112905197A CN 202011322645 A CN202011322645 A CN 202011322645A CN 112905197 A CN112905197 A CN 112905197A
Authority
CN
China
Prior art keywords
information
container
configuration parameters
original
control component
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011322645.9A
Other languages
Chinese (zh)
Inventor
杨书奎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
JD Digital Technology Holdings Co Ltd
Original Assignee
JD Digital Technology Holdings 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 JD Digital Technology Holdings Co Ltd filed Critical JD Digital Technology Holdings Co Ltd
Priority to CN202011322645.9A priority Critical patent/CN112905197A/en
Publication of CN112905197A publication Critical patent/CN112905197A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The application discloses an information processing method, device and system, electronic equipment and a storage medium. The method comprises the following steps: acquiring original structure information of a container to be processed and updating configuration parameters; the original structure information carries original configuration parameters of the container to be processed; encoding the updated configuration parameters to obtain annotation information; inserting the comment information into a designated field in the original structure information to obtain changed structure information; and transmitting the changed structure information to the container control component, and updating the function information of the container to be processed by the container control component according to the updated configuration parameters and the original configuration parameters. According to the method and the device, the updated configuration parameters are transmitted to the container control component in the form of the annotation information, so that the container control component combines the updated configuration parameters and the original configuration parameters to update the function of the container to be processed, the problem that the container control component does not support updating of the configuration parameters when the container is updated is solved, and the task load is reduced compared with the modification of codes of the container control component.

Description

Information processing method, device and system, electronic equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to an information processing method, apparatus, system, electronic device, and storage medium.
Background
With the development of the internet, the internet services are more and more, so new functions are often added to the container, such as: a common problem occurs when the functions such as the shared memory size of the container and the notify … of the ulimit are directly changed in the container control component (kubelet component), that is, some parameters for updating the above functions are supported by the container background management platform (Dockerd), but are not supported by the container control component (kubelet component), so that the container control component cannot deliver the relevant parameters to the container background management platform (Dockerd), and finally, the functions are not available.
In the prior art, in order to solve the above problems, the simplest method is to add corresponding parameters to a container control assembly (kubel assembly). However, the inventor finds that the problem is also brought about by the fact that the code of the container control component (kubel component) needs to be changed frequently and the kubel service on each node in the cluster needs to be upgraded, and since the container control component (kubel component) is an open source component, modifying the code of the container control component (kubel component) causes a great amount of task for developers, and meanwhile, certain operation and maintenance risks exist.
Disclosure of Invention
In order to solve the technical problems described above or at least partially solve the technical problems, the present application provides an information processing method, an information processing apparatus, an electronic device, and a storage medium.
According to an aspect of an embodiment of the present application, there is provided an information processing method including:
acquiring original structure information of a container to be processed and updating configuration parameters, wherein the original structure information carries the original configuration parameters of the container to be processed;
encoding the updated configuration parameters to obtain annotation information;
inserting the comment information into a designated field in the original structure information to obtain changed structure information;
and transmitting the changed structure information to a container control component, and updating the function information of the container to be processed by the container control component according to the updated configuration parameters and the original configuration parameters.
Further, the encoding the updated configuration parameter to obtain the annotation information includes:
converting the updated configuration parameters into character strings in a specified format;
and coding the character string in the specified format to obtain the annotation information.
Further, the transmitting the changed structure information to a container control component, and updating, by the container control component, the function information of the container to be processed according to the updated configuration parameter and the original configuration parameter includes:
and transmitting the changed structure information to the container control component, combining the updated configuration parameters and the original configuration parameters by the container control component to obtain target configuration parameters, and updating the function information of the container to be processed according to the target configuration parameters.
Further, the method further comprises:
detecting state information of the container control assembly when heartbeat data of the container control assembly is not received within preset time;
and when the state information is a fault state, sending repair information to the container control component.
According to another aspect of the embodiments of the present application, there is also provided an information processing method, including:
acquiring an original information field and an updated information field of a container to be processed, wherein original field information carries original configuration parameters;
analyzing the update information field to obtain an update configuration parameter;
merging the original configuration parameters and the updated configuration parameters to obtain target configuration parameters;
and updating the function information of the container to be processed according to the target configuration information.
According to another aspect of the embodiments of the present application, there is also provided an information processing apparatus including:
the acquisition module is used for acquiring original structure information and target configuration parameters of the container to be processed; the original structure information carries original configuration parameters of the container to be processed;
the coding module is used for coding the target configuration parameters to obtain annotation information;
the processing module is used for inserting the comment information into a specified field in the original structure information to obtain changed structure information;
and the sending module is used for transmitting the changed structural information to a container control component, and the container control component updates the function of the container to be processed according to the target configuration parameters and the original configuration parameters.
According to another aspect of the embodiments of the present application, there is also provided an information processing apparatus including:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring an original information field and an updated information field of a container to be processed, and the original field information carries original configuration parameters;
the analysis module is used for analyzing the update information field to obtain an update configuration parameter;
the processing module is used for combining the original configuration parameters and the updated configuration parameters to obtain target configuration parameters;
and the updating module is used for updating the function information of the container to be processed according to the target configuration information.
According to another aspect of the embodiments of the present application, there is also provided an information processing system including: a data processing platform, a container control assembly,
the data processing platform is used for acquiring original structure information of the container to be processed and updating configuration parameters; the original structure information carries original configuration parameters of the container to be processed; encoding the updated configuration parameters to obtain annotation information; inserting the comment information into a designated field in the original structure information to obtain changed structure information; communicating the altered structural information to the container control component;
the container control component is configured to combine the original configuration parameter and the updated configuration parameter to obtain a target configuration parameter, and update the function information of the container to be processed according to the target configuration information.
According to another aspect of the embodiments of the present application, there is also provided a storage medium including a stored program that executes the above steps when the program is executed.
According to another aspect of the embodiments of the present application, there is also provided an electronic apparatus, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus; wherein: a memory for storing a computer program; a processor for executing the steps of the method by running the program stored in the memory.
Embodiments of the present application also provide a computer program product containing instructions, which when run on a computer, cause the computer to perform the steps of the above method.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the technical scheme, the annotation information is obtained by encoding the updated configuration parameters, the updated configuration parameters are transmitted to the container control component (kubel component) in the form of the annotation information, the container control component (kubel component) combines the updated configuration parameters and the original configuration parameters to update the function of the container to be processed, the problem that the container control component (kubel component) does not support updating of the configuration parameters when the container is updated is solved, and meanwhile, the task amount and the cost are reduced compared with the code for modifying the control container program.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
FIG. 1 is a schematic diagram of an information handling system according to an embodiment of the present application;
fig. 2 is a flowchart of an information processing method according to an embodiment of the present application;
fig. 3 is a flowchart of an information processing method according to another embodiment of the present application;
fig. 4 is a flowchart of an information processing method according to another embodiment of the present application;
fig. 5 is a block diagram of an information processing apparatus according to an embodiment of the present application;
fig. 6 is a block diagram of an information processing apparatus according to another embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments, and the illustrative embodiments and descriptions thereof of the present application are used for explaining the present application and do not constitute a limitation to the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another similar entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiment of the application provides an information processing method, device and system, electronic equipment and a storage medium. The method provided by the embodiment of the invention can be applied to any required electronic equipment, for example, the electronic equipment can be electronic equipment such as a server and a terminal, and the method is not particularly limited herein, and is hereinafter simply referred to as electronic equipment for convenience in description.
Fig. 1 is a schematic diagram of an information processing system according to an embodiment of the present application, and as shown in fig. 1, the information processing system includes: the data processing platform 110, the container control component 120,
the data processing platform 110 is configured to obtain original structure information of the container to be processed and update configuration parameters; the original structure information carries original configuration parameters of the container to be processed; encoding the updated configuration parameters to obtain annotation information; inserting the comment information into a designated field in the original structure information to obtain changed structure information; passing the changed structure information to the container control component 120;
the container control component 120 is configured to combine the original configuration parameter and the updated configuration parameter to obtain a target configuration parameter, and update the function information of the container to be processed according to the target configuration information. It is understood that the container control assembly 120 may be a kubel assembly. The kubbelet component runs on the Node, maintains the Pods (container group) in the run, and provides the kubbentertes runtime environment.
The Kubernetes is abbreviated as K8s, and is an open-source application for managing containerization on a plurality of nodes in a cloud platform. The goal of K8s is to make deploying containerized applications simple and efficient, which provides a mechanism for application deployment, planning, updating, and maintenance. The kubelet assembly has the following functions: monitoring the pods assigned to the Node; mounting volumes required by the pod; download the secret of the pod; running the vessel in pod through docker/rkt; a liveness probe defined for the container in the execution pod of the cycle; reporting the pod state to other components of the system; and reporting the Node state.
As shown in fig. 1, in another embodiment of the present application, when the container control component 120 receives the changed structure information, the changed structure information may also be forwarded to the container backend management platform 130, and the container backend management platform 130 performs a merging operation on the configuration parameters.
As can be appreciated, the container background management platform 130 is Dockerd, a daemon process for managing containers.
As an example, the container background management platform (Dockerd) merges the original HostConfig and annotation (annotation information) to get a new HostConfig. Firstly, a container background management platform (Dockerd) analyzes annotation information, then base64 decoding operation is performed, and Json deserialization is performed to obtain a new HostConfig, wherein the HostConfig example is hc, and the HostConfig transmitted by kubel is params. HostConfig: dockerd will call the following function to merge two configuration parameters:
Mergo.Merge(params.HostConfig,hc,…)
the above pseudo code will merge the contents of hc into params.hostconfig, and then the container background management platform (Dockerd) will update the container function with the newly obtained params.hostconfig, so that the obtained container supports the functions that the container control component does not support, but the container background management platform supports.
It should be noted that, the parameter merging may be performed in both the container background management platform (Dockerd) and the container control component (kubel component). Wherein parameter merging in a container control component (kubelet component) is more efficient than parameter merging in a container background management platform (Dockerd).
According to an aspect of the embodiments of the present application, there is provided an embodiment of a method for processing information, where the embodiment of the method is applied to a data processing platform, and fig. 2 is a flowchart of the information processing method provided in the embodiment of the present application, and as shown in fig. 2, the method includes:
step S11, acquiring original structure information and updated configuration parameters of the container to be processed, wherein the original structure information carries the original configuration parameters of the container to be processed;
in the embodiment of the present application, a plurality of container groups are stored in the data processing platform, and each container group has a plurality of containers and container structure information corresponding to each container.
It will be appreciated that the term "container" as used herein may refer to a Linux container that the Linux container technology is capable of packaging or quarantining an application together with its entire runtime environment (including all required files). Thus, the application can be easily migrated between different environments (such as development, test, production and the like), and the whole functions of the application can be reserved.
Step S12, encoding the updated configuration parameters to obtain annotation information;
in this embodiment of the present application, encoding the updated configuration parameter to obtain the annotation information includes: and converting the updated configuration parameters into character strings in a specified format, and encoding the character strings in the specified format to obtain the annotation information.
As an example, when the size of the container shared memory needs to be modified, the original structure information of the container is first obtained as follows:
type HostConfig struct{
ShmSize int 64json
}
then, an instance of the HostConfig is created by the user on the data processing platform, the size (assumed to be 256M) of the shared memory to be set by the user is assigned to ShmSize (hc. ShmSize ═ 256M), then the updated configuration parameters are retransmitted to Json character strings, and then base64 coding is performed to obtain an annotation (annotation information).
Step S13, inserting the comment information into the appointed field in the original structure information to obtain the changed structure information;
in this embodiment of the present application, the data processing platform will put annotation (annotation information) into the Label field in the original structure information of the container and transmit the annotation to the container control component, where the specific process of inserting the field is as follows:
type ContainerCreateConfig struct{
Config*container.Config
HostConfig. HostConfig// including original parameters 1 …
}
type Config struct{
Labels map [ string ] string// including information of newly added parameter n1 … and the like
}
And step S14, the changed structure information is transmitted to the container control component, and the container control component updates the function information of the container to be processed according to the updated configuration parameters and the original configuration parameters.
It can be understood that the container control component in the embodiment of the present application is a kubelelet component, the kubelelet component runs on a Node, maintains a pod (container group) in operation, and provides a kubernets runtime environment, where kubernets, abbreviated as K8s, is an open-source application for managing containerization on multiple nodes in a cloud platform. The goal of K8s is to make deploying containerized applications simple and efficient, which provides a mechanism for application deployment, planning, updating, and maintenance.
The kubelet assembly has the following functions: monitoring the pods assigned to the Node; mounting volumes required by the pod; download the secret of the pod; running the vessel in pod through docker/rkt; a liveness probe defined for the container in the execution pod of the cycle; reporting the pod state to other components of the system; and reporting the Node state.
In this embodiment of the present application, after the changed structure information is transmitted to the container control component, the container control component updates the function information of the container to be processed according to the updated configuration parameter and the original configuration parameter, including: and transmitting the changed structure information to a container control assembly, combining the updated configuration parameters and the original configuration parameters by the container control assembly to obtain target configuration parameters, and updating the function information of the container to be processed according to the target configuration parameters.
According to the technical scheme, the annotation information is obtained by encoding the updated configuration parameters, the updated configuration parameters are transmitted to the container control component (kubel component) in the form of the annotation information, the container control component (kubel component) combines the updated configuration parameters and the original configuration parameters to update the function of the container to be processed, the problem that the container control component (kubel component) does not support updating of the configuration parameters when the container is updated is solved, and meanwhile, the task amount and the cost are reduced compared with the code for modifying the control container program.
According to an aspect of the embodiments of the present application, an embodiment of a method of an information processing method is provided, and fig. 3 is a flowchart of the information processing method provided by the embodiment of the present application, as shown in fig. 3, the method further includes:
step S21, detecting the state information of the container control assembly when the heartbeat data of the container control assembly is not received within the preset time;
in step S22, when the status information is in a failure status, repair information is transmitted to the container control unit.
In the embodiment of the application, the data processing platform carries out fault detection on the container control assembly when not receiving heartbeat data sent by the container control assembly according to the preset time interval, judges whether the container control assembly is in a fault state or not based on the fault detection result, increases the judgment basis, improves the judgment accuracy, solves the problem that misjudgment easily occurs when judging whether the container control assembly is in the fault state or not in the prior art, further avoids the problems of poor service stability and cluster avalanche caused by the misjudgment, and has high practical value.
It should be noted that the heartbeat data is sent to the data processing platform by the container control component every preset time. That is, the container control component is configured in advance, so that the container control component sends heartbeat data to the data processing platform once every preset time interval. Correspondingly, after the data processing platform receives heartbeat data last time, if the heartbeat data is not received after a preset time, it indicates that the container control assembly may be in a fault state, and therefore, a trigger instruction may be sent to the fault detection program.
The preset time can be selected according to the actual application requirement. For example, the preset time may be determined by considering the stability of the service and the throughput of data, for example, 5 min.
In this embodiment, when the failure detection program receives a trigger instruction sent by a data processing platform, in order to reliably determine whether the container control component is in a failure state, failure detection may be performed on the container control component. After the failure information is obtained by performing the failure detection, the failure information may be sent to a data processing platform, so that the data processing platform may determine whether the container control assembly is in a failure state based on the failure information.
According to an aspect of the embodiments of the present application, an embodiment of a method of an information processing method is provided, and fig. 4 is a flowchart of the information processing method provided in the embodiment of the present application, as shown in fig. 4, the method further includes:
step S31, acquiring an original information field and an updated information field of the container to be processed, wherein the original information field carries original configuration parameters;
the embodiment of the application is applied to the container control assembly, the container control assembly receives the structural information of the container to be processed, which is sent by the data processing platform, and the structural information comprises: original information field and updating information word, the original field information carries original configuration parameter of the container to be processed.
Step S32, analyzing the update information field to obtain the update configuration parameter;
in this embodiment of the present application, the update information field is the label field in the above embodiment, and the label field may be directly analyzed to obtain the update configuration parameter carried in the label field, for example, the parameter n 1.
Step S33, merging the original configuration parameters and the updated configuration parameters to obtain target configuration parameters;
step S34, updating the function information of the container to be processed according to the target configuration information.
In the embodiment of the application, the target configuration parameters are obtained by combining the original configuration parameters and the updated configuration parameters transmitted by the data processing platform, and the functions of the containers to be processed are updated according to the target configuration parameters, so that the technical problem that part of parameters of the container control assembly (kubel assembly) are not supported when the container control assembly (kubel assembly) directly updates the functions of the containers is solved. Compared with the prior art, the method has the advantages that the code file of the container control assembly (kubel assembly) is modified more efficiently and practically, and the workload is reduced.
Fig. 5 is a block diagram of an information processing apparatus provided in an embodiment of the present application, and the apparatus may be implemented as part of or all of an electronic device through software, hardware, or a combination of the software and the hardware. As shown in fig. 5, the information processing apparatus includes:
an obtaining module 51, configured to obtain original structure information and target configuration parameters of a container to be processed; the original structure information carries original configuration parameters of the container to be processed; ,
the encoding module 52 is configured to encode the target configuration parameter to obtain annotation information;
a processing module 53, configured to insert the comment information into a specified field in the original structure information to obtain modified structure information;
and a sending module 54, configured to transmit the changed structure information to the container control component, and update the function of the container to be processed according to the target configuration parameter and the original configuration parameter by the container control component.
Further, the encoding module 52 in this embodiment is specifically configured to convert the updated configuration parameters into a character string in a specified format; and coding the character string in the specified format to obtain the annotation information.
Further, the sending module 54 in this embodiment is specifically configured to transmit the changed structure information to the container control component, and the container control component combines the updated configuration parameter and the original configuration parameter to obtain a target configuration parameter, and updates the function information of the container to be processed according to the target configuration parameter.
Further, the apparatus provided in the embodiment of the present application further includes: the detection module is used for detecting the state information of the container control assembly when the heartbeat data of the container control assembly is not received within the preset time; and when the state information is a fault state, sending repair information to the container control component.
Fig. 6 is a block diagram of an information processing apparatus provided in an embodiment of the present application, and the apparatus may be implemented as part or all of an electronic device through software, hardware, or a combination of the two. As shown in fig. 6, the information processing apparatus includes:
the acquiring module 61 is configured to acquire an original information field and an updated information field of the container to be processed, where the original field information carries an original configuration parameter;
the analysis module 62 is configured to analyze the update information field to obtain an update configuration parameter;
the processing module 63 is configured to combine the original configuration parameters and the updated configuration parameters to obtain target configuration parameters;
and the updating module 64 is used for updating the function information of the container to be processed according to the target configuration information.
An embodiment of the present application further provides an electronic device, as shown in fig. 7, the electronic device may include: the system comprises a processor 1501, a communication interface 1502, a memory 1503 and a communication bus 1504, wherein the processor 1501, the communication interface 1502 and the memory 1503 complete communication with each other through the communication bus 1504.
A memory 1503 for storing a computer program;
the processor 1501 is configured to implement the steps of the above embodiments when executing the computer program stored in the memory 1503.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the terminal and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In another embodiment provided by the present application, a computer-readable storage medium is further provided, which stores instructions that, when executed on a computer, cause the computer to execute the information processing method described in any one of the above embodiments.
In yet another embodiment provided by the present application, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the information processing method described in any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk), among others.
The above description is only for the preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. An information processing method characterized by comprising:
acquiring original structure information of a container to be processed and updating configuration parameters, wherein the original structure information carries the original configuration parameters of the container to be processed;
encoding the updated configuration parameters to obtain annotation information;
inserting the comment information into a designated field in the original structure information to obtain changed structure information;
and transmitting the changed structure information to a container control component, and updating the function information of the container to be processed by the container control component according to the updated configuration parameters and the original configuration parameters.
2. The method of claim 1, wherein encoding the updated configuration parameters results in annotation information, comprising:
converting the updated configuration parameters into character strings in a specified format;
and coding the character string in the specified format to obtain the annotation information.
3. The method according to claim 1, wherein the transferring the changed structure information to a container control component, and the updating, by the container control component, the function information of the container to be processed according to the updated configuration parameters and the original configuration parameters comprises:
and transmitting the changed structure information to the container control component, combining the updated configuration parameters and the original configuration parameters by the container control component to obtain target configuration parameters, and updating the function information of the container to be processed according to the target configuration parameters.
4. The method of claim 1, further comprising:
detecting state information of the container control assembly when heartbeat data of the container control assembly is not received within preset time;
and when the state information is a fault state, sending repair information to the container control component.
5. An information processing method characterized by comprising:
acquiring an original information field and an updated information field of a container to be processed, wherein the original information field carries original configuration parameters;
analyzing the update information field to obtain an update configuration parameter;
merging the original configuration parameters and the updated configuration parameters to obtain target configuration parameters;
and updating the function information of the container to be processed according to the target configuration information.
6. An information processing apparatus characterized by comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring original structure information and target configuration parameters of a container to be processed, and the original structure information carries the original configuration parameters of the container to be processed;
the coding module is used for coding the target configuration parameters to obtain annotation information;
the processing module is used for inserting the comment information into a specified field in the original structure information to obtain changed structure information;
and the sending module is used for transmitting the changed structural information to a container control component, and the container control component updates the function of the container to be processed according to the target configuration parameters and the original configuration parameters.
7. An information processing apparatus characterized by comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring an original information field and an updated information field of a container to be processed, and the original field information carries original configuration parameters;
the analysis module is used for analyzing the update information field to obtain an update configuration parameter;
the processing module is used for combining the original configuration parameters and the updated configuration parameters to obtain target configuration parameters;
and the updating module is used for updating the function information of the container to be processed according to the target configuration information.
8. An information processing system, comprising: a data processing platform, a container control assembly,
the data processing platform is used for acquiring original structure information of a container to be processed and updating configuration parameters, wherein the original structure information carries the original configuration parameters of the container to be processed; encoding the updated configuration parameters to obtain annotation information; inserting the comment information into a designated field in the original structure information to obtain changed structure information; communicating the altered structural information to the container control component;
the container control component is configured to combine the original configuration parameter and the updated configuration parameter to obtain a target configuration parameter, and update the function information of the container to be processed according to the target configuration information.
9. A storage medium, characterized in that the storage medium comprises a stored program, wherein the program is operative to perform the method steps of any of the preceding claims 1 to 5.
10. An electronic device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus; wherein:
a memory for storing a computer program;
a processor for performing the method steps of any one of claims 1-5 by executing a program stored on a memory.
CN202011322645.9A 2020-11-23 2020-11-23 Information processing method, device and system, electronic equipment and storage medium Pending CN112905197A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011322645.9A CN112905197A (en) 2020-11-23 2020-11-23 Information processing method, device and system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011322645.9A CN112905197A (en) 2020-11-23 2020-11-23 Information processing method, device and system, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112905197A true CN112905197A (en) 2021-06-04

Family

ID=76111402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011322645.9A Pending CN112905197A (en) 2020-11-23 2020-11-23 Information processing method, device and system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112905197A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114531443A (en) * 2022-02-18 2022-05-24 京东科技信息技术有限公司 Cluster-based container control method and system
CN116760913A (en) * 2023-08-18 2023-09-15 明阳时创(北京)科技有限公司 Method and system for issuing k8s cluster protocol conversion platform configuration

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170075335A1 (en) * 2014-03-14 2017-03-16 Omron Corporation Controller and control system
US20200125533A1 (en) * 2018-10-22 2020-04-23 Outcold Solutions LLC System and method for locating a file created by a process running in a linux container
CN111552494A (en) * 2020-04-24 2020-08-18 星环信息科技(上海)有限公司 Method, device, system and medium for managing container group
CN111651178A (en) * 2020-05-27 2020-09-11 平安普惠企业管理有限公司 Container configuration updating method and device, computer equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170075335A1 (en) * 2014-03-14 2017-03-16 Omron Corporation Controller and control system
US20200125533A1 (en) * 2018-10-22 2020-04-23 Outcold Solutions LLC System and method for locating a file created by a process running in a linux container
CN111552494A (en) * 2020-04-24 2020-08-18 星环信息科技(上海)有限公司 Method, device, system and medium for managing container group
CN111651178A (en) * 2020-05-27 2020-09-11 平安普惠企业管理有限公司 Container configuration updating method and device, computer equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114531443A (en) * 2022-02-18 2022-05-24 京东科技信息技术有限公司 Cluster-based container control method and system
CN116760913A (en) * 2023-08-18 2023-09-15 明阳时创(北京)科技有限公司 Method and system for issuing k8s cluster protocol conversion platform configuration
CN116760913B (en) * 2023-08-18 2023-12-01 明阳时创(北京)科技有限公司 Method and system for issuing k8s cluster protocol conversion platform configuration

Similar Documents

Publication Publication Date Title
US11093232B2 (en) Microservice update system
US11561889B2 (en) Orchestration for automated performance testing
CN111818136A (en) Data processing method and device, electronic equipment and computer readable medium
CN108920359B (en) Application program testing method and device, storage medium and electronic device
CN110895472A (en) Method and device for identifying service change
US11294740B2 (en) Event to serverless function workflow instance mapping mechanism
CN104991821A (en) Monitor task batch processing method and apparatus
CN112905197A (en) Information processing method, device and system, electronic equipment and storage medium
CN110851471A (en) Distributed log data processing method, device and system
CN109104368B (en) Connection request method, device, server and computer readable storage medium
CN113050984A (en) Resource calling method and device, electronic equipment and storage medium
WO2023151397A1 (en) Application program deployment method and apparatus, device, and medium
CN109375946B (en) Method and system for managing component package of node package manager
CN103546563A (en) Method and system for intelligent update of terminal software
JP5276625B2 (en) Update API detection system, update API detection device, update API detection method, and update API detection program
CN112783903B (en) Method and device for generating update log
CN110618943B (en) Security service test method and device, electronic equipment and readable storage medium
CN114490272A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN114020513A (en) Method and device for processing log information
CN112559001B (en) Method and device for updating application
CN113867778A (en) Method and device for generating mirror image file, electronic equipment and storage medium
CN113760712A (en) Test evaluation method and device
CN112835609A (en) Method and device for modifying dependent package download address
CN112083945A (en) NPM installation package update prompting method and device, electronic equipment and storage medium
CN111949472A (en) Method and device for recording application logs

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
CB02 Change of applicant information

Address after: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant after: Jingdong Technology Holding Co.,Ltd.

Address before: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant before: Jingdong Digital Technology Holding Co., Ltd

CB02 Change of applicant information