A method for determining transmission resources for Device to Device (D2D) communication, comprising:
- determining a plurality of transmission resource sets, wherein each of the plurality of transmission resource sets comprises at least one transmission resource block, and each transmission resource set has a corresponding distance threshold;
- and
- determining a target transmission resource set for D2D communication of a first terminal equipment from the plurality of transmission resource sets according to location information of the first terminal equipment and the distance thresholds of the plurality of transmission resource sets;
- wherein each of the plurality of transmission resource sets further has a corresponding relative movement speed threshold;
- and
- determining the target transmission resource set for D2D communication of the first terminal equipment from the plurality of transmission resource sets according to the location information of the first terminal equipment and the distance thresholds of the plurality of transmission resource sets comprises:
- determining the target transmission resource set for D2D communication of the first terminal equipment from the plurality of transmission resource sets according to the location information and movement speed information of the first terminal equipment and the distance thresholds and relative movement speed thresholds of the plurality of transmission resource sets;
- wherein determining the target transmission resource set for D2D communication of the first terminal equipment from the plurality of transmission resource sets according to the location information and movement speed information of the first terminal equipment and the distance thresholds and relative movement speed thresholds of the plurality of transmission resource sets comprises:
- acquiring location information and movement speed information of each of at least one second terminal equipment corresponding to a first transmission resource set, each of the at least one second terminal equipment adopting transmission resources in the first transmission resource set for D2D communication and the plurality of transmission resource sets comprising the first transmission resource set;
- determining statistical distance information between the first terminal equipment and the at least one second terminal equipment according to the location information of the first terminal equipment and the location information of each of the at least one second terminal equipment, wherein the statistical distance information comprises at least one of a maximum distance, an average distance or a distance average variance;
- determining statistical relative movement speed information between the first terminal equipment and the at least one second terminal equipment according to the movement speed information of the first terminal equipment and the movement speed information of each of the at least one second terminal equipment, wherein the statistical relative movement speed information comprises at least one of a maximum relative movement speed, an average relative movement speed or a relative movement speed average variance;
- and
- determining whether the first terminal equipment can adopt the transmission resources in the first transmission resource set for D2D communication according to the statistical distance information and statistical relative movement speed information between the first terminal equipment and the at least one second terminal equipment and the distance threshold and relative movement speed threshold of the first transmission resource set.