Abstract:
In the communications field, an MEP configuration method and an Ethernet device are provided. The method includes: receiving, by an Ethernet device, a CCM message and parsing the CCM message to acquire configuration information in the CCM message and a virtual local area network VLAN of the CCM message; and determining, by the Ethernet device according to configuration information, whether the CCM message is MEP configuration that needs to be configured, and if it is determined that the CCM message is the MEP configuration that needs to be configured, complete the MEP configuration according to the configuration information and the VLAN of the CCM message. A method provided in a specific implementation manner of the present invention has an advantage of configuring MEP configuration automatically.
Abstract:
A photographing method applied to an electronic device includes: when a camera of the electronic device is started to perform photographing, the electronic device displays a first viewfinder frame, and displays a first preview picture. When a zoom magnification used by the electronic device increases to be greater than a preset zoom magnification, the electronic device displays the first viewfinder frame and a second viewfinder frame. The first viewfinder frame displays a second preview picture, and the second viewfinder frame displays a third preview picture, and a viewfinder range of the camera corresponding to the third preview picture is greater than a viewfinder range of the camera corresponding to the second preview picture.
Abstract:
A method for sending service information includes: judging whether a current ACM profile identifier (profile ID) is consistent with an ACM profile ID recorded in separately-stored coding and modulation information; when the current ACM profile ID is consistent with the ACM profile ID recorded in the separately-stored coding and modulation information, coding and modulating the service information according to the coding and modulation information; when the current ACM profile ID is inconsistent with the ACM profile ID recorded in the separately-stored coding and modulation information, coding and modulating the service information according to an ACM profile table; and sending the coded and modulated service information, where the coded and modulated service information carries the current ACM profile ID.