| CPC G06F 16/45 (2019.01) [G06F 16/40 (2019.01); G06F 16/4393 (2019.01); G06F 16/55 (2019.01); G06F 16/75 (2019.01); G06F 18/23 (2023.01)] | 16 Claims |

|
1. A multimedia file playing method for a rotatable device, comprising:
grouping, based on a specified grouping parameter sequence, files in a multimedia file library, to obtain a plurality of groups of files having one or more levels, wherein different parameters in the specified grouping parameter sequence correspond to different grouping granularities;
generating a sub file sequence for each height-width ratio type in each group of the plurality of groups of files, wherein the height-width ratio type comprises a horizontal screen type, a vertical screen type, and a square screen type;
generating and playing a file playing sequence, according to a received file playing instruction, that has been sorted using a sequence relation network constructed based on sub file sequences of a corresponding group of the plurality of groups of files in the multimedia file library within a file playing range and a minimum number of device rotations; and
sorting sub file sequences of each group of the plurality of groups of files, according to a preset sub-sequence sorting mode, to obtain a primary candidate sequence set corresponding to that group of the plurality of groups of files,
wherein a node in the sequence relation network represents a sequence in the primary candidate sequence set,
wherein a weight of the node indicates a number of device rotations required when playing the sequence represented by the node, and
wherein, based on the received file playing instruction not containing a playing sequence condition related to grouping parameters in the specified grouping parameter sequence, the generating and playing of the file playing sequence comprises:
generating sub file sequences corresponding to the file playing range by concatenating sub file sequences of a same height-width ratio type; and
generating the file playing sequence such that a matching sub file sequence whose height-width ratio type matches a current screen state is preferentially placed in the front of the file playing sequence.
|