An electronic device photographing method, wherein the electronic device comprises a camera module , a display screen including a main display screen , and at least one flexible display screen , and the method comprises: in response to the electronic device enters a photographing scenario, determining target luminance of the display screen including the main display screen and the at least one flexible display screen , characterized in that the determining the target luminance step comprises: based on luminance of a photographing screen of an imaging chip of the camera module , determining the target luminance of the display screen by: dividing the main display screen of the electronic device into m*n child windows with m rows and n columns; determining a mapping relationship between each column of child windows of the main display screen and the display screen; determining, as luminance of fill-in light of each child window, a difference between display luminance of each child window after an image of a photographed object is formed on the main display screen and a preset threshold; determining, based on the mapping relationship between each column of child windows and the display screen and based on the determined luminance of fill-in light of each child window, the target luminance of the display screen to which each column of child windows are mapped; and in response to a determined target luminance and a detection that a photographing button of the electronic device is pressed, adjusting luminance of the display screen. in response to the electronic device enters a photographing scenario, determining target luminance of the display screen including the main display screen and the at least one flexible display screen , characterized in that the determining the target luminance step comprises: based on luminance of a photographing screen of an imaging chip of the camera module , determining the target luminance of the display screen by: dividing the main display screen of the electronic device into m*n child windows with m rows and n columns; determining a mapping relationship between each column of child windows of the main display screen and the display screen; determining, as luminance of fill-in light of each child window, a difference between display luminance of each child window after an image of a photographed object is formed on the main display screen and a preset threshold; determining, based on the mapping relationship between each column of child windows and the display screen and based on the determined luminance of fill-in light of each child window, the target luminance of the display screen to which each column of child windows are mapped; and dividing the main display screen of the electronic device into m*n child windows with m rows and n columns; determining a mapping relationship between each column of child windows of the main display screen and the display screen; determining, as luminance of fill-in light of each child window, a difference between display luminance of each child window after an image of a photographed object is formed on the main display screen and a preset threshold; determining, based on the mapping relationship between each column of child windows and the display screen and based on the determined luminance of fill-in light of each child window, the target luminance of the display screen to which each column of child windows are mapped; and in response to a determined target luminance and a detection that a photographing button of the electronic device is pressed, adjusting luminance of the display screen. <EOS>