CN100359526C - Data processing equipment and method and program thereof - Google Patents
Data processing equipment and method and program thereof Download PDFInfo
- Publication number
- CN100359526C CN100359526C CNB2004100757338A CN200410075733A CN100359526C CN 100359526 C CN100359526 C CN 100359526C CN B2004100757338 A CNB2004100757338 A CN B2004100757338A CN 200410075733 A CN200410075733 A CN 200410075733A CN 100359526 C CN100359526 C CN 100359526C
- Authority
- CN
- China
- Prior art keywords
- data
- recording medium
- write
- file
- address
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Storage Device Security (AREA)
Abstract
The present invention discloses a data processing device which can prevent the wrong use that recording data of recording mediums illegally written by a third party is read out and is used as effective recording data, but not considers whether a recording medium has a prohibited rewriting function or not. When the write-in device (11) writes file data, etc., in the wireless label (10) which has the prohibited function, the write-in device (11) makes the wireless label (10) into a prohibited write-in mode after writing data files, etc., in the wireless label (10). On the other hand, the write-in device (11) makes signing data generated for the file data when writing file data, etc., in a wireless label (10a) which does not has the prohibited function, and the write-in device (11) together writes the signing data and file data, etc., in the wireless label (10a).
Description
Technical field
The present invention relates to a kind of data processing equipment and method and program thereof, wherein data are written into a recording medium and from wherein reading.
Background technology
Recent years, radio-frequency (RF) identification (RFID) technology has demonstrated great development, and proposed different technology, wherein, can utilize radio transmitting to receive data and the RFID tag (wireless identification tag) that need not energy supply is used to different information provider units.
For example, proposed a kind of system, wherein wireless identification tag is applied to placard etc., and the file data that is recorded on the wireless identification tag is utilized radio to read by a terminal fitting as mobile phone or PDA(Personal Digital Assistant).
In system as described above, take measures to prevent that third direction is applied to that illegally to write data in the wireless identification tag on the placard be necessary.
Described this type systematic is disclosed, and for example publication number is the Jap.P. of NO.2003-85494.
The storer that is used for wireless identification tag is divided into two types, and a kind of have the overwrite function of forbidding and another kind is not forbidden overwrite function.No matter which kind of type used storer be in wireless identification tag, prevent that file data that the third party will illegally write wireless identification tag from reading and it is used as the application of effective document error in data is necessary.
Summary of the invention
One object of the present invention is to provide a data treatment facility and method and program thereof, it can prevent that the third party from reading the record data of illegal writing recording medium and it is used as the effective document error in data use, and no matter whether the recording medium of the record data that are written into has the overwrite function of forbidding.
A data processing equipment that is used for writing to the recording medium of first invention record data is provided.The characteristics of this equipment comprise: a signature generation device is used to produce the signed data of record data; And a writing station, be used to distinguish whether recording medium has the write-in functions of forbidding, when it picks out recording medium and has the write-in functions of forbidding, carry out first operation, the record data writing recording medium; But when it picks out recording medium and does not have the write-in functions of forbidding, carry out second operation, signed data and the record data writing recording medium that generation device produced of signing.
The data processing equipment operation of first invention is as follows.
Writing station distinguishes whether recording medium has the write-in functions of forbidding.When writing station picks out recording medium and has the write-in functions of forbidding, carry out first operation, the record data writing recording medium; Yet when writing station picked out recording medium and do not have the write-in functions of forbidding, this writing station was carried out second operation, by signed data and the record data writing recording medium that generation device produced of signing.
The characteristics of the data processing method of second invention are: it comprises: the first step, distinguish whether recording medium has the write-in functions of forbidding; Second step, when it when the first step picks out recording medium and has the write-in functions of forbidding, the record data writing recording medium; The 3rd step, when it when the first step picks out recording medium and does not have the write-in functions of forbidding, be that record data produce signed data; The 4th step is the signed data and the record data writing recording medium that produce in the 3rd step.
Characteristics by the program of the 3rd performed invention of data processing equipment are: carry out for it causes data processing equipment: first process, distinguish whether recording medium has the write-in functions of forbidding; Second process is when it picks out recording medium and has the function of forbidding writing in first process, the record data writing recording medium; The 3rd process, when it when first process picks out recording medium and does not have the function of forbidding writing, be that record data produce signed data; The 4th process is with signed data and the record data writing recording medium that produces in the 3rd process.
Provide one to be used for from the data processing equipment of the recording medium playback record data of the 4th invention.The characteristics of this equipment are: it comprises: a signature verification device is used to verify the signed data of record data; A readout device, be used to distinguish whether recording medium has forbids the function that writes, and when picking out recording medium and have the write-in functions of forbidding, carry out first operation, record data are read from recording medium, and use this record data, but when picking out recording medium and not having the write-in functions of forbidding, carry out second operation, record data are read from recording medium, caused signature verification device that the signed data that is included in the sense data of reading from recording medium is verified, and, if it is that effective condition is met that signature verification device picks out signed data, then the record data of reading from recording medium are applied.
The data processing equipment operation of the 4th invention is as follows.
Readout device distinguishes whether recording medium has and forbids the function that writes, and when readout device picked out recording medium and has the function of forbidding writing, readout device is the playback record data from recording medium, and use this record data.Yet when readout device picked out recording medium and do not have the function of forbidding writing, readout device was read these record data from recording medium, cause signature verification device that the signed data that is included in the sense data of reading from recording medium is verified.If it is that effective condition is met that signature verification device picks out signed data, then readout device is used the record data of reading from recording medium.
Provide one to be used for from the data processing method of the 5th invention of recording medium playback record data.The characteristics of this method are: it comprises: the first step, distinguish whether a recording medium has the write-in functions of forbidding; In second step, when in the first step, picking out recording medium and have the write-in functions of forbidding, record data are read from recording medium, and used this record data; In the 3rd step, when it picks out recording medium and does not have the function of forbidding writing in the first step, record data are read from recording medium, and the signed data that is included in the sense data of reading from recording medium is verified; And the 4th step if picking out signed data in the 3rd step is that effective condition is met, was used the record data of reading from recording medium.
The program of the 6th invention of being carried out by data processing equipment is provided.The characteristics of this program are: it causes data processing equipment to be carried out: first process, and distinguish whether recording medium has and forbid the function that writes; Second process when it picks out recording medium and has the function of forbidding writing in first process, read record data, and used this record data from recording medium; The 3rd process, when it when first process picks out recording medium and does not have the function of forbidding writing, record data are read from recording medium, and the signed data that is included in the sense data of reading from recording medium are verified; The 4th process is that effective condition is met if pick out signed data in the 3rd process, then uses the record data of reading from recording medium.
Use the present invention, it can prevent that the third party from reading the record data of illegal writing recording medium, and it is used as effective record data mistake uses, and no matter whether recording medium has the overwrite function of forbidding.
Description of drawings
Fig. 1 is the block diagram that illustrates a general configuration of using data distribution system of the present invention;
Fig. 2 is the block diagram that a configuration with wireless identification tag of forbidding write-in functions as shown in Figure 1 is shown;
Fig. 3 is the block diagram that a preparation that does not have the wireless identification tag of forbidding write-in functions as shown in Figure 1 is shown;
Fig. 4 is the synoptic diagram that the memory mapped of the storer of the wireless identification tag shown in key diagram 2 and Fig. 3 disposes;
Fig. 5 is the synoptic diagram in file data district shown in the key diagram 4, and wherein file data is recorded in the wireless identification tag shown in Figure 2 not to be in compressed format;
Fig. 6 is the synoptic diagram in explanation file data district shown in Figure 4, and wherein file data is recorded in the wireless identification tag shown in Figure 3 not to be in compressed format;
Fig. 7 is the synoptic diagram in explanation file data district shown in Figure 4, and wherein the compressed file data are recorded in the wireless identification tag shown in Figure 2;
Fig. 8 is the synoptic diagram in explanation file data district shown in Figure 4, and wherein the compressed file data are recorded in the wireless identification tag shown in Figure 3;
Fig. 9 is the synoptic diagram that file list area shown in Figure 4 is shown;
Figure 10 is the synoptic diagram that file attribute district shown in Figure 9 is shown;
Figure 11 is the block diagram that the hardware configuration of write device shown in Figure 1 is shown;
Figure 12 is carried out the process flow diagram of initialization operation to wireless identification tag by Fig. 1 and write device shown in Figure 11 for explanation;
Figure 13 for explanation by Fig. 1 and write device shown in Figure 11 with the process flow diagram to the general write operation of wireless identification tag such as file data;
Figure 14 and Figure 15 for explanation in illustrated step ST13 of Figure 13 or ST14 file data etc. to the process flow diagram of the write operation details of wireless identification tag;
Figure 16 is the block diagram that the hardware configuration of terminal device shown in Figure 1 is shown;
Figure 17 for explanation by Fig. 1 and terminal device shown in Figure 16 process flow diagram from the general read operation of wireless identification tag;
Figure 18 and Figure 19 are the process flow diagram of explanation details of read operation such as file data, file attribute data in step ST43 shown in Figure 17 or ST45.
Embodiment
At first with reference to figure 1, it illustrates a general configuration of using data distribution system of the present invention.
In the general data distribution system with 1 expression, for example the file data such as HTML (HTML (Hypertext Markup Language)) file datas of a plurality of different sizes that will be produced by computing machine 12 write wireless identification tag 10 by write device 11 by radio.
Wireless identification tag 10 is applied on placard 18 grades.
The terminal device 15 of a removable type utilizes radio to read file data from wireless identification tag 10, and shows piece image according to file data, for example, and on its display unit.
At first, corresponding relation between the parts of characteristics of the present invention and embodiment is described.
Wireless identification tag 10 shown in Figure 1 and the storer 35 of 10a are corresponding to recording medium of the present invention.The recording areas of storer 35 shown in Figure 4 is corresponding to recording areas of the present invention.
Wireless identification tag 10 shown in Figure 2 is for having the recording medium of forbidding write-in functions, and wireless identification tag 10a shown in Figure 3 is not for having the recording medium of forbidding write-in functions.
Be recorded in file data in the file area 142 in the recording areas shown in Figure 5 in the present embodiment corresponding to record data of the present invention.
Be recorded in signed data in Fig. 6 or the signature area 143 or 150 shown in Figure 8 corresponding to the signed data among the present invention.
Further, the file attribute data that are recorded in file attribute district 120_1 to 120_n (n is the integer more than or equal to 1) shown in Figure 9 are corresponding to attribute data of the present invention.
The address that is recorded in document location indicator 121 shown in Figure 10 is corresponding to recording address of the present invention.
Further, the first address A shown in Figure 9 is corresponding to first address of the present invention, and the second address B is corresponding to second address of the present invention.
In the present embodiment, the first address A represents to be in the top address in the file data district 102 after the tag control district 101 of recording areas top address shown in Figure 9 appointment.
The second address B is illustrated in the address that is in aspect, tail end address in the district, and this district is in order after following each district that address, recording areas bottom shown in Figure 9 begins to define: odd even district 114, reserved area 113, indicator, free area 112, number of files district 111 and classification type district 115.
Further, processing section 25 shown in Figure 11 according to first aspect corresponding to first writing station of the present invention, signature produce part 26 according to first aspect corresponding to signature generation device of the present invention.In addition, program PRG1 shown in Figure 11 according to the third aspect corresponding to a program of the present invention.
Now, the summary of data of description compartment system 1.
When the write device 11 of data distribution system 1 writes file data etc. when having the wireless identification tag 10 of forbidding write-in functions, after it writes wireless identification tag 10 with file data etc., can be made as wireless identification tag 10 and forbid and go into state.
On the other hand, when the write device 11 of data distribution system 1 writes file data etc. when not having the wireless identification tag 10a that forbids write-in functions, it is that file data produces signed data, and signed data is write wireless identification tag 10a with file data etc.
In the writing of aforesaid file data, write device 11 writes a plurality of file datas with different sizes in the file data district 102 of recording areas shown in Figure 9 in order, from the first address A of wireless identification tag 10, towards the second address B.
Further, write device 11 is to writing a plurality of file attribute data with fixed size since the second address B in the regulation file attribute district 120_n of the first address A, this document attribute data defines respectively corresponding to a plurality of file datas, and is illustrated respectively in the recording address of corresponding file data in the file data district 102.
Especially, forbid write state because wireless identification tag 10 is set as, the third party can not illegally write file data to wireless identification tag 10.
On the other hand, terminal device 15 is read file data, file attribute data and signed data from wireless identification tag 10a.Then, after the validity of 15 pairs of signed datas of terminal device was verified, as mentioned above, the file data that its application is read, file attribute data etc. were as valid data.
Because wireless identification tag 10a does not have the write-in functions of forbidding, so the third party can illegally write file data in wireless identification tag 10a.Yet,, can prevent that file data from being utilized by mistake because 15 pairs of signed datas of terminal device verify that aforesaid illegally writing can be detected rightly.
[wireless identification tag 10 and 10a]
Wireless identification tag 10 has the write-in functions of forbidding and wireless identification tag 10a does not have the write-in functions of forbidding.
Fig. 2 shows the configuration of wireless identification tag shown in Figure 1 10.
With reference to Fig. 2, wireless identification tag 10 comprises that 32, one power control section of 31, one radio frequencies of an antenna (RF) part divide 33, one memory access parts 34 and a storer 35.
Power control section divides 33 to provide the power (energy) that obtains through electromagnetic coupled with the signal that receives from antenna 31 to memory access part 34 grades.
Memory access part 34 is by dividing 33 energy drives that obtain from power control section, and storer 35 carried out the write operation and the read operation of data.
Memory access part 34 has the write-in functions of forbidding, and for example is written into controls such as equipment 11 and terminal device 15.
The data that will describe after storer 35 storages such as file data and file attribute data.
Fig. 3 shows the configuration of wireless identification tag 10a shown in Figure 1.
With reference to Fig. 3, wireless identification tag 10a comprises that an antenna 31, radio frequency (RF) part 32, a power control section divide 33, memory access part 34a and a storer 35.
The difference of wireless identification tag 10a and wireless identification tag 10 is that its memory access part 34a does not forbid write-in functions.
Fig. 4 has illustrated the memory mapped configuration of the storer 35 of Fig. 2 and wireless identification tag 10 shown in Figure 3 and 10a.
As seen in fig. 4, the recording areas of storer 35 comprises a tag control district 101, a file data district 102 and a file list area 103.
In the file data district 102 of wireless identification tag 10, the file name data of a plurality of html file data and file data entity are written into equipment 11, as seen in Figure 5, in order from the first address A to the continuation address of the second address B.
Especially, file name data is recorded in the file name area 141 in file data district 102, and file data is recorded in file area 142.
Each file name data is the data of different sizes with file data.
The size in file data district 102 is different with data volume according to the number of the file data that wherein writes down.
On the other hand, in the file data district 102 of wireless identification tag 10a, the file name data of a plurality of html file data, signed data and file data entity are written into equipment 11, as seen in Figure 6, in order from the first address A in the continuation address of the second address B.
Especially, file name data is recorded in the file name area 141 in file data district 102, and signed data is recorded in signature area 143, and in addition, file data is recorded in file area 142.
When record in the file data district 102 of wireless identification tag 10 during by the resulting compressed file data of compressed file data, the compressed file data are recorded in the compressed file district 153 shown in Figure 7.
In the case, a record size district 151 and a compression type district 152 are defined between file name area 141 and the compressed file district 153.
In record size district 151, the size (data length) that is recorded in the compressed file data in the compressed file district 153 goes on record.
In compression type district 152, the recognition data that produces the compression method of compressed file data goes on record.
For compression method, for example, run length coding, Huffman (Huffman) coding, the LZ77 coding, the LZ78 coding, block sequencing, the MTF coding, the arithmetic compression, scope encoder method etc. are available.
Simultaneously, in the file data district 102 of wireless identification tag 10a, signed data is recorded in signature area shown in Figure 8 150.
Further, in the file data district 102 of wireless identification tag 10a, when the compressed file data that obtained by the compressed file data need write down, the compressed file data will be recorded in the compressed file shown in Figure 8 district 153.
A file table is recorded in file list area 103.
Fig. 9 has illustrated the detailed configuration of file list area 103 shown in Figure 4.
With reference to Fig. 9, file list area 103 comprises number of files district 111, indicator, free area 112, reserved area 113, odd even district 114, classification type district 115, single or multiple file attributes district 120_n (n for more than or equal to 1 integer).
In file list area 103, odd even district 114, reserved area 113, indicator, free area 112, number of files district 111 are defined in order with classification type district 115, such as, from the address, bottom, storage space end of storer 35.
In addition, a plurality of file attribute district 120_n are being defined to the first address A since the second address B.
Attention: the zone 111 to 115 in the file list area 103 has fixing size respectively with 120_n.
Especially, in storer 35, the first address A behind the tag control district 101 such as a plurality of file datas etc. in order are recorded to address B, and a plurality of file attribute data that correspond respectively to file data are recorded to the first address A, one end from the second address B, one end in order at a plurality of file attributes district 120_n.
111 expressions of number of files district are recorded in the file data number in the file data district 102.
Attention: wherein be not the file data entity, but the relevant information of file data is recorded to file data district 102 such as the file name data, it is calculated in the individual numerical value of file.
Indicator, clear area 112 is illustrated in the top address in the file data district 102, will be written into its next new file data.
Odd even district 114 is used for writing down odd and even data, is used for the validity that authenticating documents is counted district 111, indicator, free area 112 and reserved area 113.
File attribute district 120_n is the file attribute data that are used for writing down corresponding to being recorded in each file data in the file data district 102.
Attention: be related to a shortcut place at file attribute district 120_n, be recorded in the file attribute district 120_n corresponding to the file attribute data of the file name data that are recorded in file data district 102.
Figure 10 shows a kind of configuration of file attribute district 120_n shown in Figure 9.
With reference to Figure 10, file attribute district 120_n comprises document location indicator 121, file type district 122, file generation time district 123, the big sub-district 124 of filename, file size reference area 125, reserved area 126 and odd even district 127.
Indicator, this document position 121 is to be used for writing down corresponding to the address in the file data district 102 of file attribute district 120_n or log file name data (being recording address according to the present invention).
This document type area 122 is to be used for writing down the categorical data of representing type, for example, is recorded in whether respective file data in the file data district 102 are in compressed format or whether signed data exists.
This document generation time district 123 is the time datas that are used for writing down instruction time, and file data or file name data in this time corresponding to file attribute district 120_n are recorded in the file data district 102.
The big sub-district 124 of this document name is to be used for writing down the size (data length) that is recorded in the file name data in the file data district 102.
This document size reference area 125 is to be used for writing down the size that is recorded the file data at place corresponding to the file data in file data district 102.
Yet in the place that is recorded in compressed file district 153 as Fig. 6 and compressed file data shown in Figure 8, file size reference area 125 is the sizes that are used for being recorded in compression preceding document data.
Odd even district 127 is used for writing down odd and even data, with the data validity of indicator, authenticating documents position 121, file type district 122, file generation time district 123, the big sub-district 124 of filename, file size reference area 125, reserved area 126.
[write device 11]
Especially, when write device 11 write file data etc. in having the wireless identification tag 10 of forbidding write-in functions, it was set to the writing prohibition state with wireless identification tag 10 after again file data etc. being write wireless identification tag 10.
On the other hand, when write device 11 when the wireless identification tag 10a that does not forbid write-in functions writes file data etc., it is that file data produces signed data, and signed data is write wireless identification tag 10a with file data etc.
Like this, write device 11 can prevent to be recorded in file data among wireless identification tag 10 or the 10a etc. and illegally rewritten by the third party.
Further, write device 11 writes a plurality of file data and file name data with different sizes in proper order from the first address A to address B in the file data district 102 in recording areas illustrated in fig. 9 of the storer 35 of Fig. 2 or wireless identification tag 10 shown in Figure 3 or 10a.
Further, write device 11 writes a plurality of file attribute data with fixed size from the second address B to the first address A successively in file attribute district 120_n, this document attribute data is defined respectively corresponding to top described a plurality of file datas, and is illustrated in the address of the record in the file data district 102 of respective file data.
Therefore, the address that can the specified file attribute data in the recording areas of storer 35, be recorded of terminal device 15 and need not be subjected to the influence of different sizes of file data etc.
Further, log file data etc. can be designated according to the address that is recorded in the record in the document location indicator 121 shown in Figure 10 in the address of recording areas.
Further, write device 11 is recorded in number of files district 111 in the being seen file of Fig. 9 list area 103 to the number of files data.Because the size of file attribute district 120_n is fixed, terminal device 15 can easily be specified the address of configuration file list area 103.
Further, write device 11 by file name data in the big sub-district 124 of specified file name size and change Fig. 4 and file data district 102 shown in Figure 5 in the size of file name area 141, the size of file name data can be set in the defined scope of figure place of the big sub-district 124 by filename arbitrarily.For example, when the big sub-district 124 of filename was set to 8, write device 11 can write the file name data of maximum 255 bytes in file data district 102.
Like this, write device 11 can write in file data district 102 as "/HTML4.0/index.html " or "/cHTML/index.html ", for example the file name data with tree structure that changes according to terminal device 15 models.
Further, utilizing aforesaid shortcut part, only need in file data district 102, write single file data for a plurality of different file name data.Therefore, can effectively utilize recording areas in the storer 35.
Figure 11 illustrates a kind of hardware configuration of write device shown in Figure 1 11.
With reference to Figure 11, write device 11 comprises that interface 21, radio frequency part 22, antenna 23, storer 24, processing section 25, signature produce part 26, relies on data line 20 to link to each other between they are mutual.
This interface 21 receives data to computing machine shown in Figure 1 12 transmission data or from it.
This RF part 32 is transmitted data by wirelessly transmitting data to wireless identification tag 10 and from wireless identification tag 10 by antenna 23.
This storer 24 is to be used for writing down the processing procedure in the definition process part 25 and the program PRG1 of the required different pieces of information of using of processing procedure in the processing section 25.
The processing procedure of this write device 11 is generally controlled in processing section 25 according to program PRG1, as mentioned or hereinafter described.
Signature produces part 26, for example, uses the key data of write device 11 to produce signed data for the file data that will write among the wireless identification tag 10a.
Next, an example of write device 11 operations will be described.
Attention: in the operational instances below, communicating by letter between processing section 25 and wireless identification tag 10 or the 10a is to carry out by radio frequency part shown in Figure 11 22 and antenna 23.
Further, in response to the instruction of being sent, carry out writing and reading by the memory access part 34 of 25 pairs of wireless identification tags 10 in processing section or 10a by the memory access part 34 of processing section 25 in wireless identification tag 10 or 10a.[initialization operation of wireless identification tag 10]
The initialization operation that Figure 12 explanation is carried out by write device 11 to wireless identification tag 10 or 10a.
Step ST1:
Whether the processing section 25 of write device 11 is distinguished with the radio communication of wireless identification tag 10 or 10a by radio frequency part 22 and antenna 23 and may.If it is possible that above-mentioned radio communication is distinguished in processing section 25, it is advanced to step ST2 with processing procedure so, otherwise, and processing section 25 error process processes.
Step ST2:
The label data of processing section 25 playback records in storer 35.
Label data comprises following message: for example wireless identification tag 10 or 10a whether have forbid overwrite function, produce code, version, the recorded area size of storer 35 and the unit in Visitor Logs district.
Step ST3:
Therefore, tag control district 101 can be according to the characteristic definition of wireless identification tag 10.
So processing section 25 writes predetermined tag control data in the illustrated tag control district 101 of Fig. 9 of wireless identification tag 10 or 10a.
Step ST4:
The second address B of processing section 25 from the illustrated recording areas of Fig. 9 begins to define the file list area 103 of pre-sizing.
Step ST5:
Write primary data in the district of number of files as shown in Figure 9 111 in the file list area 103 that processing section 25 defines, indicator, free area 112, reserved area 113, odd even district 114 and the classification type district 115 in step ST4.
Step ST6:
Step ST7:
[write operations of file data etc.]
Figure 13 illustrates a general process that is write file data etc. by write device 11 in wireless identification tag 10 or 10a.
Step ST11:
The processing section 25 of write device 11 reads in the expression label data whether comprise the data of forbidding write-in functions according to writing instruction by interface 21 from what computing machine 12 received by radio frequency part 22 and the storer 35 of antenna 23 from wireless identification tag 10 or 10a.
Step ST12:
More particularly, if write device 11 is will carry out wireless identification tag 10 write, then processing procedure advances to step ST13, and if write device 11 is will carry out wireless identification tag 10a to write, then processing procedure advances to step ST17.
Step ST13:
Operating in the case hereinafter has more detailed description.
Step ST14:
Step ST15:
Instruction is forbidden writing to memory access part 34 outputs of wireless identification tag shown in Figure 2 10 in processing section 25.
Therefore, memory access part 34 is inserted after a while writing prohibition state with storer 35.
Step ST16:
Step ST17:
Write fashionablely when carrying out in wireless identification tag 10a, processing section 25 for example, produces signature of part 26 outputs to signature and produces instruction.
Produce instruction according to signature, it is that the file data that writes among the wireless identification tag 10a produces signed data that signature generation part 26 is used the key data of write device 11.
Step ST18:
Further, processing section 25 is as mentioned below, write stories such as file data 35.
Step ST19:
Describe in detail now by write device 11 carry out in Figure 13 illustrated step ST13 or ST18, file data is to the write operation of wireless identification tag 10 or 10a.
Figure 14 and Figure 15 have illustrated write operation.
Step ST21:
The processing section 25 of write device 11 distinguish file name data together with by interface 21 from computing machine 12 input whether write instruction effective.If it is effective that processing section 25 picks out file name data, then processing section 25 advances to step ST22 with processing, otherwise, processing section 25 error process.
For example, if processing section 25 receives one it is not had to add " .html " filename as identifier, then it distinguishes that this this file name data is invalid.
Step ST22:
The address of record in the document location indicator 121 of All Files attribute area 120_n shown in Figure 10 in the file list area 103 of processing section 25 according to the storer 35 of wireless identification tag 10 or 10a, the file name data of playback record in the file name area 141 of Fig. 4 to the file data district 102 shown in Figure 8.
At this moment, document location indicator 121 is stipulated according to the number of files of the second illustrated address B of Fig. 9, the 111 kinds of records in number of files district, the size of file attribute district 120_n etc. in processing section 25 in each file attribute district 120_n.
Step ST23:
Step ST24:
The number of files data in the illustrated number of files district 111 of Fig. 9 that the storer 35 that is recorded in wireless identification tag 10 or 10a is distinguished in processing section 25 whether, for example, less than the maximum number of files that defines in the label data that from the illustrated processing procedure of Figure 13, obtains.If processing section 25 picks out the number of files data less than maximum number of files, then it advances to step ST25 with processing, otherwise, processing section 25 error process.
Step ST25:
Predetermined compression method is used in processing section 25, improves the file data of interface shown in Figure 11 21 compressions from computing machine 12 inputs, to produce the file data of compression.
Step ST26:
Whether processing section 25 is distinguished in the size of the compressed file data that step ST25 produces less than the size of the file data before the compression.The file data size of compression is less if processing section 25 picks out, and then it advances to step ST27 with processing, otherwise processing section 25 advances to step ST28 with processing.
Step ST27:
The compression data file that processing section 25 selects step ST25 to produce is as the data in the file data district 102 that records the storer 35 among wireless identification tag 10 or the 10a.
Step ST28:
Step ST29:
Recording capacity is calculated in processing section 25, to be recorded in compressed file data or the file data of selecting among step ST27 or the ST28 in the file data district 102 of wireless identification tag 10 or 10a.
Step ST30:
Step ST31:
Step ST32:
For example, when in storer 35, write the compression before file data the time, processing section 25 at first, the address of reading from the illustrated indicator, free area 112 of Fig. 9 of storer 35 begins, to the second address B direction, be written in the file name data of importing among the step ST21.Then, processing section 25 writes the size of compressed file data to record size district 151, writes compression method to compression type district 152, writes the compressed file data to the compressed file district shown in Fig. 7 and 8 figure.
Step ST33:
Step ST34:
Step ST35:
At this moment, processing section 25 is according to size of the second illustrated address B of Fig. 9, the number of files of reading from number of files district 111, file attribute district 120_n etc., the address of the next file attribute district 120_n that calculating will write store 35.
Step ST36:
Step ST37:
As mentioned above, for write device 11, when file data etc. will be written into when having in the wireless identification tag 10 of forbidding write-in functions, wireless identification tag 10 will be changed to forbids write state.Therefore, might prevent that file data etc. from illegally being write wireless identification tag 10 by the third party.
Further, according to write device 11, when file data etc. will be written into when not having among the wireless identification tag 10a that forbids overwrite function, the signed data that is used for file data etc. also will be written into wireless identification tag 10a.
Therefore, terminal device 15 is according to being recorded in the validity that signed data among the wireless identification tag 10a can the authenticating documents data.So, can prevent that the third party from illegally writing file data among the wireless identification tag 10a etc. and being taken as utilizations such as valid data.
On the other hand, according to data distribution system 1, the file name data of different sizes and the set of file data are write successively from the space of first address to second address, illustrated as Fig. 9, and be recorded in successively from second address to first address corresponding to the file attribute data with fixed size of this set.
Like this, the recording areas of the storer 35 of wireless identification tag 10 or 10a can always be effectively utilized, and is not subjected to the influence of the file data etc. of undefined different sizes.Therefore, the data volume of the storer 35 of wireless identification tag 10 or the 10a file data that can write down will be very big.
Further, because the file attribute data are recorded in since the second address B to the first address A direction, and has fixed size, the terminal device 15 that describes below can be according to the file attribute data of the second address B and fixed size, by the address of simple processing specified file attribute data, and do not need to use the file system of the complexity that is adopted at computing machine etc.Further, terminal device 15 can be according to the file attribute data of such appointment, by the address of simple processing specified file data.
Like this,, be used to handle required processing that relates to file management two and data volume,, can reduce when comparing with those traditional data compartment systems according to data distribution system 1.
Further, among the described in the above embodiment because Fig. 5 has different sizes to file name area shown in Figure 8 141, it can easily solve a plurality of terminal devices 15 unique file name data of definition respectively.
Further, according to data distribution system 1, write device 11 compressed file data and the file data of compression write among the storer 35 of wireless identification tag 10 or 10a wherein, terminal device 15 can be read the file data of compression in a short period of time from storer 35.
[terminal device 15]
The data that terminal device 15 will write with reference to the form described in the prior figures 4 to Figure 10 in the storer 35 of wireless identification tag 10 or 10a are read.
Especially, terminal device 15 is read file data, file attribute data etc. from wireless identification tag 10.
On the other hand, from wireless identification tag 10a, terminal device 15 is also read signed data except file data, file attribute data.After terminal device 15 had been verified the validity of signed data, the file data that it will be read as mentioned above, file attribute data etc. was used as valid data and is applied.
Because wireless identification tag 10a does not forbid write-in functions, so the third party can illegally write file data wireless identification tag 10a.Yet because the 15 pairs of signed datas of terminal device are carried out checking, it can be correct detects the file data that illegally writes as mentioned above.Therefore, can prevent the wrong illegal file data of using.
In read operation as mentioned above, terminal device 15 is according to fixing size, second address etc. as shown in Figure 9, the file attribute data with fixed size that will write down in the illustrated file attribute district 120_n of Fig. 9 of the storer 35 of wireless identification tag 10 or 10a are read.
Then, terminal device 15 is read the file data or the compressed file data that are recorded in the file data district 102 according to the address that is defined in the file attribute data of reading above.
Therefore, terminal device 15 can specify in the address of the file attribute data that write down in the recording areas of storer 35, and need not be subjected to the influence of different sizes of file data etc.
Further, can be from form the illustrated document location designation area 121 of Figure 10 specify in the file attribute address of record the address of the file data that is write down in record goes etc.
Figure 16 shows the hardware configuration of terminal device shown in Figure 1 15.
With reference to Figure 16, terminal device 15 comprises display unit 41, radio frequency part 42, antenna 43, storer 44, processing section 45 and signature verification part 46, relies on data line 40 to be connected to each other between them.
This display unit 41 is according to the file data that is write down among the wireless identification tag 10a, according to the shows signal display image (for example, advertising image) from processing section 45.
The public keys data verification that signature verification part 46 is used write devices 11 is from the validity as the signed data read the illustrated signature area 143 of Fig. 6 or Fig. 8 of wireless identification tag 10a.
Example by terminal device 15 read operation from wireless identification tag 10 or 10a is described below.
Figure 17 explanation is by at Fig. 1 and the terminal device 15 shown in Figure 16 general example of read operation from wireless identification tag 10 or 10a.
Attention: in the operation example below, the processing section 45 of terminal device 15 shown in Figure 16 is by radio frequency part 42 and storer 44 sense data from the storer 35 of wireless identification tag 10 or 10a.
Further, a sense order is sent to the memory access part 34 of wireless identification tag 10 or 10a in processing section 45.
Step ST41:
If the processing section 25 of write device 11 receives from computing machine 12 by interface 21 and writes instruction, then it reads whether representative has the writing prohibition function in label data data by radio frequency part 22 and antenna 23 from several of the storer 35 of wireless identification tag 10 or 10a.
Step ST42:
More particularly, will carry out read the time wireless identification tag 10 when write device 11, then processing procedure advances to step ST43, if but when execution when wireless identification tag 10a reads, processing procedure advances to step ST45.
Step ST43:
Read operation is described in detail below.
Step ST44:
Step ST45:
File data is read in processing section 45 from the storer 35 of wireless identification tag 10a, file attribute data etc.Read operation is hereinafter described in detail.
Further, signed data is read as Fig. 6 or the illustrated signature area 143 of Fig. 8 in processing section 45 from the storer 35 of wireless identification tag 10a.
Step ST46:
The signature verification instruction is sent to signature verification part 46 in processing section 45.
Step ST47:
Whether processing section 45 distinguishes it whether is that the result that reads at step ST45 is successful condition, and be that signed data in step ST46 is effective condition.If picking out condition, processing section 45 satisfies, processing section 45 end process then, otherwise, processing section 45 error process.
The details of the illustrated read operation of file data, file attribute data etc. in step ST43 and ST45 of Figure 17 is described below.
Figure 18 and Figure 19 have illustrated read operation.
Step ST51:
The processing section 45 of terminal device 15 shown in Figure 16 for example, according to the execution of program PRG2, receives that sense order is together with predetermined file name data.
For example, it is not had to add " .html " filename as identifier if processing section 45 receives one, then it to pick out file name data invalid.
Step ST52:
The address that processing section 45 is write down according to the document location designation area 121 at All Files attribute area 120_n shown in Figure 10 in the file list area 103 of the storer 35 of wireless identification tag 10 or 10a, the file name data of the file name area 141 of playback record in Fig. 4 and file data district 102 shown in Figure 5.
At this moment, processing section 45 is according to by the document location designation area 121 among the big or small specified file attribute area 120_n of the illustrated file attribute district 120_n of the number of files of number of files district 111 indications and Fig. 9.
Step ST53:
Step ST54:
Step ST55:
Step ST56:
Step ST58:
Step ST59:
The reservation record capacity is distinguished in the memory buffer of step ST58 in processing section 45 whether successfully.If processing section 45 picks out recording capacity and is retained success, then processing is advanced to step ST60, otherwise processing section 45 error process.
Step ST60:
Step ST61:
Whether processing section 45 discrimination step ST60 kinds read successful.If processing section 45 is judged read successfully, then it changes step ST63 over to, otherwise processing section 45 changes step ST62 over to.
Step ST62:
Step ST63:
Step ST64:
Step ST65:
Whether the decompression result that processing section 45 is distinguished at step ST64 is successful.If processing section 45 picks out decompression result success, its end process process then, otherwise, processing section 45 error process.
As mentioned above, according to terminal device 15, when will read file data etc. from wireless identification tag 10 time, because wireless identification tag 10 has the write-in functions of forbidding, the file data of reading by this way etc. can be used reliably.
Further, according to terminal device 15, when will read file data etc. from wireless identification tag 10a the time, the validity of file data can be verified according to the signed data that is recorded among the wireless identification tag 10a.Therefore, the file data etc. that can prevent from illegally to be write wireless identification tag 10a by the third party is used by wrong as legitimate files data etc.
Further, according to data distribution system 1, in the storer 35 of wireless identification tag 10, the file attribute data are recorded in since the second address B, to the first address A direction, and have fixed size.
Like this, terminal device 15 is according to the file attribute data of the second address B and fixed size, by simple processing can the specified file attribute data the address, and do not need to use the file system of the complexity that is adopted by computing machine etc.Further, terminal device 15 can be according to the file attribute data of such appointment, by the address of simple processing specified file data.Therefore, terminal device 15 treatment capacity that relates to sense data from storer 35 can be reduced.
Further, according to terminal device 15, after file data is read out from storer 35, also be read out corresponding to the file attribute data of file data.Therefore, even if reading midway of file data failed,,, can prevent that file data from being handled irrelevantly based on the file attribute data because the file attribute data also are not read out.
Further, according to terminal device 15, even the file name data that wherein is used to ask to read is to be defined as the shortcut in the storer 35 of wireless identification tag 10 or 10a, corresponding data still can correctly be read.
The present invention is not limited to aforesaid embodiment.
For example, though in aforesaid embodiment, record data are the html file data, and record data also can be other data of non-html file data.
Further, though in aforesaid embodiment, the data transmission between write device 11 and terminal device 15 and wireless identification tag 10 or the 10a is by wireless communication, and data transmission also can be carried out by wire communication.
Further, though in aforesaid embodiment, by write device 11 and terminal device 15 carry out to its recording medium of reading and writing storer 35 that is wireless identification tag 10 or 10a, the present invention also can be used for other are used for the writing and reading of any other storer of Computers and Communication equipment.
Further, though in aforesaid embodiment, first address is defined within top address one side of the storer 35 of wireless identification tag 10 as shown in Figure 9 or 10a, and the second address B is defined within address, bottom one side of storer 35, perhaps, the second address B can be defined within top address one side of storer 35, and the first address A is defined within bottom address one side.
Industrial usability
The present invention can be used for a kind of system, and wherein record data have the record of forbidding write-in functions to one Medium and another do not have the recording medium of forbidding write-in functions and write or read.
Claims (9)
1. data processing equipment, be used for the record data writing recording medium (10,10a), it is characterized in that: described data processing equipment (11) comprising:
Signature generation device (26) is used to record data to produce signed data; With
Writing station (25), be used to distinguish recording medium (10,10a) whether has the write-in functions of forbidding, and when picking out recording medium (10) when having the write-in functions of forbidding, carry out first operation, with record data writing recording medium (10), and when picking out recording medium (10a) when not having the write-in functions of forbidding, carry out second operation, will be by the signed data and the record data writing recording medium (10a) of described signature generation device (26) generation.
2. data processing equipment as claimed in claim 1 is characterized in that: said write device (25) in first operation, record data are recorded in recording medium (10) after, writing station (25) is set to forbid write state with recording medium (10).
3. data processing equipment as claimed in claim 1, it is characterized in that: said write device (25) is in each of first and second operation, the record data that a plurality of differences are big or small are successively from recording medium (10, first address (A) beginning of recording areas 10a) writes towards second address (B), and attribute datas that will define respectively corresponding to a plurality of record data and a plurality of fixed sizes recording address of indication respective record data in recording areas, carry out record from second address (B) to first address (A) successively.
4. data processing equipment as claimed in claim 3, it is characterized in that: said write device (25) is recorded in recording medium (10 successively to a plurality of record data, on the continuous address of recording areas 10a), and recording medium (10,10a) be such one type, wherein, wiping the data that are written in this recording medium is to carry out by the collective of whole recording areas is wiped.
5. data processing method, it is characterized in that: described data processing method comprises:
The first step, distinguish recording medium (10,10a) whether have the write-in functions of forbidding;
Second step is when picking out recording medium (10) in the first step when having the write-in functions of forbidding, with record data writing recording medium (10);
The 3rd step did not have the write-in functions of forbidding when pick out recording medium (10a) in the first step, for record data produce signed data;
The 4th goes on foot, and the signed data that produces in going on foot the 3rd is with record data writing recording medium (10a).
6. data processing method as claimed in claim 5, it is characterized in that: in each the described second and the 4th step, the record data that a plurality of differences are big or small are successively from recording medium (10, first address (A) beginning of recording areas 10a) writes towards second address (B), and will be corresponding to a plurality of record data definition and that indicate a plurality of fixed sizes of the recording address of respective record data in recording areas respectively attribute data, carry out record from second address (B) to first address (A) successively.
One kind from recording medium (10,10a) in the data processing equipment of playback record data, it is characterized in that: described data processing equipment (15) comprising:
Signature verification device (46) is used to verify the signed data of record data; With
Readout device (45), be used to distinguish recording medium (10,10a) whether has the write-in functions of forbidding, when it picks out recording medium (10) when having the write-in functions of forbidding, carry out first operation, playback record data and being applied from recording medium (10), and pick out recording medium (10a) when not having the write-in functions of forbidding when it, then carry out second operation, playback record data from recording medium (10a), cause described signature verification device (46) that the signed data that is included in the sense data of reading from recording medium (10a) is verified, if described signature verification device (46) picks out the effective condition of signed data and is met, then can use the record data of from recording medium (10a), reading.
8. data processing equipment as claimed in claim 7, it is characterized in that: wherein, from this recording medium (10, under 10a) will the data conditions of playback record, wherein, at this recording medium (10,10a), the record data of a plurality of different sizes are recorded towards second address (B) from first address (A) beginning of recording areas successively, and define respectively corresponding to a plurality of record data, the attribute data of a plurality of fixed sizes of the recording address of indication respective record data in recording areas is recorded towards first address (A) since second address (B) successively, described readout device (45) is according to second address (B) and fixing size, read an attribute data that reads the object of request from recording areas, read the described record data that read the object of request according to the recording address of indicating in the attribute data of reading from recording areas then.
9. data processing method, be used for from recording medium (10,10a) in the playback record data, it is characterized in that: described data processing method comprises:
The first step, distinguish recording medium (10,10a) whether have the write-in functions of forbidding;
Second step had the write-in functions of forbidding when pick out recording medium (10) in the first step, record data is read from recording medium (10), and used this record data;
The 3rd step did not have the write-in functions of forbidding when pick out recording medium (10a) in the first step, playback record data from recording medium (10a), and checking is included in the signed data in the sense data of reading from recording medium (10a);
The 4th step was that effective condition is met if pick out signed data in the 3rd step, then used the record data of reading from recording medium (10a).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100757338A CN100359526C (en) | 2004-11-12 | 2004-11-12 | Data processing equipment and method and program thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100757338A CN100359526C (en) | 2004-11-12 | 2004-11-12 | Data processing equipment and method and program thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1773524A CN1773524A (en) | 2006-05-17 |
CN100359526C true CN100359526C (en) | 2008-01-02 |
Family
ID=36760483
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100757338A Expired - Fee Related CN100359526C (en) | 2004-11-12 | 2004-11-12 | Data processing equipment and method and program thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100359526C (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008252412A (en) * | 2007-03-30 | 2008-10-16 | Brother Ind Ltd | Communication equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1349472A (en) * | 1999-12-28 | 2002-05-15 | 松下电器产业株式会社 | Information recording medium, noncontactor IC tag, access device access system, life cycle management system, input/output method, and access method |
CN1540583A (en) * | 2003-10-27 | 2004-10-27 | 江苏瑞福智能科技有限公司 | Method of safe using and anti false discriminating stored type electronic label |
-
2004
- 2004-11-12 CN CNB2004100757338A patent/CN100359526C/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1349472A (en) * | 1999-12-28 | 2002-05-15 | 松下电器产业株式会社 | Information recording medium, noncontactor IC tag, access device access system, life cycle management system, input/output method, and access method |
CN1540583A (en) * | 2003-10-27 | 2004-10-27 | 江苏瑞福智能科技有限公司 | Method of safe using and anti false discriminating stored type electronic label |
Also Published As
Publication number | Publication date |
---|---|
CN1773524A (en) | 2006-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8762350B2 (en) | Methods and systems for providing data objects on a token | |
WO2006052321A3 (en) | System and method of reading non-volatile computer memory | |
JPH08272924A (en) | Ic card | |
EP1372291A1 (en) | Portable information storage medium and its authentification method | |
JP3480746B2 (en) | Portable electronic devices | |
CN101958732B (en) | System, method, and apparatus for data communication | |
KR920008755B1 (en) | Multipurpose portable data carrier apparatus | |
CN100359526C (en) | Data processing equipment and method and program thereof | |
US6811089B2 (en) | Portable electronic medium issuing system and issuing method and portable electronic medium | |
US20040003166A1 (en) | Portable electronic medium issuing system and issuing method and portable electronic medium | |
US20010051993A1 (en) | Web drive system | |
KR101272395B1 (en) | Method of processing transportation card for automated fare collection system and device using the method | |
US7275681B2 (en) | Method and device for processing data for customizing an application of a portable communication device, for example a smart card | |
JP4590842B2 (en) | Data writing apparatus, data writing method, data reading apparatus, data reading method, and program | |
KR101089864B1 (en) | Data processing apparatus and method and program therefor | |
EP0618551A2 (en) | Data storage apparatus having memory area having predetermined logic type | |
CN101794221B (en) | Compression method and device of reference types in .net file | |
JPH09231113A (en) | Ic card | |
JP3655475B2 (en) | IC card | |
JP2005063038A (en) | Data processing device, method thereof, program thereof, and recording medium | |
JP4334538B2 (en) | IC card | |
KR100964036B1 (en) | Reader and rf card decoding method using the reader | |
WO2009130930A1 (en) | Information display system, information display method, and program | |
JPH1074243A (en) | Ic card | |
CN101106453B (en) | Encoding and recording apparatus, playback apparatus, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080102 Termination date: 20121112 |