Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

24 results about "Butterfly network" patented technology

A butterfly network is a technique to link multiple computers into a high-speed network. This form of multistage interconnection network topology can be used to connect different nodes in a multiprocessor system. The interconnect network for a shared memory multiprocessor system must have low latency and high bandwidth unlike other network systems, like local area networks (LANs) or internet for three reasons...

Sparse data feature-based number-theory transformation acceleration method

The invention provides a number-theory transformation acceleration method based on sparse data features, and belongs to the field of accelerator system design in privacy calculation. According to the method, the number of times of multiply-add calculation in the butterfly network is reduced by utilizing the sparsity of input data in number theory transformation, and the whole process comprises four steps of bit inversion, pre-calculation, optimization calculation execution and subsequent butterfly network calculation execution. According to the data distribution type after bit inversion in the number-theory transformation, a corresponding optimization calculation method is designed, the preceding-stage calculation data flow of the butterfly network is optimized, multi-stage calculation is combined, unnecessary calculation is avoided, the multiplication and addition times needed in the number-theory transformation are greatly reduced, calculation delay is reduced, and the overall energy efficiency of privacy reasoning is improved; wide application prospects are realized.
Owner:PEKING UNIV

CPU (Central Processing Unit) butterfly network computing method

The invention discloses a CPU (central processing unit) butterfly network computing method, which relates to the field of network computing and comprises a butterfly network optimization step, a butterfly algorithm optimization step and an SIMD (single instruction multiple data) optimization step. The butterfly network optimization comprises the following steps of: on the basis of an iterative Stockham FFT (Fast Fourier Transform) calculation framework, combining calculation kernels by using a Cooley-Tukey FFT algorithm so as to improve the performance of the butterfly network; the butterfly algorithm optimization comprises the following steps: extracting a common item of a butterfly calculation formula, and simplifying large-base butterfly calculation for butterfly algorithm optimization; the SIMD optimization comprises the following steps: optimizing an SIMD assembly instruction, designing a register multiplexing strategy and a stack memory use mode, and relieving the memory access pressure of large-base butterfly computation by utilizing a memory. Through the scheme, the instructions with low delay and high throughput are screened, the instruction processing speed is increased, and the efficiency of processing data by operation resources is improved through register multiplexing.
Owner:CHINA FAW CO LTD +1

Flattened 2d network for neural network sparsification

The present invention relates to a circuit including a plurality of routers arranged as a 2D flattened array, each router in the 2D flattened array comprises: a routing network configured to route data between the router and other routers in the 2D flattened array, an input interface configured to receive data from a memory, and an output interface configured to output data to the memory. The 2D flattened array implements a logical butterfly network, and is configurable as a gather circuit, operable to gather high-magnitude tensor data from a dense tensor into a condensed tensor, or a scatter circuit, operable to scatter tensor data from the condensed tensor into a sparse uncondensed tensor based on a given mask.
Owner:MOFFETT TECH CO LTD

Low-delay linear interpolation accelerator integrated with pre-processing module and method

The invention discloses a low-delay linear interpolation accelerator integrated with a pre-processing module and a method, the low-delay linear interpolation accelerator is composed of an input module, a front-end processing module, a symbol expansion module, a linear interpolation calculation module and an output module, and the input module is used for data input; the front-end processing module comprises a butterfly network channel and an anti-butterfly network channel, and the butterfly network channel and the anti-butterfly network channel are used for bidirectional cyclic shift, bit aggregation and bit dispersion; the symbol expansion module is used for expanding symbol bits of the data; and the linear interpolation calculation module is used for calculating the interpolation of the corresponding interpolation proportion. Under the same combinatorial logic hardware consumption, the bidirectional cyclic shift, bit aggregation and bit dispersion functions can be realized by using an inverse butterfly network structure and a butterfly network structure, the circuit can also be well transplanted to a module with a higher bit width and can be applied to other functions, and meanwhile, a pre-processing module can work independently of an interpolator.
Owner:NANJING WUJIAN TECH CO LTD

Multi-transmit and multi-collect communication method and system based on butterfly network

The present invention discloses a multi-transmitter, multi-collector combined communication method and system based on a butterfly network, belonging to the field of distributed computing technology. The method comprises: obtaining a single-round communication startup delay, a single data element calculation time, and a bandwidth of the butterfly network; determining a data scale critical point of a single computing node based on the single-round communication startup delay, the single data element calculation time, and the bandwidth; obtaining a data scale; if the data scale is greater than the data scale critical point, performing a global reduction operation between multiple computing nodes of the butterfly network through a first multi-transmitter, multi-collector communication paradigm; otherwise, performing a global reduction operation between multiple computing nodes of the butterfly network through a second multi-transmitter, multi-collector communication paradigm; and enabling adaptive communication for distributed data transmission scenarios of different scales, thereby solving the problem that existing communication algorithms cannot balance communication delay and bandwidth utilization.
Owner:SHANDONG UNIV

Bit reverse shifting method, device, processor and electronic device

The present application relates to the field of computers, and discloses a bit reversal shifting method, device, processor, and electronic device. The method comprises: obtaining data to be processed; generating a shift control signal according to the shift type and the number of shift bits of the data to be processed, and generating a bit reversal control signal according to the number of bits of the data to be processed; performing an XOR operation on the shift control signal and the bit reversal control signal to obtain a bit reversal shifting control signal; inputting the bit reversal shifting control signal and the data to be processed into an inverse butterfly network to obtain a result of bit reversal and circular shifting of the data to be processed; post-processing the result of bit reversal and circular shifting to obtain a result of bit reversal and shifting of the data to be processed. Therefore, the computer can perform bit reversal and shifting operations on the binary number of the data in parallel, thereby improving the computing efficiency.
Owner:ARM TECH CHINA CO LTD

Data processing methods, apparatus, and computer equipment based on butterfly networks

This disclosure provides a data processing method, apparatus, and computer device based on butterfly networks, relating to the fields of artificial intelligence and hardware acceleration technology. The solution is as follows: In a switchable data processing architecture including an inverse butterfly network, a preprocessing module, a post-processing module, and a control signal generation module, when switching to aggregation operation, the preprocessing module inputs the first input data into the inverse butterfly network, the control signal generation module outputs the first control signal to complete data processing, and the post-processing module directly outputs the aggregation result. When switching to distribution operation, the preprocessing module performs input position mapping and filling on the second input data to obtain the third input data, the control signal generation module outputs the adapted second control signal to complete data processing, and the post-processing module performs rearrangement on the intermediate results to output the distribution result. This reduces hardware resource consumption, lowers control complexity and processing latency, and improves the hardware deployment adaptability of neural network sparse computing while ensuring functional integrity.
Owner:MOFFETT AI TECHNOLOGY SHENZHEN CO LTD

Security controlled quantum network coding method based on quantum one-time pad

The invention discloses a security controlled quantum network coding method based on quantum one-time pad, and belongs to the technical field of quantum communication networks. The coding method is based on a butterfly network model and utilizes the technologies of quantum key distribution, quantum teleportation, quantum one-time pad and the like; the method comprises the following steps: sharing a key and establishing an entanglement relationship, transferring information of quantum bits, encrypting the transferred quantum bits, encrypting a measurement result, encoding the encrypted measurement result, copying encoding information, decrypting the encoding information, requesting sending of the measurement information, decrypting the encrypted measurement information, and decrypting the encrypted quantum bits. A controllable quantum network coding method is designed, so that two to-be-transmitted quantum bits realize secure cross transmission with the help of a control node, and an untrusted intermediate node and an external eavesdropper are effectively prevented from acquiring information of the to-be-transmitted quantum bits.
Owner:AEROSPACE TIMES FEIHONG TECH CO LTD

Quantum network coding method and device based on quantum homomorphic encryption

According to the quantum network coding method and device based on quantum homomorphic encryption, quantum state transmission can be achieved through local measurement, only classical measurement results need to be transmitted subsequently, direct transmission of quantum states is avoided, the risks of noise and de-coherence are reduced, quantum operation is simplified through local measurement, the requirement for quantum gates is reduced, and the quantum network coding efficiency is improved. Therefore, the calculation efficiency is improved, and the performance and reliability of the quantum homomorphic encryption scheme are improved. The method comprises the following steps: (1) preprocessing: pre-sharing cluster states among nodes of a butterfly network; (2) encryption and coding: the nodes realize quantum state encryption and transmission through local measurement and classical communication; (3) quantum homomorphic evaluation: operating a quantum gate by using a measurement-based quantum calculation MBQC model on a cluster state, wherein the quantum gate comprises {X, Z, H, S, T, CNOT}; and (4) decryption and decoding: after the receiving node receives the encryption key from the sender and the measurement result of the server, deriving a decryption key, and carrying out Fouli correction operation on the received quantum state.
Owner:BEIJING INSTITUTE OF GRAPHIC COMMUNICATION

Methods, devices, electronic equipment, and storage media for arranging vector elements

This application proposes a method, apparatus, electronic device, and storage medium for arranging vector elements. The method includes: acquiring vector elements to be processed, and determining the levels of each switching node (SN) unit in a butterfly network based on the number of vector elements to generate the butterfly network; wherein the butterfly network is used to arrange the vector elements; determining the input-output mapping relationship between the levels of each switching node (SN) unit in the butterfly network; determining the target state of the SN unit in each level based on the input-output mapping relationship; arranging the vector elements based on the target state, and performing data processing based on the arranged vector elements. Therefore, this scheme enables the arranged vector elements to be transmitted non-blockingly in the butterfly network, thereby enabling the mapping of complex and variable large model workloads onto vector hardware to achieve efficient data processing execution.
Owner:BEIJING VCORE TECH CO LTD

Butterfly network on load data return

A system, method, and device are shown that are operable to transform and align a plurality of fields from an input to an output data stream using a multilayer butterfly or inverse butterfly network by selectably switching bit positions of the input data stream. In some examples, a device includes a first circuit configured to selectably switch bit positions of a first subset of the data stream with a second subset of the data stream and a second circuit configured to: selectably switch bit positions of a first subset of the first subset of the data stream with a second subset of the first subset of the data stream, and selectably switch bit positions of a first subset of the second subset of the data stream with a second subset of the second subset of the data stream.
Owner:TEXAS INSTRUMENTS INC

Non-private and private inference scheduling method and device based on reconfigurable chip

The application provides a non-privacy and privacy reasoning scheduling method based on a reconfigurable chip, which comprises the following steps: determining whether the privacy requirement of a neural network reasoning task is privacy reasoning; if yes, performing a first scheduling step; otherwise, performing a second scheduling step; in the first scheduling step, analyzing an arithmetic logic unit required by the privacy reasoning, combining a reconfigurable multiplier and an adder by a data layout converter to form the arithmetic logic unit, and reconfiguring an interconnection network of a processing unit array into a butterfly network or a SIMD data path to obtain a reconfigurable chip and perform a reasoning step; in the second scheduling step, setting a slice as a tensor mode by the data layout converter, independently and parallelly working all the slices, performing a multiply-accumulate operation by each slice, transmitting data between processing units PEs through horizontal and vertical links to form a pulsating data stream, forming a pulsating array by the processing unit array, obtaining the reconfigurable chip, and performing the reasoning step; and in the reasoning step, performing the neural network reasoning task by the reconfigurable chip to obtain a reasoning result.
Owner:INST OF COMPUTING TECH CHINESE ACAD OF SCI

Hyperspectral target detection method based on butterfly Transform network

The invention discloses a hyperspectral target detection method based on a butterfly Transform network. The hyperspectral target detection method comprises the steps of performing joint masking through a CEM detector and an SAM detector so as to construct target and background training data; the method comprises the following steps: constructing a spectrum pixel coding mechanism and a Transform block, constructing a double-butterfly-shaped Transform network, designing an attention-based separation and aggregation triple loss function, and using the trained double-butterfly-shaped Transform network to extract a representation vector of a difference between each pixel spectrum in a hyperspectral image to be measured and a priori target spectrum; inputting the representation vector into a classification head of a double-butterfly-shaped Transform network to obtain the similarity between the representation vector and the classification head so as to obtain a detection result which only utilizes the spectral information; using an exponential function to increase the distance between the target pixel value and the background pixel value in the spectrum detection result, and then using a power function to map the value of the target pixel to be close to the value in the original spectrum detection result, thereby completing the background suppression.
Owner:DALIAN MARITIME UNIVERSITY

Non-privacy and privacy reasoning scheduling method and device based on reconfigurable chip

The invention provides a non-privacy and privacy reasoning scheduling method based on a reconfigurable chip, which comprises the following steps of: judging whether a privacy demand of a neural network reasoning task is privacy reasoning, if so, executing a first scheduling step, otherwise, executing a second scheduling step; a first scheduling step: analyzing an arithmetic logic unit required by privacy reasoning, combining and reconstructing a multiplier and an adder by a data layout converter to form the arithmetic logic unit, reconstructing an interconnection network of a processing unit array into a butterfly network or an SIMD (Single Instruction Multiple Data) data path to obtain a reconstructed chip, and executing a reasoning step; in the second scheduling step, the data layout converter sets the slices into a tensor mode, all the slices independently work in parallel, each slice executes multiplication and addition accumulation operation, data are transmitted between processing units PE through horizontal and vertical links, a pulsation data stream is formed, a pulsation array is formed by a processing unit array, a reconstructed chip is obtained, and the reasoning step is executed; and a reasoning step: executing the neural network reasoning task by the reconstruction chip to obtain a reasoning result.
Owner:INST OF COMPUTING TECH CHINESE ACAD OF SCI

Accelerators, data processing methods, and semiconductor devices for sparse computing

This disclosure provides an accelerator, data processing method, and semiconductor device for sparse computing, relating to the field of integrated circuit design technology, particularly chip design and artificial intelligence accelerator architecture design. The implementation scheme includes: a butterfly network unit containing multi-level cascaded processing circuits, input ports, and output ports. Each level contains multiple processing nodes, and each node includes an addition / subtraction subcircuit and a cross-switching subcircuit. Adjacent level nodes are connected via interconnects in a butterfly topology. Two modes are included: in the first operating mode, the addition / subtraction subcircuit performs addition and subtraction operations on the data to achieve Hadamard transformation; in the second operating mode, the cross-switching subcircuit selectively routes the data to achieve data aggregation; a quantization unit converts the output data of the butterfly network unit from a first bit width to a smaller second bit width; a matrix multiplication unit performs sparse matrix multiplication; and a global cache unit temporarily stores intermediate data from each unit.
Owner:MOFFETT AI TECHNOLOGY SHENZHEN CO LTD

Anti-pollution-attack quantum network coding method and device based on quantum state sharing

According to the anti-pollution-attack quantum network coding method and device based on quantum state sharing, quantum network coding can be achieved on a butterfly network, a receiver can receive the quantum state from a sender with the fidelity being 1 and the success probability being 1 at the same time, pollution attacks can be completely resisted, and the method and device can be used in an actual network. The method comprises the following steps: (1) a pretreatment stage; (2) a key generation stage; (3) encryption stage; (4) an initial coding stage; (5) an intermediate coding stage; and (6) ending a coding stage, a decoding stage and a decryption stage.
Owner:BEIJING INSTITUTE OF GRAPHIC COMMUNICATION

Processor, vector aggregation method, computer equipment and storage medium

The invention provides a processor, a vector convergence method, computer equipment and a storage medium, and belongs to the technical field of chips and semiconductors. The processor comprises a butterfly network and a switch control circuit; in any level of sub-network, the plurality of switching nodes in the sub-network are not connected; for the ith-level sub-network and the (i + 1) th-level sub-network, the jth switching node in the ith-level sub-network is respectively connected with the jth switching node and the nth switching node in the (i + 1) th-level sub-network, and the nth switching node in the ith-level sub-network is respectively connected with the nth switching node and the jth switching node in the (i + 1) th-level sub-network, the difference between n and j is 2i-1; and the switch control circuit is respectively connected with each switching node in the butterfly network. According to the processor, the wiring complexity is low, the layout cost is saved, and effective elements in the vector can be quickly converged.
Owner:TENCENT TECH (BEIJING) CO LTD

Look-up table read

A digital data processor includes a multi-stage butterfly network, which is configured to, in response to a look up table read instruction, receive look up table data from an intermediate register, reorder the look up table data based on control signals comprising look up table configuration register data, and write the reordered look up table data to a destination register specified by the look up table read instruction.
Owner:TEXAS INSTRUMENTS INC

Butterfly network on load data return

A system, method, and device are shown that are operable to transform and align a plurality of fields from an input to an output data stream using a multilayer butterfly or inverse butterfly network by selectably switching bit positions of the input data stream. In some examples, a device includes a first circuit configured to selectably switch bit positions of a first subset of the data stream with a second subset of the data stream and a second circuit configured to: selectably switch bit positions of a first subset of the first subset of the data stream with a second subset of the first subset of the data stream, and selectably switch bit positions of a first subset of the second subset of the data stream with a second subset of the second subset of the data stream.
Owner:TEXAS INSTRUMENTS INC

Superimposing butterfly network controls for pattern combinations

A multilayer butterfly network is shown that is operable to transform and align a plurality of fields from an input to an output data stream. Many transformations are possible with such a network which may include separate control of each multiplexer. This invention supports a limited set of multiplexer control signals, which enables a similarly limited set of data transformations. This limited capability is offset by the reduced complexity of the multiplexor control circuits. This invention used precalculated inputs and simple combinatorial logic to generate control signals for the butterfly network. Controls are independent for each layer and therefore are dependent only on the input and output patterns. Controls for the layers can be calculated in parallel.
Owner:TEXAS INSTRUMENTS INC

Method and device for generating control bits for an inverse butterfly network using a dynamic programming strategy

The application discloses a control bit generation method and device of an inverse butterfly network adopting a dynamic programming strategy, and solves the problem of poor flexibility of the control bit generation method of the inverse butterfly network in the prior art. The method comprises the following steps: obtaining preset data; determining the inverse butterfly network, the number of stages of the inverse butterfly network and the number of switching units in each stage of the inverse butterfly network according to the preset data; obtaining node extraction position information of a plurality of extraction nodes, a plurality of output nodes and a plurality of exclusive or operation results; traversing the inverse butterfly network, and calculating the switching position information corresponding to the plurality of extraction nodes in each stage; determining the exclusive or operation result corresponding to the extraction node; judging whether the exclusive or operation result is equal to a judgment value, if yes, setting the control bit of the switching unit position corresponding to the exclusive or operation result to 1, and saving the control bit in a control bit storage list; and the flexibility of generating the corresponding control bit algorithm of the inverse butterfly network according to the extraction demand is realized, and the efficiency is improved.
Owner:XIDIAN UNIV

A four-dimensional scalable optical switching network architecture and construction method thereof

This invention discloses a four-dimensional scalable optical switching network architecture and its construction method. The network architecture is divided into two parts: one part, called the scalable transmission area, consists of four N×N butterfly networks, forming a low-complexity, low-crosstalk optical switch array; the other part, called the four-dimensional routing area, consists of N / 2 ring networks. By connecting the constructed scalable transmission area and the four-dimensional routing area, a four-dimensional N×N×N×N scalable optical switching network architecture can be constructed. This invention breaks through the limitations of traditional two-dimensional optical switch arrays and achieves dimensional expansion of the optical switching array. Each port can be interconnected with 3N other ports, achieving a larger signal exchange scale with fewer optical switch units, effectively solving the problem of excessive optical switching network area as the number of ports increases.
Owner:ZHEJIANG LAB

Message field extraction and transmission method, device and equipment

ActiveCN117376453BSimple extraction processSimplify the transfer processTransmissionComputer hardwareData shipping
The present application provides a message field extraction and transmission method, device and equipment, the method includes: based on the pre-acquired field extraction indication, configuring the switch state of the reverse butterfly network in units of bits; selecting the message corresponding to the target layered protocol from each message in a message data conveyor belt input into the twin conveyor belt, and extracting the tag field from the header layer protocol data in the message corresponding to the target layered protocol according to the configured reverse butterfly network; placing each tag field on a message result conveyor belt in the twin conveyor belt for transmission. The present application provides an extraction and transmission method that supports full-field custom extraction and supports arbitrary depth message extraction capacity transmission, which can effectively reduce the width of the configuration bus and simplify the routing connection, and effectively simplify the message field extraction and transmission process, reduce resource consumption and extraction and transmission complexity, and can effectively improve the efficiency of message field extraction and transmission.
Owner:YUSUR TECH CO LTD

Arrangement method and device of vector elements, electronic equipment and storage medium

The application provides a vector element arrangement method and device, electronic equipment and a storage medium. The method comprises: obtaining a to-be-processed vector element, and determining the levels of each exchange node SN unit included in a butterfly network based on the number of vector elements, to generate the butterfly network; wherein the butterfly network is used for arranging the vector elements; determining the input-output mapping relationship between the levels of each exchange node SN unit included in the butterfly network; determining the target state of the SN unit in each level based on the input-output mapping relationship; and arranging the vector elements based on the target state, to perform data processing based on the arranged vector elements. Thus, the arranged vector elements can be transmitted in the butterfly network without blocking, so that complex and variable large model workloads can be mapped to vector hardware, to realize efficient execution of data processing.
Owner:BEIJING VCORE TECH CO LTD