Method and device for allocating resources for physical hybrid automatic repeat request indicator channel

The invention provides a method and a device for allocating resources for a physical hybrid automatic repeat request indicator channel. The method comprises the following steps of: acquiring a physical resource block number offset corresponding to a minimum physical resource block number according to a group number, a sequence number, the number of a plurality of component carriers and the number of first component carriers, and acquiring a first group number and a first orthogonal sequence number according to the group number, the sequence number, the physical resource block number offset, the minimum physical resource block number and a first demodulation reference signal cycle offset. Because the physical resource block number offset is related to the number of the first component carriers, the physical resource block number offset corresponds to different component carriers, even if the minimum physical resource block number is the same, corresponding physical resource block number offsets are different, and a group number and an orthogonal sequence number of the corresponding resource allocation result can be different. In the mode, when total resources to be allocated are enough, the resource allocation conflict of different component carriers due to the same minimum physical resource block number can be avoided.