[go: up one dir, main page]

CN113242188B - Microwave channel full-switching network construction method, control method and coding and decoding method - Google Patents

Microwave channel full-switching network construction method, control method and coding and decoding method Download PDF

Info

Publication number
CN113242188B
CN113242188B CN202110437685.6A CN202110437685A CN113242188B CN 113242188 B CN113242188 B CN 113242188B CN 202110437685 A CN202110437685 A CN 202110437685A CN 113242188 B CN113242188 B CN 113242188B
Authority
CN
China
Prior art keywords
code
input port
network
port number
input
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.)
Active
Application number
CN202110437685.6A
Other languages
Chinese (zh)
Other versions
CN113242188A (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.)
CETC 29 Research Institute
Original Assignee
CETC 29 Research Institute
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 CETC 29 Research Institute filed Critical CETC 29 Research Institute
Priority to CN202110437685.6A priority Critical patent/CN113242188B/en
Publication of CN113242188A publication Critical patent/CN113242188A/en
Application granted granted Critical
Publication of CN113242188B publication Critical patent/CN113242188B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a microwave channel full-switching network construction method, a control method and a coding and decoding method, which comprise the following steps: s1, designing an input network, carrying out binary tree mesh expansion on each port in the ports on the input side, and ending the expansion until a plurality of terminal nodes are generated; s2, designing an output network, performing binary tree mesh expansion on each port of the output side port by using a switch, and ending the expansion until a plurality of terminal nodes are generated; s3, designing a cross network, wherein the input network completes cross interconnection between sub-nodes of the input and output networks in the step; the invention realizes a microwave channel full-switching network which can be expanded at will and has no pre-stored code table, and provides a regular input control coding and decoding method.

Description

微波信道全交换网络构建方法、控制方法、编译码方法Microwave channel full switching network construction method, control method, coding and decoding method

技术领域technical field

本发明涉及微波及控制、编译码领域,更为具体的,涉及微波信道全交换网络构建方法、控制方法、编译码方法。The present invention relates to the fields of microwave, control, coding and decoding, and more particularly, to a method for constructing a microwave channel full switching network, a control method, and a coding and decoding method.

背景技术Background technique

现代多通道接收系统为满足复杂波束切换和数字处理重构需求,需在天线阵列和数字处理机之间构建能够任意切换的微波信道交换网络,当前复杂交换网络主要采用的方式为:(1)控制上采用存储查找表方式实现,一般由于全交换网络的路径选择任意性,对开关控制的编译码过程繁冗且无规律,因此不适合逻辑资源有限的嵌入式软件实现,可扩展性差;(2)复杂低频控制网络和微波交换网络,信号纵横交叉排布,但交叉耦合过多带来信号传输质量降低,如串扰概率增大等。In order to meet the needs of complex beam switching and digital processing reconstruction in modern multi-channel receiving systems, it is necessary to construct a microwave channel switching network that can be switched arbitrarily between the antenna array and the digital processor. The current complex switching network mainly adopts the following methods: (1) The control is implemented in the form of a storage lookup table. Generally, due to the arbitrary path selection of the full switching network, the coding and decoding process for the switch control is cumbersome and irregular, so it is not suitable for the implementation of embedded software with limited logic resources, and the scalability is poor; (2 ) complex low-frequency control network and microwave switching network, the signals are arranged vertically and horizontally, but too much cross-coupling will reduce the quality of signal transmission, such as increasing the probability of crosstalk.

发明内容SUMMARY OF THE INVENTION

本发明的目的在于克服现有技术的不足,提供微波信道全交换网络构建方法、控制方法、编译码方法,实现了一种可任意扩展,无预存码表的微波信道全交换网络,同时给出一种可规律化的输入控制的编译码方法,通过可串接扩展的串并转换芯片控制开关动作,实现任意信号路由选择。在实施例中,控制电路单元构建可实现程式化,网络规模易于扩展,有利于提高信号交换传输质量和改善电磁兼容性等。The purpose of the present invention is to overcome the deficiencies of the prior art, provide a method for constructing a microwave channel full-switching network, a control method, and a coding and decoding method, and realizes a microwave channel full-switching network that can be expanded arbitrarily and has no pre-stored code table. A coding and decoding method that can be regularized and controlled by input, which can be connected in series to expand the serial-to-parallel conversion chip to control the switching action to realize arbitrary signal routing. In the embodiment, the construction of the control circuit unit can be programmed, and the network scale is easy to expand, which is beneficial to improve the signal exchange transmission quality and the electromagnetic compatibility.

本发明的目的是通过以下方案实现的:The purpose of this invention is to realize through the following scheme:

一种微波信道全交换网络构建方法,包括步骤:A method for constructing a microwave channel full switching network, comprising the steps of:

S1,设计输入网络,对输入一侧端口中的每一个端口使用进行二叉树型网状扩展,扩展到生成多个终端节点结束;S1, design the input network, perform binary tree mesh expansion on each port in the input side port, and expand to generate multiple terminal nodes;

S2,设计输出网络,对输出一侧端口中的每一个端口使用开关进行二叉树型网状扩展,扩展到生成多个终端节点结束;S2, design an output network, use a switch to perform binary tree mesh expansion on each port on the output side, and expand to generate multiple terminal nodes;

S3,设计交叉网络,在该步骤中输入网络完成输入和输出网络的子节点间交叉互联。S3, design a cross network, in this step, the input network completes the cross interconnection between the child nodes of the input and output networks.

进一步地,在步骤S3中,包括步骤:Further, in step S3, including steps:

S31,将输入一侧端口中的第n个输入端口的树型扩展网络中的第xxx个节点,编号为RFn_xxx;n为正整数;S31, the xxxth node in the tree-type expansion network of the nth input port in the input side port is numbered as RFn_xxx; n is a positive integer;

S32,将二进制编码的节点序号xxx转换为十进制数X,该节点为第n个输入端口的第m=X+1个节点;S32, convert the binary-coded node serial number xxx into a decimal number X, and the node is the mth=X+1th node of the nth input port;

S33,将输出一侧端口中的第m个输出端口的树型扩展网络中的第yyy个节点,其节点编号为RFm_yyy;S33, the yyyth node in the tree-type expansion network of the mth output port in the output side port, and its node number is RFm_yyy;

S34,将二进制编码的节点序号yyy转换为十进制数Y,该节点为第m个输出端口的第n=Y+1个节点;S34, convert the binary-coded node serial number yyy into a decimal number Y, and the node is the n=Y+1 node of the mth output port;

S35,将第n个输入端口的第m个节点,通过高频传输线互联至第m个输出端口的第n个节点。S35, interconnect the mth node of the nth input port to the nth node of the mth output port through a high-frequency transmission line.

进一步地,交叉网络可采用微波多层板或电缆进行物理实现。Further, the crossover network can be physically implemented using microwave multilayer boards or cables.

一种基于如上任一所述微波信道全交换网络的控制方法,包括步骤:A control method based on any one of the above-mentioned microwave channel full-switching networks, comprising the steps of:

A1,设计控制单元,对交换网络的开关的控制采用串行移位寄存器电路,通过串行控制码位输入,并行控制码位输出的方式进行编码控制,当网络规模扩展导致并行位需要增加时,采用多片寄存器串接的方式进行扩展;A1, design the control unit, use the serial shift register circuit to control the switch of the switching network, and carry out coding control by means of serial control code bit input and parallel control code bit output. When the network scale expansion leads to the need to increase the parallel bit , which is extended by connecting multiple registers in series;

A2,基于步骤A1中控制单元,实现输入输出网络控制线对应的控制码位映射过程。A2, based on the control unit in step A1, implement the control code bit mapping process corresponding to the input and output network control lines.

进一步地,在步骤A2中,具体包括步骤:Further, in step A2, it specifically includes steps:

A21,对第n个输入端口侧形成的树型网络的开关控制线进行码位映射,第一列开关的控制线映射码位为(n-1)*r+1,第二列开关的控制线映射码位为(n-1)*r+2,依次递增,第r列开关的控制线码位映射为n*r;按此方式,N个输入端口形成的N个树形网络需要的码位编号为1~Nr;A21, perform code bit mapping on the switch control line of the tree network formed on the nth input port side, the control line mapping code bit of the first column of switches is (n-1)*r+1, and the control line of the second column of switches controls The line mapping code bits are (n-1)*r+2, increasing in turn, and the control line code bits of the switch in the rth column are mapped to n*r; in this way, the N tree-shaped networks formed by N input ports need The code points are numbered from 1 to Nr;

A22,依照与步骤A21相同的处理,对M个输出端口侧形成的树型网络的开关控制线进行码位映射,得到码位编号为Nr+1到Nr+Mc。A22, according to the same process as in step A21, perform code bit mapping on the switch control lines of the tree network formed on the M output port sides to obtain code bit numbers Nr+1 to Nr+Mc.

一种基于如上任一所述微波信道全交换网络的控制方法的编译码方法,包括步骤:A coding and decoding method based on the control method of any one of the above-mentioned microwave channel full-switching networks, comprising the steps of:

B1,按输入输出网络控制线对应的控制码位映射过程写出各个输入端口对应的码位号;网络输入端口号1的码位号为1~r,网络输入端口号2的码位号为r+1~2r,依次类推,网络输入端口号N的码位号为(N-1)*r+1~N*r;B1, write out the code point number corresponding to each input port according to the control code point mapping process corresponding to the input and output network control lines; the code point number of network input port number 1 is 1~r, and the code point number of network input port number 2 is r+1~2r, and so on, the code point number of the network input port number N is (N-1)*r+1~N*r;

B2,从输入端口号1开始,根据其路由选择连通的输出端口号,给出第1个输入端口对应码位1~r的码值;码值即为路由选择连通的输出端口号-1对应的二进制值;B2, starting from the input port number 1, according to the number of the connected output port of its routing selection, the code value of the first input port corresponding to the code positions 1 to r is given; the code value is the output port number -1 corresponding to the connected output port number of the routing selection the binary value of ;

B3,根据输入端口号2到输入端口号N路由选择的输出端口号,给出对应的剩余码位的码值;即从步骤B1中得出输入端口号2到输入端口号N的码位后,根据输入端口路由选择连通的输出端口号,给出这些端口对应的码位r+1~N*r的码值,码值即为路由选择连通的输出端口号-1对应的二进制值;B3, according to the output port number routed from the input port number 2 to the input port number N, the code value of the corresponding remaining code bits is given; that is, after the code bits from the input port number 2 to the input port number N are obtained from step B1 , according to the number of the connected output ports of the routing selection of the input ports, the code values of the code bits r+1~N*r corresponding to these ports are given, and the code value is the binary value corresponding to the number of the connected output ports of the routing selection -1;

B4,根据输出端口号路由选择的输入端口号,给出全部输出端口对应码位的码值;即第1个输出端口号对应的码位为N*r+1~N*r+c,依次类推,输出端口号M对应码位为N*r+(M-1)*c+1~N*r+M*c,码值为路由选择连通的输入端口号-1对应的二进制值;B4, according to the input port number selected by the output port number routing, the code value of the corresponding code position of all output ports is given; that is, the code position corresponding to the first output port number is N*r+1~N*r+c, in order By analogy, the code bit corresponding to the output port number M is N*r+(M-1)*c+1~N*r+M*c, and the code value is the binary value corresponding to the input port number-1 connected by routing;

B5,采用硬件描述语言进行电路描述时,按照逻辑选择的优先级依次进行描述;优先描述输入端口号1对应的输入端口网络码位的码值过程,在此过程中,给出输入端口1选择的输出端口网络码位,这样得到码位1~r,以及在1~r码位码值取定条件下N*r+1~Nr+Mc当中的c个码位的取值;B5, when the hardware description language is used to describe the circuit, it is described in sequence according to the priority of the logic selection; the code value process of the input port network code bit corresponding to the input port number 1 is preferentially described, and in this process, the input port 1 selection is given. The network code bits of the output port of , so as to obtain the code bits 1~r, and the values of c code bits among N*r+1~Nr+Mc under the condition that the code values of the 1~r code bits are determined;

B6,描述优先级最高的输入端口号1的译码过程,再描述输入端口号2的译码过程,得到码位r+1~2*r,以及在r+1~2*r码位码值取定条件下N*r+1~Nr+Mc当中的c个码位的取值;通过上述编译过程,每次输入N*r个码位的码值,完成一次交换切换涉及到的全部开关的控制。B6, describe the decoding process of the input port number 1 with the highest priority, and then describe the decoding process of the input port number 2 to obtain the code bits r+1~2*r, and the code bits at r+1~2*r The value of c code bits among N*r+1~Nr+Mc under the condition of value selection; through the above compilation process, the code value of N*r code bits is input each time to complete all the switches involved in one exchange switch control.

本发明的有益效果包括:The beneficial effects of the present invention include:

本发明实现了一种可任意扩展,无预存码表的微波信道全交换网络,同时给出一种可规律化的输入控制的编译码方法,通过可串接扩展的串并转换芯片控制开关动作,实现任意信号路由选择。在实施例中,控制电路单元构建可实现程式化,网络规模易于扩展,有利于提高信号交换传输质量和改善电磁兼容性。The invention realizes a microwave channel full-switching network that can be expanded arbitrarily and has no pre-stored code table, and at the same time provides a coding and decoding method that can be regularized input control, and controls the switching action through a serial-parallel conversion chip that can be connected in series and expandable. , to achieve arbitrary signal routing. In the embodiment, the construction of the control circuit unit can be programmed, and the network scale is easy to expand, which is beneficial to improve the signal exchange transmission quality and improve the electromagnetic compatibility.

在本发明的实施例中,将复杂交换网络解耦为功能独立单元,设计实现过程简化;In the embodiment of the present invention, the complex switching network is decoupled into functionally independent units, and the design and implementation process is simplified;

在本发明的实施例中,网络规模易于扩展,可通过树形网络的扩展完成任意规模的交换网络;In the embodiment of the present invention, the network scale is easy to expand, and a switching network of any scale can be completed through the expansion of the tree-shaped network;

在本发明的实施例中,设计过程程式化,输入输出分配网络电路互联关系、控制位编码方式等实现参数化,可根据设计参数再通过自动布线辅助等进行半自动化设计;In the embodiment of the present invention, the design process is stylized, the circuit interconnection of the input and output distribution network, the control bit coding method, etc. are parameterized, and the semi-automatic design can be carried out according to the design parameters through automatic wiring assistance, etc.;

在本发明的实施例中,不需要预存控制码表,节约逻辑器件的存储资源,适合现场可编程逻辑器件(FPGA等)实现;In the embodiment of the present invention, there is no need to pre-store the control code table, which saves the storage resources of the logic device, and is suitable for field programmable logic device (FPGA, etc.) implementation;

在本发明的实施例中,使用有限的串行码值(N*r位)完成交换路由的控制等。In the embodiment of the present invention, the control of switching routing, etc. is accomplished using a limited serial code value (N*r bits).

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that are used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present invention, and for those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.

图1为本发明实施例中输入网络形成方式示意;1 is a schematic diagram of an input network formation method in an embodiment of the present invention;

图2为本发明实施例中输出网络形成方式示意图;FIG. 2 is a schematic diagram of a method of forming an output network in an embodiment of the present invention;

图3为本发明实施例中交叉网络形成方式示意图;FIG. 3 is a schematic diagram of a method for forming a cross network in an embodiment of the present invention;

图4为本发明实施例中控制单元硬件电路组成示意图;4 is a schematic diagram of a hardware circuit composition of a control unit in an embodiment of the present invention;

图5为本发明实施例中第n个输入端口的输入网络码位编号示意图;5 is a schematic diagram of an input network code bit numbering of an nth input port in an embodiment of the present invention;

图6为本发明实施例中第m个输出端口的输出网络码位编号示意图;6 is a schematic diagram of the output network code bit numbering of the mth output port in the embodiment of the present invention;

图7为本发明实施例中2*4交换网络关系示意图。FIG. 7 is a schematic diagram of a 2*4 switching network relationship in an embodiment of the present invention.

具体实施方式Detailed ways

本说明书中所有实施例公开的所有特征,或隐含公开的所有方法或过程中的步骤,除了互相排斥的特征和/或步骤以外,均可以以任何方式组合和/或扩展、替换。All features disclosed in all embodiments in this specification, or steps in all methods or processes that are implicitly disclosed, except mutually exclusive features and/or steps, may be combined and/or expanded or replaced in any manner.

实施例1Example 1

如图1~7所示,在本实施例中,以一个N*M规模(参数N,M为2的整数次幂,例如N=2c,M=2r)交换网络的具体实施方式做详细说明。As shown in Figures 1 to 7, in this embodiment, a specific implementation of a switching network in a scale of N*M (parameter N, M is an integer power of 2, for example, N=2 c , M=2 r ) Detailed description.

本发明实施例的设计方法包括以下实现步骤:The design method of the embodiment of the present invention includes the following implementation steps:

输入网络设计,对输入一侧N端口中的每一个端口使用单刀双掷开关(SPDT)进行二叉树型网状扩展,扩展到生成M个终端节点结束。第n个端口的扩展图如图1所示,树形节点使用RFn_xxx表示,表示第n个输入端口的xxx号节点。(备注:可选的,使用的SPDT开关在选择上支路时,控制线的二进制开关逻辑控制值为“0”,选择下面支路时,开关逻辑控制值为“1”。)In the input network design, a single-pole double-throw switch (SPDT) is used for each of the N ports on the input side to perform a binary tree mesh expansion, and the expansion ends with the generation of M terminal nodes. The expansion diagram of the nth port is shown in Figure 1. The tree node is represented by RFn_xxx, which represents the xxx node of the nth input port. (Note: Optionally, when the SPDT switch used selects the upper branch, the binary switch logic control value of the control line is "0", and when the lower branch is selected, the switch logic control value is "1".)

输出网络设计,对输出一侧M端口中的每一个端口使用单刀双掷开关进行二叉树型网状扩展,扩展到生成N个终端节点结束。第m个端口的扩展图如图2所示,树形节点使用RFm_xxx表示,表示第m个输出端口的xxx号节点。In the design of the output network, a single-pole double-throw switch is used for each port of the M ports on the output side to perform a binary tree mesh expansion, and the expansion ends with the generation of N terminal nodes. The expansion diagram of the mth port is shown in Figure 2. The tree node is represented by RFm_xxx, which represents the xxx node of the mth output port.

交叉网络设计,在该步骤中输入网络完成输入和输出网络的子节点间交叉互联,互联方法具体包括:Cross-network design, in this step, the input network completes the cross-interconnection between the sub-nodes of the input and output networks, and the interconnection method specifically includes:

将输入一侧端口(共N个输入端口)中的第n个输入端口的树型扩展网络中的第xxx个节点,编号为RFn_xxx;The xxxth node in the tree-type expansion network of the nth input port in the input side ports (N input ports in total) is numbered as RFn_xxx;

将二进制编码的节点序号xxx转换为十进制数X,该节点为第n个输入端口的第m=X+1个节点。比如节点编号RF5_010代表第5个输入端口的第3个节点;Convert the binary-coded node serial number xxx into a decimal number X, and the node is the m=X+1th node of the nth input port. For example, the node number RF5_010 represents the third node of the fifth input port;

将输出一侧端口(共M个输出端口)中的第m个输出端口的树型扩展网络中的第yyy个节点,其节点编号为RFm_yyy;Extend the yyyth node in the tree-type expansion network of the mth output port among the ports on the output side (total M output ports), and its node number is RFm_yyy;

将二进制编码的节点序号yyy转换为十进制数Y,该节点为第m个输出端口的第n=Y+1个节点。比如节点编号RF2_100代表第2个输出端口的第5个节点;Convert the binary-coded node serial number yyy to a decimal number Y, and the node is the n=Y+1th node of the mth output port. For example, the node number RF2_100 represents the fifth node of the second output port;

将第n个输入端口的第m个节点,通过高频传输线互联至第m个输出端口的第n个节点;Interconnect the mth node of the nth input port to the nth node of the mth output port through a high-frequency transmission line;

完成整个交叉互联需要M*N根互联线;To complete the entire cross-connection, M*N interconnection lines are required;

交叉网络可采用微波多层板或电缆等进行物理实现。The crossover network can be physically implemented using microwave multilayer boards or cables.

控制单元设计,如图4所示,由于网络规模一般较大,对交换网络的开关的控制,采用串行移位寄存器电路,通过串行控制码位输入,并行控制码位输出的方式进行编码控制,当网络规模扩展导致并行位需要增加时,可采用多片寄存器串接的方式进行扩展。The design of the control unit, as shown in Figure 4, because the network scale is generally large, the control of the switch of the switching network adopts the serial shift register circuit, which is coded by serial control code bit input and parallel control code bit output. Control, when the network scale expansion leads to the need to increase the parallel bits, the expansion can be carried out by connecting multiple registers in series.

输入输出网络控制线对应的控制码位映射过程,包括步骤:The control code bit mapping process corresponding to the input and output network control lines includes the steps:

对第n个输入端口侧形成的树型网络的SPDT开关控制线进行码位映射。如图5所示,第一列开关的控制线映射码位为(n-1)*r+1,第二Code bit mapping is performed on the SPDT switch control line of the tree network formed on the nth input port side. As shown in Figure 5, the control line mapping code bits of the switches in the first column are (n-1)*r+1, and the second column

列开关的控制线映射码位为(n-1)*r+2,依次递增,第r列开关的控制线码位映射为n*r。按此方式,N个输入端口形成的N个树形网络需要的码位编号为1~Nr。The control line mapping code bit of the column switch is (n-1)*r+2, which increases in turn, and the control line code bit of the rth column switch is mapped to n*r. In this way, the code bit numbers required for the N tree-shaped networks formed by the N input ports are 1˜Nr.

依照相同的方法,如图6所示,对M个输出端口侧形成的树型网络的SPDT开关控制线进行码位映射,码位编号为Nr+1到Nr+Mc。According to the same method, as shown in FIG. 6 , code bit mapping is performed on the SPDT switch control lines of the tree network formed by the M output ports, and the code bits are numbered from Nr+1 to Nr+Mc.

各码位的码值编码过程,由于交换网络的连通任意性,对一个8*8网络即需要8!张控制编码表,因此采用传统预存储查找表方式形成码值需耗费大量存储资源。本发明实施例结合构建的网络的具体实现过程,再提出一种适合现场可编程逻辑器件(FPGA或CPLD等)实现的码位编码方法,步骤如下:The code value encoding process of each code bit requires 8 for an 8*8 network due to the arbitrary connectivity of the switching network! Therefore, using the traditional pre-stored look-up table method to form code values requires a lot of storage resources. The embodiment of the present invention proposes a code bit encoding method suitable for the realization of a field programmable logic device (FPGA or CPLD, etc.) in combination with the specific implementation process of the constructed network. The steps are as follows:

首先,按输入输出网络控制线对应的控制码位映射过程写出各个输入端口对应的码位号。网络第1个输入端口的码位号为1~r,第2个输入端口的码位号为r+1~2r,依次类推,第N个端口的码位号为(N-1)*r+1~N*r;First, write out the code bit number corresponding to each input port according to the control code bit mapping process corresponding to the input and output network control lines. The code point number of the first input port of the network is 1~r, the code point number of the second input port is r+1~2r, and so on, the code point number of the Nth port is (N-1)*r +1~N*r;

然后,从输入端口号1开始,根据其路由选择连通的输出端口号,给出第1个输入端口对应码位1~r的码值。码值即为“路由选择连通的输出端口号-1”对应的二进制值,映射表如下表所示。Then, starting from the input port number 1, the connected output port number is selected according to its routing, and the code value of the first input port corresponding to the code bits 1 to r is given. The code value is the binary value corresponding to "Route selection connected output port number -1", and the mapping table is shown in the following table.

表1输入端口号对应码位的码值表Table 1 The code value table of the corresponding code bit of the input port number

输入端口号1对应码位Input port number 1 corresponding code point 码位1code point 1 码位2code point 2 码位3code point 3 码位r-1code point r-1 码位rcode point r 输入端口号2对应码位Input port number 2 corresponding code point 码位r+1Code point r+1 码位r+2Code point r+2 码位r+3Code point r+3 码位2r-1Code point 2r-1 码位2rCode point 2r 输入端口号N对应码位Input port number N corresponds to the code point 码位(N-1)*r+1Code point (N-1)*r+1 码位(N-1)*r+2Code point (N-1)*r+2 码位(N-1)*r+3Code point (N-1)*r+3 码位N*r-1Code point N*r-1 码位N*rCode point N*r 输出端口号1output port number 1 00 00 00 00 00 输出端口号2output port number 2 00 00 00 00 11 输出端口号3output port number 3 11 00 输出端口号Moutput port number M 11 11 11 11 11

同样的方法,根据输入端口号2到输入端口号N“路由选择的输出端口号”,给出对应的剩余码位的码值。In the same way, according to the input port number 2 to the input port number N "routed output port number", the code value of the corresponding remaining code bits is given.

同样的方法,根据输出端口号“路由选择的输入端口号”,给出全部输出端口对应码位的码值,映射表如下。In the same way, according to the output port number "routed input port number", the code values of the corresponding code bits of all output ports are given, and the mapping table is as follows.

表2输出端口号对应码位的码值表Table 2 The code value table of the corresponding code bit of the output port number

Figure BDA0003033711710000081
Figure BDA0003033711710000081

Figure BDA0003033711710000091
Figure BDA0003033711710000091

采用硬件描述语言进行电路描述时,按照逻辑选择的优先级依次进行描述,以免电路综合产生逻辑冲突。优先描述输入端口号1对应的输入端口网络码位的码值过程,在此过程中,应该给出输入端口1选择的输出端口网络码位,这样可得到码位1~r,以及在1~r码位码值取定条件下N*r+1~Nr+Mc当中的c个码位的取值;When the hardware description language is used to describe the circuit, the description is carried out according to the priority of the logic selection, so as to avoid the logic conflict caused by the circuit synthesis. First describe the code value process of the input port network code bit corresponding to the input port number 1. In this process, the output port network code bit selected by the input port 1 should be given, so that the code bits 1 to r can be obtained, and between 1 to 1 The value of c code bits among N*r+1~Nr+Mc under certain conditions;

以优先级最高的输入端口号1的译码过程为例,译码的描述表如下。Taking the decoding process of the input port number 1 with the highest priority as an example, the description table of the decoding is as follows.

表3根据输入端口号去向的码位取值表Table 3 The value table of the code point according to the destination of the input port number

Figure BDA0003033711710000092
Figure BDA0003033711710000092

再描述输入端口号2的译码过程,可得到码位r+1~2*r,以及在r+1~2*r码位码值取定条件下N*r+1~Nr+Mc当中的c个码位的取值。Describe the decoding process of the input port number 2 again, the code bits r+1~2*r can be obtained, and among N*r+1~Nr+Mc under the condition of r+1~2*r code bit code value The value of the c code points of .

通过上述编译过程,每次输入N*r个码位的码值,可完成一次交换切换涉及到的全部开关的控制。Through the above compiling process, each time a code value of N*r code bits is input, the control of all switches involved in one exchange switching can be completed.

实施例2Example 2

以2*4交换网络为例,设计过程如下:Taking a 2*4 switching network as an example, the design process is as follows:

输入网络、输出网络、交叉网络按如图7所示方式实现,设计参数值N=2,M=4,c=1,r=2。The input network, output network, and crossover network are implemented as shown in Figure 7, and the design parameter values are N=2, M=4, c=1, and r=2.

根据输入端口去向定义的码位码值表:The code point code value table defined according to the destination of the input port:

表4根据输入端口号去向的码位取值表Table 4. The value table of the code point according to the destination of the input port number

Figure BDA0003033711710000101
Figure BDA0003033711710000101

对网络控制,需要根据输入端口号的路由选择,输入N*r=4个码位的码值,例如需要将输入1端口到输出3端口,输入2端口交换到输出4端口,需要输入4个码位值[1,0,1,1],按照表3,[码位1:码位8]的取值为[1,0,1,1,x,x,0,1](x表示0或者1,任意取值),可通过图7网络的信号流向关系检验,正确实现了上述功能。For network control, it is necessary to select the route according to the input port number, and input the code value of N*r=4 code bits. For example, it is necessary to switch input port 1 to output port 3, input port 2 to output port 4, and need to input 4 Code point value [1,0,1,1], according to Table 3, the value of [code point 1: code point 8] is [1, 0, 1, 1, x, x, 0, 1] (x represents 0 or 1, any value), the above functions can be correctly realized through the signal flow relationship test of the network in Figure 7.

本发明未涉及部分均与现有技术相同或可采用现有技术加以实现。The parts not involved in the present invention are the same as the prior art or can be implemented by using the prior art.

上述技术方案只是本发明的一种实施方式,对于本领域内的技术人员而言,在本发明公开了应用方法和原理的基础上,很容易做出各种类型的改进或变形,而不仅限于本发明上述具体实施方式所描述的方法,因此前面描述的方式只是优选的,而并不具有限制性的意义。The above technical solution is only an embodiment of the present invention. For those skilled in the art, on the basis of the application methods and principles disclosed in the present invention, it is easy to make various types of improvements or deformations, not limited to The methods described in the above-mentioned specific embodiments of the present invention, therefore, the methods described above are only preferred, and have no restrictive meaning.

除以上实例以外,本领域技术人员根据上述公开内容获得启示或利用相关领域的知识或技术进行改动获得其他实施例,各个实施例的特征可以互换或替换,本领域人员所进行的改动和变化不脱离本发明的精神和范围,则都应在本发明所附权利要求的保护范围内。In addition to the above examples, those skilled in the art can obtain enlightenment from the above disclosure or use knowledge or technology in the relevant field to make changes to obtain other embodiments, the features of each embodiment can be interchanged or replaced, and the changes and changes made by those skilled in the art Without departing from the spirit and scope of the present invention, all should fall within the protection scope of the appended claims of the present invention.

本发明功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,在一台计算机设备(可以是个人计算机,服务器,或者网络设备等)以及相应的软件中执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、或者光盘等各种可以存储程序代码的介质,进行测试或者实际的数据在程序实现中存在于只读存储器(Random Access Memory,RAM)、随机存取存储器(Random Access Memory,RAM)等。If the functions of the present invention are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention 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. The computer software product is stored in a storage medium, and the A computer device (which may be a personal computer, a server, or a network device, etc.) and corresponding software execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, or optical disk and other media that can store program codes, and the test or actual data exists in a read-only memory (Random Access Memory, RAM), random storage memory in the program implementation. Access memory (Random Access Memory, RAM) and so on.

Claims (2)

1. A control method for a microwave channel full-switching network is characterized by comprising the following steps:
a1, designing a control unit, performing coding control on the switch of a switching network by adopting a serial shift register circuit in a mode of inputting serial control code bits and outputting parallel control code bits, and when the parallel bits need to be increased due to network scale expansion, performing expansion by adopting a mode of connecting a plurality of registers in series;
a2, based on the control unit in the step A1, realizing the mapping process of the control code bit corresponding to the input/output network control line; in step a2, the method specifically includes the steps of:
a21, performing code bit mapping on a switch control line of the tree network formed on the nth input port side, wherein the control line mapping code bit of the first row of switches is (n-1) × r +1, the control line mapping code bit of the second row of switches is (n-1) × r +2, the control line mapping code bits are sequentially increased in number, and the control line code bit of the nth row of switches is mapped into n × r; according to the mode, code bits required by N tree networks formed by N input ports are numbered from 1 to Nr; n is an integer power of 2, N is an integer, r is an integer, and Nr is the product of N and r;
a22, performing code bit mapping on the switch control lines of the tree network formed on the M output port sides according to the same processing as the step a21 to obtain code bit numbers Nr +1 to Nr + Mc; m is an integer power of 2, c is an integer, and Mc is the product of M and c.
2. A coding and decoding method for a microwave channel full-switching network, comprising the method for controlling the microwave channel full-switching network according to claim 1, further comprising the steps of:
b1, writing out the code bit number corresponding to each input port according to the control code bit mapping process corresponding to the input/output network control line; the code bit number of the network input port number 1 is 1-r, the code bit number of the network input port number 2 is r + 1-2 r, and the analogy is repeated, and the code bit number of the network input port number N is (N-1) × r + 1-Nxr;
b2, starting from the input port number 1, selecting a communicated output port number according to the routing of the input port number, and giving a code value of code bits 1-r corresponding to the 1 st input port; the code value is a binary value corresponding to the output port number-1 communicated by the routing;
b3, according to the output port number from the input port number 2 to the input port number N, giving the code value of the corresponding residual code bit; after the code bits from the input port number 2 to the input port number N are obtained in the step B1, according to the input port routing selection communicated output port numbers, code values of the code bits r + 1-N × r corresponding to the ports are given, and the code values are binary values corresponding to the routing communicated output port number-1;
b4, according to the input port number selected by the output port number route, giving the code value of the code bit corresponding to all the output ports; the code bit corresponding to the 1 st output port number is N x r + 1-N x r + c, and the rest is done in sequence, the code bit corresponding to the output port number M is N x r + (M-1) c + 1-N x r + M, and the code value is a binary value corresponding to the input port number-1 communicated with the routing;
b5, when the circuit description is carried out by adopting the hardware description language, the circuit description is carried out in sequence according to the priority of the logic selection; preferentially describing a code value process of an input port network code bit corresponding to an input port number 1, wherein in the process, an output port network code bit selected by an input port 1 is given, so that code bits 1-r are obtained, and values of c code bits in Nr + 1-Nr + Mc are obtained under the condition that the code values of the code bits 1-r are obtained;
b6, describing a decoding process of the input port number 1 with the highest priority, then describing a decoding process of the input port number 2, obtaining code bits r + 1-2 r, and values of c code bits in the code bits N + 1-Nr + Mc under the condition that the code bits of the r + 1-2 r are determined; through the compiling process, the code values of the N x r code bits are input each time, and the control of all switches involved in one-time exchange switching is completed.
CN202110437685.6A 2021-04-22 2021-04-22 Microwave channel full-switching network construction method, control method and coding and decoding method Active CN113242188B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110437685.6A CN113242188B (en) 2021-04-22 2021-04-22 Microwave channel full-switching network construction method, control method and coding and decoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110437685.6A CN113242188B (en) 2021-04-22 2021-04-22 Microwave channel full-switching network construction method, control method and coding and decoding method

Publications (2)

Publication Number Publication Date
CN113242188A CN113242188A (en) 2021-08-10
CN113242188B true CN113242188B (en) 2022-06-21

Family

ID=77128919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110437685.6A Active CN113242188B (en) 2021-04-22 2021-04-22 Microwave channel full-switching network construction method, control method and coding and decoding method

Country Status (1)

Country Link
CN (1) CN113242188B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1507285A (en) * 2002-12-06 2004-06-23 中国科学院计算技术研究所 The Method of Using FPGA Device to Realize the Routing Chip of Cluster Switching Network
JP2008092485A (en) * 2006-10-05 2008-04-17 Hitachi Ltd Packet reorderer and packet reordering method for distributed switch system
AU2013201574B1 (en) * 2013-03-15 2014-04-24 Geodica Pty Ltd An information distribution system
CN104737540A (en) * 2012-11-13 2015-06-24 英特尔公司 Video codec architecture for next generation video
CN105119833A (en) * 2015-09-08 2015-12-02 中国电子科技集团公司第五十八研究所 Hybrid interconnection structure for network-on-chip, network node encoding method and hybrid routing algorithm thereof
CN107104737A (en) * 2017-03-01 2017-08-29 西安微电子技术研究所 A kind of node device port extension system and method based on optical fiber interconnections
CN109327410A (en) * 2018-12-07 2019-02-12 天津光电通信技术有限公司 A kind of improvement three-level CLOS routing algorithm intersected based on FPGA
CN109412962A (en) * 2018-10-25 2019-03-01 天津光电通信技术有限公司 A kind of reconfigurable routing crossover network and its implementation
CN208820815U (en) * 2018-10-25 2019-05-03 天津光电通信技术有限公司 Reconfigurable routing crossover network based on three-level Clos framework
CN110999224A (en) * 2017-08-10 2020-04-10 马西莫·圭尔奇 Programmable Logic Switches and Systems

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010055299A1 (en) * 1996-08-16 2001-12-27 Keith C. Kelly Method and apparatus for establishing communications between packet-switched and circuit-switched networks
CN1216472C (en) * 2003-03-31 2005-08-24 中国科学院计算机网络信息中心 A Control Method of Hierarchical Switching Network Node Domain
US9509432B2 (en) * 2014-06-18 2016-11-29 Maged E. Beshai Optical spectral-temporal connector
US10476492B2 (en) * 2018-11-27 2019-11-12 Intel Corporation Structures and operations of integrated circuits having network of configurable switches

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1507285A (en) * 2002-12-06 2004-06-23 中国科学院计算技术研究所 The Method of Using FPGA Device to Realize the Routing Chip of Cluster Switching Network
JP2008092485A (en) * 2006-10-05 2008-04-17 Hitachi Ltd Packet reorderer and packet reordering method for distributed switch system
CN104737540A (en) * 2012-11-13 2015-06-24 英特尔公司 Video codec architecture for next generation video
AU2013201574B1 (en) * 2013-03-15 2014-04-24 Geodica Pty Ltd An information distribution system
CN105119833A (en) * 2015-09-08 2015-12-02 中国电子科技集团公司第五十八研究所 Hybrid interconnection structure for network-on-chip, network node encoding method and hybrid routing algorithm thereof
CN107104737A (en) * 2017-03-01 2017-08-29 西安微电子技术研究所 A kind of node device port extension system and method based on optical fiber interconnections
CN110999224A (en) * 2017-08-10 2020-04-10 马西莫·圭尔奇 Programmable Logic Switches and Systems
CN109412962A (en) * 2018-10-25 2019-03-01 天津光电通信技术有限公司 A kind of reconfigurable routing crossover network and its implementation
CN208820815U (en) * 2018-10-25 2019-05-03 天津光电通信技术有限公司 Reconfigurable routing crossover network based on three-level Clos framework
CN109327410A (en) * 2018-12-07 2019-02-12 天津光电通信技术有限公司 A kind of improvement three-level CLOS routing algorithm intersected based on FPGA

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Honghao Ju ; Ben Liang ; Jiandong Li ; Yan Long ; Xiaoniu Yang.Adaptive Cross-Network Cross-Layer Design in Heterogeneous Wireless Networks.《IEEE Transactions on Wireless Communications》.2015, *
片上网络的拓扑结构研究;胡伟;《黄山学院学报》;20101020(第05期);全文 *
简化数据变换网络与全交叉网络拓扑等价的多套逻辑名矩阵;艾军,曹明翠,李再光;《计算机工程》;19940420(第02期);全文 *

Also Published As

Publication number Publication date
CN113242188A (en) 2021-08-10

Similar Documents

Publication Publication Date Title
CN111162797B (en) Encoding device and encoding method of rate compatible 5G LDPC code
US12407629B2 (en) Efficient parallelized computation of a Benes network configuration
US8138788B2 (en) Reconfigurable device
CN110495144B (en) Network topology mapping method and device, terminal and storage medium
CN109815583B (en) Wiring method and testing method for wiring resources of FPGA (field programmable Gate array)
US9529775B2 (en) Network topology of hierarchical ring with gray code and binary code
Krainyk et al. Hardware-oriented turbo-product codes decoder architecture
WO1996034351A1 (en) Method for designing semiconductor integrated circuit and automatic designing device
US11765041B1 (en) Methods and systems for implementing a high radix network topology
CN113242188B (en) Microwave channel full-switching network construction method, control method and coding and decoding method
US9529774B2 (en) Network topology of hierarchical ring with gray coding shortcuts
CN110210102A (en) Bionic Self-healing Hardware Distributed Global Dynamic Routing System
CN112242851A (en) Iterative data processing method in layered decoding of LDPC code and decoder system
JP4904497B2 (en) Multistage switch control circuit
CN110971242B (en) Generalized LDPC decoding barrel shifter
EP3180860A1 (en) Reconfigurable integrated circuit with on-chip configuration generation
CN114595658A (en) Design method of row decoding circuit and related equipment
CN109412962B (en) Reconfigurable routing crossover network and implementation method thereof
CN109842553B (en) A link resource-oriented adaptive interconnection and routing control method and system
CN115310612A (en) Quantum line construction method and device and quantum computer operating system
CN114286368B (en) Method and device for realizing cyclic shift
CN117278499B (en) Network link creation method, device, equipment and storage medium
CN113630126B (en) Polar code decoding processing method, device and equipment
CN113206674B (en) Efficient interleaver and interleaving method for LDPC decoder
CN118353861A (en) Reconfigurable network message header reassembly device based on pipelined Benes 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