The invention provides a smart home
anomaly detection system and method, and the
system comprises an equipment identification layer module, a
verification layer module and an anomaly
processing layer module, and also comprises the following steps: S1, generating an equipment
unique identifier through a CID-Gen
algorithm, and enabling the expression of the equipment
unique identifier to be as shown in the specification; in the formula, an SHA-256
hash function is used for converting input of any length into 256-bit fixed-length output, MAC is the last 24-bit of a
physical address of equipment and ensures uniqueness of the equipment, and Ts is a
UNIX timestamp accurate to microseconds. According to the method, a brand-new safety
protection system is constructed through a triple core innovation mechanism, firstly, a hardware-level identification solidification scheme is adopted, and the hardware-level identification solidification scheme is adopted; a global
unique identifier is generated based on a space-time composite
algorithm CID-Gen, the entropy value of the global unique identifier reaches 256 bits, compared with 122 bits of traditional UUIDv4, the global unique identifier is greatly improved, and a
system architecture adopts a layered design and is composed of three modules including an equipment identification layer, a
verification layer and an
exception handling layer.