SE520485C2

A method for freeing memory in a device with limited memory storing penstrokes

Abstract

A method and computer program product for freeing memory in a device with limited memory. A plurality of pen strokes is entered into the device, each of which is associated with one of a plurality of logical pages. Each pen stroke is stored in electronic form in the memory in association with its logical page and a recording time. According to the method, memory is freed by all the pen strokes associated with a specific logical page being deleted. The specific logical page is determined on the basis of a time at which a pen stoke associated with the logical page was recorded bz the device. The specific logical page may be determined on the basis of its most recently recorded pen stroke having been recorded earlier than the most recently recorded pen stroke of any of the other logical pages. Alternatively, specific logical page may be determined by a pen stroke associated with the specific logical page having been recorded prior to a predetermined time.

SE520485C2, drawing sheet 1
Sheet 1 of 10

Term

No projected expiry on record.

  1. Priority and filed
  2. Granted
  3. Today

20 claims: 8 independent, 12 dependent

  1. 1
    CLAIMS PATENTKRAV 1. Förfarande för frigöring av minne i en anordning med begränsat minne, i vilken ett flertal penndrag inmatats, vilka penndrag vart och ett är associerat med varsin av ett flertal sidor och lagrat på elektronisk form i minnet, varvid samtliga med en specifik sida associerade penndrag raderas (78) när utrymme i minnet skall frigöras , kännetecknat av att den specifika sidan bestäms baserat på en tidpunkt vid vilken ett med sidan associerat penndrag registrerats av anordningen. 1st A method for releasing memory in a limited memory device in which a plurality of pen features are inserted, each of the pen features each associated with a plurality of pages and stored in electronic form in the memory, all of which are associated with a specific page 78) when space in the memory is to be freed, characterized in that the specific page is determined based on a time at which a pencil-associated pen feature is registered by the device.
  2. 7
    Förfarande enligt något av krav 4-6, känne tecknat av att steget (80) att identifiera sidadresser för de i minnet lagrade penndragen innefattar att för varje sökintervall gå igenom den första datastrukturen och att i en andra datastruktur ordna sidadresser och tidpunkter från den första datastrukturen enligt förutbestämda regler. 7th Method according to any one of claims 4-6, characterized in that the step (80) of identifying page addresses for the pen stores stored in the memory comprises going through the first data structure for each search interval and arranging in the second data structure page addresses and times of the first data structure. according to predetermined rules. 520 485 520 485
  3. 10
    Förfarande enligt något av krav 7-9, k ä η n e tecknat av att steget (81) att välja ut den specifika sidan innefattar att från den andra datastrukturen välja (76) den sidadress vars tidpunkt ligger längst bak i tiden. 10th Method according to any of claims 7-9, characterized in that the step (81) of selecting the specific page comprises selecting (76) the page address whose time point is at the back of the time.
  4. 13
    Förfarande enligt något av krav 7-12, kännetecknat av att en av den första respektive den andra datastrukturen är en av en symboltabell, en sorterad lista, ett sökträd, en hashtabell, en prioritetskö, en stack, ett heap-ordnat träd och en binärheap. 13th Method according to any one of claims 7-12, characterized in that one of the first and second data structures, respectively, is one of a symbol table, a sorted list, a search tree, a hash table, a priority queue, a stack, a heap-arranged tree and a binary heap. .
  5. 14
    Förfarande enligt något av krav 7-13, kännetecknat av att den andra datastrukturen (62) anordnas att åstadkomma en sorterad lista över ett flertal sidadresser med vilka de äldsta senast registrerade penndragen är associerade. 14th Method according to any one of claims 7-13, characterized in that the second data structure (62) is arranged to provide a sorted list of a plurality of page addresses with which the oldest last registered pen features are associated.
  6. 17
    Förfarande enligt något av föregående krav, kännetecknat av att ett penndrag raderas genom att en tillståndsindikator för det minnesutrymme som skall raderas ställs om till att indikera att minnesutrymmet är tillgängligt. 17th Method according to any one of the preceding claims, characterized in that a pen pull is erased by adjusting a state indicator for the memory space to be erased to indicate that the memory space is available.
  7. 18
    Datorprogramprodukt innefattande ett datorprogram för frigöring av minne i en anordning med 18th A computer program product comprising a computer program for releasing memory in a device with 520 485 limited memory, characterized in that the computer program executes the procedure according to any one of claims 1-17. 520 485 begränsat minne, kännetecknad av att datorprogrammet vid exekvering utför förfarandet enligt något av krav 1-17.
  8. 19
    Anordning för elektronisk registrering av penndrag som vart och ett är associerat med en sida, vilken anordning innefattar en databehandlingsenhet (7), som har ett minne (4, 5) med begränsat utrymme för lagring av penndragen i elektronisk form, varvid databehandlingsenheten (7) är anordnad att frigöra utrymme i minnet (5) genom att radera samtliga med en specifik sida associerade penndrag från minnet (5), kännetecknad av att databehandlingsenheten (7) är anordnad att bestämma den specifika sidan baserat på en tidpunkt vid vilken ett med sidan associerat penndrag registrerats av anordningen. 19th Apparatus for electronically recording pen features each associated with a page, said device comprising a data processing unit (7) having a memory (4, 5) with limited space for storing the pen features in electronic form, wherein the data processing unit (7) is arranged to free up space in the memory (5) by deleting all the pen features associated with a specific page from the memory (5), characterized in that the data processing unit (7) is arranged to determine the specific page based on a time at which a page-associated pen feature is recorded by the device.