CN100454421C - Optical disc identification system - Google Patents

Optical disc identification system Download PDF

Info

Publication number
CN100454421C
CN100454421C CNB2004100898020A CN200410089802A CN100454421C CN 100454421 C CN100454421 C CN 100454421C CN B2004100898020 A CNB2004100898020 A CN B2004100898020A CN 200410089802 A CN200410089802 A CN 200410089802A CN 100454421 C CN100454421 C CN 100454421C
Authority
CN
China
Prior art keywords
discs
database
condition code
additional information
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2004100898020A
Other languages
Chinese (zh)
Other versions
CN1604217A (en
Inventor
陈昌宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Via Technologies Inc
Original Assignee
Via Technologies Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Via Technologies Inc filed Critical Via Technologies Inc
Priority to CNB2004100898020A priority Critical patent/CN100454421C/en
Publication of CN1604217A publication Critical patent/CN1604217A/en
Application granted granted Critical
Publication of CN100454421C publication Critical patent/CN100454421C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Management Or Editing Of Information On Record Carriers (AREA)
  • Optical Recording Or Reproduction (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)

Abstract

The present invention relates to a method and a device for distinguishing optical discs. The method for distinguishing optical discs comprises the procedures: firstly, an optical disc is read to obtain file information; secondly, the file information is processed for obtaining a feature code of the optical disc. If the feature code of the optical disc is stored in the database, corresponding additional information of the optical disc is read from the database for executing various additional functions, such as succession of playing points interrupted last time, continuation of language setting last time, etc. Otherwise, the feature code and the relevant additional information of the optical disc are stored in the database.

Description

Optical disc identification system
Technical field
The invention relates to a kind of method and apparatus of distinguishing discs,, distinguish the method and apparatus of discs in particular to by calculating a discs eigenwert.
Background technology
CD player now when playing a discs, can be read information such as title, catalogue, sequence number, is used to recognize discs.Though most discs no matter be compressing tablet or burning sheet, all has such as information such as title, catalogue, sequence numbers, some discs can not have these information exactly.At this moment, have only these discs of broadcast, just can know the actual content that this discs is central.In addition, along with the difference of these information location modes, or discs is impaired and cause information loss, also can cause these information that can't read in discs effectively, makes discs identification difficulty.In addition; in the playing process; often have the situation that to change sheet; for player, the discs of once playing is put back to after extracting again; just need to go again to recognize this sheet discs; and the last time point information that interrupts of playing also will make zero because of substituting sheet, needs user's adjustment of shifting for oneself.
In sum, the more efficient discrimination method of CD more accurately is necessary.
Summary of the invention
One embodiment of the invention is a kind of method of distinguishing discs, comprises the following step: at first, read discs, obtain fileinfo.Handle this document information with accumulating operation, obtain the CD condition code.If had this CD condition code in this database, then in this database, read corresponding CD additional information, carrying out various additional functions, as the broadcast point that interrupted the last time of continuing, the family of languages setting of continuity last time etc.; Otherwise, just, join database with this CD condition code and relevant CD additional information.Certainly, also can after receiving the order of withdrawing from this discs, just this CD additional information be write this database.
Present embodiment still can further comprise the following step: at first, judge whether this discs is the video-audio CD when handling this document information.If this discs is the video-audio CD, then this document information is unit of account with file content, address, the size of a plurality of files.If this discs is not the video-audio CD, then this document information is unit of account with the content and the CD content table of a plurality of track bars.
This CD additional information of present embodiment mainly is to be used for noting down such as the last address of interrupting, the numerical value that optical file is annotated and commented on, the user can set or change from broadcasts such as the language setting of ordering, subtitle settings play of this discs.
Another embodiment of the present invention is a kind of optical disc identification database of information of depositing, comprised CD condition code storage area, be used for being used to distinguish the main index value of discs as storage, and CD additional information storage area, be used for stored CD additional information storage area, for example store the last broadcast point breakpoint address.
Further embodiment of this invention is a kind of player device of distinguishing discs, has comprised optical-disc reader, feature identification device and database.This optical-disc reader is the fileinfo that is used for reading in the discs, this database is to be used for noting down at least this player device data such as last broadcast interrupt address of used discs once, and this feature identification device then is to be used for judging whether this discs once used at this player device whether relative recording can have been arranged in this database.
Wherein after this feature identification device is receiving the order of withdrawing from this discs, the CD additional information is write this database.If there is not the CD condition code of this discs correspondence in this database, then this feature identification device writes this CD condition code and this CD additional information in this database in the lump.
Description of drawings
The 1st figure is the optical disc identification system device synoptic diagram of one embodiment of the invention.
2A and 2B figure are the optical disc identification device operational flowchart of another embodiment of the present invention.
The 3rd figure is the CD eigenwert operation workflow figure of further embodiment of this invention.
[symbol description]
101~discs
102~optical-disc reader
103~data of optical disk territory
104~database
105~display
106~CD eigenwert
107~CD additional information
108~fileinfo
109~CD identifier
201~the first discs
202~the second discs
203~the first data of optical disk territories
204~the second data of optical disk territories
Embodiment
For foregoing of the present invention, feature and advantage can be become apparent, several embodiment cited below particularly, and cooperate appended graphicly, be described in detail as follows:
Because the file content difference of different discs, therefore through the relevant information of accumulation file or accumulation file, for example the bit data summation of accumulation file or the number of characters of accumulation file etc. promptly can be different discs and produce different identification bases.Of the present invention one is characterised in that the application that proposes on the optical disc recognition greatly.
The present invention just can obtain the identifying code of CD by some information (for example file content, file name, file address and file size) in some file on the CD that adds up (for example top ten files).By this, the treated database of crossing CD of each sheet be can set up, the identifying code that all handled discs and the table of comparisons of CD additional information comprised.When player when reading CD, read the distinguishing the mode of existing information except existing, can also utilize method provided by the present invention, discern CD with the CD identifying code, and then carry out greater functionality according to the CD additional information.
Shown in the 1st figure, a preferred embodiment provided by the invention for a kind of player device 110 of distinguishing discs, has comprised optical-disc reader 102, feature identification device 109, database 104.This optical-disc reader 102 can be used for reading the fileinfo 108 in the discs 101.And this feature identification device 109 is to be used for judging whether this discs 101 was once used at this player device 110 (or whether existing relevant information in the database 104).104 of this databases are the relevant informations that is used to note down once used discs 101, comprise last broadcast interrupt address.
For instance, shown in the 3rd figure, when this document information 108 was converted to CD identification code 106, topmost action was to judge whether this discs 101 is video-audio CD (DVD) earlier.If this discs 101 is video-audio CD (DVD), then this document information 108 is that file content, address, size with a plurality of files are unit of account.If this discs 101 is not the video-audio CD, then this document information 108 be with hold within a plurality of track bars with CD content table (TOC) be unit of account.
Shown in the 1st figure, in player device 110, distinguish the method for discs 101, comprise the following step: at first read discs 101, obtain fileinfo 108, then with optical-disc reader 102, this CD identifier 109 is handled this document information 108, obtain CD condition code 106, and, check whether there is this CD condition code 106 in this database 104 already.If had this CD condition code 106 in this database 104, then in this database 104, read corresponding CD additional information 107, to carry out the function of correspondence.If CD condition code 106 records of these discs 101 correspondences are not arranged in this database 104, represent then that this discs is from original new discs, so newly-increased data of optical disk territory 103 in database is used to store pairing new CD condition code 106 of this discs and new CD additional information 107.Certainly, if this discs 101 pairing CD condition codes 106 have been arranged in this database 104, this discs 101 had before been handled in representative, can handle this discs 101 according to the corresponding CD additional data 107 that database write down.
For instance, the user often runs into various situations in the broadcast discs, and must temporarily discs be taken out, and changes and plays new discs or go to handle other thing earlier, has time in the future and just puts back to old discs continuation broadcast.After this feature identification device 109 is receiving the order of withdrawing from this discs 101, CD additional information 107 can be write in this database 104 in the pairing data of optical disk territory 103 reference when using this discs 101 afterwards.If this moment, new discs then was this CD condition code 106 to be write in this database 104 in the lump 103 li in this corresponding data of optical disk territory with CD additional information 107.
In order to remember the discs that each sheet was play, in another preferred embodiment, the invention provides one and be used to deposit optical disc identification database of information 104, mainly form by a plurality of data of optical disk territory 103, the storage area that has comprised CD condition code 106 in each data of optical disk territory, be used to store main index value as distinguishing a discs, and the storage area of CD additional information 107, mainly be to be used to store these discs 101 last addresses of interrupting of playing of record, the optical file annotations and comments, favorite sheet sector address, the user sets from the language of ordering, the numerical value that subtitle setting or the like can be set or change in playing.Therefore each CD condition code 106 all has the CD additional data 107 of a correspondence, and the quantity in this data of optical disk territory 103 is then decided on the amount of capacity of database 104.Search, read when working with access at 109 pairs of databases 104 of feature identification device, database 104 can be a simple internal memory, or the processor with operation independent function adds internal memory.
With the data content in the discs, concentrated extract become one recognizable, be not easy the feature code of repetition, its algorithm can be the variation of various mathematical operations, gets final product so long as can produce the feature code of difference according to the different content of different discs sheet.For instance, another preferred embodiment of the present invention shown in the 3rd figure is that fileinfo 108 is seen through an algorithm, converts CD condition code 106 to.At first, step 301 confirms whether discs is a video-audio discs, and under the situation that is the videodisc sheet, execution in step 302 and step 303 are unit of account with the file, and order wherein puts in order according to file system.Under the situation that is not the videodisc sheet, execution in step 306 and step 307 are unit of account with the track bar number, and order wherein is as the criterion with the arrangement mode of contents table (TOC).After reading above-mentioned information, next execution in step 304, and whether unit of account quantity greater than ten, the words execution in step 305 that is, the position and the size of preceding ten data that add up, no words execution in step 306, the position of all data that add up and size.So obtain set of number, be CD identification code 106.Certainly, except the method that adds up, still can utilize various hash functions, or the free collocation design of various coding techniques.
Shown in 2A figure and 2B figure, another preferred embodiment is provided, be used to explain orally CD identification system 110 detailed operation process when substituting sheet.At first, first discs 201 is put into optical-disc reader 102, promptly check and find that this is that a slice is newly advanced CD, and produce first data field 203 by CD identifier 109, be used for remembering the CD identification code 106 and CD additional information 107 of this first discs 201, deposit in the database 104.The user may be because of a variety of causes subsequently, and wants to suspend midway, changes to play second discs 202.So take out first discs 201, insert second discs 202, CD identifier 109 calculates CD identification code 106 from second discs, with all the CD identification code comparisons in the database 104, find that this also is that a slice is newly advanced CD, and produce second data field 204, and be used for remembering the CD identification code 106 and CD additional information 107 of this second discs 202, deposit in the database 104.When the user wants to return to continue to watch first discs 201 once again, so extract second discs 202 out, put into first discs 201 once again, at this moment this CD identifier 109 calculates a CD identification code 106 from first discs 201, with all CD identification codes 106 comparisons in the database 104, the discs that first data field 203 of finding that Here it is is remembered.So read the CD additional information 107 of previous memory from first data field 203, prolong the various settings of being done when playing for player 110 with last time, play such as play breakpoint succession, or prolong with settings such as the family of languages, visual angle, captions from last time.
Therefore, the invention provides a kind of mechanism that can effectively distinguish CD, do not lose, or the CD specification does not conform to and influences function because of the attached information of discs own.Distinguish that because of this mechanism has the function of database memory additional information simultaneously, and make playing function have many extensibility easily.
Though the present invention discloses as above with preferred embodiment; so it is not to be used to limit scope of the present invention; any those skilled in the art; without departing from the spirit and scope of the present invention; when can doing various changes and retouching, so protection scope of the present invention is as the criterion when looking the accompanying Claim person of defining.

Claims (10)

1. method of distinguishing discs comprises the following step:
Read discs, obtain fileinfo;
Handle this document information with the mathematical operation that adds up, obtain the CD condition code;
Check whether database has this CD condition code already, obtain check result; And
If this check result shows there has been this CD condition code in this database, then in this database, read corresponding CD additional information, to carry out corresponding function.
2. method according to claim 1 also comprises as if this check result and shows not have this CD condition code in this database, then carries out one of the following step at least:
This CD condition code is write in this database; And
Corresponding CD additional information is write in this database.
3. method according to claim 1 further comprises the following step: after receiving the order of withdrawing from this discs, reflection is this time write this database to this up-to-date CD additional information that reads of this discs.
4. method according to claim 1 when handling this document information, further comprises the following step:
Judge whether this discs is the video-audio CD; And
If this discs is the video-audio CD, then this document information is unit of account with file content, address, the size of a plurality of files, if and this discs is not the video-audio CD, then this document information is unit of account with the content and the CD content table of a plurality of track bars.
5. method according to claim 1, this CD additional information is that the language that last address, optical file annotations and comments, favorite sheet sector address, the user who plays interruption of this discs of record orders is certainly set, subtitle setting.
6. the player device that can distinguish discs comprises:
Database is used to write down the CD condition code and the CD additional information of the discs of once playing;
Optical-disc reader is used for reading the fileinfo of discs, and converts the CD condition code to; And
The feature identification device, being used for via the mathematical operation that adds up is the CD condition code with this document information translation, and judges whether there has been this CD condition code in this database, wherein:
If had this CD condition code in this database, then this feature identification device is read corresponding CD additional information in this database, to carry out corresponding function.
7. device according to claim 6 if do not have this CD condition code in this database, then comprises following possibility at least:
This feature identification device writes this CD condition code in this database; And
This feature identification device writes corresponding CD additional information in this database.
8. device according to claim 6, this CD additional information more comprises: the language that last address, optical file annotations and comments, favorite sheet sector address, the user who plays interruption of this discs orders is certainly set, subtitle setting.
9. device according to claim 6, wherein:
This feature identification device will write this database with respect to the CD additional information of this discs after receiving the order of withdrawing from this discs.
10. device according to claim 6, wherein:
When handling this document information, the feature identification device judges whether this discs is the video-audio CD; And if this discs is the video-audio CD, then this document information is unit of account with file content, address, the size of a plurality of files, if and this discs is not the video-audio CD, then this document information is unit of account with the content and the CD content table of a plurality of track bars.
CNB2004100898020A 2004-10-26 2004-10-26 Optical disc identification system Expired - Fee Related CN100454421C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100898020A CN100454421C (en) 2004-10-26 2004-10-26 Optical disc identification system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100898020A CN100454421C (en) 2004-10-26 2004-10-26 Optical disc identification system

Publications (2)

Publication Number Publication Date
CN1604217A CN1604217A (en) 2005-04-06
CN100454421C true CN100454421C (en) 2009-01-21

Family

ID=34667184

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100898020A Expired - Fee Related CN100454421C (en) 2004-10-26 2004-10-26 Optical disc identification system

Country Status (1)

Country Link
CN (1) CN100454421C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110023816A (en) * 2016-12-01 2019-07-16 黄绅嘉 The system for distinguishing mood or psychological condition

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1392561A (en) * 2001-06-15 2003-01-22 神基科技股份有限公司 Method for quickly returning to last broadcast point of CD for further watching

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1392561A (en) * 2001-06-15 2003-01-22 神基科技股份有限公司 Method for quickly returning to last broadcast point of CD for further watching

Also Published As

Publication number Publication date
CN1604217A (en) 2005-04-06

Similar Documents

Publication Publication Date Title
CN1146906C (en) Recording and replaying device and recording method
CN101256811B (en) Apparatus and method for producing play list
US7870165B2 (en) Electronic apparatus having data playback function, database creation method for the apparatus, and database creation program
CN100573471C (en) The system and method for search repeating data
CN100563317C (en) Recording and reproducing system, recording/reproducing method, program, and recording medium
CN101057294B (en) Reproducing apparatus for reproducing the audio-visual data stored in the storage medium
US20020069195A1 (en) Automatic identification of DVD title using internet technologies and fuzzy matching techniques
US8392468B2 (en) Media information search apparatus and media information search method
CN102609531A (en) Method for pegging files according to keywords
US20080235217A1 (en) System and method for creating, verifying and integrating metadata for audio/video files
CN107526795B (en) Knowledge base construction method and device, storage medium and computing equipment
CN100454421C (en) Optical disc identification system
CN1258071A (en) Apparatus for replaying recording medium comprising information block
WO2014061846A1 (en) Method for generating index for processing mixed query, method for processing mixed query, and recording medium for recording index material structure
US7856443B2 (en) Automatic identification of DVD title using internet technologies and fuzzy matching techniques
JP2007058987A (en) Device and method for reproducing optical disk
KR100361028B1 (en) Method For Designation Of File Name For Digital Audio data
US20070002696A1 (en) Recordable dvd structure
EP1652186B1 (en) Method for fast reconstruction of content information
KR20130067569A (en) Apparatus and method processing error file of cd player
CN101430906B (en) Method and system for determining disc format for recovery of data recording
EP0981096A1 (en) Searching system for searching files stored in a hard disc of a personal computer
KR100670775B1 (en) Method for embodying playlist for both index and context of portable media
CN101051502B (en) Method for the recovery of a damaged table of contents in an optical disc
JP5370079B2 (en) Character string search device, program, and character string search method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090121