Abstract:
This application discloses a code block identification method and related apparatus. The method includes: obtaining a code block stream, where the code block stream includes a first code block; determining a to-be-identified bit pattern and comparing the to-be-identified bit pattern with a template bit pattern to obtain a quantity of inconsistent bits; and identifying the first code block as a first boundary code block when the quantity of inconsistent bits is less than or equal to a first threshold. The to-be-identified bit pattern includes a first bit pattern and corresponds to the first code block. The template bit pattern includes a first template bit pattern and corresponds to the first boundary code block.
Abstract:
A delay measurement method is disclosed. A first communication apparatus obtains a first moment, where the first moment is a timestamp at which the first communication apparatus inserts an operation, administration and maintenance OAM block; and the first moment is greater than or equal to a moment at which the first communication apparatus receives a first service bit flow, the first moment is less than a moment at which the first communication apparatus inserts a one-way delay measurement 1DM message or a two-way delay measurement 2DM message into a first block flow, the first service bit flow carries a first fine granularity service, and the first block flow is obtained based on the first service bit flow; and the first communication apparatus sends first moment to a second communication apparatus, where the first moment is for measuring a delay between the first communication apparatus and the second communication apparatus.
Abstract:
Embodiments of this application provide a communication method, a communications device, and a storage medium, to process an invalid block in a data stream. In embodiments of this application, N first block streams are obtained, where N is a positive integer. When there is an invalid block in the N first block streams, the invalid block in the N first block streams is converted into a target block, to obtain a to-be-sent block stream. Then, the to-be-sent block stream is sent. Because the invalid block in the block stream is checked and converted into the target block, an error that occurs in service data at a receive end and that is caused by the invalid block can be reduced.
Abstract:
A method includes: receiving a first result obtained by performing BIP check on a sent first to-be-checked bit stream; performing BIP check on a received second to-be-checked bit stream to obtain a second result, where the second to-be-checked bit stream is a bit stream received by a receiving device after the first to-be-checked bit stream is transmitted; detecting a type of a control block in the second to-be-checked bit stream, and determining a third result based on impact of the type of the control block on a BIP check result; comparing the first result, the second result, and the third result; and if the first result is different from the second result, the first result is different from the third result, and the second result is different from a predetermined result, determining that a bit error occurs when the first to-be-checked bit stream is transmitted.
Abstract:
A method of data processing is applied to a communications device including a first sublayer. A physical sublayer is added above a physical coding sublayer (PCS) of a physical layer, and the physical sublayer is connected to media independent interfaces (xMlls) with different Ethernet rates. Data signals from different media access control clients (MAC) are interleaved using the physical sublayer. Then, a tx_cmd command is used to instruct the PCS to correspondingly encode an xMII signal. Finally, an encoded xMII signal is sent through a port. According to this method, an encoding function of the PCS may continue to be used, to decouple interleaving from encoding and perform the interleaving through an xMII interface. In this case, port channelization can be implemented for ports with multiple rates, and transmission of a high-priority service is ensured when there is an excessively large quantity of service flows in a transmission process.
Abstract:
A method for generating a sharp image based on a blurry image is provided. The method includes acquiring pixel values of pixels in the blurry image, and a convolution kernel of the blurry image, determining a deconvolution kernel of the blurry image based on a preset image gradient operator and the convolution kernel, determining pixel values of pixels in the sharp image based on the deconvolution kernel and the pixel values of the pixels in the blurry image, and generating the sharp image based on the pixel values of the pixels in the sharp image. A deconvolution kernel in the embodiments of the present disclosure is determined based on a gradient operator and a convolution kernel, in other words, the deconvolution kernel introduces the gradient operator as a regularization constraint, which prevents noise from affecting an image recovery process, and improves the quality of a recovered sharp image.
Abstract:
A communication method includes, when a rate adaptation or a frequency offset adjustment is performed on a first block sequence, a quantity of first preset blocks that are added or deleted is one of one or more preset values. In this way, a receive end may determine, based on whether the quantity of first preset blocks in the received first block sequence is a preset value, whether an exception occurs in the first preset block during transmission. Based on this, a false packet can be accepted as a correct packet less frequently, thereby improving a mean time to false packet acceptance (MTTFPA) indicator.
Abstract:
A method includes: receiving a first result obtained by performing BIP check on a sent first to-be-checked bit stream; performing BIP check on a received second to-be-checked bit stream to obtain a second result, where the second to-be-checked bit stream is a bit stream received by a receiving device after the first to-be-checked bit stream is transmitted; detecting a type of a control block in the second to-be-checked bit stream, and determining a third result based on impact of the type of the control block on a BIP check result; comparing the first result, the second result, and the third result; and if the first result is different from the second result, the first result is different from the third result, and the second result is different from a predetermined result, determining that a bit error occurs when the first to-be-checked bit stream is transmitted.
Abstract:
A method, a base station, and user equipment are provided for configuring a CQI measurement subframe. The method includes: receiving an interference neighboring cell identifier of user equipment UE sent by the UE, obtaining almost blank subframe ABS configuration information according to the interference neighboring cell identifier of the UE, where the ABS configuration information is an ABS configuration of an interference neighboring cell corresponding to the interference neighboring cell identifier, configuring an ABS measurement subframe and a NonABS measurement subframe for the UE according to the ABS configuration information of the interference neighboring cell of the UE, and sending the ABS measurement subframe and the NonABS measurement subframe to the UE where the ABS measurement subframe is used by the UE to perform first CQI measurement and the NonABS measurement subframe is used by the UE to perform second CQI measurement.
Abstract:
Embodiments of the present invention provide a cell handover method, a base station and a system, which relate to the field of wireless communications technologies. The method includes: determining, by a source eNB according to uplink RSRP of a UE in a serving cell and a target cell, whether to hand over the UE from the serving cell to the target cell; and if yes, acquiring UE parameters including TA of the UE in the target cell, and sending UE data and the UE parameters to a target eNB, where the TA is used for uplink synchronization between the target eNB and the UE.