Patch repair method and device

Through the slice management system, the patch description file is parsed and the IP address is determined, and the virtualized network function VNF and its component VNFC in 5G network slices are dynamically repaired, solving the problem of increasing difficulty in hot patch operation and achieving accurate and efficient patch repair.

CN114040451BActive Publication Date: 2025-04-08DATANG MOBILE COMM EQUIP CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202010706178.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-21
Publication Date
2025-04-08
Estimated Expiration
2040-07-21

AI Technical Summary

Technical Problem

The hot patch operation of 5G network slices is more difficult, especially in virtualized scenarios. Due to dynamic creation of network elements and inconsistent versions, the hot patch operation is complicated and prone to failure.

Method used

The patch description file is parsed through the slice management system, determine the target virtualization network function VNF and its component VNFC, obtain the VNFC patch, and determine the IP addresses of VNF and VNFC based on the preset slice blueprint, so as to achieve dynamic patch repair of the target VNFC.

Benefits of technology

Through dynamic repair technology, the problem of increasing difficulty in slicing hot patch operation of 5G networks is solved, ensuring the accuracy and efficiency of patch repair, and avoiding invalid repair operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114040451B_ABST
    Figure CN114040451B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a patch repair method and device. The method is applied to a slice management system, and the method includes: parsing a patch description file, determining a target virtualized network function VNF, a target VNF ​​component VNFC of the target VNF, and obtaining a VNFC patch of the target VNFC; wherein the target VNF ​​is the VNF of the target network slice corresponding to the patch description file; according to a preset slice blueprint, determining the first Internet Protocol IP address of the target VNF ​​and the second IP address of the target VNFC; according to the first IP address, the second IP address and the VNFC patch, patching the target VNFC of the target VNF. The embodiment of the present application solves the problem of increased difficulty in hot patch operation of 5G network slices in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of mobile communication technology, and in particular to a patch repair method and device. Background Art

[0002] In wireless communication systems, network slicing cuts a physical network into multiple virtual end-to-end networks. Network slices can be used by operators to provide isolated and customizable network services for different vertical industries, different customers, and different businesses based on the Service Level Agreement (SLA) signed between operators and customers. A network slice is a logical network that provides specific network capabilities and features. The logical network slice is carried by a network slice instance. A network slice instance is a deployed network slice, including some network function instances and required resources, such as computing, storage, and network, to achieve the design, deployment, and operation of customized network slices.

[0003] The 5th Generation Mobile Communication Technology (5G) system is different from the traditional communication network. The composition of the traditional communication network elements is fixed and static. However, the 5G network slice is created on demand and is dynamic. The creation process is controlled by the Network Slice Management Function (NSMF) network element and is dynamically created according to the slice blueprint designed according to the SLA requirements of the network slice. The network slice also changes dynamically during operation and will be dynamically adjusted according to the performance monitoring of the network slice and the operation and maintenance strategy, such as adding virtualized network functions (VNF) or deleting VNF, automatically scaling, or dynamically adding and deleting interface function components and business processing function components in VNF.

[0004] However, due to the complexity of 5G network slicing and the dynamic nature of the network, when a network element or a functional component in a network element requires a hot patch, the hot patch operation of the 5G network slice becomes more difficult, and in some scenarios, it is even easy to fail. Specifically, in a virtualized scenario, since network elements are created dynamically, such as virtual Customer Premises Equipment (vCPE) devices or virtual top-box devices, both of which are dynamically created in the data center, the number is huge, possibly tens of thousands; if the time of dynamic creation is different, the version used may also be different; for example, the latest created network element may have adopted the new version and no longer requires a hot patch, and only the earlier created ones in operation may require a hot patch. Therefore, the hot patch operation of 5G network slicing becomes more difficult. Summary of the invention

[0005] The embodiments of the present application provide a patch repair method and device to solve the problem of increased difficulty in hot patching operations for 5G network slices in the prior art.

[0006] On the one hand, an embodiment of the present application provides a patch repair method, which is applied to a slice management system, and the method includes:

[0007] Parse the patch description file, determine the target virtualized network function VNF, the target VNF ​​component VNFC of the target VNF, and obtain the VNFC patch of the target VNFC; wherein the target VNF ​​is the VNF of the target network slice corresponding to the patch description file;

[0008] Determine, according to a preset slice blueprint, a first Internet Protocol IP address of the target VNF ​​and a second IP address of the target VNFC;

[0009] According to the first IP address, the second IP address and the VNFC patch, a patch repair is performed on the target VNFC of the target VNF.

[0010] On the other hand, an embodiment of the present application further provides a patch repair method, which is applied to a target virtualized network function VNF, and the method includes:

[0011] Receive a first patch repair indication sent by a slice management system through a first Internet Protocol IP address, and obtain a second IP address carried in the first patch repair indication; wherein the second IP address is an IP address of a target VNF ​​component VNFC of a target VNF; the first IP address and the second IP address are IP addresses of a target VNFC determined by the slice management system according to a preset slice blueprint; the target VNFC is obtained after the slice management system parses a patch description file;

[0012] According to the first patch repair indication, the VNFC patch in the patch description file is obtained from the slice management system, and the target VNFC is patched according to the VNFC patch and the second IP address.

[0013] On the other hand, an embodiment of the present application further provides a patch repair method, which is applied to a component VNFC of a target virtualized network function VNF, and the method includes:

[0014] Receiving, via a second Internet Protocol IP address, a second patch repair instruction sent by the target VNF; the second IP address is determined by the slice management system according to a preset slice blueprint and sent to the target VNF;

[0015] Obtain a VNFC patch from the target VNF ​​according to the second patch repair indication, and perform patch repair according to the VNFC patch; wherein the VNFC patch is obtained by the target VNF ​​from the slice management system, and the VNFC patch is obtained by the slice management system from the patch description file.

[0016] On the other hand, an embodiment of the present application further provides a patch repair device, which is applied to a slice management system, and the device includes:

[0017] A file parsing module is used to parse a patch description file, determine a target virtualized network function VNF, a target VNF ​​component VNFC of the target VNF, and obtain a VNFC patch of the target VNFC; wherein the target VNF ​​is a VNF of a target network slice corresponding to the patch description file;

[0018] An address determination module, configured to determine a first Internet Protocol IP address of the target VNF ​​and a second IP address of the target VNFC according to a preset slice blueprint;

[0019] The first repair module is used to perform a patch repair on the target VNFC of the target VNF ​​according to the first IP address, the second IP address and the VNFC patch.

[0020] On the other hand, an embodiment of the present application further provides a patch repair device, which is applied to a target virtualized network function VNF, and the device includes:

[0021] The address acquisition module is used to receive a first patch repair indication sent by the slice management system through a first Internet Protocol IP address, and obtain a second IP address carried in the first patch repair indication; wherein the second IP address is an IP address of a target VNF ​​component VNFC of a target VNF; the first IP address and the second IP address are IP addresses of a target VNFC determined by the slice management system according to a preset slice blueprint; the target VNFC is obtained after the slice management system parses a patch description file;

[0022] The second repair module is used to obtain the VNFC patch in the patch description file from the slice management system according to the first patch repair indication, and perform patch repair on the target VNFC according to the VNFC patch and the second IP address.

[0023] On the other hand, an embodiment of the present application further provides a patch repair device, a component VNFC of a target virtualized network function VNF, the device comprising:

[0024] An indication receiving module is used to receive a second patch repair indication sent by the target VNF ​​through a second Internet Protocol IP address; the second IP address is determined by the slice management system according to a preset slice blueprint and sent to the target VNF;

[0025] The third repair module is used to obtain the VNFC patch from the target VNF ​​according to the second patch repair indication, and perform patch repair according to the VNFC patch; wherein the VNFC patch is obtained by the target VNF ​​from the slice management system, and the VNFC patch is obtained by the slice management system from the patch description file.

[0026] On the other hand, an embodiment of the present application also provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps in the patch repair method described above when executing the computer program.

[0027] On the other hand, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the patch repair method described above are implemented.

[0028] In an embodiment of the present application, the slice management system parses a patch description file, determines a target virtualized network function VNF, a target VNF ​​component VNFC of the target VNF, and obtains a VNFC patch of the target VNFC; determines a first Internet Protocol IP address of the target VNF ​​and a second IP address of the target VNFC according to a preset slice blueprint; performs patch repair on the target VNFC of the target VNF ​​according to the first IP address, the second IP address, and the VNFC patch to achieve dynamic patch repair, and determines the VNF and VNFC based on the slice blueprint to ensure the accuracy of the target VNF ​​and the target VNFC; avoids invalid patch repair operations due to inaccurate target VNF ​​and target VNFC. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0030] Figure 1 One of the step flow charts of the patch repair method provided in the embodiment of the present application;

[0031] Figure 2 This is a schematic diagram of an interaction of a first example of an embodiment of the present application;

[0032] Figure 3 The second step flow chart of the patch repair method provided in the embodiment of the present application;

[0033] Figure 4 The third step flow chart of the patch repair method provided in the embodiment of the present application;

[0034] Figure 5 One of the structural block diagrams of the patch repair device provided in the embodiment of the present application;

[0035] Figure 6 The second structural block diagram of the patch repair device provided in the embodiment of the present application;

[0036] Figure 7 The third structural block diagram of the patch repair device provided in the embodiment of the present application;

[0037] Figure 8 A structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0038] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0039] It should be understood that the references to "one embodiment" or "an embodiment" throughout the specification mean that the specific features, structures, or characteristics associated with the embodiment are included in at least one embodiment of the present application. Therefore, the references to "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0040] In various embodiments of the present application, it should be understood that the size of the sequence number of each process described below does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The terms "first", "second", etc. in the specification and claims are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally represents that the objects associated before and after are a kind of "or" relationship.

[0041] In the embodiments provided in the present application, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.

[0042] In 5G networks, network slices include wireless subslices in the wireless domain, transmission subslices in the transmission domain, and core network subslices in the core network domain; wireless subslices such as centralized unit (CU) network elements, distributed unit (DU) network elements, and base stations (gNB) form wireless subslices; transmission subslices such as transmission subslices formed by transmission equipment in the transmission domain; transmission subslices such as core network domain access and mobility management functions (Access and Mobility Management Function), session management function (Session Management Function, SMF), user plane function (User Plane Function), network slice selection function (Network Slice Selection Function, NSSF), network element repository function (NF Repository Function, NRF), network capability exposure function (Network Exposure Function, NEF), short message service function (Short Message Service Function, SMSF) and other virtual network functions form core network subslices. Under the management of the slice management system, network subslices and internal virtual network functions together constitute end-to-end network slices to provide network communication services. Due to the complexity of 5G network slicing and the dynamic nature of the network, when a network element or a functional component in a network element needs to be hot-patched, the hot-patching operation of 5G network slicing becomes more difficult, and in some scenarios, the operation may even fail. Figure 1 As shown, an embodiment of the present application provides a patch repair method, which is applied to a slice management system, including:

[0043] Step 101, parse the patch description file, determine the target virtualized network function VNF, the target VNF ​​component VNFC of the target VNF, and obtain the VNFC patch of the target VNFC; wherein the target VNF ​​is the VNF of the target network slice corresponding to the patch description file.

[0044] Among them, hot patching refers to patch repairing the object to be repaired (such as VNF or VNFC in the embodiment of the present application) during its operation; patches are usually generated because the object to be repaired has defects, or the software version is upgraded or other situations require patch repair; when patch repair is required, the slice management system can receive the patch description file, or automatically obtain the patch description file, and then parse the patch description file to determine the VNF of the target network slice targeted by the patch description file, and the target VNF ​​component (Virtualised Network Function Component, VNFC) of the target VNF. The VNFC component is an internal component of the VNF, which can provide a subset of related functions for the VNF, and a single instance of the component is mapped 1:1 to a single virtualized container.

[0045] The patch description file is used to perform patch repairs on the target network slice, and each target network slice may include one or more VNFs. When patch repairing the network slice, there may be a situation where multiple VNFs need to be patched at the same time. For example, if VNF1 and VNF2 have an associated relationship, if VNF1 is patched, VNF2 may also need to be patched to cooperate with VNF1. Therefore, the patch description file may include patch programs for multiple VNFs. Optionally, in order to implement patch repairs for multiple VNFs at a time, the patch programs of the relevant multiple VNFs can be packaged into a TARS package as a patch description file. Specifically, a TARS package is a data packet obtained by encoding and processing using the TARS encoding protocol. The TARS encoding protocol is a data encoding and decoding rule that encodes data types such as integers, enumeration values, strings, sequences, dictionaries, and custom structures into a binary data stream according to certain rules.

[0046] The patch description file is a Patch Pack Each of the patches VNF Patches Specifically, the patch description file includes the target network slice Description of VNFC And VNFC VNFC Patch ; As a first example, the patch description file may include the following content:

[0047] Parameter 1. Patch package name acPatchName;

[0048] Parameter 2. Patch package version acVersion;

[0049] Parameter 3. Patch package path acPatchUrl;

[0050] Parameter 4. Patch package date acDate;

[0051] Parameter 5. Patch package provider acProvider;

[0052] Parameter 6. Number of VNF objects targeted by the patch package u32VNFObjNum,

[0053] Parameter 7. Patch package serial number and other information u32PatchSeqNumber;

[0054] Specifically, each VNF object number u32VNFObjNum (parameter 6) further includes the following:

[0055] Parameter 6.1 VNF type acVNFType;

[0056] Parameter 6.2 VNF version acVNFVersion;

[0057] Parameter 6.3 VNF patch version acPatchVersion;

[0058] Parameter 6.4VNFC object number u32VNFCObjNum;

[0059] Furthermore, parameter 6.4 includes the following:

[0060] Parameter 6.4.1 VNFC name,

[0061] Parameter 6.4.2 Number of patches required for VNFC u32Libpatchnum,

[0062] Parameter 6.4.3 VNFC patch;

[0063] Furthermore, parameter 6.4.3 includes the following:

[0064] Parameter 6.4.3.1 The source library name targeted by the patch acOrilibname;

[0065] Parameter 6.4.3.2 Patch library name acPatchlibname;

[0066] Parameter 6.4.3.3 Number of external variables that the patch depends on u32ExtvarsNumber;

[0067] Parameter 6.4.3.4 List of external variables that the patch depends on astExtvars;

[0068] Parameter 6.4.3.5 Number of external functions that the patch depends on u32ExtfuncsNumber;

[0069] Parameter 6.4.3.6 List of external functions that the patch depends on astExtfuncs;

[0070] Parameter 6.4.3.7: number of functions replaced by the patch u32FuncNumber;

[0071] Parameter 6.4.3.8 patch replacement function list astFuncReplace.

[0072] Optionally, the patch description file may be described in a language such as json format.

[0073] When parsing a patch description file, the slice management system determines the target VNF ​​corresponding to the parsed patch description file, and the target VNF ​​includes a target VNFC and a VNFC patch of the target VNFC.

[0074] Step 102, according to the preset slice blueprint, determine the first Internet Protocol IP address of the target VNF ​​and the second IP address of the target VNFC.

[0075] The slice blueprint is used to create a network slice. The slice blueprint describes the network slice subnet template that constitutes the network slice; the network slice subnet template describes the virtualized network function module descriptor (Virtualised Network Function Descriptor, VNFD) that constitutes the network slice subnet; VNFD is used to describe the configuration template of the deployment and operation behavior of a VNF, which is used in the VNF operation process and the life cycle management of the VNF instance. VNFD describes the VNFC included in the VNF, the first Internet Protocol (Internet Protocol, IP) address of the VNF (that is, the IP address of the main control module of the VNF), and the parameter information of the VNFC.

[0076] When the VNF is instantiated, the physical server where the VNFC virtual machine is located is recorded in the slice blueprint, that is, the second IP address of the VNFC is recorded; therefore, the network slice management system can determine the first IP address of the VNF and the second IP address of each VNFC of the VNF according to the slice blueprint, and then locate each VNF and VNFC. The slice blueprint determines the VNF and VNFC, ensuring the accuracy of the target VNF ​​and target VNFC. The patch repair process is successfully carried out; avoid invalid patch repair operations due to inaccurate target VNF ​​and target VNFC. do .

[0077] Step 103: Perform a patch repair on the target VNFC of the target VNF ​​according to the first IP address, the second IP address, and the VNFC patch.

[0078] After determining the first IP address, the slice management system sends a control instruction to the target VNF; the target VNF ​​is controlled to send a control instruction to the target VNFC according to the second IP address, and the target VNFC is controlled to perform patch repair according to the VNFC patch. Implementing Dynamics Patch fixes .

[0079] In an embodiment of the present application, the slice management system parses a patch description file, determines a target virtualized network function VNF, a target VNF ​​component VNFC of the target VNF, and obtains a VNFC patch of the target VNFC; determines a first Internet Protocol IP address of the target VNF ​​and a second IP address of the target VNFC according to a preset slice blueprint; performs patch repair on the target VNFC of the target VNF ​​according to the first IP address, the second IP address and the VNFC patch, realizes dynamic patch repair, and determines VNF and VNFC based on the slice blueprint to ensure the accuracy of the target VNF ​​and the target VNFC; avoids invalid patch repair operations due to inaccurate target VNF ​​and target VNFC; the embodiment of the present application solves the problem of increased difficulty in hot patch operations of 5G network slices in the prior art.

[0080] In an optional embodiment, the step of patching the target VNFC of the target VNF ​​according to the first IP address, the second IP address, and the VNFC patch includes:

[0081] According to the first IP address, a first patch repair indication is sent to the target VNF, instructing the target VNF ​​to obtain a target patch package from the slice management system according to the first patch repair indication, and instructing the target VNF ​​to perform a patch repair on the target VNFC according to the VNFC patch and the second IP address.

[0082] After the slice management system determines the first IP address, it sends a control instruction to the target VNF ​​according to the first IP address; it instructs the target VNF ​​to send a control instruction to the target VNFC according to the second IP address, and controls the target VNFC to perform patch repair according to the VNFC patch, thereby realizing dynamic patch repair.

[0083] In an optional embodiment, the VNFC patch includes a patch file of the first target VNF,

[0084] or

[0085] The VNFC patch includes a patch file of the first target VNF ​​and a patch file of the second target VNF; and the second target VNF ​​has a preset association relationship with the first target VNF.

[0086] That is to say, each target network slice may include one or more VNFs. When patching a network slice, there may be a situation where multiple VNFs need to be patched at the same time. For example, if VNF1 and VNF2 have a preset association relationship, if VNF1 is patched, VNF2 must also be patched accordingly to cooperate with VNF1. Therefore, the patch description file can include patch programs for multiple VNFs.

[0087] As a second example, see Figure 2 , Figure 2 An application process of the patch repair method is shown, wherein the slice management system can obtain the patch description file and the slice blueprint in advance, determine according to the patch description file that the target network slice includes the associated relationship VNF1 and VNF2, and then perform the following patch repair process; and in the following patch repair process, VNF1 and VNF2 can be repaired at the same time, wherein steps 11 to 14 are for repairing VNF1, and steps 21 to 24 are for repairing VNF2; wherein the repair steps for the two VNFs can be performed simultaneously;

[0088] Specifically, repairing VNF1 mainly includes the following steps:

[0089] In step 11, the slice management system sends a first patch repair indication to the VNF1 master control (i.e., the main control module); before step 11, the slice management system combines the slice blueprint to determine the deployed VNF version and date and other information, matches and finds the VNF1 and VNFC1 that need to be patched, as well as their IP addresses, and sends a first patch repair indication to the VNF1 master control.

[0090] Step 12: The VNF1 master controller obtains VNFC patch 1 and the IP address of VNFC1 according to the first patch repair instruction.

[0091] Step 13: The VNF1 master controller sends a first patch repair indication to VNFC1 according to the IP address of VNFC1.

[0092] Step 14: VNFC1 downloads VNFC patch 1 from the VNF1 master control and performs patch repair.

[0093] Repairing VNF2 mainly includes the following steps:

[0094] In step 21, the slice management system sends a first patch repair indication to the VNF2 master (i.e., the main control module); before step 21, the slice management system combines the slice blueprint to determine the deployed VNF version and date and other information, matches and finds the VNF2 and VNFC2 that need to be patched, as well as their IP addresses, and sends a first patch repair indication to the VNF2 master.

[0095] Step 22: The VNF2 master controller obtains the VNFC patch 2 and the IP address of VNFC2 according to the first patch repair instruction.

[0096] Step 23: The VNF2 master sends a first patch repair indication to VNFC2 according to the IP address of VNFC2.

[0097] Step 24, VNFC2 downloads VNFC patch 2 from the VNF2 master control and performs patch repair.

[0098] In the communication service mode using network slicing, the method of hot patching network elements through the operation and maintenance center (OMC) in the prior art is likely to become inefficient or even infeasible; in the embodiment of the present application, hot patch repair of network elements is performed from the slice management system, and hot patch repair is performed based on the 5G network slice blueprint and patch description file, which makes full use of the role of the slice management system and the slice blueprint, which is of great significance and role in the operation and maintenance of network slicing.

[0099] In an embodiment of the present application, the slice management system parses a patch description file, determines a target virtualized network function VNF, a target VNF ​​component VNFC of the target VNF, and obtains a VNFC patch of the target VNFC; determines a first Internet Protocol IP address of the target VNF ​​and a second IP address of the target VNFC according to a preset slice blueprint; performs patch repair on the target VNFC of the target VNF ​​according to the first IP address, the second IP address, and the VNFC patch to achieve dynamic patch repair, and determines the VNF and VNFC based on the slice blueprint to ensure the accuracy of the target VNF ​​and the target VNFC; avoids invalid patch repair operations due to inaccurate target VNF ​​and target VNFC.

[0100] See also Figure 3 The embodiment of the present application also provides a patch repair method, which is applied to a target virtualized network function VNF, and the method includes:

[0101] Step 301: Receive a first patch repair indication sent by a slice management system through a first Internet Protocol IP address, and obtain a second IP address carried in the first patch repair indication.

[0102] Among them, the second IP address is the IP address of the target VNFC; the second IP address is the IP address of the target VNFC determined by the slice management system according to the preset slice blueprint; the target VNFC is obtained after the slice management system parses the patch description file.

[0103] Among them, hot patching refers to patching the repair object during the operation of the repaired object; patches are usually generated because the repaired object has defects, or the software version is upgraded or other situations require patch repair; when patch repair is required, the slice management system can receive the patch description file, or automatically obtain the patch description file, and then parse the patch description file to determine the VNF of the target network slice targeted by the patch description file, and the target VNFC of the target VNF. The VNFC component is an internal component of the VNF, which can provide a subset of related functions for the VNF, and a single instance of the component is mapped 1:1 to a single virtualized container.

[0104] The patch description file is used to perform patch repair on the target network slice. Each target network slice may include one or more VNFs. When patch repairing a network slice, there may be a situation where multiple VNFs need to be patched at the same time. For example, if VNF1 and VNF2 have an associated relationship, if VNF1 is patched, VNF2 may also need to be patched to cooperate with VNF1. Therefore, the patch description file may include the patch programs of multiple VNFs. Optionally, in order to implement patch repair on multiple VNFs at one time, the patch programs of multiple related VNFs can be packaged into a TARS package as a patch description file.

[0105] When parsing a patch description file, the slice management system determines the target VNF ​​corresponding to the parsed patch description file, and the target VNF ​​includes a target VNFC and a VNFC patch of the target VNFC.

[0106] The slice blueprint is used to create a network slice. The slice blueprint describes the network slice subnet template that constitutes the network slice. The network slice subnet template describes the virtualized VNFD that constitutes the network slice subnet. VNFD is used to describe the configuration template of the deployment and operation behavior of a VNF, which is used in the VNF operation process and the life cycle management of the VNF instance. VNFD describes the VNFC included in the VNF, the first IP address of the VNF (i.e., the IP address of the main control module of the VNF), and the parameter information of the VNFC.

[0107] When the VNF is instantiated, the physical server where the virtual machine of the VNFC is located is recorded in the slice blueprint, that is, the second IP address of the VNFC is recorded; therefore, the network slice management system can determine the first IP address of the VNF and the second IP address of each VNFC of the VNF according to the slice blueprint, and then locate each VNF and VNFC. Since the network slice changes dynamically according to the slice blueprint during operation, the VNF and VNFC are determined based on the slice blueprint to ensure the accuracy of the target VNF ​​and target VNFC, so that the patch repair process is successfully carried out; avoid invalid patch repair operations due to inaccurate target VNF ​​and target VNFC.

[0108] The slice management system sends a first patch repair indication to the target VNF ​​according to the first IP address; the target VNF ​​receives the first patch repair indication through the first address, obtains the second IP address carried in the first patch repair indication, and performs patch repair.

[0109] Step 302: Obtain the VNFC patch in the patch description file from the slice management system according to the first patch repair indication, and perform a patch repair on the target VNFC according to the VNFC patch and the second IP address.

[0110] The target VNF ​​obtains the VNFC patch in the patch description file from the slice management system according to the first patch repair indication; and controls the target VNFC to perform patch repair according to the VNFC patch and the second IP address.

[0111] In an optional embodiment, the step of patching the target VNFC according to the VNFC patch and the second IP address includes:

[0112] According to the second IP address, a second patch repair indication is sent to the target VNFC, instructing the target VNFC to obtain a VNFC patch from the target VNF ​​according to the second patch repair indication, and instructing the target VNFC to perform a patch repair according to the VNFC patch.

[0113] Refer to step 13 and step 14, step 23 and step 24 in the second example; the target VNF ​​receives the first patch repair indication through the first IP address, obtains the second IP address carried in the first patch repair indication, and obtains the VNFC patch; sends the second patch repair indication to the target VNFC through the second IP address, and the target VNFC performs patch repair according to the VNFC patch.

[0114] In an optional embodiment, the VNFC patch includes a first identifier of a source library of the patch, a second identifier of a target library, and a replacement function list; the first identifier is, for example, parameter 6.4.3.1 in the first example, the second identifier is, for example, parameter 6.4.3.2 in the first example, and the replacement function list is, for example, parameter 6.4.3.8 in the first example.

[0115] The step of instructing the target VNFC to perform patch repair according to the VNFC patch includes:

[0116] Instruct the target VNFC to determine a first function address of the replacement function list in the source library according to the first identifier and the replacement function list, and to determine a second function address of the replacement function list in the target library according to the second identifier and the replacement function list;

[0117] Instruct the target VNFC to replace the first function address with the second function address.

[0118] In combination with the first example, the target VNFC is instructed to find the function address to be replaced in the executable file (such as ELF file) of the target VNFC according to the source library name acOrilibname, that is, to replace the first function address of the function list in the source library.

[0119] Find a new function address in the new library acPatchlibname, that is, replace the second function address in the function list in the target library, and then instruct the target VNFC to replace the first function address with the second function address, and use the new function address to replace the old function address in the executable file. In this way, the function address is replaced based on the replacement function list in the patch description file without unloading the dynamic library and then loading the new dynamic library, which simplifies the patch repair process and makes the patch repair faster and more efficient.

[0120] In an embodiment of the present application, a first patch repair indication sent by a slice management system is received through a first IP address, and a second IP address carried in the first patch repair indication is obtained; the VNFC patch in the patch description file is obtained from the slice management system, and the target VNFC is patched according to the VNFC patch and the second IP address; based on the first IP address, the second IP address and the VNFC patch, the target VNFC is patched to achieve dynamic patch repair, and the VNF and VNFC are determined based on the slice blueprint to ensure the accuracy of the target VNF ​​and the target VNFC; invalid patch repair operations are avoided due to inaccurate target VNF ​​and target VNFC.

[0121] See also Figure 4The embodiment of the present application also provides a patch repair method, which is applied to a component VNFC of a target virtualized network function VNF, and the method includes:

[0122] Step 401, receiving the second patch repair indication sent by the target VNF ​​through the second Internet Protocol IP address; the second IP address is determined by the slice management system according to the preset slice blueprint and sent to the target VNF.

[0123] Among them, the second IP address is the IP address of the target VNFC of the target VNF; the second IP address is the IP address of the target VNFC determined by the slice management system according to the preset slice blueprint; the target VNFC is obtained after the slice management system parses the patch description file.

[0124] Among them, hot patching refers to patching the repair object during the operation of the repaired object; patches are usually generated because the repaired object has defects, or the software version is upgraded or other situations require patch repair; when patch repair is required, the slice management system can receive the patch description file, or automatically obtain the patch description file, and then parse the patch description file to determine the VNF of the target network slice targeted by the patch description file, and the target VNFC of the target VNF. The VNFC component is an internal component of the VNF, which can provide a subset of related functions for the VNF, and a single instance of the component is mapped 1:1 to a single virtualized container.

[0125] The patch description file is used to perform patch repair on the target network slice. Each target network slice may include one or more VNFs. When patch repairing a network slice, there may be a situation where multiple VNFs need to be patched at the same time. For example, if VNF1 and VNF2 have an associated relationship, if VNF1 is patched, VNF2 may also need to be patched to cooperate with VNF1. Therefore, the patch description file may include the patch programs of multiple VNFs. Optionally, in order to implement patch repair on multiple VNFs at one time, the patch programs of multiple related VNFs can be packaged into a TARS package as a patch description file.

[0126] When parsing a patch description file, the slice management system determines the target VNF ​​corresponding to the parsed patch description file, and the target VNF ​​includes a target VNFC and a VNFC patch of the target VNFC.

[0127] The slice blueprint is used to create a network slice. The slice blueprint describes the network slice subnet template that constitutes the network slice. The network slice subnet template describes the virtualized VNFD that constitutes the network slice subnet. VNFD is used to describe the configuration template of the deployment and operation behavior of a VNF, which is used in the VNF operation process and the life cycle management of the VNF instance. VNFD describes the VNFC included in the VNF, the first IP address of the VNF (i.e., the IP address of the main control module of the VNF), and the parameter information of the VNFC.

[0128] When the VNF is instantiated, the physical server where the virtual machine of the VNFC is located is recorded in the slice blueprint, that is, the second IP address of the VNFC is recorded; therefore, the network slice management system can determine the first IP address of the VNF and the second IP address of each VNFC of the VNF according to the slice blueprint, and then locate each VNF and VNFC. Since the network slice changes dynamically according to the slice blueprint during operation, the VNF and VNFC are determined based on the slice blueprint to ensure the accuracy of the target VNF ​​and target VNFC, so that the patch repair process is successfully carried out; avoid invalid patch repair operations due to inaccurate target VNF ​​and target VNFC.

[0129] The slice management system sends a first patch repair indication to the target VNF ​​according to the first IP address. The target VNF ​​receives the first patch repair indication through the first address, obtains the second IP address carried in the first patch repair indication, performs patch repair, and obtains the VNFC patch in the patch description file from the slice management system according to the first patch repair indication; and sends a second patch repair indication to the target VNFC according to the second IP address.

[0130] The target VNFC receives the second patch repair indication sent by the target VNF ​​through the second IP address, and performs patch repair.

[0131] Step 402: Obtain a VNFC patch from the target VNF ​​according to the second patch repair indication, and perform patch repair according to the VNFC patch; wherein the VNFC patch is obtained by the target VNF ​​from the slice management system, and the VNFC patch is obtained by the slice management system from the patch description file.

[0132] In combination with step 13 and step 14, step 23 and step 24 in the second example, the target VNFC obtains the VNFC patch from the target VNF ​​according to the second patch repair indication, and then performs patch repair according to the VNFC patch to implement dynamic patch repair.

[0133] In an optional embodiment, the VNFC patch includes a first identifier of a source library of the patch, a second identifier of a target library, and a replacement function list; the first identifier is, for example, parameter 6.4.3.1 in the first example, the second identifier is, for example, parameter 6.4.3.2 in the first example, and the replacement function list is, for example, parameter 6.4.3.8 in the first example.

[0134] The step of performing patch repair according to the VNFC patch includes:

[0135] Determine, according to the first identifier and the replacement function list, a first function address of the replacement function list in the source library, and, according to the second identifier and the replacement function list, determine a second function address of the replacement function list in the target library;

[0136] The first function address is replaced by the second function address.

[0137] In combination with the first example, according to the source library name acOrilibname, the function address that needs to be replaced is found in the executable file (such as ELF file) of the target VNFC, that is, the first function address of the replacement function list in the source library is replaced.

[0138] Find the new function address in the new library acPatchlibname, that is, replace the second function address in the function list in the target library, then replace the first function address with the second function address, and use the new function address to replace the old function address in the executable file. In this way, the function address is replaced based on the replacement function list in the patch description file without unloading the dynamic library and then loading the new dynamic library, which simplifies the patch repair process and makes the patch repair faster and more efficient.

[0139] In an embodiment of the present application, a second patch repair indication sent by the target VNF ​​is received through a second IP address; a VNFC patch is obtained from the target VNF ​​according to the second patch repair indication, and a patch repair is performed according to the VNFC patch to implement dynamic patch repair; and because the network slice dynamically changes according to the slice blueprint during operation, the VNF and VNFC are determined based on the slice blueprint to ensure the accuracy of the target VNF ​​and the target VNFC, thereby avoiding invalid patch repair operations due to inaccurate target VNF ​​and target VNFC.

[0140] The patch repair method provided in the embodiment of the present application is introduced above. The patch repair device provided in the embodiment of the present application will be introduced below with reference to the accompanying drawings.

[0141] See also Figure 5 The embodiment of the present application also provides a patch repair device, which is applied to a slice management system, and the device includes:

[0142] The file parsing module 501 is used to parse the patch description file, determine the target virtualized network function VNF, the target VNF ​​component VNFC of the target VNF, and obtain the VNFC patch of the target VNFC; wherein the target VNF ​​is the VNF of the target network slice corresponding to the patch description file;

[0143] An address determination module 502 is used to determine a first Internet Protocol IP address of the target VNF ​​and a second IP address of the target VNFC according to a preset slice blueprint;

[0144] The first repair module 503 is used to perform a patch repair on the target VNFC of the target VNF ​​according to the first IP address, the second IP address and the VNFC patch.

[0145] In an optional embodiment, the first repair module 503 includes:

[0146] The first indication submodule is used to send a first patch repair indication to the target VNF ​​according to the first IP address, instruct the target VNF ​​to obtain a target patch package from the slice management system according to the first patch repair indication, and instruct the target VNF ​​to perform a patch repair on the target VNFC according to the VNFC patch and the second IP address.

[0147] In an optional embodiment, the VNFC patch includes a patch file of the first target VNF,

[0148] or

[0149] The VNFC patch includes a patch file of the first target VNF ​​and a patch file of the second target VNF; and the second target VNF ​​has a preset association relationship with the first target VNF.

[0150] The patch repair device provided in the embodiment of the present application can achieve Figure 1 to Figure 2 In order to avoid repetition, the various processes implemented on the slice management system side in the method embodiment are not repeated here.

[0151] In an embodiment of the present application, a file parsing module 501 parses a patch description file, determines a target virtualized network function VNF, a target VNF ​​component VNFC of the target VNF, and obtains a VNFC patch of the target VNFC; an address determination module 502 determines a first Internet Protocol IP address of the target VNF ​​and a second IP address of the target VNFC according to a preset slicing blueprint; a first repair module 503 performs patch repair on the target VNFC of the target VNF ​​according to the first IP address, the second IP address and the VNFC patch, thereby realizing dynamic patch repair, and determining the VNF and VNFC based on the slicing blueprint to ensure the accuracy of the target VNF ​​and the target VNFC; and avoiding invalid patch repair operations due to inaccurate target VNF ​​and target VNFC.

[0152] See also Figure 6 The embodiment of the present application also provides a patch repair device, which is applied to a target virtualized network function VNF, and the device includes:

[0153] The address acquisition module 601 is used to receive a first patch repair indication sent by the slice management system through a first Internet Protocol IP address, and obtain a second IP address carried in the first patch repair indication; wherein the second IP address is an IP address of a target VNF ​​component VNFC of a target VNF; the first IP address and the second IP address are IP addresses of a target VNFC determined by the slice management system according to a preset slice blueprint; the target VNFC is obtained after the slice management system parses a patch description file;

[0154] The second repair module 602 is used to obtain the VNFC patch in the patch description file from the slice management system according to the first patch repair indication, and perform patch repair on the target VNFC according to the VNFC patch and the second IP address.

[0155] Optionally, the second repair module 602 includes:

[0156] The second indication submodule is used to send a second patch repair indication to the target VNFC according to the second IP address, instruct the target VNFC to obtain a VNFC patch from the target VNF ​​according to the second patch repair indication, and instruct the target VNFC to perform patch repair according to the VNFC patch.

[0157] Optionally, the VNFC patch includes a first identifier of a source library of the patch, a second identifier of a target library, and a replacement function list;

[0158] The second indication submodule is used for:

[0159] Instruct the target VNFC to determine a first function address of the replacement function list in the source library according to the first identifier and the replacement function list, and to determine a second function address of the replacement function list in the target library according to the second identifier and the replacement function list;

[0160] Instruct the target VNFC to replace the first function address with the second function address.

[0161] The patch repair device provided in the embodiment of the present application can achieve Figures 2 to 3 In order to avoid repetition, the various processes implemented on the VNF side in the method embodiment will not be repeated here.

[0162] In an embodiment of the present application, the address acquisition module 601 receives a first patch repair indication sent by a slice management system through a first IP address, and obtains a second IP address carried in the first patch repair indication; obtains a VNFC patch in the patch description file from the slice management system, and the second repair module 602 performs a patch repair on the target VNFC according to the VNFC patch and the second IP address; based on the first IP address, the second IP address and the VNFC patch, the target VNFC is patched to achieve dynamic patch repair, and the VNF and VNFC are determined based on the slice blueprint to ensure the accuracy of the target VNF ​​and the target VNFC; invalid patch repair operations are avoided due to inaccurate target VNF ​​and target VNFC.

[0163] See also Figure 7 The embodiment of the present application further provides a patch repair device, which is applied to a component VNFC of a target virtualized network function VNF, and the device includes:

[0164] The indication receiving module 701 is used to receive the second patch repair indication sent by the target VNF ​​through the second Internet Protocol IP address; the second IP address is determined by the slice management system according to the preset slice blueprint and sent to the target VNF;

[0165] The third repair module 702 is used to obtain a VNFC patch from the target VNF ​​according to the second patch repair indication, and perform patch repair according to the VNFC patch; wherein the VNFC patch is obtained by the target VNF ​​from the slice management system, and the VNFC patch is obtained by the slice management system from the patch description file.

[0166] Optionally, the VNFC patch includes a first identifier of a source library of the patch, a second identifier of a target library, and a replacement function list;

[0167] The third repair module 702 includes:

[0168] a determination submodule, configured to determine a first function address of the replacement function list in the source library according to the first identifier and the replacement function list, and to determine a second function address of the replacement function list in the target library according to the second identifier and the replacement function list;

[0169] A replacement submodule is used to replace the first function address with the second function address.

[0170] The patch repair device provided in the embodiment of the present application can achieve Figure 2 as well as Figure 4 In order to avoid repetition, the various processes implemented on the VNFC side in the method embodiment are not described here.

[0171] In an embodiment of the present application, the instruction receiving module 701 receives the second patch repair indication sent by the target VNF ​​through the second IP address; the third repair module 702 obtains the VNFC patch from the target VNF ​​according to the second patch repair indication, and performs patch repair according to the VNFC patch to achieve dynamic patch repair; and because the network slice dynamically changes according to the slice blueprint during operation, the VNF and VNFC are determined based on the slice blueprint to ensure the accuracy of the target VNF ​​and the target VNFC, thereby avoiding invalid patch repair operations due to inaccurate target VNF ​​and target VNFC.

[0172] On the other hand, an embodiment of the present application further provides an electronic device, comprising a memory, a processor, a bus, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps in the above-mentioned patch repair method when executing the program.

[0173] Here is an example: Figure 8 A schematic diagram of the physical structure of an electronic device is shown.

[0174] like Figure 8 As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication interface 820 and the memory 830 communicate with each other through the communication bus 840. The processor 810 may call the logic instructions in the memory 830 to execute the following method:

[0175] Parse the patch description file, determine the target virtualized network function VNF, the target VNF ​​component VNFC of the target VNF, and obtain the VNFC patch of the target VNFC; wherein the target VNF ​​is the VNF of the target network slice corresponding to the patch description file;

[0176] Determine, according to a preset slice blueprint, a first Internet Protocol IP address of the target VNF ​​and a second IP address of the target VNFC;

[0177] According to the first IP address, the second IP address and the VNFC patch, a patch repair is performed on the target VNFC of the target VNF.

[0178] or

[0179] Receive a first patch repair indication sent by a slice management system through a first Internet Protocol IP address, and obtain a second IP address carried in the first patch repair indication; wherein the second IP address is an IP address of a target VNF ​​component VNFC of a target VNF; the first IP address and the second IP address are IP addresses of a target VNFC determined by the slice management system according to a preset slice blueprint; the target VNFC is obtained after the slice management system parses a patch description file;

[0180] According to the first patch repair indication, the VNFC patch in the patch description file is obtained from the slice management system, and the target VNFC is patched according to the VNFC patch and the second IP address.

[0181] or

[0182] Receiving, via a second Internet Protocol IP address, a second patch repair instruction sent by the target VNF; the second IP address is determined by the slice management system according to a preset slice blueprint and sent to the target VNF;

[0183] Obtain a VNFC patch from the target VNF ​​according to the second patch repair indication, and perform patch repair according to the VNFC patch; wherein the VNFC patch is obtained by the target VNF ​​from the slice management system, and the VNFC patch is obtained by the slice management system from the patch description file.

[0184] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.

[0185] On the other hand, the embodiments of the present application further provide a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the patch repair method provided in the above embodiments is implemented, for example, including:

[0186] Parse the patch description file, determine the target virtualized network function VNF, the target VNF ​​component VNFC of the target VNF, and obtain the VNFC patch of the target VNFC; wherein the target VNF ​​is the VNF of the target network slice corresponding to the patch description file;

[0187] Determine, according to a preset slice blueprint, a first Internet Protocol IP address of the target VNF ​​and a second IP address of the target VNFC;

[0188] According to the first IP address, the second IP address and the VNFC patch, a patch repair is performed on the target VNFC of the target VNF.

[0189] or

[0190] Receive a first patch repair indication sent by a slice management system through a first Internet Protocol IP address, and obtain a second IP address carried in the first patch repair indication; wherein the second IP address is an IP address of a target VNF ​​component VNFC of a target VNF; the first IP address and the second IP address are IP addresses of a target VNFC determined by the slice management system according to a preset slice blueprint; the target VNFC is obtained after the slice management system parses a patch description file;

[0191] According to the first patch repair indication, the VNFC patch in the patch description file is obtained from the slice management system, and the target VNFC is patched according to the VNFC patch and the second IP address.

[0192] or

[0193] Receiving, via a second Internet Protocol IP address, a second patch repair instruction sent by the target VNF; the second IP address is determined by the slice management system according to a preset slice blueprint and sent to the target VNF;

[0194] Obtain a VNFC patch from the target VNF ​​according to the second patch repair indication, and perform patch repair according to the VNFC patch; wherein the VNFC patch is obtained by the target VNF ​​from the slice management system, and the VNFC patch is obtained by the slice management system from the patch description file.

[0195] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0196] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0197] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A patch repair method, applied to a slice management system, characterized in that: The method comprises: Parse the patch description file, determine the target virtualized network function VNF, the target VNF ​​component VNFC of the target VNF, and obtain the VNFC patch of the target VNFC; wherein the target VNF ​​is the VNF of the target network slice corresponding to the patch description file; Determine, according to a preset slice blueprint, a first Internet Protocol IP address of the target VNF ​​and a second IP address of the target VNFC; Performing patch repair on the target VNFC of the target VNF ​​according to the first IP address, the second IP address and the VNFC patch; The VNFC patch includes: the source library name of the patch, the library name of the patch, the number of external variables of the patch, the external variable list of the patch, the number of external functions of the patch, the external function list of the patch, the number of replacement functions of the patch and the replacement function list of the patch.

2. The patch repair method according to claim 1, characterized in that: The step of patching the target VNFC of the target VNF ​​according to the first IP address, the second IP address and the VNFC patch includes: According to the first IP address, a first patch repair indication is sent to the target VNF, instructing the target VNF ​​to obtain a target patch package from the slice management system according to the first patch repair indication, and instructing the target VNF ​​to perform a patch repair on the target VNFC according to the VNFC patch and the second IP address.

3. The patch repair method according to claim 1, characterized in that: The VNFC patch includes a patch file of the first target VNF, or The VNFC patch includes a patch file of the first target VNF ​​and a patch file of the second target VNF; and the second target VNF ​​has a preset association relationship with the first target VNF.

4. A patch repair method, applied to a target virtualized network function VNF, characterized in that: The method comprises: Receive a first patch repair indication sent by a slice management system through a first Internet Protocol IP address, and obtain a second IP address carried in the first patch repair indication; wherein the second IP address is an IP address of a target VNF ​​component VNFC of a target VNF; the first IP address and the second IP address are IP addresses of a target VNFC determined by the slice management system according to a preset slice blueprint; the target VNFC is obtained after the slice management system parses a patch description file; Obtaining the VNFC patch in the patch description file from the slice management system according to the first patch repair instruction, and performing patch repair on the target VNFC according to the VNFC patch and the second IP address; The VNFC patch includes: the source library name of the patch, the library name of the patch, the number of external variables of the patch, the external variable list of the patch, the number of external functions of the patch, the external function list of the patch, the number of replacement functions of the patch and the replacement function list of the patch.

5. The patch repair method according to claim 4, characterized in that: The step of patching the target VNFC according to the VNFC patch and the second IP address includes: According to the second IP address, a second patch repair indication is sent to the target VNFC, instructing the target VNFC to obtain a VNFC patch from the target VNF ​​according to the second patch repair indication, and instructing the target VNFC to perform a patch repair according to the VNFC patch.

6. The patch repair method according to claim 5, characterized in that: The VNFC patch includes a first identifier of a source library of the patch, a second identifier of a target library, and a replacement function list; The step of instructing the target VNFC to perform patch repair according to the VNFC patch includes: Instruct the target VNFC to determine a first function address of the replacement function list in the source library according to the first identifier and the replacement function list, and to determine a second function address of the replacement function list in the target library according to the second identifier and the replacement function list; Instruct the target VNFC to replace the first function address with the second function address.

7. A patch repair method, applied to a component VNFC of a target virtualized network function VNF, characterized in that: The method comprises: Receiving, via a second Internet Protocol IP address, a second patch repair instruction sent by the target VNF; the second IP address is determined by the slice management system according to a preset slice blueprint and sent to the target VNF; Obtaining a VNFC patch from the target VNF ​​according to the second patch repair indication, and performing patch repair according to the VNFC patch; wherein the VNFC patch is obtained by the target VNF ​​from the slice management system, and the VNFC patch is obtained by the slice management system from a patch description file; The VNFC patch includes: the source library name of the patch, the library name of the patch, the number of external variables of the patch, the external variable list of the patch, the number of external functions of the patch, the external function list of the patch, the number of replacement functions of the patch and the replacement function list of the patch.

8. The patch repair method according to claim 7, characterized in that: The VNFC patch includes a first identifier of a source library of the patch, a second identifier of a target library, and a replacement function list; The step of performing patch repair according to the VNFC patch includes: Determine, according to the first identifier and the replacement function list, a first function address of the replacement function list in the source library, and, according to the second identifier and the replacement function list, determine a second function address of the replacement function list in the target library; The first function address is replaced by the second function address.

9. A patch repair device, applied to a slice management system, characterized in that: The device comprises: A file parsing module, used to parse a patch description file, determine a target virtualized network function VNF, a target VNF ​​component VNFC of the target VNF, and obtain a VNFC patch of the target VNFC; wherein the target VNF ​​is a VNF of a target network slice corresponding to the patch description file; An address determination module, configured to determine a first Internet Protocol IP address of the target VNF ​​and a second IP address of the target VNFC according to a preset slice blueprint; A first repair module, configured to perform a patch repair on a target VNFC of the target VNF ​​according to the first IP address, the second IP address, and the VNFC patch; The VNFC patch includes: the source library name of the patch, the library name of the patch, the number of external variables of the patch, the external variable list of the patch, the number of external functions of the patch, the external function list of the patch, the number of replacement functions of the patch and the replacement function list of the patch.

10. The patch repair device according to claim 9, characterized in that: The first repair module comprises: The first indication submodule is used to send a first patch repair indication to the target VNF ​​according to the first IP address, instruct the target VNF ​​to obtain a target patch package from the slice management system according to the first patch repair indication, and instruct the target VNF ​​to perform a patch repair on the target VNFC according to the VNFC patch and the second IP address.

11. The patch repair device according to claim 9, characterized in that: The VNFC patch includes a patch file of the first target VNF, or The VNFC patch includes a patch file of the first target VNF ​​and a patch file of the second target VNF; and the second target VNF ​​has a preset association relationship with the first target VNF.

12. A patch repair device, applied to a target virtualized network function VNF, characterized in that: The device comprises: The address acquisition module is used to receive a first patch repair indication sent by the slice management system through a first Internet Protocol IP address, and obtain a second IP address carried in the first patch repair indication; wherein the second IP address is an IP address of a target VNF ​​component VNFC of a target VNF; the first IP address and the second IP address are IP addresses of a target VNFC determined by the slice management system according to a preset slice blueprint; the target VNFC is obtained after the slice management system parses a patch description file; A second repair module, configured to obtain the VNFC patch in the patch description file from the slice management system according to the first patch repair indication, and perform patch repair on the target VNFC according to the VNFC patch and the second IP address; The VNFC patch includes: the source library name of the patch, the library name of the patch, the number of external variables of the patch, the external variable list of the patch, the number of external functions of the patch, the external function list of the patch, the number of replacement functions of the patch and the replacement function list of the patch.

13. The patch repair device according to claim 12, characterized in that: The second repair module comprises: The second indication submodule is used to send a second patch repair indication to the target VNFC according to the second IP address, instruct the target VNFC to obtain a VNFC patch from the target VNF ​​according to the second patch repair indication, and instruct the target VNFC to perform patch repair according to the VNFC patch.

14. The patch repair device according to claim 13, characterized in that: The VNFC patch includes a first identifier of a source library of the patch, a second identifier of a target library, and a replacement function list; The second indication submodule is used for: Instruct the target VNFC to determine a first function address of the replacement function list in the source library according to the first identifier and the replacement function list, and to determine a second function address of the replacement function list in the target library according to the second identifier and the replacement function list; Instruct the target VNFC to replace the first function address with the second function address.

15. A patch repair device, applied to a component VNFC of a target virtualized network function VNF, characterized in that: The device comprises: An indication receiving module is used to receive a second patch repair indication sent by the target VNF ​​through a second Internet Protocol IP address; the second IP address is determined by the slice management system according to a preset slice blueprint and sent to the target VNF; A third repair module is used to obtain a VNFC patch from the target VNF ​​according to the second patch repair indication, and perform patch repair according to the VNFC patch; wherein the VNFC patch is obtained by the target VNF ​​from the slice management system, and the VNFC patch is obtained by the slice management system from a patch description file; The VNFC patch includes: the source library name of the patch, the library name of the patch, the number of external variables of the patch, the external variable list of the patch, the number of external functions of the patch, the external function list of the patch, the number of replacement functions of the patch and the replacement function list of the patch.

16. The patch repair device according to claim 15, characterized in that: The VNFC patch includes a first identifier of a source library of the patch, a second identifier of a target library, and a replacement function list; The third repair module comprises: a determination submodule, configured to determine a first function address of the replacement function list in the source library according to the first identifier and the replacement function list, and to determine a second function address of the replacement function list in the target library according to the second identifier and the replacement function list; A replacement submodule is used to replace the first function address with the second function address.

17. An electronic device comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein: When the computer program is executed by the processor, the steps of the patch repair method according to any one of claims 1 to 8 are implemented.

18. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the patch repair method according to any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Software modification initiation method, and metadata release method and apparatus

    US20190245741A1