Disclosure of Invention
In order to reduce the cost and complexity of opening a service, embodiments of the present invention provide a method, a single board, network management equipment, and a system for opening a service. The technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a method for opening a service, including:
the single board receives a service signal from a first port;
identifying the type of the service signal according to the frequency point or the framing alarm signal;
adding an overhead containing the type of the service signal to obtain a signal to be transmitted;
sending the type of the service signal to network management equipment, so that the network management equipment searches for a docking port with the same service type according to the type of the service signal to provide the docking port for a user, and performs cross configuration between the first port and the second port according to the second port selected by the user;
after the cross configuration is completed, the single board forwards the signal to be transmitted according to the path corresponding to the cross configuration.
In a first implementation manner of the first aspect, identifying the type of the service signal according to the frequency point includes:
the single board detects the states of an internal clock and a data recovery CDR;
if the CDR is in a locking state, determining that the frequency point of the CDR is matched with the frequency point of the service signal, and taking the service type corresponding to the current frequency point of the CDR as the type of the service signal;
and if the CDR is in an unlocked state, circularly changing the frequency point of the CDR until the CDR is in a locked state, and taking the service type corresponding to the current frequency point of the CDR as the type of the service signal.
In a second implementation manner of the first aspect, identifying a type of the service signal according to a framing alarm signal includes:
the single board detects an internal framing alarm signal;
if no framing alarm signal is generated within the specified time, taking the service type currently corresponding to the first port as the type of the service signal;
if a framing alarm signal is generated within the specified time, the service type corresponding to the first port is changed in a circulating mode until no framing alarm signal is generated when the specified time is reached, and the service type corresponding to the first port at present is used as the type of the service signal.
On the basis of any one implementation manner of the first aspect, in a third implementation manner of the first aspect, adding an overhead including a type of the service signal to obtain a signal to be transmitted includes:
adding an overhead value corresponding to the service type to the service signal according to a mapping relation between the service type and the overhead value configured in advance to obtain a signal to be transmitted;
wherein, each service type in the mapping relation uniquely corresponds to an overhead value.
On the basis of the third implementation manner of the first aspect, in a fourth implementation manner of the first aspect, adding an overhead value corresponding to the service type to the service signal to obtain a signal to be transmitted includes:
filling an overhead value corresponding to the service type in an optical wavelength division unit ODUk to obtain an optical transport network OTN signal; or,
and filling the overhead value corresponding to the service type in the Synchronous Digital Hierarchy (SDH) frame to obtain an SDH signal.
In a second aspect, an embodiment of the present invention provides a method for opening a service, including:
receiving the type of a service signal sent by a single board, wherein the type of the service signal is identified by the single board according to a frequency point or a framing alarm signal after the single board receives the service signal from a first port;
searching the docking ports with the same service type for the user to select;
according to a second port selected by a user, performing cross configuration between the first port and the second port;
after the cross configuration is completed, the single board is notified to forward a signal to be transmitted according to a path corresponding to the cross configuration, where the signal to be transmitted is obtained by adding, by the single board, an overhead including the type of the service signal to the service signal.
Under a first implementation manner of the second aspect, searching for a docking port with the same traffic type for selection by a user includes:
searching an idle output port connected with a transmission network on each single board;
searching ports with the same service type as the service signal in the searched output ports;
and prompting the searched information of the ports with the same service type to a user so that the user can select the port which is in butt joint with the first port.
In an embodiment of the second aspect, in a second implementation manner of the second aspect, the performing, according to a second port selected by a user, a cross configuration between the first port and the second port includes:
after the user selects the second port, a preset intelligent crossing algorithm is adopted to calculate crossing configuration parameters, and the crossing configuration parameters are used for carrying out crossing configuration between the first port and the second port.
In a third implementation manner of the second aspect, the transport network is an optical transport network OTN or a synchronous digital hierarchy SDH network.
In a third aspect, an embodiment of the present invention provides a single board, including:
a receiving module, configured to receive a service signal from a first port;
the identification module is used for identifying the type of the service signal according to the frequency point or the framing alarm signal;
the generating module is used for adding the overhead containing the type of the service signal to obtain a signal to be transmitted;
a sending module, configured to send the type of the service signal to a network management device, so that the network management device searches for a docking port with the same service type according to the type of the service signal to provide the docking port to a user, and performs cross configuration between the first port and the second port according to the second port selected by the user; and the path forwarding unit is further configured to forward the signal to be transmitted according to a path corresponding to the cross configuration after the cross configuration is completed.
Under a first implementation manner of the third aspect, the identification module includes:
a frequency point detection unit, configured to detect states of the clock and the data recovery CDR inside the single board;
a frequency point identification unit, configured to determine that a frequency point of the CDR matches a frequency point of the service signal if the CDR is in a locked state, and use a service type corresponding to a current frequency point of the CDR as the type of the service signal; and if the CDR is in an unlocked state, circularly changing the frequency point of the CDR until the CDR is in a locked state, and taking the service type corresponding to the current frequency point of the CDR as the type of the service signal.
In a second implementation manner of the third aspect, the identification module includes:
a framing alarm detection unit, configured to detect a framing alarm signal inside the board;
a framing alarm identification unit, configured to, if no framing alarm signal is generated within a specified time, take a service type currently corresponding to the first port as a type of the service signal; if a framing alarm signal is generated within the specified time, the service type corresponding to the first port is changed in a circulating mode until no framing alarm signal is generated when the specified time is reached, and the service type corresponding to the first port at present is used as the type of the service signal.
In an embodiment of the third aspect, in a third embodiment of the third aspect, the generating module includes:
the generating unit is used for adding the overhead value corresponding to the service type to the service signal according to a mapping relation between the service type and the overhead value configured in advance to obtain a signal to be transmitted;
wherein, each service type in the mapping relation uniquely corresponds to an overhead value.
In a fourth implementation manner of the third aspect, on the basis of the third implementation manner of the third aspect, the generating unit is configured to:
filling an overhead value corresponding to the service type in an optical wavelength division unit ODUk to obtain an optical transport network OTN signal; or,
and filling the overhead value corresponding to the service type in the Synchronous Digital Hierarchy (SDH) frame to obtain an SDH signal.
In a fourth aspect, an embodiment of the present invention further provides a single board, including:
a receiver for receiving a traffic signal from a first port;
the processor is used for identifying the type of the service signal according to the frequency point or the framing alarm signal and adding the overhead containing the type of the service signal to obtain a signal to be transmitted;
a transmitter, configured to send the type of the service signal to a network management device, so that the network management device searches for a docking port with the same service type according to the type of the service signal to provide the docking port to a user, and performs cross configuration between the first port and the second port according to the second port selected by the user; and the path forwarding unit is further configured to forward the signal to be transmitted according to a path corresponding to the cross configuration after the cross configuration is completed.
Under a first implementation form of the fourth aspect, the processor comprises:
the clock and data recovery CDR is used for detecting clock locking and reporting the state;
the programmable gate array FPGA is used for receiving the state reported by the CDR, determining that the frequency point of the CDR is matched with the frequency point of the service signal if the CDR is in a locking state, and taking the service type corresponding to the current frequency point of the CDR as the type of the service signal; if the CDR is in an out-of-lock state, circularly issuing clock configuration until the CDR is in a locked state, and taking the service type corresponding to the current frequency point of the CDR as the type of the service signal;
and the digital phase-locked loop DSPLL is used for issuing a corresponding parameter clock signal to the CDR to change the frequency point of the CDR when receiving the clock configuration issued by the FPGA.
Under a second implementation form of the fourth aspect, the processor is configured to:
detecting a framing alarm signal inside the single board, and if no framing alarm signal is generated within a specified time, taking the current service type corresponding to the first port as the type of the service signal; if a framing alarm signal is generated within the specified time, the service type corresponding to the first port is changed in a circulating mode until no framing alarm signal is generated when the specified time is reached, and the service type corresponding to the first port at present is used as the type of the service signal.
In a fifth aspect, an embodiment of the present invention further provides a network management device, including:
the receiving module is used for receiving the type of a service signal sent by a single board, wherein the type of the service signal is identified by the single board according to a frequency point or a framing alarm signal after the single board receives the service signal from a first port;
the search module is used for searching the docking ports with the same service type for the user to select;
and the cross configuration module is configured to perform cross configuration between the first port and the second port according to the second port selected by the user, and notify the board to forward a signal to be transmitted according to a path corresponding to the cross configuration after the cross configuration is completed, where the signal to be transmitted is obtained by adding, by the board, an overhead including the type of the service signal to the service signal.
Under a first implementation manner of the fifth aspect, the search module includes:
a searching unit, configured to search for an idle output port connected to a transmission network on each board, and search for a port having the same service type as the service signal in the searched output port;
and the prompting unit is used for prompting the searched information of the ports with the same service types to a user so that the user can select the port which is in butt joint with the first port.
In an embodiment of the fifth aspect, in a second embodiment of the fifth aspect, the cross-configuration module is configured to:
after the user selects the second port, a preset intelligent crossing algorithm is adopted to calculate crossing configuration parameters, and the crossing configuration parameters are used for carrying out crossing configuration between the first port and the second port.
In a sixth aspect, an embodiment of the present invention further provides a network management device, including:
the receiver is used for receiving the type of a service signal sent by a single board, wherein the type of the service signal is identified by the single board according to a frequency point or a framing alarm signal after the single board receives the service signal from a first port;
the processor is used for searching the docking ports with the same service type for the selection of a user, and performing the cross configuration between the first port and the second port according to the second port selected by the user;
and the transmitter is used for informing the single board to forward a signal to be transmitted according to a path corresponding to the cross configuration after the cross configuration is completed, wherein the signal to be transmitted is obtained by adding the overhead containing the type of the service signal to the service signal by the single board.
Under a first implementation form of the sixth aspect, the processor is configured to:
and searching idle output ports connected with a transmission network on each single board, searching ports with the same service type as the service signal in the searched output ports, and prompting the information of the searched ports with the same service type to a user so that the user can select a port butted with the first port from the information.
In a seventh aspect, an embodiment of the present invention further provides a system for opening a service, where the system includes: a single board as described in any one of the above embodiments, and a network management device as described in any one of the above embodiments.
The technical scheme provided by the embodiment of the invention has the following beneficial effects: the single board automatically identifies the type of the service signal and sends the type to the network management equipment, so that the network management equipment searches the docking port with the same service type according to the type and provides the docking port to a user, the cross configuration of the port is completed according to the selection of the user, the single board forwards the service according to the path corresponding to the cross configuration, the automatic opening of the service is realized, the user only needs to select the required docking port according to the prompt, the operation is greatly simplified, the complexity of opening the service is reduced, the opening efficiency is improved, compared with a manual configuration mode, the error probability is reduced, the requirement on the professional skill of the user is also reduced, and the labor cost and the time cost are saved.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
The embodiment of the present invention relates to a technical scheme for service provisioning, which may be applied to an OTN (optical transport Network) or an SDH (Synchronous Digital Hierarchy) Network, and the present invention is not limited thereto.
Referring to fig. 1, an embodiment of the present invention provides a method for opening a service, including:
101: the single board receives the service signal from the first port.
102: and identifying the type of the service signal according to the frequency point or the framing alarm signal.
103: and adding the overhead containing the type of the service signal to obtain a signal to be transmitted.
104: and sending the type of the service signal to the network management equipment, so that the network management equipment searches the docking port with the same service type according to the type of the service signal to provide the docking port for a user, and performs cross configuration between the first port and the second port according to the second port selected by the user.
105: after the cross configuration is completed, the single board forwards the signal to be transmitted according to the path corresponding to the cross configuration.
According to the method provided by the embodiment, the single board automatically identifies the type of the service signal and sends the type to the network management equipment, so that the network management equipment searches the docking port with the same service type according to the type to the user, the cross configuration of the port is completed according to the selection of the user, the single board forwards the service according to the path corresponding to the cross configuration, the automatic opening of the service is realized, the user only needs to select the required docking port according to the prompt, the operation is greatly simplified, the complexity of opening the service is reduced, the opening efficiency is improved, compared with a manual configuration mode, the error probability is reduced, the requirement on the professional skill of the user is also reduced, and the labor cost and the time cost are saved.
Referring to fig. 2, another embodiment of the present invention provides a method for provisioning a service, including:
201: the single board receives the service signal from the first port.
202: the single board detects the state of the internal CDR (Clock and Data Recovery), if the CDR is in a locking state, 203 is executed; if the CDR is out-of-lock, 204 is performed.
203: determining that the frequency point of the CDR matches the frequency point of the service signal, taking the service type corresponding to the current frequency point of the CDR as the type of the service signal, and then executing 205.
204: the frequency point of the CDR is changed cyclically until the CDR is in a locked state, the service type corresponding to the current frequency point of the CDR is used as the type of the service signal, and then 205 is performed.
205: and adding the overhead containing the type of the service signal to obtain a signal to be transmitted.
The step may specifically include:
and adding the overhead value corresponding to the service type to the service signal according to a mapping relation between the service type and the overhead value, wherein each service type in the mapping relation uniquely corresponds to one overhead value.
In one embodiment, the adding an overhead value corresponding to the service type to the service signal to obtain a signal to be transmitted includes:
an overhead value corresponding to the service type is filled in an ODUk (Optical multiplexing Unit) to obtain an OTN signal.
In this scenario, the obtained OTN signal is transmitted through the OTN network.
In another embodiment, the adding the overhead value corresponding to the service type to the service signal to obtain the signal to be transmitted includes:
and filling the overhead value corresponding to the service type in the SDH frame to obtain the SDH signal.
In this scenario, the resulting SDH signal is transmitted through the SDH network.
By carrying the type of the service signal in the overhead, each ODUk or SDH frame in the transmission network carries the current client-side service type encapsulated therein, and these pieces of information are reported to the network management device through the single board, so that the network management device can manage all ODUk units or SDH frames in the entire network and know the accurate service type of the payload thereof.
206: and sending the type of the service signal to the network management equipment, so that the network management equipment searches the docking port with the same service type according to the type of the service signal to provide the docking port for a user, and performs cross configuration between the first port and the second port according to the second port selected by the user.
207: after the cross configuration is completed, the single board forwards the signal to be transmitted according to the path corresponding to the cross configuration.
According to the method provided by the embodiment, the single board automatically identifies the type of the service signal and sends the type to the network management equipment, so that the network management equipment searches the docking port with the same service type according to the type to the user, the cross configuration of the port is completed according to the selection of the user, the single board forwards the service according to the path corresponding to the cross configuration, the automatic opening of the service is realized, the user only needs to select the required docking port according to the prompt, the operation is greatly simplified, the complexity of opening the service is reduced, the opening efficiency is improved, compared with a manual configuration mode, the error probability is reduced, the requirement on the professional skill of the user is also reduced, and the labor cost and the time cost are saved. The single board detects the frequency point of the CDR and performs trial matching with the frequency point of the service signal, so that the automatic identification of the type of the service signal is realized, the type of the service signal does not need to be manually configured by a user, and the complexity of service opening is further reduced.
Referring to fig. 3, another embodiment of the present invention provides a method for provisioning a service, including:
301: the single board receives the service signal from the first port.
302: the single board detects the internal framing alarm signal, if no framing alarm signal is generated within the specified time, 303 is executed; if a framing alarm signal is generated within the specified time, then 304 is performed.
303: the type of the service currently corresponding to the first port is taken as the type of the service signal, and then 305 is executed.
304: and circularly changing the service type corresponding to the first port until no framing alarm signal is generated when the specified time is up, taking the service type currently corresponding to the first port as the type of the service signal, and executing 305.
305: and adding the overhead containing the type of the service signal to obtain a signal to be transmitted.
The step may specifically include:
and adding the overhead value corresponding to the service type to the service signal according to a mapping relation between the service type and the overhead value, wherein each service type in the mapping relation uniquely corresponds to one overhead value.
Through the mode, the invention can strictly distinguish the types of the service signals according to the overhead value, compared with the PT bytes defined by the existing G.709 protocol specification which can correspond to a plurality of service types, the effect of accurately identifying the service types can be achieved, and the automatic identification of the service types is completely realized. For example: in the existing g.709 protocol specification, when services such as FE/GE/ESCON (Enterprise system CONnection)/SDI (Serial Digital Interface) are encapsulated in ODU0, PT byte filling values are all 0x05, but the present invention defines a unique corresponding overhead value for each service type, so that accurate identification can be achieved, and a good technical effect is achieved.
In one embodiment, the adding an overhead value corresponding to the service type to the service signal to obtain a signal to be transmitted includes:
an overhead value corresponding to the service type is filled in an ODUk (Optical multiplexing Unit) to obtain an OTN signal.
In this scenario, the obtained OTN signal is transmitted through the OTN network.
For example, the overhead value when the FE (Fast Ethernet) service is mapped into the ODU0 is 0x01, the overhead value when the FE service is mapped into the ODU1 is 0x02, the overhead value when the GE (gigabit Ethernet) service is mapped into the ODU0 is 0x03, and the overhead value when the GE service is mapped into the ODU1 is 0x04, so that the service type of the accessed client side can be uniquely determined by the overhead value.
In another embodiment, the adding the overhead value corresponding to the service type to the service signal to obtain the signal to be transmitted includes:
and filling the overhead value corresponding to the service type in the SDH frame to obtain the SDH signal.
In this scenario, the resulting SDH signal is transmitted through the SDH network.
306: and sending the type of the service signal to the network management equipment, so that the network management equipment searches the docking port with the same service type according to the type of the service signal to provide the docking port for a user, and performs cross configuration between the first port and the second port according to the second port selected by the user.
307: after the cross configuration is completed, the single board forwards the signal to be transmitted according to the path corresponding to the cross configuration.
According to the method provided by the embodiment, the single board automatically identifies the type of the service signal and sends the type to the network management equipment, so that the network management equipment searches the docking port with the same service type according to the type to the user, the cross configuration of the port is completed according to the selection of the user, the single board forwards the service according to the path corresponding to the cross configuration, the automatic opening of the service is realized, the user only needs to select the required docking port according to the prompt, the operation is greatly simplified, the complexity of opening the service is reduced, the opening efficiency is improved, compared with a manual configuration mode, the error probability is reduced, the requirement on the professional skill of the user is also reduced, and the labor cost and the time cost are saved. The single board detects the frame alarm signal and changes the service type corresponding to the first port to perform heuristic matching, so that the automatic identification of the service signal type is realized, the user does not need to manually configure the service signal type, and the complexity of service activation is further reduced.
Referring to fig. 4, another embodiment of the present invention provides a method for provisioning a service, including:
401: and receiving the type of the service signal sent by the single board, wherein the type of the service signal is identified by the single board according to the frequency point or the framing alarm signal after the single board receives the service signal from the first port.
402: the docking ports with the same traffic type are searched for selection by the user.
403: and according to the second port selected by the user, performing cross configuration between the first port and the second port.
404: after the cross configuration is completed, the single board is notified to forward a signal to be transmitted according to a path corresponding to the cross configuration, where the signal to be transmitted is obtained by adding an overhead including the type of the service signal to the service signal by the single board.
According to the method provided by the embodiment, the type of the service signal automatically identified by the receiving single board is used for searching the docking port with the same service type for the user according to the type, the cross configuration of the port is completed according to the selection of the user, and the single board is informed to forward according to the path corresponding to the cross configuration, so that the automatic opening of the customer service is realized.
Referring to fig. 5, another embodiment of the present invention provides a method for provisioning a service, including:
501: and receiving the type of the service signal sent by the single board, wherein the type of the service signal is identified by the single board according to the frequency point or the framing alarm signal after the single board receives the service signal from the first port.
502: and searching idle output ports connected with the transmission network on each single board, and searching ports with the same service type as the service signal in the searched output ports.
The transmission network may be an OTN or SDH network.
503: and prompting the searched information of the ports with the same service type to the user so that the user can select the port which is in butt joint with the first port.
Specifically, the network management device may automatically pop up a prompt box, and display all searched ports with the same service type for the user to view and select the docked port. The user can directly click and select, the operation is simple, and the realization is convenient.
504: after the user selects the second port, the preset intelligent crossing algorithm is adopted to calculate the crossing configuration parameters, and the crossing configuration parameters are used for carrying out the crossing configuration between the first port and the second port.
505: after the cross configuration is completed, the single board is notified to forward a signal to be transmitted according to a path corresponding to the cross configuration, where the signal to be transmitted is obtained by adding an overhead including the type of the service signal to the service signal by the single board.
According to the method provided by the embodiment, the type of the service signal automatically identified by the receiving single board is used for searching the docking port with the same service type for the user according to the type, the cross configuration of the port is completed according to the selection of the user, and the single board is informed to forward according to the path corresponding to the cross configuration, so that the automatic opening of the customer service is realized.
Referring to fig. 6, another embodiment of the present invention provides a method for provisioning a service, including:
601: the single board receives the service signal from the first port.
602: the single board detects the state of the internal CDR, if the CDR is in a locking state, 603 is executed; if the CDR is out-of-lock, 604 is performed.
603: the single board determines that the frequency point of the CDR matches the frequency point of the service signal, takes the service type corresponding to the current frequency point of the CDR as the type of the service signal, and then executes 605.
604: the single board changes the frequency point of the CDR cyclically until the CDR is in a locked state, and takes the service type corresponding to the current frequency point of the CDR as the type of the service signal, and then executes 605.
Referring to fig. 7, a schematic diagram of the single board identifying the service type by detecting the frequency point is provided in this embodiment. The CDR has a function of recovering a service clock, and when it receives a service signal, it detects the clock lock and reports the current state to an FPGA (Field-Programmable Gate Array), and reports whether the CDR is locked currently. The FPGA is a programmable logic device, when the CDR is in an out-of-lock state, a new clock configuration is issued to a DSPLL (Digital Phase-Locked Loop), and the DSPLL adjusts the clock frequency according to the clock configuration after receiving the new clock configuration and outputs a corresponding reference clock to the CDR. And the CDR then matches the frequency point corresponding to the current reference clock with the frequency point of the service signal, if the matching is successful, the locking state is reported to the FPGA, and if the matching is unsuccessful, the unlocking state is reported to the FPGA. The FPGA detects and reads the locking state of the CDR in real time, and continues to probe the frequency point of the service signal continuously in the previous process after receiving the unlocking state until the matching is successful; and after receiving the locking state, outputting an interrupt signal to the software of the single board, and acquiring the current service type and the service frequency point from the FPGA by the software of the single board, thereby completing the automatic identification of the service type. At present, there are many devices for which the dspls are commercially available, such as SI5326 or ZL80018, and the present invention is not limited to this.
Referring to fig. 8, the FPGA may implement the control flow through its internal logic state machine. The CDR periodically reports the state to the FPGA, the FPGA determines whether to generate interruption or not according to the state of the CDR, and if the CDR is in a locking state, the frequency point matching is successful to generate the interruption; if the CDR is out-of-lock, matching is continued. The n states in the graph represent the CDR periodic reporting states, wherein the reported state at a certain moment is a locking state, and the FPGA is triggered to generate interruption. And under the condition that the CDR reports the unlocking state, the clock configuration is changed circularly, so that the CDR frequency point matching is triggered, and the automatic identification of the service type is realized.
605: the single board adds the overhead containing the type of the service signal to obtain a signal to be transmitted, and sends the type of the service signal to the network management equipment.
The step may specifically include:
and adding the overhead value corresponding to the service type to the service signal according to a mapping relation between the service type and the overhead value, wherein each service type in the mapping relation uniquely corresponds to one overhead value.
606: the network management equipment receives the type of the service signal sent by the single board.
607: the network management equipment searches the idle output ports connected with the transmission network on each single board, searches the ports with the same service type as the service signal in the searched output ports, and prompts the information of the searched ports with the same service type to the user so that the user can select the port butted with the first port from the ports.
The transmission network may be an OTN or SDH network.
608: after the user selects the second port, the network management device calculates the cross configuration parameter by adopting a preset intelligent cross algorithm, performs cross configuration between the first port and the second port by using the cross configuration parameter, and informs the single board to forward the signal to be transmitted according to a path corresponding to the cross configuration after the cross configuration is completed.
609: after receiving the notification, the single board forwards the signal to be transmitted according to the path corresponding to the cross configuration, and the process is ended.
According to the method provided by the embodiment, the single board automatically identifies the type of the service signal and sends the type to the network management equipment, so that the network management equipment searches the docking port with the same service type according to the type to the user, the cross configuration of the port is completed according to the selection of the user, the single board forwards the service according to the path corresponding to the cross configuration, the automatic opening of the service is realized, the user only needs to select the required docking port according to the prompt, the operation is greatly simplified, the complexity of opening the service is reduced, the opening efficiency is improved, compared with a manual configuration mode, the error probability is reduced, the requirement on the professional skill of the user is also reduced, and the labor cost and the time cost are saved. The single board detects the frequency point of the CDR and performs trial matching with the frequency point of the service signal, so that the automatic identification of the type of the service signal is realized, the type of the service signal does not need to be manually configured by a user, and the complexity of service opening is further reduced.
Referring to fig. 9, still another embodiment of the present invention further provides a single board, including:
a receiving module 901, configured to receive a service signal from a first port;
an identifying module 902, configured to identify the type of the service signal according to a frequency point or a framing alarm signal;
a generating module 903, configured to add an overhead including the type of the service signal to obtain a signal to be transmitted;
a sending module 904, configured to send the type of the service signal to a network management device, so that the network management device searches for a docking port with the same service type according to the type of the service signal to provide to a user, and performs cross configuration between the first port and the second port according to the second port selected by the user; and the path forwarding unit is further configured to forward the signal to be transmitted according to the path corresponding to the cross configuration after the cross configuration is completed.
Referring to fig. 10, the identifying module 902 includes:
a frequency point detecting unit 902a, configured to detect states of a clock and a data recovery CDR inside the board;
a frequency point identification unit 902b, configured to determine that a frequency point of the CDR matches a frequency point of the service signal if the CDR is in a locked state, and use a service type corresponding to the current frequency point of the CDR as the type of the service signal; if the CDR is in the out-of-lock state, the frequency point of the CDR is changed circularly until the CDR is in the lock state, and the service type corresponding to the current frequency point of the CDR is used as the type of the service signal.
Alternatively, the identifying module 902 includes:
a framing alarm detecting unit 902c, configured to detect a framing alarm signal inside the board;
a framing alarm identification unit 902d, configured to, if no framing alarm signal is generated within a specified time, take a service type currently corresponding to the first port as a type of the service signal; if the framing alarm signal is generated within the specified time, the service type corresponding to the first port is changed in a circulating mode until no framing alarm signal is generated when the specified time is up, and the service type currently corresponding to the first port is used as the type of the service signal.
In this embodiment, the generating module 903 includes:
the generating unit is used for adding the overhead value corresponding to the service type to the service signal according to the mapping relation between the service type and the overhead value which is configured in advance to obtain a signal to be transmitted;
wherein, each service type in the mapping relation uniquely corresponds to an overhead value.
Further, the generating unit is configured to:
filling an overhead value corresponding to the service type in an optical wavelength division unit ODUk to obtain an optical transport network OTN signal; or,
and filling the overhead value corresponding to the service type in the Synchronous Digital Hierarchy (SDH) frame to obtain an SDH signal.
The single board provided by this embodiment automatically identifies the type of the service signal and sends the type to the network management device, so that the network management device searches for a docking port with the same service type according to the type to a user, and completes cross configuration of the port according to selection of the user, and the single board forwards the service according to a path corresponding to the cross configuration, thereby implementing automatic opening of the service. The single board detects the frequency point of the CDR and performs trial matching with the frequency point of the service signal, or detects the frame alarm signal and changes the service type corresponding to the first port to perform trial matching, so that the automatic identification of the type of the service signal is realized, the manual configuration of the type of the service signal by a user is not needed, and the complexity of service opening is further reduced.
Referring to fig. 11, another embodiment of the present invention further provides a single board, including:
a receiver 1101 for receiving a traffic signal from a first port;
the processor 1102 is configured to identify the type of the service signal according to a frequency point or a framing alarm signal, and add overhead including the type of the service signal to obtain a signal to be transmitted;
a transmitter 1103, configured to send the type of the service signal to a network management device, so that the network management device searches for a docking port with the same service type according to the type of the service signal to provide the service signal to a user, and performs cross configuration between the first port and the second port according to the second port selected by the user; and the path forwarding unit is further configured to forward the signal to be transmitted according to the path corresponding to the cross configuration after the cross configuration is completed.
Referring to fig. 12, the processor 1102 includes:
the clock and data recovery CDR 1102a is used for detecting clock locking and reporting the state;
the programmable gate array FPGA 1102b is used for receiving the state reported by the CDR, determining that the frequency point of the CDR is matched with the frequency point of the service signal if the CDR is in a locking state, and taking the service type corresponding to the current frequency point of the CDR as the type of the service signal; if the CDR is in an out-of-lock state, circularly issuing clock configuration until the CDR is in a locked state, and taking the service type corresponding to the current frequency point of the CDR as the type of the service signal;
and the digital phase-locked loop DSPLL 1102c is used for issuing a corresponding parameter clock signal to the CDR to change the frequency point of the CDR when receiving the clock configuration issued by the FPGA.
Further, the processor 1102 is configured to:
detecting a framing alarm signal in the single board, and if no framing alarm signal is generated within a specified time, taking the current service type corresponding to the first port as the type of the service signal; if the framing alarm signal is generated within the specified time, the service type corresponding to the first port is changed in a circulating mode until no framing alarm signal is generated when the specified time is up, and the service type currently corresponding to the first port is used as the type of the service signal.
The single board provided by this embodiment automatically identifies the type of the service signal and sends the type to the network management device, so that the network management device searches for a docking port with the same service type according to the type to a user, and completes cross configuration of the port according to selection of the user, and the single board forwards the service according to a path corresponding to the cross configuration, thereby implementing automatic opening of the service. The single board detects the frequency point of the CDR and performs trial matching with the frequency point of the service signal, or detects the frame alarm signal and changes the service type corresponding to the first port to perform trial matching, so that the automatic identification of the type of the service signal is realized, the manual configuration of the type of the service signal by a user is not needed, and the complexity of service opening is further reduced.
Referring to fig. 13, a further embodiment of the present invention provides a network management device, including:
a receiving module 1301, configured to receive a type of a service signal sent by a board, where the type of the service signal is identified by the board according to a frequency point or a framing alarm signal after the board receives the service signal from a first port;
a searching module 1302, configured to search for the docking ports with the same service type for selection by the user;
and a cross configuration module 1303, configured to perform cross configuration between the first port and the second port according to the second port selected by the user, and after the cross configuration is completed, notify the board to forward a signal to be transmitted according to a path corresponding to the cross configuration, where the signal to be transmitted is obtained after the board adds an overhead including a type of the service signal to the service signal.
Referring to fig. 14, the search module 1302 includes:
a searching unit 1302a, configured to search for an idle output port connected to the transmission network on each board, and search for a port having the same service type as the service signal in the searched output port;
the prompting unit 1302b is configured to prompt the searched information of the ports with the same service type to the user, so that the user selects a port to be interfaced with the first port from the information.
In this embodiment, the cross configuration module 1303 is configured to:
after the user selects the second port, the preset intelligent crossing algorithm is adopted to calculate the crossing configuration parameters, and the crossing configuration parameters are used for carrying out the crossing configuration between the first port and the second port.
In the network management device provided by this embodiment, the type of the service signal automatically identified by the receiving board is used to search the docking port with the same service type for the user according to the type, the cross configuration of the port is completed according to the selection of the user, and the board is notified to forward according to the path corresponding to the cross configuration, so that the automatic opening of the customer service is realized.
Referring to fig. 15, still another embodiment of the present invention further provides a network management device, including:
a receiver 1501, configured to receive a type of a service signal sent by a board, where the type of the service signal is identified by the board according to a frequency point or a framing alarm signal after the board receives the service signal from a first port;
a processor 1502, configured to search for a docking port with the same service type for selection by a user, and perform cross configuration between the first port and the second port according to the second port selected by the user;
the transmitter 1503 is configured to notify the board to forward a signal to be transmitted according to a path corresponding to the cross configuration after the cross configuration is completed, where the signal to be transmitted is obtained by adding, by the board, an overhead including a type of the service signal to the service signal.
Among other things, the processor 1502 is configured to:
and searching idle output ports connected with the transmission network on each single board, searching ports with the same service type as the service signal in the searched output ports, and prompting the information of the searched ports with the same service type to a user so that the user can select a port butted with the first port from the ports.
In the network management device provided by this embodiment, the type of the service signal automatically identified by the receiving board is used to search the docking port with the same service type for the user according to the type, the cross configuration of the port is completed according to the selection of the user, and the board is notified to forward according to the path corresponding to the cross configuration, so that the automatic opening of the customer service is realized.
Referring to fig. 16, an embodiment of the present invention further provides a system for opening a service, including: a single board 1601 according to any of the above embodiments and a network management device 1602 according to any of the above embodiments.
The single board 1601 may be one or multiple boards, and when the number of the boards is multiple, each board has the same function. The function of the board 1601 is the same as that described in the above embodiment, and the function of the network management device 1602 is the same as that described in the above embodiment, which is not described herein again.
The system may perform the method in any of the above method embodiments, and the process is described in detail in the method embodiments, which is not described herein again.
According to the system provided by the embodiment, the type of the service signal is automatically identified by the single board and is sent to the network management equipment, the network management equipment searches the docking port with the same service type according to the type and sends the docking port to the user, the cross configuration of the port is completed according to the selection of the user, and the single board is informed to forward according to the path corresponding to the cross configuration, so that the automatic opening of the customer service is realized, the user only needs to select the required docking port according to the prompt, the operation is greatly simplified, the complexity of opening the service is reduced, the opening efficiency is improved, compared with a manual configuration mode, the error probability is reduced, the requirement on the professional skill of the user is also reduced, and the labor cost and the time cost are saved.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.