Abstract:
This application discloses a display method for a foldable screen, applied to an electronic device including a foldable screen. The foldable screen can be folded to form at least two screens, and the at least two screens may include a first screen and a second screen. The method includes: When the foldable screen is in an expanded state, the electronic device displays a first interface of a first application in full screen on the foldable screen. The first interface includes an image captured by a camera. When detecting that the foldable screen changes from the expanded state to a half-folded state, the electronic device displays a second interface on the first screen. In this way, a user can conveniently perform photographing, video calling, live broadcasting, or the like without holding the electronic device steady with both hands.
Abstract:
Embodiments of the present invention provide a method and a device for link aggregation control protocol (LACP) link switch. The method includes: monitoring state changes of interfaces in an LACP link aggregation group; when monitoring a state change occurs on an active interface in the aggregation group, determining whether the number of active interfaces in the aggregation group is smaller than a preset minimum active link number, if yes, keeping states of N interfaces among the interfaces on which a state change occurs being an active state, so that the number of active interfaces in the aggregation group is greater than or equal to the preset minimum active link number; and when monitoring a state change occurs on an inactive interface in the aggregation group, adjusting states of M interfaces among the N interfaces kept in the active state into an inactive state M being smaller than or equal to N.