Method for realizing random playing in multimedia player

A multimedia player and random play technology, applied in the field of data processing, can solve the problems of slow running speed, complicated calculation method, and inability to record the sequence of the played, etc., and achieve the effect of fast running speed and simple calculation method

Active Publication Date: 2010-02-17
FUZHOU ROCKCHIP SEMICON
View PDF1 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. The same file will be played repeatedly;
[0005]2. Cannot record the played sequence
[0006] Aiming at the above-mentioned first shortcoming, Chinese invention patent application No. 200510123237.X, titled "Random Play System and Method" discloses a random play method, However, the method of random playback does not have the function of recording the sequence of files that have been played, and the calculation method is very complicated and the running speed is very slow

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The multimedia player of the method for realizing random playing in the multimedia player of the present invention includes a controller, a random number generator, a file ID list, a database, and a player.

[0023] The controller is used to control the random number generator, the file ID list, the database, and the player to realize the functions of the whole system. A random number generator is used to generate random numbers within a specified range. The file ID list is used to record the IDs of unplayed and played files. The database is used to store the information of all files, and the information of the file can be found through the ID of the file. The player is used to parse the file.

[0024] The method that the present invention realizes random play in multimedia player comprises the following steps:

[0025] Step 1: First, the controller initializes the file ID list, that is, sequentially numbers all files in the file ID list, and sets an ID for each file...

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 relates to a method for realizing random playing in a multimedia player, which comprises the following steps: initializing an ID list of document by a controller; generating a random number which is less than the document number range of documents which are not played by a random number generator; extracting the ID of a corresponding document of the random number from the ID list ofthe document by using the random number; exchanging the ID with IDs which are sequentially counted from the rear part in the ID list of the document and are not exchanged; searching information of thecorresponding document of the ID from a database by using the ID and playing the corresponding document of the ID by using the player; and ending the playing of the document, regenerating the randomnumber which is less than the number range of the document which is not played by the random number generator and ending the playing until all documents are played. The method has the advantages that:1. each document is only played once; and 2, the played sequence is stored by using less memory, thereby having the function of back playing.

Description

【Technical field】 [0001] The invention relates to a data processing method, in particular to a method for realizing random play in a multimedia player. 【Background technique】 [0002] Currently available media players basically have the function of random play, which utilizes a random number generator to generate a random number, searches for the corresponding media file from the file ID list according to the random number, and then plays it through the player, thereby achieving Random play function. However, the above method cannot ensure that all files are only played once in the same cycle, so when the user is playing files, some files will be played multiple times and some will not be played. [0003] In summary, the random play method of the existing media player has the following disadvantages: [0004] 1. The same file will be played repeatedly; [0005] 2. Cannot record the sequence that has been played. [0006] For above-mentioned first kind of shortcoming, Chi...

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): G06F17/30G11B27/031
Inventor 洪锦坤
Owner FUZHOU ROCKCHIP SEMICON
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