A vehicle-to-X, V2X, communication method, comprising: obtaining , by a terminal, a correspondence between a priority of a V2X service data packet and a V2X communication parameter value range, wherein the V2X communication parameter comprises at least one of the following parameters: a modulation and coding scheme MCS, a quantity of transmissions, transmit power, and a quantity of occupied resource blocks RBs; determining , by the terminal, based on the priority of the V2X service data packet and the correspondence, a V2X communication parameter value range corresponding to the priority of the V2X service data packet; selecting , by the terminal, a V2X communication parameter value from the determined V2X communication parameter value range; and transmitting , by the terminal, the V2X service data packet on a radio resource based on the selected V2X communication parameter value; the method further comprising, receiving, by the terminal, a first resource pool configuration information, the first resource pool configuration information is used to indicate a first resource pool, the first resource pool comprises the radio resource, the first resource pool configuration information comprises a service indication information, the service indication information is used to indicate the first resource pool can be used by the V2X service; characterized in that the first resource pool configuration information further comprises a resource selection mechanism indication information, the resource selection mechanism indication information is used to indicate whether the first resource pool uses the detection-based resource selection mechanism, or the random resource selection mechanism, or the detection-based resource selection mechanism and the random resource selection mechanism. obtaining , by a terminal, a correspondence between a priority of a V2X service data packet and a V2X communication parameter value range, wherein the V2X communication parameter comprises at least one of the following parameters: a modulation and coding scheme MCS, a quantity of transmissions, transmit power, and a quantity of occupied resource blocks RBs; determining , by the terminal, based on the priority of the V2X service data packet and the correspondence, a V2X communication parameter value range corresponding to the priority of the V2X service data packet; selecting , by the terminal, a V2X communication parameter value from the determined V2X communication parameter value range; and transmitting , by the terminal, the V2X service data packet on a radio resource based on the selected V2X communication parameter value; the method further comprising, receiving, by the terminal, a first resource pool configuration information, the first resource pool configuration information is used to indicate a first resource pool, the first resource pool comprises the radio resource, the first resource pool configuration information comprises a service indication information, the service indication information is used to indicate the first resource pool can be used by the V2X service; characterized in that the first resource pool configuration information further comprises a resource selection mechanism indication information, the resource selection mechanism indication information is used to indicate whether the first resource pool uses the detection-based resource selection mechanism, or the random resource selection mechanism, or the detection-based resource selection mechanism and the random resource selection mechanism. <EOS>