A resource configuration method, comprising: receiving, by a terminal, first indication information sent by a network device, wherein the first indication information is used to indicate S first time units and T second time units, S and T are both integers greater than or equal to 0, and at least one of S and T is greater than 0, wherein when S≠0, the first indication information further indicates an index value or an identifier of format information of the first time unit; and when T≠0, the first indication information further indicates first set information of the second time unit, the first set information indicates a first set, and the first set comprises index values or identifiers of at least two types of format information of the second time unit; and wherein the S first time units are marked as a time unit #S1 to a time unit #SS, and the T second time units are marked as a time unit #T1 to a time unit #TT and the index values or the identifiers of the format information of the time unit #S1 to the time unit #SS are S1 to SS, when S=0 and T>0, the first indication information is used to indicate the time unit #T1 to the time unit #TT and the first set information of the time unit #T1 to the time unit #TT, when T=0 and S>0, the first indication information is used to indicate the time unit #S1 to the time unit #SS and index values or identifiers of format information of the time unit #S1 to the time unit #SS, and when S>0 and T>0, the first indication information is used to indicate the time unit #S1 to the time unit #SS, S1 to SS, the time unit #T1 to the time unit #TT, and the set information #T1 to the set information #TT; determining, by the terminal, the format information of the first time unit based on the index value or the identifier of the format information of the first time unit, or determining the first set based on the first set information, wherein the format information is used to indicate a type of each symbol comprised in the time unit, and the type of the symbol is one of uplink, downlink, or unknown, the S first time units are the first time unit, the third time unit, and the sixth time unit of 10 continuous time units, types of all symbols comprised in the first time unit and the sixth time unit are all downlink, types of all symbols comprised in the third time unit are all uplink, and the T second time units are other time units than the S first time units in the 10 continuous time units. receiving, by a terminal, first indication information sent by a network device, wherein the first indication information is used to indicate S first time units and T second time units, S and T are both integers greater than or equal to 0, and at least one of S and T is greater than 0, wherein when S≠0, the first indication information further indicates an index value or an identifier of format information of the first time unit; and when T≠0, the first indication information further indicates first set information of the second time unit, the first set information indicates a first set, and the first set comprises index values or identifiers of at least two types of format information of the second time unit; and wherein the S first time units are marked as a time unit #S1 to a time unit #SS, and the T second time units are marked as a time unit #T1 to a time unit #TT and the index values or the identifiers of the format information of the time unit #S1 to the time unit #SS are S1 to SS, when S=0 and T>0, the first indication information is used to indicate the time unit #T1 to the time unit #TT and the first set information of the time unit #T1 to the time unit #TT, when T=0 and S>0, the first indication information is used to indicate the time unit #S1 to the time unit #SS and index values or identifiers of format information of the time unit #S1 to the time unit #SS, and when S>0 and T>0, the first indication information is used to indicate the time unit #S1 to the time unit #SS, S1 to SS, the time unit #T1 to the time unit #TT, and the set information #T1 to the set information #TT; determining, by the terminal, the format information of the first time unit based on the index value or the identifier of the format information of the first time unit, or determining the first set based on the first set information, wherein the format information is used to indicate a type of each symbol comprised in the time unit, and the type of the symbol is one of uplink, downlink, or unknown, the S first time units are the first time unit, the third time unit, and the sixth time unit of 10 continuous time units, types of all symbols comprised in the first time unit and the sixth time unit are all downlink, types of all symbols comprised in the third time unit are all uplink, and the T second time units are other time units than the S first time units in the 10 continuous time units.