WO2012065395A1 - Service configuration processing method and apparatus - Google Patents

Service configuration processing method and apparatus Download PDF

Info

Publication number
WO2012065395A1
WO2012065395A1 PCT/CN2011/072005 CN2011072005W WO2012065395A1 WO 2012065395 A1 WO2012065395 A1 WO 2012065395A1 CN 2011072005 W CN2011072005 W CN 2011072005W WO 2012065395 A1 WO2012065395 A1 WO 2012065395A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
configuration
information
state machine
state
Prior art date
Application number
PCT/CN2011/072005
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 WO2012065395A1 publication Critical patent/WO2012065395A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5041Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
    • H04L41/5054Automatic deployment of services triggered by the service manager, e.g. service implementation by automatic configuration of network components

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a service configuration processing method and apparatus.
  • the present invention provides a service configuration processing method and apparatus, so as to avoid failure of the service configuration caused by improper configuration of the user or configuration.
  • the present invention provides a service configuration processing method, which includes:
  • the business state machine After receiving the configuration command related to the keyword, the business state machine is generated, and the business state machine is initialized to the uncollected state;
  • the service state machine After the service state machine receives the service configuration command, it determines whether all the information related to the service state machine has been configured normally. If any information is not configured or is incorrectly configured, the service is not configured. The state machine is still in an unreceived state; if all the information related to the service state machine has been properly configured, the service state machine is transferred to the collection state, and the industry is triggered. Create an operation.
  • the service configuration processing method has the following characteristics:
  • the service configuration processing method may further have the following features:
  • the method further includes: after receiving the service configuration command, the service state machine determines whether all configuration information is normal configuration and between each information. The association is correct. If any configuration information is incorrectly configured or the association between any information is incorrect, the status is not received and the service deletion operation is triggered.
  • the service configuration processing method may further have the following features:
  • the method further includes: after receiving the service configuration command, the service state machine determines whether all configuration information is normal configuration and between each information. The association is correct. If all the configuration information is configured normally, and the correlation between the information is correct, the service state machine is still in the state of being collected, and the deletion or re-reconstruction operation or the direct modification operation is triggered.
  • the service configuration processing method may further have the following features:
  • the trigger delete re-rebuild operation or the direct modify operation includes: if the interface provided by the driver is an incremental interface, the service state machine directly delivers the modified attribute to the driver; if the interface provided by the driver is a full-scale interface, the service state machine will The original full amount of deletion, and then rebuild the full amount will be sent to the driver.
  • the present invention also provides a service configuration processing apparatus, the apparatus comprising:
  • Generating a module which is configured to: after receiving a configuration command related to the keyword, generate a business state machine, and initialize the business state machine to an uncollected state;
  • the configuration processing module is configured to: after receiving the service configuration command, the service state machine determines whether all information related to the service state machine has been properly configured, if If any of the information is not configured or configured incorrectly, the service state machine is still in an unreceived state; if all the information related to the service state machine has been properly configured, the service state machine is transferred to the collection. Status, and trigger a business creation operation.
  • the service configuration processing device has the following characteristics:
  • the configuration processing module is configured to: determine whether all the configuration information is normal configuration, and the association between the information is correct. If all the configuration information is normal configuration, and the correlation between the information is correct, Then, the service state is transferred to the collection state.
  • the service configuration processing device further has the following features:
  • the configuration processing module is further configured to: after the service state machine receives the service configuration command, determine whether all configuration information is normal configuration and the association between the information is correct, if any If the configuration information is incorrectly configured or the association between any information is incorrect, the service status is transferred to the uncollected state, and the service deletion operation is triggered.
  • the service configuration processing device further has the following features:
  • the configuration processing module is further configured to: after the service state machine receives the service configuration command, determine whether all configuration information is normal configuration and the association between the information is correct, if all the configuration information is correct. If the configurations are correct, and the association between the information is correct, the service status is still in the state of being collected, and the deletion or re-reconstruction operation or the direct modification operation is triggered.
  • the service configuration processing device further has the following features:
  • the configuration processing module is further configured to: if the interface provided by the driver is an incremental interface, the modified attribute is directly sent to the driver; if the interface provided by the driver is a full-scale interface, the original full amount is deleted, and then the full amount is reconstructed. Modify the properties to be sent to the driver.
  • the service configuration command can be completely sent underground, and the problem that the service configuration fails due to improper configuration or failure to configure the configuration is avoided, thereby improving the reliability and stability of the device.
  • FIG. 1 is a flowchart of an embodiment of a service configuration processing method according to the present invention.
  • FIG. 2 is a schematic diagram of a service state machine migration according to the present invention
  • 3 is a schematic diagram of a service configuration information model of the present invention
  • FIG. 4 is a flowchart of an embodiment of a service configuration processing application according to the present invention.
  • FIG. 5 is a schematic structural diagram of an embodiment of a service configuration processing apparatus according to the present invention. Preferred embodiment of the invention
  • the service configuration processing method of the present invention ensures that the transmission service configuration command is completely delivered by establishing a service state machine mechanism, and avoids the problem that the service configuration fails due to improper configuration of the user or failure to configure the configuration.
  • Step 101 After receiving a configuration command related to a keyword, generate a service state machine, and initialize the service state machine to Collected state
  • Step 102 After receiving the service configuration command, the service state machine determines whether all the information related to the service state machine has been configured normally. If any information is not configured or is incorrectly configured, Step 103, if all the information related to the service state machine has been properly configured, step 104 is performed;
  • All information related to the service state machine includes configuration information and association information between the information, and the like;
  • Step 103 The service state machine is still in an unreceived state
  • Step 104 The service state machine is transferred to the collection state, and the service creation operation is triggered.
  • the business state machine has two states: the uncollected state and the closed state.
  • the change of the service state machine is triggered by the related service configuration command.
  • the service status opportunity determines whether the configuration command required by the service has been received, and all the received status will be uncollected.
  • the business configuration command will be configured into the driver, and the business can be correctly created.
  • the method may further include: receiving the service state machine in the collected state After the service configuration command is executed, it is determined whether all the configuration information is normal configuration and the association between the information is correct. If any configuration information is incorrectly configured or the association between any information is incorrect, the information is not received. The state is ok, and the business delete operation is triggered.
  • the method may further include: after receiving the service configuration command, the service state machine determines whether all configuration information is normal configuration and the association between the information is correct. All the configuration information is normal, and the correlation between the information is correct. The service state machine is still in the state of being collected, and the deletion or re-reconstruction operation or the direct modification operation is triggered. If the interface provided by the driver is an incremental interface, the service state machine directly delivers the modified attribute to the driver; if the interface provided by the driver is a full-scale interface, the service state machine deletes the original full amount, and then reconstructs the full amount to be modified. The attribute is sent to the driver.
  • FIG. 2 it is a schematic diagram of the migration of the service state machine according to the present invention.
  • the migration process of the service state machine can be clearly understood through the figure, and the process includes:
  • Step 201 After receiving a configuration command related to the keyword, generate a service state machine, and initialize the state machine to an uncollected state;
  • step 202 after the service state machine is in the uncollected state, after receiving the configuration command, it is determined whether all the information related to the service state machine has been properly configured; and the related information that has been normally configured is set to the valid state in the state machine. If any of the information is not configured or is incorrect, the service state machine is still in an unreceived state;
  • Step 203 After the service state machine is in the uncollected state, after receiving the configuration command, first determine whether the configuration information is a normal configuration. If the configuration is correct, the state machine is set to a valid state; and then determining whether other information is Whether the association between the valid state and each information is correct. When all the information is in the valid state and the correlation between the information is correct, it is transferred to the collection state. At this point, the service creation interface can be invoked to trigger the service creation. Operation
  • Step 204 After receiving the configuration command, the service state machine first determines whether the configuration information is a normal configuration. If the configuration is correct, the state machine is set to a valid state, and then the other information is determined. Is the association between the valid state and each information correct? If any information is not in the valid state or the correlation between the information is incorrect, the transfer is not received. Status, at this point, the service deletion interface can be invoked to trigger the service deletion operation;
  • Step 205 After receiving the configuration command, the service state machine first determines whether the configuration information is a normal configuration. If the configuration is correct, the state machine is set to a valid state, and then it is determined whether other information is in the state. Whether the relationship between the valid state and each information is correct. When all the information is in the valid state and the correlation between the information is correct, it is still in the state of being collected. At this time, it may be necessary to delete some services and then re-create, or It can be modified directly on the basis of the original business.
  • steps 201-205 are only one example of the state machine transition, and those skilled in the art should understand that the order of migration of the service state machine is not necessarily performed in the order of steps 201-205, but may also be performed in other orders.
  • Trigger point problem that is, the time to write the driver: Because a complete service involves multiple interfaces, it must be linked together, only the key information is complete. Only when you can write the driver; 2. When the information is modified, you can support dynamic modification: If a certain configuration information under an interface is changed, it can be immediately reflected in the service; 3. When the key configuration information is deleted, it can be synchronized. The notification driver is used to delete the service. 4. The configuration information required to support the service is configured without being sent in a certain order. As long as the last required information is complete, it can be sent to the driver.
  • FIG. 3 it is a schematic diagram of a service configuration information model of the present invention.
  • the service configuration information of the service instance includes a client instance interface (CIP) and a virtual instance interface (VIP), a CIP association E1 service, a VIP associated pseudowire and a tunnel;
  • CIP client instance interface
  • VIP virtual instance interface
  • the service configuration processing process is described in detail in conjunction with the service configuration information model shown in FIG. 3, and the process includes:
  • Step 301 For the TDM-CES state machine (corresponding to the TDM service), the keyword is the service instance ID, and the configuration command related to the keyword is a configuration command of the service instance; after receiving the configuration command of the service instance, if the service If the type is TDM, the TDM state machine is created, and the TDM-CES state machine is initialized to the unreceived state;
  • Step 302 After the service state machine is in the uncollected state, after receiving the CIP configuration command, it is determined whether other information related to the TDM-CES state machine, such as the VIP information, has been configured normally, and any information is not configured or not. If it is correct, it will still be in an unreceived state; That is, the status is not collected - > not collected;
  • other information related to the TDM-CES state machine such as the VIP information
  • Step 303 After receiving the VIP configuration command, the service state machine determines whether all the information related to the TDM-CES state machine has been properly configured. If all the information is correctly configured, the information is transferred to the collected state.
  • the driver since the information has been collected, the driver can be packaged
  • Step 304 After receiving the configuration command, the service state machine determines whether all the information related to the TDM state has been properly configured. If any information is not configured or is incorrect, the information is transferred to the uncollected state. ;
  • Step 305 After receiving the configuration command, the service state machine determines whether all the information related to the service state machine has been properly configured. If all the information is correctly configured, the information is still in the collected state;
  • the service configuration processing process includes:
  • Step 401 Receive a service configuration command.
  • Step 402 Check whether the parameter of the service configuration command is legal. If it is legal, go to step 403. Otherwise, return.
  • Step 403 Modify or add a configuration node.
  • a new configuration node can be added; if the node is already configured at this time, the configuration node can be modified;
  • Step 404 Determine whether the configuration node is associated with the service state machine, and if yes, perform step 405, otherwise, return;
  • Determining whether the configuration node is associated with the service state machine determines whether the service state machine has been created, and if so, searching for the service state machine, and modifying the service state machine;
  • Step 405 Find a service state machine.
  • Step 406 Modify a service state machine.
  • Step 407 Send the modified attribute to the driver according to the change of the service state machine
  • Step 408 If the driver is successfully sent, if successful, go to step 409, otherwise, perform the step.
  • Step 409 the business is successfully created
  • Step 410 The node rolls back the operation and returns.
  • the service is successfully delivered, the service is successfully created. If the service fails, the node is rolled back. The configuration node is restored to the state before the modification.
  • the service configuration processing method can ensure that the service configuration command is completely delivered when the service is configured, and the problem that the service configuration fails due to improper configuration or failure to configure the configuration is avoided, thereby improving the reliability and stability of the device.
  • FIG. 5 it is a schematic structural diagram of an embodiment of a service configuration processing apparatus according to the present invention.
  • the apparatus includes: a generating module 51 and a configuration processing module 52, where the generating module can be configured to generate a configuration command related to a keyword, and generate The service state machine, and the service state machine is initialized to the uncollected state; the configuration processing module can be used for the service state machine to receive the service configuration life in the uncollected state.
  • the command it is determined whether all the information related to the service state machine has been properly configured. If any of the information is not configured or configured incorrectly, the service state machine is still in an unreceived state; All the information related to the state machine has been properly configured, and the service state machine is transferred to the collection state, and the service creation operation is triggered.
  • the configuration processing module may be further configured to determine whether all the configuration information is normal configuration and the association between the information is correct. If all the configuration information is normal, and the association between the information is If it is correct, the business status is transferred to the collection state.
  • the configuration processing module may be further configured to: after receiving the service configuration command, the service state machine determines whether all configuration information is normal configuration and the correlation between the information is correct, if any If any configuration information is incorrectly configured or the association between any of the information is incorrect, the service status is transferred to the uncollected state, and the service deletion operation is triggered.
  • the configuration processing module can also be used to determine whether all configuration information is normal configuration and the association between the information is correct after receiving the service configuration command in the state of the service state. The information is all configured normally, and the correlation between the information is correct. The service status is still in the state of being collected, and the deletion or re-reconstruction operation or the direct modification operation is triggered.
  • the configuration processing module may be configured to: if the interface provided by the driver is an incremental interface, directly send the modified attribute to the driver; if the interface provided by the driver is a full-scale interface, delete the original full amount, and then reconstruct The full amount will be sent to the driver.
  • the service configuration processing device can implement the functions of the foregoing method embodiments, and details are not described herein.
  • the service state machine mechanism can ensure that the service configuration command is completely sent underground, and the problem that the service configuration fails due to improper configuration or failure to configure the configuration is avoided, thereby improving the reliability and stability of the device. Sex.
  • the service configuration command can be completely sent underground, and the problem that the service configuration fails due to improper configuration or failure to configure the configuration is avoided, thereby improving the reliability and stability of the device.

Abstract

The present invention provides a service configuration processing method and apparatus. The method includes: after a configuration command correlative to a keyword is received, a service state machine is generated, and the service state machine is initiated at a not-receiving-all state; after the service state machine receives a service configuration command in the not-receiving-all state, it is judged whether all the information correlative to the service state machine has been normally configured, and if any of the information is not configured or not correctly configured, the service state machine still maintains in the not-receiving-all state; if all the information correlative to the service state machine is normally configured, the service state machine is converted to a receiving-all state, and a service establishment operation is triggered. During the service configuration, the service configuration processing method and apparatus can ensure that the service configuration commands are distributed integrally, and avoid the problem of the service configuration failure due to incorrect or disordered configurations of the user, thus improving the reliability and stability of the device.

Description

业务配置处理方法及装置  Service configuration processing method and device
技术领域 Technical field
本发明涉及通信技术领域, 尤其涉及一种业务配置处理方法及装置。  The present invention relates to the field of communications technologies, and in particular, to a service configuration processing method and apparatus.
背景技术 Background technique
近年来, 随着通讯业务 IP化的发展, 以 IP为内核的分组交换网络的广 泛应用已经成为了一种大趋势。 由于分组交换网络所承载的业务既包括时分 复用模式(Time Division Multiplex, TDM ) 、 异步传输模式(Asynchronous Transfer Mode, ATM )等业务, 又包括以太网等数据业务, 使得业务配置越 来越复杂, 需要多条命令才能完成配置, 并且各个配置命令之间可能存在很 强的关联性, 例如配置顺序的关联性, 即某条业务可能需要多条命令按照一 定的顺序来配置才能完成。  In recent years, with the development of IP of communication services, the widespread application of IP-based packet switched networks has become a major trend. Since the services carried by the packet-switched network include services such as Time Division Multiplex (TDM) and Asynchronous Transfer Mode (ATM), and data services such as Ethernet, the service configuration becomes more and more complicated. You need to have multiple commands to complete the configuration, and there may be strong associations between the configuration commands. For example, the association of the configuration sequence may be required for a certain service to be configured in a certain order.
但是在实际情况中,由于用户的网管操作失误或者受到网络时延的影响, 会使得业务配置出现错误造成业务没有成功建立起来。 所以如何使用某种机 制来保证业务配置的完整性, 避免用户配置不当或者没按顺序配置造成业务 配置失败, 是一个值得深入研究的问题。  However, in the actual situation, the user's network management operation is incorrect or affected by the network delay, which may cause the service configuration to be incorrect and the service is not successfully established. Therefore, how to use a certain mechanism to ensure the integrity of the service configuration, to avoid the user configuration is not properly configured or failed to configure the business configuration failure, is a problem worthy of further study.
发明内容 Summary of the invention
为了解决上述技术问题, 本发明提供了一种业务配置处理方法及装置, 以避免用户配置不当或者没按顺序配置造成业务配置的失败。  In order to solve the above technical problem, the present invention provides a service configuration processing method and apparatus, so as to avoid failure of the service configuration caused by improper configuration of the user or configuration.
本发明提供了一种业务配置处理方法, 该方法包括:  The present invention provides a service configuration processing method, which includes:
接收到与关键字相关的配置命令后, 生成业务状态机, 并将业务状态机 初始化为未收齐状态;  After receiving the configuration command related to the keyword, the business state machine is generated, and the business state machine is initialized to the uncollected state;
业务状态机在未收齐状态下, 接收到业务配置命令后, 判断与所述业务 状态机相关的所有信息是否都已经正常配置, 若有任何一个信息未配置或者 配置不正确, 则所述业务状态机仍处于未收齐状态; 若与所述业务状态机相 关的所有信息都已经正常配置, 则所述业务状态机转入收齐状态, 并触发业 务创建操作。 After the service state machine receives the service configuration command, it determines whether all the information related to the service state machine has been configured normally. If any information is not configured or is incorrectly configured, the service is not configured. The state machine is still in an unreceived state; if all the information related to the service state machine has been properly configured, the service state machine is transferred to the collection state, and the industry is triggered. Create an operation.
优选地, 该业务配置处理方法可具有如下特点:  Preferably, the service configuration processing method has the following characteristics:
判断与所述业务状态机相关的所有信息是否都已经正常配置, 若与所述 业务状态机相关的所有信息都已经正常配置, 则所述业务状态机转入收齐状 态包括:  Determining whether all the information related to the service state machine has been properly configured. If all the information related to the service state machine has been properly configured, the service state machine is transferred to the receiving state, including:
判断所有配置信息是否都为正常配置且各个信息之间的关联性是否均正 确, 若所有配置信息都为正常配置, 且各个信息之间的关联性均正确, 则所 述业务状态机转入收齐状态。  It is determined whether all the configuration information is normal configuration and the association between the information is correct. If all the configuration information is configured normally, and the correlation between the information is correct, the service state machine is transferred to the receiving system. Qi state.
优选地, 该业务配置处理方法还可具有如下特点: 所述方法还包括: 业务状态机在收齐状态下, 接收到业务配置命令后, 判断所有配置信息 是否都为正常配置且各个信息之间的关联性是否均正确, 若有任何一个配置 信息配置错误或者任何信息之间的关联性不正确, 则转入未收齐状态, 并触 发业务删除操作。  Preferably, the service configuration processing method may further have the following features: The method further includes: after receiving the service configuration command, the service state machine determines whether all configuration information is normal configuration and between each information. The association is correct. If any configuration information is incorrectly configured or the association between any information is incorrect, the status is not received and the service deletion operation is triggered.
优选地, 该业务配置处理方法还可具有如下特点: 所述方法还包括: 业务状态机在收齐状态下, 接收到业务配置命令后, 判断所有配置信息 是否都为正常配置且各个信息之间的关联性是否均正确, 若所有配置信息都 为正常配置, 且各个信息之间的关联性均正确, 则所述业务状态机仍然处于 收齐状态, 并触发删除再重建操作或直接修改操作。  Preferably, the service configuration processing method may further have the following features: The method further includes: after receiving the service configuration command, the service state machine determines whether all configuration information is normal configuration and between each information. The association is correct. If all the configuration information is configured normally, and the correlation between the information is correct, the service state machine is still in the state of being collected, and the deletion or re-reconstruction operation or the direct modification operation is triggered.
优选地, 该业务配置处理方法还可具有如下特点:  Preferably, the service configuration processing method may further have the following features:
所述触发删除再重建操作或直接修改操作包括: 若驱动提供的接口是增 量接口, 则业务状态机将修改属性直接下发到驱动; 若驱动提供的接口是全 量接口, 则业务状态机将原有的全量删除, 再重建全量将修改属性下发到驱 动。  The trigger delete re-rebuild operation or the direct modify operation includes: if the interface provided by the driver is an incremental interface, the service state machine directly delivers the modified attribute to the driver; if the interface provided by the driver is a full-scale interface, the service state machine will The original full amount of deletion, and then rebuild the full amount will be sent to the driver.
本发明还提供了一种业务配置处理装置, 该装置包括:  The present invention also provides a service configuration processing apparatus, the apparatus comprising:
生成模块, 其设置为: 接收到与关键字相关的配置命令后, 生成业务状 态机, 并将业务状态机初始化为未收齐状态; 以及  Generating a module, which is configured to: after receiving a configuration command related to the keyword, generate a business state machine, and initialize the business state machine to an uncollected state;
配置处理模块, 其设置为: 业务状态机在未收齐状态下, 接收到业务配 置命令后, 判断与所述业务状态机相关的所有信息是否都已经正常配置, 若 有任何一个信息未配置或者配置不正确, 则所述业务状态机仍处于未收齐状 态; 若与所述业务状态机相关的所有信息都已经正常配置, 则所述业务状态 机转入收齐状态, 并触发业务创建操作。 The configuration processing module is configured to: after receiving the service configuration command, the service state machine determines whether all information related to the service state machine has been properly configured, if If any of the information is not configured or configured incorrectly, the service state machine is still in an unreceived state; if all the information related to the service state machine has been properly configured, the service state machine is transferred to the collection. Status, and trigger a business creation operation.
优选地, 该业务配置处理装置可具有如下特点:  Preferably, the service configuration processing device has the following characteristics:
所述配置处理模块是设置为: 判断所有配置信息是否都为正常配置且各 个信息之间的关联性是否均正确, 若所有配置信息都为正常配置, 且各个信 息之间的关联性均正确, 则所述业务状态转入收齐状态。  The configuration processing module is configured to: determine whether all the configuration information is normal configuration, and the association between the information is correct. If all the configuration information is normal configuration, and the correlation between the information is correct, Then, the service state is transferred to the collection state.
优选地, 该业务配置处理装置还可具有如下特点:  Preferably, the service configuration processing device further has the following features:
所述配置处理模块还设置为: 业务状态机在收齐状态下, 接收到业务配 置命令后, 判断所有配置信息是否都为正常配置且各个信息之间的关联性是 否均正确, 若有任何一个配置信息配置错误或者任何信息之间的关联性不正 确, 则所述业务状态转入未收齐状态, 并触发业务删除操作。  The configuration processing module is further configured to: after the service state machine receives the service configuration command, determine whether all configuration information is normal configuration and the association between the information is correct, if any If the configuration information is incorrectly configured or the association between any information is incorrect, the service status is transferred to the uncollected state, and the service deletion operation is triggered.
优选地, 该业务配置处理装置还可具有如下特点:  Preferably, the service configuration processing device further has the following features:
所述配置处理模块还设置为: 业务状态机在收齐状态下, 接收到业务配 置命令后, 判断所有配置信息是否都为正常配置且各个信息之间的关联性是 否均正确, 若所有配置信息都为正常配置, 且各个信息之间的关联性均正确, 则所述业务状态仍然处于收齐状态,并触发删除再重建操作或直接修改操作。  The configuration processing module is further configured to: after the service state machine receives the service configuration command, determine whether all configuration information is normal configuration and the association between the information is correct, if all the configuration information is correct. If the configurations are correct, and the association between the information is correct, the service status is still in the state of being collected, and the deletion or re-reconstruction operation or the direct modification operation is triggered.
优选地, 该业务配置处理装置还可具有如下特点:  Preferably, the service configuration processing device further has the following features:
所述配置处理模块还设置为: 若驱动提供的接口是增量接口, 则将修改 属性直接下发到驱动; 若驱动提供的接口是全量接口, 则将原有的全量删除, 再重建全量将修改属性下发到驱动。  The configuration processing module is further configured to: if the interface provided by the driver is an incremental interface, the modified attribute is directly sent to the driver; if the interface provided by the driver is a full-scale interface, the original full amount is deleted, and then the full amount is reconstructed. Modify the properties to be sent to the driver.
上述业务配置处理方法及装置, 在配置业务时, 可以保证业务配置命令 完整地下发,避免用户配置不当或者没按顺序配置造成业务配置失败的问题, 从而提高了设备的可靠性和稳定性。 附图概述  When the service configuration processing method and device are configured, the service configuration command can be completely sent underground, and the problem that the service configuration fails due to improper configuration or failure to configure the configuration is avoided, thereby improving the reliability and stability of the device. BRIEF abstract
图 1为本发明业务配置处理方法实施例的流程图;  1 is a flowchart of an embodiment of a service configuration processing method according to the present invention;
图 2为本发明的业务状态机迁移示意图; 图 3为本发明业务配置信息模型示意图; 2 is a schematic diagram of a service state machine migration according to the present invention; 3 is a schematic diagram of a service configuration information model of the present invention;
图 4为本发明业务配置处理应用实施例的流程图;  4 is a flowchart of an embodiment of a service configuration processing application according to the present invention;
图 5为本发明业务配置处理装置实施例的结构示意图。 本发明的较佳实施方式  FIG. 5 is a schematic structural diagram of an embodiment of a service configuration processing apparatus according to the present invention. Preferred embodiment of the invention
下面结合附图和实施例对本发明作进一步的详细说明, 应当理解, 此处 描述的优选实施例仅用于说明和解释本发明, 并不用于限定本发明。  The present invention will be further described in detail with reference to the accompanying drawings and embodiments.
本发明的业务配置处理方法, 通过建立一种业务状态机机制来保证传输 业务配置命令完整下发, 避免用户配置不当或者没按顺序配置造成业务配置 失败的问题。  The service configuration processing method of the present invention ensures that the transmission service configuration command is completely delivered by establishing a service state machine mechanism, and avoids the problem that the service configuration fails due to improper configuration of the user or failure to configure the configuration.
如图 1所示, 为本发明业务配置处理方法实施例的流程图, 该方法包括: 步骤 101、 接收到与关键字相关的配置命令后, 生成业务状态机, 并将 业务状态机初始化为未收齐状态;  As shown in FIG. 1 , it is a flowchart of an embodiment of a service configuration processing method according to the present invention. The method includes: Step 101: After receiving a configuration command related to a keyword, generate a service state machine, and initialize the service state machine to Collected state
步骤 102、 业务状态机在未收齐状态下, 接收到业务配置命令后, 判断 与所述业务状态机相关的所有信息是否都已经正常配置, 若有任何一个信息 未配置或者配置不正确, 则执行步骤 103 , 若与所述业务状态机相关的所有 信息都已经正常配置, 则执行步骤 104;  Step 102: After receiving the service configuration command, the service state machine determines whether all the information related to the service state machine has been configured normally. If any information is not configured or is incorrectly configured, Step 103, if all the information related to the service state machine has been properly configured, step 104 is performed;
与所述业务状态机相关的所有信息包括配置信息和信息之间的关联性信 息等;  All information related to the service state machine includes configuration information and association information between the information, and the like;
步骤 103、 所述业务状态机仍处于未收齐状态;  Step 103: The service state machine is still in an unreceived state;
步骤 104、 所述业务状态机转入收齐状态, 并触发业务创建操作。  Step 104: The service state machine is transferred to the collection state, and the service creation operation is triggered.
业务状态机有两种状态: 未收齐状态和收齐状态。 业务状态机的变迁有 相关的业务配置命令触发, 当接收到新的业务配置命令之后, 业务状态机会 判断该业务所需的配置命令是否已经收到, 全部收到后就会由未收齐状态迁 移到收齐状态, 在收齐状态并且所有命令完全正确的情况下, 业务配置命令 才会配置到驱动中, 业务才能正确地创建起来。  The business state machine has two states: the uncollected state and the closed state. The change of the service state machine is triggered by the related service configuration command. After receiving the new service configuration command, the service status opportunity determines whether the configuration command required by the service has been received, and all the received status will be uncollected. After the migration to the collection state, in the case of the collection state and all the commands are completely correct, the business configuration command will be configured into the driver, and the business can be correctly created.
在该步骤之后, 该方法还可以包括: 业务状态机在收齐状态下, 接收到 业务配置命令后, 判断所有配置信息是否都为正常配置且各个信息之间的关 联性是否均正确, 若有任何一个配置信息配置错误或者任何信息之间的关联 性不正确, 则转入未收齐状态, 并触发业务删除操作。 After the step, the method may further include: receiving the service state machine in the collected state After the service configuration command is executed, it is determined whether all the configuration information is normal configuration and the association between the information is correct. If any configuration information is incorrectly configured or the association between any information is incorrect, the information is not received. The state is ok, and the business delete operation is triggered.
在该步骤之后, 该方法也还可以包括: 业务状态机在收齐状态下, 接收 到业务配置命令后, 判断所有配置信息是否都为正常配置且各个信息之间的 关联性是否均正确, 若所有配置信息都为正常配置, 且各个信息之间的关联 性均正确, 则所述业务状态机仍然处于收齐状态, 并触发删除再重建操作或 直接修改操作。 其中, 若驱动提供的接口是增量接口, 则业务状态机将修改 属性直接下发到驱动; 若驱动提供的接口是全量接口, 则业务状态机将原有 的全量删除, 再重建全量将修改属性下发到驱动。  After the step, the method may further include: after receiving the service configuration command, the service state machine determines whether all configuration information is normal configuration and the association between the information is correct. All the configuration information is normal, and the correlation between the information is correct. The service state machine is still in the state of being collected, and the deletion or re-reconstruction operation or the direct modification operation is triggered. If the interface provided by the driver is an incremental interface, the service state machine directly delivers the modified attribute to the driver; if the interface provided by the driver is a full-scale interface, the service state machine deletes the original full amount, and then reconstructs the full amount to be modified. The attribute is sent to the driver.
如图 2所示, 为本发明的业务状态机迁移示意图, 通过该图可清楚地理 解业务状态机的迁移过程, 该过程包括:  As shown in FIG. 2, it is a schematic diagram of the migration of the service state machine according to the present invention. The migration process of the service state machine can be clearly understood through the figure, and the process includes:
步骤 201、 当接收到关键字相关的配置命令后, 生成业务状态机, 并将 状态机初始化为未收齐状态;  Step 201: After receiving a configuration command related to the keyword, generate a service state machine, and initialize the state machine to an uncollected state;
对于每一种业务生成一个业务状态机;  Generate a business state machine for each type of service;
步骤 202、 业务状态机在未收齐状态下, 当接收到配置命令后, 判断该 业务状态机相关的所有信息是否都已经正常配置; 对于已经正常配置的相关 信息在状态机中设置为有效状态, 若有任何一个信息未配置或者不正确, 则 该业务状态机依然处于未收齐状态;  In step 202, after the service state machine is in the uncollected state, after receiving the configuration command, it is determined whether all the information related to the service state machine has been properly configured; and the related information that has been normally configured is set to the valid state in the state machine. If any of the information is not configured or is incorrect, the service state machine is still in an unreceived state;
步骤 203、 业务状态机在未收齐状态下, 当接收到配置命令后, 先判断 配置信息是否都为正常配置, 若配置正确, 则在状态机中设为有效状态; 然 后再判断其他信息是否处于有效状态和各个信息之间的关联性是否正确, 当 所有信息均处于有效状态并且各个信息之间的关联性正确,则转入收齐状态, 此时便可以调用业务创建接口, 触发业务创建操作;  Step 203: After the service state machine is in the uncollected state, after receiving the configuration command, first determine whether the configuration information is a normal configuration. If the configuration is correct, the state machine is set to a valid state; and then determining whether other information is Whether the association between the valid state and each information is correct. When all the information is in the valid state and the correlation between the information is correct, it is transferred to the collection state. At this point, the service creation interface can be invoked to trigger the service creation. Operation
步骤 204、 业务状态机在收齐状态下, 当接收到配置命令后, 先判断配 置信息是否都为正常配置, 若配置正确, 则在状态机中设为有效状态, 然后 再判断其他信息是否均处于有效状态和各个信息之间的关联性是否正确, 若 有任何一个信息不处于有效状态或者信息间的关联性不正确, 则转入未收齐 状态, 此时便可以调用业务删除接口, 触发业务删除操作; Step 204: After receiving the configuration command, the service state machine first determines whether the configuration information is a normal configuration. If the configuration is correct, the state machine is set to a valid state, and then the other information is determined. Is the association between the valid state and each information correct? If any information is not in the valid state or the correlation between the information is incorrect, the transfer is not received. Status, at this point, the service deletion interface can be invoked to trigger the service deletion operation;
步骤 205、 业务状态机在收齐状态下, 当接收到配置命令后, 先判断配 置信息是否都为正常配置, 若配置正确, 则在状态机中设为有效状态, 然后 再判断其他信息是否处于有效状态和各个信息之间的关联性是否正确, 当所 有信息均处于有效状态并且各个信息之间的关联性正确, 则依然处于收齐状 态, 此时可能需要删除某些业务再重新创建, 或者直接在原有业务基础上修 改即可。  Step 205: After receiving the configuration command, the service state machine first determines whether the configuration information is a normal configuration. If the configuration is correct, the state machine is set to a valid state, and then it is determined whether other information is in the state. Whether the relationship between the valid state and each information is correct. When all the information is in the valid state and the correlation between the information is correct, it is still in the state of being collected. At this time, it may be necessary to delete some services and then re-create, or It can be modified directly on the basis of the original business.
上述步骤 201-205只是状态机变迁的一个示例, 本领域的技术人员应该 理解: 业务状态机的迁移顺序并非一定按照步骤 201-205 的顺序执行, 也可 按照其他顺序执行。  The above steps 201-205 are only one example of the state machine transition, and those skilled in the art should understand that the order of migration of the service state machine is not necessarily performed in the order of steps 201-205, but may also be performed in other orders.
釆用业务状态机机制, 可以解决许多复杂业务配置问题: 1.触发点问题, 即可以写驱动的时机: 因为一个完整的业务涉及到多个接口, 必须关联起来 一起看, 只有关键信息都全了, 才可以写驱动; 2.信息修改时, 可以做到支 持动态修改: 若某个接口下的某条配置信息改变了, 可以立刻体现到业务上; 3.关键配置信息删除时, 可同步通知驱动删除业务; 4.支持业务所需的各种配 置信息配置时无需按照一定顺序下发, 只要最后所需信息全了, 就可以下发 给驱动。  Using the business state machine mechanism, you can solve many complex business configuration problems: 1. Trigger point problem, that is, the time to write the driver: Because a complete service involves multiple interfaces, it must be linked together, only the key information is complete. Only when you can write the driver; 2. When the information is modified, you can support dynamic modification: If a certain configuration information under an interface is changed, it can be immediately reflected in the service; 3. When the key configuration information is deleted, it can be synchronized. The notification driver is used to delete the service. 4. The configuration information required to support the service is configured without being sent in a certain order. As long as the last required information is complete, it can be sent to the driver.
如图 3所示, 为本发明业务配置信息模型示意图, 该业务实例的业务配 置信息包括客户实例接口(CIP )和虚拟实例接口(VIP ) , CIP关联 E1业务, VIP关联伪线和隧道; 下面结合图 3所示的业务配置信息模型对业务配置处 理过程进行详细描述, 该过程包括:  As shown in FIG. 3, it is a schematic diagram of a service configuration information model of the present invention. The service configuration information of the service instance includes a client instance interface (CIP) and a virtual instance interface (VIP), a CIP association E1 service, a VIP associated pseudowire and a tunnel; The service configuration processing process is described in detail in conjunction with the service configuration information model shown in FIG. 3, and the process includes:
步骤 301、 对于 TDM-CES状态机(对应于 TDM业务) , 关键字为业务 实例 ID, 则与关键字相关的配置命令为业务实例的配置命令; 当接收到业务 实例的配置命令之后, 如果业务类型为 TDM类型, 则创建 TDM状态机, 并 初始化 TDM-CES状态机为未收齐状态;  Step 301: For the TDM-CES state machine (corresponding to the TDM service), the keyword is the service instance ID, and the configuration command related to the keyword is a configuration command of the service instance; after receiving the configuration command of the service instance, if the service If the type is TDM, the TDM state machine is created, and the TDM-CES state machine is initialized to the unreceived state;
步骤 302、 业务状态机在未收齐状态下, 当接收到 CIP配置命令后, 则 判断 TDM-CES状态机相关的其他信息如 VIP信息等是否都已经正常配置, 有任何一个信息未配置或者不正确则依然处于未收齐状态; 即未收齐状态 —— > 未收齐状态; Step 302: After the service state machine is in the uncollected state, after receiving the CIP configuration command, it is determined whether other information related to the TDM-CES state machine, such as the VIP information, has been configured normally, and any information is not configured or not. If it is correct, it will still be in an unreceived state; That is, the status is not collected - > not collected;
此种情况下, 由于信息仍未收齐, 表示未达到下发驱动的条件, 需要修 改保存配置信息, 等待下次状态机的更新;  In this case, since the information is still not collected, it indicates that the condition of the delivery driver is not reached, and the configuration information needs to be modified to wait for the update of the state machine next time;
步骤 303、 业务状态机在未收齐状态下, 当接收到 VIP配置命令后, 判 断 TDM-CES状态机相关的所有信息是否都已经正常配置, 若所有信息配置 正确, 则转入收齐状态;  Step 303: After receiving the VIP configuration command, the service state machine determines whether all the information related to the TDM-CES state machine has been properly configured. If all the information is correctly configured, the information is transferred to the collected state.
即未收齐状态 —— > 收齐状态;  That is, the status is not collected - > the state of collection;
此种情况下, 由于信息已收齐, 可以打包下发驱动;  In this case, since the information has been collected, the driver can be packaged;
步骤 304、 业务状态机在收齐状态下, 当接收到配置命令后, 判断 TDM 状态相关的所有信息是否都已经正常配置, 若有任何一个信息未配置或者不 正确, 则转入未收齐状态;  Step 304: After receiving the configuration command, the service state machine determines whether all the information related to the TDM state has been properly configured. If any information is not configured or is incorrect, the information is transferred to the uncollected state. ;
即收齐状态 —— > 未收齐状态;  That is, the state of collection -> not collected;
此种情况下, 导致状态由已收齐到未收齐的原因有两种情况: 一是配置 了一个不正确的信息, 二是删除了一项关键信息。 如果是删除了一项业务需 要的关键信息, 需要下发驱动将业务删除; 如果是配置了不正确的信息 (这 种情况应该尽量在配置命令的参数合法性检查阶段就过滤返回) , 导致状态 机进入未收齐状态, 则需要根据具体的信息决定是否修改驱动;  In this case, there are two reasons for the status to be collected and not collected: one is to configure an incorrect information, and the other is to delete a key message. If you delete the key information required for a service, you need to send the driver to delete the service; if it is configured with incorrect information (this should be filtered back in the parameter validity check phase of the configuration command), resulting in a status If the machine enters the uncollected state, it is necessary to decide whether to modify the driver according to the specific information;
步骤 305、 业务状态机在收齐状态下, 当接收到配置命令后, 判断与业 务状态机相关的所有信息是否都已经正常配置, 若所有信息都配置正确, 则 依然处于收齐状态;  Step 305: After receiving the configuration command, the service state machine determines whether all the information related to the service state machine has been properly configured. If all the information is correctly configured, the information is still in the collected state;
即收齐状态 —— > 收齐状态;  That is, the state of collection - > collection status;
此种情况是因为某项信息进行了修改, 且修改后的信息也是合法的, 修 改的属性需要下发到驱动。 此时, 需要根据驱动提供的接口是增量形式还是 全量形式, 釆取不同的做法; 若是增量接口, 可直接下发驱动, 若是全量接 口, 需要将之前的全量删除, 再重新全量下发驱动。  This situation is because a piece of information has been modified, and the modified information is also legal, and the modified attributes need to be delivered to the driver. In this case, depending on whether the interface provided by the driver is in the form of an incremental or a full amount, different approaches can be taken; if the interface is an incremental interface, the driver can be directly sent. If the interface is full, the previous full amount needs to be deleted, and then the full amount is issued. drive.
如图 4所示, 为本发明业务配置处理应用实施例的流程图; 该业务配置 处理过程包括:  As shown in FIG. 4, it is a flowchart of an embodiment of a service configuration processing application according to the present invention; the service configuration processing process includes:
步骤 401、 接收业务配置命令; 步骤 402、 检测该业务配置命令的参数是否合法, 若合法, 则执行步骤 403 , 否则, 返回; Step 401: Receive a service configuration command. Step 402: Check whether the parameter of the service configuration command is legal. If it is legal, go to step 403. Otherwise, return.
接收到业务配置命令后, 解析该命令得到该参数, 然后判断该参数的合 法性;  After receiving the service configuration command, parsing the command to obtain the parameter, and then judging the legality of the parameter;
步骤 403、 修改或增加配置节点;  Step 403: Modify or add a configuration node.
若目前没有配置节点, 可增加一个新的配置节点; 若此时已有配置节点, 则可修改配置节点;  If no node is currently configured, a new configuration node can be added; if the node is already configured at this time, the configuration node can be modified;
步骤 404、 判断该配置节点是否关联业务状态机, 若是, 执行步骤 405 , 否则, 返回;  Step 404: Determine whether the configuration node is associated with the service state machine, and if yes, perform step 405, otherwise, return;
判断该配置节点是否关联业务状态机即判断业务状态机是否已创建, 若 是, 则查找该业务状态机, 并修改该业务状态机;  Determining whether the configuration node is associated with the service state machine determines whether the service state machine has been created, and if so, searching for the service state machine, and modifying the service state machine;
步骤 405、 查找业务状态机;  Step 405: Find a service state machine.
步骤 406、 修改业务状态机;  Step 406: Modify a service state machine.
步骤 407、 根据业务状态机的变化将修改属性下发到驱动;  Step 407: Send the modified attribute to the driver according to the change of the service state machine;
步骤 408、 下发驱动是否成功, 若成功, 执行步骤 409, 否则, 执行步骤 Step 408: If the driver is successfully sent, if successful, go to step 409, otherwise, perform the step.
410; 410;
步骤 409、 业务成功创建; 返回;  Step 409, the business is successfully created;
步骤 410、 节点回退操作, 返回。  Step 410: The node rolls back the operation and returns.
下发成功, 则业务成功创建, 下发失败, 则进行节点回退操作, 即将配 置节点恢复到修改前的状态。  If the service is successfully delivered, the service is successfully created. If the service fails, the node is rolled back. The configuration node is restored to the state before the modification.
上述业务配置处理方法, 在配置业务时, 可以保证业务配置命令完整地 下发, 避免用户配置不当或者没按顺序配置造成业务配置失败的问题, 从而 提高了设备的可靠性和稳定性。  The service configuration processing method can ensure that the service configuration command is completely delivered when the service is configured, and the problem that the service configuration fails due to improper configuration or failure to configure the configuration is avoided, thereby improving the reliability and stability of the device.
如图 5所示, 为本发明业务配置处理装置实施例的结构示意图, 该装置 包括: 生成模块 51和配置处理模块 52, 该生成模块可以用于接收到与关键 字相关的配置命令后, 生成业务状态机, 并将业务状态机初始化为未收齐状 态; 配置处理模块可以用于业务状态机在未收齐状态下, 接收到业务配置命 令后, 判断与所述业务状态机相关的所有信息是否都已经正常配置, 若有任 何一个信息未配置或者配置不正确, 则所述业务状态机仍处于未收齐状态; 若与所述业务状态机相关的所有信息都已经正常配置, 则所述业务状态机转 入收齐状态, 并触发业务创建操作。 As shown in FIG. 5, it is a schematic structural diagram of an embodiment of a service configuration processing apparatus according to the present invention. The apparatus includes: a generating module 51 and a configuration processing module 52, where the generating module can be configured to generate a configuration command related to a keyword, and generate The service state machine, and the service state machine is initialized to the uncollected state; the configuration processing module can be used for the service state machine to receive the service configuration life in the uncollected state. After the command, it is determined whether all the information related to the service state machine has been properly configured. If any of the information is not configured or configured incorrectly, the service state machine is still in an unreceived state; All the information related to the state machine has been properly configured, and the service state machine is transferred to the collection state, and the service creation operation is triggered.
其中, 所述配置处理模块可以进一步用于判断所有配置信息是否都为正 常配置且各个信息之间的关联性是否均正确,若所有配置信息都为正常配置, 且各个信息之间的关联性均正确, 则所述业务状态转入收齐状态。  The configuration processing module may be further configured to determine whether all the configuration information is normal configuration and the association between the information is correct. If all the configuration information is normal, and the association between the information is If it is correct, the business status is transferred to the collection state.
另外, 所述配置处理模块还可以用于业务状态机在收齐状态下, 接收到 业务配置命令后, 判断所有配置信息是否都为正常配置且各个信息之间的关 联性是否均正确, 若有任何一个配置信息配置错误或者任何信息之间的关联 性不正确, 则所述业务状态转入未收齐状态, 并触发业务删除操作。 所述配 置处理模块也还可以用于业务状态机在收齐状态下,接收到业务配置命令后, 判断所有配置信息是否都为正常配置且各个信息之间的关联性是否均正确, 若所有配置信息都为正常配置, 且各个信息之间的关联性均正确, 则所述业 务状态仍然处于收齐状态, 并触发删除再重建操作或直接修改操作。  In addition, the configuration processing module may be further configured to: after receiving the service configuration command, the service state machine determines whether all configuration information is normal configuration and the correlation between the information is correct, if any If any configuration information is incorrectly configured or the association between any of the information is incorrect, the service status is transferred to the uncollected state, and the service deletion operation is triggered. The configuration processing module can also be used to determine whether all configuration information is normal configuration and the association between the information is correct after receiving the service configuration command in the state of the service state. The information is all configured normally, and the correlation between the information is correct. The service status is still in the state of being collected, and the deletion or re-reconstruction operation or the direct modification operation is triggered.
进一步地, 所述配置处理模块可以用于若驱动提供的接口是增量接口, 则将修改属性直接下发到驱动; 若驱动提供的接口是全量接口, 则将原有的 全量删除, 再重建全量将修改属性下发到驱动。  Further, the configuration processing module may be configured to: if the interface provided by the driver is an incremental interface, directly send the modified attribute to the driver; if the interface provided by the driver is a full-scale interface, delete the original full amount, and then reconstruct The full amount will be sent to the driver.
该业务配置处理装置可实现上述方法实施例的功能, 在此不赘述。  The service configuration processing device can implement the functions of the foregoing method embodiments, and details are not described herein.
上述业务配置处理装置, 在配置业务时, 通过业务状态机机制可以保证 业务配置命令完整地下发, 避免用户配置不当或者没按顺序配置造成业务配 置失败的问题, 从而提高了设备的可靠性和稳定性。  When the service configuration processing device is configured, the service state machine mechanism can ensure that the service configuration command is completely sent underground, and the problem that the service configuration fails due to improper configuration or failure to configure the configuration is avoided, thereby improving the reliability and stability of the device. Sex.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 上述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。 以上所述仅为本发明的优选实例而已, 并不用于限制本发明, 对于本领 域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原 则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范 围之内。 One of ordinary skill in the art will appreciate that all or a portion of the above steps may be accomplished by a program that instructs the associated hardware, such as a read-only memory, a magnetic disk, or an optical disk. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware, or may be implemented in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software. The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性 Industrial applicability
上述业务配置处理方法及装置, 在配置业务时, 可以保证业务配置命令 完整地下发,避免用户配置不当或者没按顺序配置造成业务配置失败的问题, 从而提高了设备的可靠性和稳定性。  When the service configuration processing method and device are configured, the service configuration command can be completely sent underground, and the problem that the service configuration fails due to improper configuration or failure to configure the configuration is avoided, thereby improving the reliability and stability of the device.

Claims

权 利 要 求 书 Claim
1、 一种业务配置处理方法, 该方法包括:  1. A service configuration processing method, the method comprising:
接收到与关键字相关的配置命令后, 生成业务状态机, 并将业务状态机 初始化为未收齐状态;  After receiving the configuration command related to the keyword, the business state machine is generated, and the business state machine is initialized to the uncollected state;
业务状态机在未收齐状态下, 接收到业务配置命令后, 判断与所述业务 状态机相关的所有信息是否都已经正常配置, 若有任何一个信息未配置或者 配置不正确, 则所述业务状态机仍处于未收齐状态; 若与所述业务状态机相 关的所有信息都已经正常配置, 则所述业务状态机转入收齐状态, 并触发业 务创建操作。  After the service state machine receives the service configuration command, it determines whether all the information related to the service state machine has been configured normally. If any information is not configured or is incorrectly configured, the service is not configured. The state machine is still in the uncollected state; if all the information related to the service state machine has been properly configured, the service state machine goes to the collection state and triggers the service creation operation.
2、 根据权利要求 1所述的业务配置处理方法, 其中, 判断与所述业务状 态机相关的所有信息是否都已经正常配置, 若与所述业务状态机相关的所有 信息都已经正常配置, 则所述业务状态机转入收齐状态包括:  The service configuration processing method according to claim 1, wherein it is determined whether all information related to the service state machine has been configured normally, and if all information related to the service state machine has been properly configured, The business state machine is transferred to the collection state including:
判断所有配置信息是否都为正常配置且各个信息之间的关联性是否均正 确, 若所有配置信息都为正常配置, 且各个信息之间的关联性均正确, 则所 述业务状态机转入收齐状态。  It is determined whether all the configuration information is normal configuration and the association between the information is correct. If all the configuration information is configured normally, and the correlation between the information is correct, the service state machine is transferred to the receiving system. Qi state.
3、 根据权利要求 2所述的业务配置处理方法, 其中, 所述方法还包括: 业务状态机在收齐状态下, 接收到业务配置命令后, 判断所有配置信息 是否都为正常配置且各个信息之间的关联性是否均正确, 若有任何一个配置 信息配置错误或者任何信息之间的关联性不正确, 则转入未收齐状态, 并触 发业务删除操作。  The service configuration processing method according to claim 2, wherein the method further comprises: after receiving the service configuration command, the service state machine determines whether all configuration information is normal configuration and each information is obtained. Whether the association between the two is correct. If any configuration information is incorrectly configured or the association between any information is incorrect, the status is not received and the service deletion operation is triggered.
4、 根据权利要求 2所述的业务配置处理方法, 其中, 所述方法还包括: 业务状态机在收齐状态下, 接收到业务配置命令后, 判断所有配置信息 是否都为正常配置且各个信息之间的关联性是否均正确, 若所有配置信息都 为正常配置, 且各个信息之间的关联性均正确, 则所述业务状态机仍然处于 收齐状态, 并触发删除再重建操作或直接修改操作。  The service configuration processing method according to claim 2, wherein the method further comprises: after receiving the service configuration command, the service state machine determines whether all configuration information is normal configuration and each information is obtained. If the association information is correct, and the association between the information is correct, the service state machine is still in the state of being collected, and the deletion or re-reconstruction operation or direct modification is triggered. operating.
5、 根据权利要求 4所述的业务配置处理方法, 其中, 所述触发删除再重 建操作或直接修改操作包括:  The service configuration processing method according to claim 4, wherein the trigger deletion re-reconstruction operation or the direct modification operation comprises:
若驱动提供的接口是增量接口, 则业务状态机将修改属性直接下发到驱 动; 若驱动提供的接口是全量接口, 则业务状态机将原有的全量删除, 再重 建全量将修改属性下发到驱动。 If the interface provided by the driver is an incremental interface, the service state machine directly delivers the modified attribute to the driver. If the interface provided by the driver is a full-scale interface, the service state machine deletes the original full amount, and then reconstructs the full amount to deliver the modified attribute to the driver.
6、 一种业务配置处理装置, 该装置包括:  6. A service configuration processing device, the device comprising:
生成模块, 其设置为: 接收到与关键字相关的配置命令后, 生成业务状 态机, 并将业务状态机初始化为未收齐状态; 以及  Generating a module, which is configured to: after receiving a configuration command related to the keyword, generate a business state machine, and initialize the business state machine to an uncollected state;
配置处理模块, 其设置为: 业务状态机在未收齐状态下, 接收到业务配 置命令后, 判断与所述业务状态机相关的所有信息是否都已经正常配置, 若 有任何一个信息未配置或者配置不正确, 则所述业务状态机仍处于未收齐状 态; 若与所述业务状态机相关的所有信息都已经正常配置, 则所述业务状态 机转入收齐状态, 并触发业务创建操作。  The configuration processing module is configured to: after the service state machine receives the service configuration command in the uncollected state, determine whether all information related to the service state machine has been configured normally, if any information is not configured or If the configuration is incorrect, the service state machine is still in an unreceived state; if all the information related to the service state machine has been configured normally, the service state machine is transferred to the collection state, and the service creation operation is triggered. .
7、 根据权利要求 6所述的业务配置处理装置, 其中,  7. The service configuration processing device according to claim 6, wherein
所述配置处理模块是设置为: 判断所有配置信息是否都为正常配置且各 个信息之间的关联性是否均正确, 若所有配置信息都为正常配置, 且各个信 息之间的关联性均正确, 则所述业务状态转入收齐状态。  The configuration processing module is configured to: determine whether all the configuration information is normal configuration, and the association between the information is correct. If all the configuration information is normal configuration, and the correlation between the information is correct, Then, the service state is transferred to the collection state.
8、 根据权利要求 7所述的业务配置处理装置, 其中,  8. The service configuration processing device according to claim 7, wherein
所述配置处理模块还设置为: 业务状态机在收齐状态下, 接收到业务配 置命令后, 判断所有配置信息是否都为正常配置且各个信息之间的关联性是 否均正确, 若有任何一个配置信息配置错误或者任何信息之间的关联性不正 确, 则所述业务状态转入未收齐状态, 并触发业务删除操作。  The configuration processing module is further configured to: after the service state machine receives the service configuration command, determine whether all configuration information is normal configuration and the association between the information is correct, if any If the configuration information is incorrectly configured or the association between any information is incorrect, the service status is transferred to the uncollected state, and the service deletion operation is triggered.
9、 根据权利要求 7所述的业务配置处理装置, 其中,  9. The service configuration processing device according to claim 7, wherein
所述配置处理模块还设置为: 业务状态机在收齐状态下, 接收到业务配 置命令后, 判断所有配置信息是否都为正常配置且各个信息之间的关联性是 否均正确, 若所有配置信息都为正常配置, 且各个信息之间的关联性均正确, 则所述业务状态仍然处于收齐状态,并触发删除再重建操作或直接修改操作。  The configuration processing module is further configured to: after the service state machine receives the service configuration command, determine whether all configuration information is normal configuration and the association between the information is correct, if all the configuration information is correct. If the configurations are correct, and the association between the information is correct, the service status is still in the state of being collected, and the deletion or re-reconstruction operation or the direct modification operation is triggered.
10、 根据权利要求 9所述的业务配置处理装置, 其中,  10. The service configuration processing device according to claim 9, wherein
所述配置处理模块还设置为: 若驱动提供的接口是增量接口, 则将修改 属性直接下发到驱动; 若驱动提供的接口是全量接口, 则将原有的全量删除, 再重建全量将修改属性下发到驱动。  The configuration processing module is further configured to: if the interface provided by the driver is an incremental interface, the modified attribute is directly sent to the driver; if the interface provided by the driver is a full-scale interface, the original full amount is deleted, and then the full amount is reconstructed. Modify the properties to be sent to the driver.
PCT/CN2011/072005 2010-11-19 2011-03-21 Service configuration processing method and apparatus WO2012065395A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010552591.5 2010-11-19
CN201010552591.5A CN102468976B (en) 2010-11-19 2010-11-19 Service configuration processing method and device

Publications (1)

Publication Number Publication Date
WO2012065395A1 true WO2012065395A1 (en) 2012-05-24

Family

ID=46072185

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/072005 WO2012065395A1 (en) 2010-11-19 2011-03-21 Service configuration processing method and apparatus

Country Status (2)

Country Link
CN (1) CN102468976B (en)
WO (1) WO2012065395A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104121354A (en) * 2013-04-24 2014-10-29 上银科技股份有限公司 Bearing mechanism with anti-skid mechanism

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7191228B1 (en) * 2002-09-30 2007-03-13 Bellsouth Intellectual Property Corp. Health checker for EMS CORBA notification listener
CN101022628A (en) * 2007-03-21 2007-08-22 中兴通讯股份有限公司 Mobile multimedia broadcasting terminal and method for obtaining service allocation list by the same terminal
CN101742416A (en) * 2009-12-14 2010-06-16 中兴通讯股份有限公司 Terminal for digital cluster system and method for processing broadcast channel message thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4199444B2 (en) * 2001-08-30 2008-12-17 日本電気株式会社 Partition configuration change method, partition configuration change method, and partition configuration change program
CN101631041B (en) * 2009-07-29 2012-01-11 中兴通讯股份有限公司 Service configuration processing method and configuration relation management module

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7191228B1 (en) * 2002-09-30 2007-03-13 Bellsouth Intellectual Property Corp. Health checker for EMS CORBA notification listener
CN101022628A (en) * 2007-03-21 2007-08-22 中兴通讯股份有限公司 Mobile multimedia broadcasting terminal and method for obtaining service allocation list by the same terminal
CN101742416A (en) * 2009-12-14 2010-06-16 中兴通讯股份有限公司 Terminal for digital cluster system and method for processing broadcast channel message thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104121354A (en) * 2013-04-24 2014-10-29 上银科技股份有限公司 Bearing mechanism with anti-skid mechanism

Also Published As

Publication number Publication date
CN102468976A (en) 2012-05-23
CN102468976B (en) 2014-06-11

Similar Documents

Publication Publication Date Title
TWI761879B (en) System and method for deleting node in blockchain network
TWI743881B (en) System and method for adding node in blockchain network
US11080144B2 (en) System and method for managing blockchain nodes
US9690835B2 (en) System and method for providing a transactional command line interface (CLI) in a network environment
JP6923674B2 (en) Systems and methods for terminating the view change protocol
JP6275693B2 (en) Binding CRUD type protocol in distributed agreement protocol
JP2020522925A (en) Separate control plane and data plane synchronization for IPSEC geographical redundancy
JP2005316993A (en) System and method for sharing object between computers over network
US20220326940A1 (en) Service Upgrade Method, Apparatus, and System
US7076645B2 (en) Method of rebooting a multi-device cluster while maintaining cluster operation
CN102012944A (en) Distributed NOSQL (not only structured query language) database capable of providing replication property
WO2012151881A1 (en) Data synchronization method and device
WO2013023464A1 (en) Configuration processing method, apparatus and system
WO2011109049A1 (en) Method and apparatus of backing-up subversion repository
US20030191781A1 (en) Directory-based service activation system and method
US7587475B2 (en) System for joining a cluster by cloning configuration
WO2012065395A1 (en) Service configuration processing method and apparatus
WO2012071937A1 (en) Method, system and communication terminal for mlppp dynamic binding
CN114930313A (en) System and method for managing blockchain nodes
CN107465704B (en) Data downloading method and device
JP2011096161A (en) Service providing system, distributed process management device, file update method, and program
JP5320571B2 (en) Internode data response system
KR101578626B1 (en) Method for processing bundle message between controller and network equipment
CN107332885A (en) The method and apparatus that a kind of IPSec VPN realize two-node cluster hot backup
WO2008022517A1 (en) A system for managing a double ascription device and a method for recovering a double ascription data configuration

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

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

Country of ref document: EP

Kind code of ref document: A1