WO2016141700A1 - Method and device for realizing parameter configuration - Google Patents

Method and device for realizing parameter configuration Download PDF

Info

Publication number
WO2016141700A1
WO2016141700A1 PCT/CN2015/089647 CN2015089647W WO2016141700A1 WO 2016141700 A1 WO2016141700 A1 WO 2016141700A1 CN 2015089647 W CN2015089647 W CN 2015089647W WO 2016141700 A1 WO2016141700 A1 WO 2016141700A1
Authority
WO
WIPO (PCT)
Prior art keywords
configuration
parameter
batch
policy
conditions
Prior art date
Application number
PCT/CN2015/089647
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 WO2016141700A1 publication Critical patent/WO2016141700A1/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 document relates to, but is not limited to, network management technology, and more particularly to a method and apparatus for implementing parameter configuration.
  • the determining that the configuration needs to be performed includes: determining that the configuration condition in the batch configuration policy takes effect.
  • An embodiment of the present invention provides an apparatus for implementing parameter configuration, including a policy setting unit and a batch configuration unit, where
  • the batch configuration unit is further configured to: when the configuration condition that is valid is the event condition, and the configuration result of the controlled device corresponding to the valid configuration condition is continuously configured as the number of configuration failures is greater than When the preset threshold is set, the detected configuration conditions, the corresponding controlled device, and the corresponding parameter identifier and parameter values are deleted from the batch configuration policy.
  • the configuration task will not be repeated to avoid repeated writes.
  • the batch configuration unit 20 is further configured to: record the configuration result of each controlled device corresponding to the effective configuration condition.
  • the embodiment of the present invention further provides a computer readable storage medium, which stores program instructions, and when the program instructions are executed by the processor, a method for implementing parameter configuration provided by Embodiment 1 of the present invention can be implemented.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

Disclosed are a method and device for realizing parameter configuration. The method for realizing parameter configuration comprises: presetting a batch configuration policy for configuring one or more parameters, wherein the parameter configuration strategy comprises one or more configuration conditions, one or more parameter identifications and parameter values corresponding to the configuration conditions, and one or more controlled device identifications corresponding to the configuration conditions, wherein the configuration conditions are classified into a time condition and an event condition; and carrying out batch parameter configuration according to the batch configuration policy when determining that configuration is needed.

Description

一种实现参数配置的方法和装置Method and device for realizing parameter configuration 技术领域Technical field
本文涉及但不限于网络管理技术,尤指一种实现参数配置的方法和装置。This document relates to, but is not limited to, network management technology, and more particularly to a method and apparatus for implementing parameter configuration.
背景技术Background technique
随着通信网络如有线电视网络的规模不断扩大,有效管理通信网络中的各个设备越来越受到人们的关注。以有线电视网络为例来看,通常通过运行有网管系统的管理设备管理有线电视网络中的大量受控设备如机顶盒。在受控设备管理中,配置受控设备如配置受控设备中的各参数是经常用到的一种重要功能。With the continuous expansion of communication networks such as cable television networks, the effective management of various devices in communication networks has attracted more and more attention. Taking a cable television network as an example, a large number of controlled devices such as set top boxes in a cable television network are usually managed by a management device running a network management system. In managed device management, configuring a controlled device, such as configuring various parameters in a controlled device, is an important function that is often used.
以有线电视网络为例来看,通常接收到指示配置受控设备的外部指令时,管理设备配置接收到的外部指令指定的受控设备中的指定的参数为指定的数值。需要说明的是,通常受控设备和参数分别通过受控设备标识和参数标识来指定。其中,管理设备通过现有人机交互方式如通过图形化用户界面获取外部指令;管理设备通过发送命令消息控制受控设备完成配置。不难看出,现有实现参数配置的方法如现有实现机顶盒中的参数配置的方法,一次只能配置单个受控设备中的单个参数,这样增加了管理大量受控设备的时间和复杂度,降低了管理设备的用户体验。Taking the cable television network as an example, when the external command indicating the configuration of the controlled device is received, the management device configures the specified parameter in the controlled device specified by the received external command to a specified value. It should be noted that usually the controlled device and parameters are respectively specified by the controlled device identification and the parameter identification. The management device obtains an external command through an existing human-computer interaction mode, such as through a graphical user interface; the management device controls the controlled device to complete the configuration by sending a command message. It is not difficult to see that the existing method for implementing parameter configuration, such as the existing parameter configuration method in the set top box, can only configure a single parameter in a single controlled device at a time, which increases the time and complexity of managing a large number of controlled devices. Reduced the user experience of managing devices.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述,本概述并非是为了限制权利要求的保护范围。The following is a summary of the subject matter described in detail herein, and is not intended to limit the scope of the claims.
本发明实施例提供了一种实现参数配置的方法和装置,能够降低管理大量受控设备的复杂度,提高管理大量受控设备的效率。The embodiment of the invention provides a method and a device for implementing parameter configuration, which can reduce the complexity of managing a large number of controlled devices and improve the efficiency of managing a large number of controlled devices.
本发明实施例公开了一种实现参数配置的方法,包括:The embodiment of the invention discloses a method for implementing parameter configuration, including:
预先设置用于配置一个或一个以上参数的批量配置策略;其中,所述参 数配置策略包括:一个或一个以上配置条件、与配置条件对应的一个或一个以上参数标识和参数值、和与配置条件对应的一个或一个以上受控设备标识,其中,所述配置条件分类为时间条件和事件条件;Pre-setting a batch configuration policy for configuring one or more parameters; wherein the parameters The number configuration policy includes: one or more configuration conditions, one or more parameter identifiers and parameter values corresponding to the configuration conditions, and one or more controlled device identifiers corresponding to the configuration conditions, wherein the configuration conditions are classified as Time conditions and event conditions;
确定出需要进行配置时,根据所述批量配置策略进行批量参数配置。When the configuration needs to be configured, batch parameter configuration is performed according to the batch configuration policy.
所述确定出需要进行配置包括:确定出所述批量配置策略中的配置条件生效。The determining that the configuration needs to be performed includes: determining that the configuration condition in the batch configuration policy takes effect.
所述进行批量参数配置包括:确定与生效的配置条件对应的每个受控设备,确定与生效的配置条件对应的每个参数,将所述每个受控设备的所述每个参数配置为与所述每个参数对应的参数值。The performing the batch parameter configuration includes: determining each controlled device corresponding to the effective configuration condition, determining each parameter corresponding to the effective configuration condition, and configuring each parameter of each controlled device as A parameter value corresponding to each of the parameters.
可选地,所述进行批量参数配置之后还包括:记录与生效的配置条件对应的各受控设备的配置结果。Optionally, after the performing the batch parameter configuration, the method further includes: recording a configuration result of each controlled device corresponding to the effective configuration condition.
可选地,在所述生效的配置条件属于所述事件条件,且检测出所述生效的配置条件对应的受控设备的配置结果连续为配置失败的次数大于预先设置的次数阈值时,所述方法还包括:Optionally, when the configuration condition that is valid is the event condition, and the configuration result of the controlled device corresponding to the effective configuration condition is that the number of configuration failures is greater than a preset number of times threshold, The method also includes:
将检测出的配置条件、对应的受控设备、以及对应的参数标识和参数值从批量配置策略中删除。The detected configuration conditions, corresponding controlled devices, and corresponding parameter identifiers and parameter values are deleted from the batch configuration policy.
可选地,所述删除之后还包括:记录并提示删除信息;其中,删除信息包括所述从批量配置策略中删除的内容。Optionally, after the deleting, the method further includes: recording and prompting to delete the information; wherein the deleting information includes the content deleted from the batch configuration policy.
本发明实施例提供一种实现参数配置的装置,包括策略设置单元和批量配置单元,其中,An embodiment of the present invention provides an apparatus for implementing parameter configuration, including a policy setting unit and a batch configuration unit, where
策略设置单元,设置为存储预先设置的用于配置一个或一个以上参数的批量配置策略;a policy setting unit configured to store a preset batch configuration policy for configuring one or more parameters;
批量配置单元,设置为在确定出需要进行配置时,根据所述批量配置策略进行批量参数配置;其中,所述参数配置策略包括:一个或一个以上配置条件、与配置条件对应的一个或一个以上参数标识和参数值、和与配置条件对应的一个或一个以上受控设备标识,其中,所述配置条件分类为时间条件和事件条件。The batch configuration unit is configured to perform batch parameter configuration according to the batch configuration policy when determining that the configuration needs to be performed; wherein the parameter configuration policy includes: one or more configuration conditions, one or more corresponding to the configuration condition The parameter identification and parameter values, and one or more controlled device identifications corresponding to the configuration conditions, wherein the configuration conditions are classified into time conditions and event conditions.
其中,所述批量配置单元还设置为:在确定出所述批量配置策略中的配 置条件生效时,确定与生效的配置条件对应的每个受控设备,确定与生效的配置条件对应的每个参数,将所述每个受控设备的所述每个参数配置为与所述每个参数对应的参数值。The batch configuration unit is further configured to: determine a match in the batch configuration policy. When the condition is valid, each controlled device corresponding to the effective configuration condition is determined, each parameter corresponding to the effective configuration condition is determined, and each parameter of each controlled device is configured to be The parameter value corresponding to each parameter.
所述批量配置单元还设置为:记录与生效的配置条件对应的各受控设备的配置结果。The batch configuration unit is further configured to: record a configuration result of each controlled device corresponding to the effective configuration condition.
可选地,所述批量配置单元还设置为:在所述生效的配置条件属于所述事件条件,且检测出所述生效的配置条件对应的受控设备的配置结果连续为配置失败的次数大于预先设置的次数阈值时,将检测出的配置条件、对应的受控设备、以及对应的参数标识和参数值从批量配置策略中删除。Optionally, the batch configuration unit is further configured to: when the configuration condition that is valid is the event condition, and the configuration result of the controlled device corresponding to the valid configuration condition is continuously configured as the number of configuration failures is greater than When the preset threshold is set, the detected configuration conditions, the corresponding controlled device, and the corresponding parameter identifier and parameter values are deleted from the batch configuration policy.
可选地,所述批量配置单元还设置为:记录并提示删除信息;其中,删除信息包括所述从批量配置策略中删除的内容。Optionally, the batch configuration unit is further configured to: record and prompt to delete information; wherein the deletion information includes the content deleted from the batch configuration policy.
本发明实施例还提供一种计算机可读存储介质,存储有程序指令,当该程序指令被处理器执行时实现本发明实施例提供的一种实现参数配置的方法。The embodiment of the present invention further provides a computer readable storage medium, which stores program instructions, and when the program instructions are executed by the processor, implements a method for implementing parameter configuration provided by an embodiment of the present invention.
与现有技术相比,本发明实施例的技术方案包括:预先设置用于配置一个或一个以上参数的批量配置策略,其中,所述参数配置策略包括:一个或一个以上配置条件、与配置条件对应的一个或一个以上参数标识和参数值、和与配置条件对应的一个或一个以上受控设备标识,其中,所述配置条件分类为时间条件和事件条件;确定出需要进行配置时,根据批量配置策略进行批量参数配置。通过本发明技术方案,一方面,实现了对一个或一个以上受控设备中的一个或一个以上参数进行批量配置,从而降低了管理大量受控设备的复杂度,提高了管理大量受控设备的效率,改善了管理设备的用户体验;另一方面,参数配置策略中的配置条件分类为时间条件和事件条件,能够支持分类管理如分类显示,从而提高了配置策略的可管理性。Compared with the prior art, the technical solution of the embodiment of the present invention includes: pre-setting a batch configuration policy for configuring one or more parameters, where the parameter configuration policy includes: one or more configuration conditions, and configuration conditions Corresponding one or more parameter identifiers and parameter values, and one or more controlled device identifiers corresponding to the configuration conditions, wherein the configuration conditions are classified into time conditions and event conditions; when it is determined that configuration is required, according to the batch Configure a policy to configure batch parameters. Through the technical solution of the present invention, on the one hand, batch configuration of one or more parameters in one or more controlled devices is implemented, thereby reducing the complexity of managing a large number of controlled devices and improving the management of a large number of controlled devices. Efficiency improves the user experience of the management device; on the other hand, the configuration conditions in the parameter configuration policy are classified into time conditions and event conditions, and can support classification management such as classification display, thereby improving the manageability of the configuration policy.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
附图用来提供对本发明实施例的技术方案的进一步理解,并且构成说明 书的一部分,与本申请的实施例一起用于解释本发明的技术方案,并不构成对本发明技术方案的限制。The drawings are used to provide a further understanding of the technical solutions of the embodiments of the present invention, and constitute a description. A part of the book is used together with the embodiment of the present application to explain the technical solution of the present invention, and does not constitute a limitation of the technical solution of the present invention.
图1为本发明实施例一中一种实现参数配置的方法的流程图;1 is a flowchart of a method for implementing parameter configuration according to Embodiment 1 of the present invention;
图2为本发明实施例三中一种实现参数配置的装置的组成结构示意图。FIG. 2 is a schematic structural diagram of a device for implementing parameter configuration according to Embodiment 3 of the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
为使本发明实施例的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。The embodiments of the present invention 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 in the present application may be arbitrarily combined with each other.
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps illustrated in the flowchart of the figures may be executed in a computer system such as a set of computer executable instructions. Also, although logical sequences are shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
实施例一Embodiment 1
一种实现参数配置的方法,其流程如图1所示,包括:A method for implementing parameter configuration, the flow of which is shown in Figure 1, including:
步骤101:预先设置用于配置一个或一个以上参数的批量配置策略。Step 101: Pre-set a batch configuration policy for configuring one or more parameters.
其中,参数配置策略包括:一个或一个以上配置条件、与配置条件对应的一个或一个以上参数标识和参数值、和与配置条件对应的一个或一个以上受控设备标识。其中,The parameter configuration policy includes: one or more configuration conditions, one or more parameter identifiers and parameter values corresponding to the configuration conditions, and one or more controlled device identifiers corresponding to the configuration conditions. among them,
配置条件分类为时间条件和事件条件。其中,时间条件可以为每小时进行配置,或者时间条件可也以为每天进行配置,等。事件条件可以为受控设备开机时进行配置等。Configuration conditions are classified into time conditions and event conditions. The time condition may be configured every hour, or the time condition may also be configured daily, and the like. The event condition can be configured when the controlled device is powered on.
参数标识,用于唯一代表受控设备中的参数,例如:参数在受控设备中的地址信息;a parameter identifier for uniquely representing a parameter in the controlled device, for example, address information of the parameter in the controlled device;
受控设备标识,用于唯一代表管理设备管理下的各受控设备中的一个受控设备。The controlled device identifier is used to uniquely represent one of the controlled devices under the management of the management device.
步骤102:确定出需要进行配置时,根据批量配置策略进行批量参数配置。 Step 102: When it is determined that the configuration needs to be performed, the batch parameter configuration is performed according to the batch configuration policy.
在本发明的实施例中,步骤102中确定出需要进行配置为:确定出批量配置策略中的配置条件生效。例如,当配置条件为每小时进行配置时,每隔1小时该配置条件生效,当配置条件为受控设备开机时进行配置时,当检测到受控设备开机时该配置条件生效。In the embodiment of the present invention, it is determined in step 102 that the configuration needs to be configured to: determine that the configuration condition in the batch configuration policy takes effect. For example, when the configuration condition is configured every hour, the configuration condition takes effect every 1 hour. When the configuration condition is configured when the controlled device is powered on, the configuration condition takes effect when the detected device is detected to be powered on.
在本发明的实施例中,步骤102中进行批量参数配置可以包括:确定与生效的配置条件对应的一个或一个以上受控设备,确定与生效的配置条件对应的一个或一个以上参数标识和参数值,在确定的所述受控设备中将所确定的参数配置为其对应的参数值。这样,实现了对生效的配置条件对应的一个或一个以上受控设备的参数批量配置。In an embodiment of the present invention, performing the batch parameter configuration in step 102 may include: determining one or more controlled devices corresponding to the valid configuration conditions, and determining one or more parameter identifiers and parameters corresponding to the effective configuration conditions. And determining, in the determined controlled device, the determined parameter as its corresponding parameter value. In this way, parameter batch configuration of one or more controlled devices corresponding to the valid configuration conditions is implemented.
可选地,步骤102之后还包括:记录与生效的配置条件对应的每个受控设备的配置结果,如:配置成功或配置失败。这样,提高了本发明实施例技术方案的可监控性。Optionally, after the step 102, the method further includes: recording a configuration result of each controlled device corresponding to the effective configuration condition, such as: configuration success or configuration failure. In this way, the monitorability of the technical solution of the embodiment of the present invention is improved.
可选地,在生效的配置条件为事件条件,且检测出生效的配置条件对应的受控设备的配置结果连续为配置失败的次数大于预先设置的次数阈值时,本发明实施例的方法还包括:将检测出的配置条件、对应的每个受控设备、以及对应的参数标识和参数值从批量配置策略中删除。可选地,删除后还可以包括:记录并提示删除信息;其中,删除信息包括所述批量配置策略中删除的内容。Optionally, when the configuration condition that is valid is an event condition, and the configuration result of the controlled device corresponding to the valid configuration condition is that the number of the configuration failures is greater than the preset number of times, the method of the embodiment of the present invention further includes : The detected configuration conditions, corresponding controlled devices, and corresponding parameter identifiers and parameter values are deleted from the batch configuration policy. Optionally, the deleting may further include: recording and prompting to delete the information; wherein the deleting information includes the content deleted in the batch configuration policy.
这样,一方面,避免了连续多次失败后仍然进行配置,降低了管理设备的负荷;另一方面,删除信息直观地记录了配置失败的相关信息,提高了查找出连续多次失败配置失败的原因的工作效率,从而提高了维护效率。In this way, on the one hand, the configuration is still avoided after multiple consecutive failures, and the load of the management device is reduced; on the other hand, the deletion information intuitively records the information about the configuration failure, and improves the failure of finding multiple consecutive failure configurations. The reason for the work efficiency, thus improving the maintenance efficiency.
实施例二Embodiment 2
一种实现参数配置的方法,包括的步骤和实施例一中一致,其中步骤101中预先设置的批量配置策略,举例如下:A method for implementing parameter configuration, including the steps in the first embodiment, wherein the batch configuration policy preset in step 101 is as follows:
表1批量配置策略Table 1 Batch Configuration Policy
Figure PCTCN2015089647-appb-000001
Figure PCTCN2015089647-appb-000001
Figure PCTCN2015089647-appb-000002
Figure PCTCN2015089647-appb-000002
预先设置的批量配置策略中,每个配置策略中包括的配置条件可以为一个,也可以为一个以上;对应的参数标识和参数值可以为一组或一组以上;对应的受控设备可以为一个或一个以上。根据实际的配置需求设定,不限于本发明实施中例举的内容。In a preset batch configuration policy, the configuration condition included in each configuration policy may be one or more; the corresponding parameter identifier and parameter value may be one or more groups; the corresponding controlled device may be One or more. The setting according to actual configuration requirements is not limited to the contents exemplified in the practice of the present invention.
其中,步骤102中,确定出需要进行配置时,根据批量配置策略进行批量参数配置。根据表1中的配置策略,可以为:In step 102, when it is determined that the configuration needs to be performed, the batch parameter configuration is performed according to the batch configuration policy. According to the configuration policy in Table 1, it can be:
根据配置策略1:每隔一小时该配置生效;确定该策略对应的受控设备为:设备1(设备ID 1)和设备2(设备ID 2);确定该策略对应的参数标识和参数值为:参数ID 1:参数值1;参数ID 2:参数值2和参数ID 3:参 数值3;每隔一小时,将设备1和设备2上的参数ID1、参数ID 2和参数ID 3对应的参数配置为:参数值1、参数值2和参数值3;According to the configuration policy 1: the configuration takes effect every hour; the controlled device corresponding to the policy is: device 1 (device ID 1) and device 2 (device ID 2); determine the parameter identifier and parameter value corresponding to the policy. : Parameter ID 1: Parameter value 1; Parameter ID 2: Parameter value 2 and parameter ID 3: Reference Value 3; every hour, the parameters corresponding to parameter ID1, parameter ID2 and parameter ID3 on device 1 and device 2 are configured as: parameter value 1, parameter value 2 and parameter value 3;
可选地,对于已经成功配置了对应参数的设备,在后续配置条件生效时,将不再重复执行配置任务,避免重复写入。Optionally, for a device that has successfully configured the corresponding parameter, when the subsequent configuration conditions take effect, the configuration task will not be repeated to avoid repeated writes.
根据配置策略2:每隔一天该配置生效;确定该策略对应的受控设备为:设备3(设备ID 3)、设备4(设备ID 4)、设备5(设备ID 5)和设备6(设备ID 6);确定该策略对应的参数标识和参数值为:参数ID 4:参数值4;和参数ID 5:参数值5;每隔一天,将设备3、设备4、设备5和设备6上的参数ID4和参数ID 5对应的参数配置为:参数值4和参数值5;According to configuration policy 2: The configuration takes effect every other day; the controlled devices corresponding to the policy are: device 3 (device ID 3), device 4 (device ID 4), device 5 (device ID 5), and device 6 (device) ID 6); determine the parameter identification and parameter values corresponding to the policy: parameter ID 4: parameter value 4; and parameter ID 5: parameter value 5; every other day, device 3, device 4, device 5, and device 6 The parameter corresponding to parameter ID4 and parameter ID 5 is configured as: parameter value 4 and parameter value 5;
可选地,对于已经成功配置了对应参数的设备,在后续配置条件生效时,将不再重复执行配置任务,避免重复写入。Optionally, for a device that has successfully configured the corresponding parameter, when the subsequent configuration conditions take effect, the configuration task will not be repeated to avoid repeated writes.
根据配置策略3:开机时该配置生效;确定该策略对应的受控设备为:设备3(设备ID 3)和设备7(设备ID 7);确定该策略对应的参数标识和参数值为:参数ID 4:参数值6和参数ID 6:参数值7;当设备3和设备7开机时,分别将设备3和设备7上的参数ID4和参数ID 6对应的参数配置为:参数值6和参数值7;According to configuration policy 3: The configuration takes effect when the device is powered on; the controlled device corresponding to the policy is: device 3 (device ID 3) and device 7 (device ID 7); determine the parameter identifier and parameter value corresponding to the policy: ID 4: parameter value 6 and parameter ID 6: parameter value 7; when device 3 and device 7 are powered on, the parameters corresponding to parameter ID4 and parameter ID 6 on device 3 and device 7 are respectively configured as: parameter value 6 and parameter Value 7;
可选地,对于已经成功配置了对应参数的设备,在后续配置条件生效时,将不再重复执行配置任务,避免重复写入。Optionally, for a device that has successfully configured the corresponding parameter, when the subsequent configuration conditions take effect, the configuration task will not be repeated to avoid repeated writes.
根据配置策略4:首次开机注册时该配置生效;确定该策略对应的受控设备为:设备3(设备ID 3)和设备7(设备ID 7);确定该策略对应的参数标识和参数值为:参数ID 6:参数值8;当设备3和设备7首次开机注册时,分别将设备3和设备7上的参数ID 6对应的参数配置为:参数值8;According to configuration policy 4: The configuration takes effect when the first-time power-on registration occurs; the controlled devices corresponding to the policy are: device 3 (device ID 3) and device 7 (device ID 7); determine the parameter identifier and parameter value corresponding to the policy. : parameter ID 6: parameter value 8; when device 3 and device 7 are first turned on, the parameters corresponding to parameter ID 6 on device 3 and device 7 are respectively configured as: parameter value 8;
可选地,对于已经成功配置了对应参数的设备,在后续配置条件生效时,将不再重复执行配置任务,避免重复写入。Optionally, for a device that has successfully configured the corresponding parameter, when the subsequent configuration conditions take effect, the configuration task will not be repeated to avoid repeated writes.
根据配置策略5:非首次开机注册时该配置生效;确定该策略对应的受控设备为:设备3(设备ID 3)和设备7(设备ID 7);确定该策略对应的参数标识和参数值为:参数ID 7:参数值9;当设备3和设备7非首次开机注册时,分别将设备3和设备7上的参数ID 7对应的参数配置为:参数值9; According to configuration policy 5: The configuration takes effect when the first-time power-on registration is performed; the controlled devices corresponding to the policy are: device 3 (device ID 3) and device 7 (device ID 7); determine the parameter identifier and parameter value corresponding to the policy. It is: parameter ID 7: parameter value 9; when device 3 and device 7 are not registered for the first time, the parameters corresponding to parameter ID 7 on device 3 and device 7 are respectively configured as: parameter value 9;
可选地,对于已经成功配置了对应参数的设备,在后续配置条件生效时,将不再重复执行配置任务,避免重复写入。Optionally, for a device that has successfully configured the corresponding parameter, when the subsequent configuration conditions take effect, the configuration task will not be repeated to avoid repeated writes.
根据配置策略6:配置条件包括:首次开机注册时和非首次开机注册时该配置生效;确定该策略对应的受控设备为:设备3(设备ID 3)、设备4(设备ID 4)、设备5(设备ID 5)和设备6(设备ID 6);确定该策略对应的参数标识和参数值为:参数ID 4:参数值10和参数ID 6:参数值11;当设备3、设备4、设备5和设备6首次开机注册或非首次开机注册时,分别将设备3、设备4、设备5和设备6上的参数ID 4和参数ID 6对应的参数配置为:参数值10和参数值11;According to configuration policy 6: The configuration conditions include: the first time the power is turned on and the first time the first time the device is registered, the configuration is effective; the controlled device corresponding to the policy is: device 3 (device ID 3), device 4 (device ID 4), device 5 (device ID 5) and device 6 (device ID 6); determine the parameter identification and parameter values corresponding to the policy: parameter ID 4: parameter value 10 and parameter ID 6: parameter value 11; when device 3, device 4, When the device 5 and the device 6 are first turned on or not registered for the first time, the parameters corresponding to the parameter ID 4 and the parameter ID 6 on the device 3, the device 4, the device 5, and the device 6 are respectively configured as: parameter value 10 and parameter value 11 ;
可选地,对于已经成功配置了对应参数的设备,在后续配置条件生效时,将不再重复执行配置任务,避免重复写入。Optionally, for a device that has successfully configured the corresponding parameter, when the subsequent configuration conditions take effect, the configuration task will not be repeated to avoid repeated writes.
在本发明实施例方案的实施中,参照表1,根据实际的配置需求,采用一个或一个以上的批量配置策略。特别说明的是,表1举例说明的是预先设置的批量策略,不代表实际应用中要包括全部批量策略。对表1中所例举的多个批量配置策略,应当独立理解。In the implementation of the solution in the embodiment of the present invention, referring to Table 1, one or more batch configuration policies are adopted according to actual configuration requirements. Specifically, Table 1 exemplifies a preset batch policy, which does not mean that all batch policies are included in the actual application. The multiple batch configuration strategies exemplified in Table 1 should be understood independently.
可选地,步骤102后,记录与生效的配置条件对应的每一个受控设备的配置结果,例如:Optionally, after step 102, the configuration result of each controlled device corresponding to the effective configuration condition is recorded, for example:
表2配置结果记录Table 2 configuration result record
Figure PCTCN2015089647-appb-000003
Figure PCTCN2015089647-appb-000003
Figure PCTCN2015089647-appb-000004
Figure PCTCN2015089647-appb-000004
可选地,还可以记录每一次进行配置的时间、累积配置成功或失败的次数、连续配置失败的次数等。Optionally, it is also possible to record the time of each configuration, the number of successful configuration or failures, the number of consecutive configuration failures, and the like.
可选地,在记录每一个受控设备的配置结果后,在生效的配置条件为开机时配置时,检测到设备7(设备ID 7)连续4次在开机时,进行参数4(参数ID 4)和参数6(参数ID 6)的配置失败,由于预先设置的次数阈值为3,此时连续失败次数4大于预先设置的次数阈值,则将检测出的配置条件、对应的每一个受控设备、以及对应的参数标识和参数值从批量配置策略中删除。相对于表1,就是指将开机时配置设备7(设备ID 7),对应配置参数4(参数ID 4)和参数6(参数ID 6)的配置信息删除,删除后的批量配置策略为:Optionally, after the configuration result of each controlled device is recorded, when the configured configuration condition is the startup configuration, the device 7 (device ID 7) is detected to perform parameter 4 (parameter ID 4) when the power is turned on four times in succession. And the configuration of parameter 6 (parameter ID 6) fails. Since the preset number of times threshold is 3, and the number of consecutive failures 4 is greater than the preset number of times threshold, the detected configuration conditions and corresponding corresponding controlled devices will be detected. And corresponding parameter identifiers and parameter values are removed from the batch configuration policy. Compared with Table 1, the configuration information of the configuration device 7 (device ID 7), corresponding configuration parameter 4 (parameter ID 4) and parameter 6 (parameter ID 6) is deleted. The batch configuration strategy after deletion is:
表3删除后的批量配置策略Table 3 Batch configuration strategy after deletion
Figure PCTCN2015089647-appb-000005
Figure PCTCN2015089647-appb-000005
Figure PCTCN2015089647-appb-000006
Figure PCTCN2015089647-appb-000006
可选地,删除后还包括:记录并提示删除信息;其中,删除信息包括所述批量配置策略中删除的内容。Optionally, after the deleting, the method further includes: recording and prompting to delete the information; wherein the deleting information includes the content deleted in the batch configuration policy.
实施例三Embodiment 3
图2为本发明实施例实现参数配置的装置的组成结构示意图,该装置300设置在管理设备中。如图2所示,该装置300包括策略设置单元10和批量配置单元20,其中,FIG. 2 is a schematic structural diagram of a device for implementing parameter configuration according to an embodiment of the present invention, where the device 300 is disposed in a management device. As shown in FIG. 2, the apparatus 300 includes a policy setting unit 10 and a batch configuration unit 20, where
策略设置单元10,设置为存储预先设置的用于配置一个或一个以上参数的批量配置策略;The policy setting unit 10 is configured to store a preset batch configuration policy for configuring one or more parameters;
其中,参数配置策略包括:一个或一个以上配置条件、与配置条件对应的一个或一个以上参数标识和参数值、和与配置条件对应的一个或一个以上受控设备标识,这里,配置条件可以分类为时间条件和事件条件。The parameter configuration policy includes: one or more configuration conditions, one or more parameter identifiers and parameter values corresponding to the configuration conditions, and one or more controlled device identifiers corresponding to the configuration conditions. Here, the configuration conditions may be classified. For time conditions and event conditions.
批量配置单元20,设置为在确定出需要进行配置时,根据批量配置策略进行批量参数配置。The batch configuration unit 20 is configured to perform batch parameter configuration according to the batch configuration policy when it is determined that configuration is required.
其中,批量配置单元20设置为:在确定出批量配置策略中的配置条件生效时,确定与生效的配置条件对应的每个受控设备,确定与生效的配置条件对应的每个参数,将所述每个受控设备的所述每个参数配置为与所述每个参数对应的参数值。 The batch configuration unit 20 is configured to: when it is determined that the configuration condition in the batch configuration policy is effective, determine each controlled device corresponding to the effective configuration condition, and determine each parameter corresponding to the effective configuration condition, Each of the parameters of each of the controlled devices is configured as a parameter value corresponding to each of the parameters.
可选地,Optionally,
批量配置单元20还设置为:记录与生效的配置条件对应的各受控设备的配置结果。The batch configuration unit 20 is further configured to: record the configuration result of each controlled device corresponding to the effective configuration condition.
可选地,Optionally,
批量配置单元20还设置为:在生效的配置条件为事件条件,且检测出生效的配置条件对应的受控设备的配置结果连续为配置失败的次数大于预先设置的次数阈值时,将检测出的配置条件、对应的各受控设备、以及对应的参数标识和参数值从批量配置策略中删除。The batch configuration unit 20 is further configured to: when the configuration condition that is valid is an event condition, and the configuration result of the controlled device corresponding to the valid configuration condition is continuously determined to be greater than the preset threshold number, the detected configuration is detected. The configuration conditions, corresponding controlled devices, and corresponding parameter identifiers and parameter values are deleted from the batch configuration policy.
可选地,Optionally,
批量配置单元20还设置为:记录并提示删除信息;其中,删除信息包括所述批量配置策略中删除的内容。The batch configuration unit 20 is further configured to: record and prompt to delete the information; wherein the deletion information includes the content deleted in the batch configuration policy.
实施例四Embodiment 4
本发明实施例还提供一种计算机可读存储介质,存储有程序指令,当该程序指令被处理器执行时可实现本发明实施例一所提供的一种实现参数配置的方法。The embodiment of the present invention further provides a computer readable storage medium, which stores program instructions, and when the program instructions are executed by the processor, a method for implementing parameter configuration provided by Embodiment 1 of the present invention can be implemented.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。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 each 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
本发明实施例实现了对一个或一个以上受控设备中的一个或一个以上参数进行批量配置,从而降低了管理大量受控设备的复杂度,提高了管理大量受控设备的效率,改善了管理设备的用户体验。 The embodiment of the invention implements batch configuration of one or more parameters in one or more controlled devices, thereby reducing the complexity of managing a large number of controlled devices, improving the efficiency of managing a large number of controlled devices, and improving management. User experience of the device.

Claims (12)

  1. 一种实现参数配置的方法,包括:A method for implementing parameter configuration, comprising:
    预先设置用于配置一个或一个以上参数的批量配置策略;其中,所述参数配置策略包括:一个或一个以上配置条件、与配置条件对应的一个或一个以上参数标识和参数值、和与配置条件对应的一个或一个以上受控设备标识,其中,所述配置条件分类为时间条件和事件条件;A batch configuration policy for configuring one or more parameters is preset; wherein the parameter configuration policy includes: one or more configuration conditions, one or more parameter identifiers and parameter values corresponding to the configuration conditions, and configuration conditions Corresponding one or more controlled device identifiers, wherein the configuration conditions are classified into time conditions and event conditions;
    确定出需要进行配置时,根据所述批量配置策略进行批量参数配置。When the configuration needs to be configured, batch parameter configuration is performed according to the batch configuration policy.
  2. 根据权利要求1所述的方法,其中,所述确定出需要进行配置包括:确定出所述批量配置策略中的配置条件生效。The method of claim 1, wherein the determining that configuration is required comprises determining that a configuration condition in the batch configuration policy is effective.
  3. 根据权利要求2所述的方法,其中,所述进行批量参数配置包括:确定与生效的配置条件对应的每个受控设备,确定与生效的配置条件对应的每个参数,将所述每个受控设备的所述每个参数配置为与所述每个参数对应的参数值。The method of claim 2, wherein the performing the batch parameter configuration comprises: determining each controlled device corresponding to the validated configuration condition, determining each parameter corresponding to the validated configuration condition, each of the parameters Each of the parameters of the controlled device is configured as a parameter value corresponding to each of the parameters.
  4. 根据权利要求1~3任一项所述的方法,在所述进行批量参数配置之后,所述方法还包括:记录与生效的配置条件对应的每个受控设备的配置结果。The method according to any one of claims 1 to 3, after the performing batch parameter configuration, the method further comprises: recording a configuration result of each controlled device corresponding to the effective configuration condition.
  5. 根据权利要求4所述的方法,在所述生效的配置条件属于所述事件条件,且检测出所述生效的配置条件对应的受控设备的配置结果连续为配置失败的次数大于预先设置的次数阈值时,所述方法还包括:The method according to claim 4, wherein the effective configuration condition belongs to the event condition, and the configuration result of the controlled device corresponding to the effective configuration condition is continuously determined to be that the number of configuration failures is greater than a preset number of times. At the threshold, the method further includes:
    将检测出的配置条件、对应的受控设备、以及对应的参数标识和参数值从批量配置策略中删除。The detected configuration conditions, corresponding controlled devices, and corresponding parameter identifiers and parameter values are deleted from the batch configuration policy.
  6. 根据权利要求5所述的方法,在所述删除之后,所述方法还包括:记录并提示删除信息;其中,删除信息包括所述从批量配置策略中删除的内容。The method according to claim 5, after the deleting, the method further comprises: recording and prompting to delete the information; wherein the deleting information comprises the content deleted from the batch configuration policy.
  7. 一种实现参数配置的装置,包括策略设置单元和批量配置单元,其中,An apparatus for implementing parameter configuration, comprising a policy setting unit and a batch configuration unit, wherein
    所述策略设置单元,设置为存储预先设置的用于配置一个或一个以上参 数的批量配置策略;The policy setting unit is configured to store a preset for configuring one or more parameters Number of batch configuration strategies;
    批量配置单元,设置为在确定出需要进行配置时,根据所述批量配置策略进行批量参数配置;其中,所述参数配置策略包括:一个或一个以上配置条件、与配置条件对应的一个或一个以上参数标识和参数值、和与配置条件对应的一个或一个以上受控设备标识,其中,所述配置条件分类为时间条件和事件条件。The batch configuration unit is configured to perform batch parameter configuration according to the batch configuration policy when determining that the configuration needs to be performed; wherein the parameter configuration policy includes: one or more configuration conditions, one or more corresponding to the configuration condition The parameter identification and parameter values, and one or more controlled device identifications corresponding to the configuration conditions, wherein the configuration conditions are classified into time conditions and event conditions.
  8. 根据权利要求7所述的装置,其中,所述批量配置单元还设置为:在确定出所述批量配置策略中的配置条件生效时,确定与生效的配置条件对应的每个受控设备,确定与生效的配置条件对应的每个参数,将所述每个受控设备的所述每个参数配置为与所述每个参数对应的数值。The apparatus according to claim 7, wherein the batch configuration unit is further configured to: determine, when the configuration condition in the batch configuration policy is valid, determine each controlled device corresponding to the effective configuration condition, and determine Each of the parameters of each of the controlled devices is configured as a value corresponding to each of the parameters for each parameter corresponding to the effective configuration condition.
  9. 根据权利要求7或8所述的装置,其中,所述批量配置单元还设置为:记录与生效的配置条件对应的每个受控设备的配置结果。The apparatus according to claim 7 or 8, wherein the batch configuration unit is further configured to: record a configuration result of each controlled device corresponding to the effective configuration condition.
  10. 根据权利要求9所述的装置,其中,所述批量配置单元还设置为:在所述生效的配置条件属于所述事件条件,且检测出所述生效的配置条件对应的受控设备的配置结果连续为配置失败的次数大于预先设置的次数阈值时,将检测出的配置条件、对应的受控设备、以及对应的参数标识和参数值从批量配置策略中删除。The apparatus according to claim 9, wherein the batch configuration unit is further configured to: the configuration condition that the effective configuration condition belongs to the event condition, and the configuration result of the controlled device corresponding to the effective configuration condition is detected If the number of consecutive configuration failures is greater than the preset number of times, the detected configuration conditions, corresponding controlled devices, and corresponding parameter identifiers and parameter values are deleted from the batch configuration policy.
  11. 根据权利要求10所述的装置,其中,所述批量配置单元还设置为:记录并提示删除信息;其中,删除信息包括所述从批量配置策略中删除的内容。The apparatus according to claim 10, wherein the batch configuration unit is further configured to: record and prompt deletion information; wherein the deletion information comprises the content deleted from the batch configuration policy.
  12. 一种计算机可读存储介质,存储有程序指令,当该程序指令被处理器执行时实现权利要求1-6任一项所述的方法。 A computer readable storage medium storing program instructions that, when executed by a processor, implement the method of any of claims 1-6.
PCT/CN2015/089647 2015-03-06 2015-09-15 Method and device for realizing parameter configuration WO2016141700A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510100289.9A CN105991341A (en) 2015-03-06 2015-03-06 Method and device for realizing parameter configuration
CN201510100289.9 2015-03-06

Publications (1)

Publication Number Publication Date
WO2016141700A1 true WO2016141700A1 (en) 2016-09-15

Family

ID=56879916

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/089647 WO2016141700A1 (en) 2015-03-06 2015-09-15 Method and device for realizing parameter configuration

Country Status (2)

Country Link
CN (1) CN105991341A (en)
WO (1) WO2016141700A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109639487B (en) * 2018-12-17 2022-03-01 杭州迪普科技股份有限公司 Policy configuration method, device, network equipment and storage medium
CN112798175B (en) * 2021-02-24 2023-01-24 北京康斯特仪表科技股份有限公司 Method for rapidly configuring working parameters of metering device and pressure metering device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997037477A2 (en) * 1996-03-29 1997-10-09 Cabletron Systems, Inc. Policy management and conflict resolution in computer networks
US5875327A (en) * 1997-02-18 1999-02-23 International Business Machines Corporation Hierarchy of preferences and preference groups
CN101453367A (en) * 2007-11-30 2009-06-10 华为技术有限公司 Software deployment method and system, software deployment server and user server
CN103955381A (en) * 2014-04-04 2014-07-30 京信通信系统(中国)有限公司 Method and system for management server to perform batch software update on terminal equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100498702C (en) * 2007-04-29 2009-06-10 华为技术有限公司 Configuring information processing method and arrangement, and platform system
CN101582908B (en) * 2009-06-30 2013-01-09 浙江宇视科技有限公司 Parameter configuration method and equipment
US9146755B2 (en) * 2009-07-08 2015-09-29 Kaseya Limited System and method for transporting platform independent power configuration parameters
US8261295B1 (en) * 2011-03-16 2012-09-04 Google Inc. High-level language for specifying configurations of cloud-based deployments
CN104104535B (en) * 2013-04-15 2018-03-20 北京中嘉时代科技有限公司 A kind of unified monitoring and O&M method and device based on strategy

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997037477A2 (en) * 1996-03-29 1997-10-09 Cabletron Systems, Inc. Policy management and conflict resolution in computer networks
US5875327A (en) * 1997-02-18 1999-02-23 International Business Machines Corporation Hierarchy of preferences and preference groups
CN101453367A (en) * 2007-11-30 2009-06-10 华为技术有限公司 Software deployment method and system, software deployment server and user server
CN103955381A (en) * 2014-04-04 2014-07-30 京信通信系统(中国)有限公司 Method and system for management server to perform batch software update on terminal equipment

Also Published As

Publication number Publication date
CN105991341A (en) 2016-10-05

Similar Documents

Publication Publication Date Title
US9292217B2 (en) Logical volume space sharing
US9311326B2 (en) Virtual file system for automated data replication and review
US9077728B1 (en) Systems and methods for managing access-control groups
CN106294351A (en) Log event treating method and apparatus
US20170006118A1 (en) Use and configuration of templates for management of cloud providers
US9811279B2 (en) Securing physical-storage-media data transfers
CN104683400A (en) Cloud system and cloud resource configuration method
CN104158858A (en) Method and system for accessing distributed cluster file system
US20140317158A1 (en) File storage device and method for managing file system thereof
CN104142844A (en) Method and device for clearing processes of mobile terminal
CN104737135B (en) The information processing terminal and synchronisation control means
CN108134696A (en) A kind of micro services configuration update method and device
WO2017206754A1 (en) Storage method and storage device for distributed file system
WO2016101545A1 (en) Device management method, apparatus, and system
US8843915B2 (en) Signature-based update management
CN105635311A (en) Method for synchronizing resource pool information in cloud management platform
WO2019128984A1 (en) Container security policy handling method and related device
CN103885865A (en) Method and device for managing sensors
CN104519078A (en) A method and a device for realizing cloud storage
WO2016202070A1 (en) Method and device for recording log in network system
WO2016141700A1 (en) Method and device for realizing parameter configuration
CN105592114A (en) Application software issuing method in virtual desktop environment
WO2016198004A1 (en) Network gambit configuration method and apparatus under virtualization technology
WO2017054695A1 (en) Method, apparatus and system for deploying virtual machine with backup virtual network interface card based on kvm
US11907262B2 (en) System and method for data pruning via dynamic partition management

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

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

Country of ref document: EP

Kind code of ref document: A1