Disclosure of Invention
The application provides a configuration method, a cross configuration method, a device and equipment for wavelength division access equipment. The difficulty of wavelength division access equipment configuration can be reduced, so that the labor and time cost is reduced, and the accuracy of equipment configuration is improved.
An embodiment of the present application provides a method for configuring a wavelength division access device, where the method is used for a client-side port of the wavelength division access device, and includes:
receiving a service signal sent by a client;
polling each client side port according to the service signal, and performing alarm identification on the current client side port polled;
determining the service type of the service signal according to the alarm identification result;
and generating configuration information corresponding to the current client side port according to the service type, and configuring the configuration information to a service management chip.
The embodiment of the application provides a cross configuration method of wavelength division access equipment, which comprises the following steps:
determining the frame structure type of an optical path according to the service type of the service signal;
determining the number of time slots required by the service signal according to the frame structure type of the optical path;
and acquiring available time slots from a time slot resource pool according to the time slot number required by the service signal, and creating the cross configuration of a client side port and a line side port according to the available time slots.
The embodiment of the application provides a configuration method of a wavelength division access device, which is used for a line side transmission port of the wavelength division access device, and comprises the following steps:
polling each line side sending port, and if the polled current line side sending port configures service, determining configuration information and cross configuration information of a client side port corresponding to the current line side sending port according to the configured service;
converting the configuration information and the cross configuration information into overhead information according to a set protocol; the overhead information comprises a client side port number, a service type, an optical channel frame structure type and an index of an available time slot;
and inserting the overhead information into an overhead register of a service management chip.
The embodiment of the application provides a configuration method of a wavelength division access device, which is used for a line side receiving port of the wavelength division access device, and comprises the following steps:
receiving a service signal and overhead information sent by a line side; the overhead information comprises the service type of the service signal, the port number of a client side, the frame structure type of an optical access and the index of an available time slot;
polling each line side receiving port, and if the configuration information and the cross configuration information of the current line side receiving port polled are not matched with the overhead information, updating the configuration information and the cross configuration information of the current line side receiving port according to the overhead information.
An embodiment of the present application provides a configuration device for a wavelength division access device, which is disposed at a client-side port of the wavelength division access device, and includes:
the service signal receiving module is used for receiving a service signal sent by a client;
the alarm identification module is used for polling each client side port according to the service signal and carrying out alarm identification on the polled current client side port;
the service type determining module is used for determining the service type of the service signal according to the alarm identification result;
and the configuration information generation module is used for generating the configuration information corresponding to the current client side port according to the service type and configuring the configuration information to the service management chip.
An embodiment of the present application provides a cross configuration device for a wavelength division access device, including:
the optical path frame structure type determining module is used for determining the optical path frame structure type according to the service type of the service signal;
a time slot number determining module, configured to determine the number of time slots required by the service signal according to the frame structure type of the optical access;
and the cross configuration creating module is used for acquiring the available time slots from the time slot resource pool according to the time slot number required by the service signal and creating the cross configuration of the client side port and the line side port according to the available time slots.
The embodiment of the present application provides a configuration device of a wavelength division access device, which is characterized in that, a line side transmission port arranged in the wavelength division access device includes:
the configuration information determining module is used for polling each line side sending port, and determining the configuration information and the cross configuration information of the client side port corresponding to the current line side sending port according to the configured service if the polled current line side sending port configures the service;
the overhead information acquisition module is used for converting the configuration information and the cross configuration information into overhead information according to a set protocol; the overhead information comprises a client side port number, a service type, an optical channel frame structure type and an index of an available time slot;
and the overhead information inserting module is used for inserting the overhead information into an overhead register of the service management chip.
The embodiment of the present application provides a configuration device of a wavelength division access device, which is disposed at a line side receiving port of the wavelength division access device, and includes:
the overhead information receiving module is used for receiving the service signal and the overhead information sent by the line side; the overhead information comprises the service type of the service signal, the port number of a client side, the frame structure type of an optical access and the index of an available time slot;
and the information updating module is used for polling each line side receiving port, and updating the configuration information and the cross configuration information of the current line side receiving port according to the overhead information if the polled configuration information and the cross configuration information of the current line side receiving port are not matched with the overhead information.
The embodiment of the present application provides a wavelength division access device, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the program, the configuration method according to the embodiment of the present application is implemented.
The embodiment of the application provides a storage medium, wherein a computer program is stored in the storage medium, and when being executed by a processor, the computer program realizes any one method in the embodiment of the application.
With regard to the above embodiments and other aspects of the present application and implementations thereof, further description is provided in the accompanying drawings description, detailed description and claims.
Detailed Description
To make the objects, technical solutions and advantages of the present application more apparent, embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
Fig. 1 is a flowchart of a configuration method of a wavelength division access device in an embodiment of the present application. The embodiment is suitable for the case of configuring the client-side port of the wavelength division access device. The present embodiment may be implemented by a terminal, which may be a wavelength division access device (CPE). As shown in fig. 1, the method includes S110-S140.
S110, receiving the service signal sent by the client.
And S120, polling each client-side port according to the service signal, and carrying out alarm identification on the polled current client-side port.
And S130, determining the service type of the service signal according to the alarm identification result.
S140, generating configuration information corresponding to the current client side port according to the service type, and configuring the configuration information to the service management chip.
The client may be a mobile terminal, a PC, a network television, or other terminal that may be connected to a network or a wireless network.
In one embodiment, the CPE device includes a plurality of customer-side ports that are responsible for receiving and transmitting traffic signals to and from the customer premises. After receiving a service signal sent by a client, CPE starts polling each client side port and carries out signal loss alarm detection on the current client side port; if the current client side port has no signal loss alarm, performing frame loss alarm detection on the current client side port; if the current client side port has no frame loss alarm, polling the service type supported by the current client side port; and performing frame loss alarm detection on the polled service type to obtain an alarm identification result. For the current client-side port polled, firstly detecting whether the current client-side port has a signal loss alarm, if not, continuously detecting whether the current client-side port has a frame loss alarm, and if not, acquiring the service type supported by the current client-side port. Polling the service type supported by the current client side port, detecting whether the polled service type has a frame loss alarm, and if not, determining the polled service type as the service type of the service signal.
In one embodiment, after detecting whether the current client-side port has a loss of signal alarm, the method further comprises the following steps: if the current client side port has the signal loss alarm, delaying for a first set time length, and returning to execute the operation of performing the signal loss alarm detection on the current client side port; and if the number of times that the current client-side port continuously has the signal loss alarm exceeds a first set number of times, exiting the polling of the current client-side port.
Wherein the first set number of times may be set to 3-5 times. For example, set to 3 times, if there is a loss of signal alarm for 3 consecutive tests on the current client-side port, then the polling on the current client-side port is exited.
In one embodiment, after detecting whether the current client-side port has a frame loss alarm, the method further comprises: if the current client side port has the frame loss alarm, delaying a second set time length, and returning to execute the operation of performing the signal loss alarm detection on the current client side port; and if the number of times that the current client-side port continuously has frame loss alarms exceeds a second set number of times, exiting the polling of the current client-side port.
Wherein the second set number of times may be set to 3-5 times. For example, set to 3 times, if there is a frame loss alarm for 3 consecutive detections for the current client-side port, then the polling for the current client-side port is exited.
In one embodiment, after determining the service type of the service signal, the CPE device generates configuration information corresponding to the current client-side port according to the service type, and configures the configuration information in the service management chip. The service management chip may be an FPGA chip or a Framer chip. The configuration information may include a mapping relationship between port numbers of the client-side ports and traffic types, and the like.
In one embodiment, after the configuration information is configured in the service management chip, the CPE device reports the configuration information to the network management system, and the network management system displays the configuration information in the interface.
In one embodiment, fig. 2 is a flowchart of a configuration method of a wavelength division access device in an embodiment of the present application. As a further explanation of the above embodiment, as shown in fig. 2, the method includes the steps of after receiving a service signal sent by a client, the CPE device polling each client-side port, detecting whether the current client-side port has a signal loss alarm, if so, delaying a first set time period, re-polling the current client-side port, if not, detecting whether the current client-side port has a frame loss alarm, if so, delaying a second set time period, re-polling the current client, if not, polling a service type supported by the current client-side port, detecting whether the polled service type has a frame loss alarm, if so, re-polling the service type after delaying a third set time period, if not, determining the service type as the service type of the service signal, and generating configuration information corresponding to the current client-side port according to the service type, and configuring the configuration information to the service management chip.
Fig. 3 is a flowchart of a cross configuration method of a wavelength division access device in an embodiment of the present application. The present embodiment is applicable to the case of cross configuration between the client-side port and the line-side port of the wavelength division access device. The present embodiment may be implemented by a terminal, which may be a wavelength division access device (CPE). As shown in fig. 3, the method includes S210-S230.
S210, determining the frame structure type of the optical path according to the service type of the service signal.
And S220, determining the number of time slots required by the service signal according to the frame structure type of the optical path.
And S230, acquiring available time slots from the time slot resource pool according to the time slot number required by the service signal, and creating the cross configuration of the client side port and the line side port according to the available time slots.
In one embodiment, the process of creating a cross configuration of client-side ports and line-side ports from available time slots may be: acquiring an index of an available time slot; an intersection configuration of the client-side ports and the line-side ports is created based on the index of the available time slots.
Wherein, the index of the available time slot can be understood as the port number of the line-side port indexed by the available time slot. The cross configuration information may include: client side port number, available slot number, and line side port number.
In an embodiment, after identifying a service type of a received service signal, a CPE device extracts an optical channel frame structure (ODUk) type corresponding to the service type, determines a number of timeslots required for the service signal according to the ODUk type, searches a current available timeslot in a resource pool, determines whether the available timeslot in the resource pool is sufficient, if so, obtains an index of the available timeslot, and finally creates a cross configuration of a client-side port and a line-side port according to the index of the available timeslot. If there are not enough available slots, the configuration process is exited.
In one embodiment, after creating the crossing configuration of the client-side ports and the line-side ports according to the available time slots, further comprising: and forwarding the service signal according to the service path corresponding to the cross configuration.
Fig. 4 is a flowchart of another configuration method of a wavelength division access device in the embodiment of the present application. The embodiment is suitable for the case of configuring the line side transmission port of the wavelength division access device. The present embodiment may be implemented by a terminal, which may be a wavelength division access device (CPE). As shown in fig. 3, the method includes S310-S330.
S310, polling each line side sending port, and if the polled current line side sending port configures the service, determining the configuration information and the cross configuration information of the client side port corresponding to the current line side sending port according to the configured service.
And S320, converting the configuration information and the cross configuration information into overhead information according to a set protocol.
S330, inserting the overhead information into an overhead register of the service management chip.
The overhead information includes client port number, service type, optical channel frame structure type and index of available time slot.
In one embodiment, the CPE device includes a plurality of line-side transmit ports that are responsible for transmitting traffic signals into the line for transmission. The CPE device may have a line-side transmit port auto-configuration switch disposed therein, and if the auto-configuration switch is turned on, the line-side transmit port may be automatically configured following the configuration of the customer-side port.
In one embodiment, the CPE device polls the line-side transmission port, exits from polling the current line-side transmission port if no service is configured on the polled current line-side transmission port, and determines configuration information and cross configuration information of a corresponding client-side port according to the configured service if the service is configured on the polled current line-side transmission port. And then converting the configuration information and the cross configuration information into overhead information of a set protocol according to the set protocol, and inserting the overhead information into an overhead register of an FPGA or a Framer chip.
In one embodiment, after inserting the overhead information into the overhead register of the service management chip, the method further includes the following steps: and mapping and packaging the overhead information and the service signal, and sending the overhead information and the service signal to a communication network. So that the downstream CPR device updates the configuration information and the cross-configuration information based on the overhead information.
The communication network may be an OTN network or a Synchronous Digital Hierarchy (SDH) network.
Fig. 5 is a flowchart of a method for configuring a wavelength division access device in an embodiment of the present application. The embodiment is suitable for the case of configuring the line side receiving port of the wavelength division access device. The present embodiment may be implemented by a terminal, which may be a wavelength division access device (CPE). As shown in fig. 5, the method includes S410-S420.
And S410, receiving the service signal and the overhead information sent by the line side.
And S420, polling each line side receiving port, and if the polled configuration information and cross configuration information of the current line side receiving port are not matched with the overhead information, updating the configuration information and cross configuration information of the current line side receiving port according to the overhead information.
The overhead information includes the traffic type of the traffic signal of the class sent by the upstream CPE device, the client side port number, the optical path frame structure type, and the index of the available time slot.
In one embodiment, the CPE device includes a plurality of line side receive ports, with a line side transmit port being responsible for receiving traffic signals transmitted from the line side. The CPE device may be configured with an automatic configuration switch for the line side receive port, and if the automatic configuration switch is turned on, the line side transmit port may perform automatic configuration according to the received overhead information.
In one embodiment, after receiving a service signal and overhead information transmitted from a line side, a CPE device polls a line side receiving port, and determines whether the polled configuration information and cross configuration information of the current line side receiving port match the overhead information, and if not, updates the configuration information and cross configuration information of the current line side receiving port according to the overhead information. If so, continuing to poll the next line side receiving port.
In one embodiment, after updating the configuration information of the current line-side receiving port and the cross configuration information according to the overhead information, the method further includes: and forwarding the service signal according to the service path corresponding to the updated cross configuration information. And forwarding the service signal to the client according to the service path.
Fig. 6 is a schematic structural diagram of a configuration apparatus of a wavelength division access device in an embodiment of the present application, where the apparatus is disposed on a client-side port of the wavelength division access device, and includes: a service signal receiving module 510, an alarm identifying module 520, a service type determining module 530 and a configuration information generating module 540.
A service signal receiving module 510, configured to receive a service signal sent by a client;
an alarm identification module 520, configured to poll each client-side port according to the service signal, and perform alarm identification on the polled current client-side port;
a service type determining module 530, configured to determine a service type of the service signal according to the alarm identification result;
the configuration information generating module 540 is configured to generate configuration information corresponding to the current client-side port according to the service type, and configure the configuration information to the service management chip.
In one embodiment, the alarm identification module 520 is further configured to:
detecting whether a current client side port has a loss of signal alarm;
if not, detecting whether the current client side port has a frame loss alarm or not;
if not, polling the service type supported by the current client side port;
detecting whether the polled service type has a frame loss alarm or not, and obtaining an alarm identification result;
correspondingly, the determining the service type of the service signal according to the alarm identification result comprises the following steps:
and if the polled service type has no frame loss alarm, determining the polled service type as the service type of the service signal.
In one embodiment, after detecting whether the current client-side port has a loss of signal alarm, the method further comprises:
if the current client side port has the signal loss alarm, delaying for a first set time, and returning to execute the operation of detecting whether the current client side port has the signal loss alarm;
and if the number of times that the current client-side port continuously has the signal loss alarm exceeds a first set number of times, exiting the polling of the current client-side port.
In one embodiment, after detecting whether the current client-side port has a frame loss alarm, the method further comprises:
if the current client side port has the frame loss alarm, delaying for a second set time length, and returning to execute the operation of detecting whether the current client side port has the signal loss alarm;
and if the number of times that the current client-side port continuously has frame loss alarms exceeds a second set number of times, exiting the polling of the current client-side port.
Fig. 7 is a schematic structural diagram of a cross configuration apparatus of a wavelength division access device in an embodiment of the present application, and as shown in fig. 7, the apparatus includes: an optical path frame structure type determining module 610, a time slot number determining module 620 and a cross configuration creating module 630.
An optical path frame structure type determining module 610, configured to determine an optical path frame structure type according to a service type of a service signal;
a time slot number determining module 620, configured to determine the number of time slots required by the service signal according to the frame structure type of the optical path;
a cross configuration creating module 630, configured to obtain an available time slot from the time slot resource pool according to the number of time slots required by the service signal, and create a cross configuration of the client-side port and the line-side port according to the available time slot.
In one embodiment, the crossing configuration creating module 630 is further configured to:
acquiring an index of an available time slot;
an intersection configuration of the client-side ports and the line-side ports is created based on the index of the available time slots.
In one embodiment, after creating the crossing configuration of the client-side ports and the line-side ports according to the available time slots, further comprising: and forwarding the service signal according to the service path corresponding to the cross configuration.
Fig. 8 is a schematic structural diagram of a configuration apparatus of a wavelength division access device in an embodiment of the present application, which is disposed at a line-side transmission port of the wavelength division access device, and includes: a configuration information determining module 710, an overhead information obtaining module 720 and an overhead information inserting module 730.
A configuration information determining module 710, configured to poll each line side transmitting port, and if a service is configured at a current line side transmitting end in the polling process, determine configuration information and cross configuration information of a client side port corresponding to the current line side transmitting port according to the configured service;
an overhead information obtaining module 720, configured to convert the configuration information and the cross configuration information into overhead information according to a set protocol; the overhead information comprises a client side port number, a service type, an optical path frame structure type and an index of an available time slot;
the overhead information inserting module 730 is configured to insert overhead information into an overhead register of the service management chip.
In one embodiment, after inserting the overhead information into the overhead register of the traffic management chip, the method further includes: and mapping and packaging the overhead information and the service signal, and sending the overhead information and the service signal to a communication network.
Fig. 9 is a schematic structural diagram of a configuration apparatus of a wavelength division access device in an embodiment of the present application, and is disposed at a line-side receiving port of the wavelength division access device, and includes: an overhead information receiving module 810 and an information updating module 820.
An overhead information receiving module 810, configured to receive a service signal and overhead information sent by a line side; the overhead information comprises the service type of the service signal, the port number of a client side, the frame structure type of an optical path and the index of an available time slot;
an information updating module 820, configured to poll each line side receiving port, and if the polled configuration information and cross configuration information of the current line side receiving port are not matched with the overhead information, update the configuration information and cross configuration information of the current line side receiving port according to the overhead information.
In one embodiment, after updating the configuration information of the current line-side receiving port and the cross configuration information according to the overhead information, the method further includes: and forwarding the service signal according to the service path corresponding to the updated cross configuration information.
Fig. 10 is a schematic structural diagram of a wavelength division access device in an embodiment of the present application. As shown in fig. 10, the present application provides an apparatus comprising: a processor 910 and a memory 920. The number of the processors 910 in the device may be one or more, and one processor 910 is taken as an example in fig. 10. The number of the memories 920 in the device may be one or more, and one memory 920 is taken as an example in fig. 10. The processor 910 and the memory 920 of the device may be connected by a bus or other means, and fig. 10 illustrates the connection by a bus as an example. In an embodiment, the device is a transmitting end. The transmitting end may be one of a scheduling node, a base station, or a UE.
The memory 920, as a computer-readable storage medium, may be configured to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the apparatuses of any embodiment of the present application (e.g., the encoding module and the first transmitting module in the data transmission device). The memory 920 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 920 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 920 may further include memory located remotely from the processor 910, which may be connected to devices over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The device provided above may be configured to perform the configuration method of the wavelength division access device provided in any of the embodiments above, and has corresponding functions and effects.
The program stored in the corresponding memory 920 may be program instructions/modules corresponding to the mapping method applied to the feedback channel provided in the embodiment of the present application, and the processor 910 executes one or more functional applications and data processing of the computer device by running the software program, instructions, and modules stored in the memory 920, that is, implementing the configuration method applied to the wavelength division access device in the foregoing method embodiments. It can be understood that, when the device is a receiving end, the configuration method applied to the wavelength division access device provided in any embodiment of the present application may be executed, and has corresponding functions and effects. The device may be one of a base station or a UE.
Embodiments of the present application also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a method for configuring a wavelength division access device, the method comprising: receiving a service signal sent by a client; polling each client side port according to the service signal, and performing alarm identification on the current client side port polled; determining the service type of the service signal according to the alarm identification result; and generating configuration information corresponding to the current client side port according to the service type, and configuring the configuration information to a service management chip.
It will be clear to a person skilled in the art that the term user equipment covers any suitable type of wireless user equipment, such as mobile phones, portable data processing devices, portable web browsers or vehicle-mounted mobile stations.
In general, the various embodiments of the application may be implemented in hardware or special purpose circuits, software, logic or any combination thereof. For example, some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software which may be executed by a controller, microprocessor or other computing device, although the application is not limited thereto.
Embodiments of the application may be implemented by a data processor of a mobile device executing computer program instructions, for example in a processor entity, or by hardware, or by a combination of software and hardware. The computer program instructions may be assembly instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages.
Any logic flow block diagrams in the figures of this application may represent program steps, or may represent interconnected logic circuits, modules, and functions, or may represent a combination of program steps and logic circuits, modules, and functions. The computer program may be stored on a memory. The Memory may be of any type suitable to the local technical environment and may be implemented using any suitable data storage technology, such as, but not limited to, Read-Only Memory (ROM), Random Access Memory (RAM), optical storage devices and systems (Digital Video Disc (DVD) or Compact Disc (CD)), etc. The computer readable medium may include a non-transitory storage medium. The data processor may be of any type suitable to the local technical environment, such as but not limited to general purpose computers, special purpose computers, microprocessors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Programmable logic devices (FGPAs), and processors based on a multi-core processor architecture.
The foregoing has provided by way of exemplary and non-limiting examples a detailed description of exemplary embodiments of the present application. Various modifications and adaptations to the foregoing embodiments may become apparent to those skilled in the relevant arts in view of the following drawings and the appended claims without departing from the scope of the invention. Therefore, the proper scope of the invention is to be determined according to the claims.