Abstract:
The present invention relates to a method for controlling cache mapping and a cache system. The method includes: changing, at a preset time interval, a target data block in a cache of an underlying storage medium, where at least one data block in the underlying storage medium is mapped to the target data block, one or more data blocks in the underlying storage medium are mapped only to one target data block in the cache, the cache of the underlying storage medium includes a flash memory medium, and the changed target data block in the cache includes the target data block currently having the maximum number of erasure times in the cache. By utilizing the technical solution, the service life of the flash memory medium can be optimized.
Abstract:
The present invention discloses a communication application triggering method and an electronic device. A communication application triggering method is applied to an electronic device that has a touch sensor, where the method includes: detecting a touch track or touch point on the touch sensor after an object is selected or is called; and matching the detected touch track or touch point with at least one standard model; and if the matching is successful, and the object can be used as a sent object of a communication application that corresponds to the successfully matched standard model, triggering the communication application that corresponds to the successfully matched standard model, and adding the object as a to-be-sent object of the communication application, where different communication applications correspond to different standard models. Technical solutions of embodiments of the present invention are useful for simplifying a communication application triggering mechanism and improving user experience.
Abstract:
The present invention discloses a communication application triggering method and an electronic device. A communication application triggering method is applied to an electronic device that has a touch sensor, where the method includes: detecting a touch track or touch point on the touch sensor after an object is selected or is called; and matching the detected touch track or touch point with at least one standard model; and if the matching is successful, and the object can be used as a sent object of a communication application that corresponds to the successfully matched standard model, triggering the communication application that corresponds to the successfully matched standard model, and adding the object as a to-be-sent object of the communication application, where different communication applications correspond to different standard models. Technical solutions of embodiments of the present invention are useful for simplifying a communication application triggering mechanism and improving user experience.
Abstract:
Embodiments of this application provide an electronic device and an electronic device assembly. The electronic device includes at least a casing and an antenna assembly. At least one outer side wall of the casing is provided with a first groove that is configured to connect at least the electronic device and an external component, a first receiving cavity is further provided inside the casing, at least a part of a radiating element of the antenna assembly is located in the first receiving cavity, and a projection of the first receiving cavity in a thickness direction of the electronic device at least partially overlaps with a projection of the first groove in the thickness direction of the electronic device. In this way, a size of the electronic device can be reduced, so that the entire electronic device is small. This can improve wearing experience of a user.