Abstract:
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.
Abstract:
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.
Abstract:
A method for allowing a device in an external network to access a server in an internal network via a public IP address. A routing equipment receives a message carrying a destination IP address and a destination port number from the device, matches the destination IP address and the destination port number with external characteristics of the server in a mapping table established on the routing equipment. If a match exists, the routing equipment replaces the destination IP address and the destination port number with the internal IP address and the internal port number. The mapping table includes a correlation between external characteristics and internal characteristics of the server. The external characteristics include the external IP address and the external port number of the server. The internal characteristics include the internal IP address and the internal port number.
Abstract:
This application discloses a data processing method and apparatus, a computing device, and a system, and relates to the field of remote control. The method includes: A first computing device obtains first information used by a second computing device to display a first image, where the first information includes a drawing instruction, and the drawing instruction is used to render first to-be-rendered data to obtain the first image. The first computing device determines indication information of the first to-be-rendered data, and sends second information that includes the drawing instruction and the indication information to the second computing device.
Abstract:
A method for allowing a device in an external network to access a server in an internal network via a public IP address. A routing equipment receives a message carrying a destination IP address and a destination port number from the device, matches the destination IP address and the destination port number with external characteristics of the server in a mapping table established on the routing equipment. If a match exists, the routing equipment replaces the destination IP address and the destination port number with the internal IP address and the internal port number. The mapping table includes a correlation between external characteristics and internal characteristics of the server. The external characteristics include the external IP address and the external port number of the server. The internal characteristics include the internal IP address and the internal port number.