摘要:
A data query method and apparatus are disclosed. The method includes: determining a target directory block including m directory entries and m file names, where the m directory entries one-to-one correspond to the m file names, and the m directory entries and the m file names are sequentially arranged according to a preset rule; determining a current first set and a current second set based on a binary search algorithm and the target directory block; determining a first common prefix between a to-be-accessed file name and a file name in the current second set; comparing the to-be-accessed file name with a third file name character by character from a first character after the first common prefix; and if the to-be-accessed file name is the same as the third file name, obtaining data of a to-be-accessed file based on a directory entry corresponding to the third file name.
摘要:
Embodiments relate to the field of storage technologies. The method is applied to a flash device whose first physical storage space stores a data block at a first security level and a data block at a second security level and whose second physical storage space stores a data block at a second security level. The method includes: receiving a data write request used to request to write target data, and obtaining a security level of the target data; and writing the target data into the first physical storage space if the security level of the target data is the first security level; or writing the target data into the second physical storage space or writing the target data into the second physical storage space and the first physical storage space if the security level of the target data is the second security level.
摘要:
The disclosures provide a method and apparatus for transmitting and receiving interface signals of a distributed base station. At least one channel of Common Public Radio Interface (CPRI) signals of a distributed base station are encapsulated into optical transport unitx (OTUx) signals in a frame structure of OTUx by adopting Generic Mapping Procedure (GMP) mapping scheme, wherein the x represents a transmission capacity and wherein the OTUx is adopted for providing a bandwidth required by the at least one channel of CPRI signals, and then the OTUx signals that bear the at least one channel of CPRI signals are sent.
摘要:
A frame rate adjustment method to reduce frame rate jitters in a display process includes: a terminal obtains a computing-access ratio relationship, where the computing-access ratio relationship is used to reflect a ratio between computing tasks and access tasks executed by the terminal; obtains a first working frequency table corresponding to the computing-access ratio relationship, where the first working frequency table includes CPU performance parameters generated when a DDR SDRAM and a CPU work on different working frequency combinations; selects from the first working frequency table based on the CPU performance parameter, a target CPU-DDR SDRAM working frequency combination that meets preset target frame processing duration; and instructs the DDR SDRAM to work on a target DDR SDRAM working frequency in the target CPU-DDR SDRAM working frequency combination, and instructing the CPU to work on a target CPU working frequency in the target CPU-DDR SDRAM working frequency combination.
摘要:
The disclosures provide a method and apparatus for transmitting and receiving interface signals of a distributed base station. At least one channel of Common Public Radio Interface (CPRI) signals of a distributed base station are encapsulated into optical transport unit x (OTUx) signals in a frame structure of OTUx by adopting Generic Mapping Procedure (GMP) mapping scheme, wherein the x represents a transmission capacity and wherein the OTUx is adopted for providing a bandwidth required by the at least one channel of CPRI signals, and then the OTUx signals that bear the at least one channel of CPRI signals are sent.
摘要:
The disclosures provide a method and apparatus for transmitting and receiving interface signals of a distributed base station. At least one channel of Common Public Radio Interface (CPRI) signals of a distributed base station are encapsulated into optical transport unit x (OTUx) signals in a frame structure of OTUx by adopting Generic Mapping Procedure (GMP) mapping scheme, wherein the x represents a transmission capacity and wherein the OTUx is adopted for providing a bandwidth required by the at least one channel of CPRI signals, and then the OTUx signals that bear the at least one channel of CPRI signals are sent.