WO2018041040A1 - Automatic layout method and system utilizing vector diagram of otn service signal flow - Google Patents

Automatic layout method and system utilizing vector diagram of otn service signal flow Download PDF

Info

Publication number
WO2018041040A1
WO2018041040A1 PCT/CN2017/099104 CN2017099104W WO2018041040A1 WO 2018041040 A1 WO2018041040 A1 WO 2018041040A1 CN 2017099104 W CN2017099104 W CN 2017099104W WO 2018041040 A1 WO2018041040 A1 WO 2018041040A1
Authority
WO
WIPO (PCT)
Prior art keywords
vector
signal stream
network element
channel network
signal
Prior art date
Application number
PCT/CN2017/099104
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 烽火通信科技股份有限公司
Priority to MYPI2018002527A priority Critical patent/MY192949A/en
Publication of WO2018041040A1 publication Critical patent/WO2018041040A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • 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/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • H04L43/045Processing captured monitoring data, e.g. for logfile generation for graphical visualisation of monitoring data

Definitions

  • the present invention relates to the field of OTN (Optical Transport Network) device management, and in particular, to an automatic layout method and system for an OTN service signal flow vector diagram.
  • OTN Optical Transport Network
  • the wavelength division multiplexing technology connects a plurality of optical path processing unit disks through inter-disk optical fibers, thereby performing optical signal processing in combination. Since the optical layer routing is separated in the forward and reverse directions on the physical layer, the wavelength division multiplexing technology causes the optical layer service to be routed through a large number of optical path processing unit disks, thereby causing the link to pass through many nodes and the link connection direction to be complicated.
  • the technical problem solved by the present invention is to rationally layout the vector data objects that need to be presented in the OTN service signal stream, and obtain a vector diagram capable of displaying the hierarchical structure of each vector data object.
  • the automatic layout method of the OTN service signal flow vector diagram provided by the present invention includes the following steps:
  • S1 The optical path processing unit disk that passes each route of the OTN service is arranged in sequence to form a single signal stream; according to the vector of all optical path processing unit disks in the single signal flow The standard data, the vector coordinate data of the single signal stream is calculated;
  • all the single signal streams are divided into signal stream groups, and the single channel signal streams corresponding to all the routes of each type are one group; according to the vector coordinates of all the optical path processing unit disks in the signal stream group Data, calculating vector coordinate data of the signal stream group;
  • S2 Select one group of signal stream groups, and in each single channel signal stream of the current signal stream group, the optical path processing unit disks belonging to the same network element form a single-channel network element signal stream; according to the single-channel network element signal stream The vector coordinate data of the optical path processing unit disk is calculated, and the vector coordinate data of the single-channel network element signal stream is calculated;
  • S5 Perform corresponding two-dimensional vector transformation on each vector data object in the current signal stream group to obtain a vector diagram of the OTN service signal stream of the current signal stream group.
  • the automatic layout system for implementing the OTN service signal flow vector diagram of the above method comprises the signal flow layout module, the single-channel network element signal flow layout module, the single-channel network element signal flow group layout module, the disk map element establishment module, And a two-dimensional vector transformation module;
  • the signal flow vector object layout module is configured to: form an optical signal processing unit disk through which each route of the OTN service passes, and form a single signal stream in sequence; according to vector coordinate data of all optical path processing unit disks in the single signal flow, calculate Vector coordinate data of a single signal stream; according to the type of all routes in the OTN service, all single signal streams are divided into The signal stream group, the single-channel signal stream corresponding to all the routes of each type is one group; according to the vector coordinate data of all the optical path processing unit disks in the signal stream group, the vector coordinate data of the signal stream group is calculated, and the single-channel network element is obtained.
  • the signal flow layout module sends a single network element signal flow layout signal;
  • the single-channel network element signal flow layout module is configured to: after receiving the single-channel network element signal flow layout signal, select one group of signal stream groups, and each single-channel signal stream of the current signal stream group will belong to the same network element.
  • the optical path processing unit disk forms a single-channel network element signal stream; according to the vector coordinate data of all the optical path processing unit disks in the single-channel network element signal stream, the vector coordinate data of the single-channel network element signal stream is calculated, and the single-channel network element signal stream is calculated.
  • the group layout module sends a single-channel network element signal stream group layout signal;
  • the single-channel network element signal stream group layout module is configured to: after receiving the single-channel network element signal stream group layout signal, in the single signal stream of the current signal stream group, the single-channel network element signal stream belonging to the same network element Forming a single-channel network element signal stream group; calculating vector coordinate data of the single-channel network element signal stream group according to vector coordinate data of all optical path processing unit disks in the single-channel network element signal stream group, and establishing a module transmission disk to the disk map element The primitive establishes a signal;
  • the disk map element establishing module is configured to: after receiving the disk element establishment signal, respectively establish a disk map element, a vector coordinate data of the disk map element and the disk for each optical path processing unit disk in all the single-channel network element signal streams The vector coordinate data of the optical path processing unit disk corresponding to the primitive is the same, and the two-dimensional vector transformation signal is sent to the two-dimensional vector transformation module;
  • the two-dimensional vector transformation module is configured to: after receiving the two-dimensional vector transformation signal, perform corresponding two-dimensional vector transformation on each vector data object in the current signal stream group to obtain a vector of the OTN service signal stream of the current signal stream group.
  • the invention integrates and groups the signal streams of each route of the OTN service, and obtains multiple vector data objects (single signal stream, disk map element, single channel network element signal stream).
  • the group and the single-channel network element signal stream perform a corresponding two-dimensional vector transformation on each vector data object in the signal stream group to obtain a vector diagram of the OTN service signal stream of the signal stream group.
  • the present invention can reasonably arrange each vector data object, so that the vector diagram of the OTN service signal stream can display the hierarchical structure of each vector data object, and view the flow direction of the OTN service signal in the vector diagram of the OTN service signal stream. Easier.
  • FIG. 1 is a flowchart of an automatic layout method of an OTN service signal flow vector diagram according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of all vector data objects in an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of initial object positions of all vector data objects in an embodiment of the present invention.
  • FIG. 4 is a vector diagram of an OTN service signal flow according to an embodiment of the present invention.
  • FIG. 5 is a specific flowchart of S5 according to an embodiment of the present invention.
  • an automatic layout method for an OTN service signal flow vector diagram in an embodiment of the present invention includes the following steps:
  • the optical path processing unit disks through which each route of the OTN service passes are sequentially arranged to form a single signal stream (vector data object);
  • the vector coordinate data of all the optical path processing unit disks in the single signal stream (the vector coordinate data of the optical path processing unit disk is set in advance), and the vector coordinate data of the single signal stream is calculated.
  • all single-channel signal streams are divided into signal stream groups (vector data objects, that is, the signal stream group is a combination of single-channel signal streams, including one Or a plurality of single-channel signal streams), the single-channel signal stream corresponding to all the routes of each type is a group of signal stream groups; and the vector of the signal stream group is calculated according to the vector coordinate data of all the optical path processing unit disks in the signal stream group Coordinate data.
  • vector data objects that is, the signal stream group is a combination of single-channel signal streams, including one Or a plurality of single-channel signal streams
  • the single-channel signal stream corresponding to all the routes of each type is a group of signal stream groups
  • the vector of the signal stream group is calculated according to the vector coordinate data of all the optical path processing unit disks in the signal stream group Coordinate data.
  • the types of all routes and corresponding signal flow groups in the OTN service in S1 are:
  • a signal flow group consisting of all single signal streams that are reversely routed by the service layer protection path.
  • the order of the optical path processing unit disks of the working path forward routing, the protection path forward routing, and the service layer protection path forward routing are all arranged from the starting point to the ending direction of the route.
  • the order of the optical path processing unit disks of the working path reverse routing, the protection path reverse routing, and the service layer protection path reverse routing are all arranged from the end point of the route to the starting point direction.
  • the optical path processing unit disks belonging to the same network element form a single-channel network element signal stream (a vector data object, that is, a single-channel signal stream is a combination of single-channel network element signal streams, and includes one or more single-channel network element signal streams);
  • the vector coordinate data of the single-channel network element signal stream is calculated according to the vector coordinate data of all the optical path processing unit disks in the single-channel network element signal stream.
  • the single-channel network element signal streams belonging to the same network element form a single-channel network element signal stream group (vector data object, ie, single
  • the road network element signal stream group is a combination of single-channel network element signal streams, and includes one or more single-channel network element signal streams; and is calculated according to vector coordinate data of all optical path processing unit disks in the single-channel network element signal stream group.
  • the vector coordinate data of the single-channel network element signal stream group is obtained.
  • All the single-channel NE signal flow groups are arranged and stored according to the order in which the NEs appear in the OTN route, so that they can be viewed later according to the order of the NEs.
  • a disk primitive (a vector data object, that is, a single-channel network element signal stream is a disk primitive) is established for each optical path processing unit disk in all single-channel network element signal streams. Combination, containing 1 or more disk entities).
  • the disk map element includes vector coordinate data and primitive vector data indicating the shape of the optical path processing unit disk; the vector coordinate data of the disk primitive is the same as the vector coordinate data of the optical path processing unit disk corresponding to the disk primitive.
  • each vector data object in the signal stream group (each single signal stream, each disk primitive, each group of single network element signal stream groups, and each sheet)
  • the vector coordinate data of the road network element signal stream is subjected to corresponding two-dimensional vector transformation to obtain a vector diagram of the OTN service signal stream of the signal stream group.
  • the vector diagram of the OTN service signal stream in S5 needs to follow: adopt the two-dimensional Cartesian coordinate system consistent with the displayed result image as the coordinate system of the world coordinate system and the vector data object; the origin is located in the upper left corner of the image, and the X axis is horizontally to the right. In the forward direction, the Y-axis is vertically downward; the position of the coordinate system of each vector data object is initialized with the data whose origin coincides with the origin of the world coordinate system.
  • S5 specifically includes the following processes:
  • S501 The vector coordinate data of each single signal stream is vertically averaged and distributed by a two-dimensional vector transformation algorithm to complete the vertical distribution of the signal flow of the single signal stream in the vector diagram.
  • S502 Perform vector-level coordinate data of each disk primitive in all single-channel network element signal streams, and perform horizontal average distribution translation through a two-dimensional vector transformation algorithm to complete a horizontal distribution layout of the disk primitives in the vector diagram.
  • S503 The vector coordinate data of each group of single-channel network element signal stream groups are horizontally distributed and translated by a two-dimensional vector transformation algorithm, and the horizontal distribution layout of the single-channel network element signal stream group in the vector diagram is completed.
  • S504 The vector coordinate data of each single-channel network element signal stream in all single-channel network element signal stream groups is aligned in the vertical direction by a two-dimensional vector transformation algorithm, and the single-channel network element signal stream is completed in the vector diagram. Vertical distribution layout.
  • the automatic layout system for implementing the OTN service signal flow vector diagram of the foregoing method in the embodiment of the present invention includes a signal flow layout module, a single-channel network element signal flow layout module, a single-channel network element signal stream group layout module, and a disk map element establishment. Module, and two-dimensional vector transformation module.
  • the signal flow vector object layout module is configured to: form an optical signal processing unit disk through which each route of the OTN service passes, and form a single signal stream in sequence; according to vector coordinate data of all optical path processing unit disks in the single signal flow, calculate Vector coordinate data of a single signal stream; according to the type of all routes in the OTN service, all single signal streams are divided into signal stream groups, and each type of each route corresponds to a single signal stream of one group; according to the signal stream group The vector coordinate data of all the optical path processing unit disks is calculated, the vector coordinate data of the signal flow group is calculated, and the single-channel network element signal flow layout signal is sent to the single-channel network element signal flow layout module.
  • the single-channel network element signal flow layout module is configured to: receive a single-channel network element signal flow layout signal After that, a group of signal stream groups is selected, and in each single channel signal stream of the current signal stream group, the optical path processing unit disks belonging to the same network element form a single-channel network element signal stream; according to the single-channel network element signal stream The vector coordinate data of the optical path processing unit disk calculates the vector coordinate data of the single-channel network element signal stream, and sends the single-channel network element signal stream group layout signal to the single-channel network element signal stream group layout module.
  • the single-channel network element signal stream group layout module is configured to: after receiving the single-channel network element signal stream group layout signal, in the single signal stream of the current signal stream group, the single-channel network element signal stream belonging to the same network element Forming a single-channel network element signal stream group; calculating vector coordinate data of the single-channel network element signal stream group according to vector coordinate data of all optical path processing unit disks in the single-channel network element signal stream group, and all single-channel network element signal streams After the group is arranged and saved according to the order in which the network elements appear in the OTN route, the group sends a disk element establishment signal to the disk element creation module.
  • the disk map element establishing module is configured to: after receiving the disk element establishment signal, respectively establish a disk map element, a vector coordinate data of the disk map element and the disk for each optical path processing unit disk in all the single-channel network element signal streams The vector coordinate data of the optical path processing unit disk corresponding to the primitive is the same, and the two-dimensional vector conversion signal is transmitted to the two-dimensional vector transformation module.
  • the two-dimensional vector transformation module is configured to: after receiving the two-dimensional vector transformation signal, perform corresponding two-dimensional vector transformation on each vector data object in the current signal stream group to obtain a vector of the OTN service signal stream of the current signal stream group.
  • the specific workflow is:
  • the vector coordinate data of each single signal stream is vertically averaged and distributed by a two-dimensional vector transformation algorithm to complete the vertical distribution of the signal flow of the single signal stream in the vector diagram;
  • the vector coordinate data of each disk primitive is subjected to horizontal average distribution translation by a two-dimensional vector transformation algorithm, and the horizontal distribution layout of the disk primitive in the vector diagram is completed;
  • the vector coordinate data of each group of single-channel network element signal stream groups is horizontally distributed and translated by a two-dimensional vector transformation algorithm to complete the water of the single-channel network element signal stream group in the vector diagram.
  • the vector coordinate data of each single-channel network element signal stream is vertically aligned in the center by a two-dimensional vector transformation algorithm, and the vertical distribution layout of the single-channel network element signal stream in the vector diagram is completed.
  • the vector diagram of the OTN service signal stream obtained by the two-dimensional vector transformation module needs to follow: adopt the two-dimensional Cartesian coordinate system consistent with the displayed result image as the coordinate system of the world coordinate system and the vector data object; the origin is located in the upper left corner of the image, the X axis The horizontal direction is positive to the right and the Y axis is vertical to the positive direction; the position of the own coordinate system of each vector data object is initialized with data whose origin coincides with the origin of the world coordinate system.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the field of OTN apparatus management, and in particular, to an automatic layout method and system utilizing a vector diagram of OTN service signal flows. The method comprises: sequentially arranging optical path processing units on all routes of a OTN service to form single-path signal flows, and classifying all the single-path signal flows into signal flow groups; for each of the single-path signal flows, employing optical path processing units belonging to a same network element to form a single-path network element signal flow; for all the single-path signal flows, employing optical path processing units belonging to a same network element to form a single-path network element signal flow set; creating processing unit data set with respect to each of the optical path processing units in all the single-path network element signal flow; performing corresponding two-dimensional vector transformation on each of vector data objects to obtain a vector diagram of the OTN service signal flows. The invention can provide a reasonable layout for vector data objects in a OTN service signal flow, thereby obtaining a vector diagram displaying layers and structures of each vector data object.

Description

OTN业务信号流矢量图的自动布局方法及系统Automatic layout method and system for OTN service signal flow vector diagram 技术领域Technical field
本发明涉及OTN(Optical Transport Network,光传送网络)设备管理领域,具体涉及一种OTN业务信号流矢量图的自动布局方法及系统。The present invention relates to the field of OTN (Optical Transport Network) device management, and in particular, to an automatic layout method and system for an OTN service signal flow vector diagram.
背景技术Background technique
在OTN中,波分复用技术将多个光路处理单元盘通过盘间光纤连接,进而组合完成光信号处理。由于光层路由在物理层上是正反向分离的,因此波分复用技术会使得光层业务路由经过大量光路处理单元盘,进而使得链路经过节点较多、链路连接方向比较复杂。In OTN, the wavelength division multiplexing technology connects a plurality of optical path processing unit disks through inter-disk optical fibers, thereby performing optical signal processing in combination. Since the optical layer routing is separated in the forward and reverse directions on the physical layer, the wavelength division multiplexing technology causes the optical layer service to be routed through a large number of optical path processing unit disks, thereby causing the link to pass through many nodes and the link connection direction to be complicated.
在此基础上,若增加ODUk(Optical Channel Data Unit-k,级光信道数据单元)层电交叉、保护、光层保护等复杂层次结构之后,会使得OTN业务的路由变得极其复杂,进而导致查看OTN业务信号的流向变得非常困难。On the basis of this, if the complex hierarchical structure such as the ODU (Optical Channel Data Unit-k) optical crossover, protection, and optical layer protection is added, the routing of the OTN service becomes extremely complicated, which leads to It is very difficult to view the flow of OTN service signals.
发明内容Summary of the invention
针对现有技术中存在的缺陷,本发明解决的技术问题为:对OTN业务信号流中需要展现的矢量数据对象进行合理布局,得到能够显示每个矢量数据对象的层次结构的矢量图。In view of the deficiencies in the prior art, the technical problem solved by the present invention is to rationally layout the vector data objects that need to be presented in the OTN service signal stream, and obtain a vector diagram capable of displaying the hierarchical structure of each vector data object.
为达到以上目的,本发明提供的OTN业务信号流矢量图的自动布局方法,包括以下步骤:To achieve the above objective, the automatic layout method of the OTN service signal flow vector diagram provided by the present invention includes the following steps:
S1:将OTN业务的每条路由经过的光路处理单元盘,按顺序排列形成单路信号流;根据单路信号流中所有光路处理单元盘的矢量坐 标数据,计算得到单路信号流的矢量坐标数据;S1: The optical path processing unit disk that passes each route of the OTN service is arranged in sequence to form a single signal stream; according to the vector of all optical path processing unit disks in the single signal flow The standard data, the vector coordinate data of the single signal stream is calculated;
根据OTN业务中所有路由的类型,将所有单路信号流划分为信号流组,每种类型的所有路由对应的单路信号流为1组;根据信号流组中所有光路处理单元盘的矢量坐标数据,计算得到信号流组的矢量坐标数据;According to the type of all routes in the OTN service, all the single signal streams are divided into signal stream groups, and the single channel signal streams corresponding to all the routes of each type are one group; according to the vector coordinates of all the optical path processing unit disks in the signal stream group Data, calculating vector coordinate data of the signal stream group;
S2:选择1组信号流组,在当前信号流组的每条单路信号流中,将属于同一网元的光路处理单元盘形成单路网元信号流;根据单路网元信号流中所有光路处理单元盘的矢量坐标数据,计算得到单路网元信号流的矢量坐标数据;S2: Select one group of signal stream groups, and in each single channel signal stream of the current signal stream group, the optical path processing unit disks belonging to the same network element form a single-channel network element signal stream; according to the single-channel network element signal stream The vector coordinate data of the optical path processing unit disk is calculated, and the vector coordinate data of the single-channel network element signal stream is calculated;
S3:在当前信号流组的所有单路信号流中,将属于同一网元的单路网元信号流形成单路网元信号流组;根据单路网元信号流组中所有光路处理单元盘的矢量坐标数据,计算得到单路网元信号流组的矢量坐标数据;S3: in the single signal stream of the current signal stream group, the single-channel network element signal stream belonging to the same network element forms a single-channel network element signal stream group; according to all the optical path processing unit disks in the single-channel network element signal stream group The vector coordinate data, and the vector coordinate data of the single-channel network element signal stream group is calculated;
S4:分别对所有单路网元信号流中的每个光路处理单元盘,建立盘图元,盘图元的矢量坐标数据与该盘图元对应的光路处理单元盘的矢量坐标数据相同;S4: establishing a disk primitive for each optical path processing unit disk in each single-channel network element signal stream, and the vector coordinate data of the disk graphic element is the same as the vector coordinate data of the optical path processing unit disk corresponding to the disk graphic element;
S5:对当前信号流组中的每个矢量数据对象,进行相应的二维矢量变换,得到当前信号流组的OTN业务信号流的矢量图。S5: Perform corresponding two-dimensional vector transformation on each vector data object in the current signal stream group to obtain a vector diagram of the OTN service signal stream of the current signal stream group.
本发明提供的实现上述方法的OTN业务信号流矢量图的自动布局系统,包括信号流布局模块、单路网元信号流布局模块、单路网元信号流组布局模块、盘图元建立模块、以及二维矢量变换模块;The automatic layout system for implementing the OTN service signal flow vector diagram of the above method comprises the signal flow layout module, the single-channel network element signal flow layout module, the single-channel network element signal flow group layout module, the disk map element establishment module, And a two-dimensional vector transformation module;
信号流矢量对象布局模块用于:将OTN业务的每条路由经过的光路处理单元盘,按顺序排列形成单路信号流;根据单路信号流中所有光路处理单元盘的矢量坐标数据,计算得到单路信号流的矢量坐标数据;根据OTN业务中所有路由的类型,将所有单路信号流划分为 信号流组,每种类型的所有路由对应的单路信号流为1组;根据信号流组中所有光路处理单元盘的矢量坐标数据,计算得到信号流组的矢量坐标数据,向单路网元信号流布局模块发送单路网元信号流布局信号;The signal flow vector object layout module is configured to: form an optical signal processing unit disk through which each route of the OTN service passes, and form a single signal stream in sequence; according to vector coordinate data of all optical path processing unit disks in the single signal flow, calculate Vector coordinate data of a single signal stream; according to the type of all routes in the OTN service, all single signal streams are divided into The signal stream group, the single-channel signal stream corresponding to all the routes of each type is one group; according to the vector coordinate data of all the optical path processing unit disks in the signal stream group, the vector coordinate data of the signal stream group is calculated, and the single-channel network element is obtained. The signal flow layout module sends a single network element signal flow layout signal;
单路网元信号流布局模块用于:收到单路网元信号流布局信号后,选择1组信号流组,在当前信号流组的每条单路信号流中,将属于同一网元的光路处理单元盘形成单路网元信号流;根据单路网元信号流中所有光路处理单元盘的矢量坐标数据,计算得到单路网元信号流的矢量坐标数据,向单路网元信号流组布局模块发送单路网元信号流组布局信号;The single-channel network element signal flow layout module is configured to: after receiving the single-channel network element signal flow layout signal, select one group of signal stream groups, and each single-channel signal stream of the current signal stream group will belong to the same network element. The optical path processing unit disk forms a single-channel network element signal stream; according to the vector coordinate data of all the optical path processing unit disks in the single-channel network element signal stream, the vector coordinate data of the single-channel network element signal stream is calculated, and the single-channel network element signal stream is calculated. The group layout module sends a single-channel network element signal stream group layout signal;
单路网元信号流组布局模块用于:收到单路网元信号流组布局信号后,在当前信号流组的所有单路信号流中,将属于同一网元的单路网元信号流形成单路网元信号流组;根据单路网元信号流组中所有光路处理单元盘的矢量坐标数据,计算得到单路网元信号流组的矢量坐标数据,向盘图元建立模块发送盘图元建立信号;The single-channel network element signal stream group layout module is configured to: after receiving the single-channel network element signal stream group layout signal, in the single signal stream of the current signal stream group, the single-channel network element signal stream belonging to the same network element Forming a single-channel network element signal stream group; calculating vector coordinate data of the single-channel network element signal stream group according to vector coordinate data of all optical path processing unit disks in the single-channel network element signal stream group, and establishing a module transmission disk to the disk map element The primitive establishes a signal;
盘图元建立模块用于:收到盘图元建立信号后,分别对所有单路网元信号流中的每个光路处理单元盘,建立盘图元,盘图元的矢量坐标数据与该盘图元对应的光路处理单元盘的矢量坐标数据相同,向二维矢量变换模块发送二维矢量变换信号;The disk map element establishing module is configured to: after receiving the disk element establishment signal, respectively establish a disk map element, a vector coordinate data of the disk map element and the disk for each optical path processing unit disk in all the single-channel network element signal streams The vector coordinate data of the optical path processing unit disk corresponding to the primitive is the same, and the two-dimensional vector transformation signal is sent to the two-dimensional vector transformation module;
二维矢量变换模块用于:收到二维矢量变换信号后,对当前信号流组中的每个矢量数据对象,进行相应的二维矢量变换,得到当前信号流组的OTN业务信号流的矢量图。The two-dimensional vector transformation module is configured to: after receiving the two-dimensional vector transformation signal, perform corresponding two-dimensional vector transformation on each vector data object in the current signal stream group to obtain a vector of the OTN service signal stream of the current signal stream group. Figure.
与现有技术相比,本发明的优点在于:The advantages of the present invention over the prior art are:
本发明对OTN业务的每条路由的信号流进行了合理整合及分组后,得到多个矢量数据对象(单路信号流、盘图元、单路网元信号流 组和单路网元信号流),对信号流组中的每个矢量数据对象进行相应的二维矢量变换,即可得到信号流组的OTN业务信号流的矢量图。The invention integrates and groups the signal streams of each route of the OTN service, and obtains multiple vector data objects (single signal stream, disk map element, single channel network element signal stream). The group and the single-channel network element signal stream perform a corresponding two-dimensional vector transformation on each vector data object in the signal stream group to obtain a vector diagram of the OTN service signal stream of the signal stream group.
因此,本发明能够对每个矢量数据对象进行合理布局,进而使得OTN业务信号流的矢量图能够显示每个矢量数据对象的层次结构,在OTN业务信号流的矢量图中查看OTN业务信号的流向比较容易。Therefore, the present invention can reasonably arrange each vector data object, so that the vector diagram of the OTN service signal stream can display the hierarchical structure of each vector data object, and view the flow direction of the OTN service signal in the vector diagram of the OTN service signal stream. Easier.
附图说明DRAWINGS
图1为本发明实施例中OTN业务信号流矢量图的自动布局方法的流程图;1 is a flowchart of an automatic layout method of an OTN service signal flow vector diagram according to an embodiment of the present invention;
图2为本发明实施例中所有矢量数据对象的示意图;2 is a schematic diagram of all vector data objects in an embodiment of the present invention;
图3为本发明实施例中所有矢量数据对象的初始对象位置的示意图;3 is a schematic diagram of initial object positions of all vector data objects in an embodiment of the present invention;
图4为本发明实施例中OTN业务信号流的矢量图;4 is a vector diagram of an OTN service signal flow according to an embodiment of the present invention;
图5为本发明实施例中S5的具体流程图。FIG. 5 is a specific flowchart of S5 according to an embodiment of the present invention.
具体实施方式detailed description
以下结合附图及实施例对本发明作进一步详细说明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments.
参见图1所示,本发明实施例中的OTN业务信号流矢量图的自动布局方法,包括以下步骤:Referring to FIG. 1 , an automatic layout method for an OTN service signal flow vector diagram in an embodiment of the present invention includes the following steps:
S1:参见图2和图3所示,在需要进行信号流显示的OTN业务中,将OTN业务的每条路由经过的光路处理单元盘按顺序排列形成单路信号流(矢量数据对象);根据单路信号流中所有光路处理单元盘的矢量坐标数据(光路处理单元盘的矢量坐标数据预先已设置),计算得到单路信号流的矢量坐标数据。S1: As shown in FIG. 2 and FIG. 3, in the OTN service that needs to perform signal flow display, the optical path processing unit disks through which each route of the OTN service passes are sequentially arranged to form a single signal stream (vector data object); The vector coordinate data of all the optical path processing unit disks in the single signal stream (the vector coordinate data of the optical path processing unit disk is set in advance), and the vector coordinate data of the single signal stream is calculated.
根据OTN业务中所有路由的类型,将所有单路信号流划分为信号流组(矢量数据对象,即信号流组是单路信号流的组合,包含1个 或多个单路信号流),每种类型的所有路由对应的单路信号流为1组信号流组;根据信号流组中所有光路处理单元盘的矢量坐标数据,计算得到信号流组的矢量坐标数据。According to the type of all routes in the OTN service, all single-channel signal streams are divided into signal stream groups (vector data objects, that is, the signal stream group is a combination of single-channel signal streams, including one Or a plurality of single-channel signal streams), the single-channel signal stream corresponding to all the routes of each type is a group of signal stream groups; and the vector of the signal stream group is calculated according to the vector coordinate data of all the optical path processing unit disks in the signal stream group Coordinate data.
S1中OTN业务中所有路由的类型和对应的信号流组为:The types of all routes and corresponding signal flow groups in the OTN service in S1 are:
(1)由所有类型为工作路径正向路由的单路信号流组成的信号流组;(1) a signal stream group consisting of all single-channel signal streams that are forward-routed to the working path;
(2)由所有类型为工作路径反向路由的单路信号流组成的信号流组;(2) a signal stream group consisting of all types of single-signal streams that are reverse-routed by the working path;
(3)由所有类型为保护路径正向路由的单路信号流组成的信号流组;(3) a signal stream group consisting of all single-channel signal streams of the type forward route of the protection path;
(4)由所有类型为保护路径反向路由的单路信号流组成的信号流组;(4) a signal stream group consisting of all single signal streams of the type backed by the protection path;
(5)由所有类型为服务层保护路径正向路由的单路信号流组成的信号流组;(5) a signal flow group consisting of all single-channel signal flows that are forward-routed by the service layer protection path;
(6)由所有类型为服务层保护路径反向路由的单路信号流组成的信号流组。(6) A signal flow group consisting of all single signal streams that are reversely routed by the service layer protection path.
在此基础上,工作路径正向路由、保护路径正向路由、以及服务层保护路径正向路由的光路处理单元盘的排列顺序均为:从路由的起点至终点方向进行排列。工作路径反向路由、保护路径反向路由、以及服务层保护路径反向路由的光路处理单元盘的排列顺序均为:从路由的终点至起点方向进行排列。On this basis, the order of the optical path processing unit disks of the working path forward routing, the protection path forward routing, and the service layer protection path forward routing are all arranged from the starting point to the ending direction of the route. The order of the optical path processing unit disks of the working path reverse routing, the protection path reverse routing, and the service layer protection path reverse routing are all arranged from the end point of the route to the starting point direction.
S1之后,需要分别对每组信号流组的OTN业务信号流自动布局出矢量图,对1组信号流组的OTN业务信号流自动布局出矢量图的流程为:After S1, it is necessary to automatically lay out a vector diagram for each OTN service signal stream of each group of signal streams, and automatically arrange a vector diagram for the OTN service signal stream of one group of signal stream groups:
S2:参见图2和图3所示,在信号流组的每条单路信号流中,将 属于同一网元的光路处理单元盘形成单路网元信号流(矢量数据对象,即单路信号流是单路网元信号流的组合,包含1个或多个单路网元信号流);根据单路网元信号流中所有光路处理单元盘的矢量坐标数据,计算得到单路网元信号流的矢量坐标数据。S2: As shown in Figure 2 and Figure 3, in each single signal stream of the signal stream group, The optical path processing unit disks belonging to the same network element form a single-channel network element signal stream (a vector data object, that is, a single-channel signal stream is a combination of single-channel network element signal streams, and includes one or more single-channel network element signal streams); The vector coordinate data of the single-channel network element signal stream is calculated according to the vector coordinate data of all the optical path processing unit disks in the single-channel network element signal stream.
S3:参见图2和图3所示,在信号流组的所有单路信号流中,将属于同一网元的单路网元信号流形成单路网元信号流组(矢量数据对象,即单路网元信号流组是单路网元信号流的组合,包含1个或多个单路网元信号流);根据单路网元信号流组中所有光路处理单元盘的矢量坐标数据,计算得到单路网元信号流组的矢量坐标数据。将所有单路网元信号流组按照网元在OTN路由中出现的先后顺序进行排列保存,以便后期能够根据网元的顺序进行查看。S3: As shown in FIG. 2 and FIG. 3, in all the single signal streams of the signal stream group, the single-channel network element signal streams belonging to the same network element form a single-channel network element signal stream group (vector data object, ie, single The road network element signal stream group is a combination of single-channel network element signal streams, and includes one or more single-channel network element signal streams; and is calculated according to vector coordinate data of all optical path processing unit disks in the single-channel network element signal stream group. The vector coordinate data of the single-channel network element signal stream group is obtained. All the single-channel NE signal flow groups are arranged and stored according to the order in which the NEs appear in the OTN route, so that they can be viewed later according to the order of the NEs.
S4:参见图2和图3所示,分别对所有单路网元信号流中的每个光路处理单元盘,建立盘图元(矢量数据对象,即单路网元信号流是盘图元的组合,包含1个或多个盘图元)。盘图元包括矢量坐标数据和表示光路处理单元盘形状的图元矢量数据;盘图元的矢量坐标数据与该盘图元对应的光路处理单元盘的矢量坐标数据相同。S4: Referring to FIG. 2 and FIG. 3, a disk primitive (a vector data object, that is, a single-channel network element signal stream is a disk primitive) is established for each optical path processing unit disk in all single-channel network element signal streams. Combination, containing 1 or more disk entities). The disk map element includes vector coordinate data and primitive vector data indicating the shape of the optical path processing unit disk; the vector coordinate data of the disk primitive is the same as the vector coordinate data of the optical path processing unit disk corresponding to the disk primitive.
S5:参见图3和图4所示,对信号流组中的每个矢量数据对象(每条单路信号流、每个盘图元、每组单路网元信号流组、以及每条单路网元信号流)的矢量坐标数据进行相应的二维矢量变换,得到信号流组的OTN业务信号流的矢量图。S5: Referring to FIG. 3 and FIG. 4, each vector data object in the signal stream group (each single signal stream, each disk primitive, each group of single network element signal stream groups, and each sheet) The vector coordinate data of the road network element signal stream is subjected to corresponding two-dimensional vector transformation to obtain a vector diagram of the OTN service signal stream of the signal stream group.
S5中的OTN业务信号流的矢量图需要遵循:采用与显示结果图像一致的二维直角坐标系作为世界坐标系和矢量数据对象的自身坐标系;原点位于图像左上角,X轴水平向右为正向,Y轴垂直向下为正向;每个矢量数据对象的自身坐标系位置初始化时采用原点与世界坐标系的原点重合的数据。 The vector diagram of the OTN service signal stream in S5 needs to follow: adopt the two-dimensional Cartesian coordinate system consistent with the displayed result image as the coordinate system of the world coordinate system and the vector data object; the origin is located in the upper left corner of the image, and the X axis is horizontally to the right. In the forward direction, the Y-axis is vertically downward; the position of the coordinate system of each vector data object is initialized with the data whose origin coincides with the origin of the world coordinate system.
参见图3、图4和图5所示,S5具体包括以下流程:Referring to FIG. 3, FIG. 4 and FIG. 5, S5 specifically includes the following processes:
S501:将每条单路信号流的矢量坐标数据,均通过二维矢量变换算法进行垂直平均分布平移,完成单路信号流在矢量图中的信号流垂直分布布局。S501: The vector coordinate data of each single signal stream is vertically averaged and distributed by a two-dimensional vector transformation algorithm to complete the vertical distribution of the signal flow of the single signal stream in the vector diagram.
S502:将所有单路网元信号流中每个盘图元的矢量坐标数据,均通过二维矢量变换算法进行水平平均分布平移,完成盘图元在矢量图中的水平分布布局。S502: Perform vector-level coordinate data of each disk primitive in all single-channel network element signal streams, and perform horizontal average distribution translation through a two-dimensional vector transformation algorithm to complete a horizontal distribution layout of the disk primitives in the vector diagram.
S503:将每组单路网元信号流组的矢量坐标数据,均通过二维矢量变换算法进行水平平均分布平移,完成单路网元信号流组在矢量图中的水平分布布局。S503: The vector coordinate data of each group of single-channel network element signal stream groups are horizontally distributed and translated by a two-dimensional vector transformation algorithm, and the horizontal distribution layout of the single-channel network element signal stream group in the vector diagram is completed.
S504:将所有单路网元信号流组中每条单路网元信号流的矢量坐标数据,均通过二维矢量变换算法进行垂直方向中心对齐,完成单路网元信号流在矢量图中的垂直分布布局。S504: The vector coordinate data of each single-channel network element signal stream in all single-channel network element signal stream groups is aligned in the vertical direction by a two-dimensional vector transformation algorithm, and the single-channel network element signal stream is completed in the vector diagram. Vertical distribution layout.
本发明实施例中的实现上述方法的OTN业务信号流矢量图的自动布局系统,包括信号流布局模块、单路网元信号流布局模块、单路网元信号流组布局模块、盘图元建立模块、以及二维矢量变换模块。The automatic layout system for implementing the OTN service signal flow vector diagram of the foregoing method in the embodiment of the present invention includes a signal flow layout module, a single-channel network element signal flow layout module, a single-channel network element signal stream group layout module, and a disk map element establishment. Module, and two-dimensional vector transformation module.
信号流矢量对象布局模块用于:将OTN业务的每条路由经过的光路处理单元盘,按顺序排列形成单路信号流;根据单路信号流中所有光路处理单元盘的矢量坐标数据,计算得到单路信号流的矢量坐标数据;根据OTN业务中所有路由的类型,将所有单路信号流划分为信号流组,每种类型的所有路由对应的单路信号流为1组;根据信号流组中所有光路处理单元盘的矢量坐标数据,计算得到信号流组的矢量坐标数据,向单路网元信号流布局模块发送单路网元信号流布局信号。The signal flow vector object layout module is configured to: form an optical signal processing unit disk through which each route of the OTN service passes, and form a single signal stream in sequence; according to vector coordinate data of all optical path processing unit disks in the single signal flow, calculate Vector coordinate data of a single signal stream; according to the type of all routes in the OTN service, all single signal streams are divided into signal stream groups, and each type of each route corresponds to a single signal stream of one group; according to the signal stream group The vector coordinate data of all the optical path processing unit disks is calculated, the vector coordinate data of the signal flow group is calculated, and the single-channel network element signal flow layout signal is sent to the single-channel network element signal flow layout module.
单路网元信号流布局模块用于:收到单路网元信号流布局信号 后,选择1组信号流组,在当前信号流组的每条单路信号流中,将属于同一网元的光路处理单元盘形成单路网元信号流;根据单路网元信号流中所有光路处理单元盘的矢量坐标数据,计算得到单路网元信号流的矢量坐标数据,向单路网元信号流组布局模块发送单路网元信号流组布局信号。The single-channel network element signal flow layout module is configured to: receive a single-channel network element signal flow layout signal After that, a group of signal stream groups is selected, and in each single channel signal stream of the current signal stream group, the optical path processing unit disks belonging to the same network element form a single-channel network element signal stream; according to the single-channel network element signal stream The vector coordinate data of the optical path processing unit disk calculates the vector coordinate data of the single-channel network element signal stream, and sends the single-channel network element signal stream group layout signal to the single-channel network element signal stream group layout module.
单路网元信号流组布局模块用于:收到单路网元信号流组布局信号后,在当前信号流组的所有单路信号流中,将属于同一网元的单路网元信号流形成单路网元信号流组;根据单路网元信号流组中所有光路处理单元盘的矢量坐标数据,计算得到单路网元信号流组的矢量坐标数据,将所有单路网元信号流组按照网元在OTN路由中出现的先后顺序进行排列和保存后,向盘图元建立模块发送盘图元建立信号。The single-channel network element signal stream group layout module is configured to: after receiving the single-channel network element signal stream group layout signal, in the single signal stream of the current signal stream group, the single-channel network element signal stream belonging to the same network element Forming a single-channel network element signal stream group; calculating vector coordinate data of the single-channel network element signal stream group according to vector coordinate data of all optical path processing unit disks in the single-channel network element signal stream group, and all single-channel network element signal streams After the group is arranged and saved according to the order in which the network elements appear in the OTN route, the group sends a disk element establishment signal to the disk element creation module.
盘图元建立模块用于:收到盘图元建立信号后,分别对所有单路网元信号流中的每个光路处理单元盘,建立盘图元,盘图元的矢量坐标数据与该盘图元对应的光路处理单元盘的矢量坐标数据相同,向二维矢量变换模块发送二维矢量变换信号。The disk map element establishing module is configured to: after receiving the disk element establishment signal, respectively establish a disk map element, a vector coordinate data of the disk map element and the disk for each optical path processing unit disk in all the single-channel network element signal streams The vector coordinate data of the optical path processing unit disk corresponding to the primitive is the same, and the two-dimensional vector conversion signal is transmitted to the two-dimensional vector transformation module.
二维矢量变换模块用于:收到二维矢量变换信号后,对当前信号流组中的每个矢量数据对象,进行相应的二维矢量变换,得到当前信号流组的OTN业务信号流的矢量图,具体工作流程为:The two-dimensional vector transformation module is configured to: after receiving the two-dimensional vector transformation signal, perform corresponding two-dimensional vector transformation on each vector data object in the current signal stream group to obtain a vector of the OTN service signal stream of the current signal stream group. Figure, the specific workflow is:
将每条单路信号流的矢量坐标数据,均通过二维矢量变换算法进行垂直平均分布平移,完成单路信号流在矢量图中的信号流垂直分布布局;The vector coordinate data of each single signal stream is vertically averaged and distributed by a two-dimensional vector transformation algorithm to complete the vertical distribution of the signal flow of the single signal stream in the vector diagram;
将每个盘图元的矢量坐标数据,均通过二维矢量变换算法进行水平平均分布平移,完成盘图元在矢量图中的水平分布布局;The vector coordinate data of each disk primitive is subjected to horizontal average distribution translation by a two-dimensional vector transformation algorithm, and the horizontal distribution layout of the disk primitive in the vector diagram is completed;
将每组单路网元信号流组的矢量坐标数据,均通过二维矢量变换算法进行水平平均分布平移,完成单路网元信号流组在矢量图中的水 平分布布局;The vector coordinate data of each group of single-channel network element signal stream groups is horizontally distributed and translated by a two-dimensional vector transformation algorithm to complete the water of the single-channel network element signal stream group in the vector diagram. Flat layout
将每条单路网元信号流的矢量坐标数据,均通过二维矢量变换算法进行垂直方向中心对齐,完成单路网元信号流在矢量图中的垂直分布布局。The vector coordinate data of each single-channel network element signal stream is vertically aligned in the center by a two-dimensional vector transformation algorithm, and the vertical distribution layout of the single-channel network element signal stream in the vector diagram is completed.
二维矢量变换模块得到的OTN业务信号流的矢量图需要遵循:采用与显示结果图像一致的二维直角坐标系作为世界坐标系和矢量数据对象的自身坐标系;原点位于图像左上角,X轴水平向右为正向,Y轴垂直向下为正向;每个矢量数据对象的自身坐标系位置初始化时采用原点与世界坐标系的原点重合的数据。The vector diagram of the OTN service signal stream obtained by the two-dimensional vector transformation module needs to follow: adopt the two-dimensional Cartesian coordinate system consistent with the displayed result image as the coordinate system of the world coordinate system and the vector data object; the origin is located in the upper left corner of the image, the X axis The horizontal direction is positive to the right and the Y axis is vertical to the positive direction; the position of the own coordinate system of each vector data object is initialized with data whose origin coincides with the origin of the world coordinate system.
本发明不局限于上述实施方式,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围之内。本说明书中未作详细描述的内容属于本领域专业技术人员公知的现有技术。 The present invention is not limited to the above embodiments, and those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. These improvements and retouchings are also considered as protection of the present invention. Within the scope. The contents not described in detail in the present specification belong to the prior art well known to those skilled in the art.

Claims (10)

  1. 一种OTN业务信号流矢量图的自动布局方法,其特征在于,该方法包括以下步骤:An automatic layout method for an OTN service signal flow vector diagram, characterized in that the method comprises the following steps:
    S1:将OTN业务的每条路由经过的光路处理单元盘,按顺序排列形成单路信号流;根据单路信号流中所有光路处理单元盘的矢量坐标数据,计算得到单路信号流的矢量坐标数据;S1: The optical path processing unit disks through which each route of the OTN service passes are sequentially arranged to form a single signal stream; and the vector coordinates of the single signal stream are calculated according to the vector coordinate data of all the optical path processing unit disks in the single signal stream. data;
    根据OTN业务中所有路由的类型,将所有单路信号流划分为信号流组,每种类型的所有路由对应的单路信号流为1组;根据信号流组中所有光路处理单元盘的矢量坐标数据,计算得到信号流组的矢量坐标数据;According to the type of all routes in the OTN service, all the single signal streams are divided into signal stream groups, and the single channel signal streams corresponding to all the routes of each type are one group; according to the vector coordinates of all the optical path processing unit disks in the signal stream group Data, calculating vector coordinate data of the signal stream group;
    S2:选择1组信号流组,在当前信号流组的每条单路信号流中,将属于同一网元的光路处理单元盘形成单路网元信号流;根据单路网元信号流中所有光路处理单元盘的矢量坐标数据,计算得到单路网元信号流的矢量坐标数据;S2: Select one group of signal stream groups, and in each single channel signal stream of the current signal stream group, the optical path processing unit disks belonging to the same network element form a single-channel network element signal stream; according to the single-channel network element signal stream The vector coordinate data of the optical path processing unit disk is calculated, and the vector coordinate data of the single-channel network element signal stream is calculated;
    S3:在当前信号流组的所有单路信号流中,将属于同一网元的单路网元信号流形成单路网元信号流组;根据单路网元信号流组中所有光路处理单元盘的矢量坐标数据,计算得到单路网元信号流组的矢量坐标数据;S3: in the single signal stream of the current signal stream group, the single-channel network element signal stream belonging to the same network element forms a single-channel network element signal stream group; according to all the optical path processing unit disks in the single-channel network element signal stream group The vector coordinate data, and the vector coordinate data of the single-channel network element signal stream group is calculated;
    S4:分别对所有单路网元信号流中的每个光路处理单元盘,建立盘图元,盘图元的矢量坐标数据与该盘图元对应的光路处理单元盘的矢量坐标数据相同;S4: establishing a disk primitive for each optical path processing unit disk in each single-channel network element signal stream, and the vector coordinate data of the disk graphic element is the same as the vector coordinate data of the optical path processing unit disk corresponding to the disk graphic element;
    S5:对当前信号流组中的每个矢量数据对象,进行相应的二维矢量变换,得到当前信号流组的OTN业务信号流的矢量图。S5: Perform corresponding two-dimensional vector transformation on each vector data object in the current signal stream group to obtain a vector diagram of the OTN service signal stream of the current signal stream group.
  2. 如权利要求1所述的OTN业务信号流矢量图的自动布局方法,其特征在于,S5具体包括以下流程: The automatic layout method of the OTN service signal flow vector diagram according to claim 1, wherein the S5 specifically includes the following processes:
    S501:将每条单路信号流的矢量坐标数据,均通过二维矢量变换算法进行垂直平均分布平移,完成单路信号流在矢量图中的信号流垂直分布布局;S501: The vector coordinate data of each single signal stream is vertically averaged and distributed by a two-dimensional vector transformation algorithm, and the vertical distribution of the signal flow of the single signal stream in the vector diagram is completed;
    S502:将每个盘图元的矢量坐标数据,均通过二维矢量变换算法进行水平平均分布平移,完成盘图元在矢量图中的水平分布布局;S502: Perform vector horizontal coordinate data of each disk primitive by a two-dimensional vector transformation algorithm to perform horizontal average distribution translation, and complete a horizontal distribution layout of the disk primitive in the vector diagram;
    S503:将每组单路网元信号流组的矢量坐标数据,均通过二维矢量变换算法进行水平平均分布平移,完成单路网元信号流组在矢量图中的水平分布布局;S503: The vector coordinate data of each group of single-channel network element signal stream groups are horizontally distributed and translated by a two-dimensional vector transformation algorithm, and the horizontal distribution layout of the single-channel network element signal stream group in the vector diagram is completed;
    S504:将每条单路网元信号流的矢量坐标数据,均通过二维矢量变换算法进行垂直方向中心对齐,完成单路网元信号流在矢量图中的垂直分布布局。S504: The vector coordinate data of each single-channel network element signal stream is vertically aligned in the center by a two-dimensional vector transformation algorithm, and the vertical distribution layout of the single-channel network element signal stream in the vector diagram is completed.
  3. 如权利要求1所述的OTN业务信号流矢量图的自动布局方法,其特征在于:S5中所述OTN业务信号流的矢量图需要遵循:采用与显示结果图像一致的二维直角坐标系作为世界坐标系和矢量数据对象的自身坐标系;原点位于图像左上角,X轴水平向右为正向,Y轴垂直向下为正向;每个矢量数据对象的自身坐标系位置初始化时采用原点与世界坐标系的原点重合的数据。The automatic layout method of the OTN service signal flow vector diagram according to claim 1, wherein the vector diagram of the OTN service signal stream in S5 is required to follow: adopting a two-dimensional Cartesian coordinate system consistent with the display result image as the world The coordinate system and the coordinate system of the vector data object; the origin is located in the upper left corner of the image, the X axis is horizontal to the right and the Y axis is vertically downward; the position of each vector data object's own coordinate system is initialized with the origin and The coincidence of the origin of the world coordinate system.
  4. 如权利要求1所述的OTN业务信号流矢量图的自动布局方法,其特征在于:S1中所述OTN业务中所有路由的类型包括工作路径正向路由、工作路径反向路由、保护路径正向路由、保护路径反向路由、服务层保护路径正向路由、以及服务层保护路径反向路由。The automatic layout method of the OTN service signal flow vector diagram according to claim 1, wherein all types of routes in the OTN service in S1 include a working path forward route, a working path reverse route, and a protection path forward direction. Routing, protection path reverse routing, service layer protection path forward routing, and service layer protection path reverse routing.
  5. 如权利要求4所述的OTN业务信号流矢量图的自动布局方法,其特征在于:所述工作路径正向路由、保护路径正向路由、以及服务层保护路径正向路由的光路处理单元盘的排列顺序均为:从路由的起点至终点方向进行排列;所述工作路径反向路由、保护路径反向路由、 以及服务层保护路径反向路由的光路处理单元盘的排列顺序均为:从路由的终点至起点方向进行排列。The automatic layout method of the OTN service signal flow vector diagram according to claim 4, wherein: the working path forward route, the protection path forward route, and the service layer protection path forward route optical path processing unit disk The order of arrangement is: from the beginning to the end of the route; the reverse route of the working path, the reverse route of the protection path, And the arrangement order of the optical path processing unit disks of the service layer protection path reverse route is: arranged from the end point of the route to the starting point direction.
  6. 如权利要求1至5任一项所述的OTN业务信号流矢量图的自动布局方法,其特征在于:S3中所述计算得到单路网元信号流组的矢量坐标数据之后,还包括以下步骤:将所有单路网元信号流组按照网元在OTN路由中出现的先后顺序进行排列和保存。The automatic layout method of the OTN service signal flow vector diagram according to any one of claims 1 to 5, wherein after the vector coordinate data of the single-channel network element signal stream group is calculated in S3, the following steps are further included. : All the single-channel NE signal flow groups are arranged and saved according to the order in which the NEs appear in the OTN route.
  7. 一种实现权利要求1至6任一项所述方法的OTN业务信号流矢量图的自动布局系统,其特征在于:该系统包括信号流布局模块、单路网元信号流布局模块、单路网元信号流组布局模块、盘图元建立模块、以及二维矢量变换模块;An automatic layout system for implementing an OTN service signal flow vector diagram according to the method of any one of claims 1 to 6, characterized in that the system comprises a signal flow layout module, a single-channel network element signal flow layout module, and a single-path network a meta-signal stream group layout module, a disk map element building module, and a two-dimensional vector transform module;
    信号流矢量对象布局模块用于:将OTN业务的每条路由经过的光路处理单元盘,按顺序排列形成单路信号流;根据单路信号流中所有光路处理单元盘的矢量坐标数据,计算得到单路信号流的矢量坐标数据;根据OTN业务中所有路由的类型,将所有单路信号流划分为信号流组,每种类型的所有路由对应的单路信号流为1组;根据信号流组中所有光路处理单元盘的矢量坐标数据,计算得到信号流组的矢量坐标数据,向单路网元信号流布局模块发送单路网元信号流布局信号;The signal flow vector object layout module is configured to: form an optical signal processing unit disk through which each route of the OTN service passes, and form a single signal stream in sequence; according to vector coordinate data of all optical path processing unit disks in the single signal flow, calculate Vector coordinate data of a single signal stream; according to the type of all routes in the OTN service, all single signal streams are divided into signal stream groups, and each type of each route corresponds to a single signal stream of one group; according to the signal stream group The vector coordinate data of all the optical path processing unit disks is calculated, the vector coordinate data of the signal flow group is calculated, and the single-channel network element signal flow layout signal is sent to the single-channel network element signal flow layout module;
    单路网元信号流布局模块用于:收到单路网元信号流布局信号后,选择1组信号流组,在当前信号流组的每条单路信号流中,将属于同一网元的光路处理单元盘形成单路网元信号流;根据单路网元信号流中所有光路处理单元盘的矢量坐标数据,计算得到单路网元信号流的矢量坐标数据,向单路网元信号流组布局模块发送单路网元信号流组布局信号;The single-channel network element signal flow layout module is configured to: after receiving the single-channel network element signal flow layout signal, select one group of signal stream groups, and each single-channel signal stream of the current signal stream group will belong to the same network element. The optical path processing unit disk forms a single-channel network element signal stream; according to the vector coordinate data of all the optical path processing unit disks in the single-channel network element signal stream, the vector coordinate data of the single-channel network element signal stream is calculated, and the single-channel network element signal stream is calculated. The group layout module sends a single-channel network element signal stream group layout signal;
    单路网元信号流组布局模块用于:收到单路网元信号流组布局信 号后,在当前信号流组的所有单路信号流中,将属于同一网元的单路网元信号流形成单路网元信号流组;根据单路网元信号流组中所有光路处理单元盘的矢量坐标数据,计算得到单路网元信号流组的矢量坐标数据,向盘图元建立模块发送盘图元建立信号;The single-channel network element signal stream group layout module is used to: receive a single-channel network element signal stream group layout letter After the number, in the single signal stream of the current signal stream group, the single-channel network element signal stream belonging to the same network element forms a single-channel network element signal stream group; according to all the optical path processing units in the single-channel network element signal stream group The vector coordinate data of the disc is calculated, and the vector coordinate data of the single-channel network element signal stream group is calculated, and the disc picture element establishment signal is sent to the disc picture element establishing module;
    盘图元建立模块用于:收到盘图元建立信号后,分别对所有单路网元信号流中的每个光路处理单元盘,建立盘图元,盘图元的矢量坐标数据与该盘图元对应的光路处理单元盘的矢量坐标数据相同,向二维矢量变换模块发送二维矢量变换信号;The disk map element establishing module is configured to: after receiving the disk element establishment signal, respectively establish a disk map element, a vector coordinate data of the disk map element and the disk for each optical path processing unit disk in all the single-channel network element signal streams The vector coordinate data of the optical path processing unit disk corresponding to the primitive is the same, and the two-dimensional vector transformation signal is sent to the two-dimensional vector transformation module;
    二维矢量变换模块用于:收到二维矢量变换信号后,对当前信号流组中的每个矢量数据对象,进行相应的二维矢量变换,得到当前信号流组的OTN业务信号流的矢量图。The two-dimensional vector transformation module is configured to: after receiving the two-dimensional vector transformation signal, perform corresponding two-dimensional vector transformation on each vector data object in the current signal stream group to obtain a vector of the OTN service signal stream of the current signal stream group. Figure.
  8. 如权利要求7所述的OTN业务信号流矢量图的自动布局系统,其特征在于,所述二维矢量变换模块的具体工作流程为:The automatic layout system of the OTN service signal flow vector diagram according to claim 7, wherein the specific workflow of the two-dimensional vector transformation module is:
    将每条单路信号流的矢量坐标数据,均通过二维矢量变换算法进行垂直平均分布平移,完成单路信号流在矢量图中的信号流垂直分布布局;The vector coordinate data of each single signal stream is vertically averaged and distributed by a two-dimensional vector transformation algorithm to complete the vertical distribution of the signal flow of the single signal stream in the vector diagram;
    将每个盘图元的矢量坐标数据,均通过二维矢量变换算法进行水平平均分布平移,完成盘图元在矢量图中的水平分布布局;The vector coordinate data of each disk primitive is subjected to horizontal average distribution translation by a two-dimensional vector transformation algorithm, and the horizontal distribution layout of the disk primitive in the vector diagram is completed;
    将每组单路网元信号流组的矢量坐标数据,均通过二维矢量变换算法进行水平平均分布平移,完成单路网元信号流组在矢量图中的水平分布布局;The vector coordinate data of each group of single-channel network element signal stream groups is horizontally distributed and translated by a two-dimensional vector transformation algorithm, and the horizontal distribution layout of the single-channel network element signal stream group in the vector diagram is completed;
    将每条单路网元信号流的矢量坐标数据,均通过二维矢量变换算法进行垂直方向中心对齐,完成单路网元信号流在矢量图中的垂直分布布局。The vector coordinate data of each single-channel network element signal stream is vertically aligned in the center by a two-dimensional vector transformation algorithm, and the vertical distribution layout of the single-channel network element signal stream in the vector diagram is completed.
  9. 如权利要求7所述的OTN业务信号流矢量图的自动布局系统, 其特征在于:所述二维矢量变换模块得到的OTN业务信号流的矢量图需要遵循:采用与显示结果图像一致的二维直角坐标系作为世界坐标系和矢量数据对象的自身坐标系;原点位于图像左上角,X轴水平向右为正向,Y轴垂直向下为正向;每个矢量数据对象的自身坐标系位置初始化时采用原点与世界坐标系的原点重合的数据。An automatic layout system for an OTN service signal flow vector diagram according to claim 7, The method is characterized in that: the vector diagram of the OTN service signal stream obtained by the two-dimensional vector transformation module is required to follow: adopting a two-dimensional rectangular coordinate system consistent with the display result image as the coordinate system of the world coordinate system and the vector data object; the origin is located In the upper left corner of the image, the X-axis is horizontal to the right and the Y-axis is vertical to the positive; the vector coordinate of each vector data object is initialized with the data of the origin and the origin of the world coordinate system.
  10. 如权利要求7至9任一项所述的OTN业务信号流矢量图的自动布局系统,其特征在于:所述单路网元信号流组布局模块计算得到单路网元信号流组的矢量坐标数据后,还包括以下工作流程:将所有单路网元信号流组按照网元在OTN路由中出现的先后顺序进行排列和保存。 The automatic layout system of the OTN service signal flow vector diagram according to any one of claims 7 to 9, wherein the single-channel network element signal stream group layout module calculates the vector coordinate of the single-channel network element signal stream group. After the data, the following workflow is also included: all single-channel network element signal flow groups are arranged and saved according to the order in which the network elements appear in the OTN route.
PCT/CN2017/099104 2016-08-29 2017-08-25 Automatic layout method and system utilizing vector diagram of otn service signal flow WO2018041040A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
MYPI2018002527A MY192949A (en) 2016-08-29 2017-08-25 Automatic layout method and system utilizing vector diagram of otn service signal flow

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610754244.8 2016-08-29
CN201610754244.8A CN106452573B (en) 2016-08-29 2016-08-29 The autoplacement method and system of OTN service signal stray arrow spirograms

Publications (1)

Publication Number Publication Date
WO2018041040A1 true WO2018041040A1 (en) 2018-03-08

Family

ID=58090006

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/099104 WO2018041040A1 (en) 2016-08-29 2017-08-25 Automatic layout method and system utilizing vector diagram of otn service signal flow

Country Status (3)

Country Link
CN (1) CN106452573B (en)
MY (1) MY192949A (en)
WO (1) WO2018041040A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106452573B (en) * 2016-08-29 2018-09-18 烽火通信科技股份有限公司 The autoplacement method and system of OTN service signal stray arrow spirograms

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040181684A1 (en) * 2003-03-14 2004-09-16 Daewoo Educational Foundation Method for detecting malicious code patterns in consideration of control and data flows
CN1885958A (en) * 2006-07-03 2006-12-27 华为技术有限公司 Method for generating signal flow graph
CN101039151A (en) * 2007-03-23 2007-09-19 华为技术有限公司 Method, system and client equipment for obtaining optical fiber signal flow information of optical network
CN103019743A (en) * 2012-12-31 2013-04-03 清华大学 Modular signal processing flow graph and multiprocessor hardware platform modeling method
CN106452573A (en) * 2016-08-29 2017-02-22 烽火通信科技股份有限公司 OTN business signal flow vector diagram automatic layout method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547494B (en) * 2012-02-20 2014-06-18 烽火通信科技股份有限公司 Method and device for peer-to-peer optical cross connection configuration

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040181684A1 (en) * 2003-03-14 2004-09-16 Daewoo Educational Foundation Method for detecting malicious code patterns in consideration of control and data flows
CN1885958A (en) * 2006-07-03 2006-12-27 华为技术有限公司 Method for generating signal flow graph
CN101039151A (en) * 2007-03-23 2007-09-19 华为技术有限公司 Method, system and client equipment for obtaining optical fiber signal flow information of optical network
CN103019743A (en) * 2012-12-31 2013-04-03 清华大学 Modular signal processing flow graph and multiprocessor hardware platform modeling method
CN106452573A (en) * 2016-08-29 2017-02-22 烽火通信科技股份有限公司 OTN business signal flow vector diagram automatic layout method and system

Also Published As

Publication number Publication date
CN106452573A (en) 2017-02-22
MY192949A (en) 2022-09-19
CN106452573B (en) 2018-09-18

Similar Documents

Publication Publication Date Title
CN103984513B (en) Massive geographic information system (GIS) information ultrahigh resolution displaying method
CN104854819B (en) Method and apparatus for VLAN interface routing
CN103999390B (en) Method and system for managing Optical Distribution Network
US9280903B2 (en) In-aircraft flight planning with datalink integration
CN107733746A (en) A kind of network-building method and mixed cloud plateform system for mixing cloud platform
EP2682925B1 (en) Vehicle monitoring method and system
JP2010504711A (en) Video surveillance system and method for tracking moving objects in a geospatial model
CN110221608A (en) A kind of method and device of inspection device
CN109151402A (en) Image processing method, image processing system and the unmanned plane of aerial camera
KR20200013777A (en) Display control device, display control method and storage medium
CN102722349A (en) Image data processing method and system based on geographic information system (GIS)
CN111710177A (en) Intelligent traffic signal lamp networking cooperative optimization control system and control method
CN108616742A (en) A kind of 3D panoramic shooting systems and method
CN104065953A (en) Method and device based on display apparatus multi-view visual display control
WO2018041040A1 (en) Automatic layout method and system utilizing vector diagram of otn service signal flow
KR101835974B1 (en) View sharing apparatus and method for user terminals in virtual reality environment
CN110197097A (en) A kind of port area monitoring method and system, central control system
CN103106700A (en) Automatic data center inspection method based on 3D technology
JP7232604B2 (en) NAVIGATION SYSTEM, NAVIGATION DISPLAY METHOD AND NAVIGATION DISPLAY PROGRAM
WO2019215778A1 (en) Data providing system and data collection system
CN108027902B (en) Interconnect engine for interconnect facility
JP2016173622A (en) Information processing system
CN109412828A (en) Method, apparatus and system for the discovering network topology in software defined network
Chen et al. Digital twin of a network and operating environment using augmented reality
US11588702B1 (en) 3D visualization of multi-layer networks including network topology and encapsulation

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112019001094

Country of ref document: BR

REG Reference to national code

Ref country code: BR

Ref legal event code: B01E

Ref document number: 112019001094

Country of ref document: BR

Free format text: REAPRESENTE A DECLARACAO REFERENTE AO DOCUMENTO DE PRIORIDADE DEVIDAMENTE ASSINADA, CONFORME ART. 408 C/C ART. 410, II, DO CODIGO DE PROCESSO CIVIL.

ENP Entry into the national phase

Ref document number: 112019001094

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20190118

122 Ep: pct application non-entry in european phase

Ref document number: 17845342

Country of ref document: EP

Kind code of ref document: A1