[go: up one dir, main page]

CN104135382A - Method for defining and implementing service configuration view in PON (Passive Optical Network) system - Google Patents

Method for defining and implementing service configuration view in PON (Passive Optical Network) system Download PDF

Info

Publication number
CN104135382A
CN104135382A CN201410346333.XA CN201410346333A CN104135382A CN 104135382 A CN104135382 A CN 104135382A CN 201410346333 A CN201410346333 A CN 201410346333A CN 104135382 A CN104135382 A CN 104135382A
Authority
CN
China
Prior art keywords
service
node
business
definition
configuration view
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410346333.XA
Other languages
Chinese (zh)
Other versions
CN104135382B (en
Inventor
王峰
肖青
魏大兴
曾文頔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Fiberhome Technical Services Co Ltd
Original Assignee
Wuhan Fiberhome Technical Services Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Fiberhome Technical Services Co Ltd filed Critical Wuhan Fiberhome Technical Services Co Ltd
Priority to CN201410346333.XA priority Critical patent/CN104135382B/en
Publication of CN104135382A publication Critical patent/CN104135382A/en
Application granted granted Critical
Publication of CN104135382B publication Critical patent/CN104135382B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

一种PON系统中业务配置视图的定义和实现方法,涉及通信设备管理技术领域,其包括以下步骤:业务配置视图定义,具体为定义业务类型,配置业务节点,配置业务联接;其中,配置业务节点包含配置业务节点ID、业务节点名称、业务节点坐标;业务配置视图定义的所有数据存储在脚本文件中;业务配置视图定义解析,EMS通过读取所述脚本文件获取每个业务配置视图定义数据,构建业务配置视图和设备类型映射表、业务配置视图要素内存对象,然后验证业务配置视图定义数据的完整性;业务配置视图显示实现,其包括业务配置视图列表、业务配置视图定义显示、业务节点数据显示和编辑三个部分。本发明极大改善了业务配置的盲目性,提高了业务配置效率。

A method for defining and implementing a service configuration view in a PON system, relating to the technical field of communication equipment management, comprising the following steps: defining a service configuration view, specifically defining a service type, configuring a service node, and configuring a service connection; wherein, configuring the service node Contains the configuration service node ID, service node name, and service node coordinates; all data defined by the service configuration view is stored in the script file; the definition analysis of the service configuration view, EMS obtains the definition data of each service configuration view by reading the script file, Construct business configuration view and device type mapping table, business configuration view element memory object, and then verify the integrity of business configuration view definition data; business configuration view display implementation, which includes business configuration view list, business configuration view definition display, business node data Display and edit three sections. The invention greatly improves the blindness of service configuration and improves the efficiency of service configuration.

Description

PON系统中业务配置视图的定义和实现方法Definition and realization method of service configuration view in PON system

技术领域technical field

本发明涉及通信设备管理技术领域,具体来讲是一种PON系统中业务配置视图的定义和实现方法。The invention relates to the technical field of communication equipment management, specifically a method for defining and implementing a service configuration view in a PON system.

背景技术Background technique

随着通信网络的不断发展,PON(Passive Optical Network,无源光网络技术)由于其低成本、高带宽、易部署的特性逐渐得到了广泛应用。With the continuous development of communication networks, PON (Passive Optical Network, passive optical network technology) has gradually been widely used due to its low cost, high bandwidth, and easy deployment.

在PON网络管理中,EMS(Element Management System,图形网管系统)是不可缺少的管理工具,其主要作用是监控通信网络中各通信设备的运行状态,提供图形化的用户业务配置功能,使得通信网络管理工作直观、准确。In PON network management, EMS (Element Management System, graphic network management system) is an indispensable management tool. Management work is intuitive and accurate.

在实际应用中,PON系统中业务配置实现通常采用在各个设备节点上分别进行业务项配置,综合之后形成整体业务配置;或采用向导方式引导用户逐项业务配置项,所有步骤完成后整体业务配置也完成。这种方法,存在以下问题:In practical applications, the service configuration in the PON system is usually implemented by configuring service items on each device node separately, and then forming the overall service configuration after synthesis; or using a wizard to guide users to configure service items one by one, and the overall service configuration after all steps are completed Also done. This method has the following problems:

(1)用户无法把握业务配置的整体情况,每次只能看到整个业务配置步骤中的一部分。各个业务配置步骤之间无关联显示,不能评估各步骤数据对整体业务配置的影响,造成业务配置效率较低。(1) The user cannot grasp the overall situation of the service configuration, and can only see a part of the entire service configuration steps each time. There is no correlation display between each business configuration step, and the impact of each step data on the overall business configuration cannot be evaluated, resulting in low business configuration efficiency.

(2)对于不同的设备类型,业务配置会有差异,向导式程序需要对针对不用的情况进行定制,维护效率较低,成本较高。(2) For different types of equipment, the service configuration will be different, and the wizard program needs to be customized according to the unused situation, and the maintenance efficiency is low and the cost is high.

发明内容Contents of the invention

针对现有技术中存在的缺陷,本发明的目的在于提供一种PON系统中业务配置视图的定义和实现方法,本发明能够从业务配置整体逻辑进行掌控,极大改善了业务配置的盲目性,提高了业务配置效率。In view of the defects in the prior art, the purpose of the present invention is to provide a definition and implementation method of the service configuration view in the PON system. The present invention can control the overall logic of the service configuration, which greatly improves the blindness of the service configuration. The efficiency of business configuration is improved.

为达到以上目的,本发明采取的技术方案是:一种PON系统中业务配置视图的定义和实现方法,基于EMS上实现,包括以下步骤:步骤S1.业务配置视图定义,具体为定义业务类型,配置业务节点,配置业务联接;其中,配置业务节点包含配置业务节点ID、业务节点名称、业务节点坐标;业务配置视图定义的所有数据存储在脚本文件中;步骤S2.业务配置视图定义解析,EMS通过读取所述脚本文件获取每个业务配置视图定义数据,构建业务配置视图和设备类型映射表、业务配置视图要素内存对象,然后验证业务配置视图定义数据的完整性;步骤S3.业务配置视图显示实现,其包括业务配置视图列表、业务配置视图定义显示、业务节点数据显示和编辑三个部分。In order to achieve the above object, the technical solution adopted by the present invention is: a method for defining and implementing a service configuration view in a PON system, which is implemented based on EMS, and includes the following steps: Step S1. Service configuration view definition, specifically defining the service type, Configure service nodes and configure service connections; wherein, configuring service nodes includes configuring service node IDs, service node names, and service node coordinates; all data defined by the service configuration view are stored in script files; step S2. Business configuration view definition analysis, EMS Obtain each service configuration view definition data by reading the script file, build a service configuration view and device type mapping table, a service configuration view element memory object, and then verify the integrity of the service configuration view definition data; Step S3. Service configuration view Display implementation, which includes three parts: business configuration view list, business configuration view definition display, and business node data display and editing.

在上述技术方案的基础上,所述业务配置视图是将业务配置按业务类型进行划分,并根据业务节点之间的逻辑关联关系进行业务配置实现路径规划,在同一视图内完成该业务类型相关的全部业务功能的配置和维护的集成环境。On the basis of the above technical solution, the service configuration view divides the service configuration according to the service type, and performs service configuration according to the logical relationship between the service nodes to realize the path planning, and completes the service type-related tasks in the same view An integrated environment for configuration and maintenance of all business functions.

在上述技术方案的基础上,步骤S1中,所述定义业务类型是对业务配置视图的全局属性进行定义,用于对用户业务的区别,确定了当前业务配置视图,其包括定义业务类型名称、业务类型ID、适用设备类型;所述配置业务节点是对业务配置实现路径的各个步骤进行配置;配置业务联接是配置业务节点间逻辑关联关系,业务联接为有向联接,起始点为源业务节点,结束点为目的业务节点,通过业务联接和业务节点一起构成业务视图内的业务配置实现路径,其包括配置源业务节点ID、宿业务节点ID、是否关键联接。On the basis of the above technical solution, in step S1, the definition of the business type is to define the global attribute of the business configuration view, which is used to distinguish the user business, and determines the current business configuration view, which includes defining the business type name, Business type ID, applicable device type; the configuration of the business node is to configure each step of the business configuration realization path; the configuration of the business connection is to configure the logical relationship between the business nodes, the business connection is a directed connection, and the starting point is the source service node , the end point is the destination service node, and the service configuration implementation path in the service view is formed through the service connection and the service node, which includes configuring the source service node ID, the sink service node ID, and whether it is a key connection.

在上述技术方案的基础上,步骤S1中,EMS中所有业务配置视图定义的脚本文件存放于安装目录的固定子目录中。On the basis of the above technical solution, in step S1, script files defined by all service configuration views in the EMS are stored in fixed subdirectories of the installation directory.

在上述技术方案的基础上,步骤S1中,用户通过修改所述脚本文件对视图内容进行调整。On the basis of the above technical solution, in step S1, the user adjusts the view content by modifying the script file.

在上述技术方案的基础上,步骤S2中,业务配置视图定义解析的步骤为:步骤S21.EMS获取所有业务配置视图定义的脚本文件;步骤S22.打开一个所述脚本文件,读取定义业务类型数据,根据业务类型标识和适用设备类型,构造业务配置视图和设备类型映射表;步骤S23.逐个读取配置业务节点定义数据,构造业务节点定义列表;步骤S24.根据业务节点ID从EMS数据库中读取业务节点数据,设置业务节点数据状态;步骤S25.逐个读取配置业务联接定义数据,构造业务联接对象,并根据源、宿业务节点ID,在业务节点列表中查找是否存在匹配节点;若是,跳转至步骤S26;若否,则提示数据视图定义有误,结束解析;步骤S26.判断是否还有业务配置视图定义脚本文件,若是,跳转至步骤S21;若否,结束解析。On the basis of the above-mentioned technical solution, in step S2, the step of analyzing the business configuration view definition is: step S21. EMS obtains all script files defined by the business configuration view; step S22. opens one of the script files and reads the defined business type Data, according to the service type identification and the applicable equipment type, construct the service configuration view and the equipment type mapping table; Step S23. Read the configuration service node definition data one by one, and construct the service node definition list; Step S24. From the EMS database according to the service node ID Read business node data, set business node data state; Step S25. Read configuration business connection definition data one by one, construct business connection object, and according to source, sink business node ID, find whether there is matching node in the business node list; , skip to step S26; if not, prompt that the data view definition is wrong, and end parsing; step S26. Determine whether there is a business configuration view definition script file, if so, skip to step S21; if not, end parsing.

在上述技术方案的基础上,步骤S23中,还包括构造业务节点对象,记录业务节点ID、业务节点名称和业务节点坐标;将业务节点对象存入业务节点定义列表中。On the basis of the above technical solution, step S23 also includes constructing the service node object, recording the service node ID, service node name and service node coordinates; storing the service node object in the service node definition list.

在上述技术方案的基础上,步骤S3中,业务配置视图显示实现的步骤为:步骤S31.根据用户选定的设备对象和设备类型,从业务配置视图和设备类型映射表中查找已定义的业务配置视图,构造业务配置视图列表;步骤S32.读取业务配置视图定义中的业务节点配置,并根据节点坐标定义在业务配置视图定义显示区内绘制业务节点;步骤S33.获取业务节点定义数据中的数据状态,并设置业务节点数据状态显示;步骤S34.读取业务配置视图定义中业务联接配置,并根据联接定义的源、宿业务节点绘制联接线条;步骤S35.根据用户选择的业务节点,通过业务节点ID从EMS数据库中读取业务节点数据进行显示和编辑;在显示之前,判断关键业务联接中源业务节点是否已有数据,根据不同情况提示用户并显示需要编辑的业务节点数据。On the basis of the above technical solution, in step S3, the steps for realizing the display of the service configuration view are: Step S31. According to the device object and device type selected by the user, search for the defined service from the service configuration view and the device type mapping table Configure the view to construct a list of service configuration views; Step S32. Read the service node configuration in the service configuration view definition, and draw service nodes in the service configuration view definition display area according to the node coordinate definition; Step S33. Obtain the service node definition data The data status of the business node, and set the data status display of the business node; Step S34. Read the business connection configuration in the business configuration view definition, and draw the connection line according to the source and sink business nodes of the connection definition; Step S35. According to the business node selected by the user, Read the business node data from the EMS database through the business node ID for display and editing; before displaying, judge whether the source business node in the key business connection has data, prompt the user according to different situations and display the business node data that needs to be edited.

在上述技术方案的基础上,步骤S31中,业务节点用椭圆形框标示,业务节点名称填在椭圆形框内,椭圆形框的大小根据业务节点名称自适应调整。On the basis of the above technical solution, in step S31, the service node is marked with an oval frame, the name of the service node is filled in the oval frame, and the size of the oval frame is adaptively adjusted according to the name of the service node.

在上述技术方案的基础上,步骤S35中,在显示之前,判断以当前选择业务节点为宿业务节点的关键业务联接中,所有的源业务节点是否已有数据,并向上递推查找所有相关关键联接的源业务节点是否有数据,如全部已有数据,则对当前选择业务节点数据进行显示编辑;如某个业务节点没有数据,则提示用户在编辑当前选择业务节点数据时,必须先编辑其关键联接的源业务节点,并打开最开始的关键业务联接的源业务节点数据进行显示编辑。On the basis of the above technical solution, in step S35, before displaying, it is judged whether all the source service nodes have data in the key service connection with the currently selected service node as the sink service node, and all relevant key service nodes are recursively searched up. Whether there is data in the connected source business node, if all data exists, then display and edit the data of the currently selected business node; if a certain business node has no data, it will prompt the user to edit the data of the currently selected business node before editing the data of the currently selected business node The source business node of the key connection, and open the source business node data of the initial key business connection for display and editing.

本发明的有益效果在于:The beneficial effects of the present invention are:

1、本发明通过将业务节点及其逻辑关联关系,用图形的化的联接方式和状态进行显示,能够从业务配置整体逻辑进行掌控,极大改善了业务配置的盲目性,提高了业务配置效率。1. The present invention can control the overall logic of business configuration by displaying business nodes and their logical associations in a graphical connection mode and state, which greatly improves the blindness of business configuration and improves the efficiency of business configuration .

2、本发明采用业务配置视图的定义方法,实现了多设备之间业务配置视图的共享,业务配置逻辑的扩展性,极大减少了EMS的开发工作量,增强了EMS的适应性。2. The present invention adopts the definition method of the service configuration view, realizes the sharing of the service configuration view among multiple devices, expands the service configuration logic, greatly reduces the development workload of the EMS, and enhances the adaptability of the EMS.

附图说明Description of drawings

图1本发明实施例中业务配置视图定义解析的流程图;Fig. 1 is a flowchart of definition analysis of service configuration view in the embodiment of the present invention;

图2本发明实施例中业务配置视图显示实现的流程图。Fig. 2 is a flow chart of realizing the display of the service configuration view in the embodiment of the present invention.

具体实施方式Detailed ways

以下结合附图及实施例对本发明作进一步详细说明。The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.

一种PON系统中业务配置视图的定义和实现方法,所述业务配置视图是将业务配置按业务类型进行划分,并根据业务节点之间的逻辑关联关系进行业务配置实现路径规划,在同一视图内完成该业务类型相关的全部业务功能的配置和维护的集成环境。该方法基于EMS上实现,包括以下步骤:A method for defining and implementing a service configuration view in a PON system, the service configuration view is to divide the service configuration according to service types, and perform service configuration according to the logical relationship between service nodes to implement path planning, within the same view An integrated environment that completes the configuration and maintenance of all business functions related to this business type. The method is implemented based on EMS and includes the following steps:

步骤S1.业务配置视图定义,具体为定义业务类型,配置业务节点,配置业务联接;其中,配置业务节点包含配置业务节点ID、业务节点名称、业务节点坐标;业务配置视图定义的所有数据存储在脚本文件中;EMS中所有业务配置视图定义的脚本文件存放于安装目录的固定子目录中,用户通过修改所述脚本文件对视图内容进行调整。所述定义业务类型是对业务配置视图的全局属性进行定义,用于对用户业务的区别,确定了当前业务配置视图。例如数据业务配置视图,语音业务配置视图,IPTV业务配置视图等。其包括定义业务类型名称、业务类型ID、适用设备类型;所述配置业务节点是对业务配置实现路径的各个步骤进行配置;配置业务联接是配置业务节点间逻辑关联关系,业务联接为有向联接,起始点为源业务节点,结束点为目的业务节点,通过业务联接和业务节点一起构成业务视图内的业务配置实现路径,其包括配置源业务节点ID、宿业务节点ID、是否关键联接;业务联接分关键联接和非关键联接,关键联接的源业务节点如果没有数据,则宿业务节点不能进行数据编辑,非关键联接则没有这个限制。Step S1. Business configuration view definition, specifically defining service types, configuring service nodes, and configuring service connections; wherein, configuring service nodes includes configuring service node IDs, service node names, and service node coordinates; all data defined by service configuration views are stored in In the script file; the script files defined by all business configuration views in the EMS are stored in a fixed subdirectory of the installation directory, and users can adjust the view content by modifying the script files. The definition of the service type is to define the global attribute of the service configuration view, which is used to distinguish user services and determine the current service configuration view. For example, data service configuration view, voice service configuration view, IPTV service configuration view, etc. It includes defining the business type name, business type ID, and applicable equipment type; the configuration of the business node is to configure each step of the business configuration realization path; the configuration of the business connection is to configure the logical relationship between the business nodes, and the business connection is a directed connection , the starting point is the source service node, and the end point is the destination service node. The service configuration implementation path in the service view is formed through the service connection and the service node, which includes configuring the source service node ID, the sink service node ID, and whether it is a key connection; Connections are divided into key connections and non-key connections. If the source business node of a key connection has no data, the sink business node cannot edit data. Non-key connections do not have this limitation.

步骤S2.业务配置视图定义解析,EMS通过读取所述脚本文件获取每个业务配置视图定义数据,构建业务配置视图和设备类型映射表、业务配置视图要素内存对象,然后验证业务配置视图定义数据的完整性。Step S2. Service configuration view definition analysis, EMS obtains each service configuration view definition data by reading the script file, constructs service configuration view and device type mapping table, service configuration view element memory object, and then verifies the service configuration view definition data integrity.

步骤S3.业务配置视图显示实现,其包括业务配置视图列表、业务配置视图定义显示、业务节点数据显示和编辑三个部分。Step S3. Realization of the display of the service configuration view, which includes three parts: the list of the service configuration views, the display of the definition of the service configuration view, and the display and editing of the service node data.

业务配置视图定义需要满足以下要求:方便的存储和管理、多种设备之间共享业务配置视图、业务节点和逻辑关系的灵活配置。本发明中用如下定义语法实现业务配置视图的定义:The definition of business configuration view needs to meet the following requirements: convenient storage and management, shared business configuration view among multiple devices, and flexible configuration of business nodes and logical relationships. In the present invention, the following definition syntax is used to realize the definition of the service configuration view:

每种业务类型的业务配置视图定义的所有数据存储在一个脚本文件中,可以方便的进行存储和维护;业务类型id和name在系统中唯一,便于多种业务配置视图的管理;业务类型定义中devicetype是设备类型列表的定义语法,实现了多种设备对业务配置视图的共享,需要增加设备类型时,只需要再设备类型列表中增加typeid即可,扩展性非常好。All data defined by the business configuration view of each business type is stored in a script file, which can be conveniently stored and maintained; the business type id and name are unique in the system, which facilitates the management of multiple business configuration views; the business type definition devicetype is the definition syntax of the device type list, which realizes the sharing of business configuration views by multiple devices. When you need to add a device type, you only need to add typeid to the device type list, and the scalability is very good.

配置业务节点和配置业务联接的语法定义,实现了业务节点和业务联接的灵活配置和可视绘制。通过修改node节点的定义实现业务节点的配置,修改link节点的定义实现业务节点间逻辑关系的配置,无论增、删、改都非常灵活方便。业务节点中xpos和ypos为业务节点在业务配置视图中的相对坐标,通过调整xpos和ypos的定义,改变业务节点在业务配置视图中的位置,从而到达最优的显示效果。业务联接中srcnode和desnode是业务联接的源、宿业务节点,实现了业务联接在业务配置视图中的绘制路径及线条方向。The grammar definition of configuring business nodes and configuring business connections realizes the flexible configuration and visual drawing of business nodes and business connections. The configuration of business nodes is realized by modifying the definition of node nodes, and the configuration of logical relationships between business nodes is realized by modifying the definition of link nodes. It is very flexible and convenient no matter adding, deleting or changing. The xpos and ypos in the service node are the relative coordinates of the service node in the service configuration view. By adjusting the definitions of xpos and ypos, the position of the service node in the service configuration view is changed to achieve the optimal display effect. In the business connection, srcnode and desnode are the source and sink business nodes of the business connection, which realize the drawing path and line direction of the business connection in the business configuration view.

参见图1所示,步骤S2中,业务配置视图定义解析的具体步骤为:Referring to Fig. 1, in step S2, the specific steps for analyzing the definition of the service configuration view are as follows:

步骤S201.EMS获取所有业务配置视图定义的脚本文件。Step S201. The EMS acquires script files defined by all service configuration views.

步骤S202.打开一个业务配置视图定义脚本文件。Step S202. Open a business configuration view definition script file.

步骤S203.判断该脚本文件是否成功打开,若是,跳转至步骤S204;若否,跳转至步骤S211。Step S203. Judging whether the script file is successfully opened, if yes, jump to step S204; if not, jump to step S211.

步骤S204.读取定义业务类型数据。Step S204. Read the data defining the business type.

步骤S205.根据业务类型标识和适用设备类型,构造业务配置视图和设备类型映射表。Step S205. Construct a service configuration view and a device type mapping table according to the service type identifier and the applicable device type.

步骤S206.逐个读取配置业务节点定义数据,构造业务节点定义列表;构造业务节点对象,记录业务节点ID,业务节点名称和业务节点坐标;将业务节点对象存入业务节点定义列表中。Step S206. Read configuration service node definition data one by one, construct service node definition list; construct service node object, record service node ID, service node name and service node coordinates; store service node object in service node definition list.

步骤S207.根据业务节点ID从EMS数据库中读取业务节点数据,设置业务节点数据状态,如已有数据则将业务节点数据状态置为“1”,如没有则置为“0”。Step S207. Read the service node data from the EMS database according to the service node ID, set the service node data status, if there is data, set the service node data status to "1", if not, set to "0".

步骤S208.逐个读取配置业务联接定义数据,构造业务联接对象。Step S208. Read and configure business connection definition data one by one, and construct a business connection object.

步骤S209.根据源、宿业务节点ID,在业务节点列表中查找是否存在匹配节点,若是,跳转至步骤S210;若否,跳转至步骤S211。Step S209. According to the source and sink service node IDs, search whether there is a matching node in the service node list, if yes, go to step S210; if not, go to step S211.

步骤S210.判断是否还有业务配置视图定义脚本文件,若是,跳转至步骤S202;若否,结束解析。Step S210. Determine whether there is a business configuration view definition script file, if yes, jump to step S202; if not, end parsing.

步骤S211.报告业务配置视图定义错误信息并结束解析。Step S211. Report the error message of the service configuration view definition and end the parsing.

参见图2所示,步骤S3中,业务配置视图显示实现的具体步骤为:Referring to Fig. 2, in step S3, the specific steps for the realization of the service configuration view display are:

步骤S301.根据用户选定的设备对象和设备类型,从业务配置视图和设备类型映射表中查找已定义的业务配置视图。Step S301. According to the device object and device type selected by the user, search for the defined service configuration view from the service configuration view and the device type mapping table.

步骤S302.判断是否查找成功,若是,跳转至骤S303;若否,跳转至骤S304。Step S302. Determine whether the search is successful, if yes, go to step S303; if not, go to step S304.

步骤S303.将设备类型对应的业务配置视图定义显示在列表中。Step S303. Display the service configuration view definition corresponding to the device type in a list.

步骤S304.报告业务配置视图定义错误信息并结束流程。Step S304. Report the error information of the service configuration view definition and end the process.

步骤S305.读取业务配置视图定义中的业务节点配置,并根据节点坐标定义在业务配置视图定义显示区内绘制业务节点;业务节点用椭圆形框标示,业务节点名称填在椭圆形框内,椭圆形框的大小根据业务节点名称自适应调整。Step S305. Read the service node configuration in the service configuration view definition, and draw the service node in the service configuration view definition display area according to the node coordinate definition; the service node is marked with an oval frame, and the service node name is filled in the oval frame, The size of the oval frame is adaptively adjusted according to the service node name.

步骤S306.获取业务节点定义数据中的数据状态,并设置业务节点数据状态显示,如为“1”,则将对应的业务节点视图框背景色设置为浅蓝色,如为“0”,则将背景色设置为白色。Step S306. Obtain the data status in the service node definition data, and set the service node data status display, if it is "1", set the background color of the corresponding service node view frame to light blue, if it is "0", then Set the background color to white.

步骤S307.读取业务配置视图定义中业务联接配置,并根据联接定义的源、宿业务节点绘制联接线条;在显示窗口中业务联接采用带箭头的线段表示,源业务节点为线段起点,宿业务节点为线段终点,宿业务节点线段终点带箭头标识联接方向。如果当前业务联接为是关键联接用实线段;如果为非关键联接,则用虚线段。Step S307. Read the business connection configuration in the business configuration view definition, and draw the connection line according to the source and sink business nodes of the connection definition; in the display window, the business connection is represented by a line segment with an arrow, the source business node is the starting point of the line segment, and the sink business node The node is the end point of the line segment, and the end point of the line segment of the sink service node is marked with an arrow to indicate the connection direction. If the current business connection is a key connection, use a solid line segment; if it is a non-key connection, use a dotted line segment.

步骤S308.用户在进行业务配置时,业务配置视图要监测业务配置逻辑关系的正确性,具体在本方法中,就是要判断所有关键业务联接的源、宿业务节点必须有数据配置。用户选择某一业务节点进行数据显示和编辑时,以当前选择业务节点为最终业务节点,关联的直接和间接关键业务联接中,判断所有关联的源业务节点是否已有数据,若是,跳转至步骤S310;若否,跳转至步骤S309。Step S308. When the user performs service configuration, the service configuration view needs to monitor the correctness of the service configuration logical relationship. Specifically, in this method, it is necessary to determine that the source and sink service nodes of all key service connections must have data configuration. When the user selects a business node for data display and editing, the currently selected business node is the final business node, and in the associated direct and indirect key business connections, it is judged whether all associated source business nodes have data, and if so, jump to Step S310; if not, go to step S309.

步骤S309.提示用户在编辑当前选择业务节点数据时,必须先编辑其关键联接的源业务节点,并打开最开始的关键业务联接的源业务节点,根据源业务节点ID从EMS数据库中读取数据进行显示编辑,完成后结束流程。Step S309. Prompt the user to edit the source service node of the key connection when editing the data of the currently selected service node, and open the source service node of the initial key service connection, and read data from the EMS database according to the source service node ID Make display edits and end the process when done.

步骤S310.根据当前选择业务节点ID,从EMS数据库中读取数据进行显示编辑,完成后结束流程。Step S310. According to the currently selected service node ID, read data from the EMS database for display and editing, and end the process after completion.

本发明不局限于上述实施方式,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围之内。本说明书中未作详细描述的内容属于本领域专业技术人员公知的现有技术。The present invention is not limited to the above-mentioned embodiments. For those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications are also considered protection of the present invention. within range. The content not described in detail in this specification belongs to the prior art known to those skilled in the art.

Claims (10)

1.一种PON系统中业务配置视图的定义和实现方法,基于EMS上实现,其特征在于,包括以下步骤:1. the definition and the implementation method of service configuration view in a kind of PON system, realize based on EMS, it is characterized in that, comprise the following steps: 步骤S1.业务配置视图定义,具体为定义业务类型,配置业务节点,配置业务联接;其中,配置业务节点包含配置业务节点ID、业务节点名称、业务节点坐标;业务配置视图定义的所有数据存储在脚本文件中;Step S1. Business configuration view definition, specifically defining service types, configuring service nodes, and configuring service connections; wherein, configuring service nodes includes configuring service node IDs, service node names, and service node coordinates; all data defined by service configuration views are stored in in the script file; 步骤S2.业务配置视图定义解析,EMS通过读取所述脚本文件获取每个业务配置视图定义数据,构建业务配置视图和设备类型映射表、业务配置视图要素内存对象,然后验证业务配置视图定义数据的完整性;Step S2. Service configuration view definition analysis, EMS obtains each service configuration view definition data by reading the script file, constructs service configuration view and device type mapping table, service configuration view element memory object, and then verifies the service configuration view definition data the integrity of 步骤S3.业务配置视图显示实现,其包括业务配置视图列表、业务配置视图定义显示、业务节点数据显示和编辑三个部分。Step S3. Realization of the display of the service configuration view, which includes three parts: the list of the service configuration views, the display of the definition of the service configuration view, and the display and editing of the service node data. 2.如权利要求1所述的PON系统中业务配置视图的定义和实现方法,其特征在于:所述业务配置视图是将业务配置按业务类型进行划分,并根据业务节点之间的逻辑关联关系进行业务配置实现路径规划,在同一视图内完成该业务类型相关的全部业务功能的配置和维护的集成环境。2. the definition and the implementation method of service configuration view in the PON system as claimed in claim 1, it is characterized in that: described service configuration view is that service configuration is divided by service type, and according to the logical correlation between service nodes It is an integrated environment for business configuration to realize path planning, and to complete the configuration and maintenance of all business functions related to the business type in the same view. 3.如权利要求1所述的PON系统中业务配置视图的定义和实现方法,其特征在于:步骤S1中,所述定义业务类型是对业务配置视图的全局属性进行定义,用于对用户业务的区别,确定了当前业务配置视图,其包括定义业务类型名称、业务类型ID、适用设备类型;所述配置业务节点是对业务配置实现路径的各个步骤进行配置;配置业务联接是配置业务节点间逻辑关联关系,业务联接为有向联接,起始点为源业务节点,结束点为目的业务节点,通过业务联接和业务节点一起构成业务视图内的业务配置实现路径,其包括配置源业务节点ID、宿业务节点ID、是否关键联接。3. The definition and implementation method of service configuration view in the PON system as claimed in claim 1, is characterized in that: in step S1, described definition service type is to define the global attribute of service configuration view, is used for user service The difference between the current service configuration view is determined, which includes defining the service type name, service type ID, and applicable device type; the configuration of the service node is to configure each step of the service configuration realization path; the configuration of the service connection is the configuration of the service node Logical association relationship, the business connection is a directed connection, the starting point is the source business node, and the end point is the destination business node. The business configuration implementation path in the business view is formed by the business connection and the business node, which includes configuring the source business node ID, The sink service node ID and whether it is a key connection. 4.如权利要求1所述的PON系统中业务配置视图的定义和实现方法,其特征在于:步骤S1中,EMS中所有业务配置视图定义的脚本文件存放于安装目录的固定子目录中。4. The definition and implementation method of the service configuration view in the PON system as claimed in claim 1, characterized in that: in step S1, the script files defined by all service configuration views in the EMS are stored in a fixed subdirectory of the installation directory. 5.如权利要求1所述的PON系统中业务配置视图的定义和实现方法,其特征在于:步骤S1中,用户通过修改所述脚本文件对视图内容进行调整。5. The method for defining and implementing the service configuration view in the PON system according to claim 1, characterized in that: in step S1, the user adjusts the view content by modifying the script file. 6.如权利要求1所述的PON系统中业务配置视图的定义和实现方法,其特征在于,步骤S2中,业务配置视图定义解析的步骤为:6. the definition and the implementation method of service configuration view in the PON system as claimed in claim 1, it is characterized in that, in step S2, the step of service configuration view definition analysis is: 步骤S21.EMS获取所有业务配置视图定义的脚本文件;Step S21. EMS obtains script files defined by all service configuration views; 步骤S22.打开一个所述脚本文件,读取定义业务类型数据,根据业务类型标识和适用设备类型,构造业务配置视图和设备类型映射表;Step S22. Open one of the script files, read the data defining the service type, and construct a service configuration view and a device type mapping table according to the service type identification and the applicable device type; 步骤S23.逐个读取配置业务节点定义数据,构造业务节点定义列表;Step S23. Read the configuration service node definition data one by one, and construct a service node definition list; 步骤S24.根据业务节点ID从EMS数据库中读取业务节点数据,设置业务节点数据状态;Step S24. Read the service node data from the EMS database according to the service node ID, and set the service node data status; 步骤S25.逐个读取配置业务联接定义数据,构造业务联接对象,并根据源、宿业务节点ID,在业务节点列表中查找是否存在匹配节点;若是,跳转至步骤S26;若否,则提示数据视图定义有误,结束解析;Step S25. Read the configuration service connection definition data one by one, construct the service connection object, and search whether there is a matching node in the service node list according to the source and sink service node IDs; if yes, jump to step S26; if not, prompt The definition of the data view is incorrect, and the parsing ends; 步骤S26.判断是否还有业务配置视图定义脚本文件,若是,跳转至步骤S21;若否,结束解析。Step S26. Determine whether there is a business configuration view definition script file, if yes, jump to step S21; if not, end parsing. 7.如权利要求6所述的PON系统中业务配置视图的定义和实现方法,其特征在于,步骤S23中,还包括构造业务节点对象,记录业务节点ID、业务节点名称和业务节点坐标;将业务节点对象存入业务节点定义列表中。7. definition and implementation method of service configuration view in the PON system as claimed in claim 6, it is characterized in that, in step S23, also comprise constructing service node object, record service node ID, service node title and service node coordinates; The service node object is stored in the service node definition list. 8.如权利要求1所述的PON系统中业务配置视图的定义和实现方法,其特征在于,步骤S3中,业务配置视图显示实现的步骤为:8. the definition and the implementation method of service configuration view in the PON system as claimed in claim 1, it is characterized in that, in step S3, the step that service configuration view shows realization is: 步骤S31.根据用户选定的设备对象和设备类型,从业务配置视图和设备类型映射表中查找已定义的业务配置视图,构造业务配置视图列表;Step S31. According to the device object and device type selected by the user, search for the defined service configuration view from the service configuration view and the device type mapping table, and construct a list of service configuration views; 步骤S32.读取业务配置视图定义中的业务节点配置,并根据节点坐标定义在业务配置视图定义显示区内绘制业务节点;Step S32. Read the service node configuration in the service configuration view definition, and draw the service node in the service configuration view definition display area according to the node coordinate definition; 步骤S33.获取业务节点定义数据中的数据状态,并设置业务节点数据状态显示;Step S33. Obtain the data status in the service node definition data, and set the service node data status display; 步骤S34.读取业务配置视图定义中业务联接配置,并根据联接定义的源、宿业务节点绘制联接线条;Step S34. Read the business connection configuration in the business configuration view definition, and draw connection lines according to the source and sink business nodes of the connection definition; 步骤S35.根据用户选择的业务节点,通过业务节点ID从EMS数据库中读取业务节点数据进行显示和编辑;在显示之前,判断关键业务联接中源业务节点是否已有数据,根据不同情况提示用户并显示需要编辑的业务节点数据。Step S35. According to the service node selected by the user, read the service node data from the EMS database through the service node ID to display and edit; before displaying, judge whether the source service node in the key service connection has data, and prompt the user according to different situations And display the business node data that needs to be edited. 9.如权利要求8所述的PON系统中业务配置视图的定义和实现方法,其特征在于,步骤S31中,业务节点用椭圆形框标示,业务节点名称填在椭圆形框内,椭圆形框的大小根据业务节点名称自适应调整。9. The definition and implementation method of service configuration view in the PON system as claimed in claim 8, it is characterized in that, in step S31, service node is marked with oval frame, and service node title is filled in oval frame, and oval frame The size of is adaptively adjusted according to the business node name. 10.如权利要求8所述的PON系统中业务配置视图的定义和实现方法,其特征在于,步骤S35中,在显示之前,判断以当前选择业务节点为宿业务节点的关键业务联接中,所有的源业务节点是否已有数据,并向上递推查找所有相关关键联接的源业务节点是否有数据,如全部已有数据,则对当前选择业务节点数据进行显示编辑;如某个业务节点没有数据,则提示用户在编辑当前选择业务节点数据时,必须先编辑其关键联接的源业务节点,并打开最开始的关键业务联接的源业务节点数据进行显示编辑。10. The definition and implementation method of the service configuration view in the PON system as claimed in claim 8, characterized in that, in step S35, before displaying, it is judged that in the key service connection with the currently selected service node as the sink service node, all Whether there is data in the source business node of the source business node, and recursively search whether there is data in the source business node of all relevant key connections. If all data exists, display and edit the data of the currently selected business node; if a business node has no data , the user is prompted that when editing the data of the currently selected business node, the source business node of the key connection must be edited first, and the source business node data of the initial key business connection is opened for display and editing.
CN201410346333.XA 2014-07-18 2014-07-18 The implementation method of business configuration view in PON system Expired - Fee Related CN104135382B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410346333.XA CN104135382B (en) 2014-07-18 2014-07-18 The implementation method of business configuration view in PON system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410346333.XA CN104135382B (en) 2014-07-18 2014-07-18 The implementation method of business configuration view in PON system

Publications (2)

Publication Number Publication Date
CN104135382A true CN104135382A (en) 2014-11-05
CN104135382B CN104135382B (en) 2016-03-02

Family

ID=51807912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410346333.XA Expired - Fee Related CN104135382B (en) 2014-07-18 2014-07-18 The implementation method of business configuration view in PON system

Country Status (1)

Country Link
CN (1) CN104135382B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112087344A (en) * 2019-06-13 2020-12-15 烽火通信科技股份有限公司 State data acquisition method and system
CN112363774A (en) * 2020-11-06 2021-02-12 苏宁云计算有限公司 Storm real-time task configuration method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090074423A1 (en) * 2007-09-17 2009-03-19 Tellabs Vienna, Inc. Method and apparatus for configuring an optical network terminal
CN101834745A (en) * 2010-05-17 2010-09-15 中兴通讯股份有限公司 Method, server and system for automatically generating ONU (Optical Network Unit) network element topology
CN102131133A (en) * 2011-03-04 2011-07-20 讯达康通讯设备(惠州)有限公司 Ethernet passive optical network (EPON) web network management method and system
CN103036694A (en) * 2011-09-29 2013-04-10 中兴通讯股份有限公司 Service distribution method and device of distributed network
CN103840960A (en) * 2012-11-23 2014-06-04 中兴通讯股份有限公司 Passive optical network service configuration method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090074423A1 (en) * 2007-09-17 2009-03-19 Tellabs Vienna, Inc. Method and apparatus for configuring an optical network terminal
CN101834745A (en) * 2010-05-17 2010-09-15 中兴通讯股份有限公司 Method, server and system for automatically generating ONU (Optical Network Unit) network element topology
CN102131133A (en) * 2011-03-04 2011-07-20 讯达康通讯设备(惠州)有限公司 Ethernet passive optical network (EPON) web network management method and system
CN103036694A (en) * 2011-09-29 2013-04-10 中兴通讯股份有限公司 Service distribution method and device of distributed network
CN103840960A (en) * 2012-11-23 2014-06-04 中兴通讯股份有限公司 Passive optical network service configuration method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112087344A (en) * 2019-06-13 2020-12-15 烽火通信科技股份有限公司 State data acquisition method and system
CN112087344B (en) * 2019-06-13 2022-04-29 烽火通信科技股份有限公司 State data acquisition method and system
CN112363774A (en) * 2020-11-06 2021-02-12 苏宁云计算有限公司 Storm real-time task configuration method and device

Also Published As

Publication number Publication date
CN104135382B (en) 2016-03-02

Similar Documents

Publication Publication Date Title
CN103236951B (en) A kind of allocation identification method and system of optical network resource
US11516129B2 (en) Packet edit processing method and related device
EP3629530A1 (en) Method and device for achieving bidirectional segment routing tunnel, storage medium, and apparatus
CN110168533A (en) Caching to subgraph and the subgraph of caching is integrated into figure query result
CN108900981A (en) Transmission method, the apparatus and system of Bluetooth audio frequency data
CN104301251A (en) QoS processing method, system and device
CN103634177A (en) Method and system for implementing configuration on basis of network services
WO2017032024A1 (en) Method and device for processing potn virtual interface
EP3637690A1 (en) Service configuration-driven flow table method and device
CN104135382B (en) The implementation method of business configuration view in PON system
CN110109891A (en) Method, equipment and computer program product for Data Migration
CN104348691A (en) Fiber link scheduling method, equipment and system
CN103973343B (en) Communication method and system
CN105656665A (en) Switch port configuring method and switch
WO2020038337A1 (en) Network configuration method, apparatus and system
CN102724061B (en) A kind of network interface management method
CN105262686A (en) Network connectivity verification method and device
WO2013170796A1 (en) Data updating method, system and device
CN101459468A (en) Optical layer wavelength end-to-end scheduling method and apparatus
CN105471726A (en) Forwarding parameter passing method and equipment
TWI540861B (en) Management system and management method
US11388056B2 (en) Information management system and information management method
CN106933999B (en) Apache lucene score highlighting method for independent search
CN101631264B (en) Method and device for synchronizing management plane and control plane of intelligent optical-fiber network
CN103825827A (en) Routing advertisement method and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160302

CF01 Termination of patent right due to non-payment of annual fee