WO2016101589A1 - Control word processing method, device and communication system - Google Patents

Control word processing method, device and communication system Download PDF

Info

Publication number
WO2016101589A1
WO2016101589A1 PCT/CN2015/083459 CN2015083459W WO2016101589A1 WO 2016101589 A1 WO2016101589 A1 WO 2016101589A1 CN 2015083459 W CN2015083459 W CN 2015083459W WO 2016101589 A1 WO2016101589 A1 WO 2016101589A1
Authority
WO
WIPO (PCT)
Prior art keywords
control word
multiplexing
linked list
time division
attribute
Prior art date
Application number
PCT/CN2015/083459
Other languages
French (fr)
Chinese (zh)
Inventor
罗成
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016101589A1 publication Critical patent/WO2016101589A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a control word processing method, apparatus, and communication system in a communication system established based on a CPRI protocol.
  • CPRI Common Public Radio Interface
  • BBU Building Baseband Unit
  • RRU Radio Remote Unit
  • the BBU needs to send a control word to the RRU to complete the control function of the RRU.
  • the BBU also needs to accept the control word sent by the RRU to monitor the status of the RRU in real time.
  • multiple RRUs are used for networking with the BBU, such as chain type, ring network, etc., it is generally necessary to implement transmission and/or reception of control words with time-division multiplexing with superframe numbers, such as when the BBU passes a control word.
  • Embodiments of the present invention provide a control word processing method, apparatus, and communication system to solve the technical problem of how to reduce the complexity of control word implementation.
  • the embodiment of the invention provides a control word processing method.
  • the method includes:
  • the processor acquires a multiplexing attribute of the control word to be processed, and the multiplexing attribute includes whether the control word is time division multiplexed;
  • the processor configures a control word device corresponding to the control word according to the multiplexing attribute; the control word device processes the control word.
  • the step of the processor in the foregoing embodiment configuring the control word device corresponding to the control word according to the multiplexing attribute includes: determining a control word configuration device corresponding to the control word device, configuring the control word configuration device according to the multiplexing attribute, and adopting The control word configuration device configures the control word device to process the control word.
  • the step of configuring the control word configuration device includes: configuring the time division multiplexing field of the control word configuration device to be valid, and configuring the time division multiplexing The superframe number range used; the step of configuring the control word device by the control word configuration means comprises: storing the linked list first address of the control word in the control word device.
  • the method further includes:
  • the length of the linked list is determined according to the range of the super frame number, and the number of linked list devices in the linked list device group is determined according to the length of the linked list and the depth of the linked list device, and the first address of the linked list is the linked list device.
  • the address of the time-division control word table in the first linked list device of the group is determined according to the range of the super frame number, and the number of linked list devices in the linked list device group is determined according to the length of the linked list and the depth of the linked list device, and the first address of the linked list is the linked list device.
  • the method further includes:
  • the interrupt mechanism of the control word is also determined, and the interrupt configuration device for implementing the control word interrupt is configured according to the interrupt mechanism.
  • the step of configuring the control word configuration device according to the multiplexing attribute in the foregoing embodiment includes: configuring the time division multiplexing field of the control word configuration device to be invalid;
  • the step of the word configuration device configuring the control word device includes storing the control word in the control word device.
  • An embodiment of the present invention provides a control word processing apparatus.
  • the method includes a processor and a control word device, wherein the processor is configured to acquire a multiplexing attribute of a control word to be processed, and configure according to the multiplexing attribute.
  • the control word device corresponding to the control word, the multiplexing attribute includes whether the control word is time division multiplexed; the control word device is set to process the control word.
  • the processing device further includes: a control word configuration device; the processor is configured to configure, according to the multiplexing attribute, a control word device corresponding to the control word by: determining a control word corresponding to the control word device Configuring the device, configuring the control word configuration device according to the multiplexing attribute, The control word configuration device configures the control word device to process the control word.
  • a control word configuration device configured to configure, according to the multiplexing attribute, a control word device corresponding to the control word by: determining a control word corresponding to the control word device Configuring the device, configuring the control word configuration device according to the multiplexing attribute, The control word configuration device configures the control word device to process the control word.
  • the processor is configured to configure the control word configuration device according to the multiplexing attribute by configuring the control word device by using the control word configuration device:
  • the multiplexing attribute is the control word time division multiplexing
  • the time division multiplexing field of the configuration control word configuration device is valid, and the superframe number range of the time division multiplexing is configured; the first address of the linked list of the control word is stored in the control word device.
  • the processor is further configured to:
  • the length of the linked list is determined according to the range of the super frame number, and the number of linked list devices in the linked list device group is determined according to the length of the linked list and the depth of the linked list device, and the first address of the linked list is the linked list device.
  • the address of the time-division control word table in the first linked list device of the group is determined according to the range of the super frame number, and the number of linked list devices in the linked list device group is determined according to the length of the linked list and the depth of the linked list device, and the first address of the linked list is the linked list device.
  • the device further includes an interrupt configuration device;
  • the processor is further configured to: when the multiplexing attribute is a control word time division multiplexing, determine an interrupt mechanism of the control word, and configure an interrupt configuration device according to the interrupt mechanism;
  • the interrupt configuration device is configured to implement an interrupt of the control word according to the interrupt mechanism.
  • the processor is configured to configure the control word configuration device according to the multiplexing attribute by configuring the control word device by the control word configuration device:
  • the multiplexing attribute is the control word not time division multiplexing
  • the time division multiplexing field of the configuration control word configuration device is invalid; the control word is stored in the control word device.
  • the embodiment of the present invention provides a communication system based on the CPRI protocol, which includes the control word processing apparatus provided by the embodiment of the present invention.
  • An embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the foregoing method.
  • the solution provided by the embodiment of the present invention completes the dynamic configuration of the multiplexing attribute of the control word according to the required processing by using a device such as a control word register that can be flexibly configured, under the control of the processor,
  • a device such as a control word register that can be flexibly configured, under the control of the processor.
  • FIG. 1 is a flowchart of a control word processing method according to a first embodiment of the present invention
  • FIG. 2 is a schematic diagram of a control word processing apparatus according to a second embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a time-division multiplexed control word table in a third embodiment of the present invention.
  • FIG. 4 is a schematic diagram of forming a linked list of time-division multiplexed control words according to a third embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a control word configuration apparatus and an interrupt apparatus according to a third embodiment of the present invention.
  • FIG. 6 is a schematic diagram of transmission of a control word in a third embodiment of the present invention.
  • Figure 7 is a schematic diagram of control word reception in a third embodiment of the present invention.
  • FIG. 8 is a schematic diagram of interrupt generation in a third embodiment of the present invention.
  • the superframe represented by each Hyper Frame Number includes 256 basic frames, and each basic frame can be sent.
  • a control word includes 256 control word configuration devices (Control Word Config Reg) and control word devices (Control Word Reg), control word configuration device and control word device on the transmitting end and/or the receiving end.
  • Control Word includes 256 control word configuration devices (Control Word Config Reg) and control word devices (Control Word Reg), control word configuration device and control word device on the transmitting end and/or the receiving end.
  • the apparatus involved in the present application may use a configurable device such as a register; the time division multiplexing according to the embodiment of the present invention refers to the basic frame transmission corresponding to the same basic frame number of each superframe in the superframe of the time division multiplexing. Different control words.
  • control word processing method includes the following steps:
  • the processor acquires a multiplexing attribute of a control word to be processed, and the multiplexing attribute includes whether the control word is time division multiplexed;
  • S102 The processor configures a control word device corresponding to the control word according to the multiplexing attribute.
  • the step of configuring the control word device corresponding to the control word according to the multiplexing attribute in the embodiment shown in FIG. 1 comprises: determining a control word configuration device corresponding to the control word device, and configuring the control word configuration according to the multiplexing attribute The device configures the control word device via a control word configuration device.
  • the step of configuring the control word configuration device according to the multiplexing attribute in the embodiment shown in FIG. 1 includes: configuring a time division multiplexing field of the control word configuration device ((Time division) is invalid; the step of configuring the control word device by the control word configuration means includes storing the control word in the control word device.
  • the step of configuring the control word configuration device according to the multiplexing attribute in the embodiment shown in FIG. 1 includes: configuring the time division multiplexing field of the control word configuration device to Effectively, the time frame multiplexed superframe number range is configured; the step of configuring the control word device by the control word configuration means includes: storing the linked list head address of the control word in the control word device.
  • the above embodiment further includes: determining the length of the linked list according to the superframe number range, and determining the required linked list device group according to the length of the linked list and the depth of the linked list device.
  • the number of linked list devices, the first address of the linked list is the address of the time-division control word table in the first linked list device of the linked list device group.
  • the foregoing embodiment further includes: when the multiplexing attribute is the control word time division multiplexing, determining the control word in addition to configuring the control word configuration device according to the multiplexing attribute.
  • the interrupt mechanism configures the interrupt configuration device according to the interrupt mechanism.
  • control word processing apparatus 2 is a schematic diagram of a control word processing apparatus according to a second embodiment of the present invention.
  • the control word processing apparatus 2 provided by the embodiment of the present invention includes a processor 21 and a control word device 22. among them,
  • the processor 21 is configured to acquire a multiplexing attribute of the control word to be processed, and configure according to the multiplexing attribute Control word device corresponding to the control word, the multiplexing attribute includes whether the control word is time division multiplexed;
  • Control word device 22 is arranged to process the control word.
  • control word processing device 2 further includes a control word configuration device 23, and the processor 21 is further configured to determine a control word configuration device 23 corresponding to the control word device 22, configured according to the multiplexing attribute.
  • Control word configuration means 23; control word configuration means 23 is arranged to configure control word means 22.
  • the processor 21 in the above embodiment is set to configure the control word configuration means 23 to disable the time division multiplexing field; storing the control word in the control In the word device 22.
  • the processor 21 in the above embodiment is configured to configure the time division multiplexing field of the control word configuration device 23 to be valid, and configure the time division multiplexed superframe.
  • the range of numbers; the first address of the linked list of control words is stored in control word device 22.
  • the processor 21 in the above embodiment is further configured to determine the length of the linked list according to the superframe number range, and determine the requirement according to the length of the linked list and the depth of the linked list device.
  • the number of linked list devices in the linked list device group, and the first address of the linked list is the address of the time-division control word table in the first linked list device of the linked list device group.
  • control word processing device 2 further includes an interrupt configuration device 24, and when the multiplexing attribute is a control word time division multiplexing, the processor 21 in the above embodiment is further configured to determine the control word.
  • the interrupt mechanism configures the interrupt configuration device 24 in accordance with the interrupt mechanism.
  • the interrupt configuration means 24 is arranged to effect an interruption of the control word in accordance with the interrupt mechanism.
  • the embodiment of the present invention provides a communication system based on the CPRI protocol, which includes the control word processing device 2 provided by the embodiment of the present invention, and completes processing functions such as receiving and transmitting control words.
  • control words the reception and transmission of control words, the generation of interrupts, and the like are respectively described in detail for the two types of multiplexing attributes, and the following devices are described by taking a register as an example. details as follows:
  • a plurality of memory arrays constitute a Time Division Control Word Table
  • the bit width of each control word table is a specified bit width N (16 bits, of the control word in the CPRI system. 32bit, etc., the depth of the control word table is M (16, 32, etc.); control
  • N sixteen bits, of the control word in the CPRI system. 32bit, etc.
  • M sixteen, 32, etc.
  • control The word table needs to be uniformly addressed, but the control word read and write can be indirectly read or written or uniformly addressed by other registers. According to the system and the plan of future upgrade, the number of control word tables can be customized.
  • These memories can be realized by registers or multiple types of RAM (Random Access Memory).
  • the memory depth is shallow and the bit width is CPRI control.
  • the width of the word; and, the number of register banks used as linked list nodes must match the control word list.
  • the device that sends and receives the control word has 256 control word configuration registers and control word registers.
  • the control word configuration registers are in one-to-one correspondence with the control word registers.
  • the control word configuration register (Control Word Config Reg) and control The word register (Control Word Reg) has a bit width of L (16 bits, 32 bits, etc.), and L is greater than or equal to N, N the bit width of the control word table.
  • the control word configuration registers need to be addressed in a unified manner, and the control word registers can be addressed in a unified manner or indirectly through other registers.
  • the control word register can store the control word or the first address of the linked list of the time control word.
  • the control word n needs time division multiplexing, then the corresponding control word register stores the starting address of a linked list, that is, points to a linked list register group (Link List Reg Group), and the linked list register group used to form the linked list has a bit width L. And need to be unified addressing.
  • the linked list is established according to the number of time division control words, that is, the super frame number range determines the length of the linked list, and the required list device of the linked list device group is determined according to the length of the linked list and the depth of the linked list device.
  • the link table length is 48
  • the depth of the time division control word table in each linked list register is 16
  • control word n-1 Control Word n-1
  • control word n+1 Control Word n+1
  • the enable of time division multiplexing of the transmit and receive control words is controlled by the transmit and receive control word configuration registers, ie the Time division enable field in the Control Word Configuration Register, and the time divisions can be specified by these two registers. Multiplexed superframe number range, including minimum superframe number (HFN Min No.) and maximum superframe number (HFN Max No.).
  • the receiving control word configuration register can be configured to receive the interrupt of the control word, that is, the Interrupt field in the control word configuration register is received. When the interrupt of a certain control word is enabled, the control word will be in the super frame.
  • a cycle generation interrupt is used to receive real-time processing of control words.
  • the interrupt configuration register (Interrupt Config Reg) is mainly set to implement the 10ms interrupt for transmitting and receiving the control word. After receiving the interrupt signal, the transmitting end and the receiving end control the internal processor to process the control word. Optionally, the transmitting end The processor performs the update of the next control word or the modification of the transmission mechanism, and the processor at the receiving end begins to perform subsequent processing on the received control word.
  • control word 1 is a general control word (control word without time division multiplexing), assuming basic frame 1 in each superframe (HFN) (Basic Frame No. 1) ) Send the control word.
  • the control word 22 forms a time-division control word hash table through two time-division control word tables, and sets the minimum value of the time division multiplexing super frame number of the transmission control word configuration register to 0, and the maximum value is 31, and the super frame number is 0.
  • the control word of -31 is time division multiplexed, and the basic frame 22 (Basic Frame No. 22) in superframe 0-31 transmits the control word in the time division control word table, wherein the depth of the time division control word table is 16, requiring 2 storages. Time-division control of the register of the word table, the specific effect is shown in Figure 6.
  • the receiving process of the control word is the reverse process of the transmission process of the control word, and will not be described again.
  • the transmit and receive 10ms interrupt (Tx/Rx 10ms Interrupt) is once every 10ms frame, generated at the end of each 10ms frame.
  • the maximum frequency of receiving control word interrupt (Rx CW Interrupt) is once per superframe, which is generated at the end of each superframe. According to the superframe number range of the time division control word, it can decide which superframes generate interrupts and which super The frame does not generate an interrupt. If only time division multiplexing with a superframe number of 0-2 is performed, then at the time of reception, an interrupt is generated only at the end of superframe 0-2.
  • control word register By using a control word register and other devices that can be flexibly configured, under the control of the processor, the dynamic configuration of the multiplexing attribute of the control word according to the required processing is completed, and the combination of software and hardware in the control word processing process is realized, and the implementation circuit is reduced.
  • the complexity of the circuit can be upgraded by performing software upgrades.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • each device/function module/functional unit in the above embodiment When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the above technical solution realizes the combination of software and hardware in the process of controlling word processing, reduces the complexity of implementing the circuit, and can complete the function upgrade of the circuit by performing software upgrade.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Time-Division Multiplex Systems (AREA)
  • Stored Programmes (AREA)

Abstract

A control word processing method, device and communication system, the method comprising: acquiring a multiplexing attribute of a control word to be processed, the multiplexing attribute comprising whether the control word is time division multiplexing; configuring a control word device corresponding to the control word according to the multiplexing attribute; and the control word device processes the control word. The above technical solution enables a combination of software and hardware during the control word processing, thus reducing complexity for achieving a circuit, and completing a function upgrade of the circuit through a software upgrade.

Description

控制字处理方法、装置及通信系统Control word processing method, device and communication system 技术领域Technical field
本文涉及通信技术领域,特别地涉及一种基于CPRI协议建立的通信系统中的控制字处理方法、装置及通信系统。The present invention relates to the field of communications technologies, and in particular, to a control word processing method, apparatus, and communication system in a communication system established based on a CPRI protocol.
背景技术Background technique
在使用CPRI(Common Public Radio Interface,通用公共射频接口)协议建立通信系统时,如使用CPRI协议组网的BBU(Building Baseband Unit,室内基带处理单元)和RRU(Radio Remote Unit,射频拉远单元),BBU需要给RRU发送控制字来完成对RRU的控制功能,同时,BBU也需要接受RRU发送的控制字来实时监控RRU的状态。当使用多个RRU与BBU进行组网的时候,比如链型,环形组网等,一般就需要实现发送和/或接收的控制字以超帧号进行时分复用,比如当BBU通过一个控制字来标示多个RRU的时候,一般就需要在不同超帧中的该控制字位置发送不同的标号给每个RRU,同时每个RRU也需要根据超帧号进行该控制字的解析。这一过程如果使用纯硬件电路实现控制字的时分复用,硬件电路非常复杂,而且无法通过软件进行升级。When a communication system is established by using the Common Public Radio Interface (CPRI) protocol, such as a BBU (Building Baseband Unit) and a RRU (Radio Remote Unit) using the CPRI protocol network. The BBU needs to send a control word to the RRU to complete the control function of the RRU. At the same time, the BBU also needs to accept the control word sent by the RRU to monitor the status of the RRU in real time. When multiple RRUs are used for networking with the BBU, such as chain type, ring network, etc., it is generally necessary to implement transmission and/or reception of control words with time-division multiplexing with superframe numbers, such as when the BBU passes a control word. When a plurality of RRUs are marked, it is generally required to send different labels to each RRU in the control word position in different superframes, and each RRU also needs to perform parsing of the control word according to the superframe number. In this process, if a pure hardware circuit is used to implement time division multiplexing of control words, the hardware circuit is very complicated and cannot be upgraded by software.
因此,如何提供一种可以降低电路复杂度的控制字实现技术,是本领域技术人员亟待解决的技术问题。Therefore, how to provide a control word implementation technology that can reduce the complexity of the circuit is a technical problem to be solved by those skilled in the art.
发明内容Summary of the invention
本发明实施例提供了一种控制字处理方法、装置及通信系统,以解决如何降低控制字实现的繁杂度的技术问题。Embodiments of the present invention provide a control word processing method, apparatus, and communication system to solve the technical problem of how to reduce the complexity of control word implementation.
本发明实施例提供了一种控制字处理方法,在一个实施例中,该方法包括:The embodiment of the invention provides a control word processing method. In an embodiment, the method includes:
处理器获取需要处理的控制字的复用属性,复用属性包括控制字是否时分复用; The processor acquires a multiplexing attribute of the control word to be processed, and the multiplexing attribute includes whether the control word is time division multiplexed;
处理器根据复用属性配置控制字对应的控制字装置;控制字装置处理控制字。The processor configures a control word device corresponding to the control word according to the multiplexing attribute; the control word device processes the control word.
可选的,上述实施例中的处理器根据复用属性配置控制字对应的控制字装置的步骤包括:确定与控制字装置对应的控制字配置装置,根据复用属性配置控制字配置装置,通过控制字配置装置配置控制字装置处理控制字。Optionally, the step of the processor in the foregoing embodiment configuring the control word device corresponding to the control word according to the multiplexing attribute includes: determining a control word configuration device corresponding to the control word device, configuring the control word configuration device according to the multiplexing attribute, and adopting The control word configuration device configures the control word device to process the control word.
可选的,当复用属性为控制字时分复用时,上述实施例中的根据复用属性配置控制字配置装置的步骤包括:配置控制字配置装置的时分复用字段为有效,配置时分复用的超帧号范围;通过控制字配置装置配置控制字装置的步骤包括:将控制字的链表首地址存放在控制字装置中。Optionally, when the multiplexing attribute is the control word time division multiplexing, the step of configuring the control word configuration device according to the multiplexing attribute in the foregoing embodiment includes: configuring the time division multiplexing field of the control word configuration device to be valid, and configuring the time division multiplexing The superframe number range used; the step of configuring the control word device by the control word configuration means comprises: storing the linked list first address of the control word in the control word device.
可选的,所述方法还包括:Optionally, the method further includes:
当复用属性为控制字时分复用时,根据超帧号范围确定链表的长度,根据链表的长度及链表装置的深度确定需要的链表装置组中链表装置的个数,链表首地址为链表装置组第一个链表装置中时分控制字表的地址。When the multiplexing attribute is time division multiplexing of the control word, the length of the linked list is determined according to the range of the super frame number, and the number of linked list devices in the linked list device group is determined according to the length of the linked list and the depth of the linked list device, and the first address of the linked list is the linked list device. The address of the time-division control word table in the first linked list device of the group.
可选的,所述方法还包括:Optionally, the method further includes:
当复用属性为控制字时分复用时,除根据复用属性配置控制字配置装置外,还确定控制字的中断机制,根据中断机制配置用于实现控制字中断的中断配置装置。When the multiplexing attribute is the control word time division multiplexing, in addition to configuring the control word configuration device according to the multiplexing attribute, the interrupt mechanism of the control word is also determined, and the interrupt configuration device for implementing the control word interrupt is configured according to the interrupt mechanism.
可选的,当复用属性包括控制字不时分复用时,上述实施例中的根据复用属性配置控制字配置装置的步骤包括:配置控制字配置装置的时分复用字段为无效;通过控制字配置装置配置控制字装置的步骤包括:将控制字存放在控制字装置中。Optionally, when the multiplexing attribute includes the control word not time division multiplexing, the step of configuring the control word configuration device according to the multiplexing attribute in the foregoing embodiment includes: configuring the time division multiplexing field of the control word configuration device to be invalid; The step of the word configuration device configuring the control word device includes storing the control word in the control word device.
本发明实施例提供了一种控制字处理装置,在一个实施例中,其包括处理器及控制字装置,其中,处理器设置为获取需要处理的控制字的复用属性,根据复用属性配置控制字对应的控制字装置,复用属性包括控制字是否时分复用;控制字装置设置为处理控制字。An embodiment of the present invention provides a control word processing apparatus. In an embodiment, the method includes a processor and a control word device, wherein the processor is configured to acquire a multiplexing attribute of a control word to be processed, and configure according to the multiplexing attribute. The control word device corresponding to the control word, the multiplexing attribute includes whether the control word is time division multiplexed; the control word device is set to process the control word.
可选的,所述处理装置还包括控制字配置装置;处理器是设置为通过如下方式实现根据所述复用属性配置所述控制字对应的控制字装置:确定与控制字装置对应的控制字配置装置,根据复用属性配置控制字配置装置,通过 控制字配置装置配置控制字装置处理控制字。Optionally, the processing device further includes: a control word configuration device; the processor is configured to configure, according to the multiplexing attribute, a control word device corresponding to the control word by: determining a control word corresponding to the control word device Configuring the device, configuring the control word configuration device according to the multiplexing attribute, The control word configuration device configures the control word device to process the control word.
可选的,处理器是设置为通过如下方式实现根据所述复用属性配置所述控制字配置装置,通过所述控制字配置装置配置所述控制字装置:Optionally, the processor is configured to configure the control word configuration device according to the multiplexing attribute by configuring the control word device by using the control word configuration device:
当复用属性为控制字时分复用时配置控制字配置装置的时分复用字段为有效,配置时分复用的超帧号范围;将控制字的链表首地址存放在控制字装置。When the multiplexing attribute is the control word time division multiplexing, the time division multiplexing field of the configuration control word configuration device is valid, and the superframe number range of the time division multiplexing is configured; the first address of the linked list of the control word is stored in the control word device.
可选的,所述处理器还设置为:Optionally, the processor is further configured to:
当复用属性为控制字时分复用时,根据超帧号范围确定链表的长度,根据链表的长度及链表装置的深度确定需要的链表装置组中链表装置的个数,链表首地址为链表装置组第一个链表装置中时分控制字表的地址。When the multiplexing attribute is time division multiplexing of the control word, the length of the linked list is determined according to the range of the super frame number, and the number of linked list devices in the linked list device group is determined according to the length of the linked list and the depth of the linked list device, and the first address of the linked list is the linked list device. The address of the time-division control word table in the first linked list device of the group.
可选的,所述装置还包括中断配置装置;Optionally, the device further includes an interrupt configuration device;
所述处理器还设置为,当复用属性为控制字时分复用时,确定控制字的中断机制,根据中断机制配置中断配置装置;The processor is further configured to: when the multiplexing attribute is a control word time division multiplexing, determine an interrupt mechanism of the control word, and configure an interrupt configuration device according to the interrupt mechanism;
所述中断配置装置设置为,根据所述中断机制实现控制字的中断。The interrupt configuration device is configured to implement an interrupt of the control word according to the interrupt mechanism.
可选的,Optional,
所述处理器是设置为通过如下方式实现根据所述复用属性配置所述控制字配置装置,通过所述控制字配置装置配置所述控制字装置:The processor is configured to configure the control word configuration device according to the multiplexing attribute by configuring the control word device by the control word configuration device:
当复用属性为控制字不时分复用时,配置控制字配置装置的时分复用字段为无效;将控制字存放在控制字装置中。When the multiplexing attribute is the control word not time division multiplexing, the time division multiplexing field of the configuration control word configuration device is invalid; the control word is stored in the control word device.
本发明实施例提供了一种基于CPRI协议的通信系统,其包括本发明实施例提供的控制字处理装置。The embodiment of the present invention provides a communication system based on the CPRI protocol, which includes the control word processing apparatus provided by the embodiment of the present invention.
本发明实施例提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述的方法。An embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the foregoing method.
本发明实施例的有益效果:Advantageous effects of embodiments of the present invention:
本发明实施例提供的方案,通过使用可以灵活配置的控制字寄存器等装置,在处理器的控制下,完成根据所需要处理的控制字的复用属性动态配置, 实现了控制字处理过程中的软硬件结合,降低了实现电路的繁杂度,同时可以通过进行软件升级完成电路的功能升级。The solution provided by the embodiment of the present invention completes the dynamic configuration of the multiplexing attribute of the control word according to the required processing by using a device such as a control word register that can be flexibly configured, under the control of the processor, The combination of software and hardware in the process of control word processing is realized, the complexity of implementing the circuit is reduced, and the function upgrade of the circuit can be completed by performing software upgrade.
附图概述BRIEF abstract
图1为本发明第一实施例提供的控制字处理方法的流程图;1 is a flowchart of a control word processing method according to a first embodiment of the present invention;
图2为本发明第二实施例提供的控制字处理装置的示意图;2 is a schematic diagram of a control word processing apparatus according to a second embodiment of the present invention;
图3为本发明第三实施例中时分复用的控制字表的示意图;3 is a schematic diagram of a time-division multiplexed control word table in a third embodiment of the present invention;
图4为本发明第三实施例中时分复用的控制字的链表形成示意图;4 is a schematic diagram of forming a linked list of time-division multiplexed control words according to a third embodiment of the present invention;
图5为本发明第三实施例中控制字配置装置及中断装置的配置示意图;FIG. 5 is a schematic structural diagram of a control word configuration apparatus and an interrupt apparatus according to a third embodiment of the present invention; FIG.
图6为本发明第三实施例中控制字发送示意图;6 is a schematic diagram of transmission of a control word in a third embodiment of the present invention;
图7为本发明第三实施例中控制字接收示意图;Figure 7 is a schematic diagram of control word reception in a third embodiment of the present invention;
图8为本发明第三实施例中中断产生示意图。FIG. 8 is a schematic diagram of interrupt generation in a third embodiment of the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
现通过具体实施方式结合附图的方式对本发明做出进一步的诠释说明。The invention will now be further illustrated by way of specific embodiments in conjunction with the accompanying drawings.
在实际应用中,发送端(如BBU)发送控制字时,每个超帧号(HFN,Hyper Frame Number)所表示的超帧包括256个基本帧(Basic Frame),每个基本帧都可以发送一个控制字(Control Word),因此,在发送端和/或接收端都包括256个控制字配置装置(Control Word Config Reg)和控制字装置(Control Word Reg),控制字配置装置与控制字装置一一对应;本发明实施例所涉及的控制字处理方法是针对一个控制字及其对应的控制字装置的,当利用超帧内多个基本帧发送控制字(每个基本帧发送一个控制字)时,需要针对每个控制字都执行本发明实施例的步骤。本申请所涉及的装置可以采用寄存器等可配置的设备;本发明实施例所涉及的时分复用是指在时分复用的超帧范围内每个超帧的相同基本帧号对应的基本帧发送不同的控制字。In a practical application, when a transmitting end (such as a BBU) sends a control word, the superframe represented by each Hyper Frame Number (HFN) includes 256 basic frames, and each basic frame can be sent. A control word (Control Word), therefore, includes 256 control word configuration devices (Control Word Config Reg) and control word devices (Control Word Reg), control word configuration device and control word device on the transmitting end and/or the receiving end. One-to-one correspondence; the control word processing method according to the embodiment of the present invention is directed to a control word and its corresponding control word device, when a control word is transmitted by using multiple basic frames in a superframe (one control word is sent per basic frame) At the time, the steps of the embodiments of the present invention need to be performed for each control word. The apparatus involved in the present application may use a configurable device such as a register; the time division multiplexing according to the embodiment of the present invention refers to the basic frame transmission corresponding to the same basic frame number of each superframe in the superframe of the time division multiplexing. Different control words.
第一实施例:First embodiment:
图1为本发明第一实施例提供的控制字处理方法的流程图,由图1可知, 在本实施例中,本发明实施例提供的控制字处理方法包括以下步骤:1 is a flowchart of a control word processing method according to a first embodiment of the present invention. In this embodiment, the control word processing method provided by the embodiment of the present invention includes the following steps:
S101:处理器获取需要处理的控制字的复用属性,复用属性包括控制字是否时分复用;S101: The processor acquires a multiplexing attribute of a control word to be processed, and the multiplexing attribute includes whether the control word is time division multiplexed;
S102:处理器根据复用属性配置控制字对应的控制字装置;S102: The processor configures a control word device corresponding to the control word according to the multiplexing attribute.
S103:控制字装置处理控制字。S103: The control word device processes the control word.
在一些实施例中,图1所示实施例中的根据复用属性配置控制字对应的控制字装置的步骤包括:确定与控制字装置对应的控制字配置装置,根据复用属性配置控制字配置装置,通过控制字配置装置配置控制字装置。In some embodiments, the step of configuring the control word device corresponding to the control word according to the multiplexing attribute in the embodiment shown in FIG. 1 comprises: determining a control word configuration device corresponding to the control word device, and configuring the control word configuration according to the multiplexing attribute The device configures the control word device via a control word configuration device.
在一些实施例中,当复用属性为控制字不时分复用时,图1所示实施例中的根据复用属性配置控制字配置装置的步骤包括:配置控制字配置装置的时分复用字段((Time division)为无效;通过控制字配置装置配置控制字装置的步骤包括:将控制字存放在控制字装置中。In some embodiments, when the multiplexing attribute is a control word not time division multiplexing, the step of configuring the control word configuration device according to the multiplexing attribute in the embodiment shown in FIG. 1 includes: configuring a time division multiplexing field of the control word configuration device ((Time division) is invalid; the step of configuring the control word device by the control word configuration means includes storing the control word in the control word device.
在一些实施例中,当复用属性为控制字时分复用时,图1所示实施例中的根据复用属性配置控制字配置装置的步骤包括:配置控制字配置装置的时分复用字段为有效,配置时分复用的超帧号范围;通过控制字配置装置配置控制字装置的步骤包括:将控制字的链表首地址存放在控制字装置中。In some embodiments, when the multiplexing attribute is control word time division multiplexing, the step of configuring the control word configuration device according to the multiplexing attribute in the embodiment shown in FIG. 1 includes: configuring the time division multiplexing field of the control word configuration device to Effectively, the time frame multiplexed superframe number range is configured; the step of configuring the control word device by the control word configuration means includes: storing the linked list head address of the control word in the control word device.
在一些实施例中,当复用属性为控制字时分复用时,上述实施例还包括:根据超帧号范围确定链表的长度,根据链表的长度及链表装置的深度确定需要的链表装置组中链表装置的个数,链表首地址为链表装置组第一个链表装置中时分控制字表的地址。In some embodiments, when the multiplexing attribute is the control word time division multiplexing, the above embodiment further includes: determining the length of the linked list according to the superframe number range, and determining the required linked list device group according to the length of the linked list and the depth of the linked list device. The number of linked list devices, the first address of the linked list is the address of the time-division control word table in the first linked list device of the linked list device group.
在一些实施例中,上述实施例还包括:当所述复用属性为所述控制字时分复用时,除根据所述复用属性配置所述控制字配置装置外,还确定所述控制字的中断机制,根据所述中断机制配置中断配置装置。In some embodiments, the foregoing embodiment further includes: when the multiplexing attribute is the control word time division multiplexing, determining the control word in addition to configuring the control word configuration device according to the multiplexing attribute. The interrupt mechanism configures the interrupt configuration device according to the interrupt mechanism.
第二实施例:Second embodiment:
图2为本发明第二实施例提供的控制字处理装置的示意图,由图2可知,在本实施例中,本发明实施例提供的控制字处理装置2包括处理器21及控制字装置22,其中,2 is a schematic diagram of a control word processing apparatus according to a second embodiment of the present invention. As shown in FIG. 2, in the embodiment, the control word processing apparatus 2 provided by the embodiment of the present invention includes a processor 21 and a control word device 22. among them,
处理器21设置为获取需要处理的控制字的复用属性,根据复用属性配置 控制字对应的控制字装置,复用属性包括控制字是否时分复用;The processor 21 is configured to acquire a multiplexing attribute of the control word to be processed, and configure according to the multiplexing attribute Control word device corresponding to the control word, the multiplexing attribute includes whether the control word is time division multiplexed;
控制字装置22设置为处理控制字。 Control word device 22 is arranged to process the control word.
在一些实施例中,如图2所示,控制字处理装置2还包括控制字配置装置23,处理器21还设置为确定与控制字装置22对应的控制字配置装置23,根据复用属性配置控制字配置装置23;控制字配置装置23设置为配置控制字装置22。In some embodiments, as shown in FIG. 2, the control word processing device 2 further includes a control word configuration device 23, and the processor 21 is further configured to determine a control word configuration device 23 corresponding to the control word device 22, configured according to the multiplexing attribute. Control word configuration means 23; control word configuration means 23 is arranged to configure control word means 22.
在一些实施例中,当复用属性为控制字不时分复用时,上述实施例中的处理器21是设置为配置控制字配置装置23的时分复用字段为无效;将控制字存放在控制字装置22中。In some embodiments, when the multiplexing attribute is the control word not time division multiplexing, the processor 21 in the above embodiment is set to configure the control word configuration means 23 to disable the time division multiplexing field; storing the control word in the control In the word device 22.
在一些实施例中,当复用属性为控制字时分复用时,上述实施例中的处理器21是设置为配置控制字配置装置23的时分复用字段为有效,配置时分复用的超帧号范围;将控制字的链表首地址存放在控制字装置22中。In some embodiments, when the multiplexing attribute is the control word time division multiplexing, the processor 21 in the above embodiment is configured to configure the time division multiplexing field of the control word configuration device 23 to be valid, and configure the time division multiplexed superframe. The range of numbers; the first address of the linked list of control words is stored in control word device 22.
在一些实施例中,当复用属性为控制字时分复用时,上述实施例中的处理器21还设置为根据超帧号范围确定链表的长度,根据链表的长度及链表装置的深度确定需要的链表装置组中链表装置的个数,链表首地址为链表装置组第一个链表装置中时分控制字表的地址。In some embodiments, when the multiplexing attribute is control word time division multiplexing, the processor 21 in the above embodiment is further configured to determine the length of the linked list according to the superframe number range, and determine the requirement according to the length of the linked list and the depth of the linked list device. The number of linked list devices in the linked list device group, and the first address of the linked list is the address of the time-division control word table in the first linked list device of the linked list device group.
在一些实施例中,如图2所示,控制字处理装置2还包括中断配置装置24,当复用属性为控制字时分复用时,上述实施例中的处理器21还设置为确定控制字的中断机制,根据中断机制配置中断配置装置24。中断配置装置24,设置为根据所述中断机制实现控制字的中断。In some embodiments, as shown in FIG. 2, the control word processing device 2 further includes an interrupt configuration device 24, and when the multiplexing attribute is a control word time division multiplexing, the processor 21 in the above embodiment is further configured to determine the control word. The interrupt mechanism configures the interrupt configuration device 24 in accordance with the interrupt mechanism. The interrupt configuration means 24 is arranged to effect an interruption of the control word in accordance with the interrupt mechanism.
本发明实施例提供了一种基于CPRI协议的通信系统,其包括本发明实施例提供的控制字处理装置2,完成控制字的接收及发送等处理功能。The embodiment of the present invention provides a communication system based on the CPRI protocol, which includes the control word processing device 2 provided by the embodiment of the present invention, and completes processing functions such as receiving and transmitting control words.
第三实施例:Third embodiment:
在本实施例中,分别针对两种复用属性的控制字、控制字的接收及发送、中断的产生等进行详细说明,下文的装置以寄存器为例进行说明。具体如下:In the present embodiment, the control words, the reception and transmission of control words, the generation of interrupts, and the like are respectively described in detail for the two types of multiplexing attributes, and the following devices are described by taking a register as an example. details as follows:
如图3所示,通过若干个存储器阵列组成时分复用的控制字表(Time Division Control Word Table),每一个控制字表的位宽即是CPRI系统中控制字的指定位宽N(16bit,32bit等),控制字表的深度为M(16,32等);控制 字表需要统一编址,但是里面的控制字读写可以通过其他寄存器间接读写或者统一编址。根据系统以及日后升级的规划,控制字表的数量可以自定义,这些存储器可以用寄存器或者多种类型的RAM(Random Access Memory,随机存取存储器)实现,存储器深度较浅,位宽就是CPRI控制字的宽度;并且,用作链表结点的寄存器组数量必须与控制字表一致。As shown in FIG. 3, a plurality of memory arrays constitute a Time Division Control Word Table, and the bit width of each control word table is a specified bit width N (16 bits, of the control word in the CPRI system. 32bit, etc., the depth of the control word table is M (16, 32, etc.); control The word table needs to be uniformly addressed, but the control word read and write can be indirectly read or written or uniformly addressed by other registers. According to the system and the plan of future upgrade, the number of control word tables can be customized. These memories can be realized by registers or multiple types of RAM (Random Access Memory). The memory depth is shallow and the bit width is CPRI control. The width of the word; and, the number of register banks used as linked list nodes must match the control word list.
如图4所示,发送和接收控制字的装置均有256个控制字配置寄存器和控制字寄存器,控制字配置寄存器与控制字寄存器一一对应,控制字配置寄存器(Control Word Config Reg)和控制字寄存器(Control Word Reg)的位宽均为L(16bit,32bit等),且L大于等于N,N所述控制字表的位宽。控制字配置寄存器需要统一编址,而控制字寄存器可以统一编址或者通过其他寄存器间接读写。控制字寄存器可以存放控制字,或者时分控制字的链表首地址。控制字n需要时分复用,那么对应的控制字寄存器中存放的就是一个链表的起始地址,即指向一个链表寄存器组(Link List Reg Group),用于构成链表的链表寄存器组位宽为L,且需要统一编址。As shown in Figure 4, the device that sends and receives the control word has 256 control word configuration registers and control word registers. The control word configuration registers are in one-to-one correspondence with the control word registers. The control word configuration register (Control Word Config Reg) and control The word register (Control Word Reg) has a bit width of L (16 bits, 32 bits, etc.), and L is greater than or equal to N, N the bit width of the control word table. The control word configuration registers need to be addressed in a unified manner, and the control word registers can be addressed in a unified manner or indirectly through other registers. The control word register can store the control word or the first address of the linked list of the time control word. The control word n needs time division multiplexing, then the corresponding control word register stores the starting address of a linked list, that is, points to a linked list register group (Link List Reg Group), and the linked list register group used to form the linked list has a bit width L. And need to be unified addressing.
当某些控制字需要时分复用时,根据时分控制字的数量建立链表,即超帧号范围确定链表的长度,根据链表的长度及链表装置的深度确定需要的链表装置组中链表装置的个数;比如占用超帧0-47发送时分复用控制字时,需要构建48个超帧号的时分复用控制字,链表长度为48,当每个链表寄存器内的时分控制字表的深度16时,只需要3个链表寄存器组建一个链表寄存器组,即可完成链表的建立,并且3个时分控制字表指针(TDCWT Ptr)分别指向3个链表装置中时分控制字表的地址,所有下一个节点指针(Next Ptr)分别指向下一个链表寄存器组,而最后一个节点的下一个节点指针直接指向NULL(空值)地址即可,而本申请所涉及的链表首地址则是第一个链表装置中时分控制字表的地址。如果该控制字不需要时分复用,那么直接在控制字寄存器中存放单个控制字即可,例如控制字n-1(Control Word n-1)和控制字n+1(Control Word n+1)。When some control words need time division multiplexing, the linked list is established according to the number of time division control words, that is, the super frame number range determines the length of the linked list, and the required list device of the linked list device group is determined according to the length of the linked list and the depth of the linked list device. For example, when occupying the superframe 0-47 to transmit the time division multiplexing control word, it is necessary to construct a time division multiplexing control word of 48 super frame numbers, the link table length is 48, and the depth of the time division control word table in each linked list register is 16 When only three linked list registers are required to form a linked list register group, the establishment of the linked list can be completed, and the three time-division control word table pointers (TDCWT Ptr) respectively point to the addresses of the time-division control word tables in the three linked list devices, all next The node pointer (Next Ptr) points to the next linked list register group, and the next node pointer of the last node directly points to the NULL (null value) address, and the first address of the linked list in this application is the first linked list device. The address of the time-controlled control word table. If the control word does not require time division multiplexing, then a single control word can be stored directly in the control word register, such as control word n-1 (Control Word n-1) and control word n+1 (Control Word n+1) .
如图5所示,发送和接收控制字的时分复用的使能由发送和接收控制字配置寄存器控制,即控制字配置寄存器中的Time division enable字段,并且可以通过这两个寄存器指定需要时分复用的超帧号范围,包括最小超帧号 (HFN Min No.)和最大超帧号(HFN Max No.)。另外,对于接收,可以通过接收控制字配置寄存器配置接收控制字的中断,即接收控制字配置寄存器中的Interrupt字段,当使能某一个控制字的中断后,那么该控制字将以超帧为周期生成中断,用于接收控制字的实时处理。而中断配置寄存器(Interrupt Config Reg)主要设置为实现发送和接收控制字的10ms中断,发送端及接收端在接收到中断信号后,控制其内部的处理器处理控制字,可选的,发送端的处理器进行下一个控制字的更新或者发送机制的修改,接收端的处理器则开始对接收到控制字进行后续处理。As shown in Figure 5, the enable of time division multiplexing of the transmit and receive control words is controlled by the transmit and receive control word configuration registers, ie the Time division enable field in the Control Word Configuration Register, and the time divisions can be specified by these two registers. Multiplexed superframe number range, including minimum superframe number (HFN Min No.) and maximum superframe number (HFN Max No.). In addition, for receiving, the receiving control word configuration register can be configured to receive the interrupt of the control word, that is, the Interrupt field in the control word configuration register is received. When the interrupt of a certain control word is enabled, the control word will be in the super frame. A cycle generation interrupt is used to receive real-time processing of control words. The interrupt configuration register (Interrupt Config Reg) is mainly set to implement the 10ms interrupt for transmitting and receiving the control word. After receiving the interrupt signal, the transmitting end and the receiving end control the internal processor to process the control word. Optionally, the transmitting end The processor performs the update of the next control word or the modification of the transmission mechanism, and the processor at the receiving end begins to perform subsequent processing on the received control word.
如图6所示,控制字的发送过程,控制字1为一般控制字(没有时分复用的控制字)的发送,假定每个超帧(HFN)中的基本帧1(Basic Frame No.1)发送该控制字。而控制字22通过两个时分控制字表组成了一个时分控制字散列表,且设置发送控制字配置寄存器的时分复用超帧号的最小值为0,最大值为31,进行超帧号0-31的控制字时分复用,超帧0-31中的基本帧22(Basic Frame No.22)发送时分控制字表中的控制字,其中时分控制字表的深度为16,需要2个存储时分控制字表的寄存器,具体效果如图6所示。As shown in FIG. 6, the control word is transmitted, and control word 1 is a general control word (control word without time division multiplexing), assuming basic frame 1 in each superframe (HFN) (Basic Frame No. 1) ) Send the control word. The control word 22 forms a time-division control word hash table through two time-division control word tables, and sets the minimum value of the time division multiplexing super frame number of the transmission control word configuration register to 0, and the maximum value is 31, and the super frame number is 0. The control word of -31 is time division multiplexed, and the basic frame 22 (Basic Frame No. 22) in superframe 0-31 transmits the control word in the time division control word table, wherein the depth of the time division control word table is 16, requiring 2 storages. Time-division control of the register of the word table, the specific effect is shown in Figure 6.
如图7所示,控制字的接收过程,是控制字的发送过程的逆过程,不再赘述。As shown in FIG. 7, the receiving process of the control word is the reverse process of the transmission process of the control word, and will not be described again.
如图8所示,中断产生的位置,发送和接收10ms中断(Tx/Rx 10ms Interrupt)是每个10ms帧一次,在每个10ms帧的末尾处产生。而接收控制字中断(Rx CW Interrupt)的最大频率是每个超帧一次,在每个超帧的末尾处产生,根据时分控制字的超帧号范围,可以决定哪些超帧产生中断,哪些超帧不产生中断。如果仅进行超帧号为0-2的时分复用,那么在接收的时候,仅在超帧0-2末尾处产生中断。As shown in Figure 8, the location where the interrupt is generated, the transmit and receive 10ms interrupt (Tx/Rx 10ms Interrupt) is once every 10ms frame, generated at the end of each 10ms frame. The maximum frequency of receiving control word interrupt (Rx CW Interrupt) is once per superframe, which is generated at the end of each superframe. According to the superframe number range of the time division control word, it can decide which superframes generate interrupts and which super The frame does not generate an interrupt. If only time division multiplexing with a superframe number of 0-2 is performed, then at the time of reception, an interrupt is generated only at the end of superframe 0-2.
综上可知,通过本发明实施例的实施,至少存在以下有益效果:In summary, through the implementation of the embodiments of the present invention, at least the following beneficial effects exist:
通过使用可以灵活配置的控制字寄存器等装置,在处理器的控制下,完成根据所需要处理的控制字的复用属性动态配置,实现了控制字处理过程中的软硬件结合,降低了实现电路的繁杂度,同时可以通过进行软件升级完成电路的功能升级。 By using a control word register and other devices that can be flexibly configured, under the control of the processor, the dynamic configuration of the multiplexing attribute of the control word according to the required processing is completed, and the combination of software and hardware in the control word processing process is realized, and the implementation circuit is reduced. The complexity of the circuit can be upgraded by performing software upgrades.
以上仅是本发明的具体实施方式而已,并非对本发明做任何形式上的限制,凡是依据本发明的技术实质对以上实施方式所做的任意简单修改、等同变化、结合或修饰,均仍属于本发明技术方案的保护范围。The above is only a specific embodiment of the present invention, and is not intended to limit the present invention in any way. Any simple modification, equivalent change, combination or modification of the above embodiments in accordance with the technical spirit of the present invention is still in the present invention. The scope of protection of the technical solution of the invention.
领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as a system , apparatus, devices, devices, etc.), when executed, include one or a combination of the steps of a method embodiment.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
上述实施例中的各装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的各装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
工业实用性Industrial applicability
上述技术方案实现了控制字处理过程中的软硬件结合,降低了实现电路的繁杂度,同时可以通过进行软件升级完成电路的功能升级。 The above technical solution realizes the combination of software and hardware in the process of controlling word processing, reduces the complexity of implementing the circuit, and can complete the function upgrade of the circuit by performing software upgrade.

Claims (14)

  1. 一种控制字处理方法,包括:A control word processing method includes:
    处理器获取需要处理的控制字的复用属性,所述复用属性包括所述控制字是否时分复用;Obtaining, by the processor, a multiplexing attribute of the control word to be processed, the multiplexing attribute including whether the control word is time division multiplexed;
    处理器根据所述复用属性配置所述控制字对应的控制字装置;The processor configures the control word device corresponding to the control word according to the multiplexing attribute;
    所述控制字装置处理所述控制字。The control word device processes the control word.
  2. 如权利要求1所述的控制字处理方法,其中,处理器根据所述复用属性配置所述控制字对应的控制字装置的步骤包括:The control word processing method according to claim 1, wherein the step of configuring, by the processor, the control word device corresponding to the control word according to the multiplexing attribute comprises:
    确定与所述控制字装置对应的控制字配置装置;Determining a control word configuration device corresponding to the control word device;
    根据所述复用属性配置所述控制字配置装置;And configuring the control word configuration device according to the multiplexing attribute;
    通过所述控制字配置装置配置所述控制字装置。The control word device is configured by the control word configuration device.
  3. 如权利要求2所述的控制字处理方法,其中,The control word processing method according to claim 2, wherein
    当所述复用属性为所述控制字时分复用时,根据所述复用属性配置所述控制字配置装置的步骤包括:When the multiplexing attribute is the time division multiplexing of the control word, the step of configuring the control word configuration device according to the multiplexing attribute includes:
    配置所述控制字配置装置的时分复用字段为有效,配置时分复用的超帧号范围;Configuring a time division multiplexing field of the control word configuration device to be valid, and configuring a time division multiplexing superframe number range;
    通过所述控制字配置装置配置所述控制字装置的步骤包括:The step of configuring the control word device by the control word configuration device includes:
    将所述控制字的链表首地址存放在所述控制字装置中。The linked list first address of the control word is stored in the control word device.
  4. 如权利要求3所述的控制字处理方法,所述方法还包括:The control word processing method according to claim 3, further comprising:
    当所述复用属性为所述控制字时分复用时,根据所述超帧号范围确定所述链表的长度,根据所述链表的长度及链表装置的深度确定需要的链表装置组中链表装置的个数,所述链表首地址为所述链表装置组第一个链表装置中时分控制字表的地址。When the multiplexing attribute is the time division multiplexing of the control word, determining the length of the linked list according to the superframe number range, and determining the required linked list device in the linked list device according to the length of the linked list and the depth of the linked list device The number of the linked list first address is the address of the time-division control word table in the first linked list device of the linked list device group.
  5. 如权利要求3所述的控制字处理方法,所述方法还包括:The control word processing method according to claim 3, further comprising:
    当所述复用属性为所述控制字时分复用时,除根据所述复用属性配置所述控制字配置装置外,还确定所述控制字的中断机制,根据所述中断机制配 置用于实现控制字中断的中断配置装置。And when the multiplexing attribute is the time division multiplexing of the control word, in addition to configuring the control word configuration device according to the multiplexing attribute, determining an interrupt mechanism of the control word, according to the interrupt mechanism An interrupt configuration device for implementing control word interrupts.
  6. 如权利要求2至5任一项所述的控制字处理方法,其中,The control word processing method according to any one of claims 2 to 5, wherein
    当所述复用属性为所述控制字不时分复用时,根据所述复用属性配置所述控制字配置装置的步骤包括:配置所述控制字配置装置的时分复用字段为无效;When the multiplexing attribute is the time division multiplexing of the control word, the step of configuring the control word configuration device according to the multiplexing attribute includes: configuring a time division multiplexing field of the control word configuration device to be invalid;
    通过所述控制字配置装置配置所述控制字装置的步骤包括:将所述控制字存放在所述控制字装置中。The step of configuring the control word device by the control word configuration means includes storing the control word in the control word device.
  7. 一种控制字处理装置,包括处理器及控制字装置,其中,A control word processing device, comprising a processor and a control word device, wherein
    所述处理器,设置为获取需要处理的控制字的复用属性,根据所述复用属性配置所述控制字对应的控制字装置,所述复用属性包括所述控制字是否时分复用;The processor is configured to acquire a multiplexing attribute of a control word to be processed, and configure a control word device corresponding to the control word according to the multiplexing attribute, where the multiplexing attribute includes whether the control word is time division multiplexed;
    所述控制字装置,设置为处理所述控制字。The control word means is arranged to process the control word.
  8. 如权利要求7述的控制字处理装置,所述处理装置还包括控制字配置装置;A control word processing device according to claim 7, said processing device further comprising control word arranging means;
    所述处理器是设置为通过如下方式实现根据所述复用属性配置所述控制字对应的控制字装置:The processor is configured to configure a control word device corresponding to the control word according to the multiplexing attribute by:
    确定与所述控制字装置对应的控制字配置装置,根据所述复用属性配置所述控制字配置装置,通过所述控制字配置装置配置所述控制字装置。Determining a control word configuration device corresponding to the control word device, configuring the control word configuration device according to the multiplexing attribute, and configuring the control word device by the control word configuration device.
  9. 如权利要求8所述的控制字处理装置,其中,The control word processing device according to claim 8, wherein
    处理器是设置为通过如下方式实现根据所述复用属性配置所述控制字配置装置,通过所述控制字配置装置配置所述控制字装置:The processor is configured to configure the control word configuration device according to the multiplexing attribute by configuring the control word device by the control word configuration device:
    当所述复用属性为所述控制字时分复用时,配置所述控制字配置装置的时分复用字段为有效,配置时分复用的超帧号范围;将所述控制字的链表首地址存放在所述控制字装置中。When the multiplexing attribute is time division multiplexing of the control word, configuring a time division multiplexing field of the control word configuration device to be valid, configuring a superframe number range of time division multiplexing; and setting a link table first address of the control word Stored in the control word device.
  10. 如权利要求9所述的控制字处理装置,A control word processing device according to claim 9,
    所述处理器,还设置为当所述复用属性为所述控制字时分复用时,根据所述超帧号范围确定所述链表的长度,根据所述链表的长度及链表装置的深 度确定需要的链表装置组中链表装置的个数,所述链表首地址为所述链表装置组第一个链表装置中时分控制字表的地址。The processor is further configured to: when the multiplexing attribute is the control word time division multiplexing, determine the length of the linked list according to the superframe number range, according to the length of the linked list and the depth of the linked list device The number of linked list devices in the linked list device group is determined, and the linked list first address is the address of the time division control word table in the first linked list device of the linked list device group.
  11. 如权利要求9所述的控制字处理装置,所述装置还包括中断配置装置;The control word processing device of claim 9 further comprising interrupt configuration means;
    所述处理器,还设置为当所述复用属性为所述控制字时分复用时,确定所述控制字的中断机制,根据所述中断机制配置中断配置装置;The processor is further configured to: when the multiplexing attribute is the control word time division multiplexing, determine an interrupt mechanism of the control word, and configure an interrupt configuration device according to the interrupt mechanism;
    所述中断配置装置,设置为根据所述中断机制实现控制字的中断。The interrupt configuration device is configured to implement an interrupt of the control word according to the interrupt mechanism.
  12. 如权利要求7至11任一项所述的控制字处理装置,其中,A control word processing device according to any one of claims 7 to 11, wherein
    所述处理器是设置为通过如下方式实现根据所述复用属性配置所述控制字配置装置,通过所述控制字配置装置配置所述控制字装置:The processor is configured to configure the control word configuration device according to the multiplexing attribute by configuring the control word device by the control word configuration device:
    当所述复用属性为所述控制字不时分复用时,配置所述控制字配置装置的时分复用字段为无效;将所述控制字存放在所述控制字装置中。When the multiplexing attribute is the time division multiplexing of the control word, the time division multiplexing field of the control word configuration device is configured to be invalid; and the control word is stored in the control word device.
  13. 一种基于CPRI协议的通信系统,包括如权利要求7至12任一项所述的控制字处理装置。A communication system based on the CPRI protocol, comprising the control word processing device according to any one of claims 7 to 12.
  14. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1~6中任一项所述的方法。 A computer storage medium having stored therein computer executable instructions for performing the method of any one of claims 1 to 6.
PCT/CN2015/083459 2014-12-26 2015-07-07 Control word processing method, device and communication system WO2016101589A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410834758.5 2014-12-26
CN201410834758.5A CN105790876B (en) 2014-12-26 2014-12-26 Control word processing method, device and communication system

Publications (1)

Publication Number Publication Date
WO2016101589A1 true WO2016101589A1 (en) 2016-06-30

Family

ID=56149142

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/083459 WO2016101589A1 (en) 2014-12-26 2015-07-07 Control word processing method, device and communication system

Country Status (2)

Country Link
CN (1) CN105790876B (en)
WO (1) WO2016101589A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112087290B (en) * 2019-06-12 2023-05-02 深圳市中兴微电子技术有限公司 Control word transmission method and device and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1917392A (en) * 2006-07-27 2007-02-21 华为技术有限公司 Method, system and equipment for transferring result of measuring total received power in broadband
US20070091896A1 (en) * 2005-10-26 2007-04-26 Utstarcom Telecom Co., Ltd CPRI-based multiprotocol signal transmission method and apparatus in distributed base station system
CN101489156A (en) * 2008-12-17 2009-07-22 华为技术有限公司 Multiplexing method for communication signal, radio communication system and radio equipment controller
CN103580780A (en) * 2012-07-23 2014-02-12 中兴通讯股份有限公司 Data transmission method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070091896A1 (en) * 2005-10-26 2007-04-26 Utstarcom Telecom Co., Ltd CPRI-based multiprotocol signal transmission method and apparatus in distributed base station system
CN1917392A (en) * 2006-07-27 2007-02-21 华为技术有限公司 Method, system and equipment for transferring result of measuring total received power in broadband
CN101489156A (en) * 2008-12-17 2009-07-22 华为技术有限公司 Multiplexing method for communication signal, radio communication system and radio equipment controller
CN103580780A (en) * 2012-07-23 2014-02-12 中兴通讯股份有限公司 Data transmission method and device

Also Published As

Publication number Publication date
CN105790876A (en) 2016-07-20
CN105790876B (en) 2019-06-18

Similar Documents

Publication Publication Date Title
US9392640B2 (en) Method and system for automatically controlling the insertion of control word in CPRI daisy chain configuration
US20180152891A1 (en) Method for switching bluetooth working modes, electronic device, and bluetooth chip
WO2015180523A1 (en) Fpga-based self-adaption method and apparatus for remote radio unit (rru) interface protocol
CN105071859A (en) Downlink and uplink data transmission method and apparatus
WO2023125258A1 (en) System frame number synchronization method and related apparatus
CN108134645A (en) Radar signal synchronization system
WO2016101589A1 (en) Control word processing method, device and communication system
CN103188737B (en) A kind of method and apparatus of data synchronization processing of eating dishes without rice or wine
US20160103707A1 (en) System and Method for System on a Chip
WO2023104054A1 (en) Network processing module, data processing method, network node and storage medium
US20140105185A1 (en) Timing event generation circuit for mobile communication device
EP3582445A1 (en) Control device and communication device
CN110120922B (en) FPGA-based data interaction network management system and method
CN102063337A (en) Method and system for information interaction and resource distribution of multi-processor core
US10733117B2 (en) Programmable radio transceivers
CN103944738B (en) A kind of interchanger for supporting Function Extension
WO2019095888A1 (en) Processing method, device, terminal and apparatus for partial bandwidth deactivation timer
KR101125540B1 (en) A baseband processor and a method of transmitting commands to a radio-frequency subsystem and radio telecommunication apparatus incorporating the baseband processor
US9348777B2 (en) Hardware apparatus for a system, system and memory access method
CN210780847U (en) EtherCAT bus clock distribution system
US7764614B2 (en) Multi-mode management of a serial communication link
CN103581088A (en) Time delay processing method and time delay processing device
US20200106684A1 (en) Apparatus, system and method of a wireless communication multi-stream sniffer
CN104581921B (en) Data transmission method and system
US11579650B2 (en) Method and apparatus for synchronizing the time stamp counter

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15871663

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15871663

Country of ref document: EP

Kind code of ref document: A1