CN112350843B - Scene type cutting and connecting method and system based on virtual component - Google Patents

Scene type cutting and connecting method and system based on virtual component Download PDF

Info

Publication number
CN112350843B
CN112350843B CN201910735688.0A CN201910735688A CN112350843B CN 112350843 B CN112350843 B CN 112350843B CN 201910735688 A CN201910735688 A CN 201910735688A CN 112350843 B CN112350843 B CN 112350843B
Authority
CN
China
Prior art keywords
component
topological
virtual
telecommunication service
transaction cache
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910735688.0A
Other languages
Chinese (zh)
Other versions
CN112350843A (en
Inventor
李澍
张勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201910735688.0A priority Critical patent/CN112350843B/en
Priority to BR112022001268A priority patent/BR112022001268A2/en
Priority to PCT/CN2020/107102 priority patent/WO2021027652A1/en
Publication of CN112350843A publication Critical patent/CN112350843A/en
Application granted granted Critical
Publication of CN112350843B publication Critical patent/CN112350843B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0859Retrieval of network configuration; Tracking network configuration history by keeping history of different configuration generations or by rolling back to previous configuration versions
    • H04L41/0863Retrieval of network configuration; Tracking network configuration history by keeping history of different configuration generations or by rolling back to previous configuration versions by rolling back to previous configuration versions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0895Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • H04L41/122Discovery or management of network topologies of virtualised topologies, e.g. software-defined networks [SDN] or network function virtualisation [NFV]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/40Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks using virtualisation of network functions or resources, e.g. SDN or NFV entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0853Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information

Abstract

The invention discloses a scene type cut-over method and a scene type cut-over system based on virtual components, which relate to the technical field of network management and control of a telecommunication transmission network, wherein the virtual components are adopted in the invention, the telecommunication service is adjusted firstly under the condition of not changing the topology, and then the topology is changed after the telecommunication service is successfully completed, so that the completeness of the topology and the telecommunication service is ensured, and fragmentation can not occur; by using a compensation type transaction mode, the topology and telecommunication service are rolled back under the condition of error in the cutting process, so that the rolling back efficiency is improved; the basic scenes of the cutover are designed, the basic scenes are combined through a unified framework to realize complex scenes, diversified cutover requirements are met, customizability and diversification of the cutover scenes of a user are realized, and the expandability of the system is improved.

Description

Scene type cutting and connecting method and system based on virtual component
Technical Field
The invention relates to the technical field of network management and control of a telecommunication transmission network, in particular to a scene type cut-over method and a scene type cut-over system based on virtual components.
Background
In the network management and control process of a telecommunication transmission network, the topology of the existing network is often changed, for example, network elements, single disks and connecting fibers are increased or decreased for capacity expansion and reduction; for example, nodes on the ring are increased or decreased for reconstructing the convergence ring; such as replacement of a network element, single disk, for new devices to replace old devices. In the above network maintenance process, the current network topology often has the telecommunication services running, and in order to minimize the range of the telecommunication services affected by the topology change, the telecommunication services need to be cut over. The telecommunication service cutover means that local telecommunication services are adjusted to the greatest extent to adapt to a new topology, and the new telecommunication services are prevented from being reconfigured, so that the opening time of the telecommunication services on the new topology is saved.
The main processing procedure in the prior art is to use a database for backup, and if an error occurs in the cutover process, topology and telecommunication service are rolled back to the backup time point; secondly, the topology is changed to cause the damage of the telecommunication service, and then the telecommunication service is repaired according to the new topology. The problem of doing so is that the database backup in the first process is a whole backup mode, the efficiency of the backup and rollback processes is not high, multiple backups exist under the operation of multiple users, and the version problem among the multiple backups also exists; in the second process, the topology is changed first and the telecommunication service is repaired later, so that the damaged telecommunication service can be stored in the database until the damaged telecommunication service is repaired, and fragmentation of the telecommunication service is easily caused, namely the unrepaired damaged telecommunication service always exists on certain network elements, and resource waste is caused.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a scene type cutover method and a scene type cutover system based on a virtual component, which meet diversified cutover requirements.
In order to achieve the above purposes, the technical scheme adopted by the invention is as follows: a scene type cutting method based on virtual components comprises the following steps:
decomposing the telecommunication service to be adjusted into a plurality of basic scenes, and sequentially cutting each basic scene; acquiring topological component information on a physical topology needing to be locked, virtual component information needing to be created and a relation between a topological component and a virtual component, which correspond to a current basic scene;
for the current basic scene, storing the topological component into a transaction cache, and creating a virtual component in the transaction cache;
storing the telecommunication service to be adjusted into a transaction cache, and adjusting the telecommunication service according to the topological component and the virtual component; when no error occurs in the adjustment, the transaction cache is submitted, and the adjusted telecommunication service is stored in a database and the topology is changed; and when the error is adjusted, rolling back the transaction cache, and restoring the telecommunication service to the state before the adjustment without changing the topology.
On the basis of the scheme, for the current basic scene, the topological component is stored in the transaction cache, and the virtual component is created in the transaction cache, and the method specifically comprises the following steps:
acquiring information of topological components needing to be locked in a current basic scene, and adding the topological components needing to be locked in a topological component set in a transaction cache;
acquiring virtual component information needing to be created in a current basic scene, and adding virtual components in a virtual component set in a transaction cache;
and according to the obtained corresponding relation between the topological components and the virtual components in the current basic scene, increasing the corresponding relation between the topological components and the virtual components in the transaction cache.
On the basis of the scheme, the telecommunication service to be adjusted is stored in a transaction cache, and the telecommunication service is adjusted according to the topological component and the virtual component, and the method specifically comprises the following steps:
storing the telecommunication service needing to be adjusted in the basic scene into a transaction cache;
if the basic scene has no virtual component, the telecommunication service is adjusted according to the topological component on the physical topology;
if the basic scene has the virtual component, replacing the data of the topological component in the telecommunication service with the data of the virtual component according to the corresponding relation between the topological component and the virtual component in the transaction cache; configuration data for the telecommunications service is generated on the virtual component.
On the basis of the above scheme, submitting the transaction cache, saving the adjusted telecommunication service and changing the topology, specifically comprising the following steps:
storing the adjusted telecommunication service to a database;
converting the virtual component into a topological component and storing the topological component in a database;
clearing the telecommunication service before adjustment from the transaction cache;
the topological component, the virtual component, and the relationship between the topological component and the virtual component are purged from the transaction cache.
On the basis of the scheme, the transaction cache is rolled back, the topology is not changed before the telecommunication service is restored to be adjusted, and the method specifically comprises the following steps:
restoring the telecommunication service before adjustment from the transaction cache;
clearing configuration data of the telecommunication service on the virtual component;
clearing the telecommunication service before adjustment from the transaction cache;
the topological component, the virtual component, and the relationship between the topological component and the virtual component are purged from the transaction cache.
The invention provides a scene type cutting system based on a virtual component, which comprises:
a scene decomposition module to: decomposing the telecommunication service to be adjusted into a plurality of basic scenes for sequentially cutting each basic scene; acquiring topological component information on a physical topology needing to be locked, virtual component information needing to be created and a relation between a topological component and a virtual component, which correspond to a current basic scene;
a topology caching module to: for the current basic scene, storing the topological component into a transaction cache, and creating a virtual component in the transaction cache;
a traffic adaptation module to: storing the telecommunication service to be adjusted into a transaction cache, and adjusting the telecommunication service according to the topological component and the virtual component; when no error occurs in the adjustment, the transaction cache is submitted, and the adjusted telecommunication service is stored in a database and the topology is changed; and when the error is adjusted, rolling back the transaction cache, and restoring the telecommunication service to the state before the adjustment without changing the topology.
On the basis of the above scheme, the topology caching module stores the topology component in the transaction cache for the current basic scene, and creates the virtual component in the transaction cache, specifically including the following steps:
acquiring information of topological components needing to be locked in a current basic scene, and adding the topological components needing to be locked in a topological component set in a transaction cache;
acquiring virtual component information needing to be created in a current basic scene, and adding virtual components in a virtual component set in a transaction cache;
and according to the obtained corresponding relation between the topological components and the virtual components in the current basic scene, increasing the corresponding relation between the topological components and the virtual components in the transaction cache.
On the basis of the above scheme, the service adjusting module stores the telecommunication service to be adjusted in a transaction cache, and adjusts the telecommunication service according to the topology component and the virtual component, specifically comprising the following steps:
storing the telecommunication service needing to be adjusted in the basic scene into a transaction cache;
if the basic scene has no virtual component, the telecommunication service is adjusted according to the topological component on the physical topology;
if the basic scene has the virtual component, replacing the data of the topological component in the telecommunication service with the data of the virtual component according to the corresponding relation between the topological component and the virtual component in the transaction cache; configuration data for the telecommunications service is generated on the virtual component.
On the basis of the above scheme, the service adjusting module submits a transaction cache, stores the adjusted telecommunication service and changes the topology, and specifically includes the following steps:
storing the adjusted telecommunication service to a database;
converting the virtual component into a topological component and storing the topological component in a database;
clearing the telecommunication service before adjustment from the transaction cache;
the topological component, the virtual component, and the relationship between the topological component and the virtual component are purged from the transaction cache.
On the basis of the above scheme, the service adjusting module rolls back the transaction cache, and restores the telecommunication service to the state before the adjustment without changing the topology, specifically comprising the following steps:
restoring the telecommunication service before adjustment from the transaction cache;
clearing configuration data of the telecommunication service on the virtual component;
clearing the telecommunication service before adjustment from the transaction cache;
the topological component, the virtual component, and the relationship between the topological component and the virtual component are purged from the transaction cache.
Compared with the prior art, the invention has the advantages that:
the invention adopts the virtual component, the telecommunication service is firstly adjusted under the condition of not changing the topology, and then the topology is changed after the telecommunication service is successfully changed, thereby ensuring the integrity of the topology and the telecommunication service and avoiding fragmentation; by using a compensation type transaction mode, the topology and telecommunication service are rolled back under the condition of error in the cutting process, so that the rolling back efficiency is improved; the basic scenes of the cutover are designed, the basic scenes are combined through a unified framework to realize complex scenes, diversified cutover requirements are met, customizability and diversification of the cutover scenes of a user are realized, and the expandability of the system is improved.
Drawings
FIG. 1 is a flowchart illustrating a virtual component-based scenario cutover method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating step S2 of the virtual component-based scenic cutover method according to the embodiment of the present invention;
fig. 3 is a flowchart illustrating step S3 of the virtual component-based scenic cutover method according to the embodiment of the present invention;
fig. 4 is a flowchart illustrating step S6 of the virtual component-based scenic cutover method according to the embodiment of the present invention;
fig. 5 is a flowchart illustrating the step S7 of the virtual component-based scenic cutover method according to the embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
The embodiment of the invention provides a scene type cutting and connecting method based on a virtual component, which comprises the following steps:
decomposing the telecommunication service to be adjusted into a plurality of basic scenes, and sequentially cutting each basic scene; acquiring topological component information on a physical topology needing to be locked, virtual component information needing to be created and a relation between a topological component and a virtual component, which correspond to a current basic scene;
for the current basic scene, storing the topological component into a transaction cache, and creating a virtual component in the transaction cache;
storing the telecommunication service to be adjusted into a transaction cache, and adjusting the telecommunication service according to the topological component and the virtual component;
when no error occurs in the adjustment, submitting a transaction cache, storing the adjusted telecommunication service to a database and changing the topology, wherein the database refers to a database which is mentioned in the background technology and is used for backing up the topology corresponding to the telecommunication service; and when the error is adjusted, rolling back the transaction cache, and restoring the telecommunication service to the state before the adjustment without changing the topology.
When the telecommunication service to be adjusted is decomposed into a plurality of basic scenes, the sequence of cutting each basic scene is determined according to the sequence of each basic scene required by realizing a complex scene.
As a preferred embodiment, for a current basic scenario, storing a topology component in a transaction cache, and creating a virtual component in the transaction cache specifically includes the following steps:
acquiring a topological component needing to be locked in a current basic scene, and adding the topological component needing to be locked in a topological component set in a transaction cache;
acquiring a virtual component required to be created in a current basic scene, and adding the virtual component in a virtual component set in a transaction cache;
and according to the obtained corresponding relation between the topological components and the virtual components in the current basic scene, increasing the corresponding relation between the topological components and the virtual components in the transaction cache.
As a preferred embodiment, the telecommunication service to be adjusted is stored in a transaction cache, and the telecommunication service is adjusted according to a topology component and a virtual component, specifically comprising the following steps:
storing the telecommunication service needing to be adjusted in the basic scene into a transaction cache;
if the basic scene has no virtual component, the telecommunication service is adjusted according to the topological component on the physical topology;
if the basic scene has the virtual component, replacing the data of the topological component in the telecommunication service with the data of the virtual component according to the corresponding relation between the topological component and the virtual component in the transaction cache; configuration data for the telecommunications service is generated on the virtual component.
As a preferred embodiment, submitting a transaction cache, saving the adjusted telecommunication service to a database and changing the topology, specifically comprising the steps of:
storing the adjusted telecommunication service to a database;
converting the virtual component into a topological component and storing the topological component in a database;
clearing the telecommunication service before adjustment from the transaction cache;
the topological component, the virtual component, and the relationship between the topological component and the virtual component are purged from the transaction cache.
As a preferred embodiment, rolling back the transaction cache, before restoring the telecommunication service to the adjusted state, does not change the topology, specifically includes the following steps:
restoring the telecommunication service before adjustment from the transaction cache, namely replacing the topology corresponding to the telecommunication service in the database with the topology component and the virtual component corresponding to the telecommunication service before adjustment according to the corresponding relation between the topology component and the virtual component in the transaction cache;
clearing configuration data of the telecommunication service on the virtual component;
clearing the telecommunication service before adjustment from the transaction cache;
the topological component, the virtual component, and the relationship between the topological component and the virtual component are purged from the transaction cache.
The following description and the accompanying drawings further illustrate the implementation of the embodiments of the present invention.
Referring to fig. 1, the method for virtual component-based scene-based cutover specifically includes the following steps:
step S1, decomposing the complex scene into a plurality of basic scenes, and sequentially cutting each basic scene;
step S2, establishing a transaction cache of the topological component and the virtual component for the current basic scene;
step S3, for the current basic scene, establishing the transaction buffer of the telecommunication service, and then adjusting the telecommunication service.
Step S4, if no error occurs, turning to S5; if the above process is erroneous, go to S6;
step S5, if the basic scene still exists, returning to S2 to continue execution; if there is no basic scene, go to S7;
step S6, rolling back the transaction buffer, before the telecommunication service is restored to the adjustment, not changing the topology; and ending the flow.
Step S7, submitting the transaction buffer, storing the adjusted telecommunication service in a database, and changing the topology correspondingly; and ending the flow.
Step S1, decomposing the complex scene into a plurality of basic scenes, and sequentially cutting each basic scene;
through the analysis of the real cutover scene, the complex scene can be formed by combining several basic scenes in sequence. As shown in the following table:
(the routing formats in the third example column in table 1 are uniform, the first being alphabetical to indicate the network element, the second being numeric to indicate the port, - > to indicate the fibre attachment, -' to indicate the unknown route after change. for example, B1B2 indicates port 1 and port 2 of network element B.
TABLE 1
Figure BDA0002162084690000091
Figure BDA0002162084690000101
Figure BDA0002162084690000111
The actual cutover scene is complex, but can be decomposed into the basic scene. For example, an existing device needs to be added to the convergence ring, and the capacity of the device needs to be increased; the method can be decomposed into 1) 'adjustment of NNI ports on two sides between network elements', adding equipment into a convergence ring firstly, and 2) 'integral replacement of equipment', and replacing the equipment with new equipment with larger capacity.
Step S2, establishing a transaction cache of the topological component and the virtual component for the current basic scene;
for the basic scenario, the related topology components, virtual components and the relationship between them are determined, and the type of the virtual components is virtual single disk, virtual fiber, as shown in the following table:
TABLE 2
Figure BDA0002162084690000112
Figure BDA0002162084690000121
Figure BDA0002162084690000131
Taking an overall replacement of the device as an example, when a telecommunication service a1- > B1B2- > C1 is known, a network element B is adjusted to be a network element D, ports have one-to-one equivalence, and a new route is changed to a1- > D1D2- > C1, then the form of a transaction cache is as follows:
topological components: < user ID, < A1- > B1, B2- > C1>
Virtual components: < user ID, < A1- > D1, D2- > C1>
Topological component and virtual component relationships: < user ID, < (A1- > B1, A1- > D1), (B2- > C1, D2- > C1) >
Referring to fig. 2, step S2 specifically includes the following steps:
step S21, obtaining the topological components in the current basic scene, and adding the topological components in the topological component set in the transaction cache < user ID, topological component set >;
in the step, the topology components are recorded in the transaction cache in the form of the user ID, and other users cannot modify the topology components, so that the access mutual exclusion of the topology components is ensured.
The two fibers < user ID, < a1- > B1, B2- > C1> >, a1- > B1 and B2- > C1 in the above example are locked and cannot be modified by other users.
Step S22, acquiring the virtual components in the current basic scene, and adding the virtual components in the virtual component set in the transaction cache < user ID, virtual component set >;
in the step, the virtual component is recorded in the transaction cache in the form of the user ID, and the user can only use the virtual component recorded in the transaction cache by himself and cannot access the virtual components created by other users, so that the isolation of the virtual components is guaranteed.
The < user ID, < A1- > D1, D2- > C1> >, A1- > D1 and D2- > C1 in the above example are two virtual fibers, which exist only in the transaction cache and are only accessible by the present user.
Step S23, obtaining the corresponding relationship between the topological component and the virtual component in the current basic scene, and adding the corresponding relationship between the topological component and the virtual component in the transaction cache < < user ID, < topological component ID, virtual component ID > set >.
In this step, the correspondence relationship between the topology component and the virtual component, that is, the relationship in which the topology component can be replaced by the virtual component is recorded in the form of the user ID. The topological components and the virtual components may be in a one-to-one correspondence relationship, or one topological component may correspond to a plurality of virtual components, or a plurality of topological components may correspond to one virtual component. For example, in the LAG port processing process, two connected fibers may be formed corresponding to the original connected fibers; there is also possibility that a plurality of original continuous fibers become a continuous fiber.
As in the above example, < user ID, < (a1- > B1, a1- > D1), (B2- > C1, D2- > C1) >, topological component a1- > B1 corresponds to virtual component a1- > D1; the topological component B2- > C1 corresponds to the virtual component D2- > C1.
Step S3, for the current basic scene, establishing the transaction buffer of the telecommunication service, and then adjusting the telecommunication service.
In this step, the telecommunications traffic is originally on the topology component, and the telecommunications traffic is adjusted to the virtual component since the topology component needs to be replaced by the virtual component after the cutover. If no virtual components are created in the basic scenario, the telecommunications traffic does not need to scale to virtual components, but to other topological components.
The teleservice a1- > B1B2- > C1 in the above example needs to be adjusted from the topological component a1- > B1, B2- > C1 to the virtual component a1- > D1, D2- > C1.
Referring to fig. 3, step S3 specifically includes the following steps:
s31, storing the telecommunication service to be adjusted in the basic scene into a transaction cache;
in this step, the telecommunication service is saved to the transaction cache before the corresponding telecommunication service is processed, according to the specific basic scenario. Telecommunication services here refer to those telecommunication services that are affected by modifying topological components or avoiding points of failure in the basic scenario.
The teleservice a1- > B1B2- > C1 in the above example is saved into the teleservice's transaction cache as follows:
< user ID, < A1- > B1B2- > C1>
S32, if the basic scene has no virtual components, turning to S33, otherwise, turning to S34;
in this step, according to table 1, it is determined whether there is a virtual component in the basic scene, and then a jump is made.
The transaction cache of the virtual component in the above example is not empty and therefore a jump is made to S34.
And S33, adjusting the telecommunication service according to the topological component on the real physical topology, and ending the process.
In this step, the corresponding basic scenario does not need to create a virtual component, but only needs to adjust the telecommunication service according to the real physical topology, that is, the telecommunication service is adjusted from the original topology component to other topology components.
S34, adjusting the telecommunication service from the topological component to the virtual component according to the corresponding relation between the topological component and the virtual component in the transaction cache;
in this step, the corresponding basic scenario needs to create a virtual component, and the telecommunication service is adjusted from the original topological component to the virtual component, that is, the topological component data in the telecommunication service is modified and replaced with the virtual component data according to the corresponding relationship.
As in the above example, telecommunication service a1- > B1B2- > C1, the topology component in the above example is replaced by a virtual component according to the relationship between the topology component and the virtual component, namely, user ID, < (a1- > B1, a1- > D1), (B2- > C1, D2- > C1), so as to form a new telecommunication service a1- > D1D2- > C1.
And S35, generating the configuration data of the telecommunication service on the virtual component, and ending the process.
In this step, the telecommunications service needs to generate the corresponding configuration on the virtual component, just as on the original topological component.
The new teleservice a1- > D1D2- > C1 in the above example generates configuration data for this teleservice on virtual components a1- > D1, D2- > C1.
Step S4, if no error occurs, turning to S5; if the above process is erroneous, go to S6;
in this step, it is determined whether there is an error in the process of S2-S3, and if there is an error, all transaction caches of the user need to be rolled back; the transaction caches of other users are not processed, and the users are isolated.
Step S5, if the basic scene still exists, returning to S2 to continue execution; if there is no basic scene, go to S7;
in this step, it is determined whether the basic scenes constituting the complex scene have been executed, and the basic scenes are executed in sequence, that is, the complex scene is executed.
Step S6, rolling back the transaction buffer, before the telecommunication service is restored to the adjustment, not changing the topology; and ending the flow.
In this step, the user returns to the state before the user performs the cutover by rolling back the transaction cache, and the influence range is limited only inside the cutover scene performed by the user.
Referring to fig. 4, step S6 specifically includes the following steps:
s61, recovering the telecommunication service before adjustment from the service cache < user ID, telecommunication service set >;
in this step, the adjusted telecommunications traffic of the user is retrieved from the traffic cache and the telecommunications traffic adjusted to the virtual component is restored to the adjusted telecommunications traffic.
In the above example, the teleservice before the adjustment is found from the teleservice transaction cache < user ID, < a1- > B1B2- > C1>, and the new teleservice a1- > D1D2- > C1 is restored to teleservice a1- > B1B2- > C1.
S62, clearing the configuration data of the telecommunication service on the virtual component;
in this step, the configuration data of the telecommunication service on the virtual components is completely cleared.
In the above example, the configuration data of the telecommunications traffic on virtual component A1- > D1, D2- > C1 is cleared.
S63, clearing the telecommunication service before adjustment from the service cache;
in this step, the relevant teleservice recorded by the user in < user ID, teleservice set > is cleared.
In the above example, the teleservice a1- > B1B2- > C1 before adjustment in the teleservice transaction cache < user ID, < a1- > B1B2- > C1 >.
S64, clearing the topological components, the virtual components and the relations among the topological components and the virtual components from the transaction cache.
In this step, the transaction cache associated with the user in < user ID, topological component set >, < user ID, virtual component set >, < user ID, < topological component ID, virtual component ID > set > is purged.
In the above example, the transaction cache of the topology component is cleared for a1- > B1 and B2- > C1 in < user ID, < a1- > B1, B2- > C1 >; clearing the transaction cache of the virtual component from < user ID, < A1- > D1, D2- > C1> > A1- > D1 and D2- > C1;
the transaction cache of the relation between the topological component and the virtual component is cleared for (A1- > B1, A1- > D1) and (B2- > C1, D2- > C1) in < user ID, < (A1- > B1, A1- > D1), (B2- > C1, D2- > C1).
Step S7, submitting the transaction buffer, storing the adjusted telecommunication service in a database, and changing the topology correspondingly; and ending the flow.
Referring to fig. 5, step S7 specifically includes the following steps:
s71, storing the adjusted telecommunication service to a database;
in this step, the telecommunication service tuned to the virtual component is saved to the database, i.e. the new telecommunication service after the topology component in the telecommunication service is replaced by the virtual component is saved to the database.
In the above example, the new teleservice A1- > D1D2- > C1 is saved to the database.
S72, converting the virtual component into a topological component and storing the topological component in a database;
in this step, the virtual components are present in the transaction cache and there are no virtual components in physical topology. The conversion process of this step is to convert the data of the virtual component into the data of the topological component, add the data to the physical topology, and delete the original topological component. Since the virtual components are the same as the basic data of the topology components, such as network elements, single disks and fiber connections, there is no big problem in data conversion.
In the above example, virtual components A1- > D1, D2- > C1 are saved to the database and the topological components A1- > B1, B2- > C1 are deleted from the database.
S73, clearing the telecommunication service before adjustment from the service cache;
in this step, the relevant teleservice recorded by the user in < user ID, teleservice set > is cleared.
In the above example, the teleservice a1- > B1B2- > C1 before adjustment in the teleservice transaction cache < user ID, < a1- > B1B2- > C1 >.
S74, clearing the topological components, the virtual components and the relations among the topological components and the virtual components from the transaction cache.
In this step, the transaction cache associated with the user in < user ID, topological component set >, < user ID, virtual component set >, < user ID, < topological component ID, virtual component ID > set > is purged.
In the above example, the transaction cache of the topology component is cleared for a1- > B1 and B2- > C1 in < user ID, < a1- > B1, B2- > C1 >; clearing the transaction cache of the virtual component from < user ID, < A1- > D1, D2- > C1> > A1- > D1 and D2- > C1;
the transaction cache of the relation between the topological component and the virtual component is cleared for (A1- > B1, A1- > D1) and (B2- > C1, D2- > C1) in < user ID, < (A1- > B1, A1- > D1), (B2- > C1, D2- > C1).
The embodiment of the invention also provides a scene type cutting system based on the virtual component, which comprises the following steps:
a scene decomposition module to: decomposing the telecommunication service to be adjusted into a plurality of basic scenes for sequentially cutting each basic scene; acquiring topological component information on a physical topology needing to be locked, virtual component information needing to be created and a relation between a topological component and a virtual component, which correspond to a current basic scene;
a topology caching module to: for the current basic scene, storing the topological component into a transaction cache, and creating a virtual component in the transaction cache;
a traffic adaptation module to: storing the telecommunication service to be adjusted into a transaction cache, and adjusting the telecommunication service according to the topological component and the virtual component; when no error occurs in the adjustment, the transaction cache is submitted, and the adjusted telecommunication service is stored in a database and the topology is changed; and when the error is adjusted, rolling back the transaction cache, and restoring the telecommunication service to the state before the adjustment without changing the topology.
As a preferred embodiment, for a current basic scenario, the topology caching module stores a topology component in a transaction cache, and creates a virtual component in the transaction cache, specifically including the following steps:
acquiring a topological component needing to be locked in a current basic scene, and adding the topological component needing to be locked in a topological component set in a transaction cache;
acquiring a virtual component required to be created in a current basic scene, and adding the virtual component in a virtual component set in a transaction cache;
and according to the obtained corresponding relation between the topological components and the virtual components in the current basic scene, increasing the corresponding relation between the topological components and the virtual components in the transaction cache.
As a preferred embodiment, the service adjusting module stores the telecommunication service to be adjusted in a transaction cache, and adjusts the telecommunication service according to the topology component and the virtual component, specifically including the following steps:
storing the telecommunication service needing to be adjusted in the basic scene into a transaction cache;
if the basic scene has no virtual component, the telecommunication service is adjusted according to the topological component on the physical topology;
if the basic scene has the virtual component, replacing the data of the topological component in the telecommunication service with the data of the virtual component according to the corresponding relation between the topological component and the virtual component in the transaction cache; configuration data for the telecommunications service is generated on the virtual component.
As a preferred embodiment, the service adjusting module submits a transaction cache, stores the adjusted telecommunication service to a database and changes the topology, specifically including the following steps:
storing the adjusted telecommunication service to a database;
converting the virtual component into a topological component and storing the topological component in a database;
clearing the telecommunication service before adjustment from the transaction cache;
the topological component, the virtual component, and the relationship between the topological component and the virtual component are purged from the transaction cache.
As a preferred embodiment, the service adjusting module rolls back the transaction cache, and restores the telecommunication service to a state before the adjustment without changing the topology, specifically including the following steps:
restoring the telecommunication service before adjustment from the transaction cache;
clearing configuration data of the telecommunication service on the virtual component;
clearing the telecommunication service before adjustment from the transaction cache;
the topological component, the virtual component, and the relationship between the topological component and the virtual component are purged from the transaction cache.
Based on the same inventive concept, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements all or part of the method steps of a virtual component-based scenic cutover method.
The invention realizes all or part of the flow in the above-mentioned scene type cut-over method based on virtual components, and can also be completed by instructing relevant hardware through a computer program, and the computer program can be stored in a computer readable storage medium, and when being executed by a processor, the computer program can realize the steps of the above-mentioned various method embodiments. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, U.S. disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution media, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, in accordance with legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunications signals.
Based on the same inventive concept, an embodiment of the present application further provides an electronic device, which includes a memory and a processor, where the memory stores a computer program running on the processor, and the processor implements all or part of method steps in the virtual component-based scene segmentation method when executing the computer program.
The processor may be a Central Processing Unit (CPU), other general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center of the computer device and the various interfaces and lines connecting the various parts of the overall computer device.
The memory may be used to store computer programs and/or modules, and the processor may implement various functions of the computer device by executing or executing the computer programs and/or modules stored in the memory, as well as by invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, video data, etc.) created according to the use of the cellular phone, etc. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, server, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), servers and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A scene type cutting method based on virtual components is characterized by comprising the following steps:
decomposing the telecommunication service to be adjusted into a plurality of basic scenes, and sequentially cutting each basic scene; acquiring topological component information on a physical topology needing to be locked, virtual component information needing to be created and a relation between a topological component and a virtual component, which correspond to a current basic scene;
for the current basic scene, storing the topological component into a transaction cache, and creating a virtual component in the transaction cache;
storing the telecommunication service to be adjusted into a transaction cache, and adjusting the telecommunication service according to the topological component and the virtual component; when no error occurs in the adjustment, the transaction cache is submitted, and the adjusted telecommunication service is stored in a database and the topology is changed; and when the error is adjusted, rolling back the transaction cache, and restoring the telecommunication service to the state before the adjustment without changing the topology.
2. The method of claim 1, wherein for a current basic scenario, storing a topological component in a transaction cache and creating a virtual component in the transaction cache comprise:
acquiring information of topological components needing to be locked in a current basic scene, and adding the topological components needing to be locked in a topological component set in a transaction cache;
acquiring virtual component information needing to be created in a current basic scene, and adding virtual components in a virtual component set in a transaction cache;
and according to the obtained corresponding relation between the topological components and the virtual components in the current basic scene, increasing the corresponding relation between the topological components and the virtual components in the transaction cache.
3. The method of claim 1, wherein the telecommunication service to be adjusted is saved in a transaction cache, and the telecommunication service is adjusted according to the topology component and the virtual component, comprising the steps of:
storing the telecommunication service needing to be adjusted in the basic scene into a transaction cache;
if the basic scene has no virtual component, the telecommunication service is adjusted according to the topological component on the physical topology;
if the basic scene has the virtual component, replacing the data of the topological component in the telecommunication service with the data of the virtual component according to the corresponding relation between the topological component and the virtual component in the transaction cache; configuration data for the telecommunications service is generated on the virtual component.
4. The method of claim 1, wherein committing the transaction cache, saving the adjusted telecommunications service and changing the topology comprises the steps of:
storing the adjusted telecommunication service to a database;
converting the virtual component into a topological component and storing the topological component in a database;
clearing the telecommunication service before adjustment from the transaction cache;
the topological component, the virtual component, and the relationship between the topological component and the virtual component are purged from the transaction cache.
5. The method of claim 1, wherein rolling back the transaction cache to restore the telecommunication service to a state before the adjustment without changing the topology, comprises the steps of:
restoring the telecommunication service before adjustment from the transaction cache;
clearing configuration data of the telecommunication service on the virtual component;
clearing the telecommunication service before adjustment from the transaction cache;
the topological component, the virtual component, and the relationship between the topological component and the virtual component are purged from the transaction cache.
6. A virtual component based scenic cutover system, comprising:
a scene decomposition module to: decomposing the telecommunication service to be adjusted into a plurality of basic scenes for sequentially cutting each basic scene; acquiring topological component information on a physical topology needing to be locked, virtual component information needing to be created and a relation between a topological component and a virtual component, which correspond to a current basic scene;
a topology caching module to: for the current basic scene, storing the topological component into a transaction cache, and creating a virtual component in the transaction cache;
a traffic adaptation module to: storing the telecommunication service to be adjusted into a transaction cache, and adjusting the telecommunication service according to the topological component and the virtual component; when no error occurs in the adjustment, the transaction cache is submitted, and the adjusted telecommunication service is stored in a database and the topology is changed; and when the error is adjusted, rolling back the transaction cache, and restoring the telecommunication service to the state before the adjustment without changing the topology.
7. The system of claim 6, wherein the topology caching module stores the topology components in a transaction cache for a current basic scenario, and creates virtual components in the transaction cache, specifically comprising the steps of:
acquiring information of topological components needing to be locked in a current basic scene, and adding the topological components needing to be locked in a topological component set in a transaction cache;
acquiring virtual component information needing to be created in a current basic scene, and adding virtual components in a virtual component set in a transaction cache;
and according to the obtained corresponding relation between the topological components and the virtual components in the current basic scene, increasing the corresponding relation between the topological components and the virtual components in the transaction cache.
8. The system of claim 6, wherein the service adjusting module stores the telecommunication service to be adjusted in a transaction cache, and adjusts the telecommunication service according to the topology component and the virtual component, specifically comprising the steps of:
storing the telecommunication service needing to be adjusted in the basic scene into a transaction cache;
if the basic scene has no virtual component, the telecommunication service is adjusted according to the topological component on the physical topology;
if the basic scene has the virtual component, replacing the data of the topological component in the telecommunication service with the data of the virtual component according to the corresponding relation between the topological component and the virtual component in the transaction cache; configuration data for the telecommunications service is generated on the virtual component.
9. The system of claim 6, wherein the service modification module commits a transaction cache, saves the modified telecommunication service and changes topology, comprising the steps of:
storing the adjusted telecommunication service to a database;
converting the virtual component into a topological component and storing the topological component in a database;
clearing the telecommunication service before adjustment from the transaction cache;
the topological component, the virtual component, and the relationship between the topological component and the virtual component are purged from the transaction cache.
10. The system of claim 6, wherein the service policing module rolls back the transaction cache to restore the telecommunications service to a state before policing without changing the topology, comprising the steps of:
restoring the telecommunication service before adjustment from the transaction cache;
clearing configuration data of the telecommunication service on the virtual component;
clearing the telecommunication service before adjustment from the transaction cache;
the topological component, the virtual component, and the relationship between the topological component and the virtual component are purged from the transaction cache.
CN201910735688.0A 2019-08-09 2019-08-09 Scene type cutting and connecting method and system based on virtual component Active CN112350843B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201910735688.0A CN112350843B (en) 2019-08-09 2019-08-09 Scene type cutting and connecting method and system based on virtual component
BR112022001268A BR112022001268A2 (en) 2019-08-09 2020-08-05 Scene type transition method and system based on a virtual component
PCT/CN2020/107102 WO2021027652A1 (en) 2019-08-09 2020-08-05 Virtual component-based scene-type cutover method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910735688.0A CN112350843B (en) 2019-08-09 2019-08-09 Scene type cutting and connecting method and system based on virtual component

Publications (2)

Publication Number Publication Date
CN112350843A CN112350843A (en) 2021-02-09
CN112350843B true CN112350843B (en) 2022-02-08

Family

ID=74367006

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910735688.0A Active CN112350843B (en) 2019-08-09 2019-08-09 Scene type cutting and connecting method and system based on virtual component

Country Status (3)

Country Link
CN (1) CN112350843B (en)
BR (1) BR112022001268A2 (en)
WO (1) WO2021027652A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117240600B (en) * 2023-11-08 2024-03-19 国家工业信息安全发展研究中心 Vulnerability detection method and device for industrial control system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106301869A (en) * 2015-06-24 2017-01-04 中兴通讯股份有限公司 A kind of method and device setting up PTN cut over plan
CN106411541A (en) * 2015-07-27 2017-02-15 中兴通讯股份有限公司 Method and device of establishing service cutover plan
CN106527961A (en) * 2015-09-15 2017-03-22 伊姆西公司 Method and apparatus used for ensuring data consistency
CN107040416A (en) * 2017-04-12 2017-08-11 大连理工大学 A kind of virtual data center visual management method based on Cairngorm frameworks
CN107483222A (en) * 2016-06-08 2017-12-15 中兴通讯股份有限公司 A kind of management method and network management system of the virtual network function based on micro services

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
MXPA04002898A (en) * 2001-09-26 2005-06-20 Wisor Telecom Intelligent service management system.
CN103167545B (en) * 2013-02-20 2015-08-19 大唐移动通信设备有限公司 Be correlated with the method for IP cutover and device in a kind of base station
US9760596B2 (en) * 2013-05-13 2017-09-12 Amazon Technologies, Inc. Transaction ordering
US10200258B2 (en) * 2014-08-14 2019-02-05 Juniper Networks, Inc. Transaction integrity for network services configuration
CN105792266B (en) * 2014-12-25 2019-06-07 北京神州泰岳软件股份有限公司 A kind of base station automation method for cutting over and device
CN105446662B (en) * 2015-11-24 2018-09-21 华为技术有限公司 A kind of cut over method, storage control device and storage device
CN105550130A (en) * 2015-12-14 2016-05-04 中电科华云信息技术有限公司 Container based dynamic arrangement method for application environment and system applying method
CN107222325A (en) * 2016-03-22 2017-09-29 中兴通讯股份有限公司 The generation method and device of a kind of virtual network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106301869A (en) * 2015-06-24 2017-01-04 中兴通讯股份有限公司 A kind of method and device setting up PTN cut over plan
CN106411541A (en) * 2015-07-27 2017-02-15 中兴通讯股份有限公司 Method and device of establishing service cutover plan
CN106527961A (en) * 2015-09-15 2017-03-22 伊姆西公司 Method and apparatus used for ensuring data consistency
CN107483222A (en) * 2016-06-08 2017-12-15 中兴通讯股份有限公司 A kind of management method and network management system of the virtual network function based on micro services
CN107040416A (en) * 2017-04-12 2017-08-11 大连理工大学 A kind of virtual data center visual management method based on Cairngorm frameworks

Also Published As

Publication number Publication date
BR112022001268A2 (en) 2022-03-22
WO2021027652A1 (en) 2021-02-18
CN112350843A (en) 2021-02-09

Similar Documents

Publication Publication Date Title
CN106131123B (en) The remote resource synchronous method and system of three-tier architecture
US20060155778A1 (en) Updateable fan-out replication with reconfigurable master association
CN105955970A (en) Log analysis-based database copying method and device
CN108701156A (en) The technology of data harmonization is executed in distributed data-storage system
CN112463056B (en) Multi-node distributed training method, device, equipment and readable medium
CN111782620A (en) Credit link automatic tracking platform and method thereof
CN109542330B (en) Data storage method, data query method and device
CN105868361A (en) Data updating method and device
CN112350843B (en) Scene type cutting and connecting method and system based on virtual component
CN104636286A (en) Data access method and equipment
CN112671881B (en) Node organization management method and device, electronic equipment and readable storage medium
CN112671908B (en) Network management method and device, electronic equipment and readable storage medium
CN107231400A (en) The synchronous method and device of a kind of data
US7552123B2 (en) Methods, systems and computer program products for synchronizing records in billing and service databases
CN104731650A (en) Acquisition method and device for system interface call information
CN110083372B (en) Block chain data version upgrading method
CN109788373B (en) Method and system for lossless adjustment of OTN protection service
CN106598990B (en) Searching method and system
CN108897497B (en) Centerless data management method and device
CN106210751A (en) The method and system of internet video live broadcasting data hierarchy transmission
CN111240933B (en) Method, system, device and medium for monitoring performance data of multiple data centers
CN112019261B (en) Method and system for returning distributed control plane electrical layer 1+1 service
CN111061719A (en) Data collection method, device, equipment and storage medium
CN101630334A (en) Data-updating method in distributed system
CN109324931A (en) The method that vmware carry restores is realized in data deduplication system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant