An artificial intelligence (AI)-based automatic design method and apparatus for a universal smart home scheme and an electronic device, relating to the technical field of AI. The method comprises: acquiring an intelligent design-related plan drawing as an effective image sample; for a neural network system, establishing convolutional layer parameter sharing and sparse connection, and then using a pooling layer to reduce the size of a model; implementing effective recognition of the plan drawing by means of Python language programming, intelligently adding a candidate product icon of a database, zooming same to a proper size, and generating a point position design; and obtaining an input requirement set by a user at a client, and generating a universal smart home design scheme according to a confirmation of model selection of the user at the client. The efficiency of smart home scheme design can be improved.
展开▼