An inverter in a power generation system, wherein the inverter is configured to convert a direct current that is input from a direct-current-side device into an alternating current for power supply, and the inverter comprises: a control apparatus, configured to control the inverter to convert the direct current that is input from the direct-current-side device into the alternating current for power supply; and a communications apparatus, coupled to the control apparatus, and configured to: send a networking information request signal to the direct-current-side device in the power generation system through a direct-current power line that transmits the direct current in the power generation system, wherein a frequency of the networking information request signal is within a first frequency band, and the networking information request signal is used to request networking information required for networking between the inverter and the direct-current-side device; receive the networking information from the direct-current-side device through the direct-current power line; and send a control signal to the direct-current-side device through the direct-current power line, wherein a frequency of the control signal is within a second frequency band, and the control signal is used to control an operating parameter of the direct-current-side device; wherein the first frequency band is lower than the second frequency band. a control apparatus, configured to control the inverter to convert the direct current that is input from the direct-current-side device into the alternating current for power supply; and a communications apparatus, coupled to the control apparatus, and configured to: send a networking information request signal to the direct-current-side device in the power generation system through a direct-current power line that transmits the direct current in the power generation system, wherein a frequency of the networking information request signal is within a first frequency band, and the networking information request signal is used to request networking information required for networking between the inverter and the direct-current-side device; receive the networking information from the direct-current-side device through the direct-current power line; and send a control signal to the direct-current-side device through the direct-current power line, wherein a frequency of the control signal is within a second frequency band, and the control signal is used to control an operating parameter of the direct-current-side device; wherein the first frequency band is lower than the second frequency band. send a networking information request signal to the direct-current-side device in the power generation system through a direct-current power line that transmits the direct current in the power generation system, wherein a frequency of the networking information request signal is within a first frequency band, and the networking information request signal is used to request networking information required for networking between the inverter and the direct-current-side device; receive the networking information from the direct-current-side device through the direct-current power line; and send a control signal to the direct-current-side device through the direct-current power line, wherein a frequency of the control signal is within a second frequency band, and the control signal is used to control an operating parameter of the direct-current-side device; wherein the first frequency band is lower than the second frequency band.