The embodiment of the application provides a communication method and device, and relates to the technical field of communication. In the communication method, after a terminal device switches an
access network element, it is determined that the execution state of a first event of the switched
access network element is different from that of the
access network element before the switching, and first information is sent to a policy
control network element. Since the first information indicates that the execution state of the first event of the access
network element has changed, the policy
control network element determines the state of the execution of the first event according to the first information, wherein the first event is to limit the
transmission rate of the terminal device in a slice according to the
maximum bit rate, and the execution state of the first event includes executing the first event or not executing the first event. Thus, a mechanism for controlling the
maximum bit rate of the terminal device in the slice is provided.