A method based on an optical fiber communication network for controlling a robot, wherein the optical fiber communication network is located inside the robot, the method comprising: converting an acquired electrical control signal of the robot to an optical control signal; broadcasting the optical control signal over a downlink of the optical fiber communication network; filtering the optical control signal based on a port identifier to obtain an optical control signal corresponding to the port identifier; converting the optical control signal corresponding to the port identifier to an electrical control signal; and sending the electrical control signal to an actuator inside the robot, wherein the actuator corresponds to the electrical control signal; wherein before the optical control signal is filtered, the optical control signal is split by an optical distribution network; and wherein the filtering the optical control signal based on a port identifier to obtain an optical control signal corresponding to the port identifier comprises: by an Optical Network Unit corresponding to the actuator of the robot, selectively receiving the optical control signal broadcast in the optical fiber communication network based on identifier information of an ONU port, so as to separate an optical control signal corresponding to the ONU port from the received optical control signal, wherein the identifier information of the ONU port one-to-one corresponds to a plurality of actuators inside the robot. converting an acquired electrical control signal of the robot to an optical control signal; broadcasting the optical control signal over a downlink of the optical fiber communication network; filtering the optical control signal based on a port identifier to obtain an optical control signal corresponding to the port identifier; converting the optical control signal corresponding to the port identifier to an electrical control signal; and sending the electrical control signal to an actuator inside the robot, wherein the actuator corresponds to the electrical control signal; wherein before the optical control signal is filtered, the optical control signal is split by an optical distribution network; and wherein the filtering the optical control signal based on a port identifier to obtain an optical control signal corresponding to the port identifier comprises: by an Optical Network Unit corresponding to the actuator of the robot, selectively receiving the optical control signal broadcast in the optical fiber communication network based on identifier information of an ONU port, so as to separate an optical control signal corresponding to the ONU port from the received optical control signal, wherein the identifier information of the ONU port one-to-one corresponds to a plurality of actuators inside the robot. by an Optical Network Unit corresponding to the actuator of the robot, selectively receiving the optical control signal broadcast in the optical fiber communication network based on identifier information of an ONU port, so as to separate an optical control signal corresponding to the ONU port from the received optical control signal, wherein the identifier information of the ONU port one-to-one corresponds to a plurality of actuators inside the robot.