Abstract:
A charging method, a charging apparatus, and a terminal are disclosed. The method includes: identifying, when it is detected that a charging apparatus is inserted into a charging port of a terminal by using a charging cable, a first voltage value of the charging port; setting a second charging current; identifying a second voltage value of the charging port at the second charging current; calculating a cable impedance of the charging cable according to the first voltage value, the second charging current, and the second voltage value; and adjusting a suitable charging current of the charging apparatus according to the cable impedance of the charging cable. Therefore, the terminal can adapt to different charging apparatuses, improving charging experience of a user.
Abstract:
An interface obtains basic page information from another interface. The basic page information includes N bits, the N bits include an FEC function indicator bit sequence including an FEC ability indicator bit and an FEC requested indicator bit. The interface determines, based on values of a plurality of bits in the N bits, an operation mode supported by the another interface. The FEC function indicator bit sequence includes a first FEC function indicator bit corresponding to m FEC abilities; or the FEC function indicator bit sequence includes a first FEC ability indicator bit corresponding to n FEC abilities, where both m and n are greater than or equal to 1. Because one FEC function indicator bit indicates more FEC abilities, N bits in a basic page can carry more information, so that a process of increasing auto-negotiation pages is slowed down, thereby avoiding impact on auto-negotiation efficiency.
Abstract:
An interface obtains basic page information from another interface. The basic page information includes N bits, the N bits include an FEC function indicator bit sequence including an FEC ability indicator bit and an FEC requested indicator bit. The interface determines, based on values of a plurality of bits in the N bits, an operation mode supported by the another interface. The FEC function indicator bit sequence includes a first FEC function indicator bit corresponding to m FEC abilities; or the FEC function indicator bit sequence includes a first FEC ability indicator bit corresponding to n FEC abilities, where both m and n are greater than or equal to 1. Because one FEC function indicator bit indicates more FEC abilities, N bits in a basic page can carry more information, so that a process of increasing auto-negotiation pages is slowed down, thereby avoiding impact on auto-negotiation efficiency.
Abstract:
The invention disclose a flexible Ethernet frame forwarding method, including: receiving a first frame through a FlexE client input channel; obtaining a first channel identifier used to indicate the FlexE client input channel and a first subchannel identifier carried in the first frame, where the first subchannel identifier is used to indicate a logical subchannel of the FlexE client input channel; searching a preset forwarding table based on the first channel identifier and the first subchannel identifier to obtain a second channel identifier and a second subchannel identifier, where the second channel identifier is used to indicate a FlexE client output channel, and the second subchannel identifier is used to indicate a logical subchannel of the FlexE client output channel; and forwarding the first frame based on the second channel identifier and the second subchannel identifier.
Abstract:
Embodiments of the present invention relate to a method and a system for controlling phase synchronization, and an apparatus. The method includes: determining a path from a non-reference base station to a preset reference base station, obtaining a first phase difference between every two adjacent base stations on the path, obtaining a second phase difference between the reference base station and the non-reference base station according to the first phase difference, and adjusting a non-reference phase of the non-reference base station to a reference phase of the reference base station according to the second phase difference. According to the method and system for controlling phase synchronization, and the apparatus that are provided in the embodiments of the present invention, in a single-frequency network system, phases of base stations are synchronized without a need to install a GPS antenna, so that system costs are reduced.
Abstract:
An anti-replay method and apparatus are provided. The same maximum agreed value is set at a transmit end and a receive end. The receive end receives an Internet Protocol Security (IPSec) packet, where the IPSec packet includes a sequence number, and acquires an upper limit value of an anti-replay sliding window. If the upper limit value of the anti-replay sliding window is the maximum agreed value, the receive end sets an interval of the anti-replay sliding window to M1 to M2, where M1 is a minimum value of the packet sequence number, and M2 is a sum of M1 and a size of the anti-replay sliding window. When a sequence number of a packet sent by the transmit end reaches a maximum value, a sequence number of a next sent packet starts from the minimum value, thereby resolving a problem that a packet is falsely discarded because of anti-replay.
Abstract:
The present invention discloses an air-interface-based synchronization method, a base station, a control apparatus of the base station, and a wireless communications system. A time difference between base stations is acquired by means of signalling interworking in a non-contention based random access process of user equipment handed over between the base stations, and a time adjustment value of a non-reference base station is acquired according to reference time of a reference base station, so that the non-reference base station performs time adjustment according to the time adjustment value, thereby implementing time synchronization between the non-reference base station and the reference base station. The present invention uses an existing wireless network to simply and effectively implement air-interface-based synchronization between base stations without using an expensive synchronization device, thereby reducing construction costs and maintenance costs and achieving technical effects of cost-effectiveness and convenience.