The system of recording and playback fingerprintTechnical field
The present invention relates to device-fingerprint process fields, the in particular to system of recording and playback fingerprint.
Background technique
Device-fingerprint, which refers to, can be used for equipment feature or unique device identification that unique identification goes out the equipment.EquipmentFingerprint includes some intrinsic, more difficult device identifications distort, unique.Such as the hardware ID of equipment, as mobile phone was producingIt can all be endowed unique IMEI (International Mobile Equipment Identity) number in journey, useIn unique identification this equipment.As the network interface card of computer, it can be endowed unique MAC Address in process of production.These equipment are onlyOne identifier we can be regarded as device-fingerprint.Meanwhile the characteristic set of equipment can be used to regard device-fingerprint.IEach feature such as the title of equipment, model, shape, color, function is combined into the mark being used for as equipment.This is with regard to classUs are similar to when remembering people, is usually remembered by the appearance of people, facial characteristics.
The whole world all enters digitized development wave at present, along with digitized tide, top box of digital machine, number electricityDepending on, air-conditioning, intelligent refrigerator, intelligent appliance etc. all start to popularize, it is complete with the software clients Custom Prosthesis product such as top box of digital machineBall is universal.How to realize that device-fingerprint carries out recording and playback, has become a problem of the products facing such as set-top box.
Summary of the invention
The technical problem to be solved by the present invention is a kind of system of recording and playback fingerprint is provided, in programme replay mistakeDevice-fingerprint is shown in journey.
To solve the above problems, the technical solution adopted by the present invention is that: the system of recording and playback fingerprint, including performance recordingModule, programme replay module, fingerprint record module, fingerprint display module and control module;
Performance recording module is responsible for the recording of the basic program audio-video frequency content of system;
Programme replay module is responsible for the playback of recorded program audio-video frequency content;
Fingerprint records module and is responsible for the finger print information that front end is sended over and current finger print with respect to this program audio-videoIn glue file under file where the offset of recording starting time is saved in this recording program;
When programme replay module carries out the playback of program audio-video frequency content, control module is responsible for from the file for saving fingerprintRead all finger print informations for recording under actual program, and according to fingerprint at the beginning of and playback offsets time control fingerprint it is aobviousShow that module is shown or hidden to fingerprint.
Further, in order to accurately show device-fingerprint, if at the beginning of certain fingerprint being T1, current playback shift timeT0, if T0 is more than or equal to T1, fingerprint control module sends fingerprint display command and gives fingerprint display module.
The beneficial effects of the present invention are: the present invention records mould by setting performance recording module, programme replay module, fingerprintBlock, fingerprint display module and control module allow the equipment such as set-top box to carry out fingerprint recording, and in program audio-videoWhen content playback, the demand of user's recording and playback fingerprint is met.
Detailed description of the invention
Fig. 1 is structural block diagram of the invention.
Specific embodiment
The present invention is specifically described below in conjunction with attached drawing.Fingerprint as described below refers both to device-fingerprint.
As shown in Figure 1, the present invention provides a kind of system of recording and playback fingerprint, can be used for top box of digital machine, DTV,The intelligent appliances such as air-conditioning and intelligent refrigerator, the present invention include performance recording module, programme replay module, fingerprint recording module, refer toLine display module and control module;
Performance recording module is responsible for the recording of the basic program audio-video frequency content of system;
Programme replay module is responsible for the playback of recorded program audio-video frequency content;
Fingerprint records module and is responsible for the finger print information that front end is sended over and current finger print with respect to this program audio-videoIn glue file under file where the offset of recording starting time is saved in this recording program;
When programme replay module carries out the playback of program audio-video frequency content, control module is responsible for from the file for saving fingerprintRead all finger print informations for recording under actual program, and according to fingerprint at the beginning of and playback offsets time control fingerprint it is aobviousShow that module is shown or hidden to fingerprint.
Working principle of the present invention is as follows:
1. user starts when recording, performance recording module is responsible for the Record and Save of program audio-video frequency content to corresponding literaryIn glue file under part folder, such as it is stored in PVR/TS-1/record.ts.
2., if control module receives the finger print information of front end transmission, being opened during program audio video recordDynamic fingerprint records module, and fingerprint records module and is responsible for the finger print information that front end is sended over and current finger print with respect to this programIn glue file under file where the offset of audio-video recording starting time is saved in this recording program, such as it is stored inIn PVR/TS-1/fp_list.fp.
3. during a program audio video record front end send all finger print informations all in chronological sequence sequenceIt is stored in file PVR/TS-1/fp_list.fp.
4. program audio video record stops, stopping the recording of finger print information.
5. user start programme replay, programme replay module read from corresponding file program audio-video frequency content intoRow playback, control module take first finger from all finger print informations recorded under actual program are read in the file for saving fingerprintIt is T1 at the beginning of line, obtains current playback shift time T0 in real time, if T0 is more than or equal to T1, illustrates that this fingerprint is being recordedThe current location of programme replay has occurred, and fingerprint control module sends fingerprint display command and gives fingerprint display module, thus fingerprintDisplay module shows fingerprint;If T0 is less than T1, illustrate that this fingerprint does not occur in the current location for recording programme replay,Fingerprint control module sends the hiding order of fingerprint and gives fingerprint display module, so that fingerprint display module is hidden fingerprint.
6. when the display of nth fingerprint, control module is taken out at the beginning of (n+1)th fingerprint as T1 and real-timeTo current playback shift time T0 compare, one by one complete a recorded file in all finger print informations display, Zhi DaojieMesh playback terminates.