The invention discloses a behavior recognition method based on a binary sensor, comprising the following steps: S1: preprocessing the data collected by the binary sensor to obtain preprocessed binary sensor data; S2: based on space constraints and time Constraints segment the preprocessed binary sensor data obtained in step S1 to obtain segmented binary sensor data; S3: map and convert the segmented binary sensor data obtained in step S2 into one-dimensional characters String, process the one-dimensional character string to obtain a behavior pattern candidate set; S4: identify a specific behavior pattern from the behavior pattern candidate set obtained in step S3. The invention also discloses a behavior recognition device based on a binary sensor and a computer storage medium. The invention is convenient to use, does not violate privacy, has high accuracy, low calculation complexity and low cost.