Abstract:
A container license management method and an apparatus, where the method includes receiving an image download request including information for requesting a license from a container management background, obtaining an image according to the image download request, obtaining the information for requesting a license in the image download request, generating a license image layer corresponding to the information for requesting a license, adding the license image layer to the obtained image, and sending, to the container management background, the image to which the license image layer is added such that the container management background starts a container corresponding to the image, and detects whether the license image layer is valid. Hence, container license management efficiency can be improved.
Abstract:
The present invention provides a method for detecting interference between base stations and a base station. The method includes: receiving, by a first base station, a command sent by an operation maintenance center, wherein the command comprises a frame number of a specified frame; collecting, by the first base station, a signal in an uplink sub-frame of the specified frame, wherein the collected signal comprises a signal obtained by collecting an index sequence sent by a second base station in a downlink sub-frame of the specified frame; and determining, by the first base station, an index sequence of the second base station, wherein the index sequence of the second base station is selected from a plurality of candidate index sequences, each of which is used to be correlated with the collected signal. Embodiments of the present invention can improve the detection efficiency and performance.
Abstract:
A container isolation method for a netlink resource includes receiving, by a kernel executed by a processor, a trigger instruction from an application program. The method also includes creating, by the kernel according to the trigger instruction, a container corresponding to the application program, creating a netlink namespace for the container, and sending a notification to the application program indicating that the netlink namespace is created. The method further includes receiving, by the kernel, a netlink message from the container, wherein the netlink message comprises entries generated when the container runs. The method additionally includes storing, by the kernel, the entries based on an identifier of the netlink namespace for the container, to send an entry required by the container to user space of the container.
Abstract:
An image upgrade method is provided. The method includes: receiving an incremental image file of a container, where the incremental image file includes a newly-added file, a modified file, and information about a deleted file, and the information about the deleted file includes a name of each deleted file and a storage path of the deleted file; updating an original image layer based on the incremental image file to obtain an updated image layer, where a state of the deleted file is set to a hidden state at the updated image layer; and overlaying a file at the updated image layer with a file at a container data layer to form an updated unified view at a view layer for use by the container, where the updated unified view does not include the deleted file whose state is set to the hidden state.
Abstract:
A container license management method and an apparatus, where the method includes receiving an image download request including information for requesting a license from a container management background, obtaining an image according to the image download request, obtaining the information for requesting a license in the image download request, generating a license image layer corresponding to the information for requesting a license, adding the license image layer to the obtained image, and sending, to the container management background, the image to which the license image layer is added such that the container management background starts a container corresponding to the image, and detects whether the license image layer is valid. Hence, container license management efficiency can be improved.
Abstract:
The present invention provides a method for detecting interference between base stations and a base station. The method includes: receiving, by a first base station, a command sent by an operation maintenance center, wherein the command comprises a frame number of a specified frame; collecting, by the first base station, a signal in an uplink sub-frame of the specified frame, wherein the collected signal comprises a signal obtained by collecting an index sequence sent by a second base station in a downlink sub-frame of the specified frame; and determining, by the first base station, an index sequence of the second base station, wherein the index sequence of the second base station is selected from a plurality of candidate index sequences, each of which is used to be correlated with the collected signal. Embodiments of the present invention can improve the detection efficiency and performance.