CN114205205A - Southbound interface implementation method and device compatible with different YANG models - Google Patents

Southbound interface implementation method and device compatible with different YANG models Download PDF

Info

Publication number
CN114205205A
CN114205205A CN202210135452.5A CN202210135452A CN114205205A CN 114205205 A CN114205205 A CN 114205205A CN 202210135452 A CN202210135452 A CN 202210135452A CN 114205205 A CN114205205 A CN 114205205A
Authority
CN
China
Prior art keywords
yang
operator
model
models
different
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210135452.5A
Other languages
Chinese (zh)
Inventor
庞圣波
李启迪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Huahuan Electronics Co Ltd
Original Assignee
Beijing Huahuan Electronics 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 Beijing Huahuan Electronics Co Ltd filed Critical Beijing Huahuan Electronics Co Ltd
Priority to CN202210135452.5A priority Critical patent/CN114205205A/en
Publication of CN114205205A publication Critical patent/CN114205205A/en
Pending legal-status Critical Current

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/02Standardisation; Integration
    • H04L41/022Multivendor or multi-standard integration

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a method and a device for realizing a southbound interface compatible with different YANG models, wherein the method for realizing the southbound interface comprises the following steps: merging YANG models of different operators to obtain a target YANG model; according to the operator identification, a southbound interface defined in the target YANG model is realized through programming; installing a YANG model corresponding to an actual operator according to the operator identification and the target YANG model; the method solves the problem that the same equipment of an equipment manufacturer is compatible with the pain points of a plurality of operator enterprise standard southbound interfaces, realizes the standard southbound interfaces which can be used by different operators, and greatly reduces the equipment version maintenance cost of the equipment manufacturer.

Description

Southbound interface implementation method and device compatible with different YANG models
Technical Field
The invention relates to the technical field of network communication, in particular to a southbound interface implementation method and device compatible with different YANG models.
Background
In the field of communication technology, with the demand of high-quality private lines such as high-definition video, CloudVR (Cloud Virtual Reality for short), SDH (Synchronous Digital Hierarchy) equipment is no longer suitable for future multi-service bearing due to the reasons of small cross capacity and the like, and operators are also gradually reducing SDH equipment investment. The OSU (Optical Service Unit, abbreviated as Optical Service Unit) technology can provide finer time slot granularity and a simpler bandwidth lossless adjustment mechanism on the premise of retaining the advantages of a traditional OTN (Optical Transport Network, abbreviated as Optical Transport Network) hard pipeline, rich OAM (Operation administration and Maintenance), and the like, and support efficient bearing of 2M to 100Gbps rate client services. The OSU equipment can better meet the requirements of high-quality special lines such as high-definition videos and CloudVR.
For the existing SDH equipment, there are many equipment manufacturers, each manufacturer has a separate network management system, and an operator needs to use multiple sets of systems to manage the SDH equipment, and end-to-end service scheduling cannot be realized, which increases the operation and maintenance cost of the operator. The operator realizes the decoupling of management and control finally by defining a set of standard southbound interface by each equipment manufacturer, solves the pain point of high operation and maintenance cost. However, in the field of communications, there are usually multiple operators, and the southbound interface defined by each operator is not completely consistent, which causes the equipment manufacturer to face the pain point of being compatible with the southbound interfaces of different operators.
Therefore, how to solve the technical problem that the standard southbound interface which can be compatible with different operators is lacked in the prior art is an important issue to be solved urgently in the technical field of network communication.
Disclosure of Invention
The invention provides a method and a device for realizing southbound interfaces compatible with different YANG models, which are used for overcoming the defect that the prior art lacks standard southbound interfaces compatible with different operators so as to reduce the maintenance cost of equipment versions of equipment manufacturers.
On one hand, the invention provides a southbound interface implementation method compatible with different YANG models, which is characterized by comprising the following steps:
merging YANG models of different operators to obtain a target YANG model;
according to the operator identification, a southbound interface defined in the target YANG model is realized through programming;
installing a YANG model corresponding to an actual operator according to the operator identification and the target YANG model; the actual operator is one or more of the different operators.
Further, the merging the YANG models of different operators to obtain the target YANG model includes: and if the YANG models to be merged expand new YANG files, merging the YANG models of different operators in a direct merging mode.
Further, the merging the YANG models of different operators to obtain the target YANG model includes: and if new fields or parameters are expanded in the YANG model to be merged, merging the YANG models of different operators by combining the operator identification in a condition judgment mode.
Further, the merging the YANG models of different operators to obtain the target YANG model further includes: and if the YANG models to be merged respectively use different methods to define the enumeration of the same type, merging the YANG models of different operators in a joint sharing mode.
Further, the implementing, by programming, the southbound interface defined in the target YANG model according to the operator identification includes: the target YANG model is provided with a digital label, and the digital label comprises an operator identifier, an equipment model, a serial number and a delivery date; and acquiring an operator identifier in the digital label, and realizing a southbound interface defined in the target YANG model through programming according to the operator identifier.
Further, the merging the YANG models of different operators to obtain the target YANG model further includes: all operator identities corresponding to the YANG model to be merged are defined.
In a second aspect, the present invention further provides a southbound interface implementation apparatus compatible with different YANG models, including: the model merging module is used for merging YANG models of different operators to obtain a target YANG model; the model realization module is used for realizing the southbound interface defined in the target YANG model through programming according to the operator identification; the model installation module is used for installing a YANG model corresponding to an actual operator according to the operator identification and the target YANG model; the actual operator is one or more of the different operators.
In a third aspect, the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of any of the above-mentioned southbound interface implementation methods compatible with different YANG models.
In a fourth aspect, the present invention further provides a non-transitory computer readable storage medium, having stored thereon a computer program, which when executed by a processor, implements the steps of any of the above-described southbound interface implementation methods that are compatible with different YANG models.
In a fifth aspect, the present invention further provides a computer program product comprising a computer program, which when executed by a processor, implements the steps of any of the above-mentioned southbound interface implementation methods compatible with different YANG models.
The southbound interface implementation method compatible with different YANG models obtains the target YANG model by combining the YANG models of different operators, utilizes programming to implement the southbound interface defined in the target YANG model according to the operator identification, and installs the YANG model corresponding to the actual operator according to the operator identification of the actual operator and the implemented target YANG model in practical application. The method solves the problem that the same equipment of an equipment manufacturer is compatible with the pain points of a plurality of operator enterprise standard southbound interfaces, and greatly reduces the equipment version maintenance cost of the equipment manufacturer.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic flow chart of a method for implementing a southbound interface compatible with different YANG models according to the present invention;
FIG. 2 is one of the expanded merged graphs of the different operator YANG models provided by the present invention;
FIG. 3 is a second expanded and merged view of the various operator YANG models provided by the present invention;
FIG. 4 is a third expanded merged graph of different operator YANG models provided by the present invention;
FIG. 5 is a fourth expanded merged view of different operator YANG models provided by the present invention;
FIG. 6 is a schematic diagram of the digital signature in the target YANG model provided by the present invention;
FIG. 7 is a schematic structural diagram of a southbound interface implementation apparatus compatible with different YANG models according to the present invention;
fig. 8 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The existing SDH equipment manufacturers have a plurality of independent network management systems, and operators can manage the SDH equipment by using a plurality of systems and cannot realize end-to-end service scheduling, so that the operation and maintenance difficulty of the operators is increased, which is a pain point of the operation and maintenance of the operators.
However, the introduction of the OSU technology provides new requirements for the management and control technology of the device, and an operator desires to define a set of standard southbound interfaces, so that the operator can complete operation and maintenance by using only one set of network management system, and can also implement end-to-end service scheduling. Therefore, the present application provides a method and an apparatus for implementing a southbound interface compatible with different YANG models, which addresses the problem in the prior art.
Fig. 1 shows a schematic flow diagram of a southbound interface implementation method compatible with different YANG models, which is provided by the present invention, and as shown in fig. 1, the southbound interface implementation method includes:
and S101, merging YANG models of different operators to obtain a target YANG model.
In this step, the operator refers to a provider providing network services, which is interdependent and corresponding to a manufacturer of the communication device, and the domestic operators include china mobile, china unicom, china telecom, china radio and television and a central communication network.
YANG (Yet Another Next Generation) is a data modeling language. The YANG model defines a hierarchical structure of data, and can be used for operation based on a Network Configuration (NETCONF) protocol, thereby implementing Configuration and status operation of the NETCONF to devices. The modeling objects of the YANG model include configuration, status data, remote procedure calls and notifications, which can describe all data sent between NETCONF client and server in a complete description, which is finally presented as a file suffixed with ". YANG".
In the communication field, usually, multiple operators may negotiate and establish a set of industry standard southbound interfaces, but because the requirements of each operator for equipment are different and not completely consistent, each operator may make some specific extensions on the basis of the set of industry standard southbound interfaces to form southbound interfaces meeting the respective enterprise standards, and these interfaces may be defined using a YANG model.
It can be understood that an operator wants that the same device of a device manufacturer can be compatible with a plurality of different operators to obtain the original YANG models corresponding to the applicable south-oriented interfaces of the different operators, and because the requirements of each operator on the device are different, the extensions made on the basis of the industry standard south-oriented interfaces are also different, so that the original YANG models of the different operators need to be merged, the YANG models of the different operators are merged into one YANG model which can be commonly used by the operators, and the merged YANG model is the target YANG model.
It should be noted that the merging of the YANG models of different operators is subject to the international standard IETF RFC 6020 for YANG, which specifically explains YANG's functions, modeling architecture, and file format.
And S102, according to the operator identification, realizing the southbound interface defined in the target YANG model through programming.
In this step, the operator identifier refers to an identifier used by each operator to distinguish the operator from other operators, and may be an english abbreviation of an operator name, or may be a custom description of different operators according to a preference, and may mainly distinguish the different operators. For example, the operator identities corresponding to the operators china mobile, china unicom and chinese telecom may be the acronyms of their english names, "CMCC", "CUCC" and "CTCC", respectively.
Code, which is encoded in a computer programming language, is the process of converting information from one form or format to another. The YANG files refer to files with ". YANG" as a suffix in the target YANG model, and are realized by encoding to define southbound interfaces applicable to different operators.
The southbound interface is a software interface, manages other manufacturers' network management or equipment through a NETCONF protocol, and can support various forms of interface protocols. In a popular way, the southbound interface performs various operations through a series of interfaces, so as to realize management of related equipment, wherein the series of interfaces involved are collectively called southbound interfaces. In terms of a topological structure, the management and control system is located above, the south-oriented interface is located below, and the north-up interface is located below the south-oriented interface, so that the management and control system is called as a south-oriented interface.
It will be appreciated that the YANG models of different carriers are merged into a target YANG model that includes a plurality of YANG files suffixed by ". YANG" to define the southbound interface applicable by the different carriers. After the target YANG model is obtained, according to the operator identification of each operator, all written codes are operated to realize the southbound interface in the target YANG model. Specifically, because the YANG models used by each operator are not completely the same, the target YANG model is realized according to the operator identifier of each operator, and it is ensured that the extended functions and the original general functions of each operator can be realized without omission, thereby ensuring that the southbound interface suitable for each specific operator can be normally installed in the subsequent practical application.
S103, installing a YANG model corresponding to an actual operator according to the operator identification and the target YANG model; the actual operator is one or more of the different operators.
And on the basis that the southbound interface defined in the target YANG model is realized in the last step, installing a YANG model corresponding to an actual operator according to the operator identification, wherein the actual operator needs to be the operator corresponding to different YANG models which are merged in advance, and the number of the actual operators can be one or more.
It is understood that the southbound interfaces are defined by YANG files, and that running the written program code is an implementation of YANG files, i.e., the southbound interfaces defined by these YANG files. And installing a YANG model corresponding to the actual operator according to the operator identification and the target YANG model, thereby realizing a standard southbound interface which can be compatible with YANG models of different operators.
In this embodiment, a target YANG model is obtained by combining YANG models of different operators, and a southbound interface defined in the target YANG model is implemented by using programming according to an operator identifier, and in actual application, a YANG model corresponding to an actual operator is installed according to the operator identifier of the actual operator and the implemented target YANG model. The method solves the problem that the same equipment of an equipment manufacturer is compatible with the pain points of a plurality of operator enterprise standard southbound interfaces, and greatly reduces the equipment version maintenance cost of the equipment manufacturer.
On the basis of the above embodiment, further, merging the YANG models of different operators to obtain the target YANG model, which includes: all operator identities corresponding to the YANG model to be merged are defined.
It can be understood that, before merging the YANG models of different operators, operator identifications corresponding to all the YANG models that need to be merged may be predefined, so that when the YANG models of different operators are merged, the different operators can be better distinguished, and especially, unique functions respectively extended by the different operators can be better distinguished.
In a specific embodiment, the operator identities of three operators of China Mobile, China Unicom and China telecom are defined, and the specific identities are "cmcc", "cucc" and "ctcc", respectively. Of course, according to the actual requirement, the identifier of other operators may be added thereto, and the definition manner is specifically as follows:
“feature cmcc{ description“cmcc” }
feature cucc{ description“cucc” }
feature ctcc{ description“ctcc” }”。
in the embodiment, before different YANG models are combined, operator identifications corresponding to different YANG models are defined, so that the YANG models of different operators can be combined better subsequently, southbound interfaces compatible with the YANG models of different operators are realized, pain points that the same equipment of an equipment manufacturer is compatible with multiple operator enterprise standard southbound interfaces are solved, and maintenance cost of equipment versions of the equipment manufacturer is reduced.
On the basis of the above embodiment, further, merging the YANG models of different operators to obtain a target YANG model, including: and if the YANG models to be merged expand new YANG files, merging the YANG models of different operators in a direct merging mode.
It will be appreciated that in merging the YANG models of different operators, first, the merging rules should follow the international standard IETF RFC 6020 for YANG; secondly, the YANG models of different operators are usually expanded based on the industry standard YANG model, the main contents of the YANG models are consistent, the expanded specific functions are different, and the YANG models are combined in different modes according to the actual expansion conditions of the operators.
When a new YANG file is expanded in the YANG models to be merged, the YANG models of different operators are merged by adopting a direct merging mode. Wherein, a new YANG file is expanded, including two cases: one is a new YANG file with a suffix of "Yang"; in addition, a remote procedure call function is added on the basis of the existing YANG file.
In a specific embodiment, FIG. 2 shows one of the expanded merged graphs of the different operator YANG models provided by the present invention. As shown in fig. 2, the ctcc (chinese telecom) newly expands the device upgrade function and the OSU function, which are defined by separate YANG files acc-file.yang and acc-osu.yang, respectively; cucc (china unicom) newly expands g.metro function, defined as a separate YANG file acc-gmetro.yang. In this case, the YANG model of china telecom and YANG model of china unicom with specific functions extended can be merged by direct merging.
In another embodiment, fig. 3 shows a second expanded merged graph of different operator YANG models provided by the present invention. As shown in fig. 3, cucc (china unicom) also extends a service interface of a Remote device, and adds a Remote Procedure Call (RPC) create-eth-to-eth-connection to an existing YANG file acc-eth. In this case, the YANG model of china unicom can be merged with other YANG models in a direct merging manner.
In this embodiment, if a new YANG file is extended in the YANG model to be merged, the YANG models of different operators are merged in a direct merging manner, which solves the problem that the same device of a device manufacturer is compatible with the pain points of multiple operator enterprise standard southbound interfaces, and greatly reduces the device version maintenance cost of the device manufacturer.
On the basis of the above embodiment, further, merging the YANG models of different operators to obtain a target YANG model, including: and if new fields or parameters are expanded in the YANG model to be merged, merging the YANG models of different operators by adopting a condition judgment mode in combination with the operator identification.
It can be understood that when new fields or parameters are expanded in the YANG models to be merged, the YANG models of different operators can be merged by adopting a conditional judgment mode according to predefined operator identifications. Common condition judgment includes an IF statement, which is a judgment statement, and judges whether an execution condition is satisfied according to an operator identifier, that is, IF the operator has a certain specific function, one of the given two operations is executed, otherwise, the other given operation is executed.
In a specific embodiment, fig. 4 shows a third expanded merged graph of different operator YANG models provided by the present invention. As shown in FIG. 4, on the basis of the existing YANG file, the node oam-state-pac is adjusted by cucc (China Unicom) according to its own needs, and further adjusted to oam-enable-pac, while the original oam-state-pac is still used by cmcc (China Mobile) and ctcc (China telecom). For the two nodes of oam-state-pac and oam-enable-pac, the operator id can be labeled by means of if-feature respectively, so as to distinguish different operators.
In this embodiment, IF a new field or parameter is extended in the YANG model to be merged, the YANG models of different operators are merged by combining with the operator identifier and adopting an IF statement condition judgment mode, and this merging mode solves the problem that the same device of a device manufacturer is compatible with the pain points of multiple operator enterprise standard southbound interfaces, thereby greatly reducing the device version maintenance cost of the device manufacturer.
On the basis of the above embodiment, further, merging the YANG models of different operators to obtain the target YANG model, further includes: if the YANG models to be merged use different methods to define the same type of enumeration, the YANG models of different operators are merged in a joint sharing mode.
It is understood that the YANG models of different operators can be merged in a joint sharing manner if the YANG models to be merged respectively use different methods to define the same type of enumeration. Wherein, different methods are used to define the same type of enumeration, and the final enumeration result is the same, but the enumeration mode is different. The enumeration type is a basic data type and is used for declaring a set of named constants, when a variable has several possible values, the variable can be defined as the enumeration type, and the joint sharing mode comprises merging in a UNION mode.
In one embodiment, FIG. 5 shows four expanded merged graphs of the different operator YANG models provided by the present invention. As shown in fig. 5, for the service-mapping-mode field in the node create-sdh-connection, it is an enumeration type, and specifically, cmcc (china mobile) and ctcc (china telecom) are defined by using enum and identity, respectively, in which case, the merging may be performed by using UNION.
Wherein enum and identity are two definitions of the same enumeration. For example, the original enumeration constants A, B and C are expanded by a new enumeration constant D, and if the enumeration is defined in an identity manner, only one more constant D needs to be assigned to a single position; if the definition is performed by enum, it is necessary to find the positions of the previous enumeration constants A, B and C and add the enumeration constant D thereafter. The two definitions differ, but the result is that four constants A, B, C and D are enumerated. It should also be noted that UNION is a special class, and is also a type of construction data structure. A number of different data types may be defined within a "UNION", such as enum and identity in this embodiment.
In this embodiment, if the YANG models to be merged respectively use different methods to define enumerations of the same type, the YANG models of different operators are merged in a joint sharing manner, and this merging manner solves the problem that the same device of a device manufacturer is compatible with pain points of multiple operator enterprise standard southbound interfaces, thereby greatly reducing the device version maintenance cost of the device manufacturer.
On the basis of the above embodiment, further, according to the operator identifier, the southbound interface defined in the target YANG model is implemented by programming, including: the target YANG model is provided with a digital label, and the digital label comprises an operator identifier, an equipment model, a serial number and a delivery date; and acquiring an operator identifier in the digital label, and realizing a southbound interface defined in the target YANG model through programming according to the operator identifier.
It can be understood that an individual digital label is set in the target YANG model, the digital label includes an operator identifier, an equipment model, an equipment serial number and an equipment delivery date, all nodes and methods of YANG files in the target YANG model are realized once by acquiring the operator identifier in the digital label and running a written program code according to the operator identifier, and it is ensured that each operation extended function and original general function can be realized without omission, thereby ensuring that a south-oriented interface suitable for each specific operator can be normally installed subsequently in practical application.
For example, FIG. 6 shows a schematic diagram of a digital label in the target YANG model provided by the present invention. As shown in fig. 6, the digital tag includes two parts, namely, an attribute and a value, where DeviceType is a device type, Vendor is a device manufacturer, MacAddress is a MAC address, HardwareVersion is a device hardware version, SoftwareVersion is a device software version, SerialNo is a device serial number, productondate is a production date of the device, and Telco is an operator identification field.
It should be further noted that, when the device leaves the factory, the corresponding operator identifier is set according to the actual situation, that is, only the Telco attribute of the digital tag needs to be changed.
In this embodiment, the operator identifier is obtained from the digital label, and according to the operator identifier, the southbound interface defined in the target YANG model is implemented by using programming, and the southbound interface included in the YANG file is correspondingly implemented. The problem that the same equipment of an equipment manufacturer is compatible with a plurality of operator enterprise standard southbound interfaces is solved, and the equipment version maintenance cost of the equipment manufacturer is greatly reduced.
FIG. 7 shows the implementation of the southbound interface of the present invention with different YANG models. As shown in fig. 7, the southbound interface implementation apparatus includes: the model merging module 701 is used for merging YANG models of different operators to obtain a target YANG model; a model implementation module 702, configured to implement, according to the operator identifier, a southbound interface defined in the target YANG model through programming; the model installation module 703 is used for installing a YANG model corresponding to an actual operator according to the operator identifier and the target YANG model; the actual operator is one or more of the different operators.
The southbound interface implementation device compatible with different YANG models provided by the invention and the southbound interface implementation method compatible with different YANG models described above can be referred to correspondingly, and are not described again.
In this embodiment, the YANG models of different operators are merged by the model merging module 701 to obtain a target YANG model, the model implementation module 702 implements the southbound interface defined in the target YANG model by programming according to the operator identifier, and in practical applications, the model installation module 703 installs the YANG model corresponding to the actual operator according to the operator identifier of the actual operator and the implemented target YANG model. The device solves the problem that the same equipment of an equipment manufacturer is compatible with the pain points of a plurality of operator enterprise standard southbound interfaces, and greatly reduces the equipment version maintenance cost of the equipment manufacturer.
Fig. 8 shows a physical structure diagram of an electronic device. As shown in fig. 8, the electronic device may include: a processor (processor) 810, a communication Interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication Interface 820 and the memory 830 communicate with each other via the communication bus 840. Processor 810 may call logic instructions in memory 830 to perform a southbound interface implementation method that is compatible with different YANG models, the method comprising: merging YANG models of different operators to obtain a target YANG model; according to the operator identification, a southbound interface defined in the target YANG model is realized through programming; installing a YANG model corresponding to an actual operator according to the operator identification and the target YANG model; the actual operator is one or more of the different operators.
In addition, the logic instructions in the memory 830 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention further provides a computer program product, the computer program product comprising a computer program, the computer program being stored on a non-transitory computer readable storage medium, wherein when the computer program is executed by a processor, the computer is capable of executing the method for implementing the different YANG model-compatible southbound interface provided by the above methods, the method comprising: merging YANG models of different operators to obtain a target YANG model; according to the operator identification, a southbound interface defined in the target YANG model is realized through programming; installing a YANG model corresponding to an actual operator according to the operator identification and the target YANG model; the actual operator is one or more of the different operators.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a southbound interface implementation method compatible with different YANG models provided by the above methods, the method comprising: merging YANG models of different operators to obtain a target YANG model; according to the operator identification, a southbound interface defined in the target YANG model is realized through programming; installing a YANG model corresponding to an actual operator according to the operator identification and the target YANG model; the actual operator is one or more of the different operators.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A southbound interface implementation method compatible with different YANG models is characterized by comprising the following steps:
merging YANG models of different operators to obtain a target YANG model;
according to the operator identification, a southbound interface defined in the target YANG model is realized through programming;
installing a YANG model corresponding to an actual operator according to the operator identification and the target YANG model; the actual operator is one or more of the different operators.
2. The method of claim 1 wherein merging different operator YANG models to obtain a target YANG model comprises:
and if the YANG models to be merged expand new YANG files, merging the YANG models of different operators in a direct merging mode.
3. The method of claim 2 wherein merging different operator YANG models to obtain a target YANG model comprises:
and if new fields or parameters are expanded in the YANG model to be merged, merging the YANG models of different operators by combining the operator identification in a condition judgment mode.
4. The method of claim 3 wherein merging different operator YANG models to obtain a target YANG model further comprises:
and if the YANG models to be merged respectively use different methods to define the enumeration of the same type, merging the YANG models of different operators in a joint sharing mode.
5. The method of claim 1 wherein the programming the southbound interface defined in the target YANG model according to the operator id comprises:
the target YANG model is provided with a digital label, and the digital label comprises an operator identifier, an equipment model, a serial number and a delivery date;
and acquiring an operator identifier in the digital label, and realizing a southbound interface defined in the target YANG model through programming according to the operator identifier.
6. The method of claim 1 wherein merging different operator YANG models to obtain a target YANG model further comprises: all operator identities corresponding to the YANG model to be merged are defined.
7. A southbound interface implementation device compatible with different YANG models is characterized by comprising:
the model merging module is used for merging YANG models of different operators to obtain a target YANG model;
the model realization module is used for realizing the southbound interface defined in the target YANG model through programming according to the operator identification;
the model installation module is used for installing a YANG model corresponding to an actual operator according to the operator identification and the target YANG model; the actual operator is one or more of the different operators.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method of any of claims 1-6 when executing the program.
9. A non-transitory computer readable storage medium, having stored thereon a computer program, wherein the computer program when executed by a processor implements the steps of the different YANG model compatible southbound interface implementation method of any one of claims 1 to 6.
10. A computer program product comprising a computer program, wherein the computer program when executed by a processor implements the steps of any of the different YANG model compatible southbound interface implementation methods of claims 1 to 6.
CN202210135452.5A 2022-02-15 2022-02-15 Southbound interface implementation method and device compatible with different YANG models Pending CN114205205A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210135452.5A CN114205205A (en) 2022-02-15 2022-02-15 Southbound interface implementation method and device compatible with different YANG models

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210135452.5A CN114205205A (en) 2022-02-15 2022-02-15 Southbound interface implementation method and device compatible with different YANG models

Publications (1)

Publication Number Publication Date
CN114205205A true CN114205205A (en) 2022-03-18

Family

ID=80658953

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210135452.5A Pending CN114205205A (en) 2022-02-15 2022-02-15 Southbound interface implementation method and device compatible with different YANG models

Country Status (1)

Country Link
CN (1) CN114205205A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105656643A (en) * 2014-11-10 2016-06-08 中兴通讯股份有限公司 Method and equipment for performing compatible management based on network configuration protocol
CN106257868A (en) * 2015-06-19 2016-12-28 中兴通讯股份有限公司 Configuration data push method and device
CN108989066A (en) * 2017-05-31 2018-12-11 中兴通讯股份有限公司 device management method and device
CN109660372A (en) * 2017-10-10 2019-04-19 中兴通讯股份有限公司 A kind of method and device of the business configuration of SDN
US10326657B1 (en) * 2016-09-30 2019-06-18 Juniper Networks, Inc. Multi vendor device support in network management systems
WO2019233616A1 (en) * 2018-06-06 2019-12-12 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for merging of yang configuration and state data in model-driven applications

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105656643A (en) * 2014-11-10 2016-06-08 中兴通讯股份有限公司 Method and equipment for performing compatible management based on network configuration protocol
CN106257868A (en) * 2015-06-19 2016-12-28 中兴通讯股份有限公司 Configuration data push method and device
US10326657B1 (en) * 2016-09-30 2019-06-18 Juniper Networks, Inc. Multi vendor device support in network management systems
CN108989066A (en) * 2017-05-31 2018-12-11 中兴通讯股份有限公司 device management method and device
CN109660372A (en) * 2017-10-10 2019-04-19 中兴通讯股份有限公司 A kind of method and device of the business configuration of SDN
WO2019233616A1 (en) * 2018-06-06 2019-12-12 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for merging of yang configuration and state data in model-driven applications

Similar Documents

Publication Publication Date Title
EP3432517B1 (en) Device configuration method and apparatus based on network configuration protocol
CN108989066B (en) Equipment management method and device
US9331953B2 (en) Device management method, middleware, and machine-to-machine communications platform, device, and system
CN101902473B (en) Method for synchronously updating data based on grid GIS (Geographic Information System)
EP2541868B1 (en) Method and device for terminal management based on right control
CN112804722A (en) Method for realizing micro-service gateway dynamic routing
EP3764596A1 (en) Data configuration method and apparatus
CN104883266A (en) Network configuration accessing method and device thereof
EP3883183A1 (en) Virtualization management method and device
WO2021164330A1 (en) Key value configuration-based control request sending method, apparatus and system
CN107483222B (en) Virtual network function management method based on micro-service and network management system
CN111064626A (en) Configuration updating method, device, server and readable storage medium
JP6169662B2 (en) API conversion adapter, API conversion system, and API conversion program
EP2421291B1 (en) Terminal for device management and method for initiating management session thereof
CN114205205A (en) Southbound interface implementation method and device compatible with different YANG models
CN101820354A (en) Collocation method based on TNDS (Total Network Data System) object, terminal equipment and server
US10454715B1 (en) Virtual private wire service interworking
WO2020253330A1 (en) Method and apparatus for customer premise equipment configuration management
CN115225493A (en) Wiraguard-based configuration generation method and equipment for networking nodes
KR20150088462A (en) Method for linking network device in cloud environment and apparatus therefor
CN114979139A (en) Management system and method of heterogeneous virtual gateway in edge computing scene
CN107395766A (en) Decentralization communication system and implementation method based on HazelCast
CN115715389A (en) Method and apparatus for edge-enabled server lifecycle management
CN114640569A (en) Dynamic message management apparatus, device, system, method, and storage medium
US9525589B2 (en) Proactive M2M framework using device-level vCard for inventory, identity, and network management

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20220318

RJ01 Rejection of invention patent application after publication