Core network digital twin implementation method and apparatus, electronic device, and storage medium
By constructing virtual network elements and drawing end-to-end topology models, the problem of difficulty in displaying the logical relationships of network elements in the 5G core network is solved, realizing end-to-end topology display and real-time monitoring of the 5G core network, and supporting network element cutover operations.
Patent Information
- Application Number
- CN202410376527.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-29
- Publication Date
- 2026-01-20
- Estimated Expiration
- 2044-03-29
AI Technical Summary
Existing methods for implementing digital twins in 5G core networks cannot intuitively demonstrate the logical relationships between network elements and lack end-to-end topology display of 5G core network elements.
Virtual network elements are constructed based on digital twin technology to obtain resource and routing information, and the end-to-end topology between any two core network virtual network elements is drawn. A hierarchical standard is adopted, including VNF network element layer, virtual machine layer, host layer, TOR layer, EOR layer and bearer layer, to realize the logical relationship between network elements.
By drawing a virtual topology model, the problem of the inability to intuitively represent the logical relationship of network elements in existing technologies is solved. It provides a clear end-to-end topology display of 5G core network elements and supports network element cutover operations and real-time monitoring and updating of the topology.
Smart Images

Figure CN118337642B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of resource management, and particularly relates to a core network digital twin implementation method and device, electronic equipment and a storage medium. BACKGROUND
[0002] Digital twin refers to a process of modeling, simulating and monitoring entities, systems or processes in the real world using digital technologies such as the Internet of Things, artificial intelligence and big data analysis. With the development of 5G communication technology, the structure of the 5G core network (5G Core, 5GC) is becoming more and more complex. The existing 5G core network digital twin implementation method only models and simulates the 5G core network using digital twin technology, and does not sort out the topology of the 5G core network, so it cannot intuitively reflect the logical relationship between network elements. SUMMARY
[0003] The present application provides a core network digital twin implementation method and device, electronic equipment and a storage medium to solve the problem that the prior art cannot intuitively reflect the logical relationship between network elements and lacks an end-to-end topology of 5G core network elements.
[0004] In a first aspect, the present application provides a core network digital twin implementation method, comprising:
[0005] Constructing a virtual network element corresponding to a network element entity based on digital twin technology, the virtual network element at least including a core network virtual network element;
[0006] Obtaining resource information and routing information corresponding to the virtual network element, and drawing an end-to-end topology between any two core network virtual network elements according to the resource information and the routing information to obtain a virtual topology model.
[0007] According to the core network digital twin implementation method provided by the present application, the virtual topology model includes a VNF network element layer, a virtual machine layer, a host layer, a TOR layer, an EOR layer, an export layer and a bearing layer arranged in sequence, the VNF network element layer is used to present the core network virtual network element, the virtual machine layer is used to present a virtual machine bearing the core network virtual network element, the host layer is used to present a physical machine bearing the virtual machine, the TOR layer is used to present a TOR switch connected with the physical machine, the EOR layer is used to present an EOR switch connected with the TOR layer and the export layer respectively, the export layer is used to present a customer edge device, and the bearing layer is used to present a network device on the IP bearing network side.
[0008] According to the core network digital twin implementation method provided by the application, the resource information and the routing information corresponding to the virtual network element are obtained, an end-to-end topology between any two core network virtual network elements is drawn according to the resource information and the routing information, and a virtual topology model is obtained, comprising:
[0009] The first resource information corresponding to a certain core network virtual network element, the second resource information corresponding to the virtual machine, the first port table corresponding to the TOR switch and the second port table corresponding to the EOR switch are obtained, the first resource information and the second resource information are taken as resource information, and the first port table and the second port table are taken as routing information.
[0010] According to the first resource information, the topology between the core network virtual network element and the virtual machine is drawn.
[0011] According to the second resource information, the topology between the virtual machine and the physical machine is drawn.
[0012] According to the first port table, the topology between the physical machine and the TOR switch and the topology between the TOR switch and the EOR switch are drawn.
[0013] According to the second port table, the topology between the EOR switch and the customer edge device is drawn.
[0014] The above steps are repeated to draw an end-to-end topology between any two core network virtual network elements, and a virtual topology model is obtained.
[0015] The core network digital twin implementation method provided by the application further comprises:
[0016] In response to a network element cut request, the virtual network element to be cut contained in the network element cut request and the topology information of the virtual network element to be cut are determined.
[0017] According to the topology information of the virtual network element to be cut, the topology of the newly added network element is drawn in the virtual topology model, and the topology of the virtual network element to be cut is deleted.
[0018] According to the core network digital twin implementation method provided by the application, the topology information of the virtual network element to be cut comprises a topology snapshot of the virtual network element to be cut, and the topology snapshot comprises upper and lower topology relationships, vertical and horizontal topology relationships and topology levels of the virtual network element to be cut.
[0019] According to the core network digital twin implementation method provided by the application, after the topology of the newly added network element is drawn in the virtual topology model according to the topology information of the virtual network element to be cut, and the topology of the virtual network element to be cut is deleted, the method further comprises:
[0020] determine whether the resource information and the routing information correspond to the virtual topology model after the split;
[0021] If the virtual topology model after the split is used as the target virtual topology model, otherwise, the virtual topology model after the split is adjusted according to the resource information and the routing information, and the adjusted virtual topology model is used as the target virtual topology model.
[0022] According to the core network digital twin implementation method provided by the application, in the process of drawing the topology of the newly added network element in the virtual topology model and deleting the topology of the virtual network element to be split, further comprising:
[0023] Generating a topology snapshot of the virtual topology model, and playing the topology snapshot at a preset playback time.
[0024] In a second aspect, the application further provides a core network digital twin implementation device, comprising:
[0025] The construction module is configured to construct a virtual network element corresponding to a network element entity based on a digital twin technology, wherein the virtual network element at least includes a core network virtual network element.
[0026] The drawing module is configured to obtain resource information and routing information corresponding to the virtual network element, and draw an end-to-end topology between any two core network virtual network elements according to the resource information and the routing information, to obtain a virtual topology model.
[0027] In a third aspect, the application provides an electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to implement the steps of the core network digital twin implementation method described above.
[0028] In a fourth aspect, the application further provides a non-transitory computer readable storage medium having a computer program stored thereon, wherein the computer program is executable by a processor to implement the steps of the core network digital twin implementation method described above.
[0029] The core network digital twin implementation method, device, electronic device and storage medium provided by the application construct a virtual network element corresponding to a network element entity based on a digital twin technology, wherein the virtual network element at least includes a core network virtual network element; obtain resource information and routing information corresponding to the virtual network element, and draw an end-to-end topology between any two core network virtual network elements according to the resource information and the routing information, to obtain a virtual topology model. The application solves the problem that the original 5GC topology cannot intuitively reflect the logical relationship between network elements and lacks 5GC end-to-end topology. BRIEF DESCRIPTION OF DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative effort on the basis of these drawings.
[0031] Figure 1 is a flowchart of the core network digital twin implementation method provided by the present application;
[0032] Figure 2 is a structural diagram of the virtual topology model provided by the present application;
[0033] Figure 3 is a flowchart of the drawing of the core network virtual network element end-to-end topology provided by the present application;
[0034] Figure 4 is a structural diagram of the core network digital twin implementation device provided by the present application;
[0035] Figure 5 is a structural diagram of the electronic device provided by the present application. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be described clearly and completely in the following with reference to the drawings in the present application. Obviously, the described embodiments are some embodiments of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without any creative effort belong to the scope of protection of the present application.
[0037] It should be noted that in the description of the present application, the terms "comprising", "containing" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such a process, method, article or device. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of additional identical elements in the process, method, article or device comprising the element. The terms "upper", "lower" and the like indicate the orientation or positional relationship shown in the drawings, and are only used to facilitate the description of the present application and simplify the description, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as a limitation on the present application. Unless otherwise specified and limited, the terms "mounting", "connecting", "connecting" should be broadly understood, for example, it can be fixedly connected, or it can be detachably connected, or integrally connected; it can be mechanically connected, or it can be electrically connected; it can be directly connected, or it can be indirectly connected through an intermediate medium, or it can be connected inside two elements. For those skilled in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances.
[0038] The terms "first", "second", and the like used in the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally a class, and do not limit the number of objects, for example, the first object can be one or more. In addition, "and / or" means at least one of the connected objects, and the character " / ", generally means that the front and rear associated objects are in an "or" relationship.
[0039] Figure 1 is a flowchart of the core network digital twin implementation method provided by the present application, as Figure 1 shown, the present application provides a core network digital twin implementation method, including but not limited to the following steps:
[0040] Step S100, based on digital twin technology, a virtual network element corresponding to a network element entity is constructed, and the virtual network element at least includes a core network virtual network element;
[0041] Specifically, the present application uses digital twin technology to simulate and simulate the actual physical system or device by establishing a virtual digital model. In the field of network, digital twin can be used to create a virtual model of network elements (network elements), such as routers, switches, servers and other devices.
[0042] The core network element generally refers to a device or node bearing the core function of the network, responsible for processing and forwarding data traffic, control signaling, managing user sessions, and other core tasks. The core network element includes various types of devices such as routers, switches, servers, gateways, etc. for supporting the core functions and services of the network. The core network virtual element refers to a virtual model of the core network element.
[0043] In step S200, resource information and routing information corresponding to the virtual network element are obtained, and an end-to-end topology between any two core network virtual elements is drawn according to the resource information and the routing information to obtain a virtual topology model.
[0044] Specifically, the resource information is used to represent the topology relationship between the core network element, the virtual machine and the host, and the routing information is used to represent the topology relationship between the host, the switch and the router. The routing information also contains the topology relationship between the local device and the opposite device. According to the resource information and the routing information, an end-to-end topology between any two core network virtual elements can be drawn to obtain a virtual topology model.
[0045] It can be understood that the resource information and the routing information of the present application can represent the logical relationship between the network elements. By drawing the end-to-end topology between any two core network virtual elements through the resource information and the routing information, the defect that the logical relationship between the network elements cannot be intuitively represented and the end-to-end topology of the 5G core network element is lacking in the prior art is solved.
[0046] Figure 2 is a structural schematic diagram of the virtual topology model provided by the present application, as shown in Figure 2 On the basis of the above embodiment, as an optional embodiment, the virtual topology model comprises a VNF network element layer, a virtual machine layer, a host layer, a TOR layer, an EOR layer, an export layer and a bearing layer arranged in sequence. The VNF network element layer is used to present the core network virtual element. The virtual machine layer is used to present the virtual machine bearing the core network virtual element. The host layer is used to present the physical machine bearing the virtual machine. The TOR layer is used to present the TOR switch connected with the physical machine. The EOR layer is used to present the EOR switch connected with the TOR layer and the export layer respectively. The export layer is used to present the customer edge device. The bearing layer is used to present the network device on the IP bearing network side.
[0047] The VNF (Virtualized Network Function) layer refers to virtualizing traditional network functions in the form of software and deploying them on general hardware platforms to achieve the advantages of flexibility, scalability and cost savings of network functions. In the VNF layer, various network functions (such as firewalls, routers, load balancers, etc.) are abstracted as virtualized software entities that can be deployed, managed and scheduled on a virtualization platform.
[0048] The customer edge device is a service CE device, and the service CE device usually refers to a customer edge device (Customer Edge Device) used for connecting the edge device between the customer network and the service provider network. The network devices on the IP bearer network side include AR, BR, CR and the like, and the AR, BR, CR and the like usually refer to different types of router devices. The AR (Access Router) device is a router device used for accessing the network, and is usually used for connecting user end devices (such as computers, mobile phones, cameras and the like) to the network. The BR (Border Router) device is a border router device used for connecting different network domains. The BR device is usually deployed at the boundary of the network and is used for connecting different autonomous systems (AS), networks or domains, and is responsible for routing selection, forwarding data packets and processing boundary security policies and the like. The CR (Core Router) device is a backbone router device used in the core network, and is usually used for connecting different network nodes and switching centers. The CR device is responsible for large-scale routing selection and data packet forwarding in the core part of the network, processes a large amount of data traffic, and ensures high performance and high reliability of the network.
[0049] It can be understood that the application provides a hierarchical grading standard scheme of a virtual topology model, and solves the problems of disordered physical topology layering of a virtual network element and lack of unified standards.
[0050] Figure 3 is a drawing process schematic diagram of the end-to-end topology of the core network virtual network element provided by the application, as shown in Figure 3 As an optional embodiment based on the above embodiment, the method further comprises: obtaining resource information and routing information corresponding to the virtual network element, and drawing an end-to-end topology between any two core network virtual network elements according to the resource information and the routing information to obtain a virtual topology model, wherein the method comprises the following steps:
[0051] Step S210, obtaining first resource information corresponding to a core network virtual network element, second resource information corresponding to the virtual machine, a first port table corresponding to the TOR switch and a second port table corresponding to the EOR switch, taking the first resource information and the second resource information as resource information, and taking the first port table and the second port table as routing information;
[0052] Specifically, the first resource information includes a
VM list
VM list
home host
home host
[0053] Step S220, drawing a topology between the core network virtual network element and the virtual machine according to the first resource information;
[0054] Taking drawing the end-to-end topology of two 5GC network elements A and B of the same resource pool as an example, a
VM list
[0055] Step S230, drawing a topology link between the virtual machine and the physical machine according to the second resource information;
[0056] The
home host
[0057] Step S240, drawing a topology between the physical machine and the TOR switch and a topology between the TOR switch and the EOR switch according to the first port table;
[0058] Step S241, extracting a
peer device
peer device port
peer device
peer device port
peer device
peer device port
[0059] Step S242, extracting the
local device
local device port
local device port
peer device
peer device port
local device
local device port
peer device
[0060] Step S250, according to the second port table, drawing a topology between the EOR switch and the customer edge device; in the second port table of the EOR switch, associating the
local device
local device port
peer device
peer device port
peer device
[0061] Step S260, repeating the above steps to draw an end-to-end topology between any two core network virtual network elements to obtain the virtual topology model.
[0062] Repeating steps S210-S250, the topology of the virtual network element B is drawn, and the end-to-end topology between the network element A and the network element B is drawn to obtain the virtual topology model.
[0063] It can be understood that the present application draws an end-to-end topology between any two core network virtual network elements through resource information and routing information, and solves the defects that the prior art cannot intuitively reflect the logical relationship between network elements and lacks 5G core network element end-to-end topology.
[0064] Based on the above embodiment, as an optional embodiment, the present application provides a core network digital twin implementation method, further comprising:
[0065] Step S300, in response to a network element cut request, determining a virtual network element to be cut contained in the network element cut request and topology information of the virtual network element to be cut;
[0066] The network element cut refers to a cut operation on a network element (NE, Network Element) in network operation, which is usually an operation for upgrading, maintaining, expanding or optimizing the network. Specifically, the present application performs a cut operation on a network element that has failed.
[0067] The generating step of the network element cutover request comprises: identifying the added network element and the deleted network element by comparing the real-time collected resource data with the current topology model through real-time monitoring of the resource and topology data, and generating the network element cutover request according to the added network element and the deleted network element.
[0068] Optionally, the topology information of the virtual network element to be cut over comprises a topology snapshot of the virtual network element to be cut over, and the topology snapshot comprises upper and lower topology relationships, vertical and horizontal topology relationships and a topology level of the virtual network element to be cut over.
[0069] In step S400, the topology of the added network element is drawn in the virtual topology model according to the topology information of the virtual network element to be cut over, and the topology of the virtual network element to be cut over is deleted.
[0070] Specifically, the added network element is drawn on the topology, and the vertical and horizontal temporary topologies of the added network element are adjusted and drawn according to the position, vertical and horizontal relationships of the cutover network element according to the snapshot before cutover; the cutover network element is deleted, and the vertical and horizontal topology relationships of the cutover network element are deleted.
[0071] It can be understood that the present application can identify the network topology change and update the topology in time by detecting the resource and the virtual topology model in real time, comparing whether the resource data and the virtual topology model are consistent, judging whether the added network element or the deleted network element appears, and updating the topology in time.
[0072] On the basis of the above-mentioned embodiments, as an optional embodiment, after the topology of the added network element is drawn in the virtual topology model according to the topology information of the virtual network element to be cut over and the topology of the virtual network element to be cut over is deleted, the method further comprises:
[0073] In step S500, it is judged whether the resource information and the routing information are consistent with the virtual topology model after cutover.
[0074] In step S600, if the virtual topology model after cutover is consistent, the virtual topology model after cutover is taken as a target virtual topology model, otherwise, the virtual topology model after cutover is adjusted according to the resource information and the routing information, and the adjusted virtual topology model is taken as the target virtual topology model.
[0075] Specifically, the virtual topology model after cutover can be verified by comparing whether the resource data of the virtual topology model and the VNF network element table, the VM table, the TOR port table, the EOR port table and the link table are consistent, if consistent, the virtual topology model is kept, and a topology snapshot is generated; if not consistent, the resource data in the above-mentioned tables is taken as the standard, the virtual topology model is updated, and a topology snapshot is generated.
[0076] It can be understood that the application can improve the accuracy of topology updating by verifying the updated virtual topology model.
[0077] On the basis of the above-mentioned embodiments, as an optional embodiment, in the process of drawing the topology of the newly added network element in the virtual topology model and deleting the topology of the network element to be cut off, the process further comprises:
[0078] Generating a topology snapshot of the virtual topology model, and playing back the topology snapshot at a preset playback time.
[0079] Specifically, the application takes network element C replacing network element A as an example to illustrate how to use 5GC core network digital twin technology to realize real-time monitoring, updating and playback topology of the network element after cut-off in the process.
[0080] a) Highlighting the fault cut-off network element A on the topology and generating a snapshot;
[0081] b) Highlighting VM1 to VMn associated with network element A vertically and the host A to which VM1 to VMn belong, and generating a snapshot;
[0082] c) Highlighting the links from network element A to VM1 and VMn, and from VM1 and VMn to host A, and generating a snapshot;
[0083] d) Real-time monitoring of network element C resource data, monitoring network element C, drawing network element C around network element A, and virtually displaying network element A, drawing temporary connection relationship between network element C and VM1 to VMn, and displaying the connection relationship with highlighted dotted lines, virtually connecting the topology connection relationship between network element A and VM1 to VMn, and virtually connecting the topology connection relationship between VM1 to VMn and host A; and generating a snapshot of the current topology;
[0084] e) According to network element C, finding virtual machines VMC1 to VMCn and host C associated with network element C using steps 1 and 2, verifying the results with the results of step d. If the verification is consistent, the current VM1 to VMn, host A and topology connection relationship are retained, and network element A is deleted; if the verification is inconsistent, VMC1 to VMCn and host C are drawn, the topology relationship of step e is used to replace the topology relationship of step d, network element A, VM1 to VMn, host A and topology relationship are deleted, and a snapshot of the current topology is generated;
[0085] f) Setting a fault playback time, and playing back from step a to step e according to the snapshot.
[0086] It can be understood that the application can realize real-time monitoring of network state, fault prediction and adaptive optimization by generating a topology snapshot in the network element cut-off process, and can perform fault playback based on the topology.
[0087] In summary, the present application relates to resource systems, fault management systems, performance management systems related to the 5GC core network, and directly relates to the design of the 5GC core network digital twin implementation of the resource management system.
[0088] It should be noted that the execution subject of the core network digital twin implementation method provided by the present application can be a server, a computer device, such as a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA) and the like.
[0089] The core network digital twin implementation device provided by the present application is described below, and the core network digital twin implementation device described below can be mutually corresponding with the core network digital twin implementation method described above.
[0090] Figure 4 is a structural schematic diagram of the core network digital twin implementation device provided by the present application, as Figure 4 The present application also provides a core network digital twin implementation device, which comprises:
[0091] The construction module 410 is configured to construct a virtual network element corresponding to a network element entity based on a digital twin technology, wherein the virtual network element at least comprises a core network virtual network element.
[0092] The drawing module 420 is configured to obtain resource information and routing information corresponding to the virtual network element, and draw an end-to-end topology between any two core network virtual network elements according to the resource information and the routing information to obtain a virtual topology model.
[0093] As an embodiment, the virtual topology model comprises a VNF network element layer, a virtual machine layer, a host layer, a TOR layer, an EOR layer, an export layer and a bearing layer arranged in sequence, the VNF network element layer is configured to present the core network virtual network element, the virtual machine layer is configured to present a virtual machine bearing the core network virtual network element, the host layer is configured to present a physical machine bearing the virtual machine, the TOR layer is configured to present a TOR switch connected with the physical machine, the EOR layer is configured to present an EOR switch connected with the TOR layer and the export layer respectively, the export layer is configured to present a customer edge device, and the bearing layer is configured to present a network device on the IP bearing network side.
[0094] As an embodiment, the drawing module 420 is further configured to:
[0095] obtaining first resource information corresponding to a core network virtual network element, second resource information corresponding to a virtual machine, a first port table corresponding to a TOR switch, and a second port table corresponding to an EOR switch, taking the first resource information and the second resource information as resource information and the first port table and the second port table as routing information;
[0096] drawing a topology between the core network virtual network element and the virtual machine according to the first resource information;
[0097] drawing a topology between the virtual machine and the physical machine according to the second resource information;
[0098] drawing a topology between the physical machine and the TOR switch and a topology between the TOR switch and the EOR switch according to the first port table;
[0099] drawing a topology between the EOR switch and the customer edge device according to the second port table;
[0100] repeating the above steps to draw an end-to-end topology between any two core network virtual network elements, thereby obtaining the virtual topology model.
[0101] As an embodiment, the method further comprises:
[0102] a decoupling module configured to, in response to a network element decoupling request, determine a virtual network element to be decoupled and topology information of the virtual network element to be decoupled contained in the network element decoupling request, and draw a topology of a new network element in the virtual topology model and delete the topology of the virtual network element to be decoupled according to the topology information of the virtual network element to be decoupled.
[0103] As an embodiment, the topology information of the virtual network element to be decoupled comprises a topology snapshot of the virtual network element to be decoupled, and the topology snapshot comprises superior-inferior topology relationship, crossbar topology relationship, and topology level of the virtual network element to be decoupled.
[0104] As an embodiment, the decoupling module is further configured to:
[0105] determine whether the resource information and the routing information are consistent with the virtual topology model after decoupling;
[0106] if the virtual topology model after decoupling is consistent, taking the virtual topology model after decoupling as a target virtual topology model, otherwise, adjusting the virtual topology model after decoupling according to the resource information and the routing information, and taking the adjusted virtual topology model as the target virtual topology model.
[0107] As an embodiment, the decoupling module is further configured to:
[0108] generate a topology snapshot of the virtual topology model, and play the topology snapshot at a preset playback time.
[0109] It should be noted that the core network digital twin implementation device provided by the present application can execute the core network digital twin implementation method described in any of the above embodiments during actual operation, and has the technical effects corresponding to the method, which will not be described here.
[0110] Figure 5 is a structural schematic diagram of an electronic device provided by the present application, as Figure 5 shown, the electronic device can include a processor 510, a communications interface 520, a memory 530, and a communications bus 540, wherein the processor 510, the communications interface 520, and the memory 530 communicate with each other through the communications bus 540. The processor 510 can invoke the logical instructions in the memory 530 to execute the core network digital twin implementation method, which includes:
[0111] construct a virtual network element corresponding to the network element entity based on the digital twin technology, the virtual network element at least including a core network virtual network element;
[0112] obtain resource information and routing information corresponding to the virtual network element, and draw an end-to-end topology between any two core network virtual network elements according to the resource information and the routing information to obtain a virtual topology model.
[0113] In addition, the logical instructions in the memory 530 described above can be implemented in the form of a software function unit and sold or used as an independent product, which can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or part of the technical solutions can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a plurality of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in the various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.
[0114] In another aspect, the present application also provides a computer program product, which comprises a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions that, when executed by a computer, enable the computer to perform the core network digital twinning implementation method provided by any of the above embodiments, the method comprising:
[0115] constructing a virtual network element corresponding to the network element entity based on digital twinning technology, the virtual network element at least comprising a core network virtual network element;
[0116] obtaining resource information and routing information corresponding to the virtual network element, and drawing an end-to-end topology between any two of the core network virtual network elements according to the resource information and the routing information to obtain a virtual topology model.
[0117] In yet another aspect, the present application also provides a non-transitory computer-readable storage medium having a computer program stored thereon, the computer program being executed by a processor to implement the core network digital twinning implementation method provided by any of the above embodiments, the method comprising:
[0118] constructing a virtual network element corresponding to the network element entity based on digital twinning technology, the virtual network element at least comprising a core network virtual network element;
[0119] obtaining resource information and routing information corresponding to the virtual network element, and drawing an end-to-end topology between any two of the core network virtual network elements according to the resource information and the routing information to obtain a virtual topology model.
[0120] The device embodiments described above are merely illustrative, wherein the units described as separate components can or can not be physically separate, and the components displayed as units can or can not be physical units, i.e., they can be located in one place, or distributed on multiple network units. Part or all of the modules can be selected to achieve the purpose of the present embodiment scheme according to actual needs. Those skilled in the art can understand and implement without creative labor.
[0121] From the above description of the embodiments, those skilled in the art can clearly understand that the embodiments can be implemented by means of software plus necessary general hardware platforms, and of course can also be implemented by hardware. Based on such understanding, the above technical solutions can be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, etc., and includes a plurality of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute the methods described in each embodiment or some parts of the embodiments.
[0122] It should be pointed out finally that the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that the technical solutions recorded in the foregoing embodiments can still be modified, or some technical features therein can be replaced equivalently; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for implementing a digital twin of a core network, characterized in that, include: Virtual network elements corresponding to network element entities are constructed based on digital twin technology, and the virtual network elements include at least core network virtual network elements; Obtain the resource information and routing information corresponding to the virtual network element, and draw the end-to-end topology between any two core network virtual network elements based on the resource information and the routing information to obtain a virtual topology model; The virtual topology model includes, in sequence, a VNF network element layer, a virtual machine layer, a host layer, a TOR layer, an EOR layer, an egress layer, and a bearer layer. The VNF network element layer is used to present the core network virtual network elements. The virtual machine layer is used to present the virtual machines that carry the core network virtual network elements. The host layer is used to present the physical machines that carry the virtual machines. The TOR layer is used to present the TOR switches connected to the physical machines. The EOR layer is used to present the EOR switches that are connected to the TOR layer and the egress layer, respectively. The egress layer is used to present the client edge devices. The bearer layer is used to present the network devices on the IP bearer network side. The step of obtaining the resource information and routing information corresponding to the virtual network element, and drawing an end-to-end topology between any two core network virtual network elements based on the resource information and routing information to obtain a virtual topology model includes: Obtain first resource information corresponding to a certain core network virtual element, second resource information corresponding to the virtual machine, first port table corresponding to the TOR switch, and second port table corresponding to the EOR switch; use the first resource information and the second resource information as resource information, and the first port table and the second port table as routing information. Based on the first resource information, draw the topology between the core network virtual network element and the virtual machine; Based on the second resource information, draw the topology between the virtual machine and the physical machine; Based on the first port table, draw the topology between the physical machine and the TOR switch, and the topology between the TOR switch and the EOR switch; Based on the second port table, draw the topology between the EOR switch and the customer edge device; Repeat the above steps to draw the end-to-end topology between any two core network virtual elements to obtain the virtual topology model.
2. The core network digital twin implementation method according to claim 1, characterized in that, Also includes: In response to a network element cutover request, determine the virtual network element to be cut over and its topology information, which are included in the network element cutover request. Based on the topology information of the virtual network element to be cut over, the topology of the newly added network element is drawn in the virtual topology model, and the topology of the virtual network element to be cut over is deleted.
3. The core network digital twin implementation method according to claim 2, characterized in that, The topology information of the virtual network element to be cut over includes a topology snapshot of the virtual network element to be cut over, and the topology snapshot includes the hierarchical topology relationship, the horizontal and vertical topology relationship, and the topology level of the virtual network element to be cut over.
4. The core network digital twin implementation method according to claim 2, characterized in that, After drawing the topology of the newly added network element and deleting the topology of the virtual network element to be cut over in the virtual topology model based on the topology information of the virtual network element to be cut over, the method further includes: Determine whether the resource information and the routing information match the virtual topology model after the cutover; If they match, the cut-off virtual topology model is used as the target virtual topology model; otherwise, the cut-off virtual topology model is adjusted according to the resource information and the routing information, and the adjusted virtual topology model is used as the target virtual topology model.
5. The core network digital twin implementation method according to claim 2, characterized in that, The process of drawing the topology of the newly added network element and deleting the topology of the virtual network element to be cut over in the virtual topology model also includes: Generate a topology snapshot of the virtual topology model and play the topology snapshot at a preset playback time.
6. A core network digital twin implementation device, characterized in that, The apparatus for implementing the core network digital twin implementation method according to any one of claims 1-5 comprises: A construction module is used to construct virtual network elements corresponding to network element entities based on digital twin technology, wherein the virtual network elements include at least core network virtual network elements; The drawing module is used to obtain the resource information and routing information corresponding to the virtual network element, and draw the end-to-end topology between any two core network virtual network elements based on the resource information and the routing information to obtain a virtual topology model.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the core network digital twin implementation method as described in any one of claims 1 to 5.
8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the core network digital twin implementation method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Electric quantity management method, device and equipment and storage medium
CN112350438A
Network topology construction method and device based on digital twin technology
CN114615718A