A storage control method for notification messages, carried out in a common service entity, CSE, wherein the CSE is a logic unit for performing management and service on a Machine to Machine, M2M, application, comprising: setting a maximum storage number of notification messages for the CSE, and receiving a subscription resource creating request and when a subscription resource is created, creating a first attribute for the subscription resource according to the contents of the subscription resource creating request; when generating a notification message for the subscription resource, setting, by the CSE, a second attribute of the notification message according to the first attribute of the subscription resource; and when storing the notification message and the second attribute of the notification message, performing, by the CSE, storage control according to the maximum storage number of the notification messages and second attributes of various stored notification messages; wherein, the first attribute comprises: a priority and an effective time; wherein, when generating a notification message for the subscription resource, setting, by the CSE, a second attribute of the notification message according to the first attribute of the subscription resource comprises: when a change occurs in at least one of a sub-resource of the subscription resource or an attribute of the subscription resource, the CSE generating the notification message for the subscription resource, and the CSE setting the second attribute of the notification message according to the first attribute of the subscription resource, wherein, the second attribute comprises: a notification message effective time, a notification message priority and a notification message creation time; wherein, the notification message effective time is set as the effective time comprised in the first attribute for the subscription resource; the notification message priority is set as the priority comprised in the first attribute for the subscription resource; and the notification message creation time is set as a time for generating the notification message; wherein, said performing storage control according to the maximum storage number of the notification messages and second attributes of various stored notification messages comprise: when a number of notification messages stored by the CSE reaches the maximum storage number of the notification messages, the CSE reading a notification message newly generated and a notification message effective time, a notification message priority and a notification message creation time of each of stored notification messages, and deleting a notification message of which a notification message priority is the lowest from the stored notification messages and the notification message newly generated. setting a maximum storage number of notification messages for the CSE, and receiving a subscription resource creating request and when a subscription resource is created, creating a first attribute for the subscription resource according to the contents of the subscription resource creating request; when generating a notification message for the subscription resource, setting, by the CSE, a second attribute of the notification message according to the first attribute of the subscription resource; and when storing the notification message and the second attribute of the notification message, performing, by the CSE, storage control according to the maximum storage number of the notification messages and second attributes of various stored notification messages; wherein, the first attribute comprises: a priority and an effective time; wherein, when generating a notification message for the subscription resource, setting, by the CSE, a second attribute of the notification message according to the first attribute of the subscription resource comprises: when a change occurs in at least one of a sub-resource of the subscription resource or an attribute of the subscription resource, the CSE generating the notification message for the subscription resource, and the CSE setting the second attribute of the notification message according to the first attribute of the subscription resource, wherein, the second attribute comprises: a notification message effective time, a notification message priority and a notification message creation time; wherein, the notification message effective time is set as the effective time comprised in the first attribute for the subscription resource; the notification message priority is set as the priority comprised in the first attribute for the subscription resource; and the notification message creation time is set as a time for generating the notification message; wherein, said performing storage control according to the maximum storage number of the notification messages and second attributes of various stored notification messages comprise: when a number of notification messages stored by the CSE reaches the maximum storage number of the notification messages, the CSE reading a notification message newly generated and a notification message effective time, a notification message priority and a notification message creation time of each of stored notification messages, and deleting a notification message of which a notification message priority is the lowest from the stored notification messages and the notification message newly generated.