A network connection configuration method, applied for connecting an electronic device to an image forming apparatus through a network in which the image forming apparatus works in a soft AP mode, and for connecting the image forming apparatus to a corresponding wireless network device through a network in which the image forming apparatus works in a station mode, comprising: sending out, through the network in which the image forming apparatus works in a soft AP mode, a first service set identifier (SSID) without a corresponding encryption key by the image forming apparatus , such that the electronic device which receives the first SSID is capable of establishing a keyless communication connection with the image forming apparatus based on the first SSID through the network in which the image forming apparatus works in a soft AP mode; executing a preset operation by the image forming apparatus , wherein the preset operation includes acquiring wireless network information sent by the electronic device which establishes the keyless communication connection with the image forming apparatus through the network in which the image forming apparatus works in a soft AP mode, and establishing a communication connection with a corresponding wireless network device through the network in which the image forming apparatus works in a station mode based on the wireless network information; wherein the network connection configuration method further comprises sending out, through the network in which the image forming apparatus works in a soft AP mode, a second SSID with a corresponding encryption key by the image forming apparatus , such that the electronic device which receives the second SSID is capable of establishing a key communication connection with the image forming apparatus through the network in which the image forming apparatus works in a soft AP mode based on the second SSID and the corresponding encryption key; wherein, when sending out the second SSID, the image forming apparatus disconnects the keyless communication connection with the electronic device through the network in which the image forming apparatus works in a soft AP mode. sending out, through the network in which the image forming apparatus works in a soft AP mode, a first service set identifier (SSID) without a corresponding encryption key by the image forming apparatus , such that the electronic device which receives the first SSID is capable of establishing a keyless communication connection with the image forming apparatus based on the first SSID through the network in which the image forming apparatus works in a soft AP mode; executing a preset operation by the image forming apparatus , wherein the preset operation includes acquiring wireless network information sent by the electronic device which establishes the keyless communication connection with the image forming apparatus through the network in which the image forming apparatus works in a soft AP mode, and establishing a communication connection with a corresponding wireless network device through the network in which the image forming apparatus works in a station mode based on the wireless network information; wherein the network connection configuration method further comprises sending out, through the network in which the image forming apparatus works in a soft AP mode, a second SSID with a corresponding encryption key by the image forming apparatus , such that the electronic device which receives the second SSID is capable of establishing a key communication connection with the image forming apparatus through the network in which the image forming apparatus works in a soft AP mode based on the second SSID and the corresponding encryption key; wherein, when sending out the second SSID, the image forming apparatus disconnects the keyless communication connection with the electronic device through the network in which the image forming apparatus works in a soft AP mode. <EOS>