WO2016086598A1 - Constraint rule configuration method and corresponding device - Google Patents

Constraint rule configuration method and corresponding device Download PDF

Info

Publication number
WO2016086598A1
WO2016086598A1 PCT/CN2015/078489 CN2015078489W WO2016086598A1 WO 2016086598 A1 WO2016086598 A1 WO 2016086598A1 CN 2015078489 W CN2015078489 W CN 2015078489W WO 2016086598 A1 WO2016086598 A1 WO 2016086598A1
Authority
WO
WIPO (PCT)
Prior art keywords
constraint rule
base station
management system
network management
constraint
Prior art date
Application number
PCT/CN2015/078489
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 WO2016086598A1 publication Critical patent/WO2016086598A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks

Definitions

  • This paper relates to the field of mobile communications, and in particular to a method and apparatus for configuring constraint constraint rules of a network management system and a base station.
  • the base station gradually develops in the direction of flatness, intelligence, and decentralization.
  • Some complex data configurations of the base station are gradually transferred from “manual configuration on the network management system” to “devices.”
  • Intelligent data self-configuration and self-effective for example, neighbor self-configuration in the SON (Self-Organized Network) technology, X2 self-configuration function).
  • This requires the base station to support the data check function when the data is self-configured. Therefore, "Operation and maintenance personnel use the network management system to modify the data configuration" and "base station self-configuration data” need to support the data verification function.
  • the network management system and the base station respectively develop an implementation of the constraint checking algorithm to support the constraint checking function based on the respective systems, which results in an algorithm.
  • Repeated development, wasting development resources, and the development of two branches brings consistency and stability problems, which is not conducive to system stability.
  • the configuration constraints will change, which may result in “the base station upgrade requires the network management system upgrade” or “the network management system upgrade requires the base station upgrade”.
  • the network management system version and the base station version are coupled too tightly. Many new features of the base station are released, many of which involve changes to the configuration model constraints. Version coupling and linkage upgrades affect the release of these new features.
  • This paper provides a configuration method and device for constraint rules to simplify the development of constraint rules for base stations and network management systems, realize the coupling of constraint rules between systems, and improve the stability of the system.
  • a method for configuring a constraint rule is applied to a base station, and the method includes:
  • the base station configuration is set to: a constraint rule for verification, the constraint rule and the network management system configured by the base station
  • the constraint rules of the system configuration are the same;
  • the base station keeps the configured constraint rule consistent with the constraint rule configured by the network management system.
  • the fact that the base station keeps the configured constraint rule consistent with the constraint rule configured by the network management system includes:
  • the base station When the constraint rule configured by the base station is updated, the base station sends a change notification to the network management system; and/or, the base station keeps the configured constraint rule and the network management system updated according to the change notification sent by the network management system. Constraint rules are consistent;
  • the determining, by the base station, that the configured constraint rule is consistent with the updated constraint rule of the network management system according to the change notification sent by the network management system includes:
  • the base station After receiving the change notification sent by the network management system, the base station determines whether the updated constraint rule of the network management system is included; when the base station includes the updated constraint rule of the network management system, the base station does not load the updated network management system. a constraint rule; when the base station does not include the updated constraint rule of the network management system, the base station loads the updated constraint rule of the network management system.
  • the network management system configuration is set to: a constraint rule for verification, and the constraint rule configured by the network management system is the same as the constraint rule configured by the base station;
  • the network management system maintains the configured constraint rules consistent with the constraint rules configured by the base station.
  • the network management system maintains that the configured constraint rule is consistent with the constraint rule configured by the base station, including:
  • the network management system When the constraint rule configured by the network management system is updated, the network management system sends a change notification to the base station; and/or, the network management system keeps the configured constraint rule and the base station after updating according to the change notification sent by the base station. Consistent rules are consistent;
  • the change notification includes constraint rule change version information.
  • the network management system keeps the configured constraint rule consistent with the updated constraint rule of the base station, including:
  • the network management system determines whether the base station update constraint rule is included; when the network management system includes the base station updated constraint rule, the network management system does not load the base station update. The constraint rule; when the network management system does not contain the updated constraint rule of the base station, the network management system loads the updated constraint rule of the base station.
  • the method further includes:
  • the network management system verifies configuration data of the network management system according to the configured constraint rule.
  • An apparatus for configuring a constraint rule is disposed at a base station, where the apparatus includes:
  • the constraint rule configuration module is configured to: configure a base station for verifying the constraint rule, where the constraint rule is the same as the constraint rule configured by the network management system;
  • the constraint rule management module is configured to: maintain the constraint rule configured by the constraint rule configuration module and the constraint rule configured by the network management system.
  • the change notification includes constraint rule change version information.
  • the constraint rule management module is configured to: after receiving the change notification sent by the network management system, determine whether the constraint rule of the network management system is updated; and when the constraint rule of the network management system is updated, the updated constraint of the network management system is not loaded. Rule; when the constraint rule of the network management system is not updated, the updated constraint rule of the network management system is loaded.
  • the device further includes:
  • the constraint rule execution module is configured to: check the configuration data of the base station according to the constraint rule configured by the constraint rule configuration module.
  • a device for configuring a constraint rule is disposed in a network management system, and the device includes:
  • the constraint rule configuration module is configured to: configure a constraint rule for verification of the network management system, where the constraint rule configured by the network management system is the same as the constraint rule configured by the base station;
  • the constraint rule management module is configured to: maintain the constraint rule configured by the constraint rule configuration module and the constraint rule configured by the base station.
  • the device further includes:
  • the constraint rule execution module is configured to: verify the configuration data of the network management system according to the constraint rule configured by the constraint rule configuration module.
  • the base station keeps the configured constraint rules consistent with the constraint rules configured by the network management system.
  • the base station consistently maintains the configured constraint rule according to the change notification sent by the network management system and the updated constraint rule of the network management system includes:
  • the embodiment of the invention further provides a method for configuring a constraint rule, which is applied to a network management system, and the method includes:
  • the network management system maintains the configured constraint rules consistent with the constraint rules configured by the base station.
  • the network management system maintains the configured constraint rules consistent with the constraint rules configured by the base station, including:
  • the network management system determines whether the base station update constraint rule is included; when the network management system includes the base station updated constraint rule, the network management system does not load the base station updated constraint rule; when the network management system does not When the constraint rule of the base station is updated, the network management system loads the constraint rule after the base station is updated.
  • the network management system verifies the configuration data of the network management system according to the configured constraint rules.
  • the constraint rule management module is set to:
  • the change notification is sent to the network management system; and/or, according to the change notification sent by the network management system, the constraint rule configured by the constraint constraint configuration module is consistent with the updated constraint rule of the network management system;
  • the change notification contains the constraint rule change version information.
  • the constraint rule management module is configured to: after receiving the change notification sent by the network management system, determine whether the constraint rule of the network management system is updated; and when the constraint rule of the network management system is updated, the updated constraint rule of the network management system is not loaded; When the constraint rules of the network management system are not updated, the updated constraint rules of the network management system are loaded.
  • the device further includes:
  • the constraint rule execution module is configured to: check the configuration data of the base station according to the constraint rule configured by the constraint rule configuration module.
  • the embodiment of the present invention further provides a device for configuring a constraint rule, which is disposed in a network management system, and the device includes:
  • the constraint rule configuration module is configured to: configure a constraint rule for verification of the network management system, and the constraint rule configured by the network management system is the same as the constraint rule configured by the base station;
  • the constraint rule management module is configured to: the constraint rule configured by the constraint constraint configuration module is consistent with the constraint rule configured by the base station.
  • the constraint rule management module is configured to: when the constraint rule configured by the constraint rule configuration module is updated, send a change notification to the base station; and/or, according to the change notification sent by the base station, the constraint rule configured by the constraint constraint configuration module and the updated constraint of the base station The rules are consistent; wherein the change notification contains the constraint rule change version information
  • the constraint rule management module is configured to: after receiving the base station change notification sent by the base station, determine whether the base station updated the constraint rule is included; when the base station updated constraint rule is included, the base station updated constraint rule is not loaded; When the updated constraint rule of the base station is not included, the updated constraint rule of the base station is loaded.
  • the device further includes:
  • the constraint rule execution module is configured to: verify the configuration data of the network management system according to the constraint rule configured by the constraint rule.
  • the device configured in the constraint rule of the network management system in the embodiment of the present invention mainly includes the following functional modules:
  • the constraint rule configuration module 101 is configured to: configure a constraint rule used by the network management system for verification, and the constraint rule configured by the network management system is the same as the constraint rule configured by the base station.
  • a description method of the constraint rules independent of the hardware platform and the software development platform is defined, and the configuration constraint rule is defined by using this method.
  • a description file of the configuration data constraint rule is deployed on the network management system.
  • the constraint rules can be described based on the LUA language, and the public methods (such as the query data method and the assertion method) required to describe the constraint rules are abstracted.
  • Rule developers describe constraint rules based on LUA syntax and public methods, such as:
  • the constraint rule management module 102 is configured to: maintain the constraint rule configured by the constraint rule configuration module and the constraint rule configured by the base station, and be responsible for the management of the constraint rule on the network management system.
  • the network management system keeps the constraint rule configured by the constraint rule configuration module consistent with the updated constraint rule of the base station, and the network management system refers to:
  • the constraint rule execution module 103 is configured to: verify the configuration data of the network management system according to the constraint rule configured by the constraint rule configuration module.
  • a LUA language virtual machine is deployed on the network management system to implement a "public method for describing the constraint rules."
  • the constraint execution module on the network management system invokes the LUA virtual machine to execute the constraint rule.
  • the constraint rule management module 105 is configured to: keep the constraint rules configured by the constraint rule configuration module consistent with the constraint rules configured by the network management system, and be responsible for managing the constraint rules on the base station.
  • the base station After receiving the change notification sent by the network management system, the base station determines whether the constraint rule of the network management system is updated. When the base station includes the updated constraint rule of the network management system, the base station does not load the updated constraint rule of the network management system; when the base station does not include the network management system When the system is updated with the constraint rule, the base station loads the updated constraint rule of the network management system.
  • LUA virtual machine There are multiple versions of the LUA virtual machine, which can run on embedded platforms and servers, and support docking with a variety of mainstream development languages, such as C/C++/JAVA.
  • Step 101 The network management performs configuration data check.
  • Step 103 The constraint verification module initiates a legality check on the configuration data according to the constraint rule.
  • the constraint check module displays the check result according to the check result. If the check is performed by performing step 105, if the check fails, step 106 is performed.
  • Step 105 If the verification passes, the user is prompted to configure the data to satisfy the constraint.
  • the steps for the base station to initiate data verification are as follows:
  • Step 203 The constraint verification module initiates a legality check on the configuration data according to the constraint rule.
  • the trigger condition for the constraint rule to change may be an upgrade or patch of the network management system, or other conditions that cause the constraint rule to change.
  • Step 302 The constraint rule management module on the network management system sends a constraint rule change notification to the base station.
  • Step 303 After the base station receives the constraint change notification, the base station on the constraint management module determines whether there is a constraint rule of the version in the current system; if the base station already exists, step 304 is performed, if the base station does not exist, step 305 is performed;
  • Step 304 The base station does not initiate an upload operation, and ends the operation.
  • the base station does not initiate an upload operation.
  • Step 305 The base station initiates a request for uploading the updated constraint rule to the network management system constraint rule management module.
  • the base station If the base station does not have the constraint rule of the updated version of the network management system, the base station initiates a request for uploading the updated constraint rule to the network management system constraint rule management module.
  • Step 306 The constraint rule management module on the base station loads the constraint rule of the network management system update.
  • the network management system After receiving the request for uploading the updated constraint rule sent by the base station, the network management system sends an updated constraint rule file to the base station, and after receiving the updated constraint rule file, the base station performs an operation of uploading the constraint rule updated by the network management system.
  • Step 401 The constraint rule of the base station changes
  • the trigger condition for the constraint rule to change may be a base station upgrade or patch, or other conditions that cause the constraint rule to change.
  • Step 402 The constraint rule management module on the base station sends a constraint rule change notification to the network management system.
  • Step 403 After the network management system receives the constraint change notification, the constraint management module on the network management system determines whether there is a constraint rule of the version in the current network management system; if the network management system already exists, step 404 is performed, and if the network management system does not exist, execute Step 405;
  • Step 404 The network management system does not initiate an upload operation, and ends the operation.
  • the upload operation is not initiated.
  • Step 405 The network management system initiates a request for uploading a constraint rule to the constraint rule management module of the base station.
  • the network management system If the network management system does not have the constraint rule of this version, the network management system initiates a request for uploading the constraint rule to the constraint rule management module on the base station.
  • Step 406 The constraint management module of the network management system loads the constraint rule of the base station update.
  • the base station After receiving the request for uploading the updated constraint rule sent by the network management system, the base station sends an updated constraint rule file to the network management system, and after receiving the updated constraint rule file, the network management system performs an operation of uploading the constraint rule updated by the base station.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the network management system and the base station have different algorithms in the algorithm, and can automatically upload and synchronize, thus realizing the coupling of the constraint algorithm, which is beneficial to the stability of the system. .
  • secondary development is avoided, saving development costs.

Abstract

A constraint rule configuration method for application to a base station, comprising: a base station configures a constraint rule for checking, the constraint rule configured by the base station being the same as a constraint rule configured by a network management system; and the base station maintains the configured constraint rule to be the same as the constraint rule configured by the network management system.

Description

一种约束规则的配置方法和相应装置Method for configuring constraint rules and corresponding device 技术领域Technical field
本文涉及移动通讯领域,尤其涉及网管系统与基站的约束约束规则的配置方法和装置。This paper relates to the field of mobile communications, and in particular to a method and apparatus for configuring constraint constraint rules of a network management system and a base station.
背景技术Background technique
随着移动通信技术的发展,特别是4G以后,基站逐渐向扁平化、智能化,去中心化的方向发展,基站的一些复杂的数据配置也从“网管系统上人工配置”逐步转移到了“设备智能化的数据自配置、自生效(如:SON(Self-Organized Network,自组织网络)技术中的邻区自配置、X2自配置功能)”。这就需要基站在数据自配置时也支持数据校验功能。因此,“运维人员使用网管系统修改数据配置”和“基站自配置数据”都需要支持数据校验功能。With the development of mobile communication technology, especially after 4G, the base station gradually develops in the direction of flatness, intelligence, and decentralization. Some complex data configurations of the base station are gradually transferred from "manual configuration on the network management system" to "devices." Intelligent data self-configuration and self-effective (for example, neighbor self-configuration in the SON (Self-Organized Network) technology, X2 self-configuration function). This requires the base station to support the data check function when the data is self-configured. Therefore, "Operation and maintenance personnel use the network management system to modify the data configuration" and "base station self-configuration data" need to support the data verification function.
由于基站和网管系统在数据储存、硬件环境、开发语言上的差异,相关技术的作法是网管系统和基站基于各自的系统,分别开发约束检查算法的实现以支持约束校验功能,这造成了算法的重复开发,浪费开发资源,两个分支开发带来了一致性和稳定性的问题,不利于系统稳定。同时,基站和网管系统如果一方升级,涉及到配置约束的变化,会导致“基站升级要求网管系统升级”或者是“网管系统升级要求基站升级”。这样网管系统版本和基站版本耦合太紧。基站的新功能发布,很多都涉及到配置模型约束的变更。版本耦合、联动升级会影响到这些新功能的发布。Due to differences in data storage, hardware environment, and development language between the base station and the network management system, the related art practice is that the network management system and the base station respectively develop an implementation of the constraint checking algorithm to support the constraint checking function based on the respective systems, which results in an algorithm. Repeated development, wasting development resources, and the development of two branches brings consistency and stability problems, which is not conducive to system stability. At the same time, if the base station and the network management system are upgraded, the configuration constraints will change, which may result in “the base station upgrade requires the network management system upgrade” or “the network management system upgrade requires the base station upgrade”. In this way, the network management system version and the base station version are coupled too tightly. Many new features of the base station are released, many of which involve changes to the configuration model constraints. Version coupling and linkage upgrades affect the release of these new features.
发明内容Summary of the invention
本文提供一种约束规则的配置方法和装置,以简化基站和网管系统约束规则的开发,实现系统间约束规则的耦合,提高系统的稳定性。This paper provides a configuration method and device for constraint rules to simplify the development of constraint rules for base stations and network management systems, realize the coupling of constraint rules between systems, and improve the stability of the system.
一种约束规则的配置方法,应用于基站,所述方法包括:A method for configuring a constraint rule is applied to a base station, and the method includes:
基站配置设置为:校验的约束规则,所述基站配置的约束规则与网管系 统配置的约束规则相同;The base station configuration is set to: a constraint rule for verification, the constraint rule and the network management system configured by the base station The constraint rules of the system configuration are the same;
所述基站保持所配置约束规则与所述网管系统配置的约束规则一致。The base station keeps the configured constraint rule consistent with the constraint rule configured by the network management system.
可选地,Optionally,
所述基站保持所配置的约束规则与所述网管系统配置的约束规则一致包括:The fact that the base station keeps the configured constraint rule consistent with the constraint rule configured by the network management system includes:
所述基站所配置的约束规则更新时,所述基站向所述网管系统发送变更通知;和/或,所述基站根据所述网管系统发送的变更通知保持所配置约束规则与网管系统更新后的约束规则一致;When the constraint rule configured by the base station is updated, the base station sends a change notification to the network management system; and/or, the base station keeps the configured constraint rule and the network management system updated according to the change notification sent by the network management system. Constraint rules are consistent;
其中,所述变更通知包含约束规则变更版本信息。The change notification includes constraint rule change version information.
可选地,Optionally,
所述基站根据所述网管系统发送的变更通知保持所配置的约束规则与网管系统更新后的约束规则一致包括:The determining, by the base station, that the configured constraint rule is consistent with the updated constraint rule of the network management system according to the change notification sent by the network management system includes:
所述基站接收到所述网管系统发送的变更通知后,判断是否含有网管系统更新后的约束规则;当所述基站含有网管系统更新后的约束规则时,所述基站不加载网管系统更新后的约束规则;当所述基站不含有网管系统更新后的约束规则时,所述基站加载网管系统更新后的约束规则。After receiving the change notification sent by the network management system, the base station determines whether the updated constraint rule of the network management system is included; when the base station includes the updated constraint rule of the network management system, the base station does not load the updated network management system. a constraint rule; when the base station does not include the updated constraint rule of the network management system, the base station loads the updated constraint rule of the network management system.
可选地,Optionally,
为所述基站配置约束规则后还包括:After configuring the constraint rule for the base station, the method further includes:
所述基站根据所配置约束规则校验所述基站的配置数据。The base station checks configuration data of the base station according to the configured constraint rule.
一种约束规则的配置方法,应用于网管系统,所述方法包括:A method for configuring a constraint rule is applied to a network management system, and the method includes:
网管系统配置设置为:校验的约束规则,所述网管系统配置的约束规则与基站配置的约束规则相同;The network management system configuration is set to: a constraint rule for verification, and the constraint rule configured by the network management system is the same as the constraint rule configured by the base station;
所述网管系统保持所配置的约束规则与所述基站配置的约束规则一致。The network management system maintains the configured constraint rules consistent with the constraint rules configured by the base station.
可选地,Optionally,
所述网管系统保持所配置的约束规则与所述基站配置的约束规则一致包括: The network management system maintains that the configured constraint rule is consistent with the constraint rule configured by the base station, including:
所述网管系统所配置的约束规则更新时,所述网管系统向所述基站发送变更通知;和/或,所述网管系统根据所述基站发送的变更通知保持所配置的约束规则与基站更新后的约束规则一致;When the constraint rule configured by the network management system is updated, the network management system sends a change notification to the base station; and/or, the network management system keeps the configured constraint rule and the base station after updating according to the change notification sent by the base station. Consistent rules are consistent;
其中,所述变更通知包含约束规则变更版本信息。The change notification includes constraint rule change version information.
可选地,Optionally,
所述网管系统根据所述基站发送的变更通知保持所配置的约束规则与基站更新后的约束规则一致包括:The network management system according to the change notification sent by the base station keeps the configured constraint rule consistent with the updated constraint rule of the base station, including:
所述网管系统接收到所述基站发送的基站变更通知后,判断是否含有基站更新后的约束规则;当所述网管系统含有基站更新后的约束规则时,则所述网管系统不加载基站更新后的约束规则;当所述网管系统不含有基站更新后的约束规则时,则所述网管系统加载基站更新后的约束规则。After receiving the base station change notification sent by the base station, the network management system determines whether the base station update constraint rule is included; when the network management system includes the base station updated constraint rule, the network management system does not load the base station update. The constraint rule; when the network management system does not contain the updated constraint rule of the base station, the network management system loads the updated constraint rule of the base station.
可选地,Optionally,
为所述网管系统配置约束规则后还包括:After the constraint rules are configured for the network management system, the method further includes:
所述网管系统根据所配置的约束规则校验所述网管系统的配置数据。The network management system verifies configuration data of the network management system according to the configured constraint rule.
一种约束规则配置的装置,设置于基站,所述装置包括:An apparatus for configuring a constraint rule is disposed at a base station, where the apparatus includes:
约束规则配置模块,设置为:配置基站的用于校验约束规则,所述约束规则与网管系统配置的约束规则相同;The constraint rule configuration module is configured to: configure a base station for verifying the constraint rule, where the constraint rule is the same as the constraint rule configured by the network management system;
约束规则管理模块,设置为:保持所述约束规则配置模块配置的约束规则与所述网管系统配置的约束规则一致。The constraint rule management module is configured to: maintain the constraint rule configured by the constraint rule configuration module and the constraint rule configured by the network management system.
可选地,Optionally,
所述约束规则管理模块是设置为:所述约束规则配置模块配置的约束规则更新时,向所述网管系统发送变更通知;和/或,根据所述网管系统发送的变更通知保持所述约束规则配置模块所配置的约束规则与网管系统更新后的约束规则一致;The constraint rule management module is configured to: send a change notification to the network management system when the constraint rule configured by the constraint rule configuration module is updated; and/or maintain the constraint rule according to the change notification sent by the network management system The constraint rules configured on the configuration module are consistent with the updated constraint rules of the NMS.
其中,所述变更通知包含约束规则变更版本信息。The change notification includes constraint rule change version information.
可选地, Optionally,
约束规则管理模块是设置为:接收到所述网管系统发送的变更通知后,判断是否含有网管系统更新后的约束规则;当含有网管系统更新后的约束规则时,不加载网管系统更新后的约束规则;当不含有网管系统更新后的约束规则时,加载网管系统更新后的约束规则。The constraint rule management module is configured to: after receiving the change notification sent by the network management system, determine whether the constraint rule of the network management system is updated; and when the constraint rule of the network management system is updated, the updated constraint of the network management system is not loaded. Rule; when the constraint rule of the network management system is not updated, the updated constraint rule of the network management system is loaded.
可选地,所述装置还包括:Optionally, the device further includes:
约束规则执行模块,设置为:根据所述约束规则配置模块所配置的约束规则校验所述基站的配置数据。The constraint rule execution module is configured to: check the configuration data of the base station according to the constraint rule configured by the constraint rule configuration module.
一种约束规则配置的装置,设置于网管系统,所述装置包括:A device for configuring a constraint rule is disposed in a network management system, and the device includes:
约束规则配置模块,设置为:配置网管系统的用于校验的约束规则,所述网管系统配置的约束规则与基站配置的约束规则相同;The constraint rule configuration module is configured to: configure a constraint rule for verification of the network management system, where the constraint rule configured by the network management system is the same as the constraint rule configured by the base station;
约束规则管理模块,设置为:保持所述约束规则配置模块配置的约束规则与所述基站配置的约束规则一致。The constraint rule management module is configured to: maintain the constraint rule configured by the constraint rule configuration module and the constraint rule configured by the base station.
可选地,Optionally,
所述约束规则管理模块是设置为:所述约束规则配置模块配置的约束规则更新时,向所述基站发送变更通知;和/或,根据所述基站发送的变更通知保持所述约束规则配置模块配置的约束规则与基站更新后的约束规则一致;The constraint rule management module is configured to: send a change notification to the base station when the constraint rule configured by the constraint rule configuration module is updated; and/or maintain the constraint rule configuration module according to the change notification sent by the base station The configured constraint rule is consistent with the updated constraint rule of the base station;
其中,所述变更通知包含约束规则变更版本信息。The change notification includes constraint rule change version information.
可选地,Optionally,
所述约束规则管理模块是设置为:接收到所述基站发送的基站变更通知后,判断是否含有基站更新后的约束规则;当含有基站更新后的约束规则时,则不加载基站更新后的约束规则;当不含有基站更新后的约束规则时,则加载基站更新后的约束规则。The constraint rule management module is configured to: after receiving the base station change notification sent by the base station, determine whether the base station updated the constraint rule is included; when the base station updated constraint rule is included, the base station updated constraint is not loaded. Rule; when the base station updated constraint rule is not included, the base station updated constraint rule is loaded.
可选地,所述装置还包括:Optionally, the device further includes:
约束规则执行模块,设置为:根据所述约束规则配置模块配置的约束规则校验所述网管系统的配置数据。 The constraint rule execution module is configured to: verify the configuration data of the network management system according to the constraint rule configured by the constraint rule configuration module.
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的方法。A computer readable storage medium storing computer executable instructions for performing the method of any of the above.
本文通过在基站和网管系统分别配置一套相同的约束规则,使得网管系统和基站任一方在算法上有变化,可以做到自动上载和同步,不需要因约束变更导致“网元升级导致网管系统升级”或者是“网管系统升级导致网元升级”,从而实现了约束算法的耦合,有利于系统的稳定。同时也避免了二次开发,节省了开发成本。In this paper, the same constraint rules are configured in the base station and the network management system, so that the network management system and the base station have different algorithms in the algorithm, and the automatic uploading and synchronization can be performed without the constraint change. "Upgrade" or "network management system upgrade leads to network element upgrade", thus achieving the coupling of the constraint algorithm, which is conducive to system stability. At the same time, secondary development is avoided, saving development costs.
附图概述BRIEF abstract
图1是本发明实施例二中约束规则配置的装置的结构示意图;1 is a schematic structural diagram of an apparatus for configuring a constraint rule according to Embodiment 2 of the present invention;
图2是本发明实施例三中网管系统发起数据校验操作的流程图;2 is a flowchart of a data verification operation initiated by a network management system according to Embodiment 3 of the present invention;
图3是本发明实施例三中基站发起数据校验操作的流程图;3 is a flowchart of a base station initiating a data verification operation in Embodiment 3 of the present invention;
图4是本发明实施例三中网管系统约束规则更新操作的流程图;4 is a flowchart of an operation of updating a constraint rule of a network management system in Embodiment 3 of the present invention;
图5是本发明实施例三中基站约束规则更新操作的流程图。FIG. 5 is a flowchart of a base station constraint rule update operation in Embodiment 3 of the present invention.
本发明的实施方式Embodiments of the invention
下文中将结合附图对本文的实施方式进行详细说明。需要说明的是,在不冲突的情况下,本文中的实施例及实施例中的特征可以相互任意组合。The embodiments herein will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments herein may be arbitrarily combined with each other.
实施例一Embodiment 1
本发明实施例提供的约束规则的配置方法,应用于基站和网管系统,通过定义一种与硬件平台、软件开发平台无关的描述约束算法,基站和网管系统分别实现这种约束规则的解释器,由于基站和网管系统都使用了相同的约束规则来完成约束校验,如果网管系统和基站任一方在算法上有变化,可以做到自动上载和同步,不需要因约束变更导致“网元升级导致网管系统升级”或者是“网管系统升级导致网元升级”,从而实现了约束算法的耦合。The configuration method of the constraint rule provided by the embodiment of the present invention is applied to a base station and a network management system. By defining a description constraint algorithm that is independent of the hardware platform and the software development platform, the base station and the network management system respectively implement an interpreter for the constraint rule. Since both the base station and the network management system use the same constraint rules to complete the constraint check, if the network management system and the base station change in the algorithm, automatic upload and synchronization can be performed, and the NE upgrade is not caused by the constraint change. The upgrade of the network management system or the upgrade of the network management system leads to the upgrade of the network element, thereby implementing the coupling of the constraint algorithm.
本发明实施例提供一种约束规则的配置方法,应用于基站,所述方法包括: The embodiment of the invention provides a method for configuring a constraint rule, which is applied to a base station, and the method includes:
基站配置用于校验的约束规则,基站配置的约束规则与网管系统配置的约束规则相同;The base station configures a constraint rule for verification, and the constraint rule configured by the base station is the same as the constraint rule configured by the network management system;
基站保持所配置约束规则与网管系统配置的约束规则一致。The base station keeps the configured constraint rules consistent with the constraint rules configured by the network management system.
可选地,Optionally,
基站保持所配置的约束规则与网管系统配置的约束规则一致包括:The base station keeps the configured constraint rules consistent with the constraint rules configured by the network management system, including:
基站所配置的约束规则更新时,基站向网管系统发送变更通知;和/或,基站根据网管系统发送的变更通知保持所配置约束规则与网管系统更新后的约束规则一致;其中,变更通知包含约束规则变更版本信息。When the constraint rule configured by the base station is updated, the base station sends a change notification to the network management system; and/or, the base station keeps the configured constraint rule consistent with the updated constraint rule of the network management system according to the change notification sent by the network management system; wherein the change notification includes the constraint Rule change version information.
基站根据网管系统发送的变更通知保持所配置的约束规则与网管系统更新后的约束规则一致包括:The base station consistently maintains the configured constraint rule according to the change notification sent by the network management system and the updated constraint rule of the network management system includes:
基站接收到网管系统发送的变更通知后,判断是否含有网管系统更新后的约束规则;当基站含有网管系统更新后的约束规则时,基站不加载网管系统更新后的约束规则;当基站不含有网管系统更新后的约束规则时,基站加载网管系统更新后的约束规则。After receiving the change notification sent by the network management system, the base station determines whether the constraint rule of the network management system is updated. When the base station includes the updated constraint rule of the network management system, the base station does not load the updated constraint rule of the network management system; when the base station does not include the network management system When the system is updated with the constraint rule, the base station loads the updated constraint rule of the network management system.
为基站配置约束规则后还包括:After configuring the constraint rules for the base station, it also includes:
基站根据所配置约束规则校验所述基站的配置数据。The base station checks configuration data of the base station according to the configured constraint rule.
本发明实施例还提供一种约束规则的配置方法,应用于网管系统,所述方法包括:The embodiment of the invention further provides a method for configuring a constraint rule, which is applied to a network management system, and the method includes:
网管系统配置用于校验的约束规则,网管系统配置的约束规则与基站配置的约束规则相同;The network management system configures the constraint rule for verification, and the constraint rule configured by the network management system is the same as the constraint rule configured by the base station;
网管系统保持所配置的约束规则与基站配置的约束规则一致。The network management system maintains the configured constraint rules consistent with the constraint rules configured by the base station.
可选地,Optionally,
网管系统保持所配置的约束规则与基站配置的约束规则一致包括:The network management system maintains the configured constraint rules consistent with the constraint rules configured by the base station, including:
网管系统所配置的约束规则更新时,网管系统向所述基站发送变更通知;和/或,网管系统根据所述基站发送的变更通知保持所配置的约束规则与基站更新后的约束规则一致;其中,变更通知包含约束规则变更版本信息。 When the constraint rule configured by the network management system is updated, the network management system sends a change notification to the base station; and/or, the network management system keeps the configured constraint rule consistent with the updated constraint rule of the base station according to the change notification sent by the base station; The change notification contains the constraint rule change version information.
可选地,Optionally,
网管系统根据所述基站发送的变更通知保持所配置的约束规则与基站更新后的约束规则一致包括:The network management system according to the change notification sent by the base station keeps the configured constraint rule consistent with the updated constraint rule of the base station, including:
网管系统接收到基站发送的基站变更通知后,判断是否含有基站更新后的约束规则;当网管系统含有基站更新后的约束规则时,则网管系统不加载基站更新后的约束规则;当网管系统不含有基站更新后的约束规则时,则网管系统加载基站更新后的约束规则。After receiving the base station change notification sent by the base station, the network management system determines whether the base station update constraint rule is included; when the network management system includes the base station updated constraint rule, the network management system does not load the base station updated constraint rule; when the network management system does not When the constraint rule of the base station is updated, the network management system loads the constraint rule after the base station is updated.
为网管系统配置约束规则后还包括:After configuring the constraint rules for the network management system, it also includes:
网管系统根据所配置的约束规则校验网管系统的配置数据。The network management system verifies the configuration data of the network management system according to the configured constraint rules.
本发明实施例还提供一种约束规则配置的装置,设置于基站,所述装置包括:The embodiment of the invention further provides a device for configuring a constraint rule, which is set at a base station, and the device includes:
约束规则配置模块,设置为:配置基站的用于校验约束规则,约束规则与网管系统配置的约束规则相同;The constraint rule configuration module is configured to: configure a base station for verifying the constraint rule, and the constraint rule is the same as the constraint rule configured by the network management system;
约束规则管理模块,设置为:保持所述约束规则配置模块配置的约束规则与网管系统配置的约束规则一致。The constraint rule management module is configured to: maintain the constraint rule configured by the constraint rule configuration module and the constraint rule configured by the network management system.
可选地,Optionally,
所述约束规则管理模块是设置为:The constraint rule management module is set to:
约束规则配置模块配置的约束规则更新时,向网管系统发送变更通知;和/或,根据网管系统发送的变更通知保持约束规则配置模块所配置的约束规则与网管系统更新后的约束规则一致;其中,变更通知包含约束规则变更版本信息。When the constraint rule configured by the constraint rule configuration module is updated, the change notification is sent to the network management system; and/or, according to the change notification sent by the network management system, the constraint rule configured by the constraint constraint configuration module is consistent with the updated constraint rule of the network management system; The change notification contains the constraint rule change version information.
约束规则管理模块是设置为:接收到网管系统发送的变更通知后,判断是否含有网管系统更新后的约束规则;当含有网管系统更新后的约束规则时,不加载网管系统更新后的约束规则;当不含有网管系统更新后的约束规则时,加载网管系统更新后的约束规则。The constraint rule management module is configured to: after receiving the change notification sent by the network management system, determine whether the constraint rule of the network management system is updated; and when the constraint rule of the network management system is updated, the updated constraint rule of the network management system is not loaded; When the constraint rules of the network management system are not updated, the updated constraint rules of the network management system are loaded.
可选地,所述装置还包括: Optionally, the device further includes:
约束规则执行模块,设置为:根据约束规则配置模块所配置的约束规则校验基站的配置数据。The constraint rule execution module is configured to: check the configuration data of the base station according to the constraint rule configured by the constraint rule configuration module.
本发明实施例还提供一种约束规则配置的装置,设置于网管系统,所述装置包括:The embodiment of the present invention further provides a device for configuring a constraint rule, which is disposed in a network management system, and the device includes:
约束规则配置模块,设置为:配置网管系统的用于校验的约束规则,网管系统配置的约束规则与基站配置的约束规则相同;The constraint rule configuration module is configured to: configure a constraint rule for verification of the network management system, and the constraint rule configured by the network management system is the same as the constraint rule configured by the base station;
约束规则管理模块,设置为:保持约束规则配置模块配置的约束规则与基站配置的约束规则一致。The constraint rule management module is configured to: the constraint rule configured by the constraint constraint configuration module is consistent with the constraint rule configured by the base station.
可选地,Optionally,
约束规则管理模块是设置为:约束规则配置模块配置的约束规则更新时,向基站发送变更通知;和/或,根据基站发送的变更通知保持约束规则配置模块配置的约束规则与基站更新后的约束规则一致;其中,变更通知包含约束规则变更版本信息The constraint rule management module is configured to: when the constraint rule configured by the constraint rule configuration module is updated, send a change notification to the base station; and/or, according to the change notification sent by the base station, the constraint rule configured by the constraint constraint configuration module and the updated constraint of the base station The rules are consistent; wherein the change notification contains the constraint rule change version information
所述约束规则管理模块是设置为:接收到基站发送的基站变更通知后,判断是否含有基站更新后的约束规则;当含有基站更新后的约束规则时,则不加载基站更新后的约束规则;当不含有基站更新后的约束规则时,则加载基站更新后的约束规则。The constraint rule management module is configured to: after receiving the base station change notification sent by the base station, determine whether the base station updated the constraint rule is included; when the base station updated constraint rule is included, the base station updated constraint rule is not loaded; When the updated constraint rule of the base station is not included, the updated constraint rule of the base station is loaded.
可选地,所述装置还包括:Optionally, the device further includes:
约束规则执行模块,设置为:根据约束规则配置模块配置的约束规则校验网管系统的配置数据。The constraint rule execution module is configured to: verify the configuration data of the network management system according to the constraint rule configured by the constraint rule.
实施例二Embodiment 2
下面结合附图对本发明的实施方式进行说明。Embodiments of the present invention will be described below with reference to the accompanying drawings.
如图1所示,本发明实施例设置于网管系统的约束规则配置的装置主要包括以下功能模块:As shown in FIG. 1 , the device configured in the constraint rule of the network management system in the embodiment of the present invention mainly includes the following functional modules:
约束规则配置模块101、约束规则管理模块102以及约束规则执行模块 103;Constraint rule configuration module 101, constraint rule management module 102, and constraint rule execution module 103;
约束规则配置模块101设置为:配置网管系统用于校验的约束规则,网管系统配置的约束规则与基站配置的约束规则相同。The constraint rule configuration module 101 is configured to: configure a constraint rule used by the network management system for verification, and the constraint rule configured by the network management system is the same as the constraint rule configured by the base station.
在实现中,定义一种与硬件平台、软件开发平台无关的约束规则的描述方法,使用这个方法定义配置约束规则。网管系统上部署配置数据约束规则的描述文件。In the implementation, a description method of the constraint rules independent of the hardware platform and the software development platform is defined, and the configuration constraint rule is defined by using this method. A description file of the configuration data constraint rule is deployed on the network management system.
在本实施例中可以基于LUA语言描述约束规则,抽象出描述约束规则所需要公共方法(如:查询数据方法、断言方法)。规则的开发者基于LUA语法和公共方法描述约束规则,如:In this embodiment, the constraint rules can be described based on the LUA language, and the public methods (such as the query data method and the assertion method) required to describe the constraint rules are abstracted. Rule developers describe constraint rules based on LUA syntax and public methods, such as:
//查询Sctp的信息;/ / Query the information of Sctp;
sctpInfos=select(mo:"Sctp",where:"");sctpInfos=select(mo:"Sctp",where:"");
//sctpInfos.size()为Sctp的记录数,如表达式sctpInfos.size()<4断言失败,则抛出错误码10021,错误码10021的含义SCTP最多配置4条记录;/ / / / / / / / / / / /
assertTrue(eval:sctpInfos.size()<4,errorCode:"10021",desc:"SCTP最多配置4条记录")//定义断言sctpInfos.size()<4.assertTrue(eval:sctpInfos.size()<4,errorCode:"10021",desc:"SCTP configures up to 4 records") //Defines assertion sctpInfos.size()<4.
约束规则管理模块102设置为:保持所述约束规则配置模块配置的约束规则与所述基站配置的约束规则一致,负责网管系统上约束规则的管理。The constraint rule management module 102 is configured to: maintain the constraint rule configured by the constraint rule configuration module and the constraint rule configured by the base station, and be responsible for the management of the constraint rule on the network management system.
约束规则管理模块102保持所述约束规则配置模块配置的约束规则与所述基站配置的约束规则一致是指:The constraint rule management module 102 keeps the constraint rule configured by the constraint rule configuration module consistent with the constraint rule configured by the base station, which means:
所述约束规则配置模块配置的约束规则更新时,向所述基站发送变更通知;和/或,所述网管系统根据所述基站发送的变更通知保持所述约束规则配置模块配置的约束规则与基站更新后的约束规则一致;其中,所述变更通知包含约束规则变更版本信息。Sending a change notification to the base station when the constraint rule configured by the constraint rule configuration module is updated; and/or, the network management system keeps the constraint rule configured by the constraint rule configuration module and the base station according to the change notification sent by the base station The updated constraint rules are consistent; wherein the change notification includes constraint rule change version information.
所述网管系统根据所述基站发送的变更通知保持所述约束规则配置模块配置的约束规则与基站更新后的约束规则一致是指:According to the change notification sent by the base station, the network management system keeps the constraint rule configured by the constraint rule configuration module consistent with the updated constraint rule of the base station, and the network management system refers to:
所述网管系统接收到所述基站发送的基站变更通知后,判断是否含有基站更新后的约束规则;当所述网管系统含有基站更新后的约束规则时,则所述网管系统不加载基站更新后的约束规则;当所述网管系统不含有基站更新 后的约束规则时,则所述网管系统加载基站更新后的约束规则。After receiving the base station change notification sent by the base station, the network management system determines whether the base station update constraint rule is included; when the network management system includes the base station updated constraint rule, the network management system does not load the base station update. Constraint rules; when the network management system does not contain base station updates After the constraint rule, the network management system loads the updated constraint rule of the base station.
约束规则执行模块103设置为:根据所述约束规则配置模块配置的约束规则校验所述网管系统的配置数据。The constraint rule execution module 103 is configured to: verify the configuration data of the network management system according to the constraint rule configured by the constraint rule configuration module.
网管系统上部署一个LUA语言的虚拟机,实现“描述约束规则所需要公共方法”,网管系统上的约束执行模块调用LUA虚拟机执行约束规则。A LUA language virtual machine is deployed on the network management system to implement a "public method for describing the constraint rules." The constraint execution module on the network management system invokes the LUA virtual machine to execute the constraint rule.
LUA虚拟机有多种版本,可以在嵌入式平台、服务器上运行,并且支持和多种主流开发语言对接,如:C/C++/JAVA。There are multiple versions of the LUA virtual machine, which can run on embedded platforms and servers, and support docking with a variety of mainstream development languages, such as C/C++/JAVA.
本发明实施例设置于基站的约束规则配置的装置主要包括以下功能模块:The device configured by the constraint rule of the base station in the embodiment of the present invention mainly includes the following functional modules:
约束规则配置模块104、约束规则管理模块105以及约束规则执行模块106;a constraint rule configuration module 104, a constraint rule management module 105, and a constraint rule execution module 106;
约束规则配置模块104设置为:配置基站的用于校验的约束规则,基站配置的约束规则与网管系统配置的约束规则相同。基站上配置的约束校验规则和网管系统上配置的约束校验规则是相同的,区别是部署位置,一个在网管系统,一个在基站。The constraint rule configuration module 104 is configured to: configure a constraint rule for the base station for verification, and the constraint rule configured by the base station is the same as the constraint rule configured by the network management system. The constraint check rule configured on the base station is the same as the constraint check rule configured on the network management system. The difference is the deployment location, one in the network management system and one in the base station.
约束规则管理模块105设置为:保持所述约束规则配置模块配置的约束规则与所述网管系统配置的约束规则一致,负责基站上约束规则的管理。The constraint rule management module 105 is configured to: keep the constraint rules configured by the constraint rule configuration module consistent with the constraint rules configured by the network management system, and be responsible for managing the constraint rules on the base station.
约束规则配置模块105配置的约束规则更新时,约束规则管理模块105向网管系统发送变更通知;和/或,约束规则管理模块105根据网管系统发送的变更通知保持约束规则配置模块105所配置的约束规则与网管系统更新后的约束规则一致;其中,所述变更通知包含约束规则变更版本信息。When the constraint rule configured by the constraint rule configuration module 105 is updated, the constraint rule management module 105 sends a change notification to the network management system; and/or, the constraint rule management module 105 maintains the constraint configured by the constraint rule configuration module 105 according to the change notification sent by the network management system. The rule is consistent with the updated constraint rule of the network management system; wherein the change notification includes the constraint rule change version information.
基站接收到网管系统发送的变更通知后,判断是否含有网管系统更新后的约束规则;当基站含有网管系统更新后的约束规则时,基站不加载网管系统更新后的约束规则;当基站不含有网管系统更新后的约束规则时,基站加载网管系统更新后的约束规则。After receiving the change notification sent by the network management system, the base station determines whether the constraint rule of the network management system is updated. When the base station includes the updated constraint rule of the network management system, the base station does not load the updated constraint rule of the network management system; when the base station does not include the network management system When the system is updated with the constraint rule, the base station loads the updated constraint rule of the network management system.
约束执行模块106设置为:根据约束规则配置模块104所配置的约束规则校验基站的配置数据。 The constraint execution module 106 is configured to verify the configuration data of the base station according to the constraint rule configured by the constraint rule configuration module 104.
基站上部署一个LUA语言的虚拟机,实现“描述约束规则所需要公共方法”,基站上的约束执行模块调用LUA虚拟机执行约束规则A LUA language virtual machine is deployed on the base station to implement a "public method for describing the constraint rules." The constraint execution module on the base station invokes the LUA virtual machine to execute the constraint rule.
LUA虚拟机有多种版本,可以在嵌入式平台、服务器上运行,并且支持和多种主流开发语言对接,如:C/C++/JAVA。There are multiple versions of the LUA virtual machine, which can run on embedded platforms and servers, and support docking with a variety of mainstream development languages, such as C/C++/JAVA.
实施例三Embodiment 3
如图2所示,网管系统发起数据校验的步骤如下:As shown in Figure 2, the steps for the network management system to initiate data verification are as follows:
步骤101:网管执行配置数据检查;Step 101: The network management performs configuration data check.
无线网络的运维人员在网管系统上修改无线参数,下发到现网生效前,对修改数据做数据校验。The operation and maintenance personnel of the wireless network modify the wireless parameters on the network management system and perform data verification on the modified data before being delivered to the live network.
步骤102:约束规则管理模块获取对应的约束规则,并加载;Step 102: The constraint rule management module acquires the corresponding constraint rule and loads it.
步骤103:约束校验模块根据约束规则对配置数据发起合法性检查。Step 103: The constraint verification module initiates a legality check on the configuration data according to the constraint rule.
步骤104:判断校验是否通过;Step 104: Determine whether the verification is passed;
约束校验模块根据校验结果显示校验结果,如果校验通过执行步骤105,如果校验失败执行步骤106。The constraint check module displays the check result according to the check result. If the check is performed by performing step 105, if the check fails, step 106 is performed.
步骤105:如果校验通过,则提示用户配置数据满足约束。Step 105: If the verification passes, the user is prompted to configure the data to satisfy the constraint.
步骤106:如果校验失败,则提示用户不合法数据、异常原因。Step 106: If the verification fails, the user is prompted to have illegal data and an abnormal reason.
如图3所示,基站发起数据校验的步骤如下:As shown in Figure 3, the steps for the base station to initiate data verification are as follows:
步骤201:基站执行配置数据检查;Step 201: The base station performs configuration data check.
基站的SON自动配置邻区数据时,对要添加的数据会发起数据约束检查。When the SON of the base station automatically configures the neighbor data, a data constraint check is initiated on the data to be added.
步骤202:通过约束规则管理模块获取对应的约束规则,并加载;Step 202: Obtain a corresponding constraint rule by using a constraint rule management module, and load it;
步骤203:约束校验模块根据约束规则对配置数据发起合法性检查;Step 203: The constraint verification module initiates a legality check on the configuration data according to the constraint rule.
约束校验模块把校验结果反馈给SON。The constraint check module feeds back the verification result to the SON.
步骤204:判断自配置的数据是否生效。 Step 204: Determine whether the self-configured data is valid.
SON根据收到校验结果,判断自配置的数据是否生效。Based on the received verification result, the SON determines whether the self-configured data is valid.
如图4所示,网管系统的约束规则更新的步骤如下:As shown in Figure 4, the steps for updating the constraint rules of the network management system are as follows:
步骤301:网管系统的约束规则发生变化;Step 301: The constraint rule of the network management system changes;
约束规则发生变的触发条件可以是网管系统升级或打补丁,或者其它引起约束规则变化的条件。The trigger condition for the constraint rule to change may be an upgrade or patch of the network management system, or other conditions that cause the constraint rule to change.
步骤302:网管系统上的约束规则管理模块向基站发送约束规则变化通知;Step 302: The constraint rule management module on the network management system sends a constraint rule change notification to the base station.
步骤303:基站收到约束变更通知后,基站上约束管理模块判断当前的系统中是否有这个版本的约束规则;如果基站已经存在则执行步骤304,如果基站不存在则执行步骤305;Step 303: After the base station receives the constraint change notification, the base station on the constraint management module determines whether there is a constraint rule of the version in the current system; if the base station already exists, step 304 is performed, if the base station does not exist, step 305 is performed;
步骤304:基站不发起上载操作,并结束本次操作;Step 304: The base station does not initiate an upload operation, and ends the operation.
如果基站已经存在这个网管系统更新版本的约束规则,则基站不发起上载操作。If the base station already has a constraint rule for the updated version of the network management system, the base station does not initiate an upload operation.
步骤305:基站向网管系统约束规则管理模块发起上载该更新的约束规则的请求。Step 305: The base station initiates a request for uploading the updated constraint rule to the network management system constraint rule management module.
如果基站没有这个网管系统更新版本的约束规则,则基站向网管系统约束规则管理模块发起上载该更新的约束规则的请求。If the base station does not have the constraint rule of the updated version of the network management system, the base station initiates a request for uploading the updated constraint rule to the network management system constraint rule management module.
步骤306:基站上的约束规则管理模块加载网管系统更新的约束规则。Step 306: The constraint rule management module on the base station loads the constraint rule of the network management system update.
网管系统接收到基站发送的上载该更新的约束规则的请求后,向基站发送更新的约束规则文件,基站收到更新的约束规则文件后,执行上载该网管系统更新的约束规则的操作。After receiving the request for uploading the updated constraint rule sent by the base station, the network management system sends an updated constraint rule file to the base station, and after receiving the updated constraint rule file, the base station performs an operation of uploading the constraint rule updated by the network management system.
如图5所示,基站的约束规则更新的步骤如下:As shown in Figure 5, the steps for updating the constraint rules of the base station are as follows:
步骤401:基站的约束规则发生变化;Step 401: The constraint rule of the base station changes;
约束规则发生变的触发条件可以是基站升级或打补丁,或者其它引起约束规则变化的条件。 The trigger condition for the constraint rule to change may be a base station upgrade or patch, or other conditions that cause the constraint rule to change.
步骤402:基站上约束规则管理模块向网管系统发送约束规则变化通知;Step 402: The constraint rule management module on the base station sends a constraint rule change notification to the network management system.
步骤403:网管系统收到约束变更通知后,网管系统上约束管理模块判断当前的网管系统系统中是否有这个版本的约束规则;如果网管系统已经存在则执行步骤404,如果网管系统不存在则执行步骤405;Step 403: After the network management system receives the constraint change notification, the constraint management module on the network management system determines whether there is a constraint rule of the version in the current network management system; if the network management system already exists, step 404 is performed, and if the network management system does not exist, execute Step 405;
步骤404:网管系统不发起上载操作,并结束本次操作;Step 404: The network management system does not initiate an upload operation, and ends the operation.
如果网管系统已经存在这个基站更新版本的约束规则,则不发起上载操作。If the network management system already has a constraint rule for the updated version of the base station, the upload operation is not initiated.
步骤405:网管系统向基站的约束规则管理模块发起上载约束规则的请求;Step 405: The network management system initiates a request for uploading a constraint rule to the constraint rule management module of the base station.
如果网管系统没有这个版本的约束规则,则网管系统向基站上约束规则管理模块发起上载约束规则的请求。If the network management system does not have the constraint rule of this version, the network management system initiates a request for uploading the constraint rule to the constraint rule management module on the base station.
步骤406:网管的约束规则管理模块加载基站更新的约束规则。Step 406: The constraint management module of the network management system loads the constraint rule of the base station update.
基站接收到网管系统发送的上载更新的约束规则的请求后,向网管系统发送更新的约束规则文件,网管系统收到更新的约束规则文件后,执行上载该基站更新的约束规则的操作。After receiving the request for uploading the updated constraint rule sent by the network management system, the base station sends an updated constraint rule file to the network management system, and after receiving the updated constraint rule file, the network management system performs an operation of uploading the constraint rule updated by the base station.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。 上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
工业实用性Industrial applicability
本文通过在基站和网管系统分别配置一套相同的约束规则,使得网管系统和基站任一方在算法上有变化,可以做到自动上载和同步,从而实现了约束算法的耦合,有利于系统的稳定。同时也避免了二次开发,节省了开发成本。 By configuring a set of the same constraint rules in the base station and the network management system respectively, the network management system and the base station have different algorithms in the algorithm, and can automatically upload and synchronize, thus realizing the coupling of the constraint algorithm, which is beneficial to the stability of the system. . At the same time, secondary development is avoided, saving development costs.

Claims (17)

  1. 一种约束规则的配置方法,应用于基站,所述方法包括:A method for configuring a constraint rule is applied to a base station, and the method includes:
    基站配置用于校验的约束规则,所述基站配置的约束规则与网管系统配置的约束规则相同;The base station configures a constraint rule for verification, and the constraint rule configured by the base station is the same as the constraint rule configured by the network management system;
    所述基站保持所配置约束规则与所述网管系统配置的约束规则一致。The base station keeps the configured constraint rule consistent with the constraint rule configured by the network management system.
  2. 如权利要求1所述的方法,其中:The method of claim 1 wherein:
    所述基站保持所配置的约束规则与所述网管系统配置的约束规则一致包括:The fact that the base station keeps the configured constraint rule consistent with the constraint rule configured by the network management system includes:
    所述基站所配置的约束规则更新时,所述基站向所述网管系统发送变更通知;和/或,所述基站根据所述网管系统发送的变更通知保持所配置约束规则与网管系统更新后的约束规则一致;When the constraint rule configured by the base station is updated, the base station sends a change notification to the network management system; and/or, the base station keeps the configured constraint rule and the network management system updated according to the change notification sent by the network management system. Constraint rules are consistent;
    其中,所述变更通知包含约束规则变更版本信息。The change notification includes constraint rule change version information.
  3. 如权利要求2所述的方法,其中:The method of claim 2 wherein:
    所述基站根据所述网管系统发送的变更通知保持所配置的约束规则与网管系统更新后的约束规则一致包括:The determining, by the base station, that the configured constraint rule is consistent with the updated constraint rule of the network management system according to the change notification sent by the network management system includes:
    所述基站接收到所述网管系统发送的变更通知后,判断是否含有网管系统更新后的约束规则;当所述基站含有网管系统更新后的约束规则时,所述基站不加载网管系统更新后的约束规则;当所述基站不含有网管系统更新后的约束规则时,所述基站加载网管系统更新后的约束规则。After receiving the change notification sent by the network management system, the base station determines whether the updated constraint rule of the network management system is included; when the base station includes the updated constraint rule of the network management system, the base station does not load the updated network management system. a constraint rule; when the base station does not include the updated constraint rule of the network management system, the base station loads the updated constraint rule of the network management system.
  4. 如权利要求1至3任一所述的方法,A method according to any one of claims 1 to 3,
    为所述基站配置约束规则后还包括:After configuring the constraint rule for the base station, the method further includes:
    所述基站根据所配置约束规则校验所述基站的配置数据。The base station checks configuration data of the base station according to the configured constraint rule.
  5. 一种约束规则的配置方法,应用于网管系统,所述方法包括:A method for configuring a constraint rule is applied to a network management system, and the method includes:
    网管系统配置用于校验的约束规则,所述网管系统配置的约束规则与基站配置的约束规则相同; The network management system configures a constraint rule for verification, and the constraint rule configured by the network management system is the same as the constraint rule configured by the base station;
    所述网管系统保持所配置的约束规则与所述基站配置的约束规则一致。The network management system maintains the configured constraint rules consistent with the constraint rules configured by the base station.
  6. 如权利要求5所述的方法,其中:The method of claim 5 wherein:
    所述网管系统保持所配置的约束规则与所述基站配置的约束规则一致包括:The network management system maintains that the configured constraint rule is consistent with the constraint rule configured by the base station, including:
    所述网管系统所配置的约束规则更新时,所述网管系统向所述基站发送变更通知;和/或,所述网管系统根据所述基站发送的变更通知保持所配置的约束规则与基站更新后的约束规则一致;When the constraint rule configured by the network management system is updated, the network management system sends a change notification to the base station; and/or, the network management system keeps the configured constraint rule and the base station after updating according to the change notification sent by the base station. Consistent rules are consistent;
    其中,所述变更通知包含约束规则变更版本信息。The change notification includes constraint rule change version information.
  7. 如权利要求6所述的方法,其中:The method of claim 6 wherein:
    所述网管系统根据所述基站发送的变更通知保持所配置的约束规则与基站更新后的约束规则一致包括:The network management system according to the change notification sent by the base station keeps the configured constraint rule consistent with the updated constraint rule of the base station, including:
    所述网管系统接收到所述基站发送的基站变更通知后,判断是否含有基站更新后的约束规则;当所述网管系统含有基站更新后的约束规则时,则所述网管系统不加载基站更新后的约束规则;当所述网管系统不含有基站更新后的约束规则时,则所述网管系统加载基站更新后的约束规则。After receiving the base station change notification sent by the base station, the network management system determines whether the base station update constraint rule is included; when the network management system includes the base station updated constraint rule, the network management system does not load the base station update. The constraint rule; when the network management system does not contain the updated constraint rule of the base station, the network management system loads the updated constraint rule of the base station.
  8. 如权利要求5至7任一所述的方法,其中:A method according to any of claims 5 to 7, wherein:
    为所述网管系统配置约束规则后还包括:After the constraint rules are configured for the network management system, the method further includes:
    所述网管系统根据所配置的约束规则校验所述网管系统的配置数据。The network management system verifies configuration data of the network management system according to the configured constraint rule.
  9. 一种约束规则配置的装置,设置于基站,所述装置包括:An apparatus for configuring a constraint rule is disposed at a base station, where the apparatus includes:
    约束规则配置模块,设置为:配置基站的用于校验约束规则,所述约束规则与网管系统配置的约束规则相同;The constraint rule configuration module is configured to: configure a base station for verifying the constraint rule, where the constraint rule is the same as the constraint rule configured by the network management system;
    约束规则管理模块,设置为:保持所述约束规则配置模块配置的约束规则与所述网管系统配置的约束规则一致。The constraint rule management module is configured to: maintain the constraint rule configured by the constraint rule configuration module and the constraint rule configured by the network management system.
  10. 如权利要求9所述的装置,其中:The apparatus of claim 9 wherein:
    所述约束规则管理模块是设置为: The constraint rule management module is set to:
    所述约束规则配置模块配置的约束规则更新时,向所述网管系统发送变更通知;和/或,根据所述网管系统发送的变更通知保持所述约束规则配置模块所配置的约束规则与网管系统更新后的约束规则一致;Sending a change notification to the network management system when the constraint rule configured by the constraint rule configuration module is updated; and/or maintaining the constraint rule and the network management system configured by the constraint rule configuration module according to the change notification sent by the network management system The updated constraint rules are consistent;
    其中,所述变更通知包含约束规则变更版本信息。The change notification includes constraint rule change version information.
  11. 如权利要求10所述的装置,其中:The apparatus of claim 10 wherein:
    约束规则管理模块是设置为:接收到所述网管系统发送的变更通知后,判断是否含有网管系统更新后的约束规则;当含有网管系统更新后的约束规则时,不加载网管系统更新后的约束规则;当不含有网管系统更新后的约束规则时,加载网管系统更新后的约束规则。The constraint rule management module is configured to: after receiving the change notification sent by the network management system, determine whether the constraint rule of the network management system is updated; and when the constraint rule of the network management system is updated, the updated constraint of the network management system is not loaded. Rule; when the constraint rule of the network management system is not updated, the updated constraint rule of the network management system is loaded.
  12. 如权利要求9至11任一所述的装置,所述装置还包括:The device according to any one of claims 9 to 11, the device further comprising:
    约束规则执行模块,设置为:根据所述约束规则配置模块所配置的约束规则校验所述基站的配置数据。The constraint rule execution module is configured to: check the configuration data of the base station according to the constraint rule configured by the constraint rule configuration module.
  13. 一种约束规则配置的装置,设置于网管系统,所述装置包括:A device for configuring a constraint rule is disposed in a network management system, and the device includes:
    约束规则配置模块,设置为:配置网管系统的用于校验的约束规则,所述网管系统配置的约束规则与基站配置的约束规则相同;The constraint rule configuration module is configured to: configure a constraint rule for verification of the network management system, where the constraint rule configured by the network management system is the same as the constraint rule configured by the base station;
    约束规则管理模块,设置为:保持所述约束规则配置模块配置的约束规则与所述基站配置的约束规则一致。The constraint rule management module is configured to: maintain the constraint rule configured by the constraint rule configuration module and the constraint rule configured by the base station.
  14. 如权利要求13所述的装置,其中:The apparatus of claim 13 wherein:
    所述约束规则管理模块是设置为:所述约束规则配置模块配置的约束规则更新时,向所述基站发送变更通知;和/或,根据所述基站发送的变更通知保持所述约束规则配置模块配置的约束规则与基站更新后的约束规则一致;The constraint rule management module is configured to: send a change notification to the base station when the constraint rule configured by the constraint rule configuration module is updated; and/or maintain the constraint rule configuration module according to the change notification sent by the base station The configured constraint rule is consistent with the updated constraint rule of the base station;
    其中,所述变更通知包含约束规则变更版本信息。The change notification includes constraint rule change version information.
  15. 如权利要求14所述的装置,其中:The apparatus of claim 14 wherein:
    所述约束规则管理模块是设置为:接收到所述基站发送的基站变更通知后,判断是否含有基站更新后的约束规则;当含有基站更新后的约束规则时, 则不加载基站更新后的约束规则;当不含有基站更新后的约束规则时,则加载基站更新后的约束规则。The constraint rule management module is configured to: after receiving the base station change notification sent by the base station, determine whether the base station updated constraint rule is included; when the base station updated constraint rule is included, The base station updated constraint rule is not loaded; when the base station updated constraint rule is not included, the base station updated constraint rule is loaded.
  16. 如权利要求13至15任一所述的装置,其中,所述装置还包括:The device of any of claims 13 to 15, wherein the device further comprises:
    约束规则执行模块,设置为:根据所述约束规则配置模块配置的约束规则校验所述网管系统的配置数据。The constraint rule execution module is configured to: verify the configuration data of the network management system according to the constraint rule configured by the constraint rule configuration module.
  17. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-8任一项的方法。 A computer readable storage medium storing computer executable instructions for performing the method of any of claims 1-8.
PCT/CN2015/078489 2014-12-03 2015-05-07 Constraint rule configuration method and corresponding device WO2016086598A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410727465.7 2014-12-03
CN201410727465.7A CN105722113B (en) 2014-12-03 2014-12-03 Constraint rule configuration method and corresponding device

Publications (1)

Publication Number Publication Date
WO2016086598A1 true WO2016086598A1 (en) 2016-06-09

Family

ID=56090918

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/078489 WO2016086598A1 (en) 2014-12-03 2015-05-07 Constraint rule configuration method and corresponding device

Country Status (2)

Country Link
CN (1) CN105722113B (en)
WO (1) WO2016086598A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112583869B (en) * 2019-09-29 2024-03-08 中兴通讯股份有限公司 Configuration data verification method, device, storage medium and system of network element
CN113760312A (en) * 2020-05-21 2021-12-07 中兴通讯股份有限公司 Base station data upgrading method, base station and computer readable medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662380A (en) * 2008-08-29 2010-03-03 华为技术有限公司 Method, system and device for information synchronization
CN102231679A (en) * 2011-06-29 2011-11-02 烽火通信科技股份有限公司 Method for realizing configuration synchronization of network elements and webmaster

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662380A (en) * 2008-08-29 2010-03-03 华为技术有限公司 Method, system and device for information synchronization
CN102231679A (en) * 2011-06-29 2011-11-02 烽火通信科技股份有限公司 Method for realizing configuration synchronization of network elements and webmaster

Also Published As

Publication number Publication date
CN105722113B (en) 2021-04-20
CN105722113A (en) 2016-06-29

Similar Documents

Publication Publication Date Title
US9038053B2 (en) Non-disruptive software updates for servers processing network traffic
CN101325509B (en) Method, system and apparatus for installing software component
JP6217034B2 (en) Related plug-in management method, apparatus and system
WO2017088388A1 (en) Method and system for upgrading sdk of application
WO2016041360A1 (en) Virtual network function element software deployment method, system and related device
JP2008510252A (en) Generic upgrade architecture
US20190007263A1 (en) Automatic reconfiguration of dependency graph for coordination of device configuration
US20120117557A1 (en) Method and system for upgrading wireless data card
CN101909282B (en) Triggering method, device and system of terminal operation
WO2016058350A1 (en) Base station software version management method and device
WO2016078362A1 (en) Method and device for upgrade board by board in dual master control isolation
CN102195798B (en) A kind of method and system of optical network unit of upgrading
WO2015196654A1 (en) Distributed management method and device for network management
CN105635216A (en) Distributed application upgrade method, device and distributed system
EP4050850A1 (en) Service upgrading method, device and system
CN106412064A (en) Remote upgrade method of power utilization information acquisition terminal
CN104793970A (en) Online upgrade method based on FTP
CN107168752A (en) A kind of firmware upgrade method based on Element management system
WO2012113196A1 (en) Method and apparatus for realizing upgrade of master single-board and slave single-board
CN104601366A (en) Configuration service method and device for control and service nodes
CN103685530A (en) Automatic upgrade control method and system for WLAN current network APs
US11269613B2 (en) Software platform upgrades
WO2016086598A1 (en) Constraint rule configuration method and corresponding device
US11281829B2 (en) Device, system, and method for adaptive simulation
US20150006736A1 (en) Method and System for Deploying and Modifying a Service-Oriented Architecture Deployment Environment

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: 15865165

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15865165

Country of ref document: EP

Kind code of ref document: A1