Random playing method and device

A technology of random playing and waiting to be played, which is applied in the direction of electronic editing of digital analog information signals, record carrier editing, carrier index/addressing/timing/synchronization, etc., which can solve complex and large storage space problems and reduce the amount of calculation , the effect of reducing hardware requirements

Inactive Publication Date: 2011-05-11
ACTIONS SEMICONDUCTOR
View PDF2 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of this, the object of the present invention is to propose a random play method and device, which can overcome the problems of requiring

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Random playing method and device
  • Random playing method and device
  • Random playing method and device

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0089] Example 1: Shuffle and sort 10 multimedia files in groups of 5.

[0090] The offset of the second group is 5, and the serial number in the cache queue plus 5 is its real serial number.

[0091] Assume that the order of the cache queue after the first group is shuffled is 5, 3, 1, 2, 4; use it as the initial value of the second group, if you have already switched to the second group and played a multimedia file, the second group The internal sequence becomes: 1, 3, 5, 2, 4, where the contents of the first storage unit and the third storage unit are exchanged.

[0092] When rolling back, according to the first set of offsets and the second set, the number that can be rolled back correctly is 5-2 (because an operation has been performed), at this time you can see the number "4" that was taken out last time, and then The forward sequence is 2, 5, 3, of which 5 is wrong (the correct one should be 1, but 1 has been exchanged with 5 in this value). In practice, since the M v...

example 2

[0097] Example 2: Delete the multimedia file whose serial number is 7.

[0098] If the first group is being fetched, the current group will not be affected, and the total number of multimedia files will be directly reduced by 1.

[0099] If the second group is being fetched, the index within the group mapped to the file number 7 in the cache queue should be 2. Assuming that the group indexes in the cache queue are: 1, 3, 5, 2, 4, then it needs to be greater than 2 Subtract 1 from the intra-group index, and move the other intra-group indexes after intra-group index 2 forward by one, and subtract 1 from the number of files in the group and the total number of files.

[0100] After deletion, the index order in the group is: 1, 2(=3-1), 4(=5-1), 3(=4-1), 5, of which only the first 4 are valid data, and the fifth is set to 5 It is to avoid mistakes in the next group.

[0101] Insertion is similar to deletion, except that the total number of intra-group indexes of the inserted gro...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a random playing method which comprises the following steps: grouping multimedia documents to be played according to a predetermined grouping strategy; and playing each group of multimedia documents in a random sequencing mode according to a shuffle algorithm. The invention also discloses a multimedia playing device. By utilizing the scheme of the invention, the calculated amount required for sequencing can be reduced greatly, the hardware requirements for the multimedia playing device can be lowered, and simultaneously the numerical precision of the hardware of the media playing device can satisfy the requirement of random sequencing.

Description

technical field [0001] The invention relates to the technical field of multimedia playing, in particular to a method and a device for randomly playing multimedia files. Background technique [0002] In various media playback devices or systems related to multimedia playback, such as personal computers, mobile phones, portable media playback devices, network on-demand, etc., a commonly used function is to randomly play a certain number of multimedia files. The so-called random play means that the multimedia files to be played form a playlist, the multimedia files in the playlist are randomly sorted, and then these multimedia files are played sequentially according to the sorting results. [0003] The Shuffle algorithm is a random sorting method widely used in the prior art. For a list containing N elements, this method generates random numbers through a random number selection algorithm, and reorders the list according to the random numbers, which can ensure that N consecuti...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G11B27/031G11B27/10
Inventor 杨永东
Owner ACTIONS SEMICONDUCTOR
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products