A method for creating a resource in a Machine to Machine, M2M, system, comprising: receiving a resource creation request from a transmitting end, wherein information carried in the resource creation request carries resource creation information corresponding to a resource to be created; and determining whether a first resource name needs to be reallocated to the resource to be created and whether to create the resource to be created according to the resource creation information; wherein, the resource creation information comprises: a second resource name to be used which is provided by the transmitting end, a resource creation position and a creator; and determining whether a first resource name needs to be reallocated to the resource to be created and whether to create the resource to be created according to the resource creation information comprises: in a case that the transmitting end is verified to have a resource creation authority, determining that there is a resource having the same name as the second resource name in the resource creation position; judging whether a creator of the resource with the same name is the same as a creator of the resource to be created; if no, reallocating the first resource name to the resource to be created and creating the resource to be created, wherein the first resource name is different from the second resource name; and if yes, rejecting to create the resource to be created. receiving a resource creation request from a transmitting end, wherein information carried in the resource creation request carries resource creation information corresponding to a resource to be created; and determining whether a first resource name needs to be reallocated to the resource to be created and whether to create the resource to be created according to the resource creation information; wherein, the resource creation information comprises: a second resource name to be used which is provided by the transmitting end, a resource creation position and a creator; and determining whether a first resource name needs to be reallocated to the resource to be created and whether to create the resource to be created according to the resource creation information comprises: in a case that the transmitting end is verified to have a resource creation authority, determining that there is a resource having the same name as the second resource name in the resource creation position; judging whether a creator of the resource with the same name is the same as a creator of the resource to be created; if no, reallocating the first resource name to the resource to be created and creating the resource to be created, wherein the first resource name is different from the second resource name; and if yes, rejecting to create the resource to be created. in a case that the transmitting end is verified to have a resource creation authority, determining that there is a resource having the same name as the second resource name in the resource creation position; judging whether a creator of the resource with the same name is the same as a creator of the resource to be created; if no, reallocating the first resource name to the resource to be created and creating the resource to be created, wherein the first resource name is different from the second resource name; and if yes, rejecting to create the resource to be created.