The present disclosure relates to a method and apparatus for calculating a smart indicator. The method includes: acquiring association information of smart indices; calculating corresponding smart indices respectively according to the acquired association information of the smart indices; and obtaining the smart indicator by a weight calculation according to the smart indices and the number of devices. According to the present disclosure, a user may acquire a smartness degree of his or her home, and sense of participation of the user is improved, thereby promoting user's enthusiasm, and thus enhancing home smartness degree.
Please help me write a proper abstract based on the patent claims. CLAIM: 1. A method for calculating a smart indicator, comprising: acquiring association information of smart indices; the association information comprising: usage information of a safety device, login information of a smart home APP, configuration information of a smart scenario, and a number of devices; calculating corresponding smart indices respectively according to the acquired association information of the smart indices; the smart indices comprising: a safety index, an activity index, and a linkage index; and obtaining the smart indicator by a weight calculation according to the smart indices and the number of devices. 2. The method according to claim 1, wherein the acquiring association information of smart indices comprises: acquiring usage information of a safety device corresponding to the safety index, login information of a smart home APP corresponding to the activity index, and configuration information of a smart scenario corresponding to the linkage index; and the calculating corresponding smart indices respectively according to the acquired association information of the smart indices comprises: calculating a safety index according to the usage information of a safety device, calculating an activity index according to the login information of a smart home APP, and calculating a linkage index according to the configuration information of a smart scenario. 3. The method according to claim 2, wherein the acquiring usage information of a safety device corresponding to the safety index comprises: acquiring a total number n of types of safety devices corresponding to a safety index A1, and the number Ni of safety devices of a corresponding type i; and the calculating a safety index according to the usage information of a safety device comprises: obtaining the safety index A1 according to a formula A 1 = ∑ i = 1 n   a i * log  ( N i + 1 ) of the safety index A1; wherein in the formula, A1 indicates a safety index, n indicates the total number of types of the safety devices, i indicates the safety devices of the type i, ai indicates a weight of the safety devices of the type i, ∑ i = 1 n   a i = 100 , and Ni indicates the number of safety devices of the type i. 4. The method according to claim 3, wherein when the number Ni of safety devices of the type i is greater than a maximum number pmax of the safety devices, a value of Ni is set to Pmax. 5. The method according to claim 2, wherein the acquiring login information of a smart home APP corresponding to the activity index comprises: acquiring an activity cycle T corresponding to an activity index A2, and login times Mj of a user on the jth day within the activity cycle T, and calculating a difference Qj of days between the jth day and a current date; and the calculating an activity index according to the login information of a smart home APP comprises: obtaining the activity index A2 according to a formula A 2 = ∑ j = 1 T   log  ( M j + 1 ) * ( T - Q j ) of the activity index A2; wherein in the formula, A2 indicates an activity index, T indicates an activity cycle, Mj indicates login times of a user on the jth day within the activity cycle T, j indicates the jth day within the activity cycle, and Qj indicates a difference of days between the jth day within the activity cycle T and a current date. 6. The method according to claim 2, wherein the acquiring configuration information of a smart scenario corresponding to the linkage index comprises: acquiring the number L of smart scenarios corresponding to a linkage index A3; and the calculating a linkage index according to the configuration information of a smart scenario comprises: obtaining the linkage index A3 according to a formula A3=b*log(L+1) of the linkage index A3; wherein in the formula, A3 indicates a linkage index, b indicates a weight of the smart scenarios, and L indicates the number of smart scenarios. 7. The method according to claim 1, wherein the obtaining the smart indicator by a weight calculation according to the smart indices comprises: obtaining the smart indicator S according to a formula S=c1A1+c2A2+c3A3+c4log(R+1) of the smart indicator S; wherein in the formula, S indicates a smart indicator, A1 indicates a safety index, c1 indicates a weight of the safety index A1, A2 indicates an activity index, c2 indicates a weight of the activity index A2, A3 indicates a linkage index, c3 indicates a weight of the linkage index A3, R indicates the number of devices, c4 indicates a weight of the number R of devices, ∑ k = 1 4   c k = 1 , and k=1, 2, 3, 4. 8. The method according to claim 1, further comprising: displaying the safety index, the activity index, the linkage index, and the smart indicator in at least one of the device. 9. An apparatus for calculating a smart indicator, comprising: circuitry configured to acquire association information of smart indices; circuitry configured to calculate corresponding smart indices respectively according to the acquired association information of the smart indices, the smart indices comprising: a safety index, an activity index, and a linkage index; and circuitry configured to obtain the smart indicator by a weight calculation according to the smart indices and the number of devices. 10. The apparatus according to claim 9, further comprising: circuitry configured to acquire usage information of a safety device corresponding to the safety index, login information of a smart home APP corresponding to the activity index, and configuration information of a smart scenario corresponding to the linkage index; and circuitry configured to calculate a safety index according to the usage information of a safety device, calculating an activity index according to the login information of a smart home APP, and calculating a linkage index according to the configuration information of a smart scenario. 11. The apparatus according to claim 10, further comprising: circuitry configured to acquire a total number n of types of safety devices corresponding to a safety index A1, and the number Ni of safety devices of a corresponding type i; and circuitry configured to obtain the safety index A1 according to a formula A 1 = ∑ i = 1 n   a i * log  ( N i + 1 ) of the safety index A1; wherein in the formula, A1 indicates a safety index, n indicates the total number of types of the safety devices, i indicates the safety devices of the type i, ai indicates a weight of the safety devices of the type i, ∑ i = 1 n   a i = 100 , and Ni indicates the number of safety devices of the type i. 12. The apparatus according to claim 11, wherein when the number Ni of safety devices of the type i is greater than a maximum number pmax of the safety devices, a value of Ni is set to Pmax. 13. The apparatus according to claim 10, further comprising: circuitry configured to acquire an activity cycle T corresponding to an activity index A2, and login times Mj of a user on the jth day within the activity cycle T, and calculating a difference Qj of days between the jth day and a current date; and circuitry configured to obtain the activity index A2 according to a formula A 2 = ∑ j = 1 T   log  ( M j + 1 ) * ( T - Q j ) of the activity index A2; wherein in the formula, A2 indicates an activity index, T indicates an activity cycle, Mj indicates login times of a user on the jth day within the activity cycle T, j indicates the jth day within the activity cycle, and Qj indicates a difference of days between the jth day within the activity cycle T and a current date. 14. The apparatus according to claim 10, further comprising: circuitry configured to acquire the number L of smart scenarios corresponding to a linkage index A3; and circuitry configured to obtain the linkage index A3 according to a formula A3=b*log(L+1) of the linkage index A3; wherein in the formula, A3 indicates a linkage index, b indicates a weight of the smart scenarios, and L indicates the number of smart scenarios. 15. The apparatus according to claim 9, further comprising: circuitry configured to obtain the smart indicator S according to a formula S=c1A1+c2A2+c3A3+c4log(R+1) of the smart indicator S; wherein in the formula, S indicates a smart indicator, A1 indicates a safety index, c1 indicates a weight of the safety index A1, A2 indicates an activity index, c2 indicates a weight of the activity index A2, A3 indicates a linkage index, c3 indicates a weight of the linkage index A3, R indicates the number of devices, c4 indicates a weight of the number R of devices, ∑ k = 1 4   c k = 1 , and k=1, 2, 3, 4. 16. The apparatus according to claim 9, further comprising: circuitry configured to display the safety index, the activity index, the linkage index, and the smart indicator. 17. A non-transitory computer-readable storage medium having stored therein instructions that, when executed by one or more processors of an apparatus, cause the apparatus to perform: acquiring association information of smart indices; the association information including: usage information of a safety device, login information of a smart home APP, configuration information of a smart scenario, and a number of devices; calculating corresponding smart indices respectively according to the acquired association information of the smart indices; the smart indices including: a safety index, an activity index, and a linkage index; and obtaining the smart indicator by a weight calculation according to the smart indices and the number of devices. 18. The non-transitory computer-readable storage medium according to claim 17, further storing instructions that, when executed by one or more processors of an apparatus, cause the apparatus to perform: acquiring usage information of a safety device corresponding to the safety index, login information of a smart home APP corresponding to the activity index, and configuration information of a smart scenario corresponding to the linkage index; and calculating the safety index according to the usage information of the safety device, calculating the activity index according to the login information of a smart home APP, and calculating the linkage index according to the configuration information of a smart scenario. 19. The non-transitory computer-readable storage medium according to claim 18, further storing instructions that, when executed by one or more processors of an apparatus, cause the apparatus to perform: acquiring an activity cycle T corresponding to an activity index A2, and login times Mj of a user on the jth day within the activity cycle T, and calculating a difference Qj of days between the jth day and a current date; and obtaining the activity index A2 according to a formula A 2 = ∑ j = 1 T   log  ( M j + 1 ) * ( T - Q j ) of the activity index A2; wherein in the formula, A2 indicates an activity index, T indicates an activity cycle, Mj indicates login times of a user on the jth day within the activity cycle T, j indicates the jth day within the activity cycle, and Qj indicates a difference of days between the jth day within the activity cycle T and a current date. 20. The non-transitory computer-readable storage medium according to claim 17, further storing instructions that, when executed by one or more processors of an apparatus, cause the apparatus to perform: obtaining the smart indicator S according to a formula S=c1A1+c2A2+c3A3+c4log(R+1) of the smart indicator S; wherein in the formula, S indicates a smart indicator, A1 indicates a safety index, c1 indicates a weight of the safety index A1, A2 indicates an activity index, c2 indicates a weight of the activity index A2, A3 indicates a linkage index, c3 indicates a weight of the linkage index A3, R indicates the number of devices, c4 indicates a weight of the number R of devices, ∑ k = 1 4   c k = 1 , and k=1, 2, 3, 4.