Method and a device for frequency counting
First Claim
1. A method for counting frequency of events to be performed by an electronic device capable of processing and storing data, the frequency information being stored in a primary storage with more detail and in a secondary storage with less detail, said method comprising the steps of defining at least one event type the frequency of which is to be counted (302), detecting an event of the type to be counted when occurred (306), checking if the event type is already included in the primary storage (310), if included, increasing count for the event type in the primary storage (312), otherwise updating count for the event type in the secondary storage (314).
8 Assignments
0 Petitions
Accused Products
Abstract
A memory efficient method and electronic device for counting frequencies of various events. The structure for storing frequency data comprises primary (204) and secondary (206) storages which contain frequency data (208, 210, 214) in different levels of detail. The primary storage (204) is a detailed storage comprising both event type and count information units in a fully restorable form. The secondary storage (206) is targeted for more infrequent events with lower level of detail and constructed as an array of count values addressed by a hash function using event type as an input. Another option is to derive a shortened ID from the event type by utilizing a hash function and exploit the ID as an addressing key for the corresponding count. Events are moved between primary (204) and secondary (206) storages depending on the detected event type frequencies. The invention is utilized in a recommendation engine for grading and sorting bookmarks stored in browsers for accessing the Internet.
89 Citations
52 Claims
-
1. A method for counting frequency of events to be performed by an electronic device capable of processing and storing data, the frequency information being stored in a primary storage with more detail and in a secondary storage with less detail, said method comprising the steps of
defining at least one event type the frequency of which is to be counted (302), detecting an event of the type to be counted when occurred (306), checking if the event type is already included in the primary storage (310), if included, increasing count for the event type in the primary storage (312), otherwise updating count for the event type in the secondary storage (314).
- 39. A personal communications device operable (708, 718) in a telecommunications network, comprising processing means (702) and memory means (712) for processing instructions (716) and storing data, said memory means (712) comprising a primary (704) and a secondary storage (706) for storing frequency information, in the primary storage with more detail and in the secondary storage with less detail, said personal communications device arranged to define at least one event type the frequency of which is to be counted, detect an event of the type to be counted when occurred, check if the event type was already included in the primary storage (704), and if included, increase the count for the event type in the primary storage (704), otherwise update the count for the event type in the secondary storage (706).
Specification