Data operating method and device, and addressing method and device

A data manipulation and data technology, applied in the field of communication, can solve the problem of time-consuming

Inactive Publication Date: 2010-09-22
BEIJING WATCH DATA SYST
View PDF0 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0017] The embodiment of the present invention provides a data operation method, which is used to solve the problem in the prior art that t

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data operating method and device, and addressing method and device
  • Data operating method and device, and addressing method and device
  • Data operating method and device, and addressing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0076] see Figure 5, it can be known that this example has applied for 4 groups of spaces in the EEPROM, which are 0x11, 0x12, 0x13, 0x15, 0x16, 0x17, 0x1B, 0x19, and the starting block number stored in the first address currently input is 0x13, The offset is 0x234, and the address is in the space starting with 0x13. According to the offset 0x234 / 0x100=2, the actual block number of the address is obtained, that is, the second address is 0x16, and the starting address corresponding to the 0x16 block is calculated to be 0xFA1D00, plus The block offset is 0x34, and the actual physical address 0xFA1D34 of the data to be operated is obtained. It can be seen that a large number of calculations and comparison operations are required in Embodiment 1. These are all operations on the EEPROM, which will consume a lot of time;

Embodiment 2

[0078] see Image 6 , if the first address currently input is 0x1534, the addressing process is: directly jump to the corresponding position in the mapping table according to the high byte 0x15, take out the second address 0xFA1D, and combine the low byte 0x34 to obtain the data that needs to be operated Actual physical address 0xFA1D34;

Embodiment 3

[0080] see Figure 7 , if the first address currently input is 0x1534, the addressing process is: directly jump to the corresponding position in the mapping table according to the high byte 0x15, take out the block number 0x16 corresponding to the second address, and calculate and obtain the start address corresponding to the second address The address is 0xFA1D00, plus the block offset 0x34, the actual physical address 0xFA1D34 of the data to be operated is obtained.

[0081] Compared with Embodiment 1, Embodiment 2 and Embodiment 3 do not require a large number of comparison and calculation operations, which reduces the consumption of time and reduces the occupation of EEPROM space.

[0082] In addition to EEPROM, the data operation method provided by the embodiment of the present invention also does not need to perform a large number of comparisons and calculations in other memories such as ROM and RAM, which can reduce the consumption of time and the occupation of memory s...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a data operating method, which operates data stored in each memory heap in the following steps: receiving a hybrid address, wherein the hybrid address comprises a logic address and a first physical address, and the first physical address is used as the low order byte of the actual physical address of the data operated in the current heap; according to the mapping relation between the stored logic address and physical address, acquiring the physical address corresponding to the logic address as a second physical address, and determining the high order byte of the actual physical address according to the second physical address; according to the low order byte of the actual physical address and the high order byte of the actual physical address, generating the actual physical address; and linking to the corresponding memory space by using the actual physical address, and operating the data stored in the memory space. The invention also discloses a data operating device, an addressing method and an addressing device. The invention can solve the problem of high time consumption in the prior art since data searching and operation need to read the EEPROM for times.

Description

technical field [0001] The invention relates to the communication field, in particular to a data operation method, a data operation device, an addressing method and an addressing device. Background technique [0002] In the existing smart card storage system, it mainly includes ROM (Read Only Memory, read-only memory), RAM (RAM-random access memory, read-write memory) and EEPROM (Electronically Erasable Programmable Read-Only Memory, electrically erasable programming memory). For smart cards, most of the time after leaving the factory is to read and write EEPROM, especially for JavaCard (a smart card that runs applications written in the Java language), it often involves downloading applications. , install, run, delete and other operations. Most of the code and data of the application program are placed in the EEPROM. Therefore, the addressing mode of the EEPROM directly affects the operating efficiency of the entire smart card. [0003] The EEPROM space of current smart ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F12/02
Inventor 袁巧臧宏伟周伟楠
Owner BEIJING WATCH DATA SYST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products