A communication method, characterized by comprising: receiving, by a core network element, a registration request message from a terminal, wherein the registration request message comprises a V2X capability indication; and sending, by the core network element to the terminal based on the registration request message, a quality of service, QoS, rule used for PC5 interface-based communication of the terminal; wherein the method further comprises: sending, by the core network element, a second request message to a parameter configuration network element based on the registration request message, wherein the second request message is used to request information used for the PC5 interface-based communication; and receiving, by the core network element from the parameter configuration network element, the QoS rule; wherein the core network element is a mobility management network element and the parameter configuration network element is a policy and charging function network element; wherein the registration request message is a protocol data unit, PDU, session establishment message or a PDU session modification message; and the method further comprises: skipping triggering, by the core network element, establishment of an N3 tunnel and an N4 tunnel for a PDU session. receiving, by a core network element, a registration request message from a terminal, wherein the registration request message comprises a V2X capability indication; and sending, by the core network element to the terminal based on the registration request message, a quality of service, QoS, rule used for PC5 interface-based communication of the terminal; wherein the method further comprises: sending, by the core network element, a second request message to a parameter configuration network element based on the registration request message, wherein the second request message is used to request information used for the PC5 interface-based communication; and receiving, by the core network element from the parameter configuration network element, the QoS rule; wherein the core network element is a mobility management network element and the parameter configuration network element is a policy and charging function network element; wherein the registration request message is a protocol data unit, PDU, session establishment message or a PDU session modification message; and the method further comprises: skipping triggering, by the core network element, establishment of an N3 tunnel and an N4 tunnel for a PDU session. sending, by the core network element, a second request message to a parameter configuration network element based on the registration request message, wherein the second request message is used to request information used for the PC5 interface-based communication; and receiving, by the core network element from the parameter configuration network element, the QoS rule; wherein the core network element is a mobility management network element and the parameter configuration network element is a policy and charging function network element; wherein the registration request message is a protocol data unit, PDU, session establishment message or a PDU session modification message; and the method further comprises: skipping triggering, by the core network element, establishment of an N3 tunnel and an N4 tunnel for a PDU session.