WO2019154121A1 - Processing method and device for parameter configuration, storage medium and processor - Google Patents

Processing method and device for parameter configuration, storage medium and processor Download PDF

Info

Publication number
WO2019154121A1
WO2019154121A1 PCT/CN2019/073150 CN2019073150W WO2019154121A1 WO 2019154121 A1 WO2019154121 A1 WO 2019154121A1 CN 2019073150 W CN2019073150 W CN 2019073150W WO 2019154121 A1 WO2019154121 A1 WO 2019154121A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
instance
document
configuration
attribute
Prior art date
Application number
PCT/CN2019/073150
Other languages
French (fr)
Chinese (zh)
Inventor
王辉
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2019154121A1 publication Critical patent/WO2019154121A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present invention relates to, but is not limited to, the field of communications, and in particular, to a method, an apparatus, a storage medium, and a processor for processing a parameter.
  • SDN Software Defined Network
  • the application software Application, APP
  • GUI Graphical User Interface
  • the parameter configuration is delivered to the controller, and the controller stores the configuration locally, and also sends the configuration to each device. If the user maintains the configuration through the APP, the configuration saved on the controller and the configuration in the device should always be the same.
  • the configuration saved in the controller and the configuration in the device are often inconsistent. The reasons are various, which may be the failure of the system itself, the wrong operation of the maintenance personnel, etc. In short, there is no way to absolutely guarantee the user's expectation. Consistency. However, in the related art, there is no case of how to obtain an inconsistent configuration, and the user cannot clearly know which configurations are inconsistent, resulting in complexity of configuration maintenance.
  • the embodiments of the present invention are directed to a method, an apparatus, a storage medium, and a processor for processing a parameter configuration, so as to at least solve the problem that the parameter configuration cannot be known in the related art.
  • An embodiment of the present invention provides a method for processing a parameter configuration, including: acquiring first instance data configured in a controller and second instance data in a device according to the determined universal data model, where the parameter Configuring to manage corresponding services in the controller and the device; converting the first instance data and the second instance data into a first data document and a second respectively using a structural document configured by the determined parameter a data document, wherein attributes of the parameter configuration are defined in the structure document; the first data document and the second data file are compared, and the comparison result is generated to generate an audit report of the parameter configuration.
  • comparing the first data file with the second data file, and generating the audit report of the parameter configuration by comparing the result comprises: traversing an instance of the parameter configuration in the first data file Data and instance data of the parameter configuration in the second data document; comparing an attribute value of instance data in the first data document with an attribute value of instance data in the second data document; Adding the first data document and the second data document to an instance pair if the attribute value of the instance data in the first data document is the same as the attribute value of the instance data in the second data document In the list; adding the first data document to the first instance list if the attribute value of the instance data in the first data document is different from the attribute value of the instance data in the second data document Adding the second data file to the second instance list; filling the first instance list into the determined first single configuration audit report data file;
  • the example list is filled in the determined second single configuration audit report data file; the instance pair list is filled into the determined audit report data file according to the attribute hierarchical relationship configured by the parameter; the first single configuration to be determined
  • the filling the first instance list into the determined first single configuration audit report data file includes: filling the node attribute value in the first instance list into the first single configuration audit report.
  • the right node attribute value in the first single configuration audit report data file is set to null, and whether the equal attribute is set to No.
  • the filling the second instance list into the determined second single configuration audit report data file includes: filling the node attribute value in the second instance list into the second single configuration audit report.
  • the left node attribute value in the first single configuration audit report data document is set to null, and whether the equal attribute is set to No.
  • the filling of the instance pair list according to the attribute hierarchical relationship of the parameter configuration into the determined audit report data file includes: filling in the attribute value of the first data file in the instance pair list into the In the left node attribute value in the audit report data file, the attribute value of the second data document is filled into the right node attribute value in the audit report data file.
  • the method further includes: when there is no attribute value in the first data document and the second data document, the child node in the first data document and the second data file The child node compares; if the child node of the first data document is the same as the child node of the second data document, setting the attribute of the instance pair list to be equal to yes; In the case where the child nodes of the data document are identical to the child nodes of the second data document, the attribute of whether the instance pair is equal in the list is set to No.
  • the structural document of the parameter configuration includes at least one of the following: a structural document including a single attribute of the parameter configuration; and a structural document including a composite attribute of the parameter configuration.
  • the embodiment of the invention further provides a processing device for parameter configuration, comprising: a determining module, configured to determine a structural file of the parameter configuration according to the determined general structural model, wherein the parameter configuration defines the attribute of the parameter configuration
  • the parameter is configured to manage a corresponding service in the controller and the device;
  • the acquiring module is configured to acquire the first instance data configured in the controller according to the determined universal data model and in the a second instance data in the device;
  • a conversion module configured to convert the first instance data and the second instance data into a first data document and a second data document by using the structural document respectively; and generating a module configured to The first data document and the second data document are compared, and the comparison result is generated to generate an audit report of the parameter configuration.
  • the conversion module includes: a conversion unit configured to convert the first instance data and the second instance data into the first according to an attribute hierarchical relationship of the parameter configuration defined by the structure document a data document and the second data document.
  • the obtaining module includes: an acquiring unit configured to acquire, according to the determined universal data model, the first instance data configured in the controller and the second instance data in the device.
  • the structural document is determined by at least one of: constructing the structural document based on an attribute hierarchical relationship of a node configured by the parameter and an attribute structure of a node; and prescribing the structure by using the universal structural model Documentation.
  • the type of the attribute configured by the parameter includes one of the following: an attribute of a single configuration type; an attribute of a composite configuration type.
  • the embodiment of the present invention further provides a storage medium, where the storage medium includes a stored program, where the program is executed to execute the processing method of the parameter configuration provided by the embodiment of the present invention.
  • the embodiment of the present invention further provides a processor, where the processor is configured to run a program, where the program is executed to execute the processing method of the parameter configuration provided by the embodiment of the present invention.
  • the APP acquires the first instance data configured in the controller and the second instance data in the device, where the parameter is configured to manage the corresponding service in the controller and the device;
  • the first instance data is compared with the second instance data, and the comparison result is generated to generate an audit report of the parameter configuration. Comparing the parameter configuration in the controller and the device, the user can clearly find out whether the parameter configuration is consistent between the controller and the device by using the generated comparison result. Therefore, the problem that the parameter configuration cannot be known can be solved, and the effect of understanding the parameter configuration situation can be achieved.
  • FIG. 1 is a schematic structural diagram of an SDN network in related art
  • FIG. 2 is a block diagram showing the hardware structure of a mobile terminal for processing a parameter configuration method according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a method for processing a parameter configuration according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of an audit report generated in an embodiment of the present invention.
  • FIG. 5 is a structural block diagram of a processing apparatus for parameter configuration according to an embodiment of the present invention.
  • FIG. 2 is a hardware structural block diagram of a mobile terminal for processing a parameter configuration method according to an embodiment of the present invention.
  • mobile terminal 20 may include one or more (only one of which is shown in FIG. 2) processor 202 (processor 202 may include, but is not limited to, a Microcontroller Unit (MCU) or a programmable logic device.
  • MCU Microcontroller Unit
  • a processing device such as a Field-Programmable Gate Array (FPGA), a memory 204 configured to store data, and a transfer device 206 configured as a communication function.
  • FPGA Field-Programmable Gate Array
  • the structure shown in FIG. 2 is merely illustrative and does not limit the structure of the above electronic device.
  • the mobile terminal 20 may also include more or fewer components than those shown in FIG. 2, or have a different configuration than that shown in FIG. 2.
  • the memory 204 can be configured as a software program and a module for storing application software, such as program instructions/modules corresponding to the processing method of the parameter configuration in the embodiment of the present invention, and the processor 202 runs the software program and the module stored in the memory 204, thereby The above methods are implemented by performing various functional applications and data processing.
  • Memory 204 can include high speed random access memory and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 204 may also include memory remotely located relative to processor 202, which may be connected to mobile terminal 20 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Transmission device 206 is configured to receive or transmit data via a network.
  • the above specific network example may include a wireless network provided by a communication provider of the mobile terminal 20.
  • transmission device 206 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet.
  • NIC Network Interface Controller
  • the transmission device 206 can be a Radio Frequency (RF) module configured to communicate with the Internet wirelessly.
  • RF Radio Frequency
  • FIG. 3 is a flowchart of a method for processing a parameter configuration according to an embodiment of the present invention. As shown in FIG. 3, the process includes the following steps:
  • Step S302 acquiring first instance data configured in the controller and second instance data in the device according to the determined universal data model, wherein the parameter configuration is configured to manage the corresponding one of the controller and the foregoing device. business;
  • Step S304 the first instance data and the second instance data are respectively converted into the first data file and the second data file by using the determined parameter configuration file, wherein the attribute of the parameter configuration is defined in the structure document;
  • Step S306 comparing the first data file with the second data file, and generating an audit report of the parameter configuration by using the comparison result.
  • the APP acquires the first instance data configured in the controller and the second instance data in the device, wherein the parameter is configured to manage the corresponding service in the controller and the device;
  • the instance data is compared with the second instance data, and the comparison result is generated to generate an audit report of the parameter configuration described above. Comparing the parameter configuration in the controller and the device, the user can clearly find out whether the parameter configuration is consistent between the controller and the device by using the generated comparison result. Therefore, the problem that the parameter configuration cannot be known can be solved, and the effect of understanding the parameter configuration situation can be achieved.
  • the execution body of the above steps may be a terminal or the like, but is not limited thereto.
  • the general structural model may be a structural model that is configured in a uniform format by pre-setting, that is, all parameters, that is, all parameter configurations may be used, and the structural documents of the parameter configuration are compared to the general structural model.
  • the structure document contains the various attribute nodes of the parameter configuration.
  • all parameter configurations can be unified into the same format for subsequent comparison.
  • the general data model has the same function as the general structural model described above, that is, the instance data is unified into the same format to facilitate data comparison. Converting the first implementation data and the second instance data into a unified format (the first data document, the second data document) for comparison improves the efficiency of the comparison.
  • the structural document of the parameter configuration includes at least one of the following: a structural document including a single attribute of the parameter configuration; and a structural document including a composite attribute of the parameter configuration.
  • the structure document of the parameter configuration may include multiple single attributes and multiple composite attributes, and the number of attributes included in the composite attribute may be determined by actual configuration data on the controller or device, and the parameter configuration is increased. Sex.
  • converting the first instance data and the second instance data into the first data document and the second data file by using the foregoing structural document respectively includes: configuring an attribute hierarchical relationship according to the parameter configuration defined by the structural document.
  • the first instance data and the second instance data are converted into a first data document and a second data document, respectively.
  • the operation of converting the instance data according to the attribute hierarchical relationship configured by the parameter increases the accuracy of the conversion.
  • comparing the foregoing first data file with the second data file, and generating the audit report of the parameter configuration by comparing the result includes: traversing the instance data of the parameter configuration in the first data file and Instance data of the parameter configuration in the second data document; comparing the attribute value of the instance data in the first data document with the attribute value of the instance data in the second data document; the instance data in the first data document The first data document and the second data document are added to the instance pair list if the attribute value is the same as the attribute value of the instance data in the second data document; the attribute value of the instance data in the first data document is If the attribute values of the instance data in the second data document are different, adding the first data document to the first instance list, adding the second data document to the second instance list; filling the first instance list into the determination The first single configuration audit report data file; fill the second instance list into the determined second single configuration audit report data document Filling the above-mentioned instance pair list into the determined audit report data file according to the parameter configuration attribute relationship; forming the first single
  • the filling the first instance list into the determined first single configuration audit report data file includes: filling the node attribute value in the first instance list into the first single configuration audit report data. In the left node attribute value in the document, set the right node attribute value in the first single configuration audit report data file to null, and set the value to No in the equal attribute.
  • filling the foregoing second instance list into the determined second single configuration audit report data file includes: filling the node attribute value in the second instance list into the second single configuration audit report data file In the right node attribute value, set the left node attribute value in the first single configuration audit report data file to null, and set whether it is equal in the attribute to No.
  • filling in the foregoing audit report data file according to the attribute hierarchical relationship configured by the above example to the parameter configuration includes: filling in the attribute value of the first data file in the list of the above instance to the list In the left node attribute value in the audit report data file, the attribute value of the second data document is filled in the right node attribute value in the audit report data file.
  • the method further includes: when there is no attribute value in the first data document and the second data document, performing the child node in the first data document and the child node in the second data document Comparing; if the child node of the first data document is the same as the child node of the second data document, setting the attribute of the instance to the list equal to yes; in the child node of the first data document and the second data file In the case where the child nodes are the same, the attribute of whether the above instance is equal to the list is set to No.
  • it may be added to the instance pair list, and the attributes that are equal need to be filled according to the situation of the child nodes in the data document.
  • the foregoing structural document is determined by at least one of: constructing the structural document according to an attribute hierarchical relationship of a node configured by the parameter and a property structure of a node; and presetting the foregoing structure by using the general structural model; Documentation.
  • the type of the attribute configured by the parameter includes one of the following: an attribute of a single configuration type; an attribute of a composite configuration type.
  • Embodiments of the present invention provide a method for configuring a configuration saved in an audit controller and configuring the device and outputting an audit report. This method enables the user to timely and clearly understand the configuration of the controller (corresponding to the parameter configuration in the above) and the consistency of the configuration in the device, and provide a basis for the user to resolve the inconsistency problem.
  • This embodiment first defines a common configuration definition model (corresponding to the general structural model in the above) and a configuration instance data model (corresponding to the general data model in the above) for different types of configurations; defining the model according to the general configuration
  • Each type of configuration needs to provide a configuration definition structure document (corresponding to the structure document of the parameter configuration in the above) to accurately describe the structure of the data model of this configuration; according to the configuration definition structure document, the APP will be obtained from the controller Or the configuration acquired by the controller from the device is converted into a corresponding configuration data file (corresponding to the first data document, the second data document in the above), and finally the APP compares the two documents and outputs an audit report.
  • the switch or router based on the SDN network only has the logic of the forwarding plane (data plane), which is mainly based on the logic of the controller, and is implemented by the Openflow protocol (or other protocol).
  • the SDN controllers are interworking.
  • the SDN Controller A software system in the SDN network that implements forwarding logic and issues forwarding instructions to the SDN network device.
  • the SDN controller (Controller) implements interworking with the SDN network device through the Openflow protocol (or other protocol).
  • the APP according to the embodiment of the present invention is based on a WEB implementation, and invokes an interface provided by the controller for control and management through an application layer protocol (for example, a RESTFull interface or the like).
  • an application layer protocol for example, a RESTFull interface or the like.
  • Table 1 shows the structure of the configuration type definition document (ConfDef), which defines the attribute composition of the configuration type definition document and the hierarchical relationship between the attributes.
  • ConfDef configuration type definition document
  • Each configuration type can have multiple attributes, and the key attributes are used to determine the respective controllers. Whether the configuration instance of the device is a pair of instances with a mapping relationship.
  • Table 2 shows the structure of the attribute node (AttrNodeDef) in the configuration type definition document, which is used to define an attribute node; the attribute node can be defined as a simple type or a composite type; one of the attribute nodes of the composite type with the singleton pattern must be hung. A sub-configuration instance, a matching type attribute node with multiple instances of mode can hang an indefinite number of sub-configuration instances.
  • Table 3 shows the structure (Conf) of the configuration instance data file, which defines the general data structure of the data document that stores the single configuration instance.
  • the specific attribute hierarchy relationship is described by the corresponding Configuration Type Definition Document.
  • Table 4 shows the structure of the attribute node (AttrNode) in the configuration instance data file
  • Table 5 shows the structure of the configuration instance list data document (ConfList), which defines a general data structure for storing multiple configuration instance data.
  • Table 6 shows the structure of the configuration audit report data document (AuditConfList), which defines the general data structure for storing the configuration audit report data.
  • Table 7 shows the structure of the single configuration instance audit report data file (AuditConf), which defines the general data structure of the audit report data for storing a single configuration instance; the hierarchical relationship between attributes and attributes is described by the corresponding "configuration type definition document”. .
  • Table 8 configures the structure of the attribute node pair (AttrNodePair).
  • the APP acquires a "configuration type definition document" (corresponding to the structure document of the parameter configuration in the above) in which the configuration type is pre-written.
  • the following code shows an example of a configuration type definition document (ConfDef):
  • Sub-configuration instance size SIMPLE
  • Sub configuration type sub configuration B
  • attribute 1 corresponding to the structure document of the composite attribute in the above
  • attribute 2 corresponding to the structure document of the single attribute in the above
  • attribute 3 corresponding to the structure document of the single attribute in the above
  • Sub-Configuration A corresponding to the structure document of the composite attribute in the above
  • Sub-Configuration B corresponding to the structure document of the composite attribute in the above
  • the attribute of the type corresponding to the structure document of the composite attribute in the above
  • the attribute "sub-configuration A” is a singleton mode, and must have an instance that can only have one sub-configuration A
  • attribute "sub-configuration A” is a multi-case mode.
  • the number of instances with sub-configuration B depends on the actual configuration data on the controller or on the device, as shown in the following code:
  • the APP obtains all the instance data of the configuration type (corresponding to the first instance data in the above, the second instance data) from the controller and the device, and the attribute hierarchy defined by the “configuration type definition document” obtained in the above.
  • the relationship constructs the instance data into a "configuration instance list data document", which is referred to as a left instance list and a right instance list for the simplified description (corresponding to the first data file and the above respectively) Second instance document); the code shown below is an example of a left instance list and a right instance list;
  • the APP traverses the instance in the left instance list, compares the key attribute value with each right instance through the left instance, and if it can find the right instance whose each key attribute value is equal, they are considered to be "left and right instance pairs" (corresponding to the above Instance pair list); if the right instance is not found, it is called “left single instance”; similarly, the right instance is not found in the right instance list, which is called “single right instance”.
  • the APP groups all the left-hand instances into a "left-hand list” (corresponding to the first instance list in the above), and groups all the right-hand instances into a "single-right instance list" (corresponding to the above-mentioned list) Second instance list), all the left and right instance pairs are composed of "left and right instance pair list”.
  • the APP first fills in the left instance to the audit report data file with the structure of “configure the audit report data file”, and each “left-form example” is filled into a structure that conforms to the “single configuration instance audit report data document”. "Data file, its node attribute is filled in the "left node attribute value”, “right node attribute value” is set to empty, "whether equal” is set to "no”;
  • the APP fills in the “left and right instance pairs” into the audit report data file according to the attribute hierarchy relationship, and each “left and right instance pair” is filled in a “single configuration instance audit report data file”, and the attribute value of the left instance is filled in and written to In the "left node attribute value”, the attribute value of the right instance is filled in to the "right node attribute value”, and the "equal" attribute value of the node is filled by comparing the left and right node attribute values; if the current node has no attribute value, It is necessary to judge whether all the child nodes of the current node are all equal, as long as one is not equal, then the current node must also be set to "not equal”;
  • the APP adds the right instance to the data file of the audit report according to the attribute hierarchy relationship, and each “single right instance” is filled in a data file conforming to the “structure of the single configuration instance audit report data document”, and its node Fill in the attribute to the "right node attribute value”, the corresponding "left node attribute value” is set to empty, "if equal” is set to "no";
  • the APP combines the obtained audit report data with the configuration type internationalization name and the attribute internationalization name in the "configuration type definition document" obtained in step 1, and can conveniently render the user's needs as shown in FIG.
  • the audit report in this report, the content corresponding to the nodes with different differences is represented by a bold font.
  • the present invention provides a general audit configuration method, which uses this embodiment to complete the configuration audit between the controller and the device, and provides a detailed configuration audit report to the management personnel of the SDN network.
  • This scheme can also be used to perform auditing of data between various systems.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • a processing device for parameter configuration is further provided, and the device is configured to implement the foregoing embodiments and preferred embodiments, and details are not described herein.
  • the term "module” may implement a combination of software and/or hardware for a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 5 is a structural block diagram of a processing device for parameter configuration according to an embodiment of the present invention. As shown in FIG. 5, the device includes: a determining module 52, a converting module 54, and a generating module 56. The device is described in detail below:
  • a determining module 52 configured to acquire first instance data configured in the controller and second instance data in the device according to the determined universal data model, wherein the parameter configuration is configured to manage the controller and the foregoing device The corresponding service;
  • the conversion module 54 is connected to the determining module 52 in the above, configured to convert the first instance data and the second instance data into the first data file and the second respectively by using the structural file of the determined parameter configuration a data file, wherein the attribute of the parameter configuration is defined in the structure document;
  • the generating module 56 is coupled to the conversion module 54 in the above, configured to compare the first data file with the second data file, and compare The result is an audit report that configures the above parameters.
  • the conversion module includes: a conversion unit configured to convert the first instance data and the second instance data into the first according to an attribute hierarchy relationship of the parameter configuration defined by the structure document The data document and the second data document described above.
  • the structural document of the parameter configuration includes at least one of the following: a structural document including a single attribute of the parameter configuration; and a structural document including a composite attribute of the parameter configuration.
  • the foregoing apparatus compares the first data file and the second data file by comparing the result to generate an audit report of the parameter configuration: traversing the parameter configuration in the first data file Instance data and instance data of the parameter configuration in the second data document; comparing an attribute value of the instance data in the first data document with an attribute value of the instance data in the second data document; in the first data file The first data document and the second data document are added to the instance pair list if the attribute value of the instance data is the same as the attribute value of the instance data in the second data document; the attribute of the instance data in the first data document If the value is different from the attribute value of the instance data in the second data document, adding the first data document to the first instance list, adding the second data document to the second instance list; Fill in the determined first single configuration audit report data file; fill in the second instance list above to determine the second single configuration In the audit report data file; fill in the above-mentioned instance to the determined audit report data file according to the attribute hierarchical relationship configured by the above parameters; the first single
  • the foregoing apparatus fills in the first instance list into the determined first single configuration audit report data file by filling in the node attribute value in the first instance list into the first single configuration.
  • the left node attribute value in the audit report data file set the right node attribute value in the first single configuration audit report data file to null, and set whether the attribute is equal to No.
  • the foregoing apparatus fills in the second instance list into the determined second single configuration audit report data file by filling in the node attribute value in the second instance list to the second single configuration audit.
  • the left node attribute value in the first single configuration audit report data document is set to null, and the equal attribute is set to No.
  • the foregoing apparatus fills in the foregoing audit report data file according to the attribute hierarchical relationship of the parameter configuration according to the parameter configuration in the following manner: the first instance of the list is in the first data file in the list. The attribute value is filled in the left node attribute value in the audit report data file, and the attribute value of the second data document is filled in the right node attribute value in the audit report data file.
  • the apparatus further includes: a comparing module configured to: when the first data document and the second data document have no attribute values, the child node and the second data file in the first data file The child nodes in the comparison are compared; if the child nodes of the first data document are the same as the child nodes of the second data document, the attributes of whether the above instance is equal in the list are set to Yes; in the child node of the first data document In the case of the same child node of the second data document, the attribute of whether the above example is equal to the list is set to No.
  • a comparing module configured to: when the first data document and the second data document have no attribute values, the child node and the second data file in the first data file The child nodes in the comparison are compared; if the child nodes of the first data document are the same as the child nodes of the second data document, the attributes of whether the above instance is equal in the list are set to Yes; in the child node of the first data document In the case of the same child node of the second data document,
  • the foregoing structural document is determined by at least one of: constructing the structural document according to an attribute hierarchical relationship of a node configured by the parameter and a property structure of a node; and presetting the foregoing structure by using the general structural model; Documentation.
  • the type of the attribute configured by the parameter includes one of the following: an attribute of a single configuration type; an attribute of a composite configuration type.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • the embodiment of the present invention further provides a storage medium, where the storage medium includes a stored program, wherein the processing method of the parameter configuration provided by the embodiment of the present invention is executed when the program is running.
  • the storage medium may be configured to store program code configured to perform the above steps.
  • the foregoing storage medium may include, but is not limited to, a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.
  • ROM read-only memory
  • RAM random access memory
  • mobile hard disk a magnetic disk
  • optical disk a variety of media that can store program code.
  • the embodiment of the present invention further provides a processor configured to run a program, wherein the program is executed to perform the steps in the processing method of the parameter configuration provided by the embodiment of the present invention.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Human Computer Interaction (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Disclosed in the present invention are a processing method and device for parameter configuration, a storage medium and a processor, the method comprising: acquiring first instance data of the parameter configuration in a controller and second instance data of the parameter configuration in an equipment according to a determined universal data model, the parameter configuration being used to manage the corresponding services in the controller and the equipment; converting the first instance data and the second instance data into a first data document and a second data document using a determined construction document of the parameter configuration, the construction document defining the property of the parameter configuration; and comparing the first data document to the second data document and generating the comparison result into an audit report of the parameter configuration.

Description

参数配置的处理方法、装置、存储介质及处理器Parameter configuration processing method, device, storage medium and processor
相关申请的交叉引用Cross-reference to related applications
本申请基于申请号为201810129569.6、申请日为2018年02月08日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。The present application is filed on the basis of the Chinese Patent Application No. 201101129569.6, filed on Jan. 08.
技术领域Technical field
本发明涉及但不限于通信领域,尤其涉及一种参数配置的处理方法、装置、存储介质及处理器。The present invention relates to, but is not limited to, the field of communications, and in particular, to a method, an apparatus, a storage medium, and a processor for processing a parameter.
背景技术Background technique
软件定义网络(Soft Defined Network,SDN)常见的结构如图1所示,应用软件(Application,APP)将用户在图形用户界面(Graphical User Interface,GUI)上编辑好的配置(对应于上述中的参数配置)下发到控制器,控制器把配置存储在本地,同时还将配置下发到各个设备。如果用户通过APP来维护配置,控制器上保存的配置和设备中配置应该总是一致的。然而实际运营环境中,经常出现控制器中保存的配置和设备中的配置不一致的情况,原因是多样的,可能是系统本身故障、维护人员的错误的操作等,总之没有办法可以绝对保证用户期望的一致性。但相关技术中并不存在如何获知不一致的配置的情况,导致用户并不能明确的知道不一致的配置有哪些,造成配置维护的复杂性。The common structure of Software Defined Network (SDN) is shown in Figure 1. The application software (Application, APP) edits the user's configuration on the Graphical User Interface (GUI) (corresponding to the above). The parameter configuration is delivered to the controller, and the controller stores the configuration locally, and also sends the configuration to each device. If the user maintains the configuration through the APP, the configuration saved on the controller and the configuration in the device should always be the same. However, in the actual operating environment, the configuration saved in the controller and the configuration in the device are often inconsistent. The reasons are various, which may be the failure of the system itself, the wrong operation of the maintenance personnel, etc. In short, there is no way to absolutely guarantee the user's expectation. Consistency. However, in the related art, there is no case of how to obtain an inconsistent configuration, and the user cannot clearly know which configurations are inconsistent, resulting in complexity of configuration maintenance.
发明内容Summary of the invention
有鉴于此,本发明实施例期望提供一种参数配置的处理方法、装置、存储介质及处理器,以至少解决相关技术中不能获知参数配置的情况的问 题。In view of this, the embodiments of the present invention are directed to a method, an apparatus, a storage medium, and a processor for processing a parameter configuration, so as to at least solve the problem that the parameter configuration cannot be known in the related art.
本发明实施例提供了一种参数配置的处理方法,包括:按照确定的通用的数据模型获取参数配置在控制器中的第一实例数据和在设备中的第二实例数据,其中,所述参数配置用于管理所述控制器和所述设备中的对应的业务;利用确定的参数配置的结构文档分别将所述第一实例数据和所述第二实例数据转换为第一数据文档和第二数据文档,其中,所述结构文档中定义了所述参数配置的属性;将所述第一数据文档和所述第二数据文档进行比较,并将比较结果生成所述参数配置的审计报告。An embodiment of the present invention provides a method for processing a parameter configuration, including: acquiring first instance data configured in a controller and second instance data in a device according to the determined universal data model, where the parameter Configuring to manage corresponding services in the controller and the device; converting the first instance data and the second instance data into a first data document and a second respectively using a structural document configured by the determined parameter a data document, wherein attributes of the parameter configuration are defined in the structure document; the first data document and the second data file are compared, and the comparison result is generated to generate an audit report of the parameter configuration.
上述方案中,利用所述结构文档分别将所述第一实例数据和所述第二实例数据转换为所述第一数据文档和所述第二数据文档包括:按照所述结构文档定义的所述参数配置的属性层次关系分别将所述第一实例数据和所述第二实例数据转换为所述第一数据文档和所述第二数据文档。In the above solution, converting the first instance data and the second instance data into the first data document and the second data document by using the structural document respectively, according to the definition of the structural document The attribute hierarchy of the parameter configuration converts the first instance data and the second instance data into the first data document and the second data document, respectively.
上述方案中,将所述第一数据文档和所述第二数据文档进行比较,并将比较结果生成所述参数配置的审计报告包括:遍历所述第一数据文档中的所述参数配置的实例数据和所述第二数据文档中的所述参数配置的实例数据;将所述第一数据文档中的实例数据的属性值与所述第二数据文档中的实例数据的属性值进行比较;在所述第一数据文档中的实例数据的属性值与所述第二数据文档中的实例数据的属性值相同的情况下,将所述第一数据文档和所述第二数据文档添加到实例对列表中;在所述第一数据文档中的实例数据的属性值与所述第二数据文档中的实例数据的属性值不同的情况下,将所述第一数据文档添加到第一实例列表中,将所述第二数据文档添加到第二实例列表中;将所述第一实例列表填写到确定的第一单配置审计报告数据文档中;将所述第二实例列表填写到确定的第二单配置审计报告数据文档中;将所述实例对列表按照所述参数配置的属性层次关系填写到确定的审计报告数据文档中;将确定的所述第一单配置审计报告数据文档、所述第二单配置审计报告数据文档以及所述审计报告数据文档组成 所述参数配置的审计报告。In the above solution, comparing the first data file with the second data file, and generating the audit report of the parameter configuration by comparing the result comprises: traversing an instance of the parameter configuration in the first data file Data and instance data of the parameter configuration in the second data document; comparing an attribute value of instance data in the first data document with an attribute value of instance data in the second data document; Adding the first data document and the second data document to an instance pair if the attribute value of the instance data in the first data document is the same as the attribute value of the instance data in the second data document In the list; adding the first data document to the first instance list if the attribute value of the instance data in the first data document is different from the attribute value of the instance data in the second data document Adding the second data file to the second instance list; filling the first instance list into the determined first single configuration audit report data file; The example list is filled in the determined second single configuration audit report data file; the instance pair list is filled into the determined audit report data file according to the attribute hierarchical relationship configured by the parameter; the first single configuration to be determined The audit report data document, the second single configuration audit report data file, and the audit report data file constitute an audit report of the parameter configuration.
上述方案中,将所述第一实例列表填写到确定的所述第一单配置审计报告数据文档中包括:将所述第一实例列表中的节点属性值填写到所述第一单配置审计报告数据文档中的左节点属性值中,将所述第一单配置审计报告数据文档中的右节点属性值设置为空,是否相等的属性中设置为否。In the foregoing solution, the filling the first instance list into the determined first single configuration audit report data file includes: filling the node attribute value in the first instance list into the first single configuration audit report. In the left node attribute value in the data document, the right node attribute value in the first single configuration audit report data file is set to null, and whether the equal attribute is set to No.
上述方案中,将所述第二实例列表填写到确定的所述第二单配置审计报告数据文档中包括:将所述第二实例列表中的节点属性值填写到所述第二单配置审计报告数据文档中的右节点属性值中,将所述第一单配置审计报告数据文档中的左节点属性值设置为空,是否相等的属性中设置为否。In the above solution, the filling the second instance list into the determined second single configuration audit report data file includes: filling the node attribute value in the second instance list into the second single configuration audit report. In the right node attribute value in the data document, the left node attribute value in the first single configuration audit report data document is set to null, and whether the equal attribute is set to No.
上述方案中,将所述实例对列表按照所述参数配置的属性层次关系填写到确定的所述审计报告数据文档中包括:将所述实例对列表中的第一数据文档的属性值填写到所述审计报告数据文档中的左节点属性值中,将所述第二数据文档的属性值填写到所述审计报告数据文档中的右节点属性值中。In the above solution, the filling of the instance pair list according to the attribute hierarchical relationship of the parameter configuration into the determined audit report data file includes: filling in the attribute value of the first data file in the instance pair list into the In the left node attribute value in the audit report data file, the attribute value of the second data document is filled into the right node attribute value in the audit report data file.
上述方案中,所述方法还包括:在所述第一数据文档和所述第二数据文档中没有属性值时,将所述第一数据文档中的子节点与所述第二数据文档中的子节点进行比较;在所述第一数据文档的子节点与所述第二数据文档的子节点相同的情况下,将所述实例对列表中是否相等的属性设置为是;在所述第一数据文档的子节点与所述第二数据文档的子节点相同的情况下,将所述实例对列表中是否相等的属性设置为否。In the above solution, the method further includes: when there is no attribute value in the first data document and the second data document, the child node in the first data document and the second data file The child node compares; if the child node of the first data document is the same as the child node of the second data document, setting the attribute of the instance pair list to be equal to yes; In the case where the child nodes of the data document are identical to the child nodes of the second data document, the attribute of whether the instance pair is equal in the list is set to No.
上述方案中,所述参数配置的结构文档包括以下至少之一:包括所述参数配置的单一属性的结构文档;包括所述参数配置的复合属性的结构文档。In the above solution, the structural document of the parameter configuration includes at least one of the following: a structural document including a single attribute of the parameter configuration; and a structural document including a composite attribute of the parameter configuration.
本发明实施例还提供一种参数配置的处理装置,包括:确定模块,配置为按照确定的通用的结构模型确定参数配置的结构文档,其中,所述结构文档中定义了所述参数配置的属性,所述参数配置用于管理控制器和设 备中的对应的业务;获取模块,配置为按照确定的通用的数据模型获取所述参数配置在所述控制器中的第一实例数据和在所述设备中的第二实例数据;转换模块,配置为利用所述结构文档分别将所述第一实例数据和所述第二实例数据转换为第一数据文档和第二数据文档;生成模块,配置为将所述第一数据文档和所述第二数据文档进行比较,并将比较结果生成所述参数配置的审计报告。The embodiment of the invention further provides a processing device for parameter configuration, comprising: a determining module, configured to determine a structural file of the parameter configuration according to the determined general structural model, wherein the parameter configuration defines the attribute of the parameter configuration The parameter is configured to manage a corresponding service in the controller and the device; the acquiring module is configured to acquire the first instance data configured in the controller according to the determined universal data model and in the a second instance data in the device; a conversion module configured to convert the first instance data and the second instance data into a first data document and a second data document by using the structural document respectively; and generating a module configured to The first data document and the second data document are compared, and the comparison result is generated to generate an audit report of the parameter configuration.
上述方案中,所述转换模块包括:转换单元,配置为按照所述结构文档定义的所述参数配置的属性层次关系分别将所述第一实例数据和所述第二实例数据转换为所述第一数据文档和所述第二数据文档。In the above solution, the conversion module includes: a conversion unit configured to convert the first instance data and the second instance data into the first according to an attribute hierarchical relationship of the parameter configuration defined by the structure document a data document and the second data document.
上述方案中,所述获取模块包括:获取单元,配置为按照确定的通用的数据模型获取所述参数配置在所述控制器中的第一实例数据和在设备中的第二实例数据。In the above solution, the obtaining module includes: an acquiring unit configured to acquire, according to the determined universal data model, the first instance data configured in the controller and the second instance data in the device.
上述方案中,通过以下方式至少之一确定所述结构文档:基于所述参数配置的节点的属性层次关系以及节点的属性结构构建所述结构文档;利用所述通用的结构模型预设所述结构文档。In the above solution, the structural document is determined by at least one of: constructing the structural document based on an attribute hierarchical relationship of a node configured by the parameter and an attribute structure of a node; and prescribing the structure by using the universal structural model Documentation.
上述方案中,所述参数配置的属性的类型包括以下之一:单配置类型的属性;复合配置类型的属性。In the above solution, the type of the attribute configured by the parameter includes one of the following: an attribute of a single configuration type; an attribute of a composite configuration type.
本发明实施例还提供了一种存储介质,所述存储介质包括存储的程序,其中,所述程序运行时执行本发明实施例提供的上述参数配置的处理方法。The embodiment of the present invention further provides a storage medium, where the storage medium includes a stored program, where the program is executed to execute the processing method of the parameter configuration provided by the embodiment of the present invention.
本发明实施例还提供了一种处理器,所述处理器,配置为运行程序,其中,所述程序运行时执行本发明实施例提供的上述参数配置的处理方法。The embodiment of the present invention further provides a processor, where the processor is configured to run a program, where the program is executed to execute the processing method of the parameter configuration provided by the embodiment of the present invention.
通过本发明实施例,由于APP在获取参数配置在控制器中的第一实例数据和在设备中的第二实例数据之后,其中,参数配置用于管理控制器和设备中的对应的业务;将第一实例数据和第二实例数据进行比较,并将比较结果生成所述参数配置的审计报告。即将控制器和设备中的参数配置进行比较,利用生成的比较结果,用户可以明确的查找参数配置在控制器和 设备中是否一致。因此,可以解决不能获知参数配置的情况的问题,达到方便了解参数配置情况的效果。According to the embodiment of the present invention, after the APP acquires the first instance data configured in the controller and the second instance data in the device, where the parameter is configured to manage the corresponding service in the controller and the device; The first instance data is compared with the second instance data, and the comparison result is generated to generate an audit report of the parameter configuration. Comparing the parameter configuration in the controller and the device, the user can clearly find out whether the parameter configuration is consistent between the controller and the device by using the generated comparison result. Therefore, the problem that the parameter configuration cannot be known can be solved, and the effect of understanding the parameter configuration situation can be achieved.
附图说明DRAWINGS
图1是相关技术中SDN网络的结构示意图;1 is a schematic structural diagram of an SDN network in related art;
图2是本发明实施例的一种参数配置的处理方法的移动终端的硬件结构框图;2 is a block diagram showing the hardware structure of a mobile terminal for processing a parameter configuration method according to an embodiment of the present invention;
图3是本发明实施例的参数配置的处理方法的流程图;3 is a flowchart of a method for processing a parameter configuration according to an embodiment of the present invention;
图4是本发明实施例中生成的审计报告的示意图;4 is a schematic diagram of an audit report generated in an embodiment of the present invention;
图5是本发明实施例的参数配置的处理装置的结构框图。FIG. 5 is a structural block diagram of a processing apparatus for parameter configuration according to an embodiment of the present invention.
具体实施方式Detailed ways
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
本申请实施例一所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在移动终端上为例,图2是本发明实施例的一种参数配置的处理方法的移动终端的硬件结构框图。如图2所示,移动终端20可以包括一个或多个(图2中仅示出一个)处理器202(处理器202可以包括但不限于微处理器(Microcontroller Unit,MCU)或可编程逻辑器件(Field-Programmable Gate Array,FPGA)等的处理装置)、配置为存储数据的存储器204、以及配置为通信功能的传输装置206。本领域普通技术人员可以理解,图2所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,移动终端20还可包括比图2中所示更多或者更少 的组件,或者具有与图2所示不同的配置。The method embodiment provided in Embodiment 1 of the present application can be executed in a mobile terminal, a computer terminal or the like. Taking a mobile terminal as an example, FIG. 2 is a hardware structural block diagram of a mobile terminal for processing a parameter configuration method according to an embodiment of the present invention. As shown in FIG. 2, mobile terminal 20 may include one or more (only one of which is shown in FIG. 2) processor 202 (processor 202 may include, but is not limited to, a Microcontroller Unit (MCU) or a programmable logic device. A processing device such as a Field-Programmable Gate Array (FPGA), a memory 204 configured to store data, and a transfer device 206 configured as a communication function. It will be understood by those skilled in the art that the structure shown in FIG. 2 is merely illustrative and does not limit the structure of the above electronic device. For example, the mobile terminal 20 may also include more or fewer components than those shown in FIG. 2, or have a different configuration than that shown in FIG. 2.
存储器204可配置为存储应用软件的软件程序以及模块,如本发明实施例中的参数配置的处理方法对应的程序指令/模块,处理器202通过运行存储在存储器204内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器204可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器204还可包括相对于处理器202远程设置的存储器,这些远程存储器可以通过网络连接至移动终端20。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 204 can be configured as a software program and a module for storing application software, such as program instructions/modules corresponding to the processing method of the parameter configuration in the embodiment of the present invention, and the processor 202 runs the software program and the module stored in the memory 204, thereby The above methods are implemented by performing various functional applications and data processing. Memory 204 can include high speed random access memory and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, memory 204 may also include memory remotely located relative to processor 202, which may be connected to mobile terminal 20 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
传输装置206配置为经由一个网络接收或者发送数据。上述的网络具体实例可包括移动终端20的通信供应商提供的无线网络。在一个实例中,传输装置206包括一个网络适配器(Network Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置206可以为射频(Radio Frequency,RF)模块,其配置为通过无线方式与互联网进行通讯。Transmission device 206 is configured to receive or transmit data via a network. The above specific network example may include a wireless network provided by a communication provider of the mobile terminal 20. In one example, transmission device 206 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet. In one example, the transmission device 206 can be a Radio Frequency (RF) module configured to communicate with the Internet wirelessly.
本发明实施例提供了一种参数配置的处理方法,图3是根据本发明实施例的参数配置的处理方法的流程图,如图3所示,该流程包括如下步骤:The embodiment of the present invention provides a method for processing a parameter configuration. FIG. 3 is a flowchart of a method for processing a parameter configuration according to an embodiment of the present invention. As shown in FIG. 3, the process includes the following steps:
步骤S302,按照确定的通用的数据模型获取参数配置在控制器中的第一实例数据和在设备中的第二实例数据,其中,上述参数配置用于管理上述控制器和上述设备中的对应的业务;Step S302, acquiring first instance data configured in the controller and second instance data in the device according to the determined universal data model, wherein the parameter configuration is configured to manage the corresponding one of the controller and the foregoing device. business;
步骤S304,利用确定的参数配置的结构文档分别将上述第一实例数据和上述第二实例数据转换为第一数据文档和第二数据文档,其中,上述结构文档中定义了上述参数配置的属性;Step S304, the first instance data and the second instance data are respectively converted into the first data file and the second data file by using the determined parameter configuration file, wherein the attribute of the parameter configuration is defined in the structure document;
步骤S306,将上述第一数据文档和上述第二数据文档进行比较,并将比较结果生成上述参数配置的审计报告。Step S306, comparing the first data file with the second data file, and generating an audit report of the parameter configuration by using the comparison result.
通过上述步骤,由于APP在获取参数配置在控制器中的第一实例数据和在设备中的第二实例数据之后,其中,参数配置用于管理控制器和设备中的对应的业务;将第一实例数据和第二实例数据进行比较,并将比较结果生成上述参数配置的审计报告。即将控制器和设备中的参数配置进行比较,利用生成的比较结果用户可以明确的查找参数配置在控制器和设备中是否一致。因此,可以解决不能获知参数配置的情况的问题,达到方便了解参数配置情况的效果。Through the above steps, after the APP acquires the first instance data configured in the controller and the second instance data in the device, wherein the parameter is configured to manage the corresponding service in the controller and the device; The instance data is compared with the second instance data, and the comparison result is generated to generate an audit report of the parameter configuration described above. Comparing the parameter configuration in the controller and the device, the user can clearly find out whether the parameter configuration is consistent between the controller and the device by using the generated comparison result. Therefore, the problem that the parameter configuration cannot be known can be solved, and the effect of understanding the parameter configuration situation can be achieved.
在实际应用中,上述步骤的执行主体可以为终端等,但不限于此。In an actual application, the execution body of the above steps may be a terminal or the like, but is not limited thereto.
在本实施例中,通用的结构模型可以是通过预先设定的,即所有的参数配置统一格式的结构模型,即所有的参数配置都可以使用,参数配置的结构文档是对通用的结构模型比较精细的描述。结构文档中包含了参数配置的各个属性节点。通过通用的结构模型可以将所有的参数配置统一成相同的格式,方便后续的比较。通用的数据模式与上述中通用的结构模型的作用相同,即是将实例数据统一成相同的格式,方便数据的比较。将第一实施数据和第二实例数据转换为统一的格式(第一数据文档,第二数据文档)进行比较,提高了比较的效率。In this embodiment, the general structural model may be a structural model that is configured in a uniform format by pre-setting, that is, all parameters, that is, all parameter configurations may be used, and the structural documents of the parameter configuration are compared to the general structural model. A fine description. The structure document contains the various attribute nodes of the parameter configuration. Through the common structural model, all parameter configurations can be unified into the same format for subsequent comparison. The general data model has the same function as the general structural model described above, that is, the instance data is unified into the same format to facilitate data comparison. Converting the first implementation data and the second instance data into a unified format (the first data document, the second data document) for comparison improves the efficiency of the comparison.
在一个可选的实施例中,上述参数配置的结构文档包括以下至少之一:包括上述参数配置的单一属性的结构文档;包括上述参数配置的复合属性的结构文档。在本实施例中,参数配置的结构文档中可以包括多个单一属性和多个复合属性,复合属性中包括的属性数量可以由控制器或设备上的实际配置数据决定,增加了参数配置的多样性。In an optional embodiment, the structural document of the parameter configuration includes at least one of the following: a structural document including a single attribute of the parameter configuration; and a structural document including a composite attribute of the parameter configuration. In this embodiment, the structure document of the parameter configuration may include multiple single attributes and multiple composite attributes, and the number of attributes included in the composite attribute may be determined by actual configuration data on the controller or device, and the parameter configuration is increased. Sex.
在一个可选的实施例中,利用上述结构文档分别将第一实例数据和第二实例数据转换为第一数据文档和第二数据文档包括:按照上述结构文档定义的上述参数配置的属性层次关系分别将第一实例数据和第二实例数据转换为第一数据文档和第二数据文档。在本实施例中,上述根据参数配置的属性层次关系将实例数据进行转换的操作,增加了转换的准确性。In an optional embodiment, converting the first instance data and the second instance data into the first data document and the second data file by using the foregoing structural document respectively includes: configuring an attribute hierarchical relationship according to the parameter configuration defined by the structural document. The first instance data and the second instance data are converted into a first data document and a second data document, respectively. In this embodiment, the operation of converting the instance data according to the attribute hierarchical relationship configured by the parameter increases the accuracy of the conversion.
在一个可选的实施例中,将上述第一数据文档和第二数据文档进行比较,并将比较结果生成上述参数配置的审计报告包括:遍历第一数据文档中的上述参数配置的实例数据和第二数据文档中的上述参数配置的实例数据;将上述第一数据文档中的实例数据的属性值与第二数据文档中的实例数据的属性值进行比较;在第一数据文档中的实例数据的属性值与第二数据文档中的实例数据的属性值相同的情况下,将第一数据文档和第二数据文档添加到实例对列表中;在第一数据文档中的实例数据的属性值与第二数据文档中的实例数据的属性值不同的情况下,将第一数据文档添加到第一实例列表中,将第二数据文档添加到第二实例列表中;将第一实例列表填写到确定的第一单配置审计报告数据文档中;将第二实例列表填写到确定的第二单配置审计报告数据文档中;将上述实例对列表按照参数配置的属性层次关系填写到确定的审计报告数据文档中;将确定的第一单配置审计报告数据文档、第二单配置审计报告数据文档以及上述审计报告数据文档组成上述参数配置的审计报告。在本实施例中,根据不同的比较结果生成不同的实例列表,并将不同的实例列表组成审计报告,使得审计报告中涵盖了不同的可能性,增加了后期查找的方便。In an optional embodiment, comparing the foregoing first data file with the second data file, and generating the audit report of the parameter configuration by comparing the result includes: traversing the instance data of the parameter configuration in the first data file and Instance data of the parameter configuration in the second data document; comparing the attribute value of the instance data in the first data document with the attribute value of the instance data in the second data document; the instance data in the first data document The first data document and the second data document are added to the instance pair list if the attribute value is the same as the attribute value of the instance data in the second data document; the attribute value of the instance data in the first data document is If the attribute values of the instance data in the second data document are different, adding the first data document to the first instance list, adding the second data document to the second instance list; filling the first instance list into the determination The first single configuration audit report data file; fill the second instance list into the determined second single configuration audit report data document Filling the above-mentioned instance pair list into the determined audit report data file according to the parameter configuration attribute relationship; forming the first single configuration audit report data file, the second single configuration audit report data file, and the above audit report data file Audit report for the above parameter configuration. In this embodiment, different instance lists are generated according to different comparison results, and different instance lists are composed of audit reports, so that different possibilities are covered in the audit report, which increases the convenience of later searching.
在一个可选的实施例中,将上述第一实例列表填写到确定的第一单配置审计报告数据文档中包括:将第一实例列表中的节点属性值填写到上述第一单配置审计报告数据文档中的左节点属性值中,将第一单配置审计报告数据文档中的右节点属性值设置为空,是否相等的属性中设置为否。In an optional embodiment, the filling the first instance list into the determined first single configuration audit report data file includes: filling the node attribute value in the first instance list into the first single configuration audit report data. In the left node attribute value in the document, set the right node attribute value in the first single configuration audit report data file to null, and set the value to No in the equal attribute.
在一个可选的实施例中,将上述第二实例列表填写到确定的第二单配置审计报告数据文档中包括:将第二实例列表中的节点属性值填写到第二单配置审计报告数据文档中的右节点属性值中,将第一单配置审计报告数据文档中的左节点属性值设置为空,是否相等的属性中设置为否。In an optional embodiment, filling the foregoing second instance list into the determined second single configuration audit report data file includes: filling the node attribute value in the second instance list into the second single configuration audit report data file In the right node attribute value, set the left node attribute value in the first single configuration audit report data file to null, and set whether it is equal in the attribute to No.
在一个可选的实施例中,将上述实例对列表按照上述参数配置的属性层次关系填写到确定的上述审计报告数据文档中包括:将上述实例对列表 中的第一数据文档的属性值填写到上述审计报告数据文档中的左节点属性值中,将第二数据文档的属性值填写到上述审计报告数据文档中的右节点属性值中。In an optional embodiment, filling in the foregoing audit report data file according to the attribute hierarchical relationship configured by the above example to the parameter configuration includes: filling in the attribute value of the first data file in the list of the above instance to the list In the left node attribute value in the audit report data file, the attribute value of the second data document is filled in the right node attribute value in the audit report data file.
在一个可选的实施例中,上述方法还包括:在上述第一数据文档和第二数据文档中没有属性值时,将第一数据文档中的子节点与第二数据文档中的子节点进行比较;在第一数据文档的子节点与第二数据文档的子节点相同的情况下,将实例对列表中是否相等的属性设置为是;在第一数据文档的子节点与第二数据文档的子节点相同的情况下,将上述实例对列表中是否相等的属性设置为否。在本实施例中,在第一数据文档和第二数据文档中没有属性值时,可以添加到实例对列表中,是否相等的属性则需要根据数据文档中的子节点的情况进行填写。In an optional embodiment, the method further includes: when there is no attribute value in the first data document and the second data document, performing the child node in the first data document and the child node in the second data document Comparing; if the child node of the first data document is the same as the child node of the second data document, setting the attribute of the instance to the list equal to yes; in the child node of the first data document and the second data file In the case where the child nodes are the same, the attribute of whether the above instance is equal to the list is set to No. In this embodiment, when there is no attribute value in the first data document and the second data document, it may be added to the instance pair list, and the attributes that are equal need to be filled according to the situation of the child nodes in the data document.
在一个可选的实施例中,通过以下方式至少之一确定上述结构文档:基于上述参数配置的节点的属性层次关系以及节点的属性结构构建上述结构文档;利用上述通用的结构模型预设上述结构文档。In an optional embodiment, the foregoing structural document is determined by at least one of: constructing the structural document according to an attribute hierarchical relationship of a node configured by the parameter and a property structure of a node; and presetting the foregoing structure by using the general structural model; Documentation.
在一个可选的实施例中,上述参数配置的属性的类型包括以下之一:单配置类型的属性;复合配置类型的属性。In an optional embodiment, the type of the attribute configured by the parameter includes one of the following: an attribute of a single configuration type; an attribute of a composite configuration type.
本发明实施例提供一种审计控制器中保存的配置和设备中配置并且输出审计报告的方法。此方法使得用户可以及时、清晰的了解到控制器中的配置(对应于上述中的参数配置)和设备中的配置的一致性状况,为用户解决不一致性问题提供依据。Embodiments of the present invention provide a method for configuring a configuration saved in an audit controller and configuring the device and outputting an audit report. This method enables the user to timely and clearly understand the configuration of the controller (corresponding to the parameter configuration in the above) and the consistency of the configuration in the device, and provide a basis for the user to resolve the inconsistency problem.
本实施例首先为不同类型的配置定义了通用的配置定义模型(对应于上述中的通用的结构模型)和配置实例数据模型(对应于上述中的通用的数据模型);根据通用的配置定义模型,每种类型的配置需要提供一份配置定义结构文档(对应于上述中的参数配置的结构文档)以精确描述此种配置的数据模型的结构;根据配置定义结构文档,APP将从控制器获取或者 由控制器从设备获取的配置转换成相应的配置数据文档(对应于上述中的第一数据文档,第二数据文档),最后由APP将这两份文档进行比较后输出审计报告。This embodiment first defines a common configuration definition model (corresponding to the general structural model in the above) and a configuration instance data model (corresponding to the general data model in the above) for different types of configurations; defining the model according to the general configuration Each type of configuration needs to provide a configuration definition structure document (corresponding to the structure document of the parameter configuration in the above) to accurately describe the structure of the data model of this configuration; according to the configuration definition structure document, the APP will be obtained from the controller Or the configuration acquired by the controller from the device is converted into a corresponding configuration data file (corresponding to the first data document, the second data document in the above), and finally the APP compares the two documents and outputs an audit report.
SDN网络:与传统的网络相比,基于SDN网络的交换机或者路由器只存在转发面(数据面)的逻辑,主要是根据控制器的逻辑完成转发,通过Openflow协议(或者其他协议)实现与本方法所述的SDN控制器互通。SDN network: Compared with the traditional network, the switch or router based on the SDN network only has the logic of the forwarding plane (data plane), which is mainly based on the logic of the controller, and is implemented by the Openflow protocol (or other protocol). The SDN controllers are interworking.
控制器:SDN网络中实现转发逻辑并向SDN网络设备发出转发指令的软件系统。SDN控制器(Controller)通过Openflow协议(或者其他协议)实现与SDN网络设备互通。Controller: A software system in the SDN network that implements forwarding logic and issues forwarding instructions to the SDN network device. The SDN controller (Controller) implements interworking with the SDN network device through the Openflow protocol (or other protocol).
配置:用于控制和管理控制器的各种资源或者业务的参数设置(对应于上述中的参数配置用于管理控制器和设备中的对应的业务);Configuration: parameter settings for controlling and managing various resources or services of the controller (corresponding to the parameter configuration in the foregoing for managing corresponding services in the controller and the device);
APP:本发明实施例所述的APP基于WEB实现,通过应用层协议(例如RESTFull接口等)调用控制器提供的控制和管理的接口。APP: The APP according to the embodiment of the present invention is based on a WEB implementation, and invokes an interface provided by the controller for control and management through an application layer protocol (for example, a RESTFull interface or the like).
对本发明实施例将相关的数据模型进行说明:The related data model is described in the embodiment of the present invention:
表1为配置类型定义文档的结构(ConfDef),定义了配置类型定义文档的属性构成以及属性之间的层次关系,每个配置类型都可以具有多个属性,关键属性用于确定分别来自控制器和设备的配置实例是否为具有映射关系的一对实例。Table 1 shows the structure of the configuration type definition document (ConfDef), which defines the attribute composition of the configuration type definition document and the hierarchical relationship between the attributes. Each configuration type can have multiple attributes, and the key attributes are used to determine the respective controllers. Whether the configuration instance of the device is a pair of instances with a mapping relationship.
表1Table 1
Figure PCTCN2019073150-appb-000001
Figure PCTCN2019073150-appb-000001
Figure PCTCN2019073150-appb-000002
Figure PCTCN2019073150-appb-000002
表2为配置类型定义文档中属性节点的结构(AttrNodeDef),用于定义一个属性节点;属性节点可以定义成简单类型或者复合类型;其中具有单例模式的复合类型的属性节点必须下挂的一个子配置实例,具有多例模式的符合类型属性节点可以下挂不确定数量的子配置实例。Table 2 shows the structure of the attribute node (AttrNodeDef) in the configuration type definition document, which is used to define an attribute node; the attribute node can be defined as a simple type or a composite type; one of the attribute nodes of the composite type with the singleton pattern must be hung. A sub-configuration instance, a matching type attribute node with multiple instances of mode can hang an indefinite number of sub-configuration instances.
表2Table 2
Figure PCTCN2019073150-appb-000003
Figure PCTCN2019073150-appb-000003
表3为配置实例数据文档的结构(Conf),定义了存放单个配置实例的 数据文档的通用数据结构,其具体属性层次关系由对应的“配置类型定义文档”描述。Table 3 shows the structure (Conf) of the configuration instance data file, which defines the general data structure of the data document that stores the single configuration instance. The specific attribute hierarchy relationship is described by the corresponding Configuration Type Definition Document.
表3table 3
字段名称Field Name 字段类型Field Type 描述description
instanceNameinstanceName STRINGSTRING 实例名称Instance name
attrNodeListattrNodeList List of AttrNodeList of AttrNode 属性节点列表Attribute node list
表4为配置实例数据文档中属性节点的结构(AttrNode);Table 4 shows the structure of the attribute node (AttrNode) in the configuration instance data file;
表4Table 4
Figure PCTCN2019073150-appb-000004
Figure PCTCN2019073150-appb-000004
表5为配置实例列表数据文档的结构(ConfList),定义了存放多个配置实例数据的通用数据结构。Table 5 shows the structure of the configuration instance list data document (ConfList), which defines a general data structure for storing multiple configuration instance data.
表5table 5
字段名称Field Name 字段类型Field Type 描述description
confTypeIDconfTypeID STRINGSTRING 配置类型编号Configuration type number
confListconfList List of ConfList of Conf 属性节点列表Attribute node list
表6为配置审计报告数据文档的结构(AuditConfList),定义了存放配置审计报告数据的通用数据结构。Table 6 shows the structure of the configuration audit report data document (AuditConfList), which defines the general data structure for storing the configuration audit report data.
表6Table 6
Figure PCTCN2019073150-appb-000005
Figure PCTCN2019073150-appb-000005
表7为单配置实例审计报告数据文档的结构(AuditConf),定义了存放单个配置实例的审计报告数据的通用数据结构;其属性及属性之间的层次关系由对应的“配置类型定义文档”描述。Table 7 shows the structure of the single configuration instance audit report data file (AuditConf), which defines the general data structure of the audit report data for storing a single configuration instance; the hierarchical relationship between attributes and attributes is described by the corresponding "configuration type definition document". .
表7Table 7
Figure PCTCN2019073150-appb-000006
Figure PCTCN2019073150-appb-000006
表8配置属性节点对的结构(AttrNodePair)。Table 8 configures the structure of the attribute node pair (AttrNodePair).
表8Table 8
Figure PCTCN2019073150-appb-000007
Figure PCTCN2019073150-appb-000007
本发明实施例中审计单个节点单种配置类型配置实例处理流程的基本步骤如下:The basic steps of the process of auditing a single configuration type configuration instance of a single node in the embodiment of the present invention are as follows:
APP获取预先编写该种配置类型的“配置类型定义文档”(对应于上述中的参数配置的结构文档)。如下代码所示为配置类型定义文档(ConfDef)的一个样例:The APP acquires a "configuration type definition document" (corresponding to the structure document of the parameter configuration in the above) in which the configuration type is pre-written. The following code shows an example of a configuration type definition document (ConfDef):
配置类型Configuration type
XX业务XX business
配置类型编号:conf1Configuration type number: conf1
配置类型国际化名称:xx业务Configuration type internationalization name: xx business
关键属性:Key attributes:
属性Attributes
属性1Attribute 1
节点属性名称:attr1Node attribute name: attr1
节点属性国际化名称:属性1Node attribute internationalization name: attribute 1
节点模式:SIMPLENode mode: SIMPLE
属性2Attribute 2
节点属性名称:attr2Node attribute name: attr2
节点属性国际化名称:属性2Node attribute internationalization name: attribute 2
节点模式:SIMPLENode mode: SIMPLE
属性3Attribute 3
节点属性名称:attr3Node attribute name: attr3
节点属性国际化名称:属性3Node attribute internationalization name: attribute 3
节点模式:SIMPLENode mode: SIMPLE
属性4Attribute 4
节点属性名称:attr4Node attribute name: attr4
节点属性国际化名称:子配置ANode attribute internationalization name: sub-configuration A
节点模式:COMPLEXNode mode: COMPLEX
子配置实例规模:SIMPLESub-configuration instance size: SIMPLE
子配置类型:子配置ASub Configuration Type: Sub Configuration A
属性5Attribute 5
节点属性名称:attr5Node attribute name: attr5
节点属性国际化名称:子配置BNode attribute internationalization name: sub-configuration B
节点模式:COMPLEXNode mode: COMPLEX
子配置实例规模:MULTIPLESub configuration instance size: MULTIPLE
子配置类型:子配置BSub configuration type: sub configuration B
其中包含了“属性1”、“属性2”、“属性3”三个普通类型的属性(对应于上述中的单一属性的结构文档)和“子配置A”、“子配置B”两个复合类型的属性(对应于上述中的复合属性的结构文档);属性“子配置A”为 单例模式,必须拥有也只能拥有一个子配置A的实例;属性“子配置A”为多例模式,拥有自子配置B实例的数量取决于控制器上或者设备上的实际配置数据,具体如下代码所示:It contains three common types of attributes: "Attribute 1", "Attribute 2", "Attribute 3" (corresponding to the structure document of the single attribute in the above) and "Sub-Configuration A" and "Sub-Configuration B". The attribute of the type (corresponding to the structure document of the composite attribute in the above); the attribute "sub-configuration A" is a singleton mode, and must have an instance that can only have one sub-configuration A; the attribute "sub-configuration A" is a multi-case mode. The number of instances with sub-configuration B depends on the actual configuration data on the controller or on the device, as shown in the following code:
配置类型Configuration type
子配置ASub-configuration A
配置类型编号:subconfaConfiguration type number: subconfa
配置类型国际化名称:子配置AConfiguration Type Internationalization Name: Sub-Configuration A
关键属性:Key attributes:
属性Attributes
属性A1Attribute A1
节点属性名称:attra1Node attribute name: attra1
节点属性国际化名称:属性A1Node attribute internationalization name: attribute A1
节点模式:SIMPLENode mode: SIMPLE
属性A2Attribute A2
节点属性名称:attra2Node attribute name: attra2
节点属性国际化名称:属性A2Node attribute internationalization name: attribute A2
节点模式:SIMPLENode mode: SIMPLE
属性A3Attribute A3
节点属性名称:attra3Node attribute name: attra3
节点属性国际化名称:属性A3Node attribute internationalization name: attribute A3
节点模式:SIMPLENode mode: SIMPLE
配置类型Configuration type
子配置BSub configuration B
配置类型编号:subconfbConfiguration type number: subconfb
配置类型国际化名称:子配置BConfiguration Type Internationalization Name: Sub-Configuration B
关键属性:Key attributes:
属性Attributes
属性B1Attribute B1
节点属性名称:attrb1Node attribute name: attrb1
节点属性国际化名称:属性B1Node attribute internationalization name: attribute B1
节点模式:SIMPLENode mode: SIMPLE
属性B2Attribute B2
节点属性名称:attrb2Node attribute name: attrb2
节点属性国际化名称:属性B2Node attribute internationalization name: attribute B2
节点模式:SIMPLENode mode: SIMPLE
属性B3Attribute B3
节点属性名称:attrb3Node attribute name: attrb3
节点属性国际化名称:属性B3Node attribute internationalization name: attribute B3
节点模式:SIMPLENode mode: SIMPLE
APP从控制器和设备分别获取该种配置类型的所有实例数据(对应于上述中的第一实例数据,第二实例数据),并且按照上述中获取到的“配置类型定义文档”定义的属性层次关系将这些实例数据构建成“配置实例列表数据文档”,该数据文档的为了简化描述,将这两份数据文档称为左实例列表和右实例列表(分别对应于上述中的第一数据文档和第二实例文档);如下所示的代码分别为左实例列表和右实例列表的样例;The APP obtains all the instance data of the configuration type (corresponding to the first instance data in the above, the second instance data) from the controller and the device, and the attribute hierarchy defined by the “configuration type definition document” obtained in the above. The relationship constructs the instance data into a "configuration instance list data document", which is referred to as a left instance list and a right instance list for the simplified description (corresponding to the first data file and the above respectively) Second instance document); the code shown below is an example of a left instance list and a right instance list;
Figure PCTCN2019073150-appb-000008
Figure PCTCN2019073150-appb-000008
Figure PCTCN2019073150-appb-000009
Figure PCTCN2019073150-appb-000009
Figure PCTCN2019073150-appb-000010
Figure PCTCN2019073150-appb-000010
Figure PCTCN2019073150-appb-000011
Figure PCTCN2019073150-appb-000011
Figure PCTCN2019073150-appb-000012
Figure PCTCN2019073150-appb-000012
Figure PCTCN2019073150-appb-000013
Figure PCTCN2019073150-appb-000013
Figure PCTCN2019073150-appb-000014
Figure PCTCN2019073150-appb-000014
Figure PCTCN2019073150-appb-000015
Figure PCTCN2019073150-appb-000015
Figure PCTCN2019073150-appb-000016
Figure PCTCN2019073150-appb-000016
Figure PCTCN2019073150-appb-000017
Figure PCTCN2019073150-appb-000017
APP遍历左实例列表中的实例,通过左实例与每个右实例比较关键属性值,如果能找到各个关键属性值都相等的右实例,则认为它们是“左右实例对”(对应于上述中的实例对列表);如果找不到这样右实例的,则称其为“落单左实例”;同理,右实例列表中找不到对应左实例的,被称为“落单右实例”。The APP traverses the instance in the left instance list, compares the key attribute value with each right instance through the left instance, and if it can find the right instance whose each key attribute value is equal, they are considered to be "left and right instance pairs" (corresponding to the above Instance pair list); if the right instance is not found, it is called "left single instance"; similarly, the right instance is not found in the right instance list, which is called "single right instance".
APP将所有落单左实例组成一个“落单左实例列表”(对应于上述中的第一实例列表),将所有落单右实例组成一个“落单右实例列表”(对应于上述中的第二实例列表),将所有左右实例对组成“左右实例对列表”。The APP groups all the left-hand instances into a "left-hand list" (corresponding to the first instance list in the above), and groups all the right-hand instances into a "single-right instance list" (corresponding to the above-mentioned list) Second instance list), all the left and right instance pairs are composed of "left and right instance pair list".
APP先将落单左实例按个填写到具有“配置审计报告数据文档的结构”的审计报告数据文档中,每个“落单左实例”填写到一个符合“单配置实例审计报告数据文档的结构”的数据文档,其节点属性填写到“左节点属性值”中,“右节点属性值”全部设置为空、“是否相等”设置为“否”;The APP first fills in the left instance to the audit report data file with the structure of “configure the audit report data file”, and each “left-form example” is filled into a structure that conforms to the “single configuration instance audit report data document”. "Data file, its node attribute is filled in the "left node attribute value", "right node attribute value" is set to empty, "whether equal" is set to "no";
接着APP将“左右实例对”按属性层次关系填写到审计报告数据文档中,每个“左右实例对”填写到一个“单配置实例审计报告数据文档”中, 左实例的属性值填写到写到“左节点属性值”中,右实例的属性值填写到写到“右节点属性值”中,通过比对左右节点属性值填写节点的“是否相等”属性值;如果当前节点没有属性值,还需要判断当前节点的所有子节点是否全部相等,只要有一个不相等,那么当前节点也必须设置成“不相等”;Then the APP fills in the “left and right instance pairs” into the audit report data file according to the attribute hierarchy relationship, and each “left and right instance pair” is filled in a “single configuration instance audit report data file”, and the attribute value of the left instance is filled in and written to In the "left node attribute value", the attribute value of the right instance is filled in to the "right node attribute value", and the "equal" attribute value of the node is filled by comparing the left and right node attribute values; if the current node has no attribute value, It is necessary to judge whether all the child nodes of the current node are all equal, as long as one is not equal, then the current node must also be set to "not equal";
接着APP将落单右实例按属性层次关系添加到审计报告的数据文档中,每个“落单右实例”填写到一个符合“单配置实例审计报告数据文档的结构”的数据文档中,其节点属性填写到“右节点属性值”中,相应的“左节点属性值”全部设置为空、“是否相等”设置为“否”;Then the APP adds the right instance to the data file of the audit report according to the attribute hierarchy relationship, and each “single right instance” is filled in a data file conforming to the “structure of the single configuration instance audit report data document”, and its node Fill in the attribute to the "right node attribute value", the corresponding "left node attribute value" is set to empty, "if equal" is set to "no";
最终获取到如下代码所示的配置审计报告数据文档;Finally, the configuration audit report data file shown in the following code is obtained;
Figure PCTCN2019073150-appb-000018
Figure PCTCN2019073150-appb-000018
Figure PCTCN2019073150-appb-000019
Figure PCTCN2019073150-appb-000019
Figure PCTCN2019073150-appb-000020
Figure PCTCN2019073150-appb-000020
Figure PCTCN2019073150-appb-000021
Figure PCTCN2019073150-appb-000021
Figure PCTCN2019073150-appb-000022
Figure PCTCN2019073150-appb-000022
Figure PCTCN2019073150-appb-000023
Figure PCTCN2019073150-appb-000023
Figure PCTCN2019073150-appb-000024
Figure PCTCN2019073150-appb-000024
Figure PCTCN2019073150-appb-000025
Figure PCTCN2019073150-appb-000025
Figure PCTCN2019073150-appb-000026
Figure PCTCN2019073150-appb-000026
APP将获取的审计报告数据结合步骤1中获取的“配置类型定义文档”中的配置类型国际化名称、属性国际化名称等信息,就可以很方便的渲染出如图4所示的用户需要的审计报告了,这份报告中将左右有差异的节点所对应的内容采用加粗的字体表示。The APP combines the obtained audit report data with the configuration type internationalization name and the attribute internationalization name in the "configuration type definition document" obtained in step 1, and can conveniently render the user's needs as shown in FIG. The audit report, in this report, the content corresponding to the nodes with different differences is represented by a bold font.
综上所述,本发明提供了一种通用的审计配置的方法,使用本实施例完成控制器和设备之间的配置审计,给SDN网络的管理人员提供详细的配置审计报告。使用这个方案也可以完成各种不同系统之间的数据的审计功能。In summary, the present invention provides a general audit configuration method, which uses this embodiment to complete the configuration audit between the controller and the device, and provides a detailed configuration audit report to the management personnel of the SDN network. This scheme can also be used to perform auditing of data between various systems.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
在本实施例中还提供了一种参数配置的处理装置,该装置配置为实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用 的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a processing device for parameter configuration is further provided, and the device is configured to implement the foregoing embodiments and preferred embodiments, and details are not described herein. As used hereinafter, the term "module" may implement a combination of software and/or hardware for a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图5是根据本发明实施例的参数配置的处理装置的结构框图,如图5所示,该装置包括:确定模块52、转换模块54和生成模块56,下面对该装置进行详细说明:FIG. 5 is a structural block diagram of a processing device for parameter configuration according to an embodiment of the present invention. As shown in FIG. 5, the device includes: a determining module 52, a converting module 54, and a generating module 56. The device is described in detail below:
确定模块52,配置为按照确定的通用的数据模型获取参数配置在控制器中的第一实例数据和在设备中的第二实例数据,其中,上述参数配置用于管理上述控制器和上述设备中的对应的业务;转换模块54,连接至上述中的确定模块52,配置为利用确定的参数配置的结构文档分别将上述第一实例数据和上述第二实例数据转换为第一数据文档和第二数据文档,其中,上述结构文档中定义了上述参数配置的属性;生成模块56,连接至上述中的转换模块54,配置为将上述第一数据文档和上述第二数据文档进行比较,并将比较结果生成上述参数配置的审计报告。a determining module 52 configured to acquire first instance data configured in the controller and second instance data in the device according to the determined universal data model, wherein the parameter configuration is configured to manage the controller and the foregoing device The corresponding service; the conversion module 54 is connected to the determining module 52 in the above, configured to convert the first instance data and the second instance data into the first data file and the second respectively by using the structural file of the determined parameter configuration a data file, wherein the attribute of the parameter configuration is defined in the structure document; the generating module 56 is coupled to the conversion module 54 in the above, configured to compare the first data file with the second data file, and compare The result is an audit report that configures the above parameters.
在一个可选的实施例中,上述转换模块包括:转换单元,配置为按照上述结构文档定义的上述参数配置的属性层次关系分别将上述第一实例数据和上述第二实例数据转换为上述第一数据文档和上述第二数据文档。In an optional embodiment, the conversion module includes: a conversion unit configured to convert the first instance data and the second instance data into the first according to an attribute hierarchy relationship of the parameter configuration defined by the structure document The data document and the second data document described above.
在一个可选的实施例中,上述参数配置的结构文档包括以下至少之一:包括上述参数配置的单一属性的结构文档;包括上述参数配置的复合属性的结构文档。In an optional embodiment, the structural document of the parameter configuration includes at least one of the following: a structural document including a single attribute of the parameter configuration; and a structural document including a composite attribute of the parameter configuration.
在一个可选的实施例中,上述装置通过以下方式将第一数据文档和第二数据文档进行比较,并将比较结果生成上述参数配置的审计报告:遍历第一数据文档中的上述参数配置的实例数据和第二数据文档中的上述参数配置的实例数据;将第一数据文档中的实例数据的属性值与第二数据文档中的实例数据的属性值进行比较;在第一数据文档中的实例数据的属性值与第二数据文档中的实例数据的属性值相同的情况下,将第一数据文档和 第二数据文档添加到实例对列表中;在第一数据文档中的实例数据的属性值与第二数据文档中的实例数据的属性值不同的情况下,将第一数据文档添加到第一实例列表中,将第二数据文档添加到第二实例列表中;将上述第一实例列表填写到确定的第一单配置审计报告数据文档中;将上述第二实例列表填写到确定的第二单配置审计报告数据文档中;将上述实例对列表按照上述参数配置的属性层次关系填写到确定的审计报告数据文档中;将确定的第一单配置审计报告数据文档、第二单配置审计报告数据文档以及上述审计报告数据文档组成上述参数配置的审计报告。In an optional embodiment, the foregoing apparatus compares the first data file and the second data file by comparing the result to generate an audit report of the parameter configuration: traversing the parameter configuration in the first data file Instance data and instance data of the parameter configuration in the second data document; comparing an attribute value of the instance data in the first data document with an attribute value of the instance data in the second data document; in the first data file The first data document and the second data document are added to the instance pair list if the attribute value of the instance data is the same as the attribute value of the instance data in the second data document; the attribute of the instance data in the first data document If the value is different from the attribute value of the instance data in the second data document, adding the first data document to the first instance list, adding the second data document to the second instance list; Fill in the determined first single configuration audit report data file; fill in the second instance list above to determine the second single configuration In the audit report data file; fill in the above-mentioned instance to the determined audit report data file according to the attribute hierarchical relationship configured by the above parameters; the first single configuration audit report data file, the second single configuration audit report data file, and the determined The above audit report data file constitutes an audit report of the above parameter configuration.
在一个可选的实施例中,上述装置通过以下方式将第一实例列表填写到确定的第一单配置审计报告数据文档中:将上述第一实例列表中的节点属性值填写到第一单配置审计报告数据文档中的左节点属性值中,将第一单配置审计报告数据文档中的右节点属性值设置为空,是否相等的属性中设置为否。In an optional embodiment, the foregoing apparatus fills in the first instance list into the determined first single configuration audit report data file by filling in the node attribute value in the first instance list into the first single configuration. In the left node attribute value in the audit report data file, set the right node attribute value in the first single configuration audit report data file to null, and set whether the attribute is equal to No.
在一个可选的实施例中,上述装置通过以下方式将第二实例列表填写到确定的第二单配置审计报告数据文档中:将第二实例列表中的节点属性值填写到第二单配置审计报告数据文档中的右节点属性值中,将上述第一单配置审计报告数据文档中的左节点属性值设置为空,是否相等的属性中设置为否。In an optional embodiment, the foregoing apparatus fills in the second instance list into the determined second single configuration audit report data file by filling in the node attribute value in the second instance list to the second single configuration audit. In the right node attribute value in the report data document, the left node attribute value in the first single configuration audit report data document is set to null, and the equal attribute is set to No.
在一个可选的实施例中,上述装置通过以下方式将上述实例对列表按照上述参数配置的属性层次关系填写到确定的上述审计报告数据文档中:将上述实例对列表中的第一数据文档的属性值填写到上述审计报告数据文档中的左节点属性值中,将上述第二数据文档的属性值填写到上述审计报告数据文档中的右节点属性值中。In an optional embodiment, the foregoing apparatus fills in the foregoing audit report data file according to the attribute hierarchical relationship of the parameter configuration according to the parameter configuration in the following manner: the first instance of the list is in the first data file in the list. The attribute value is filled in the left node attribute value in the audit report data file, and the attribute value of the second data document is filled in the right node attribute value in the audit report data file.
在一个可选的实施例中,上述装置还包括:比较模块,配置为在上述第一数据文档和第二数据文档中没有属性值时,将第一数据文档中的子节点与第二数据文档中的子节点进行比较;在第一数据文档的子节点与第二 数据文档的子节点相同的情况下,将上述实例对列表中是否相等的属性设置为是;在第一数据文档的子节点与第二数据文档的子节点相同的情况下,将上述实例对列表中是否相等的属性设置为否。In an optional embodiment, the apparatus further includes: a comparing module configured to: when the first data document and the second data document have no attribute values, the child node and the second data file in the first data file The child nodes in the comparison are compared; if the child nodes of the first data document are the same as the child nodes of the second data document, the attributes of whether the above instance is equal in the list are set to Yes; in the child node of the first data document In the case of the same child node of the second data document, the attribute of whether the above example is equal to the list is set to No.
在一个可选的实施例中,通过以下方式至少之一确定上述结构文档:基于上述参数配置的节点的属性层次关系以及节点的属性结构构建上述结构文档;利用上述通用的结构模型预设上述结构文档。In an optional embodiment, the foregoing structural document is determined by at least one of: constructing the structural document according to an attribute hierarchical relationship of a node configured by the parameter and a property structure of a node; and presetting the foregoing structure by using the general structural model; Documentation.
在一个可选的实施例中,上述参数配置的属性的类型包括以下之一:单配置类型的属性;复合配置类型的属性。In an optional embodiment, the type of the attribute configured by the parameter includes one of the following: an attribute of a single configuration type; an attribute of a composite configuration type.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination. The forms are located in different processors.
本发明实施例还提供了一种存储介质,该存储介质包括存储的程序,其中,上述程序运行时执行本发明实施例提供的参数配置的处理方法。The embodiment of the present invention further provides a storage medium, where the storage medium includes a stored program, wherein the processing method of the parameter configuration provided by the embodiment of the present invention is executed when the program is running.
在一实施例中,上述存储介质可以被设置为存储配置为执行以上各步骤的程序代码。In an embodiment, the storage medium may be configured to store program code configured to perform the above steps.
在一实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。In an embodiment, the foregoing storage medium may include, but is not limited to, a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk. A variety of media that can store program code.
本发明的实施例还提供了一种处理器,该处理器配置为运行程序,其中,该程序运行时执行本发明实施例提供的参数配置的处理方法中的步骤。The embodiment of the present invention further provides a processor configured to run a program, wherein the program is executed to perform the steps in the processing method of the parameter configuration provided by the embodiment of the present invention.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模 块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the scope of the present invention are intended to be included within the scope of the present invention.

Claims (13)

  1. 一种参数配置的处理方法,包括:A method for processing a parameter configuration, comprising:
    按照确定的通用的数据模型获取参数配置在控制器中的第一实例数据和在设备中的第二实例数据,其中,所述参数配置用于管理所述控制器和所述设备中的对应的业务;Obtaining, in accordance with the determined generic data model, first instance data configured in the controller and second instance data in the device, wherein the parameter is configured to manage a corresponding one of the controller and the device business;
    利用确定的参数配置的结构文档分别将所述第一实例数据和所述第二实例数据转换为第一数据文档和第二数据文档,其中,所述结构文档中定义了所述参数配置的属性;The first instance data and the second instance data are respectively converted into the first data document and the second data document by using the determined parameter configuration structure file, wherein the parameter configuration attribute is defined in the structure document ;
    将所述第一数据文档和所述第二数据文档进行比较,并将比较结果生成所述参数配置的审计报告。The first data document and the second data document are compared, and the comparison result is generated to generate an audit report of the parameter configuration.
  2. 根据权利要求1所述的方法,其中,利用所述结构文档分别将所述第一实例数据和所述第二实例数据转换为所述第一数据文档和所述第二数据文档包括:The method of claim 1, wherein converting the first instance data and the second instance data into the first data document and the second data document by using the structural document respectively comprises:
    按照所述结构文档定义的所述参数配置的属性层次关系分别将所述第一实例数据和所述第二实例数据转换为所述第一数据文档和所述第二数据文档。And converting the first instance data and the second instance data into the first data document and the second data document according to the attribute hierarchical relationship of the parameter configuration defined by the structure document.
  3. 根据权利要求1所述的方法,其中,将所述第一数据文档和所述第二数据文档进行比较,并将比较结果生成所述参数配置的审计报告包括:The method of claim 1, wherein comparing the first data document with the second data document and generating a comparison report of the parameter configuration comprises:
    遍历所述第一数据文档中的所述参数配置的实例数据和所述第二数据文档中的所述参数配置的实例数据;Navigating instance data of the parameter configuration in the first data document and instance data of the parameter configuration in the second data document;
    将所述第一数据文档中的实例数据的属性值与所述第二数据文档中的实例数据的属性值进行比较;Comparing an attribute value of the instance data in the first data document with an attribute value of the instance data in the second data document;
    在所述第一数据文档中的实例数据的属性值与所述第二数据文档中的实例数据的属性值相同的情况下,将所述第一数据文档和所述第二数据文档添加到实例对列表中;Adding the first data document and the second data document to an instance if an attribute value of the instance data in the first data document is the same as an attribute value of the instance data in the second data document On the list;
    在所述第一数据文档中的实例数据的属性值与所述第二数据文档中的实例数据的属性值不同的情况下,将所述第一数据文档添加到第一实例列表中,将所述第二数据文档添加到第二实例列表中;If the attribute value of the instance data in the first data document is different from the attribute value of the instance data in the second data document, adding the first data file to the first instance list, The second data document is added to the second instance list;
    将所述第一实例列表填写到确定的第一单配置审计报告数据文档中;Filling in the first instance list into the determined first single configuration audit report data file;
    将所述第二实例列表填写到确定的第二单配置审计报告数据文档中;Filling in the second instance list into the determined second single configuration audit report data file;
    将所述实例对列表按照所述参数配置的属性层次关系填写到确定的审计报告数据文档中;Filling the instance pair list into the determined audit report data file according to the attribute hierarchical relationship configured by the parameter;
    将确定的所述第一单配置审计报告数据文档、所述第二单配置审计报告数据文档以及所述审计报告数据文档组成所述参数配置的审计报告。The determined first single configuration audit report data file, the second single configuration audit report data file, and the audit report data file are determined to constitute an audit report of the parameter configuration.
  4. 根据权利要求3所述的方法,其中,将所述第一实例列表填写到确定的所述第一单配置审计报告数据文档中包括:The method of claim 3, wherein the filling the first instance list into the determined first single configuration audit report data file comprises:
    将所述第一实例列表中的节点属性值填写到所述第一单配置审计报告数据文档中的左节点属性值中,将所述第一单配置审计报告数据文档中的右节点属性值设置为空,是否相等的属性中设置为否。Filling in the node attribute value in the first instance list into the left node attribute value in the first single configuration audit report data file, and setting the right node attribute value in the first single configuration audit report data file Empty, whether the equal property is set to No.
  5. 根据权利要求3所述的方法,其中,将所述第二实例列表填写到确定的所述第二单配置审计报告数据文档中包括:The method of claim 3, wherein the filling the second instance list into the determined second single configuration audit report data file comprises:
    将所述第二实例列表中的节点属性值填写到所述第二单配置审计报告数据文档中的右节点属性值中,将所述第一单配置审计报告数据文档中的左节点属性值设置为空,是否相等的属性中设置为否。Filling in the node attribute value in the second instance list into the right node attribute value in the second single configuration audit report data file, and setting the left node attribute value in the first single configuration audit report data file Empty, whether the equal property is set to No.
  6. 根据权利要求3所述的方法,其中,将所述实例对列表按照所述参数配置的属性层次关系填写到确定的所述审计报告数据文档中包括:The method of claim 3, wherein the filling of the instance pair list according to the attribute hierarchical relationship of the parameter configuration into the determined audit report data file comprises:
    将所述实例对列表中的第一数据文档的属性值填写到所述审计报告数据文档中的左节点属性值中,将所述第二数据文档的属性值填写到所述审计报告数据文档中的右节点属性值中。Filling in the attribute value of the first data document in the instance pair list into the left node attribute value in the audit report data file, and filling in the attribute value of the second data document into the audit report data file The right node is in the attribute value.
  7. 根据权利要求6所述的方法,其中,所述方法还包括:The method of claim 6 wherein the method further comprises:
    在所述第一数据文档和所述第二数据文档中没有属性值时,将所述第 一数据文档中的子节点与所述第二数据文档中的子节点进行比较;Comparing the child nodes in the first data document with the child nodes in the second data document when there is no attribute value in the first data document and the second data document;
    在所述第一数据文档的子节点与所述第二数据文档的子节点相同的情况下,将所述实例对列表中是否相等的属性设置为是;And setting an attribute of whether the instance pair is equal in the list to Yes if the child node of the first data document is the same as the child node of the second data document;
    在所述第一数据文档的子节点与所述第二数据文档的子节点相同的情况下,将所述实例对列表中是否相等的属性设置为否。In a case where the child node of the first data document is the same as the child node of the second data document, the attribute of whether the instance pair is equal in the list is set to No.
  8. 根据权利要求1所述的方法,其中,所述参数配置的结构文档包括以下至少之一:The method of claim 1, wherein the structural document of the parameter configuration comprises at least one of the following:
    包括所述参数配置的单一属性的结构文档;a structural document including a single attribute of the parameter configuration;
    包括所述参数配置的复合属性的结构文档。A structural document that includes the composite properties of the parameter configuration.
  9. 根据权利要求1所述的方法,其中,通过以下方式至少之一确定所述结构文档:The method of claim 1, wherein the structural document is determined by at least one of:
    基于所述参数配置的节点的属性层次关系以及节点的属性结构构建所述结构文档;Constructing the structural document based on an attribute hierarchical relationship of the node configured by the parameter and an attribute structure of the node;
    利用通用的结构模型预设所述结构文档。The structural document is preset using a common structural model.
  10. 根据权利要求1所述的方法,其中,所述参数配置的属性的类型包括以下之一:The method of claim 1 wherein the type of attribute of the parameter configuration comprises one of the following:
    单配置类型的属性;Single configuration type attribute;
    复合配置类型的属性。The properties of the composite configuration type.
  11. 一种参数配置的处理装置,包括:A processing device for parameter configuration, comprising:
    确定模块,配置为按照确定的通用的数据模型获取参数配置在控制器中的第一实例数据和在设备中的第二实例数据,其中,上述参数配置用于管理上述控制器和上述设备中的对应的业务;a determining module configured to acquire first instance data configured in the controller and second instance data in the device according to the determined universal data model, wherein the parameter configuration is configured to manage the controller and the foregoing device Corresponding business;
    转换模块,配置为利用确定的参数配置的结构文档分别将上述第一实例数据和上述第二实例数据转换为第一数据文档和第二数据文档,其中,上述结构文档中定义了上述参数配置的属性;a conversion module, configured to convert the first instance data and the second instance data into a first data file and a second data file, respectively, by using a structural file configured by the determined parameter, where the parameter configuration is defined in the foregoing structural document Attributes;
    生成模块,配置为将上述第一数据文档和上述第二数据文档进行比较, 并将比较结果生成上述参数配置的审计报告。And generating a module, configured to compare the first data file and the second data file, and generate an audit report configured by the parameter.
  12. 一种存储介质,所述存储介质包括存储的程序,其中,所述程序运行时执行权利要求1至10中任一项所述的方法。A storage medium, the storage medium comprising a stored program, wherein the program is executed to perform the method of any one of claims 1 to 10.
  13. 一种处理器,所述处理器,配置为运行程序,其中,所述程序运行时执行权利要求1至10中任一项所述的方法。A processor, configured to execute a program, wherein the program is executed to perform the method of any one of claims 1 to 10.
PCT/CN2019/073150 2018-02-08 2019-01-25 Processing method and device for parameter configuration, storage medium and processor WO2019154121A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810129569.6 2018-02-08
CN201810129569.6A CN110134467B (en) 2018-02-08 2018-02-08 Parameter configuration processing method and device, storage medium and processor

Publications (1)

Publication Number Publication Date
WO2019154121A1 true WO2019154121A1 (en) 2019-08-15

Family

ID=67549220

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/073150 WO2019154121A1 (en) 2018-02-08 2019-01-25 Processing method and device for parameter configuration, storage medium and processor

Country Status (2)

Country Link
CN (1) CN110134467B (en)
WO (1) WO2019154121A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050060643A1 (en) * 2003-08-25 2005-03-17 Miavia, Inc. Document similarity detection and classification system
CN102111215A (en) * 2010-12-23 2011-06-29 中兴通讯股份有限公司 Method and device for synchronizing configuration data
CN106372040A (en) * 2016-08-24 2017-02-01 长园深瑞继保自动化有限公司 Difference comparison system of intelligent substation configuration file

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168144A (en) * 2014-08-22 2014-11-26 国都兴业信息审计系统技术(北京)有限公司 Method for auditing SDN
US9742648B2 (en) * 2015-03-23 2017-08-22 Brocade Communications Systems, Inc. Efficient topology failure detection in SDN networks
CN104767841B (en) * 2015-04-30 2018-03-23 新华三技术有限公司 The method and gateway device of items of address analyzing protocol table are updated in software defined network
US9929924B2 (en) * 2015-09-25 2018-03-27 Telefonaktiebolaget Lm Ericsson (Publ) SDN controller logic-inference network troubleshooter (SDN-LINT) tool
CN107395380A (en) * 2016-05-16 2017-11-24 中兴通讯股份有限公司 A kind of method for processing business and system
CN107517121B (en) * 2016-06-17 2020-07-07 华为技术有限公司 Equipment configuration method and device
CN106254447B (en) * 2016-07-29 2019-10-18 北京华为数字技术有限公司 Load-balancing method, BRAS equipment and SDN controller
CN106130802B (en) * 2016-08-30 2019-07-09 新华三技术有限公司 A kind of configuration smoothing method and device
CN106888110B (en) * 2016-12-16 2021-01-29 新华三技术有限公司 Configuration data synchronization method and device
CN107104819B (en) * 2017-03-23 2019-10-11 武汉邮电科学研究院 Adaptive self-coordinating unified communications and communication means based on SDN

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050060643A1 (en) * 2003-08-25 2005-03-17 Miavia, Inc. Document similarity detection and classification system
CN102111215A (en) * 2010-12-23 2011-06-29 中兴通讯股份有限公司 Method and device for synchronizing configuration data
CN106372040A (en) * 2016-08-24 2017-02-01 长园深瑞继保自动化有限公司 Difference comparison system of intelligent substation configuration file

Also Published As

Publication number Publication date
CN110134467A (en) 2019-08-16
CN110134467B (en) 2021-11-02

Similar Documents

Publication Publication Date Title
WO2017177856A1 (en) Device configuration method and apparatus based on network configuration protocol
US10270648B2 (en) Configuration information management method, device, network element management system and storage medium
WO2018219322A1 (en) Device management method and apparatus, and processor and storage medium
WO2018058579A1 (en) Method for managing network slice and management unit
WO2018006381A1 (en) Network resource management method, apparatus and system
US10027536B2 (en) System and method for affinity-based network configuration
WO2018084947A1 (en) Network management interface
US11909744B2 (en) Network verification method and apparatus
WO2020062959A1 (en) Data configuration method and apparatus
CN107222321B (en) Configuration message sending method and device
WO2018090191A1 (en) Management method, management unit and system for network function
WO2021164330A1 (en) Key value configuration-based control request sending method, apparatus and system
WO2022001924A1 (en) Knowledge graph construction method, apparatus and system and computer storage medium
US11838176B1 (en) Provisioning and deploying RAN applications in a RAN system
US11785121B2 (en) Selecting protocol adaptor in a communication network
WO2020038337A1 (en) Network configuration method, apparatus and system
WO2019154121A1 (en) Processing method and device for parameter configuration, storage medium and processor
Lee et al. Scalable telemetry and network autonomics in ACTN SDN controller hierarchy
JP6893568B2 (en) Data interaction methods, equipment and devices
WO2024016726A1 (en) Device configuration method, network device, chip and computer readable storage medium
US20240007364A1 (en) Method, Apparatus, and System for Deploying Service
US11855843B2 (en) System and method for monitoring status of network components in a network configuration
JP2017175373A (en) Setting information generation device, network control device, method and program
WO2024136932A1 (en) Provisioning and deploying ran applications in a ran system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19751810

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10.12.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 19751810

Country of ref document: EP

Kind code of ref document: A1