Patent attributes
A method includes: obtaining, by a first electronic device, a photographing instruction; determining location information of to-be-photographed content corresponding to the photographing instruction or a photographing mode according to the photographing instruction, and determining, a camera at the most suitable location for photographing the to-be-photographed content from at least two cameras controllable by the first electronic device as a target camera, where the at least two cameras include a camera on the first electronic device and a camera of a second electronic device, and the first electronic device is different from the second electronic device; and controlling, by the first electronic device, the target camera to execute the photographing instruction to obtain image data acquired by the target camera.