[go: up one dir, main page]

CN111698708A - Method and device for service type adaptation in transmission system - Google Patents

Method and device for service type adaptation in transmission system Download PDF

Info

Publication number
CN111698708A
CN111698708A CN201910200213.1A CN201910200213A CN111698708A CN 111698708 A CN111698708 A CN 111698708A CN 201910200213 A CN201910200213 A CN 201910200213A CN 111698708 A CN111698708 A CN 111698708A
Authority
CN
China
Prior art keywords
service
network device
service type
alarm
configuration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910200213.1A
Other languages
Chinese (zh)
Other versions
CN111698708B (en
Inventor
王伟
漆凯
旷捷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910200213.1A priority Critical patent/CN111698708B/en
Publication of CN111698708A publication Critical patent/CN111698708A/en
Application granted granted Critical
Publication of CN111698708B publication Critical patent/CN111698708B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0446Resources in time domain, e.g. slots or frames

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请提供了一种传送系统中业务类型适配的方法和装置,应用于支持混合业务传送的管道技术中。第一网络设备切换到第一业务,并完成第一业务类型配置;第一网络设备获取第一业务类型配置下预设的第一告警集合,该第一告警集合包括一个或多个业务错误指示告警;第一网络设备检测所述第一告警集合在T1时间内保持撤销状态的时间达到T2,根据所述第一业务接口速率判断是否分配所述第一业务的线路侧时隙。该方法基于客户侧业务特征告警监控,确定客户侧业务类型,并自动决定是否进行时隙分配,为后续实现端到端业务传输自动适配提供先前条件。

Figure 201910200213

The present application provides a method and apparatus for service type adaptation in a transmission system, which is applied to a pipeline technology supporting mixed service transmission. The first network device switches to the first service, and completes the configuration of the first service type; the first network device obtains a preset first alarm set under the first service type configuration, where the first alarm set includes one or more service error indications alarm; the first network device detects that the first alarm set remains in the canceled state within the time T1 and reaches T2, and judges whether to allocate the line-side time slot of the first service according to the interface rate of the first service. The method determines the service type of the client side based on the alarm monitoring of the service characteristics of the client side, and automatically decides whether to allocate a time slot, so as to provide a prior condition for the subsequent automatic adaptation of end-to-end service transmission.

Figure 201910200213

Description

一种在传送系统中业务类型适配的方法和装置A method and device for service type adaptation in a transmission system

技术领域technical field

本申请涉及通信领域,尤其涉及一种在传送系统中业务类型适配的方法和装置。The present application relates to the field of communications, and in particular, to a method and apparatus for service type adaptation in a transmission system.

背景技术Background technique

5G(The fifth generation mobile communication technology,第五代移动通信技术)网络时代,C-RAN(Centralized Radio Access Network,集中化无线接入网)和D-RAN(Distributed Radio Access Network,分散式无线接入网)共存,无线侧业务类型众多,包括前传的CPRI(Common Public Radio Interface,通用公共无线电接口)、OBSAI(Open Base Station Architecture Initiative,开放式基站架构)、eCPRI(enhancedCommon Public Radio Interface,增强型通用公共无线电接口)业务,回传的GE(GigabitEthernet,千兆以太网)、XGE(Ten-Gigabit Ethernet,万兆以太网)、25GE(25-GigabitEthernet)业务。作为支持前传或回传统一承载的传送设备,甚至可能还存在无线业务和其他非无线业务(例如,SDH,Synchronous Digital Hierarchy,同步数字体系等)混合承载的场景。5G (The fifth generation mobile communication technology, fifth generation mobile communication technology) network era, C-RAN (Centralized Radio Access Network, centralized radio access network) and D-RAN (Distributed Radio Access Network, distributed radio access network) network) coexistence, there are many types of services on the wireless side, including fronthaul CPRI (Common Public Radio Interface, common public radio interface), OBSAI (Open Base Station Architecture Initiative, open base station architecture), eCPRI (enhanced Common Public Radio Interface, enhanced common radio interface) Public radio interface) services, backhaul GE (GigabitEthernet, Gigabit Ethernet), XGE (Ten-Gigabit Ethernet, 10 Gigabit Ethernet), 25GE (25-GigabitEthernet) services. As a transmission device that supports fronthaul or backhaul to a traditional bearer, there may even be a mixed bearer scenario of wireless services and other non-wireless services (eg, SDH, Synchronous Digital Hierarchy, Synchronous Digital Hierarchy, etc.).

目前针对传送设备之间业务类型适配的问题,主要采取的方法是人工获取传送设备客户侧业务类型、速率等信息,然后手动配置传送设备客户侧端口业务类型、速率;再根据客户侧端口业务类型、速率信息人工分配线路侧时隙数量和位置。由于传送设备客户侧设备种类繁多,人工完全获取客户侧业务类型费时费力,同时,客户侧设备本身支持多种业务,修改业务类型时要联动修改传送设备配置,人工操作不方便。而且目前的传送设备没有自动适应适配的能力,只能要求无线设备使用固定速率模式,无线CPRI端口协议支持运行过程中动态切换接口速率的功能无法使用。At present, in view of the problem of service type adaptation between transmission equipment, the main method is to manually obtain information such as service type and rate on the client side of the transmission equipment, and then manually configure the service type and rate of the port on the client side of the transmission equipment; Type and rate information manually assigns the number and location of time slots on the line side. Due to the wide variety of transmission equipment client-side equipment, it is time-consuming and laborious to manually obtain the client-side service type. At the same time, the client-side equipment itself supports a variety of services. When modifying the service type, the configuration of the transmission equipment needs to be modified in conjunction, which is inconvenient for manual operation. Moreover, the current transmission equipment does not have the ability to automatically adapt, and can only require the wireless equipment to use a fixed rate mode. The function of the wireless CPRI port protocol to support dynamic switching of interface rates during operation cannot be used.

因此亟需一种在传送系统中业务类型适配的方法和装置,实现客户侧业务接入的自动适配。Therefore, there is an urgent need for a method and apparatus for service type adaptation in a transmission system to realize automatic adaptation of client side service access.

发明内容SUMMARY OF THE INVENTION

有鉴于此,为了解决目前的传送系统中传送设备没有自动适应适配的能力,本申请提供了一种传送系统中业务类型适配的方法、装置及系统。所述技术方案如下:In view of this, in order to solve the problem that the transmission equipment in the current transmission system does not have the capability of automatic adaptation, the present application provides a method, apparatus and system for service type adaptation in the transmission system. The technical solution is as follows:

第一方面,本申请实施例提供了一种传送系统中业务类型适配的方法,该方法包括:In a first aspect, an embodiment of the present application provides a method for service type adaptation in a transmission system, the method includes:

第一网络设备切换到第一业务,并完成第一业务类型配置,第一业务类型配置包括所述第一业务接口速率配置;The first network device switches to the first service, and completes the first service type configuration, where the first service type configuration includes the first service interface rate configuration;

第一网络设备获取第一业务类型配置下预设的第一告警集合,第一告警集合包括一个或多个业务错误指示告警;The first network device acquires a first set of alarms preset under the configuration of the first service type, where the first set of alarms includes one or more service error indication alarms;

第一网络设备检测第一告警集合在T1时间内保持撤销状态的时间达到T2,根据第一业务接口速率判断是否分配第一业务的线路侧时隙,T1、T2为预先设置的时间长度,T1大于等于T2。The first network device detects that the time that the first alarm set remains in the canceled state within the time T1 reaches T2, and judges whether to allocate the line-side time slot of the first service according to the rate of the first service interface. T1 and T2 are preset time lengths, and T1 greater than or equal to T2.

在第一方面的第一种可能的实施方式中,第一网络设备切换到第一业务之前,所述方法还包括:In a first possible implementation manner of the first aspect, before the first network device switches to the first service, the method further includes:

第一网络设备切换第二业务,并完成第二业务类型配置,第二业务类型配置包括第二业务速率配置;The first network device switches the second service, and completes the second service type configuration, where the second service type configuration includes the second service rate configuration;

第一网络设备获取第二业务类型配置下预设的第二告警集合,第二告警集合包括一个或多个业务错误指示告警;The first network device acquires a second set of alarms preset under the configuration of the second service type, where the second set of alarms includes one or more service error indication alarms;

第一网络设备检测第二告警集合不满足在T3时间内保持撤销状态的时间达到T4,T3、T4为预先设置的时间长度,T3大于等于T4。The first network device detects that the second alarm set does not meet the requirement of maintaining the revoked state within the time T3 and reaches T4, where T3 and T4 are preset time lengths, and T3 is greater than or equal to T4.

结合第一方面及第一方面第一种可能的实施方式,在第一方面第二种可能的实施方式中,所述第一网络设备切换到第一业务之前,所述方法还包括:With reference to the first aspect and the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, before the first network device switches to the first service, the method further includes:

第一网络设备获取第三业务类型配置下预设的第三告警集合,第三告警集合包括一个或多个所述业务错误指示告警;The first network device acquires a third set of alarms preset under the configuration of the third service type, where the third set of alarms includes one or more of the service error indication alarms;

第一网络设备检测第三告警集合在T5时间内保持拉起状态的时间累计达到T6,T5、T6为预先设置的时间长度,T5大于等于T6。The first network device detects that the third alarm set remains in the pulled-up state during the time T5, and the accumulated time reaches T6, where T5 and T6 are preset time lengths, and T5 is greater than or equal to T6.

结合第一方面及第一方面第一种至第二种可能的实施方式,在第一方面第三种可能的实施方式中,第一网络设备根据所述第一业务接口速率判断是否分配第一业务的线路侧时隙,具体包括:Combining the first aspect and the first to second possible implementation manners of the first aspect, in a third possible implementation manner of the first aspect, the first network device determines whether to allocate the first service interface rate according to the first service interface rate. Line-side time slots of services, including:

第一网络设备根据所述第一业务接口速率获取所述第一业务的对应的第一时隙数量;The first network device acquires the corresponding first time slot quantity of the first service according to the first service interface rate;

第一网络设备统计线路侧空闲时隙数量;The first network device counts the number of idle time slots on the line side;

第一网络设备比较第一时隙数量与空闲时隙数量的大小,若第一时隙数量大于空闲时隙数量,则第一网络设备发送时隙分配失败告警,时隙分配失败告警用于指示线路侧空闲带宽不足以传输第一业务;若第一时隙数量小于等于空闲时隙数量,则第一网络设备启动时隙分配。The first network device compares the number of the first time slot with the number of idle time slots, and if the number of the first time slot is greater than the number of idle time slots, the first network device sends a time slot allocation failure alarm, and the time slot allocation failure alarm is used to indicate The idle bandwidth on the line side is not enough to transmit the first service; if the number of the first time slots is less than or equal to the number of idle time slots, the first network device starts time slot allocation.

结合第一方面及第一方面第一种至第三种可能的实施方式,在第一方面第四种可能的实施方式中,第一网络设备启动时隙分配之后,方法还包括:With reference to the first aspect and the first to third possible implementation manners of the first aspect, in a fourth possible implementation manner of the first aspect, after the first network device starts the time slot allocation, the method further includes:

第一网络设备将第一业务消息发送给第二网络设备,第一业务消息包括第一业务类型指示信息,第一业务类型指示信息用于指示第二网络设备需要配置的业务类型为第一业务。The first network device sends the first service message to the second network device, where the first service message includes first service type indication information, and the first service type indication information is used to indicate that the service type that needs to be configured on the second network device is the first service .

结合第一方面及第一方面第一种至第四种可能的实施方式,在第一方面第五种可能的实施方式中,业务错误指示告警包括如下告警中的一个或多个:信号损失LOS告警、帧丢失LOF告警和同步丢失LOSS of SYNC告警。With reference to the first aspect and the first to fourth possible implementation manners of the first aspect, in a fifth possible implementation manner of the first aspect, the service error indication alarm includes one or more of the following alarms: loss of signal LOS Alarm, frame loss LOF alarm and synchronization loss LOSS of SYNC alarm.

结合第一方面及第一方面第一种至第五种可能的实施方式,在第一方面第六种可能的实施方式中,第一网络设备将第一业务消息发送给第二网络设备,包括:第一网络设备通过线路开销将第一业务消息发送给第二网络设备。With reference to the first aspect and the first to fifth possible implementation manners of the first aspect, in a sixth possible implementation manner of the first aspect, the first network device sends the first service message to the second network device, including : The first network device sends the first service message to the second network device through the line overhead.

结合第一方面及第一方面第一种至第六种可能的实施方式,在第一方面第七种可能的实施方式中,第一业务消息还包括第一业务接口速率和第一业务的对应的第一时隙数量。In combination with the first aspect and the first to sixth possible implementation manners of the first aspect, in a seventh possible implementation manner of the first aspect, the first service message further includes the correspondence between the first service interface rate and the first service the number of first time slots.

结合第一方面及第一方面第一种至第七种可能的实施方式,在第一方面第八种可能的实施方式中,第一业务类型配置还包括第一业务映射解映射配置和第一业务线路成帧解帧配置。In combination with the first aspect and the first to seventh possible implementation manners of the first aspect, in an eighth possible implementation manner of the first aspect, the first service type configuration further includes a first service mapping and de-mapping configuration and a first Framing and deframing configuration for service lines.

结合第一方面及第一方面第一种至第八种可能的实施方式,在第一方面第九种可能的实施方式中,第一网络设备将第一业务消息发送给第二网络设备之后,方法还包括:With reference to the first aspect and the first to eighth possible implementation manners of the first aspect, in a ninth possible implementation manner of the first aspect, after the first network device sends the first service message to the second network device, Methods also include:

第一网络设备向第二网络设备传输第一业务信号。The first network device transmits the first service signal to the second network device.

第二方面,本申请实施例提供了一种在传送系统中业务类型适配的装置,包括:输入接口、处理电路,In a second aspect, an embodiment of the present application provides an apparatus for adapting service types in a transmission system, including: an input interface, a processing circuit,

输入接口,用于获取第一业务类型配置下预设的第一告警集合,第一告警集合包括一个或多个业务错误指示告警;an input interface, used to obtain a first set of alarms preset under the configuration of the first service type, where the first set of alarms includes one or more service error indication alarms;

处理电路,用于检测第一告警集合在T1时间内保持撤销状态的时间达到T2,T1、T2为预先设置的时间长度,T1大于等于T2;The processing circuit is used to detect that the time that the first alarm set remains in the canceled state within the time T1 reaches T2, where T1 and T2 are preset time lengths, and T1 is greater than or equal to T2;

处理电路,还用于判断是否分配第一业务的线路侧时隙。The processing circuit is further configured to determine whether to allocate the line-side time slot of the first service.

在第二方面第一种可能的实施方式中,处理电路,还用于切换到第一业务和第一业务类型配置,第一业务类型配置包括第一业务接口速率配置。In a first possible implementation manner of the second aspect, the processing circuit is further configured to switch to a first service and a first service type configuration, where the first service type configuration includes a first service interface rate configuration.

结合第二方面及第二方面第一种可能的实施方式,在第二方面第二种可能的实施方式中,处理电路还用于切换第二业务和第二业务类型配置,第二业务类型配置包括第二业务速率配置;In combination with the second aspect and the first possible implementation manner of the second aspect, in the second possible implementation manner of the second aspect, the processing circuit is further configured to switch the second service and the second service type configuration, and the second service type configuration Including the second service rate configuration;

输入接口,还用于获取第二业务类型配置下预设的第二告警集合,第二告警集合包括一个或多个业务错误指示告警;an input interface, further configured to obtain a preset second alarm set under the second service type configuration, where the second alarm set includes one or more service error indication alarms;

处理电路,还用于检测第二告警集合不满足在T3时间内保持撤销状态的时间达到T4,T3、T4为预先设置的时间长度,T3大于等于T4。The processing circuit is further configured to detect that the second alarm set does not meet the requirement of maintaining the revoked state within the time T3 and reaches T4, where T3 and T4 are preset time lengths, and T3 is greater than or equal to T4.

结合第二方面及第二方面第一种至第二种可能的实施方式,在第二方面第三种可能的实施方式中,输入接口,还用于获取第三业务类型配置下预设的第三告警集合,第三告警集合包括一个或多个业务错误指示告警;Combining the second aspect and the first to second possible implementation manners of the second aspect, in the third possible implementation manner of the second aspect, the input interface is also used to obtain the preset number 1 under the configuration of the third service type. Three alarm sets, the third alarm set includes one or more service error indication alarms;

处理电路,还用于检测第三告警集合在T5时间内保持拉起状态的时间累计达到T6,T5、T6为预先设置的时间长度,T5大于等于T6。The processing circuit is further configured to detect that the accumulated time that the third alarm set remains in the pulled-up state within the time T5 reaches T6, where T5 and T6 are preset time lengths, and T5 is greater than or equal to T6.

结合第二方面及第二方面第一种至第三种可能的实施方式,在第二方面第四种可能的实施方式中,处理电路判断是否分配第一业务的线路侧时隙,具体包括:With reference to the second aspect and the first to third possible implementation manners of the second aspect, in a fourth possible implementation manner of the second aspect, the processing circuit determines whether to allocate a line-side time slot of the first service, specifically including:

处理电路,计算第一业务的对应的第一时隙数量;a processing circuit to calculate the corresponding number of first time slots of the first service;

处理电路,统计线路侧空闲时隙数量;Processing circuit to count the number of idle time slots on the line side;

处理电路,比较第一时隙数量与空闲时隙数量的大小,若第一时隙数量小于等于空闲时隙数量,则处理电路启动时隙分配。The processing circuit compares the number of the first time slot with the number of idle time slots, and if the number of the first time slot is less than or equal to the number of idle time slots, the processing circuit starts time slot allocation.

结合第二方面及第二方面第一种至第四种可能的实施方式,在第二方面第五种可能的实施方式中,所述装置还包括输出接口,输出接口用于:With reference to the second aspect and the first to fourth possible implementation manners of the second aspect, in a fifth possible implementation manner of the second aspect, the apparatus further includes an output interface, and the output interface is used for:

若第一时隙数量大于空闲时隙数量,则输出接口输出时隙分配失败告警,时隙分配失败告警用于指示线路侧空闲带宽不足以传输第一业务。If the number of the first time slots is greater than the number of idle time slots, the output interface outputs a time slot allocation failure alarm, and the time slot allocation failure alarm is used to indicate that the idle bandwidth on the line side is insufficient to transmit the first service.

结合第二方面及第二方面第一种至第五种可能的实施方式,在第二方面第六种可能的实施方式中,所述装置还包括输出接口,输出接口用于:With reference to the second aspect and the first to fifth possible implementation manners of the second aspect, in a sixth possible implementation manner of the second aspect, the apparatus further includes an output interface, and the output interface is used for:

输出第一业务消息,第一业务消息包括第一业务类型指示信息,第一业务类型指示信息用于指示第二网络设备需要配置的业务类型为第一业务。A first service message is output, where the first service message includes first service type indication information, and the first service type indication information is used to indicate that the service type that needs to be configured on the second network device is the first service.

结合第二方面及第二方面第一种至第六种可能的实施方式,在第二方面第七种可能的实施方式中,输出接口还用于向第二网络设备发送第一业务信号。With reference to the second aspect and the first to sixth possible implementation manners of the second aspect, in a seventh possible implementation manner of the second aspect, the output interface is further configured to send the first service signal to the second network device.

结合第二方面及第二方面第一种至第七种可能的实施方式,在第二方面第八种可能的实施方式中,业务错误指示告警包括如下告警中的其中一个或多个:信号损失LOS告警、帧丢失LOF告警和同步丢失LOSS of SYNC告警。With reference to the second aspect and the first to seventh possible implementation manners of the second aspect, in an eighth possible implementation manner of the second aspect, the service error indication alarm includes one or more of the following alarms: signal loss LOS alarm, frame loss LOF alarm and synchronization loss LOSS of SYNC alarm.

结合第二方面及第二方面第一种至第八种可能的实施方式,在第二方面第九种可能的实施方式中,输出接口输出第一业务消息,包括:输出接口通过线路开销输出第一业务消息。With reference to the second aspect and the first to eighth possible implementation manners of the second aspect, in a ninth possible implementation manner of the second aspect, the output interface outputs the first service message, including: the output interface outputs the first service message through the line overhead. a business message.

结合第二方面及第二方面第一种至第九种可能的实施方式,在第二方面第十种可能的实施方式中,第一业务消息还包括第一业务接口速率和第一业务的对应的第一时隙数量。In combination with the second aspect and the first to ninth possible implementation manners of the second aspect, in a tenth possible implementation manner of the second aspect, the first service message further includes the correspondence between the first service interface rate and the first service. the number of first time slots.

结合第二方面及第二方面第一种至第十种可能的实施方式,在第二方面第十一种可能的实施方式中,第一业务类型配置还包括第一业务映射解映射配置和第一业务线路成帧解帧配置。With reference to the second aspect and the first to tenth possible implementation manners of the second aspect, in an eleventh possible implementation manner of the second aspect, the first service type configuration further includes a first service mapping and de-mapping configuration and a first service mapping and de-mapping configuration. A service line framing and deframing configuration.

结合第二方面及第二方面第一种至第十一种可能的实施方式,在第二方面第十二种可能的实施方式中,所述装置还包括存储器,存储器用于存储第一告警集合或第二、第三告警集合。With reference to the second aspect and the first to eleventh possible implementation manners of the second aspect, in a twelfth possible implementation manner of the second aspect, the apparatus further includes a memory, and the memory is configured to store the first alarm set Or the second and third alarm sets.

第三方面,本申请实施例又提供了一种在传送系统中业务类型适配的装置,包括:处理单元、存储单元,,用于获取所述第一业务类型配置下预设的第一告警集合,该第一告警集合包括一个或多个业务错误指示告警;In a third aspect, an embodiment of the present application further provides an apparatus for service type adaptation in a transmission system, including: a processing unit and a storage unit, configured to acquire a preset first alarm under the configuration of the first service type set, the first alarm set includes one or more service error indication alarms;

处理单元,还用于检测第一告警集合在T1时间内保持撤销状态的时间达到T2,T1、T2为预先设置的时间长度,T1大于等于T2;The processing unit is further configured to detect that the time that the first alarm set remains in the canceled state within the time T1 reaches T2, where T1 and T2 are preset time lengths, and T1 is greater than or equal to T2;

存储单元,用于存储第一告警集合;a storage unit, configured to store the first alarm set;

处理单元,还用于判断是否分配所述第一业务的线路侧时隙。The processing unit is further configured to determine whether to allocate a line-side time slot of the first service.

在第三方面第一种可能的实施方式中,处理单元还用于切换到第一业务和第一业务类型配置,该第一业务类型配置包括所述第一业务接口速率配置。In a first possible implementation manner of the third aspect, the processing unit is further configured to switch to a first service and a first service type configuration, where the first service type configuration includes the first service interface rate configuration.

结合第三方面及第三方面第一种可能的实施方式,在第三方面第二种可能的实施方式中,处理单元还用于执行下述动作:With reference to the third aspect and the first possible implementation manner of the third aspect, in the second possible implementation manner of the third aspect, the processing unit is further configured to perform the following actions:

切换第二业务和第二业务类型配置,该第二业务类型配置包括第二业务速率配置;switching a second service and a second service type configuration, where the second service type configuration includes a second service rate configuration;

获取第二业务类型配置下预设的第二告警集合,该第二告警集合包括一个或多个所述业务错误指示告警;Acquire a preset second alarm set under the second service type configuration, where the second alarm set includes one or more of the service error indication alarms;

检测到第二告警集合不满足在T3时间内保持撤销状态的时间达到T4,所述T3、T4为预先设置的时间长度,T3大于等于T4。It is detected that the second alarm set does not meet the requirement of maintaining the revoked state within the time T3 and reaches T4, where T3 and T4 are preset time lengths, and T3 is greater than or equal to T4.

结合第三方面及第三方面第一种至第二种可能的实施方式,在第三方面第三种可能的实施方式中,处理单元还用于执行下述动作:With reference to the third aspect and the first to second possible implementation manners of the third aspect, in a third possible implementation manner of the third aspect, the processing unit is further configured to perform the following actions:

获取第三业务类型配置下预设的第三告警集合,该第三告警集合包括一个或多个所述业务错误指示告警;acquiring a third set of alarms preset under the configuration of the third service type, where the third set of alarms includes one or more of the service error indication alarms;

检测到第三告警集合在T5时间内保持拉起状态的时间累计达到T6,T5、T6为预先设置的时间长度,T5大于等于T6。It is detected that the time that the third alarm set remains in the pulled-up state within the time T5 reaches T6, where T5 and T6 are preset time lengths, and T5 is greater than or equal to T6.

结合第三方面及第三方面第一种至第三种可能的实施方式,在第三方面第四种可能的实施方式中,处理单元判断是否分配所述第一业务的线路侧时隙,具体包括下述动作:With reference to the third aspect and the first to third possible implementation manners of the third aspect, in a fourth possible implementation manner of the third aspect, the processing unit determines whether to allocate a line-side time slot of the first service, specifically Includes the following actions:

计算所述第一业务的对应的第一时隙数量;calculating the corresponding number of first time slots of the first service;

统计线路侧空闲时隙数量;Count the number of idle time slots on the line side;

比较第一时隙数量与空闲时隙数量的大小,若第一时隙数量小于等于空闲时隙数量,则所述处理单元启动时隙分配。Comparing the size of the number of the first time slot and the number of idle time slots, if the number of the first time slot is less than or equal to the number of idle time slots, the processing unit starts time slot allocation.

结合第三方面及第三方面第一种至第四种可能的实施方式,在第三方面第五种可能的实施方式中,所述装置还包括发送单元,发送单元用于:With reference to the third aspect and the first to fourth possible implementation manners of the third aspect, in a fifth possible implementation manner of the third aspect, the apparatus further includes a sending unit, and the sending unit is configured to:

若所述第一时隙数量大于所述空闲时隙数量,则发送单元输出时隙分配失败告警,该时隙分配失败告警用于指示线路侧空闲带宽不足以传输所述第一业务。If the number of the first time slots is greater than the number of the idle time slots, the sending unit outputs a time slot allocation failure alarm, and the time slot allocation failure alarm is used to indicate that the idle bandwidth on the line side is insufficient to transmit the first service.

结合第三方面及第三方面第一种至第五种可能的实施方式,在第三方面第六种可能的实施方式中,在处理单元启动时隙分配后,发送单元还可用于执行下述动作:In combination with the third aspect and the first to fifth possible implementation manners of the third aspect, in the sixth possible implementation manner of the third aspect, after the processing unit starts the time slot allocation, the sending unit may be further configured to perform the following: action:

输出第一业务消息,该第一业务消息包括第一业务类型指示信息,该第一业务类型指示信息用于指示第二网络设备需要配置的业务类型为第一业务;outputting a first service message, where the first service message includes first service type indication information, where the first service type indication information is used to indicate that the service type that needs to be configured on the second network device is the first service;

向第二网络设备发送第一业务信号。Send the first service signal to the second network device.

结合第三方面及第三方面第一种至第六种可能的实施方式,在第三方面第七种可能的实施方式中,发送单元输出第一业务消息,包括通过线路开销输出第一业务消息。With reference to the third aspect and the first to sixth possible implementation manners of the third aspect, in a seventh possible implementation manner of the third aspect, the sending unit outputs the first service message, including outputting the first service message through line overhead .

结合第三方面及第三方面第一种至第七种可能的实施方式,在第三方面第八种可能的实施方式中,第一业务消息还包括第一业务接口速率和所述第一业务的对应的所述第一时隙数量。With reference to the third aspect and the first to seventh possible implementation manners of the third aspect, in an eighth possible implementation manner of the third aspect, the first service message further includes a first service interface rate and the first service The corresponding number of the first time slot.

结合第三方面及第三方面第一种至第八种可能的实施方式,在第三方面第九种可能的实施方式中,所述业务错误指示告警包括如下告警中的其中一个或多个:信号损失LOS告警、帧丢失LOF告警和同步丢失LOSS of SYNC告警。With reference to the third aspect and the first to eighth possible implementation manners of the third aspect, in a ninth possible implementation manner of the third aspect, the service error indication alarm includes one or more of the following alarms: Signal loss LOS alarm, frame loss LOF alarm and synchronization loss LOSS of SYNC alarm.

结合第三方面及第三方面第一种至第九种可能的实施方式,在第三方面第十种可能的实施方式中,第一业务类型配置还包括第一业务映射解映射配置和第一业务线路成帧解帧配置。With reference to the third aspect and the first to ninth possible implementation manners of the third aspect, in a tenth possible implementation manner of the third aspect, the first service type configuration further includes a first service mapping and de-mapping configuration and a first Framing and deframing configuration for service lines.

第四方面,本申请实施例又提供了一种在传送系统中业务类型适配的装置,该装置包括处理器,用于执行存储器中存储的程序,当程序被执行时,使得所述装置执行上述第一方面中所述的方法。In a fourth aspect, an embodiment of the present application further provides an apparatus for adapting a service type in a transmission system, the apparatus includes a processor configured to execute a program stored in a memory, and when the program is executed, causes the apparatus to execute The method described in the first aspect above.

在第四方面第一种可能的实施方式中,存储器存储的也可以是处理器执行编码方法过程中产生或使用的数据。例如,存储器是缓存。存储器可以是物理上独立的单元,也可以是云服务器上的存储空间或网络硬盘等。In a first possible implementation manner of the fourth aspect, the memory may also store data generated or used in the process of executing the encoding method by the processor. For example, the memory is the cache. The storage can be a physically independent unit, or a storage space on a cloud server or a network hard disk.

结合第四方面及第四方面第一种可能的实施方式,在第四方面第二种可能的实施方式中,所述存储器位于所述装置内。In combination with the fourth aspect and the first possible implementation manner of the fourth aspect, in a second possible implementation manner of the fourth aspect, the memory is located in the device.

结合第四方面及第四方面第一种至第二种可能的实施方式,在第四方面第三种可能的实施方式中,所述存储器与所述处理器集成在一起。With reference to the fourth aspect and the first to second possible implementation manners of the fourth aspect, in a third possible implementation manner of the fourth aspect, the memory is integrated with the processor.

结合第四方面及第四方面第一种至第三种可能的实施方式,在第四方面第四种可能的实施方式中,所述存储器位于所述装置之外。In combination with the fourth aspect and the first to third possible implementation manners of the fourth aspect, in a fourth possible implementation manner of the fourth aspect, the memory is located outside the device.

结合第四方面及第四方面第一种至第四种可能的实施方式,在第四方面第五种可能的实施方式中,处理器可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP)或者CPU和NP的组合。In combination with the fourth aspect and the first to fourth possible implementation manners of the fourth aspect, in a fifth possible implementation manner of the fourth aspect, the processor may be a central processing unit (CPU), a network processing A network processor (NP) or a combination of CPU and NP.

结合第四方面及第四方面第一种至第五种可能的实施方式,在第四方面第六种可能的实施方式中,处理器还可以是硬件芯片,可以是专用集成电路(application-specificintegrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(genericarray logic,GAL)或其任意组合。In combination with the fourth aspect and the first to fifth possible implementation manners of the fourth aspect, in the sixth possible implementation manner of the fourth aspect, the processor may also be a hardware chip, which may be an application-specific integrated circuit (application-specific integrated circuit). circuit, ASIC), programmable logic device (programmable logic device, PLD) or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.

结合第四方面及第四方面第一种至第六种可能的实施方式,在第四方面第七种可能的实施方式中,所述装置为基站或终端。With reference to the fourth aspect and the first to sixth possible implementation manners of the fourth aspect, in a seventh possible implementation manner of the fourth aspect, the apparatus is a base station or a terminal.

结合第四方面及第四方面第一种至第七种可能的实施方式,在第四方面第八种可能的实施方式中,所述装置为芯片或集成电路。With reference to the fourth aspect and the first to seventh possible implementation manners of the fourth aspect, in an eighth possible implementation manner of the fourth aspect, the device is a chip or an integrated circuit.

结合第四方面及第四方面第一种至第八种可能的实施方式,在第四方面第九种可能的实施方式中,所述装置还包括收发器,用于执行上述第三方面中发送单元对应的操作步骤。With reference to the fourth aspect and the first to eighth possible implementation manners of the fourth aspect, in a ninth possible implementation manner of the fourth aspect, the apparatus further includes a transceiver, configured to perform the sending in the above third aspect Operation steps corresponding to the unit.

第五方面,本申请实施例提供了一种传送系统中业务类型适配的方法,该方法包括:In a fifth aspect, an embodiment of the present application provides a method for service type adaptation in a transmission system, the method includes:

第二网络设备接收第一网络设备发送的第一业务消息,该第一业务消息包括第一业务类型指示信息,所述第一业务类型指示信息用于指示所述第二网络设备需要配置的业务类型为所述第一业务;The second network device receives a first service message sent by the first network device, where the first service message includes first service type indication information, where the first service type indication information is used to indicate a service that needs to be configured by the second network device Type is the first service;

第二网络设备提取第一业务消息中的第一业务类型指示信息;The second network device extracts the first service type indication information in the first service message;

第二网络设备完成第一业务类型配置,该第一业务类型配置包括所述第一业务接口速率配置。The second network device completes the first service type configuration, where the first service type configuration includes the first service interface rate configuration.

在第五方面第一种可能的实施方式中,该方法还包括:In a first possible implementation manner of the fifth aspect, the method further includes:

第二网络设备接收第一网络设备输出的第一业务信号。The second network device receives the first service signal output by the first network device.

第二网络设备输出第一业务信号。The second network device outputs the first service signal.

结合第五方面及第五方面第一种可能的实施方式,在第五方面第二种可能的实施方式中,第二网络设备接收第一网络设备发送的第一业务消息,包括:第二网络设备接收第一网络设备通过线路开销发送的第一业务消息。With reference to the fifth aspect and the first possible implementation manner of the fifth aspect, in a second possible implementation manner of the fifth aspect, the second network device receives the first service message sent by the first network device, including: the second network device The device receives the first service message sent by the first network device through the line overhead.

结合第五方面及第五方面第一种至第二种可能的实施方式,在第五方面第三种可能的实施方式中,第一业务消息还包括第一业务接口速率和所述第一业务的对应的所述第一时隙数量。With reference to the fifth aspect and the first to second possible implementation manners of the fifth aspect, in a third possible implementation manner of the fifth aspect, the first service message further includes a first service interface rate and the first service The corresponding number of the first time slot.

结合第五方面及第五方面第一种至第三种可能的实施方式,在第五方面第四种可能的实施方式中,第二网络设备还可以提取第一业务消息中的第一业务接口速率和第一业务的对应的第一时隙数量。With reference to the fifth aspect and the first to third possible implementation manners of the fifth aspect, in a fourth possible implementation manner of the fifth aspect, the second network device may further extract the first service interface in the first service message rate and the corresponding first time slot number of the first service.

第六方面,本申请实施例提供了一种业务类型适配装置,包括:In a sixth aspect, an embodiment of the present application provides a service type adaptation device, including:

输入接口,用于获取第一网络设备发送的第一业务消息,该第一业务消息包括第一业务类型指示信息,所述第一业务类型指示信息用于指示所述第二网络设备需要配置的业务类型为所述第一业务;The input interface is used to obtain a first service message sent by a first network device, where the first service message includes first service type indication information, and the first service type indication information is used to indicate that the second network device needs to be configured The service type is the first service;

处理电路,用于根据第一网络设备发送的第一业务消息提取第一业务类型指示信息;a processing circuit, configured to extract the first service type indication information according to the first service message sent by the first network device;

处理电路,还用于第一业务类型配置,所述第一业务类型配置包括所述第一业务接口速率配置。The processing circuit is further configured to configure a first service type, where the first service type configuration includes a rate configuration of the first service interface.

在第六方面第一种可能的实施方式中,输入接口还用于获取第一业务信号。In a first possible implementation manner of the sixth aspect, the input interface is further used to acquire the first service signal.

结合第六方面及第六方面第一种可能的实施方式,在第六方面第二种可能的实施方式中,所述装置还包括输出接口,用于输出第一业务信号。With reference to the sixth aspect and the first possible implementation manner of the sixth aspect, in a second possible implementation manner of the sixth aspect, the apparatus further includes an output interface for outputting the first service signal.

结合第六方面及第六方面第一种至第二种可能的实施方式,在第六方面第三种可能的实施方式中,输入接口获取第一网络设备发送的第一业务消息包括:通过线路开销接收第一网络设备发送的第一业务消息。With reference to the sixth aspect and the first to second possible implementation manners of the sixth aspect, in a third possible implementation manner of the sixth aspect, acquiring the first service message sent by the first network device through the input interface includes: The overhead receives the first service message sent by the first network device.

结合第六方面及第六方面第一种至第三种可能的实施方式,在第六方面第四种可能的实施方式中,第一业务消息还包括第一业务接口速率和所述第一业务的对应的所述第一时隙数量。With reference to the sixth aspect and the first to third possible implementation manners of the sixth aspect, in a fourth possible implementation manner of the sixth aspect, the first service message further includes a first service interface rate and the first service The corresponding number of the first time slot.

结合第六方面及第六方面第一种至第四种可能的实施方式,在第六方面第五种可能的实施方式中,处理电路还用于提取第一业务消息中的第一业务接口速率或第一业务的对应的第一时隙数量。With reference to the sixth aspect and the first to fourth possible implementation manners of the sixth aspect, in a fifth possible implementation manner of the sixth aspect, the processing circuit is further configured to extract the first service interface rate in the first service message or the corresponding number of first time slots of the first service.

第七方面,本申请实施例提供了一种传送系统中业务类型适配装置,包括:In a seventh aspect, an embodiment of the present application provides a service type adaptation device in a transmission system, including:

接收单元,用于接收第一网络设备发送的第一业务消息,该第一业务消息包括第一业务类型指示信息,所述第一业务类型指示信息用于指示所述第二网络设备需要配置的业务类型为所述第一业务;A receiving unit, configured to receive a first service message sent by a first network device, where the first service message includes first service type indication information, where the first service type indication information is used to indicate that the second network device needs to be configured The service type is the first service;

处理单元,用于根据第一网络设备发送的第一业务消息提取第一业务类型指示信息;a processing unit, configured to extract the first service type indication information according to the first service message sent by the first network device;

处理单元,还用于第一业务类型配置,该第一业务类型配置包括所述第一业务接口速率配置。The processing unit is further configured to configure a first service type, where the first service type configuration includes the rate configuration of the first service interface.

在第七方面第一种可能的实施方式中,接收单元还用于接收第一业务信号。In a first possible implementation manner of the seventh aspect, the receiving unit is further configured to receive the first service signal.

结合第七方面及第七方面第一种可能的实施方式,在第七方面第二种可能的实施方式中,所述装置还包括发送单元,用于发送第一业务信号。With reference to the seventh aspect and the first possible implementation manner of the seventh aspect, in a second possible implementation manner of the seventh aspect, the apparatus further includes a sending unit configured to send the first service signal.

结合第七方面及第七方面第一种至第二种可能的实施方式,在第七方面第三种可能的实施方式中,接收单元接收第一网络设备发送的第一业务消息包括:通过线路开销接收第一网络设备发送的第一业务消息。With reference to the seventh aspect and the first to second possible implementation manners of the seventh aspect, in a third possible implementation manner of the seventh aspect, the receiving unit receiving the first service message sent by the first network device includes: The overhead receives the first service message sent by the first network device.

结合第七方面及第七方面第一种至第三种可能的实施方式,在第七方面第四种可能的实施方式中,第一业务消息还包括第一业务接口速率和所述第一业务的对应的所述第一时隙数量。With reference to the seventh aspect and the first to third possible implementation manners of the seventh aspect, in a fourth possible implementation manner of the seventh aspect, the first service message further includes a first service interface rate and the first service The corresponding number of the first time slot.

结合第七方面及第七方面第一种至第四种可能的实施方式,在第七方面第五种可能的实施方式中,处理单元还用于提取第一业务消息中的第一业务接口速率或第一业务的对应的第一时隙数量。With reference to the seventh aspect and the first to fourth possible implementation manners of the seventh aspect, in a fifth possible implementation manner of the seventh aspect, the processing unit is further configured to extract the first service interface rate in the first service message or the corresponding number of first time slots of the first service.

第八方面,本申请实施例又提供了一种在传送系统中业务类型适配的装置,该装置包括处理器,用于执行存储器中存储的程序,当程序被执行时,使得所述装置执行上述第五方面中所述的方法。In an eighth aspect, an embodiment of the present application further provides an apparatus for service type adaptation in a transmission system, the apparatus includes a processor configured to execute a program stored in a memory, and when the program is executed, the apparatus is made to execute The method described in the fifth aspect above.

在第八方面第一种可能的实施方式中,存储器存储的也可以是处理器执行编码方法过程中产生或使用的数据。例如,存储器是缓存。存储器可以是物理上独立的单元,也可以是云服务器上的存储空间或网络硬盘等。In a first possible implementation manner of the eighth aspect, the memory may also store data generated or used in the process of executing the encoding method by the processor. For example, the memory is the cache. The storage can be a physically independent unit, or a storage space on a cloud server or a network hard disk.

结合第八方面及第八方面第一种可能的实施方式,在第八方面第二种可能的实施方式中,所述存储器位于所述装置内。With reference to the eighth aspect and the first possible implementation manner of the eighth aspect, in a second possible implementation manner of the eighth aspect, the memory is located in the device.

结合第八方面及第八方面第一种至第二种可能的实施方式,在第八方面第三种可能的实施方式中,所述存储器与所述处理器集成在一起。With reference to the eighth aspect and the first to second possible implementation manners of the eighth aspect, in a third possible implementation manner of the eighth aspect, the memory is integrated with the processor.

结合第八方面及第八方面第一种至第三种可能的实施方式,在第八方面第四种可能的实施方式中,所述存储器位于所述装置之外。With reference to the eighth aspect and the first to third possible implementation manners of the eighth aspect, in a fourth possible implementation manner of the eighth aspect, the memory is located outside the device.

结合第八方面及第八方面第一种至第四种可能的实施方式,在第八方面第五种可能的实施方式中,处理器可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP)或者CPU和NP的组合。With reference to the eighth aspect and the first to fourth possible implementation manners of the eighth aspect, in a fifth possible implementation manner of the eighth aspect, the processor may be a central processing unit (central processing unit, CPU), a network processing A network processor (NP) or a combination of CPU and NP.

结合第八方面及第八方面第一种至第五种可能的实施方式,在第八方面第六种可能的实施方式中,处理器还可以是硬件芯片,可以是专用集成电路(application-specificintegrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(genericarray logic,GAL)或其任意组合。In combination with the eighth aspect and the first to fifth possible implementation manners of the eighth aspect, in the sixth possible implementation manner of the eighth aspect, the processor may also be a hardware chip, which may be an application-specific integrated circuit (application-specific integrated circuit). circuit, ASIC), programmable logic device (programmable logic device, PLD) or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.

结合第八方面及第八方面第一种至第六种可能的实施方式,在第八方面第七种可能的实施方式中,所述装置为基站或终端。With reference to the eighth aspect and the first to sixth possible implementation manners of the eighth aspect, in a seventh possible implementation manner of the eighth aspect, the apparatus is a base station or a terminal.

结合第八方面及第八方面第一种至第七种可能的实施方式,在第八方面第八种可能的实施方式中,所述装置为芯片或集成电路。With reference to the eighth aspect and the first to seventh possible implementation manners of the eighth aspect, in an eighth possible implementation manner of the eighth aspect, the device is a chip or an integrated circuit.

结合第八方面及第八方面第一种至第八种可能的实施方式,在第八方面第九种可能的实施方式中,所述装置还包括收发器,用于执行上述第七方面中发送单元和接收单元对应的操作步骤。With reference to the eighth aspect and the first to eighth possible implementation manners of the eighth aspect, in a ninth possible implementation manner of the eighth aspect, the apparatus further includes a transceiver, configured to perform the sending in the above seventh aspect The operation steps corresponding to the unit and the receiving unit.

第九方面,本申请实施例提供了一种传送系统中业务类型适配的系统,包括:第一网络设备和第二网络设备,该第一网络设备为上述第二方面中所描述的业务类型适配装置,该第二网络设备为上述第六方面中所描述的业务类型适配装置。In a ninth aspect, an embodiment of the present application provides a system for adapting service types in a transmission system, including: a first network device and a second network device, where the first network device is the service type described in the second aspect above An adaptation apparatus, where the second network device is the service type adaptation apparatus described in the sixth aspect.

第十方面,本申请实施例提供了一种传送系统中业务类型适配的系统,包括:第一网络设备和第二网络设备,该第一网络设备为上述第三方面中所描述的业务类型适配装置,该第二网络设备为上述第七方面中所描述的业务类型适配装置。In a tenth aspect, an embodiment of the present application provides a system for adapting service types in a transmission system, including: a first network device and a second network device, where the first network device is the service type described in the third aspect above An adaptation apparatus, where the second network device is the service type adaptation apparatus described in the seventh aspect.

第十一方面,本申请实施例提供了一种传送系统中业务类型适配的系统,包括:第一网络设备和第二网络设备,该第一网络设备为上述第四方面中所描述的业务类型适配装置,该第二网络设备为上述第八方面中所描述的业务类型适配装置。In an eleventh aspect, an embodiment of the present application provides a system for adapting service types in a transmission system, including: a first network device and a second network device, where the first network device is the service described in the fourth aspect above A type adaptation apparatus, where the second network device is the service type adaptation apparatus described in the eighth aspect above.

第十二方面,本申请实施例还提供了一种芯片。该芯片包括处理器和存储器;存储器用于存放程序;所述处理器用于执行所述存储器存储的所述程序,以执行上述方法第一方面或第五方面中所述的方法。In a twelfth aspect, an embodiment of the present application further provides a chip. The chip includes a processor and a memory; the memory is used for storing a program; the processor is used for executing the program stored in the memory, so as to execute the method described in the first aspect or the fifth aspect of the above method.

第十三方面,本申请实施例还提供了一种计算机可读存储介质,包括计算机可读指令,当计算机读取并执行所述计算机可读指令时,使得计算机执行上述方法第一方面或第五方面中所述的方法。In a thirteenth aspect, embodiments of the present application further provide a computer-readable storage medium, including computer-readable instructions, when the computer reads and executes the computer-readable instructions, the computer is made to execute the first aspect or the first aspect of the above method. The method described in the fifth aspect.

第十四方面,本申请实施例还提供了一种包含指令的计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行上述方法第一方面或第五方面中所述的方法。In a fourteenth aspect, the embodiments of the present application further provide a computer program product containing instructions, when the computer program product runs on a computer, the computer program product causes the computer to execute the method described in the first aspect or the fifth aspect of the above method.

本申请实施例提供了一种传送系统中业务类型适配的方法、装置及系统。该方法基于客户侧业务特征告警监控,确定客户侧业务类型,并自动决定是否进行时隙分配,为后续实现端到端业务传输自动适配提供先前条件,另外通过线路开销传输业务消息节省了信令开销。Embodiments of the present application provide a method, device, and system for service type adaptation in a transmission system. The method is based on client side service feature alarm monitoring, determines the client side service type, and automatically decides whether to allocate time slots, which provides previous conditions for subsequent automatic adaptation of end-to-end service transmission, and transmits service messages through line overhead to save information. make overhead.

附图说明Description of drawings

为了更清楚地说明本申请的实施例或现有技术中的技术方案,下面将对描述背景技术和实施例时所使用的附图作简单的介绍。显而易见地,下面附图中描述的仅仅是本申请的一部分实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图和描述得到其他的附图或实施例,而本申请旨在涵盖所有这些衍生的附图或实施例。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the accompanying drawings used in describing the background technology and the embodiments will be briefly introduced below. Obviously, the following drawings describe only a part of the embodiments of the present application. For those skilled in the art, other drawings or drawings can also be obtained according to these drawings and descriptions without creative efforts. embodiments, and this application is intended to cover all such derived figures or embodiments.

图1是一种在传送系统中业务类型适配的装置示意图;1 is a schematic diagram of a device for service type adaptation in a transmission system;

图2-A是本申请第一实施例提供的一种在传送系统中业务类型适配的方法流程图;FIG. 2-A is a flowchart of a method for service type adaptation in a transmission system provided by the first embodiment of the present application;

图2-B是本申请第一实施例提供的一种在传送系统中业务类型适配实体装置的示意图;2-B is a schematic diagram of a service type adaptation entity device in a transmission system provided by the first embodiment of the present application;

图3是本申请第一实施例提供的一种源端设备自动分配时隙的方法流程图;FIG. 3 is a flowchart of a method for automatically assigning time slots by a source device according to the first embodiment of the present application;

图4是本申请第二实施例提供的一种源端设备客户侧端口确定业务类型的方法流程图;4 is a flowchart of a method for determining a service type by a client-side port of a source-end device provided by the second embodiment of the present application;

图5是本申请第三实施例提供的一种源端设备客户侧端口应对客户侧业务类型变化的方法流程图;FIG. 5 is a flowchart of a method for a client-side port of a source-end device to respond to a client-side service type change provided by a third embodiment of the present application;

图6-A是本申请第四实施例提供的一种传送系统中业务类型适配方法的流程图;6-A is a flowchart of a service type adaptation method in a transmission system provided by the fourth embodiment of the present application;

图6-B是本申请第四实施例提供的一种传送系统中业务类型适配方法的流程图;6-B is a flowchart of a service type adaptation method in a transmission system provided by the fourth embodiment of the present application;

图6-C是本申请第四实施例提供的一种传送系统中业务类型适配方法的流程图;6-C is a flowchart of a service type adaptation method in a transmission system provided by the fourth embodiment of the present application;

图6-D是本申请第四实施例提供的一种传送系统中业务类型适配方法的流程图;6-D is a flowchart of a service type adaptation method in a transmission system provided by the fourth embodiment of the present application;

图6-E是本申请第四实施例提供的一种传送系统中业务类型适配方法的流程图;6-E is a flowchart of a service type adaptation method in a transmission system provided by the fourth embodiment of the present application;

图7是本申请第五实施例提供的一种传送系统中业务类型适配装置的示意图;7 is a schematic diagram of a service type adaptation device in a transmission system provided by a fifth embodiment of the present application;

图8是本申请第五实施例提供的一种传送系统中业务类型适配装置的示意图;8 is a schematic diagram of a service type adaptation device in a transmission system provided by a fifth embodiment of the present application;

图9是本申请第五实施例提供的一种传送系统中业务类型适配装置的示意图;9 is a schematic diagram of a service type adaptation device in a transmission system provided by a fifth embodiment of the present application;

图10是本申请第六实施例提供的一种传送系统中业务类型适配方法的流程图;10 is a flowchart of a service type adaptation method in a transmission system provided by the sixth embodiment of the present application;

图11是本申请第七实施例提供的一种传送系统中业务类型适配方法的流程图;11 is a flowchart of a service type adaptation method in a transmission system provided by a seventh embodiment of the present application;

图12是本申请第八实施例提供的一种传送系统中业务类型适配装置的示意图;12 is a schematic diagram of a service type adaptation apparatus in a transmission system provided by an eighth embodiment of the present application;

图13是本申请第八实施例提供的一种传送系统中业务类型适配装置的示意图;13 is a schematic diagram of a service type adaptation apparatus in a transmission system provided by an eighth embodiment of the present application;

图14是本申请第八实施例提供的一种传送系统中业务类型适配装置的示意图。FIG. 14 is a schematic diagram of an apparatus for adapting a service type in a transmission system according to an eighth embodiment of the present application.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

5G的无线网络,无论SA(Standalone,独立组网)还是NSA(Non-Standalone,非独立组网),无线网络的性能有了很大提升,但是从功能上说,基本继承了原来的3G/4G,逻辑信道、协议分层等。无线网络的功能,一般拆分成RRU(Remote Radio Unit,远端射频模块)和BBU(Building Baseband Unit,室内基带处理单元)。对于BBU的基带处理,可以再拆分成非实时的慢速处理模块(CU)和实时的快速处理模块(DU)。5G wireless network, whether SA (Standalone, independent networking) or NSA (Non-Standalone, non-independent networking), the performance of the wireless network has been greatly improved, but functionally, it basically inherits the original 3G/ 4G, logical channel, protocol layering, etc. The functions of the wireless network are generally divided into RRU (Remote Radio Unit, remote radio frequency module) and BBU (Building Baseband Unit, indoor baseband processing unit). For the baseband processing of the BBU, it can be further split into a non-real-time slow processing module (CU) and a real-time fast processing module (DU).

前传是指RRU与BBU之间的传输,承载固定码率的CPRI信号;回传是指BBU与核心网之间的传输,承载IP报文。The fronthaul refers to the transmission between the RRU and the BBU, carrying CPRI signals with a fixed code rate; the backhaul refers to the transmission between the BBU and the core network, carrying IP packets.

C-RAN是根据现网条件和技术进步的趋势提出的新型无线接入网构架,是基于集中化处理(Centralized Processing)、协作式无线电(Collaborative Radio)和实时云计算构架(Real-time Cloud Infrastructure)的绿色无线接入网构架(Clean system),其本质是通过实现减少基站机房数量,减少能耗,采用协作化、虚拟化技术,实现资源共享和动态调度,提高频谱效率,以达到低成本,高带宽和灵活度的运营。C-RAN的总目标是为解决移动互联网快速发展给运营商所带来的多方面挑战(能耗、建设运维成本、频谱资源等)追求未来可持续的业务和利润增长。C-RAN is a new radio access network architecture proposed according to the existing network conditions and the trend of technological progress. It is based on Centralized Processing, Collaborative Radio and Real-time Cloud Infrastructure. ) green wireless access network architecture (Clean system), its essence is to reduce the number of base station rooms, reduce energy consumption, use collaboration and virtualization technology, realize resource sharing and dynamic scheduling, improve spectrum efficiency, in order to achieve low cost , high-bandwidth and flexible operation. The overall goal of C-RAN is to pursue sustainable business and profit growth in the future in order to solve the various challenges (energy consumption, construction and operation costs, spectrum resources, etc.) brought by the rapid development of the mobile Internet to operators.

CPRI定义了REC(Radio Equipment Control,基站数据处理控制单元)与RE(RadioEquipment,基站收发单元)之间的接口关系,它的数据结构可以直接用于直放站的数据进行远端传输,成为基站的一种拉远系统。CPRI2对应的线速率为1.2288Gbps,CPRI3对应的线速率为2.4576Gbps,CPRI4对应的线速率为3.0720Gbps,CPRI5对应的线速率为4.9152Gbps,CPRI6对应的线速率为6.1440Gbps,CPRI7对应的线速率为9.8304Gbps,CPRI8对应的线速率为10.1376Gbps。CPRI defines the interface relationship between REC (Radio Equipment Control, base station data processing control unit) and RE (RadioEquipment, base station transceiver unit). Its data structure can be directly used for repeater data for remote transmission, becoming a base station A kind of remote system. The line rate corresponding to CPRI2 is 1.2288Gbps, the line rate corresponding to CPRI3 is 2.4576Gbps, the line rate corresponding to CPRI4 is 3.0720Gbps, the line rate corresponding to CPRI5 is 4.9152Gbps, the line rate corresponding to CPRI6 is 6.1440Gbps, and the line rate corresponding to CPRI7 It is 9.8304Gbps, and the line rate corresponding to CPRI8 is 10.1376Gbps.

eCPRI在CPRI之后发布,eCPRI标准定义了通过前传网络(Fronthaul TransportNetwork)连接eREC和eRE的规范,它用于5G系统LTE-Advanced(Long Term Evolution-Advanced,长期演进技术升级版)和LTE-Advanced Pro(Long Term Evolution-AdvancedPro,长期演进技术高级版)。eCPRI is released after CPRI. The eCPRI standard defines the specification for connecting eREC and eRE through the Fronthaul Transport Network. (Long Term Evolution-AdvancedPro, Long Term Evolution Technology Advanced Edition).

OBSAI定义了基站内部无线设备控制中心(Radio Equipment end Control,REC)与无线设备(Radio Equipment,RE)之间的标准接口。OBSAI defines a standard interface between a radio equipment control center (Radio Equipment end Control, REC) inside a base station and a radio equipment (Radio Equipment, RE).

以太网(Ethernet,ETH)是当今最广泛的局域网。IEEE组织的IEEE 802.3标准制定了以太网的技术标准,它规定了包括物理层的连线、电子信号和介质访问层协议的内容。以太网是目前应用最普遍的局域网技术,取代了其他局域网标准如令牌环、FDDI和ARCNET。Ethernet (Ethernet, ETH) is the most widespread local area network today. The IEEE 802.3 standard organized by IEEE has formulated the technical standard of Ethernet, which stipulates the content of the protocol including the connection of the physical layer, the electronic signal and the medium access layer. Ethernet is currently the most common LAN technology, replacing other LAN standards such as Token Ring, FDDI and ARCNET.

图1是一种在传送系统中业务类型适配的装置示意图。如图1所示,该装置100包括源端110和宿端120,源端110和宿端120之间通过100G/200G线路130传输。其中,源端110包括多业务映射解映射模块111和线路成帧解成帧模块112,宿端120包括线路成帧解成帧模块121和多业务映射解映射模块122。源端110接收客户侧业务140,客户侧业务140包括CPRI、OBSAI、eCPRI、ETH等业务类型。该方法主要通过人工获取传送设备客户侧业务140的业务类型、速率等信息,人工手动配置源端110客户侧业务类型、速率,根据客户侧业务速率,人工分配线路侧时隙数量和位置;源端110将业务信息封装到数据通信网络DCN报文中并通过100G/200G线路130传递到宿端,宿端120从DCN报文中解析出业务信息并下发给硬件,以实现源宿端配置保持一致。传送设备一般包括BBU、RRU以及以太网设备,其中源端110一般部署在BBU侧,宿端120一般部署在RRU侧。人工进行配置的过程中获取数据主要依赖用户下发。FIG. 1 is a schematic diagram of an apparatus for service type adaptation in a transmission system. As shown in FIG. 1 , the apparatus 100 includes a source end 110 and a sink end 120 , and the transmission between the source end 110 and the sink end 120 is through a 100G/200G line 130 . The source end 110 includes a multi-service mapping and de-mapping module 111 and a line framing and de-framing module 112 , and the sink end 120 includes a line framing and de-framing module 121 and a multi-service mapping and de-mapping module 122 . The source end 110 receives the client-side service 140, and the client-side service 140 includes service types such as CPRI, OBSAI, eCPRI, and ETH. The method mainly obtains information such as the service type and rate of the client side service 140 of the transmission equipment manually, manually configures the client side service type and rate of the source end 110 manually, and manually allocates the number and position of the line side time slots according to the client side service rate; The end 110 encapsulates the service information into the data communication network DCN message and transmits it to the sink end through the 100G/200G line 130. The sink end 120 parses the service information from the DCN message and sends it to the hardware to realize the configuration of the source and sink ends. be consistent. The transmission equipment generally includes BBU, RRU, and Ethernet equipment, wherein the source end 110 is generally deployed on the BBU side, and the sink end 120 is generally deployed on the RRU side. In the process of manual configuration, the data obtained mainly depends on the user's delivery.

由于传送设备客户侧设备种类繁多,人工完全获取客户侧业务类型费时费力,同时,客户侧设备本身支持多种业务,修改业务类型时要联动修改传送设备配置,人工操作不方便。而且目前的传送设备没有自动适应适配的能力,只能要求无线设备使用固定速率模式,无线CPRI端口协议支持运行过程中动态切换接口速率的功能无法使用。Due to the wide variety of transmission equipment client-side equipment, it is time-consuming and laborious to manually obtain the client-side service type. At the same time, the client-side equipment itself supports a variety of services. When modifying the service type, the configuration of the transmission equipment needs to be modified in conjunction, which is inconvenient for manual operation. Moreover, the current transmission equipment does not have the ability to automatically adapt, and can only require the wireless equipment to use a fixed rate mode. The function of the wireless CPRI port protocol to support dynamic switching of interface rates during operation cannot be used.

图2-A是本申请第一实施例提供的一种在传送系统中业务类型适配的方法流程图。本申请中提供的方法和装置可以应用于包括OTN在内的所有支持混合业务传送的管道技术中。FIG. 2-A is a flowchart of a method for service type adaptation in a transmission system provided by the first embodiment of the present application. The method and apparatus provided in this application can be applied to all pipeline technologies that support hybrid service transmission including OTN.

一种在传送系统中业务类型适配的方法,该方法由源端设备210、宿端设备220和100G/200G线路230执行,如图2-B所示,其中,源端设备210包括客户侧配置切换模块211、业务识别和告警监控模块212、带宽分配控制信息生成模块213、多业务映射解映射模块214、线路成帧解帧模块215;宿端设备220包括线路成帧解帧模块221、客户侧配置切换模块222、带宽分配控制信息解析模块223、多业务映射解映射模块224。A method for service type adaptation in a transmission system, the method is performed by the source end device 210, the sink end device 220 and the 100G/200G line 230, as shown in Figure 2-B, wherein the source end device 210 includes the client side Configuration switching module 211, service identification and alarm monitoring module 212, bandwidth allocation control information generation module 213, multi-service mapping and de-mapping module 214, line framing and de-framing module 215; sink device 220 includes line framing and de-framing module 221, The client side configuration switching module 222 , the bandwidth allocation control information parsing module 223 , and the multi-service mapping and demapping module 224 .

一种在传送系统中业务类型适配的方法,如图2-A所示,对于执行类步骤,以S为首字母编号,对于判断类步骤,以J为首字母编号,包括:A method for service type adaptation in a transmission system, as shown in Figure 2-A, for the execution class step, with S as the initial number, for the judgment class step, with J as the initial number, including:

步骤S20:源端客户侧业务类型配置。随后进入步骤S21。Step S20: Service type configuration on the source client side. Then proceed to step S21.

源端设备中,每个客户侧端口对应一个客户侧配置切换模块,源端客户侧业务类型在预设业务集合范围内轮流切换;由客户侧配置切换模块完成业务类型配置,该业务类型配置包括客户侧不同设备之间的接口和不同速率数据处理路径的配置。In the source device, each client side port corresponds to a client side configuration switching module, and the source client side service type is switched in turn within the preset service set range; the client side configuration switching module completes the service type configuration, and the service type configuration includes: Configuration of interfaces between different devices on the client side and data processing paths at different rates.

步骤S21:源端设备读取预设客户侧告警集合。随后进入步骤J20。Step S21: The source-end device reads the preset client-side alarm set. Then proceed to step J20.

源端设备中客户侧配置切换模块完成业务类型配置后,业务识别和告警监控模块读取该配置下的预设客户侧告警集合。客户侧告警集合包括物理层告警,如:CPRI业务可使用CPRI LOS(Loss of Signal,信号损失)告警和CPRI LOF(Loss of Frame,帧丢失)告警;GE业务可使用同步丢失LOSS of SYNC告警。After the client-side configuration switching module in the source device completes the service type configuration, the service identification and alarm monitoring module reads the preset client-side alarm set under the configuration. The client-side alarm set includes physical layer alarms. For example, CPRI services can use CPRI LOS (Loss of Signal, loss of signal) alarms and CPRI LOF (Loss of Frame, loss of frames) alarms; GE services can use LOSS of SYNC alarms.

LOF告警:每个超帧的同步控制信息K28.5所在的位置和数据都是固定的,而且每个超帧的传输速率也是固定的(255*1chip),因此传输每两个同步控制信息的时间间隔就是固定的;因此判断LOF告警的机制就是,从上一次检测到K28.5开始计时,到固定时间间隔再检测是否K28.5的数据,如果不是,就认为数据对不齐,有丢帧,逻辑内部有平滑机制,如果超出门限即上报LOF告警。LOF alarm: The location and data of the synchronization control information K28.5 of each superframe are fixed, and the transmission rate of each superframe is also fixed (255*1chip). The time interval is fixed; therefore, the mechanism for judging the LOF alarm is to start timing from the last detection of K28.5, and then check whether the data of K28.5 is at a fixed time interval. If not, it is considered that the data is out of alignment and lost. Frame, there is a smoothing mechanism inside the logic, if the threshold is exceeded, an LOF alarm is reported.

LOS告警:判断光链路中是否有光信号,通常由光模块或Serdes(serializing/deserializing circuitry,串行并行电路)硬件来检测,通过光电转换后判断光信号的强度,一旦低于强度门限,上报告警,由于是硬件检测,通常是由物理连接导致。LOS alarm: to judge whether there is an optical signal in the optical link, it is usually detected by the optical module or Serdes (serializing/deserializing circuitry, serial-parallel circuit) hardware, and the intensity of the optical signal is judged after photoelectric conversion. The above alarm is usually caused by a physical connection due to hardware detection.

值得注意的是,本申请所提及的告警“拉起”包括英文“assert”的含义,即:Setthe alarm to its“active”state(告警设置为“激活”状态);本申请所提及告警“撤销”包括英文“deassert”的含义,即:Set the alarm to its“inactive”state(告警设置为“未激活”状态)。It is worth noting that the alarm "pull" mentioned in this application includes the meaning of "assert" in English, namely: Set the alarm to its "active" state; the alarm mentioned in this application "Deassert" includes the meaning of "deassert" in English, namely: Set the alarm to its "inactive" state (the alarm is set to the "inactive" state).

步骤J20:源端设备判断业务类型配置与实际客户侧业务类型是否匹配,是,则进入步骤S22;否,则进入步骤S20。Step J20: The source-end device determines whether the service type configuration matches the actual client-side service type. If yes, then go to step S22; if not, go to step S20.

业务识别和告警监控模块进行监控,在业务匹配判断时间窗T1内(T1时间长度可预设),如果对应告警保持撤销状态(中间不可以间断)的时间达到匹配门限T2(T2时间长度可预设),则认为当前的客户侧配置与实际客户侧业务类型匹配,随后进入步骤S22;否则,认为当前的客户侧配置与实际客户侧业务不匹配,则进入步骤S20。The service identification and alarm monitoring module monitors, and within the service matching judgment time window T1 (the time length of T1 can be preset), if the corresponding alarm remains in the canceled state (it cannot be interrupted in the middle), the time reaches the matching threshold T2 (the time length of T2 can be preset). If ), it is considered that the current client side configuration matches the actual client side service type, and then proceeds to step S22; otherwise, it is considered that the current client side configuration does not match the actual client side service, and then proceeds to step S20.

步骤S22:源端设备自动计算线路侧时隙数量。随后进入步骤S23。Step S22: The source device automatically calculates the number of time slots on the line side. Then proceed to step S23.

根据确定的源端客户侧业务类型和速率,自动计算所需线路侧时隙数量。According to the determined service type and rate on the source client side, the required number of line side time slots is automatically calculated.

步骤S23:源端设备自动分配线路侧空闲时隙。Step S23: The source-end device automatically allocates idle time slots on the line side.

源端设备自动搜寻线路侧空闲时隙,分配给客户侧业务。The source device automatically searches for idle time slots on the line side and allocates them to client-side services.

这里本申请第一实施例提供了一种源端设备自动分配时隙的方法,如图3所示。Here, the first embodiment of the present application provides a method for automatically allocating time slots by a source device, as shown in FIG. 3 .

以源端设备共15个客户侧端口、线路侧OTU4(80个1.25G时隙)为例。在源端设备中设计一个有效地址范围为0~79的时隙分配表格,地址0~79分别对应线路侧80个时隙。表格的数据位宽为4-bit,其中0~14依次表示该时隙已被客户侧端口0~14占用、15表示该时隙空闲。当客户侧端口N(N<15)适配为10GE业务类型,时隙分配的过程如下:Take the source device with a total of 15 client-side ports and line-side OTU4 (80 1.25G time slots) as an example. A time slot allocation table with an effective address range of 0 to 79 is designed in the source device, and addresses 0 to 79 correspond to 80 time slots on the line side respectively. The data bit width of the table is 4-bit, where 0 to 14 indicate that the time slot has been occupied by ports 0 to 14 on the client side in turn, and 15 indicates that the time slot is free. When the client-side port N (N<15) is adapted to the 10GE service type, the time slot allocation process is as follows:

步骤301:获取10GE业务对应的时隙数目。Step 301: Obtain the number of time slots corresponding to the 10GE service.

通过查表获取10GE业务对应的时隙数目为8个,并将待分配时隙计数器设置为8。The number of timeslots corresponding to the 10GE service is obtained by looking up the table, and the number of timeslots to be allocated is set to 8.

步骤302:将空闲时隙计数器清零。Step 302: Clear the idle time slot counter to zero.

步骤303:统计空闲时隙数量。Step 303: Count the number of idle time slots.

依次读取时隙分配表格地址0~79。如果读出值为15,将空闲时隙计数器加1;如果读出值为N,将空闲时隙计数器加1,并将该地址的数据修改为15。Read the time slot allocation table addresses 0 to 79 in sequence. If the read value is 15, the idle time slot counter is incremented by 1; if the read value is N, the idle time slot counter is incremented by 1, and the data of this address is modified to 15.

步骤304:判断是否启动时隙分配。Step 304: Determine whether to enable time slot allocation.

完成对时隙分配表格的遍历后,如果空闲时隙计数器小于8,即空闲带宽不足够传输10GE业务,进入步骤306;如果空闲时隙计数器大于或等于8,即空闲带宽足够传输10GE,启动时隙分配,进入步骤305。After completing the traversal of the time slot allocation table, if the idle time slot counter is less than 8, that is, the idle bandwidth is not enough to transmit 10GE services, go to step 306; slot allocation, go to step 305 .

步骤305:分配时隙。随后进入步骤S24。Step 305: Allocate time slots. Then proceed to step S24.

依次读取时隙分配表格地址0~79,如果读出值为15并且待分配时隙计数器大于0,将待分配时隙计数器减1,并将改地址的数据修改为N,完成对时隙分配表格的遍历后,时隙分配结束。Read the addresses 0 to 79 of the time slot allocation table in turn. If the read value is 15 and the time slot counter to be allocated is greater than 0, the counter of the time slot to be allocated is decremented by 1, and the data of the changed address is modified to N, and the time slot allocation is completed. After the traversal of the allocation table, the time slot allocation ends.

步骤306:向客户侧返回时隙分配失败告警,并结束方法,不执行S24~S26、J21的步骤,等待客户侧后续指示。Step 306: Return the time slot allocation failure alarm to the client side, and end the method, do not execute the steps of S24-S26 and J21, and wait for the client side's subsequent instructions.

时隙分配失败告警用于指示线路侧空闲带宽不足以传输业务。The time slot allocation failure alarm is used to indicate that the idle bandwidth on the line side is insufficient to transmit services.

步骤S24:源端设备将客户侧业务信息发送到宿端设备。随后进入S25。Step S24: The source-end device sends the client-side service information to the sink-end device. Then proceed to S25.

源端设备中带宽分配控制信息生成模块利用线路侧上线路开销把客户侧业务信息送到宿端,该客户侧业务信息包括业务类型、业务速率、分配时隙数等。通过线路开销传输可以节省信令开销。The bandwidth allocation control information generation module in the source device uses the line overhead on the line side to send the client-side service information to the sink end, and the client-side service information includes service type, service rate, number of allocated time slots, and the like. Signaling overhead can be saved through line overhead transmission.

步骤S25:宿端设备提取客户侧业务信息并完成客户侧业务接口配置。Step S25: The sink device extracts the client-side service information and completes the client-side service interface configuration.

宿端设备带宽分配控制信息解析模块从线路侧线路开销中提取客户侧业务信息,根据提取的客户侧业务信息控制业务解映射,宿端设备的客户侧配置切换模块完成宿端的客户侧业务类型配置。The bandwidth allocation control information parsing module of the sink device extracts the client-side service information from the line-side line overhead, and controls the service demapping according to the extracted client-side service information. The client-side configuration switching module of the sink-end device completes the configuration of the client-side service type at the sink end. .

该客户侧业务信息包括业务类型、业务速率、分配时隙数等,该业务类型配置包括客户侧不同设备之间的接口和不同速率数据处理路径的配置。The service information on the client side includes service type, service rate, and the number of allocated time slots, and the configuration of the service type includes the configuration of interfaces between different devices on the client side and data processing paths at different rates.

步骤J21:源端设备监控源端客户侧业务类型是否发生变化。Step J21: The source-end device monitors whether the service type of the source-end client side changes.

传送业务运行过程中,业务识别和告警监控模块进行监控,在业务失配判断时间窗T3内(T3时间长度可预设),如果对应告警拉起状态的累计时间(中间可以有间断)达到失配门限T4(T4时间长度可预设),则认为实际客户侧业务类型发生了变化,进入S20;否则进入S26。During the operation of the transmission service, the service identification and alarm monitoring module monitors, and within the service mismatch judgment time window T3 (the time length of T3 can be preset), if the accumulated time corresponding to the alarm pulling state (with interruptions in the middle) reaches the time limit. If the threshold T4 is configured (the time length of T4 can be preset), it is considered that the actual client-side service type has changed, and the process goes to S20; otherwise, it goes to S26.

步骤S26:继续传送业务。Step S26: Continue to transmit the service.

传送过程继续进行,客户侧配置切换模块不执行切换业务。The transfer process continues, and the client-side configuration switching module does not perform the switching service.

若客户侧设备支持动态切换业务类型或接口速率,通常切换周期为秒(s)级。客户侧切换业务类型或接口速率后,硬件实现客户侧告警检测,完成时间在微秒(us)级别;硬件实现客户侧速率重配和告警检测,完成时间在毫秒(ms)级别。即使对于全硬件实现的电路,一种业务类型或接口速率的尝试,对应源端步骤S20~步骤S24,花费时间不会超过10ms,那么对于客户侧设备秒(s)级的业务类型切换周期,采用完全遍历设备支持的业务类型来找到所需业务类型进行适配的方法是完全可行的。If the client-side device supports dynamic switching of service types or interface rates, the switching period is usually in seconds (s). After the client side switches the service type or interface rate, the hardware implements the client side alarm detection, and the completion time is at the microsecond (us) level; the hardware implements the client side rate reconfiguration and alarm detection, and the completion time is at the millisecond (ms) level. Even for a fully hardware-implemented circuit, an attempt of a service type or interface rate, corresponding to steps S20 to S24 at the source end, will not take more than 10ms, then for the second (s)-level service type switching cycle of the client device, It is completely feasible to find the required service type for adaptation by completely traversing the service types supported by the device.

本申请第一实施例提供了一种在传送系统中业务类型适配的方法,源端客户侧业务类型配置后,源端设备读取该配置下预设客户侧告警集合,源端设备判断业务类型配置与实际业务类型匹配后,源端设备自动计算线路侧所需时隙数量并自动分配线路侧空闲时隙,源端设备将客户侧业务信息发送给宿端设备,实现源宿端配置一致。该方法基于客户侧业务特征告警监控,确定客户侧业务类型,自动分配线路时隙数量,实现端到端业务传输自动适配。The first embodiment of the present application provides a method for service type adaptation in a transmission system. After the service type is configured on the source end client side, the source end device reads the preset client side alarm set under the configuration, and the source end device determines the service type. After the type configuration matches the actual service type, the source device automatically calculates the number of time slots required on the line side and automatically allocates idle time slots on the line side. The source device sends the client-side service information to the sink device to achieve consistent source and sink configurations. . The method is based on alarm monitoring of client side service characteristics, determines the client side service type, automatically allocates the number of line time slots, and realizes automatic adaptation of end-to-end service transmission.

需要说明的是,除非特殊说明,一个实施例中针对一些技术特征的具体描述也可以应用于解释其他实施例提及对应的技术特征。例如,在一个实施例中关于CPRI LOS告警、CPRI LOF告警和LOSS of SYNC告警的说明,可以适用于其他所有实施例中的CPRI LOS告警、CPRI LOF告警和LOSS of SYNC告警。It should be noted that, unless otherwise specified, the specific description of some technical features in one embodiment may also be applied to explain the corresponding technical features mentioned in other embodiments. For example, the description about CPRI LOS alarm, CPRI LOF alarm and LOSS of SYNC alarm in one embodiment may be applicable to CPRI LOS alarm, CPRI LOF alarm and LOSS of SYNC alarm in all other embodiments.

本申请第二实施例提供了一种传送系统中源端设备客户侧端口确定业务类型的方法。The second embodiment of the present application provides a method for determining a service type by a client-side port of a source device in a transmission system.

本申请这里以某BBU设备业务类型CPRI3、对应源端客户侧端口预设业务类型集合CPRI3~CPRI5为例,CPRI2对应的线速率为1.2288Gbps,CPRI3对应的线速率为2.4576Gbps,CPRI4对应的线速率为3.0720Gbps,CPRI5对应的线速率为4.9152Gbps,CPRI6对应的线速率为6.1440Gbps,CPRI7对应的线速率为9.8304Gbps,CPRI8对应的线速率为10.1376Gbps。This application takes the service type CPRI3 of a BBU device and the preset service type set CPRI3 to CPRI5 corresponding to the source client port as an example. The line rate corresponding to CPRI2 is 1.2288Gbps, the line rate corresponding to CPRI3 is 2.4576Gbps, and the line rate corresponding to CPRI4 The rate is 3.0720Gbps, the line rate corresponding to CPRI5 is 4.9152Gbps, the line rate corresponding to CPRI6 is 6.1440Gbps, the line rate corresponding to CPRI7 is 9.8304Gbps, and the line rate corresponding to CPRI8 is 10.1376Gbps.

如图4所示,本申请实施例提供的一种传送系统中源端设备客户侧端口确定业务类型的方法,包括:As shown in FIG. 4 , a method for determining a service type by a client-side port of a source device in a transmission system provided by an embodiment of the present application includes:

步骤401、客户侧业务类型切换至CPRI5,适配失败。In step 401, the client side service type is switched to CPRI5, and the adaptation fails.

源端设备客户侧配置切换模块将客户侧业务类型切换至CPRI5,将高速接口速率配置为4.9152Gbps。业务识别和告警监控模块进行监控,由于实际业务类型不匹配,所以CPRI LOS告警和CPRI LOF告警保持拉起状态,不满足在T1时间窗内告警保持撤销状态(中间不可以间断)达到T2时间的条件(T1>T2,T1、T2可预设),CPRI5业务适配失败。The client side configuration switching module of the source device switches the client side service type to CPRI5, and configures the high-speed interface rate to 4.9152Gbps. The service identification and alarm monitoring modules are monitored. Because the actual service types do not match, the CPRI LOS alarm and the CPRI LOF alarm remain in the raised state. Condition (T1>T2, T1, T2 can be preset), CPRI5 service adaptation fails.

源端设备中客户侧配置切换模块完成业务类型配置后,业务识别和告警监控模块读取该配置下的预设客户侧告警集合。客户侧告警集合包括物理层告警,如:CPRI业务可使用CPRI LOS(Loss of Signal,信号损失)告警和CPRI LOF(Loss of Frame,帧丢失)告警;GE业务可使用LOSS of SYNC告警。After the client-side configuration switching module in the source device completes the service type configuration, the service identification and alarm monitoring module reads the preset client-side alarm set under the configuration. The client side alarm set includes physical layer alarms. For example, CPRI services can use CPRI LOS (Loss of Signal, loss of signal) alarms and CPRI LOF (Loss of Frame, loss of frames) alarms; GE services can use LOSS of SYNC alarms.

步骤402、客户侧业务类型切换至CPRI4,适配失败。Step 402, the client side service type is switched to CPRI4, and the adaptation fails.

源端设备客户侧配置切换模块将客户侧业务类型切换至CPRI4,将高速接口速率配置为3.072Gbps。业务识别和告警监控模块进行监控,由于实际业务类型不匹配,所以CPRI LOS告警和CPRI LOF告警保持拉起状态;不满足在T1时间窗内告警保持撤销状态(中间不可以间断)达到T2时间的条件(T1>T2,T1、T2可预设),CPRI4业务适配失败。The client side configuration switching module of the source device switches the client side service type to CPRI4, and configures the high-speed interface rate to 3.072Gbps. The service identification and alarm monitoring module performs monitoring. Because the actual service types do not match, the CPRI LOS alarm and CPRI LOF alarm remain in the raised state; if the alarm is not satisfied within the T1 time window, the alarm remains in the canceled state (it cannot be interrupted in the middle) and reaches the T2 time. Condition (T1>T2, T1 and T2 can be preset), CPRI4 service adaptation fails.

步骤403、客户侧业务类型切换至CPRI3,适配成功。Step 403, the client side service type is switched to CPRI3, and the adaptation is successful.

源端设备客户侧配置切换模块将客户侧业务类型切换至CPRI3,将高速接口速率配置为2.4576Gbps。业务识别和告警监控模块进行监控,由于实际业务类型匹配,所以CPRILOS告警和CPRI LOF告警在(T1-T2)时间之内撤销(T1>T2,T1、T2可预设),满足在T1时间窗内告警保持撤销状态(中间不可以间断)达到T2时间的条件,CPRI3业务适配成功。The client side configuration switching module of the source device switches the client side service type to CPRI3, and configures the high-speed interface rate to 2.4576Gbps. The service identification and alarm monitoring module monitors. Since the actual service type matches, the CPRILOS alarm and the CPRI LOF alarm are canceled within the (T1-T2) time (T1>T2, T1, T2 can be preset), which satisfies the T1 time window. If the internal alarm remains in the canceled state (it cannot be interrupted in the middle) and reaches the time T2, the CPRI3 service adaptation is successful.

本申请第三实施例提供了一种源端设备客户侧端口应对客户侧业务类型变化的方法。The third embodiment of the present application provides a method for a client-side port of a source-end device to cope with changes in client-side service types.

本申请这里以某BBU设备业务类型由CPRI3变成CPRI1、对应源端客户侧端口预设业务集合CPRI1~CPRI3为例,CPRI2对应的线速率为1.2288Gbps,CPRI3对应的线速率为2.4576Gbps,CPRI4对应的线速率为3.0720Gbps,CPRI5对应的线速率为4.9152Gbps,CPRI6对应的线速率为6.1440Gbps,CPRI7对应的线速率为9.8304Gbps,CPRI8对应的线速率为10.1376Gbps。In this application, the service type of a BBU device is changed from CPRI3 to CPRI1, and the preset service set CPRI1 to CPRI3 corresponding to the source client port is taken as an example. The line rate corresponding to CPRI2 is 1.2288Gbps, the line rate corresponding to CPRI3 is 2.4576Gbps, and CPRI4 The corresponding line rate is 3.0720Gbps, the line rate corresponding to CPRI5 is 4.9152Gbps, the line rate corresponding to CPRI6 is 6.1440Gbps, the line rate corresponding to CPRI7 is 9.8304Gbps, and the line rate corresponding to CPRI8 is 10.1376Gbps.

如图5所示,本申请实施例提供的一种源端设备客户侧端口应对客户侧业务类型变化的方法,包括:As shown in FIG. 5 , a method for a client-side port of a source-end device to cope with a client-side service type change provided by an embodiment of the present application includes:

步骤501、客户侧业务类型变化,源端设备业务失配。Step 501 , the client-side service type changes, and the source-end device service is mismatched.

源端设备客户侧业务类型原先已适配到CPRI3。业务识别和告警监控模块进行监控,由于实际业务类型发生变化,所以CPRI LOS告警和CPRI LOF告警保持拉起状态,满足在T3时间窗内告警拉起状态累计时间(中间可以有间断)达到T4时间的条件(T3>T4,T3、T4可预设),CPRI3业务失配。The client-side service type of the source device was originally adapted to CPRI3. The service identification and alarm monitoring module performs monitoring. Due to the change of the actual service type, the CPRI LOS alarm and the CPRI LOF alarm remain in the raised state, which satisfies the accumulated time of the alarm raised state within the T3 time window (there may be a gap in the middle) to reach the time of T4. (T3>T4, T3, T4 can be preset), CPRI3 service mismatch.

源端设备中客户侧配置切换模块完成业务类型配置后,业务识别和告警监控模块读取该配置下的预设客户侧告警集合。客户侧告警集合包括物理层告警,如:CPRI业务可使用CPRI LOS(Loss of Signal,信号损失)告警和CPRI LOF(Loss of Frame,帧丢失)告警;GE业务可使用LOSS of SYNC告警。After the client-side configuration switching module in the source device completes the service type configuration, the service identification and alarm monitoring module reads the preset client-side alarm set under the configuration. The client side alarm set includes physical layer alarms. For example, CPRI services can use CPRI LOS (Loss of Signal, loss of signal) alarms and CPRI LOF (Loss of Frame, loss of frames) alarms; GE services can use LOSS of SYNC alarms.

步骤502、客户侧业务类型切换至CPRI2,适配失败。Step 502, the client side service type is switched to CPRI2, and the adaptation fails.

源端设备客户侧配置切换模块将客户侧业务类型切换至CPRI2,将高速接口速率配置为1.2288Gbps。业务识别和告警监控模块进行监控,由于实际业务类型不匹配,所以CPRI LOS告警和CPRI LOF告警保持拉起状态,不满足在T1时间窗内告警保持撤销状态(中间不可以间断)达到T2时间的条件(T1>T2,T1、T2可预设),CPRI2业务适配失败。The client side configuration switching module of the source device switches the client side service type to CPRI2, and configures the high-speed interface rate to 1.2288Gbps. The service identification and alarm monitoring modules are monitored. Because the actual service types do not match, the CPRI LOS alarm and the CPRI LOF alarm remain in the raised state. Condition (T1>T2, T1 and T2 can be preset), CPRI2 service adaptation fails.

步骤503、客户侧业务类型切换至CPRI1,适配成功。Step 503, the client side service type is switched to CPRI1, and the adaptation is successful.

源端设备客户侧配置切换模块将客户侧业务类型切换至CPRI1,将高速接口速率配置为0.6144Gbps。业务识别和告警监控模块进行监控,由于实际业务类型匹配,所以CPRILOS告警和CPRI LOF告警在(T1-T2)时间之内撤销,满足在T1时间窗内告警保持撤销状态(中间不可以间断)达到T2时间的条件(T1>T2,T1、T2可预设),CPRI1业务适配成功。The client side configuration switching module of the source device switches the client side service type to CPRI1, and configures the high-speed interface rate to 0.6144Gbps. The service identification and alarm monitoring module performs monitoring. Because the actual service types match, the CPRILOS alarm and the CPRI LOF alarm are cancelled within the (T1-T2) time, which satisfies that the alarm remains cancelled within the T1 time window (it cannot be interrupted in the middle). Condition of T2 time (T1>T2, T1, T2 can be preset), CPRI1 service adaptation is successful.

本申请第四实施例提供了一种传送系统中业务类型适配的方法,值得注意的是,本申请所提及的告警“拉起”包括英文“assert”的含义,即:Set the alarm to its“active”state(告警设置为“激活”状态);本申请所提及告警“撤销”包括英文“deassert”的含义,即:Set the alarm to its“inactive”state(告警设置为“未激活”状态)。The fourth embodiment of this application provides a method for adapting service types in a transmission system. It is worth noting that the alarm "pull" mentioned in this application includes the meaning of "assert" in English, that is: Set the alarm to its “active” state (the alarm is set to the “active” state); the alarm “deassert” mentioned in this application includes the meaning of the English “deassert”, namely: Set the alarm to its “inactive” state (the alarm is set to “inactive” "state).

需要说明的是,本申请的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以本申请未描述的顺序实施。“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系。例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。方法实施例中的具体操作方法也可以应用于装置实施例中。It should be noted that the terms "first", "second" and the like in this application are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It should be understood that data so used may be interchanged under appropriate circumstances so that the embodiments described herein can be practiced in sequences not described herein. "And/or" is used to describe the association relationship of associated objects, indicating that there can be three kinds of relationships. For example, A and/or B can mean that A exists alone, A and B exist at the same time, and B exists alone. The specific operation methods in the method embodiments can also be applied to the apparatus embodiments.

如图6-A所示,本申请实施例提供的一种在传送系统中业务类型适配的方法,包括:As shown in FIG. 6-A, a method for service type adaptation in a transmission system provided by an embodiment of the present application includes:

步骤601、第一网络设备切换到第一业务,并完成第一业务类型配置,第一业务类型配置包括第一业务接口速率配置。Step 601: The first network device switches to the first service, and completes the configuration of the first service type, where the first service type configuration includes the first service interface rate configuration.

第一业务类型配置还包括第一业务映射解映射配置和第一业务线路成帧解帧配置。The first service type configuration further includes a first service mapping and de-mapping configuration and a first service line framing and de-framing configuration.

步骤602、第一网络设备获取第一业务类型配置下预设的第一告警集合,该第一告警集合包括一个或多个业务错误指示告警。Step 602: The first network device acquires a first set of alarms preset under the configuration of the first service type, where the first set of alarms includes one or more service error indication alarms.

业务错误指示告警包括如下告警中的一个或多个:信号损失LOS告警、帧丢失LOF告警和同步丢失LOSS of SYNC告警。The service error indication alarm includes one or more of the following alarms: signal loss LOS alarm, frame loss LOF alarm and synchronization loss LOSS of SYNC alarm.

步骤603、第一网络设备检测第一告警集合在T1时间内保持撤销状态的时间达到T2(中间不可以间断),T1、T2为预先设置的时间长度,T1大于等于T2。满足该条件可继续执行步骤604。Step 603: The first network device detects that the first alarm set remains in the canceled state within the time T1 and reaches T2 (interruption is not possible), where T1 and T2 are preset time lengths, and T1 is greater than or equal to T2. If the condition is satisfied, step 604 can be continued.

步骤604、根据第一业务接口速率判断是否分配第一业务的线路侧时隙。Step 604: Determine whether to allocate a line-side time slot of the first service according to the interface rate of the first service.

可选地,第一网络设备切换到第一业务之前,即步骤601之前,如图6-B所示,所述业务类型适配的方法还包括:Optionally, before the first network device switches to the first service, that is, before step 601, as shown in FIG. 6-B, the method for adapting the service type further includes:

步骤601B、第一网络设备切换第二业务,并完成第二业务类型配置,该第二业务类型配置包括第二业务速率配置;Step 601B, the first network device switches the second service, and completes the second service type configuration, where the second service type configuration includes the second service rate configuration;

第二业务类型配置还包括第二业务映射解映射配置和第二业务线路成帧解帧配置。The second service type configuration further includes a second service mapping and de-mapping configuration and a second service line framing and de-framing configuration.

步骤602B、第一网络设备获取第二业务类型配置下预设的第二告警集合,该第二告警集合包括一个或多个所述业务错误指示告警;Step 602B: The first network device acquires a second set of alarms preset under the configuration of the second service type, where the second set of alarms includes one or more of the service error indication alarms;

步骤603B、第一网络设备检测该第二告警集合不满足在T3时间内保持撤销状态的时间达到T4(中间可以有间断),T3、T4为预先设置的时间长度,T3大于等于T4。Step 603B: The first network device detects that the second alarm set does not meet the requirement of maintaining the revoked state within the time T3 to reach T4 (interruptions may occur in the middle), where T3 and T4 are preset time lengths, and T3 is greater than or equal to T4.

可选地,第一网络设备切换到第一业务之前,即步骤601之前,如图6-C所示,所述业务类型适配的方法还包括:Optionally, before the first network device switches to the first service, that is, before step 601, as shown in FIG. 6-C, the method for adapting the service type further includes:

步骤601C、第一网络设备获取第三业务类型配置下预设的第三告警集合,该第三告警集合包括一个或多个所述业务错误指示告警;Step 601C, the first network device acquires a third set of alarms preset under the configuration of the third service type, where the third set of alarms includes one or more of the service error indication alarms;

步骤602C、第一网络设备检测所述第三告警集合在T5时间内保持拉起状态的时间累计达到T6(中间可以有间断),T5、T6为预先设置的时间长度,T5大于等于T6。Step 602C: The first network device detects that the third alarm set remains in the pulled state within the time T5 and the accumulated time reaches T6 (interruptions may occur in the middle), where T5 and T6 are preset time lengths, and T5 is greater than or equal to T6.

具体地,步骤604,如图6-D所示,具体包括:Specifically, step 604, as shown in FIG. 6-D, specifically includes:

步骤604D-1、第一网络设备根据第一业务接口速率获取第一业务的对应的第一时隙数量;Step 604D-1, the first network device obtains the number of first time slots corresponding to the first service according to the first service interface rate;

步骤604D-2、第一网络设备统计线路侧空闲时隙数量;Step 604D-2, the first network device counts the number of idle time slots on the line side;

步骤604D-3、第一网络设备比较第一时隙数量与空闲时隙数量的大小,若第一时隙数量大于空闲时隙数量,则第一网络设备发送时隙分配失败告警,该时隙分配失败告警用于指示线路侧空闲带宽不足以传输第一业务;若第一时隙数量小于等于空闲时隙数量,则第一网络设备启动时隙分配。Step 604D-3: The first network device compares the number of the first time slot and the number of idle time slots. If the number of the first time slot is greater than the number of idle time slots, the first network device sends a time slot allocation failure alarm, and the time slot The allocation failure alarm is used to indicate that the idle bandwidth on the line side is insufficient to transmit the first service; if the number of the first time slots is less than or equal to the number of idle time slots, the first network device starts time slot allocation.

可选地,如图6-E所示,第一网络设备启动时隙分配之后,第一网络设备还会与第二网络设备交互,即:Optionally, as shown in FIG. 6-E, after the first network device starts time slot allocation, the first network device will also interact with the second network device, that is:

步骤601E、第一网络设备启动时隙分配。Step 601E: The first network device starts time slot allocation.

步骤602E、第一网络设备将第一业务消息发送给第二网络设备,该第一业务消息包括第一业务类型指示信息,该第一业务类型指示信息用于指示第二网络设备需要配置的业务类型为第一业务。Step 602E: The first network device sends a first service message to the second network device, where the first service message includes first service type indication information, where the first service type indication information is used to indicate a service that needs to be configured by the second network device Type is the first business.

第一业务消息还包括第一业务接口速率和所述第一业务的对应的所述第一时隙数量。第一网络设备将第一业务消息发送给第二网络设备,包括:第一网络设备通过线路开销将第一业务消息发送给第二网络设备,在OTN领域即是通过OTN开销传输,节省了信令开销。The first service message further includes the first service interface rate and the corresponding first time slot number of the first service. The first network device sends the first service message to the second network device, including: the first network device sends the first service message to the second network device through line overhead, and in the OTN field, it is transmitted through OTN overhead, saving information. make overhead.

步骤603E、第一网络设备向第二网络设备传输第一业务信号。Step 603E: The first network device transmits the first service signal to the second network device.

本申请第四实施例提供了一种传送系统中业务类型适配的方法,第一网络设备切换到第一业务,并完成第一业务类型配置;第一网络设备获取第一业务类型配置下预设的第一告警集合,该第一告警集合包括一个或多个业务错误指示告警;第一网络设备检测所述第一告警集合在T1时间内保持撤销状态的时间达到T2,根据所述第一业务接口速率判断是否分配所述第一业务的线路侧时隙。该方法基于客户侧业务特征告警监控,确定客户侧业务类型,并自动决定是否进行时隙分配,为后续实现端到端业务传输自动适配提供先前条件。The fourth embodiment of the present application provides a method for adapting a service type in a transmission system. The first network device switches to the first service and completes the configuration of the first service type; the first network device obtains the pre-configured first service type configuration The set first alarm set, the first alarm set includes one or more service error indication alarms; the first network device detects that the first alarm set remains in the canceled state within the time T1 and reaches T2, according to the first alarm set. The service interface rate judges whether to allocate the line-side time slot of the first service. Based on the alarm monitoring of client side service characteristics, the method determines the client side service type, and automatically decides whether to allocate time slots, so as to provide previous conditions for the subsequent realization of automatic adaptation of end-to-end service transmission.

本申请第五实施例提供了一种传送系统中业务类型适配的装置。如图7所示,一种传输系统中业务类型适配的装置700,包括:处理单元701、存储单元702,The fifth embodiment of the present application provides an apparatus for service type adaptation in a transmission system. As shown in FIG. 7, an apparatus 700 for service type adaptation in a transmission system includes: a processing unit 701, a storage unit 702,

处理单元701,用于获取所述第一业务类型配置下预设的第一告警集合,该第一告警集合包括一个或多个业务错误指示告警;A processing unit 701, configured to obtain a preset first alarm set under the first service type configuration, where the first alarm set includes one or more service error indication alarms;

处理单元701,还用于检测第一告警集合在T1时间内保持撤销状态的时间达到T2,T1、T2为预先设置的时间长度,T1大于等于T2;The processing unit 701 is further configured to detect that the time that the first alarm set remains in the canceled state within the time T1 reaches T2, where T1 and T2 are preset time lengths, and T1 is greater than or equal to T2;

存储单元702,用于存储第一告警集合;a storage unit 702, configured to store the first alarm set;

处理单元701,还用于判断是否分配所述第一业务的线路侧时隙。The processing unit 701 is further configured to determine whether to allocate a line-side time slot of the first service.

业务错误指示告警包括如下告警中的其中一个或多个:信号损失LOS告警、帧丢失LOF告警和同步丢失LOSS of SYNC告警。第一业务类型配置还包括第一业务映射解映射配置和第一业务线路成帧解帧配置。The service error indication alarm includes one or more of the following alarms: signal loss LOS alarm, frame loss LOF alarm and synchronization loss LOSS of SYNC alarm. The first service type configuration further includes a first service mapping and de-mapping configuration and a first service line framing and de-framing configuration.

可选地,处理单元701,还用于切换到第一业务和第一业务类型配置,该第一业务类型配置包括所述第一业务接口速率配置。Optionally, the processing unit 701 is further configured to switch to a first service and a first service type configuration, where the first service type configuration includes the first service interface rate configuration.

可选地,处理单元701还用于执行下述动作:Optionally, the processing unit 701 is further configured to perform the following actions:

切换第二业务和第二业务类型配置,该第二业务类型配置包括第二业务速率配置;switching a second service and a second service type configuration, where the second service type configuration includes a second service rate configuration;

获取第二业务类型配置下预设的第二告警集合,该第二告警集合包括一个或多个所述业务错误指示告警;Acquire a preset second alarm set under the second service type configuration, where the second alarm set includes one or more of the service error indication alarms;

检测到第二告警集合不满足在T3时间内保持撤销状态的时间达到T4,所述T3、T4为预先设置的时间长度,T3大于等于T4。It is detected that the second alarm set does not meet the requirement of maintaining the revoked state within the time T3 and reaches T4, where T3 and T4 are preset time lengths, and T3 is greater than or equal to T4.

可选地,处理单元701还用于执行下述动作:Optionally, the processing unit 701 is further configured to perform the following actions:

获取第三业务类型配置下预设的第三告警集合,该第三告警集合包括一个或多个所述业务错误指示告警;acquiring a third set of alarms preset under the configuration of the third service type, where the third set of alarms includes one or more of the service error indication alarms;

检测到第三告警集合在T5时间内保持拉起状态的时间累计达到T6,T5、T6为预先设置的时间长度,T5大于等于T6。It is detected that the time that the third alarm set remains in the pulled-up state within the time T5 reaches T6, where T5 and T6 are preset time lengths, and T5 is greater than or equal to T6.

具体地,处理单元701判断是否分配所述第一业务的线路侧时隙,具体包括下述动作:Specifically, the processing unit 701 determines whether to allocate the line-side time slot of the first service, which specifically includes the following actions:

计算所述第一业务的对应的第一时隙数量;calculating the corresponding number of first time slots of the first service;

统计线路侧空闲时隙数量;Count the number of idle time slots on the line side;

比较第一时隙数量与空闲时隙数量的大小,若所述第一时隙数量小于等于所述空闲时隙数量,则所述处理单元701启动时隙分配。Comparing the size of the number of the first time slot and the number of idle time slots, if the number of the first time slot is less than or equal to the number of the idle time slot, the processing unit 701 starts time slot allocation.

可选地,业务类型适配的装置700还包括发送单元703,发送单元703用于:Optionally, the apparatus 700 for service type adaptation further includes a sending unit 703, and the sending unit 703 is configured to:

若所述第一时隙数量大于所述空闲时隙数量,则发送单元703输出时隙分配失败告警,该时隙分配失败告警用于指示线路侧空闲带宽不足以传输所述第一业务。If the number of the first time slots is greater than the number of idle time slots, the sending unit 703 outputs a time slot allocation failure alarm, where the time slot allocation failure alarm is used to indicate that the idle bandwidth on the line side is insufficient to transmit the first service.

可选地,在处理单元701启动时隙分配后,发送单元703还可用于执行下述动作:Optionally, after the processing unit 701 starts the time slot allocation, the sending unit 703 may also be configured to perform the following actions:

输出第一业务消息,该第一业务消息包括第一业务类型指示信息,该第一业务类型指示信息用于指示第二网络设备需要配置的业务类型为第一业务;outputting a first service message, where the first service message includes first service type indication information, where the first service type indication information is used to indicate that the service type that needs to be configured on the second network device is the first service;

向第二网络设备发送第一业务信号。Send the first service signal to the second network device.

发送单元703输出第一业务消息,包括通过线路开销输出第一业务消息。第一业务消息包括第一业务类型、第一业务接口速率和所述第一业务的对应的所述第一时隙数量。The sending unit 703 outputs the first service message, including outputting the first service message through line overhead. The first service message includes a first service type, a first service interface rate, and the corresponding first time slot number of the first service.

本申请实施例可以根据上述方法示例对传送系统中业务类型适配装置进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。例如,处理单元701的执行动作可以由一或多个芯片执行。In this embodiment of the present application, the service type adaptation device in the transmission system may be divided into functional modules according to the foregoing method examples. For example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. in the module. It should be noted that, the division of modules in the embodiments of the present application is schematic, and is only a logical function division, and there may be other division manners in actual implementation. For example, the execution of the processing unit 701 may be performed by one or more chips.

由于本申请实施例提供的业务类型适配装置实体可用于执行上述实现传送系统中业务类型适配的方法,因此其所能获得的技术效果可参考上述方法实施例,在此不再赘述。Since the service type adaptation device entity provided in the embodiment of the present application can be used to execute the above method for implementing service type adaptation in a transmission system, the technical effect that can be obtained may refer to the above method embodiments, which will not be repeated here.

上述实施例所述的传送系统中业务类型适配的方法的部分或者全部可以通过硬件来实现也可以通过软件来实现,当通过软件来实现时,如图8所示为本申请提供的另外一种传送系统中业务类型适配装置800的结构示意图,传送系统中业务类型适配装置800包括:Part or all of the method for service type adaptation in the transmission system described in the above embodiments can be implemented by hardware or by software. When implemented by software, as shown in FIG. A schematic structural diagram of a service type adaptation device 800 in a transmission system, the service type adaptation device 800 in the transmission system includes:

处理器801,用于执行存储器802或存储器803或存储器804中存储的程序,当程序被执行时,使得所述装置执行上述任一实施例所述的方法。The processor 801 is configured to execute the program stored in the memory 802, the memory 803, or the memory 804, and when the program is executed, the apparatus executes the method described in any of the foregoing embodiments.

存储器802或存储器803或存储器804存储的也可以是处理器执行编码方法过程中产生或使用的数据。例如,存储器是缓存。存储器可以是物理上独立的单元,也可以是云服务器上的存储空间或网络硬盘等。The memory 802 or the memory 803 or the memory 804 may also store data generated or used by the processor during the execution of the encoding method. For example, the memory is the cache. The storage can be a physically independent unit, or a storage space on a cloud server or a network hard disk.

可选的,所述存储器802位于所述装置内。Optionally, the memory 802 is located in the device.

可选的,所述存储器803与所述处理器801集成在一起。Optionally, the memory 803 is integrated with the processor 801 .

可选的,所述存储器804位于所述装置之外。Optionally, the memory 804 is located outside the device.

处理器801可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP)或者CPU和NP的组合。The processor 801 may be a central processing unit (CPU), a network processor (NP), or a combination of CPU and NP.

处理器801还可以是硬件芯片,可以是专用集成电路(application-specificintegrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(genericarray logic,GAL)或其任意组合。The processor 801 may also be a hardware chip, which may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.

本申请实施例中的存储器(或存储单元702)可以包括易失性存储器(volatilememory),例如随机存取存储器(random-access memory,RAM);存储器也可以包括非易失性存储器(non-volatile memory),例如快闪存储器(flash memory),硬盘(hard diskdrive,HDD)或固态硬盘(solid-state drive,SSD)、云存储(cloud storage)、网络附接存储(Network Attached Storage,NAS)、网盘(network drive)等;存储器还可以包括上述种类的存储器的组合或者其他具有存储功能的任意形态的介质或产品。The memory (or the storage unit 702 ) in this embodiment of the present application may include a volatile memory (volatile memory), such as random-access memory (random-access memory, RAM); the memory may also include a non-volatile memory (non-volatile memory) memory), such as flash memory (flash memory), hard disk drive (HDD) or solid-state drive (SSD), cloud storage (cloud storage), Network Attached Storage (NAS), A network drive, etc.; the memory may also include a combination of the above-mentioned types of memory or any other medium or product with a storage function.

可选的,所述装置为基站或终端。Optionally, the apparatus is a base station or a terminal.

可选的,所述装置为芯片或集成电路。Optionally, the device is a chip or an integrated circuit.

该总线806可以分为地址总线、数据总线、控制总线等。为便于表示,图8中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The bus 806 can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is used in FIG. 8, but it does not mean that there is only one bus or one type of bus.

本申请实施例所提供的收发器805包括以太网接口等网络接口。收发器805用于执行上述方法实施例中发送单元703对应的操作。The transceiver 805 provided in this embodiment of the present application includes a network interface such as an Ethernet interface. The transceiver 805 is configured to perform operations corresponding to the sending unit 703 in the foregoing method embodiments.

当通过硬件实现时,图9所示为本申请提供的一种传送系统中业务类型适配装置900的结构示意图,该业务类型适配装置900包括:输入接口901、处理电路902、输出接口903,输入接口901,用于获取第一业务类型配置下预设的第一告警集合,该第一告警集合包括一个或多个业务错误指示告警;When implemented by hardware, FIG. 9 shows a schematic structural diagram of a service type adaptation apparatus 900 in a transmission system provided by the present application. The service type adaptation apparatus 900 includes: an input interface 901 , a processing circuit 902 , and an output interface 903 , the input interface 901 is used to obtain a preset first alarm set under the first service type configuration, where the first alarm set includes one or more service error indication alarms;

处理电路902,用于检测第一告警集合在T1时间内保持撤销状态的时间达到T2,T1、T2为预先设置的时间长度,T1大于等于T2;The processing circuit 902 is configured to detect that the time that the first alarm set remains in the canceled state within the time T1 reaches T2, where T1 and T2 are preset time lengths, and T1 is greater than or equal to T2;

处理电路902,还用于判断是否分配第一业务的线路侧时隙。The processing circuit 902 is further configured to determine whether to allocate a line-side time slot of the first service.

可选地,处理电路902,还用于切换到第一业务和第一业务类型配置,该第一业务类型配置包括所述第一业务接口速率配置。Optionally, the processing circuit 902 is further configured to switch to a first service and a first service type configuration, where the first service type configuration includes the first service interface rate configuration.

可选地,处理电路902还用于切换第二业务和第二业务类型配置,第二业务类型配置包括第二业务速率配置;Optionally, the processing circuit 902 is further configured to switch the second service and the second service type configuration, where the second service type configuration includes the second service rate configuration;

输入接口901,还用于获取第二业务类型配置下预设的第二告警集合,该第二告警集合包括一个或多个所述业务错误指示告警;The input interface 901 is further configured to obtain a preset second alarm set under the second service type configuration, where the second alarm set includes one or more of the service error indication alarms;

处理电路902,还用于检测第二告警集合不满足在T3时间内保持撤销状态的时间达到T4,T3、T4为预先设置的时间长度,T3大于等于T4。The processing circuit 902 is further configured to detect that the second alarm set does not meet the requirement of maintaining the revoked state within the time T3 and reaches T4, where T3 and T4 are preset time lengths, and T3 is greater than or equal to T4.

可选地,输入接口901,还用于获取第三业务类型配置下预设的第三告警集合,该第三告警集合包括一个或多个所述业务错误指示告警;Optionally, the input interface 901 is further configured to obtain a preset third alarm set under the configuration of the third service type, where the third alarm set includes one or more of the service error indication alarms;

处理电路902,还用于检测第三告警集合在T5时间内保持拉起状态的时间累计达到T6,T5、T6为预先设置的时间长度,T5大于等于T6。The processing circuit 902 is further configured to detect that the accumulated time that the third alarm set remains in the pulled-up state within the time T5 reaches T6, where T5 and T6 are preset time lengths, and T5 is greater than or equal to T6.

具体地,处理电路902判断是否分配所述第一业务的线路侧时隙,具体包括以下操作:Specifically, the processing circuit 902 determines whether to allocate the line-side time slot of the first service, which specifically includes the following operations:

计算所述第一业务的对应的第一时隙数量;calculating the corresponding number of first time slots of the first service;

统计线路侧空闲时隙数量;Count the number of idle time slots on the line side;

比较第一时隙数量与空闲时隙数量的大小,若所述第一时隙数量小于等于所述空闲时隙数量,则处理电路902启动时隙分配。Comparing the size of the number of the first time slot and the number of idle time slots, if the number of the first time slot is less than or equal to the number of the idle time slot, the processing circuit 902 starts time slot allocation.

可选地,输出接口903用于:Optionally, the output interface 903 is used for:

若所述第一时隙数量大于所述空闲时隙数量,则输出接口903输出时隙分配失败告警,该时隙分配失败告警用于指示线路侧空闲带宽不足以传输第一业务。If the number of the first time slots is greater than the number of idle time slots, the output interface 903 outputs a time slot allocation failure alarm, which is used to indicate that the idle bandwidth on the line side is insufficient to transmit the first service.

可选地,在处理电路902启动时隙分配之后,输出接口903还可用于:Optionally, after the processing circuit 902 initiates the time slot allocation, the output interface 903 can also be used for:

输出第一业务消息,该第一业务消息包括第一业务类型指示信息,第一业务类型指示信息用于指示第二网络设备需要配置的业务类型为第一业务;outputting a first service message, where the first service message includes first service type indication information, where the first service type indication information is used to indicate that the service type that needs to be configured on the second network device is the first service;

向第二网络设备发送第一业务信号。Send the first service signal to the second network device.

可选地,业务类型适配装置900还包括存储器,所述存储器用于存储第一告警集合或第二、第三告警集合。Optionally, the service type adaptation apparatus 900 further includes a memory, where the memory is configured to store the first alarm set or the second and third alarm sets.

其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。Wherein, all relevant contents of the steps involved in the above method embodiments can be cited in the functional descriptions of the corresponding functional modules, which will not be repeated here.

本申请第六实施例还提供了一种传送系统中业务类型适配的方法,如图10所示,包括:The sixth embodiment of the present application also provides a method for service type adaptation in a transmission system, as shown in FIG. 10 , including:

步骤1001、第一网络设备切换到第一业务,并完成第一业务类型配置,该第一业务类型配置包括第一业务接口速率配置。Step 1001: The first network device switches to the first service, and completes the configuration of the first service type, where the first service type configuration includes the first service interface rate configuration.

步骤1002、第一网络设备读取第一业务类型配置下预设的第一告警集合,该第一告警集合包括一个或多个告警。Step 1002: The first network device reads a first alarm set preset under the first service type configuration, where the first alarm set includes one or more alarms.

步骤1003、第一网络设备检测第一告警集合在T1时间内保持撤销状态(中间不可以间断)的时间达到T2,T1、T2为预先设置的时间长度,T1大于等于T2。Step 1003: The first network device detects that the first alarm set remains in the canceled state within the time T1 (it cannot be interrupted in the middle) and reaches T2, where T1 and T2 are preset time lengths, and T1 is greater than or equal to T2.

步骤1004、第一网络设备分配第一业务的线路侧时隙。Step 1004: The first network device allocates a line-side time slot of the first service.

步骤1005、第一网络设备将第一业务消息发送给第二网络设备,该第一业务消息包括第一业务类型指示信息,所述第一业务类型指示信息用于指示所述第二网络设备需要配置的业务类型为所述第一业务。Step 1005: The first network device sends a first service message to the second network device, where the first service message includes first service type indication information, and the first service type indication information is used to indicate that the second network device needs to The configured service type is the first service.

可选地,在步骤1001之前,所述方法还包括:Optionally, before step 1001, the method further includes:

第一网络设备切换第二业务,并完成第二业务类型配置,该第二业务类型配置包括第二业务速率配置;The first network device switches the second service, and completes the second service type configuration, where the second service type configuration includes the second service rate configuration;

第一网络设备读取第二业务类型配置下预设的第二告警集合;The first network device reads the second alarm set preset under the second service type configuration;

第一网络设备检测所述第二告警集合不满足在T3时间内保持撤销状态(中间不可以间断)的时间达到T4,T3、T4为预先设置的时间长度,T3大于等于T4。The first network device detects that the second alarm set does not meet the requirement of maintaining the canceled state within the time T3 (it cannot be interrupted in the middle) and reaches T4, where T3 and T4 are preset time lengths, and T3 is greater than or equal to T4.

可选地,在步骤1001之前,所述方法还包括:Optionally, before step 1001, the method further includes:

第一网络设备读取第三业务类型配置下预设的第三告警集合;The first network device reads the third alarm set preset under the configuration of the third service type;

第一网络设备检测第三告警集合在T5时间内保持拉起状态的时间累计(中间可以有间断)达到T6,T5、T6为预先设置的时间长度,T5大于等于T6。The first network device detects that the third alarm set remains in the pull-up state within the time T5, and the accumulated time (interruptions may be in the middle) reaches T6, where T5 and T6 are preset time lengths, and T5 is greater than or equal to T6.

具体地,第一网络设备分配第一业务的线路侧时隙,具体包括:Specifically, the first network device allocates the line-side time slot of the first service, which specifically includes:

第一网络设备获取第一业务的对应的第一时隙数量;The first network device obtains the number of first time slots corresponding to the first service;

第一网络设备统计线路侧空闲时隙数量;The first network device counts the number of idle time slots on the line side;

第一网络设备比较第一时隙数量与空闲时隙数量的大小,若第一时隙数量小于等于空闲时隙数量,则第一网络设备启动时隙分配。The first network device compares the size of the number of the first time slot and the number of idle time slots, and if the number of the first time slot is less than or equal to the number of idle time slots, the first network device starts time slot allocation.

其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到本实施例中相关描述,在此不再赘述。Wherein, all relevant contents of the steps involved in the foregoing method embodiments can be cited from the relevant descriptions in this embodiment, and details are not repeated here.

本申请第七实施例又提供了一种传送系统中业务类型适配的方法。如图11所示,一种传送系统中业务类型适配的方法,包括:The seventh embodiment of the present application further provides a method for service type adaptation in a transmission system. As shown in Figure 11, a method for service type adaptation in a transmission system includes:

步骤1101、第二网络设备接收第一网络设备发送的第一业务消息,该第一业务消息包括第一业务类型指示信息,所述第一业务类型指示信息用于指示所述第二网络设备需要配置的业务类型为所述第一业务。Step 1101: The second network device receives a first service message sent by the first network device, where the first service message includes first service type indication information, and the first service type indication information is used to indicate that the second network device needs to The configured service type is the first service.

可选地,第二网络设备接收第一网络设备发送的第一业务消息,包括:第二网络设备接收第一网络设备通过线路开销发送的第一业务消息。第一业务消息还包括第一业务接口速率和所述第一业务的对应的所述第一时隙数量。Optionally, the second network device receiving the first service message sent by the first network device includes: the second network device receiving the first service message sent by the first network device through line overhead. The first service message further includes the first service interface rate and the corresponding first time slot number of the first service.

步骤1102、第二网络设备提取业务信息。Step 1102: The second network device extracts service information.

第二网络设备从线路开销中提取客户侧业务信息,包括第一业务类型指示信息,还包括第一业务接口速率、第一业务的对应的所述第一时隙数量等。The second network device extracts the client-side service information from the line overhead, including the first service type indication information, and also includes the first service interface rate, the number of the first time slot corresponding to the first service, and the like.

步骤1103、第二网络设备完成业务类型配置。Step 1103: The second network device completes the service type configuration.

第二网络设备根据提取的业务信息,控制业务解映射、完成第二网络设备的客户侧接口配置。The second network device controls the service demapping according to the extracted service information, and completes the configuration of the client-side interface of the second network device.

可选地,该方法还包括:Optionally, the method further includes:

步骤1104、第二网络设备接收第一网络设备输出的第一业务信号。Step 1104: The second network device receives the first service signal output by the first network device.

步骤1105、第二网络设备输出第一业务信号。Step 1105: The second network device outputs the first service signal.

其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到本实施例中相关描述,在此不再赘述。Wherein, all relevant contents of the steps involved in the foregoing method embodiments can be cited from the relevant descriptions in this embodiment, and details are not repeated here.

本申请第八实施例再提供了一种传送系统中业务类型适配的装置。如图12所示,一种传送系统中业务类型适配装置1200,包括:The eighth embodiment of the present application further provides an apparatus for adapting service types in a transmission system. As shown in FIG. 12, a service type adaptation apparatus 1200 in a transmission system includes:

接收单元1201,用于接收第一网络设备发送的第一业务消息,该第一业务消息包括第一业务类型指示信息,所述第一业务类型指示信息用于指示所述第二网络设备需要配置的业务类型为所述第一业务;A receiving unit 1201, configured to receive a first service message sent by a first network device, where the first service message includes first service type indication information, where the first service type indication information is used to indicate that the second network device needs to be configured The service type of is the first service;

处理单元1202,用于根据第一网络设备发送的第一业务消息提取第一业务类型指示信息;A processing unit 1202, configured to extract the first service type indication information according to the first service message sent by the first network device;

处理单元1202,还用于第一业务类型配置,该第一业务类型配置包括所述第一业务接口速率配置;The processing unit 1202 is further configured to configure a first service type, where the first service type configuration includes the first service interface rate configuration;

可选地,接收单元1201,还用于接收第一业务信号。Optionally, the receiving unit 1201 is further configured to receive the first service signal.

可选地,业务类型适配装置1200还包括发送单元1203,用于发送第一业务信号。Optionally, the service type adaptation apparatus 1200 further includes a sending unit 1203, configured to send the first service signal.

接收单元1201接收第一网络设备发送的第一业务消息包括:通过线路开销接收第一网络设备发送的第一业务消息。The receiving unit 1201 receiving the first service message sent by the first network device includes: receiving the first service message sent by the first network device through line overhead.

第一业务消息还包括第一业务接口速率和所述第一业务的对应的所述第一时隙数量。The first service message further includes the first service interface rate and the corresponding first time slot number of the first service.

可选地,处理单元1202还用于提取第一业务消息中的第一业务接口速率或第一业务的对应的第一时隙数量。Optionally, the processing unit 1202 is further configured to extract the first service interface rate or the corresponding first time slot quantity of the first service in the first service message.

上述实施例所述的传送系统中业务类型适配的方法的部分或者全部可以通过硬件来实现也可以通过软件来实现,当通过软件来实现时,如图13所示为本申请提供的另外一种传送系统中业务类型适配装置1300的结构示意图,传送系统中业务类型适配装置1300包括:Part or all of the method for service type adaptation in the transmission system described in the above embodiment can be implemented by hardware or by software. When implemented by software, as shown in FIG. 13 , another method provided by the present application A schematic structural diagram of a service type adaptation device 1300 in a transmission system, the service type adaptation device 1300 in the transmission system includes:

处理器1301,用于执行存储器1302或存储器1303或存储器1304中存储的程序,当程序被执行时,使得所述装置执行上述任一实施例所述的方法。The processor 1301 is configured to execute the program stored in the memory 1302, the memory 1303, or the memory 1304, and when the program is executed, make the apparatus execute the method described in any of the foregoing embodiments.

存储器1302或存储器1303或存储器1304存储的也可以是处理器执行编码方法过程中产生或使用的数据。例如,存储器是缓存。存储器可以是物理上独立的单元,也可以是云服务器上的存储空间或网络硬盘等。The memory 1302 or the memory 1303 or the memory 1304 may also store data generated or used by the processor during the execution of the encoding method. For example, the memory is the cache. The storage can be a physically independent unit, or a storage space on a cloud server or a network hard disk.

可选的,所述存储器1302位于所述装置内。Optionally, the memory 1302 is located in the device.

可选的,所述存储器1303与所述处理器1201集成在一起。Optionally, the memory 1303 is integrated with the processor 1201 .

可选的,所述存储器1304位于所述装置之外。Optionally, the memory 1304 is located outside the device.

处理器1301可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP)或者CPU和NP的组合。The processor 1301 may be a central processing unit (CPU), a network processor (NP), or a combination of CPU and NP.

处理器1301还可以是硬件芯片,可以是专用集成电路(application-specificintegrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(genericarray logic,GAL)或其任意组合。The processor 1301 may also be a hardware chip, which may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.

本申请实施例中的存储器可以包括易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM);存储器也可以包括非易失性存储器(non-volatile memory),例如快闪存储器(flash memory),硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD)、云存储(cloud storage)、网络附接存储(NetworkAttached Storage,NAS)、网盘(network drive)等;存储器还可以包括上述种类的存储器的组合或者其他具有存储功能的任意形态的介质或产品。The memory in the embodiments of the present application may include volatile memory (volatile memory), such as random-access memory (random-access memory, RAM); the memory may also include non-volatile memory (non-volatile memory), such as fast memory Flash memory (flash memory), hard disk drive (HDD) or solid-state drive (SSD), cloud storage (cloud storage), Network Attached Storage (NAS), network drive (network drive) ), etc.; the memory may also include a combination of the above-mentioned types of memory or any other medium or product with a storage function.

可选的,所述装置为基站或终端。Optionally, the apparatus is a base station or a terminal.

可选的,所述装置为芯片或集成电路。Optionally, the device is a chip or an integrated circuit.

该总线1306可以分为地址总线、数据总线、控制总线等。为便于表示,图13中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The bus 1306 can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is used in FIG. 13, but it does not mean that there is only one bus or one type of bus.

本申请实施例所提供的收发器1305包括以太网接口等网络接口。收发器1305用于执行上述接收单元1201和发送单元1203对应的操作。The transceiver 1305 provided in this embodiment of the present application includes a network interface such as an Ethernet interface. The transceiver 1305 is configured to perform the operations corresponding to the above-mentioned receiving unit 1201 and transmitting unit 1203 .

当通过硬件实现时,图14所示为本申请提供的一种传送系统中业务类型适配装置1400的结构示意图,该业务类型适配装置1400包括:When implemented by hardware, FIG. 14 shows a schematic structural diagram of a service type adaptation apparatus 1400 in a transmission system provided by the present application. The service type adaptation apparatus 1400 includes:

输入接口1401,用于获取第一网络设备发送的第一业务消息,该第一业务消息包括第一业务类型指示信息,所述第一业务类型指示信息用于指示所述第二网络设备需要配置的业务类型为所述第一业务;The input interface 1401 is used to obtain a first service message sent by a first network device, where the first service message includes first service type indication information, and the first service type indication information is used to indicate that the second network device needs to be configured The service type of is the first service;

处理电路1402,用于根据第一网络设备发送的第一业务消息提取第一业务类型指示信息;a processing circuit 1402, configured to extract the first service type indication information according to the first service message sent by the first network device;

处理电路1402,还用于第一业务类型配置,所述第一业务类型配置包括所述第一业务接口速率配置。The processing circuit 1402 is further configured to configure a first service type, where the first service type configuration includes a rate configuration of the first service interface.

可选地,输入接口1401还用于获取第一网络设备发送的第一业务信号。Optionally, the input interface 1401 is further configured to acquire the first service signal sent by the first network device.

可选地,业务类型适配装置1400还包括输出接口1403,输出接口1403,用于输出第一业务信号。Optionally, the service type adaptation apparatus 1400 further includes an output interface 1403, and the output interface 1403 is used for outputting the first service signal.

第一业务消息还包括第一业务接口速率和所述第一业务的对应的所述第一时隙数量。The first service message further includes the first service interface rate and the corresponding first time slot number of the first service.

可选地,处理电路1402还用于提取第一业务消息中的第一业务接口速率或第一业务的对应的第一时隙数量。Optionally, the processing circuit 1402 is further configured to extract the first service interface rate or the corresponding first time slot quantity of the first service in the first service message.

本申请第九实施例提供了一种传送系统中业务类型适配的系统,包括:第一网络设备和第二网络设备,该第一网络设备为图7对应的实施例中所描述的业务类型适配装置700,该第二网络设备为图12对应的实施例中所描述的业务类型适配装置1200。A ninth embodiment of the present application provides a system for adapting service types in a transmission system, including: a first network device and a second network device, where the first network device is the service type described in the embodiment corresponding to FIG. 7 The adaptation apparatus 700, the second network device is the service type adaptation apparatus 1200 described in the embodiment corresponding to FIG. 12 .

本申请第十实施例提供了一种传送系统中业务类型适配的系统,包括:第一网络设备和第二网络设备,该第一网络设备为图8对应的实施例中所描述的业务类型适配装置800,该第二网络设备为图13对应的实施例中所描述的业务类型适配装置1300。The tenth embodiment of the present application provides a system for adapting service types in a transmission system, including: a first network device and a second network device, where the first network device is the service type described in the embodiment corresponding to FIG. 8 The adaptation apparatus 800, the second network device is the service type adaptation apparatus 1300 described in the embodiment corresponding to FIG. 13 .

本申请第十一实施例提供了一种传送系统中业务类型适配的系统,包括:第一网络设备和第二网络设备,该第一网络设备为图9对应的实施例中所描述的业务类型适配装置900,该第二网络设备为图14对应的实施例中所描述的业务类型适配装置1400。The eleventh embodiment of the present application provides a system for adapting service types in a transmission system, including: a first network device and a second network device, where the first network device is the service described in the embodiment corresponding to FIG. 9 . Type adaptation apparatus 900, the second network device is the service type adaptation apparatus 1400 described in the embodiment corresponding to FIG. 14 .

本申请第十二实施例提供了一种芯片。该芯片包括处理器和存储器;存储器用于存放程序;所述处理器用于执行所述存储器存储的所述程序,以执行上述方法实施例中所述的方法。A twelfth embodiment of the present application provides a chip. The chip includes a processor and a memory; the memory is used to store a program; the processor is used to execute the program stored in the memory, so as to execute the method described in the above method embodiments.

本申请第十三实施例提供了一种计算机可读存储介质,包括计算机可读指令,当计算机读取并执行所述计算机可读指令时,使得计算机执行上述方法实施例中所述的方法。The thirteenth embodiment of the present application provides a computer-readable storage medium, including computer-readable instructions, when the computer reads and executes the computer-readable instructions, the computer executes the method described in the above method embodiments.

本申请第十四实施例还提供了一种包含指令的计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行上述方法实施例中所述的方法。The fourteenth embodiment of the present application further provides a computer program product containing instructions, when the computer program product is run on a computer, the computer is made to execute the method described in the above method embodiments.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution, and the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. should be covered within the scope of protection of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (25)

1.一种在传送系统中业务类型适配的方法,其特征在于,包括:1. A method for service type adaptation in a transmission system, comprising: 第一网络设备切换到第一业务,并完成第一业务类型配置,所述第一业务类型配置包括所述第一业务接口速率配置;The first network device switches to the first service, and completes the first service type configuration, where the first service type configuration includes the first service interface rate configuration; 所述第一网络设备获取所述第一业务类型配置下预设的第一告警集合,所述第一告警集合包括一个或多个业务错误指示告警;obtaining, by the first network device, a first set of alarms preset under the configuration of the first service type, where the first set of alarms includes one or more service error indication alarms; 所述第一网络设备检测所述第一告警集合在T1时间内保持撤销状态的时间达到T2,根据所述第一业务接口速率判断是否分配所述第一业务的线路侧时隙,所述T1、T2为预先设置的时间长度,所述T1大于等于所述T2。The first network device detects that the time that the first alarm set remains in the canceled state within the time T1 reaches T2, and judges whether to allocate the line-side time slot of the first service according to the interface rate of the first service, and the T1 , T2 is a preset time length, and the T1 is greater than or equal to the T2. 2.如权利要求1所述的方法,其特征在于,所述第一网络设备切换到第一业务之前,所述方法还包括:2. The method according to claim 1, wherein before the first network device switches to the first service, the method further comprises: 所述第一网络设备切换第二业务,并完成第二业务类型配置,所述第二业务类型配置包括第二业务速率配置;The first network device switches the second service, and completes the second service type configuration, where the second service type configuration includes the second service rate configuration; 所述第一网络设备获取所述第二业务类型配置下预设的第二告警集合,所述第二告警集合包括一个或多个所述业务错误指示告警;obtaining, by the first network device, a second set of alarms preset under the configuration of the second service type, where the second set of alarms includes one or more of the service error indication alarms; 所述第一网络设备检测所述第二告警集合不满足在T3时间内保持撤销状态的时间达到T4,所述T3、T4为预先设置的时间长度,所述T3大于等于所述T4。The first network device detects that the second alarm set does not meet the requirement of maintaining the revoked state within the time T3 and reaches T4, where T3 and T4 are preset time lengths, and the T3 is greater than or equal to the T4. 3.如权利要求1所述的方法,其特征在于,所述第一网络设备切换到第一业务之前,所述方法还包括:3. The method according to claim 1, wherein before the first network device switches to the first service, the method further comprises: 所述第一网络设备获取第三业务类型配置下预设的第三告警集合,所述第三告警集合包括一个或多个所述业务错误指示告警;obtaining, by the first network device, a third set of alarms preset under the configuration of the third service type, where the third set of alarms includes one or more of the service error indication alarms; 所述第一网络设备检测所述第三告警集合在T5时间内保持拉起状态的时间累计达到T6,所述T5、T6为预先设置的时间长度,所述T5大于等于所述T6。The first network device detects that the third alarm set remains in the pulled-up state within the time T5, and the accumulated time reaches T6, where T5 and T6 are preset time lengths, and the T5 is greater than or equal to the T6. 4.如权利要求1所述的方法,其特征在于,所述第一网络设备根据所述第一业务接口速率判断是否分配所述第一业务的线路侧时隙,具体包括:4. The method according to claim 1, wherein the first network device determines whether to allocate a line-side time slot of the first service according to the rate of the first service interface, specifically comprising: 所述第一网络设备根据所述第一业务接口速率获取所述第一业务的对应的第一时隙数量;acquiring, by the first network device, the number of first time slots corresponding to the first service according to the first service interface rate; 所述第一网络设备统计线路侧空闲时隙数量;The first network device counts the number of idle time slots on the line side; 所述第一网络设备比较第一时隙数量与空闲时隙数量的大小,若所述第一时隙数量大于所述空闲时隙数量,则所述第一网络设备发送时隙分配失败告警,所述时隙分配失败告警用于指示线路侧空闲带宽不足以传输第一业务;若所述第一时隙数量小于等于所述空闲时隙数量,则所述第一网络设备启动时隙分配。The first network device compares the size of the number of the first time slot and the number of idle time slots, and if the number of the first time slot is greater than the number of the idle time slot, the first network device sends a time slot allocation failure alarm, The time slot allocation failure alarm is used to indicate that the idle bandwidth on the line side is insufficient to transmit the first service; if the number of the first time slots is less than or equal to the number of the idle time slots, the first network device starts time slot allocation. 5.如权利要求4所述的方法,其特征在于,所述第一网络设备启动时隙分配之后,所述方法还包括:5. The method according to claim 4, wherein after the first network device starts time slot allocation, the method further comprises: 所述第一网络设备将第一业务消息发送给第二网络设备,所述第一业务消息包括第一业务类型指示信息,所述第一业务类型指示信息用于指示所述第二网络设备需要配置的业务类型为所述第一业务。The first network device sends a first service message to the second network device, where the first service message includes first service type indication information, and the first service type indication information is used to indicate that the second network device needs to The configured service type is the first service. 6.如权利要求5所述的方法,其特征在于,所述第一网络设备将第一业务消息发送给第二网络设备之后,所述方法还包括:6. The method according to claim 5, wherein after the first network device sends the first service message to the second network device, the method further comprises: 所述第一网络设备向所述第二网络设备传输第一业务信号。The first network device transmits a first service signal to the second network device. 7.如权利要求5所述的方法,其特征在于,所述第一网络设备将第一业务消息发送给第二网络设备,包括:所述第一网络设备通过线路开销将所述第一业务消息发送给所述第二网络设备。7 . The method according to claim 5 , wherein the sending, by the first network device, the first service message to the second network device comprises: the first network device sending the first service message through line overhead. 8 . The message is sent to the second network device. 8.如权利要求1-3所述的方法,其特征在于,所述业务错误指示告警包括如下告警中的一个或多个:信号损失LOS告警、帧丢失LOF告警和同步丢失LOSS of SYNC告警。8. The method according to claims 1-3, wherein the service error indication alarm comprises one or more of the following alarms: a signal loss LOS alarm, a frame loss LOF alarm and a synchronization loss LOSS of SYNC alarm. 9.如权利要求1所述的方法,其特征在于,所述第一业务类型配置还包括第一业务映射解映射配置和第一业务线路成帧解帧配置。9 . The method of claim 1 , wherein the first service type configuration further comprises a first service mapping and de-mapping configuration and a first service line framing and de-framing configuration. 10 . 10.如权利要求5、7所述的方法,其特征在于,所述第一业务消息还包括第一业务接口速率和所述第一业务的对应的所述第一时隙数量。10 . The method according to claim 5 , wherein the first service message further comprises a first service interface rate and the corresponding first time slot number of the first service. 11 . 11.一种在传送系统中业务类型适配的装置,其特征在于,包括:输入接口、处理电路,11. A device for service type adaptation in a transmission system, characterized in that it comprises: an input interface, a processing circuit, 所述输入接口,用于获取所述第一业务类型配置下预设的第一告警集合,所述第一告警集合包括一个或多个业务错误指示告警;the input interface, configured to obtain a preset first alarm set under the first service type configuration, where the first alarm set includes one or more service error indication alarms; 所述处理电路,用于检测所述第一告警集合在T1时间内保持撤销状态的时间达到T2,所述T1、T2为预先设置的时间长度,所述T1大于等于所述T2;The processing circuit is configured to detect that the time that the first alarm set remains in the canceled state within the time T1 reaches T2, the T1 and T2 are preset time lengths, and the T1 is greater than or equal to the T2; 所述处理电路,还用于判断是否分配所述第一业务的线路侧时隙。The processing circuit is further configured to determine whether to allocate a line-side time slot of the first service. 12.如权利要求11所述的装置,其特征在于,所述处理电路,还用于切换到第一业务和第一业务类型配置,所述第一业务类型配置包括所述第一业务接口速率配置。12. The apparatus according to claim 11, wherein the processing circuit is further configured to switch to a first service and a first service type configuration, wherein the first service type configuration includes the first service interface rate configuration. 13.如权利要求11所述的装置,其特征在于,所述处理电路还用于切换第二业务和第二业务类型配置,所述第二业务类型配置包括第二业务速率配置;13. The apparatus of claim 11, wherein the processing circuit is further configured to switch a second service and a second service type configuration, the second service type configuration comprising a second service rate configuration; 所述输入接口,还用于获取所述第二业务类型配置下预设的第二告警集合,所述第二告警集合包括一个或多个所述业务错误指示告警;The input interface is further configured to acquire a second set of alarms preset under the configuration of the second service type, where the second set of alarms includes one or more of the service error indication alarms; 所述处理电路,还用于检测所述第二告警集合不满足在T3时间内保持撤销状态的时间达到T4,所述T3、T4为预先设置的时间长度,所述T3大于等于所述T4。The processing circuit is further configured to detect that the second alarm set does not meet the requirement of maintaining the revoked state within the time T3 and reaches T4, where T3 and T4 are preset time lengths, and the T3 is greater than or equal to the T4. 14.如权利要求11所述的装置,其特征在于,所述输入接口,还用于获取第三业务类型配置下预设的第三告警集合,所述第三告警集合包括一个或多个所述业务错误指示告警;14. The apparatus according to claim 11, wherein the input interface is further configured to acquire a third alarm set preset under the third service type configuration, the third alarm set including one or more The service error indication alarm; 所述处理电路,还用于检测所述第三告警集合在T5时间内保持拉起状态的时间累计达到T6,所述T5、T6为预先设置的时间长度,所述T5大于等于所述T6。The processing circuit is further configured to detect that the accumulated time that the third alarm set remains in the pulled-up state within the time T5 reaches T6, where T5 and T6 are preset time lengths, and the T5 is greater than or equal to the T6. 15.如权利要求11所述的装置,其特征在于,所述处理电路判断是否分配所述第一业务的线路侧时隙,具体包括:15. The apparatus of claim 11, wherein the processing circuit determines whether to allocate a line-side time slot of the first service, specifically comprising: 所述处理电路,计算所述第一业务的对应的第一时隙数量;The processing circuit calculates the number of first time slots corresponding to the first service; 所述处理电路,统计线路侧空闲时隙数量;The processing circuit counts the number of idle time slots on the line side; 所述处理电路,比较第一时隙数量与空闲时隙数量的大小,若所述第一时隙数量小于等于所述空闲时隙数量,则所述处理电路启动时隙分配。The processing circuit compares the number of the first time slot with the number of idle time slots, and if the number of the first time slot is less than or equal to the number of the idle time slot, the processing circuit starts time slot allocation. 16.如权利要求15所述的装置,其特征在于,所述装置还包括输出接口,所述输出接口用于:16. The apparatus of claim 15, wherein the apparatus further comprises an output interface for: 若所述第一时隙数量大于所述空闲时隙数量,则所述输出接口输出时隙分配失败告警,所述时隙分配失败告警用于指示线路侧空闲带宽不足以传输所述第一业务。If the number of the first time slots is greater than the number of idle time slots, the output interface outputs a time slot allocation failure alarm, and the time slot allocation failure alarm is used to indicate that the idle bandwidth on the line side is insufficient to transmit the first service . 17.如权利要求15所述的装置,其特征在于,所述装置还包括输出接口,所述输出接口用于:17. The apparatus of claim 15, wherein the apparatus further comprises an output interface for: 输出第一业务消息,所述第一业务消息包括第一业务类型指示信息,所述第一业务类型指示信息用于指示第二网络设备需要配置的业务类型为所述第一业务。A first service message is output, where the first service message includes first service type indication information, where the first service type indication information is used to indicate that the service type that needs to be configured on the second network device is the first service. 18.如权利要求17所述的装置,其特征在于,所述输出接口还用于向所述第二网络设备发送第一业务信号。18. The apparatus of claim 17, wherein the output interface is further configured to send a first service signal to the second network device. 19.如权利要求11、13、14所述的装置,其特征在于,所述业务错误指示告警包括如下告警中的其中一个或多个:信号损失LOS告警、帧丢失LOF告警和同步丢失LOSS ofSYNC告警。19. The apparatus according to claim 11, 13, and 14, wherein the service error indication alarm comprises one or more of the following alarms: signal loss LOS alarm, frame loss LOF alarm and synchronization loss LOSS ofSYNC Alert. 20.如权利要求17所述的装置,其特征在于,所述输出接口输出第一业务消息,包括:所述输出接口通过线路开销输出第一业务消息。20. The apparatus according to claim 17, wherein the output interface outputting the first service message comprises: the output interface outputting the first service message through line overhead. 21.如权利要求11所述的装置,其特征在于,所述装置还包括存储器,所述存储器用于存储所述第一告警集合。21. The apparatus of claim 11, further comprising a memory for storing the first set of alerts. 22.如权利要求17、20所述的装置,其特征在于,所述第一业务消息包括第一业务类型、第一业务接口速率和所述第一业务的对应的所述第一时隙数量。22. The apparatus according to claims 17 and 20, wherein the first service message comprises a first service type, a first service interface rate, and the corresponding first time slot number of the first service . 23.如权利要求12所述的装置,其特征在于,所述第一业务类型配置还包括第一业务映射解映射配置和第一业务线路成帧解帧配置。23. The apparatus of claim 12, wherein the first service type configuration further comprises a first service mapping and de-mapping configuration and a first service line framing and de-framing configuration. 24.一种计算机可读存储介质,其特征在于,包括计算机程序指令,当其在计算机上运行时,使得所述计算机执行如权利要求1-10中任意一项所述的业务类型适配方法。24. A computer-readable storage medium, characterized by comprising computer program instructions that, when executed on a computer, cause the computer to execute the service type adaptation method according to any one of claims 1-10 . 25.一种包含指令的计算机程序产品,其特征在于,当其在计算机上运行时,使得所述计算机执行如权利要求1-10中任意一项所述的业务类型适配方法。25. A computer program product comprising instructions, which, when run on a computer, causes the computer to execute the service type adaptation method according to any one of claims 1-10.
CN201910200213.1A 2019-03-16 2019-03-16 Method and device for service type adaptation in transmission system Active CN111698708B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910200213.1A CN111698708B (en) 2019-03-16 2019-03-16 Method and device for service type adaptation in transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910200213.1A CN111698708B (en) 2019-03-16 2019-03-16 Method and device for service type adaptation in transmission system

Publications (2)

Publication Number Publication Date
CN111698708A true CN111698708A (en) 2020-09-22
CN111698708B CN111698708B (en) 2023-07-18

Family

ID=72475431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910200213.1A Active CN111698708B (en) 2019-03-16 2019-03-16 Method and device for service type adaptation in transmission system

Country Status (1)

Country Link
CN (1) CN111698708B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021115451A1 (en) * 2019-12-12 2021-06-17 中兴通讯股份有限公司 Configuration method and apparatus, and cross configuration method and apparatus for wavelength division access device, and device
WO2022063396A1 (en) * 2020-09-23 2022-03-31 Telefonaktiebolaget Lm Ericsson (Publ) Methods and apparatuses for automatic configuration of ports in an optical network
CN115865685A (en) * 2022-11-18 2023-03-28 浙江大华技术股份有限公司 Bandwidth allocation method and system and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1882126A (en) * 2005-06-10 2006-12-20 上海华为技术有限公司 Method for realizing data transmission between baseband-processing unit and RF processing unit
US20080232244A1 (en) * 2007-03-21 2008-09-25 Cisco Technology, Inc. Proactive protection mechanism based on advanced failure warning
CN103825751A (en) * 2012-11-16 2014-05-28 华为技术有限公司 Service opening method, veneer, network management equipment and service opening system
CN105284184A (en) * 2014-05-21 2016-01-27 华为技术有限公司 Data transmission method and device, and network system
WO2017008634A1 (en) * 2015-07-15 2017-01-19 华为技术有限公司 Method of transmitting inter-domain interface data in optical transport network and device using same
CN109327360A (en) * 2017-08-01 2019-02-12 中兴通讯股份有限公司 A kind of method and device of multiplexed port

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1882126A (en) * 2005-06-10 2006-12-20 上海华为技术有限公司 Method for realizing data transmission between baseband-processing unit and RF processing unit
US20080232244A1 (en) * 2007-03-21 2008-09-25 Cisco Technology, Inc. Proactive protection mechanism based on advanced failure warning
CN103825751A (en) * 2012-11-16 2014-05-28 华为技术有限公司 Service opening method, veneer, network management equipment and service opening system
CN105284184A (en) * 2014-05-21 2016-01-27 华为技术有限公司 Data transmission method and device, and network system
WO2017008634A1 (en) * 2015-07-15 2017-01-19 华为技术有限公司 Method of transmitting inter-domain interface data in optical transport network and device using same
CN109327360A (en) * 2017-08-01 2019-02-12 中兴通讯股份有限公司 A kind of method and device of multiplexed port

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021115451A1 (en) * 2019-12-12 2021-06-17 中兴通讯股份有限公司 Configuration method and apparatus, and cross configuration method and apparatus for wavelength division access device, and device
WO2022063396A1 (en) * 2020-09-23 2022-03-31 Telefonaktiebolaget Lm Ericsson (Publ) Methods and apparatuses for automatic configuration of ports in an optical network
CN116195234A (en) * 2020-09-23 2023-05-30 瑞典爱立信有限公司 Method and device for automatically configuring ports in an optical network
CN115865685A (en) * 2022-11-18 2023-03-28 浙江大华技术股份有限公司 Bandwidth allocation method and system and electronic equipment

Also Published As

Publication number Publication date
CN111698708B (en) 2023-07-18

Similar Documents

Publication Publication Date Title
US11824960B2 (en) Communication method, communications device, and storage medium
US11736978B2 (en) Method and apparatus for receiving CPRI data stream, method and apparatus for receiving ethernet frame, and system
US12156148B2 (en) Link establishment between a radio equipment controller (REC) and radio equipment (RE) in a fronthaul network
EP2865236B1 (en) Encapsulating cpri frames
CN111698708B (en) Method and device for service type adaptation in transmission system
US11381335B2 (en) Method and apparatus for spectrum defragmentation, device, and system
CN102238594B (en) Method and device for managing distributed base station
CN114466463A (en) A kind of common public radio interface CPRI data transmission method and related device
CN104052569B (en) Method and apparatus for switching MCS
US20200220580A1 (en) Distributed antenna system using reconfigurable frame structure and method of operation thereof
WO2021135490A1 (en) Access network system, transport method, and related apparatus
US20230370900A1 (en) Cpri link-rate auto-negotiation based on available bandwidth in ethernet-based fronthaul network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant