Opened 18 years ago

Closed 18 years ago

#1427 closed patch (fixed)

EIT signature cache

Reported by: Stuart Auchterlonie Owned by: danielk
Priority: minor Milestone: 0.20
Component: dvb Version: head
Severity: medium Keywords: eit cache
Cc: Ticket locked: no

Description

Here is the EIT signature caching patch.

This creates a signature for an event and keeps track of this signature and compares it against incoming EIT data.

Events without a cached signature are added to the DB. Events with updated signature are added to the DB. Events that are unchanged are ignored.

Event signatures are stored in a QMap, with 64 bits available for both key & signature.

Currently the key is (transportid, serviceid, eventid) with the signature (tableid, version, chksum).

Currently the chksum is unused, but can easily be added if necessary.

Attachments (1)

eit-signatures.diff (6.3 KB) - added by Stuart Auchterlonie 18 years ago.
EIT signature caching patch

Download all attachments as: .zip

Change History (2)

Changed 18 years ago by Stuart Auchterlonie

Attachment: eit-signatures.diff added

EIT signature caching patch

comment:1 Changed 18 years ago by danielk

Resolution: fixed
Status: newclosed

(In [9228]) References #1035 and closes #1427, by applying patch from #1427.

This implements an event signature cache, so that we avoid processing an event again during any one EIT scan.

This should lower the memory requirements and CPU load of the EIT Scan somewhat.

Note: See TracTickets for help on using tickets.