A method for D2D communication, characterized by comprising: receiving, by a remote user equipment, a D2D discovery message sent by a relay user equipment, and acquiring, by the remote user equipment, a discontinuous reception parameter of the relay user equipment; and sending, by the remote user equipment, a communication request message to the relay user equipment based on the discontinuous reception parameter of the relay user equipment, wherein acquiring, by the remote user equipment, the discontinuous reception parameter of the relay user equipment, comprises: acquiring, by the remote user equipment, a layer 2 user identification of the relay user equipment contained in the D2D discovery message, and determining the discontinuous reception parameter of the relay user equipment through the layer 2 user identification of the relay user equipment; wherein the determining, by the remote user equipment, the discontinuous reception parameter of the relay user equipment through the layer 2 user identification of the relay user equipment, comprises: determining, by the remote user equipment, the discontinuous reception parameter of the relay user equipment based on following manner: acquiring, by the remote user equipment, the discontinuous reception parameter of the relay user equipment by modulo of the layer 2 user identification of the relay user equipment with a preset value; or acquiring, by the remote user equipment, a discontinuous reception parameter of the remote user equipment by modulo of the layer 2 user identification of the remote user equipment with a period of the discontinuous reception, wherein the period of the discontinuous reception is a period of discontinuous reception in the discontinuous reception configuration of a cellular network or the discontinuous reception configuration specified by a network. receiving, by a remote user equipment, a D2D discovery message sent by a relay user equipment, and acquiring, by the remote user equipment, a discontinuous reception parameter of the relay user equipment; and sending, by the remote user equipment, a communication request message to the relay user equipment based on the discontinuous reception parameter of the relay user equipment, wherein acquiring, by the remote user equipment, the discontinuous reception parameter of the relay user equipment, comprises: acquiring, by the remote user equipment, a layer 2 user identification of the relay user equipment contained in the D2D discovery message, and determining the discontinuous reception parameter of the relay user equipment through the layer 2 user identification of the relay user equipment; wherein the determining, by the remote user equipment, the discontinuous reception parameter of the relay user equipment through the layer 2 user identification of the relay user equipment, comprises: determining, by the remote user equipment, the discontinuous reception parameter of the relay user equipment based on following manner: acquiring, by the remote user equipment, the discontinuous reception parameter of the relay user equipment by modulo of the layer 2 user identification of the relay user equipment with a preset value; or acquiring, by the remote user equipment, a discontinuous reception parameter of the remote user equipment by modulo of the layer 2 user identification of the remote user equipment with a period of the discontinuous reception, wherein the period of the discontinuous reception is a period of discontinuous reception in the discontinuous reception configuration of a cellular network or the discontinuous reception configuration specified by a network. acquiring, by the remote user equipment, a layer 2 user identification of the relay user equipment contained in the D2D discovery message, and determining the discontinuous reception parameter of the relay user equipment through the layer 2 user identification of the relay user equipment; wherein the determining, by the remote user equipment, the discontinuous reception parameter of the relay user equipment through the layer 2 user identification of the relay user equipment, comprises: determining, by the remote user equipment, the discontinuous reception parameter of the relay user equipment based on following manner: acquiring, by the remote user equipment, the discontinuous reception parameter of the relay user equipment by modulo of the layer 2 user identification of the relay user equipment with a preset value; or acquiring, by the remote user equipment, a discontinuous reception parameter of the remote user equipment by modulo of the layer 2 user identification of the remote user equipment with a period of the discontinuous reception, wherein the period of the discontinuous reception is a period of discontinuous reception in the discontinuous reception configuration of a cellular network or the discontinuous reception configuration specified by a network. determining, by the remote user equipment, the discontinuous reception parameter of the relay user equipment based on following manner: acquiring, by the remote user equipment, the discontinuous reception parameter of the relay user equipment by modulo of the layer 2 user identification of the relay user equipment with a preset value; or acquiring, by the remote user equipment, a discontinuous reception parameter of the remote user equipment by modulo of the layer 2 user identification of the remote user equipment with a period of the discontinuous reception, wherein the period of the discontinuous reception is a period of discontinuous reception in the discontinuous reception configuration of a cellular network or the discontinuous reception configuration specified by a network.