Abstract:
The present invention relates to the field of network communications, and discloses a duplex mode adaptive method, including: querying the modulation mode configuration table, to obtain a maximum modulation mode of the current duplex mode and a maximum modulation mode of the non-current duplex mode; calculating maximum spectral efficiency of the current duplex mode according to the maximum modulation mode of the current duplex mode; calculating maximum spectral efficiency of the non-current duplex mode according to the maximum modulation mode of the non-current duplex mode; comparing the maximum spectral efficiency of the current duplex mode with the maximum spectral efficiency of the non-current duplex mode, and selecting a duplex mode whose spectral efficiency is greater as a next-step duplex mode; and switching a duplex mode of the wireless communications apparatus to the next-step duplex mode.
Abstract:
Embodiments of the present application disclose a method for saving a running log, including: when a running exception occurs in an operating system, configuring that a random access memory adapted to record a running log of the operating system works in a self-refresh mode; performing reset on an application processor of the operating system and keeping a power management unit working normally, where the power management unit is adapted to manage power of the application processor and the random access memory; acquiring the running log of the operating system from the random access memory and saving the running log of the operating system, after reset of the application processor is completed. The embodiments of the present application further disclose a device. By adopting the present application, it can be ensured that a log is saved completely during a preset process of the system.
Abstract:
A method and an apparatus for calibrating a low frequency clock are disclosed. The method includes: calculating a frequency of a low frequency clock in a current low frequency clock calibration; and calculating an average value of low frequency clock frequencies in n clock calibrations before the current calibration, where n is greater than 1 and is an integer; judging whether a difference between the frequency of the low frequency clock in the current low frequency clock calibration and the average value is smaller than a preset threshold for the difference; and if the difference between the frequency of the low frequency clock in the current low frequency clock calibration and the average value is smaller than the preset threshold for the difference, calculating the number of sleep cycles according to the calculated and obtained frequency of the low frequency clock in the current low frequency clock calibration.
Abstract:
Embodiments of the present application disclose a method for saving a running log, including: when a running exception occurs in an operating system, configuring that a random access memory adapted to record a running log of the operating system works in a self-refresh mode; performing reset on an application processor of the operating system and keeping a power management unit working normally, where the power management unit is adapted to manage power of the application processor and the random access memory; acquiring the running log of the operating system from the random access memory and saving the running log of the operating system, after reset of the application processor is completed. The embodiments of the present application further disclose a device. By adopting the present application, it can be ensured that a log is saved completely during a preset process of the system.
Abstract:
An electronic device includes an insulation top cover, a middle frame, a display, and a flexible printed circuit electrically connected to an end of the display, where one side of the insulation top cover is located above an outer edge of the display, and the other side of the insulation top cover is connected to the middle frame. The electronic device further includes an electrostatic protection structure, where the electrostatic protection structure is configured to ground, at the middle frame, static electricity entering the electronic device from a gap between the display and the insulation top cover, to discharge, on the middle frame, the static electricity entering the electronic device.
Abstract:
A foldable electronic device includes a first main body, a second main body, a rotating shaft assembly, a flexible screen, and a protective bracket. The first main body and the second main body are coupled through the rotating shaft assembly, the flexible screen is disposed on the first main body and the second main body, and the first main body and the second main body rotate relative to the rotating shaft assembly towards a side having the flexible screen. The flexible screen includes a bending region, and a first non-bending region and a second non-bending region that are respectively located on two sides of the bending region. The protection bracket includes a flexible part, a first metal part, and a second metal part. The flexible part is disposed on the flexible screen and includes a main body segment, a first connection segment, and a second connection segment.
Abstract:
In a method for managing a storage device in a storage system, a client may send, based on an obtained start address that is of a queue of an NVMe storage device and to which an access request points and an obtained logical address that is of the NVMe storage device and to which the access request points, a remote direct memory access command to a storage node in which the NVMe storage device is located.
Abstract:
A data reading method includes receiving, by a controller of a memory, a read operation request carrying a first address; performing, by the controller, N read operations on the first address, and obtaining N pieces of data read by the N read operations; and determining, by the controller, whether the N pieces of data are consistent. The method further includes sending, by the controller, response information used to respond to the read operation request if the controller determines that the N pieces of data are consistent, where the response information includes any one of the N pieces of data. The controller may perform T random read operations between any two consecutive read operations of the N read operations to avoid data leakage during reading. If the N pieces of data obtained by performing the N read operations are inconsistent, the memory may send abnormal alarm information to respond to the read operation request to avoid data tampering. An apparatus including a controller and different modules for performing the operations of the method are also disclosed.
Abstract:
A data processing method and apparatus relate to the field of communications technologies and applicable to data processing used to resolve a low security problem of data stored in a memory. A memory encryption/decryption (MED) apparatus receives a data write command, encrypts to-be-written data, scrambles an address to which data is to be written, and then saves a cyclic redundancy check (CRC) code of the to-be-written data and encrypted to-be-written data in a memory according to a scrambled address to which data is to be written. Solutions provided in the embodiments of the present disclosure are.
Abstract:
An interference signal cancellation apparatus, includes a first power divider configured to divide a cancellation reference signal link corresponding to a transmit antenna into a first reference link and a second reference link. The apparatus includes a second power divider configured to divide a signal receiving link connected to a receive antenna into a first receiving link and a second receiving link, and use the first receiving link as an output link. The apparatus includes a primary cancellation unit that is located at the first reference link and that is connected to the signal receiving link by using a coupler. The apparatus includes a secondary cancellation unit that is located at the second reference link and that is connected to the second receiving link by using a coupler. The apparatus includes a control module connected to the second receiving link, the primary cancellation unit, and the secondary cancellation unit.