Abstract: Disclosed is an electric fence assembly. The electric fence assembly includes a transmitter and N receivers communicated with the transmitter. N is a positive integer. The transmitter is configured to output a fence setting signal to the N receivers according to a preset fence range, and is further configured to generate a forbidden zone range within the preset fence range in response to receiving a forbidden zone generation signal, and output a forbidden zone setting signal to the N receivers according to the forbidden zone range.