A method for uplink data transmission, comprising: receiving subset constraint indication information of a sounding reference signal, SRS, resource sent by a network device, and determining at least one available SRS resource subset according to the subset constraint indication information; determining a length of a SRS resource indicator, SRI, according to a quantity of the at least one available SRS resource subset, wherein each SRS resource subset in the at least one available SRS resource subset is one SRS resource combination, and the one SRS resource combination comprises at least one SRS resource; determining a target SRI from downlink control information, DCI, according to the length of the SRI; determining a target SRS resource subset corresponding to the target SRI in the at least one available SRS resource subset; and determining a transmission parameter used for uplink data transmission according to the target SRS resource subset; wherein the method further comprises: determining a corresponding relationship between a value of the SRI and the at least one available SRS resource subset according to the subset constraint indication information; the determining the target SRS resource subset corresponding to the target SRI in the at least one available SRS resource subset, comprises: determining the target SRS resource subset corresponding to the target SRI from the at least one available SRS resource subset according to the corresponding relationship between the value of the SRI and the at least one available SRS resource subset. receiving subset constraint indication information of a sounding reference signal, SRS, resource sent by a network device, and determining at least one available SRS resource subset according to the subset constraint indication information; determining a length of a SRS resource indicator, SRI, according to a quantity of the at least one available SRS resource subset, wherein each SRS resource subset in the at least one available SRS resource subset is one SRS resource combination, and the one SRS resource combination comprises at least one SRS resource; determining a target SRI from downlink control information, DCI, according to the length of the SRI; determining a target SRS resource subset corresponding to the target SRI in the at least one available SRS resource subset; and determining a transmission parameter used for uplink data transmission according to the target SRS resource subset; wherein the method further comprises: determining a corresponding relationship between a value of the SRI and the at least one available SRS resource subset according to the subset constraint indication information; the determining the target SRS resource subset corresponding to the target SRI in the at least one available SRS resource subset, comprises: determining the target SRS resource subset corresponding to the target SRI from the at least one available SRS resource subset according to the corresponding relationship between the value of the SRI and the at least one available SRS resource subset. determining a corresponding relationship between a value of the SRI and the at least one available SRS resource subset according to the subset constraint indication information; the determining the target SRS resource subset corresponding to the target SRI in the at least one available SRS resource subset, comprises: determining the target SRS resource subset corresponding to the target SRI from the at least one available SRS resource subset according to the corresponding relationship between the value of the SRI and the at least one available SRS resource subset.