CN101571808A - Method for improving production efficiency of telecommunication smart card - Google Patents
Method for improving production efficiency of telecommunication smart card Download PDFInfo
- Publication number
- CN101571808A CN101571808A CN 200910039885 CN200910039885A CN101571808A CN 101571808 A CN101571808 A CN 101571808A CN 200910039885 CN200910039885 CN 200910039885 CN 200910039885 A CN200910039885 A CN 200910039885A CN 101571808 A CN101571808 A CN 101571808A
- Authority
- CN
- China
- Prior art keywords
- data
- image file
- storage area
- intelligent card
- card
- 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.)
- Granted
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides a method for improving the production efficiency of a telecommunication smart card. The telecommunication smart card is provided with a storing device comprising a code storage area and a data storage area. The method comprises the following: a step of making a master card, which comprises: writing an operating system program into the code storage area of the storing device of a blank telecommunication smart card, and creating a file system and updating data in the data storage area when the operating system is operated; a step of making an image file, which comprises: reading out and copying the data stored in the data storage area of the master card to form the image file; and a step of making the telecommunication smart card, which comprises: writing the operating system into the code storage area of the storing device of each telecommunication smart card, and writing the image file into the data storage area of the storing device of the telecommunication smart card. The method can reduce the time of creating a file system and updating data so as to shorten the time of generating each telecommunication smart card and improve the production efficiency of the telecommunication smart card.
Description
Technical field
The present invention relates to a kind of production method of telecom intelligent card, especially a kind of production method that can improve production efficiency of telecommunication smart card.
Background technology
Along with popularizing of smart card, smart card has been widely used in fields such as mobile communication, ecommerce, wherein comparatively commonly be installed to the telecom intelligent card that communicates by cordless communication network on the mobile phone, as SIM card (Subscriber Identity Model, subscriber identification module).
Existing telecom intelligent card has a storer, and its structured flowchart as shown in Figure 1.The storer 10 of telecom intelligent card includes boot loader memory block 11, code storage district 12 and data storage area 13.Wherein boot loader memory block 11 mostly is ROM (read-only memory) (ROM) greatly, stores the boot loader (Boot Loader) of telecom intelligent card, and boot loader is developed and is stored in the storer 10 by semiconductor producer.
The code storage district 12 of storer 10 and data storage area 13 are flash memory (Flash), code storage district 12 is used for storage operating system (COS) file, and data storage area 13 is used for being stored in file system that telecom intelligent card creates and the various data that write.
When producing telecom intelligent card, develop an operating system program earlier, and telecom intelligent card is connected to such as equipment such as computing machines, and use the smart card that stores boot loader by card reader, application start loading procedure dependent instruction, down operation system program in code storage district 12.After operating system program was downloaded and finished, boot loader lost efficacy, the telecom intelligent card if reset this moment, and telecom intelligent card is started by booting operating system.
Then, a series of processing batch instruction of application operating system are created file system and new data more, and the file system of establishment and data updated are stored in the data storage area 13.The process flow diagram of document creation as shown in Figure 2 in the file system.
Execution in step S1 at first when creating file, whether the decision instruction parameter is correct, if incorrect, execution in step S6 returns error reason.If correct execution step S2, further whether judgment data memory block 13 has existed this document, if there is not then execution in step S3, whether the storage space of judgment data memory block 13 is enough again, if enough execution in step S4 judge whether verification is correct, as if correct execution in step S5 then, create file, and the updating file data.
This shows that when the telecom intelligent card application operating system was created file system, creating each file all needed through repeatedly judging, therefore creating each file all needs the long period to realize.For the less telecom intelligent card of file system, it is not long to use such scheme production telecom intelligent card elapsed time, but along with the memory capacity of telecom intelligent card data storage area 13 constantly increases, be increased to the 64K byte by original 8K byte, even the 128K byte, when using such scheme production telecom intelligent card, the production time is long, reduce the production efficiency of telecom intelligent card, be unfavorable for the batch process of telecom intelligent card.
Summary of the invention
Fundamental purpose of the present invention provides the method for short raising production efficiency of telecommunication smart card of a kind of file system creation-time;
Another object of the present invention provides the method for the higher raising production efficiency of telecommunication smart card of a kind of file system accuracy of establishment.
For realizing above-mentioned fundamental purpose, in the raising production efficiency of telecommunication smart card method provided by the invention, telecom intelligent card has a storer, and storer comprises code storage district and data storage area, and store the boot loader of telecom intelligent card, this method comprises
Make master card, comprise code storage district write operation system program to a blank telecommunication intelligent card memory, and after moving this operating system, create file system and new data more in the data storage area, make image file then, the data that the data storage area of master card is stored are read and duplicated, form image file;
The batch making telecom intelligent card comprises to each blank code storage district write operation system of opening the telecommunication intelligent card memory, and image file is write in the data storage area of telecommunication intelligent card memory.
By such scheme as seen, when producing telecom intelligent card, at first use traditional production method and make a master card, i.e. the processing batch instruction of application operating system establishment file system and more new data form image file with system file and the data updated of creating then.When producing telecom intelligent card in batches, do not create file system, but the mode that image file is written to the data storage area is realized by the processing batch instruction of operating system.
Owing to do not need to carry out repeatedly determining step when image file is write the data storage area, significantly reduce the establishment file system and reach the more time of new data, thereby reduce the telecom intelligent card production time, improve the production efficiency of telecom intelligent card.
A preferred scheme is, makes in the step of described master card, and the data sense order is set in the operating system program that writes to telecom intelligent card, uses all data in this data sense order reading of data memory block.
This shows that the data sense order of application operating system is the file system and the data updated of reading of data memory block easily, do not need to use other specialized apparatus or instrument, can reduce the production cost of telecom intelligent card.
Further scheme is, after making image file image file is done verification calculating, the calculation expectation proof test value, and when the batch making telecom intelligent card, doing verification after each telecom intelligent card writes image file calculates, and, judge whether image file correctly writes with the proof test value and the comparison of expectation proof test value that calculate.
Like this, can guarantee to write file system in each telecom intelligent card data storage area and data updated and image file is consistent, improve the file system write and the accuracy of new data more, the situation that the telecommunication intelligent calorie requirement of avoiding producing is scrapped takes place.
Description of drawings
Fig. 1 is the structural representation block diagram of existing telecommunication intelligent card memory;
Fig. 2 is a process flow diagram of creating file in the existing telecom intelligent card production run;
Fig. 3 is the process flow diagram of first embodiment of the invention;
Fig. 4 is the format structure figure of data sense order in the first embodiment of the invention;
Fig. 5 is the format structure figure that data write instruction in the first embodiment of the invention;
Fig. 6 is the format structure figure of page marker instruction in the first embodiment of the invention;
Fig. 7 is the process flow diagram of second embodiment of the invention.
The invention will be further described below in conjunction with drawings and Examples.
Embodiment
The telecom intelligent card of using method production provided by the invention has a storer, this storer includes boot loader memory block, code storage district and data storage area, and wherein the boot loader memory block writes the boot loader that semiconductor producer provides in advance.When producing telecom intelligent card, need be in the code storage district write operation system program, and in the data storage area, write file system and new data more.
First embodiment:
Referring to Fig. 3, when using present embodiment production telecom intelligent card, at first need to use traditional production method and make a master card.When making master card, get the telecom intelligent card of a blank, and operating system program is written in the code storage district of this telecom intelligent card.Before the write operation system program, needing execution in step S11, two instructions are set in operating system program, is respectively that data sense order and data write instruction, the format structure figure of two instructions such as Fig. 4 and shown in Figure 5.
The data sense order includes instruction head " C0D8 ", represents that this instruction is the data sense order." P1 " and " P2 " represents the high and low byte of the data storage area start address of reading respectively in the instruction, and " length " need to represent the length of sense data byte.For example instruct " C0D8010080 " to represent 0x80 the byte data that begins from address 0x0100 in the reading of data memory block.
In the same manner, data write instruction and include instruction head " C0DA ", and " P1 " and " P2 " represents the high and low byte of the data storage area start address that writes respectively, and " length " represents to write the length of data.In the data storage area, in 0x80 the byte that address 0x0100 begins, write data [data] as instruction " C0DA010080[data] " expression.Certainly, data are set write when instruction, [data] data for reserving write image file wherein after waiting to make image file.
After data sense order and data are set write instruction, execution in step S12, operating system program is downloaded in the code storage district of telecom intelligent card, and operation system, the a series of processing batch instruction of application operating system are created file system and new data more, and these are identical with existing telecommunication intelligent card production method.So far, master card is made and is finished.
After the master card that completes, the data sense order of application operating system is read all data in the data storage area of master card, after reading it is duplicated to form an image file, i.e. execution in step S13.Preferably, the image file of reading is done verification calculate,, calculate an expectation proof test value as CRC check or other verifications.
When making image file, master card is inserted in the card reader, allow master card operation system, carry out the data sense order in batches by the memory block sequence of addresses, and the data of reading are sent to card reader, the content of reading is preserved in order the file of forms such as txt, promptly form an image file.
Then, batch making telecom intelligent card.At first, write operation system program in the code storage district of each blank telecom intelligent card of producing in batches, i.e. execution in step S14, this system pack is drawn together above-mentioned data and is write instruction.Then, execution in step S15, application data writes instruction image file is written in the data storage area of each telecom intelligent card.
After each telecom intelligent card writes image file, each data that write the data storage area is done verification, calculate a proof test value, and execution in step S16, judge whether the proof test value that calculates is consistent with the expectation proof test value that image file calculates, and correctly is written in the data storage area as if the consistent image file of representing, then execution in step S17, with the individuation data of telecom intelligent card, write in the telecom intelligent card as ICCID sign indicating number, PIN code etc.
If the proof test value that the data computation of data storage area goes out is inconsistent with the expectation proof test value, mistake appears in expression when writing image file, and execution in step S18 then returns the information of image file write error, reminds smart card production firm to write image file again.
This shows, during the batch making telecom intelligent card, do not need to create file system and reach more new data, but file system is directly write in the data storage area by the mode that writes image file by traditional mode.Owing to do not need to carry out a series of discriminating step when writing image file, significantly reduce the establishment file system and reach the time that more new data consumed, thereby reduce the production time of telecom intelligent card, improve the production efficiency of telecom intelligent card.
In the present embodiment, data sense order and data write the high low byte that " P1 ", " P2 " expression addressing are used in instruction respectively, and its maximum address address is 0xFFFF, and promptly maximum can only read or write the 64K byte data.If data, then need the data page in the data storage area is read or write as the 128K byte greater than the 64K byte in the data storage area, can set every page data length is the 64K byte.A page marker instruction need be set simultaneously, to identify the not data of same page in operating system program.
The page marker order format that operating system program is provided with as shown in Figure 6, wherein " P3 " is page marker, if the data of reading or writing are first page data, then " P3 " byte is set to " 01 ", if the data of reading or writing are second page data, then " P3 " byte is set to " 02 ".
Like this, when reading the master card data, operating system is read the data of data storage area respectively according to page marker, and forms the image file of multipage.During the batch making telecom intelligent card, operating system writes respectively in the corresponding storage area according to the image file of page marker with multipage, realizes writing greater than the 64K byte data thus.
In the present embodiment, data are set in operating system program write instruction and image file is write in the telecom intelligent card of batch process, can also realize writing of image file by the application start loading procedure during practical application.
Second embodiment:
Referring to Fig. 7, use present embodiment and produce telecom intelligent card, at first make master card.When making master card, write operation system program in a telecom intelligent card is provided with the data sense order in the operating system program that writes, i.e. execution in step S21.The data sense order is identical with the data sense order of first embodiment, does not repeat them here.
After the data sense order was set, execution in step S22 was downloaded to operating system program in the code storage district of telecom intelligent card, and the operation system, and the processing batch instruction of application operating system is created file system and new data more, finishes the making of master card.
Then, execution in step S23, the data sense order in the application operating system program is read all data in the data storage area, and duplicates the formation image file, simultaneously image file is done verification and calculates, and calculates an expectation proof test value.
Then, produce telecom intelligent card in batches, the raw data in the application start loading procedure writes instruction, operating system program and image file is written in the storer of telecom intelligent card in the lump, i.e. execution in step S24.Behind write operation system program and the image file, divide the code storage district and the data storage area of storer, and the virtual address of data storage area is set, start address is the termination address of code storage district physical address in the virtual address of data storage area.
For example, the termination address of operating system program is 0x9180, and then the termination address in code storage district also is 0x9180, and the start address 0x0000 of data storage area virtual address also is 0x9180 with respect to the address of whole storer.
Behind the dividing data memory block, data in the checking command data memory area in the application start loading procedure are done verification and are calculated, the calculation check value, and execution in step S25, judge whether the proof test value that calculates is consistent with the expectation proof test value, if consistent, the expression image file correctly is written in the data storage area, and execution in step S26, the individuation data of telecom intelligent card is write.If inconsistent, expression makes a mistake when writing image file, and execution in step S27 then sends the warning message of image file write error.
This shows, during present embodiment medium quantity batch processing telecom intelligent card, create file system and new data more by the mode that writes image file, and do not use traditional mode, the processing batch instruction of application operating system is created file system through behind a series of determining step, and the time of therefore creating file system is shorter, reduce by every telecom intelligent card production time, improve the production efficiency of telecom intelligent card.
And, present embodiment is done verification calculating respectively to image file that forms and the data that are written to the telecom intelligent card data storage area, and judge by judging that proof test value that twice verification calculate is whether consistent whether image file correctly writes, to guarantee that image file correctly writes in the telecom intelligent card, the telecommunication intelligent cacaine of avoiding producing writes the image file mistake and need scrap the generation of situation.
Certainly, the present invention can also have more variation when practical application, and the program that a specialized apparatus for example is set or develops a special use is read the data of data storage area in the master card and duplicate, and makes image file; Perhaps, write in data sense order and data and increase a byte in the instruction as page marker; Or the exploitation specific program is done verification calculating etc. to the image file that writes in the telecom intelligent card, and these do not influence enforcement of the present invention.
At last; it is emphasized that; the invention is not restricted to above-mentioned embodiment, write the change of order format, the change of page marker set-up mode, the subtle change such as change of checking algorithm such as data sense order and data and also should be included in protection scope of the present invention.
Claims (8)
1, improve the method for production efficiency of telecommunication smart card, described telecom intelligent card has a storer, and described storer comprises code storage district and data storage area, and stores the boot loader of telecom intelligent card, and this method comprises the steps:
Make master card: to the code storage district write operation system program of the telecommunication intelligent card memory of a blank, and after moving this operating system, create file system and new data more in the data storage area;
Make image file: the data of master card data storage area storage are read and duplicated, form image file;
Batch making telecom intelligent card:, and described image file is write the data storage area of telecommunication intelligent card memory to the code storage district write operation system program of each blank telecommunication intelligent card memory.
2, according to the method for the described raising production efficiency of telecommunication smart card of claim 1, it is characterized in that:
In the described making master card step, also be included in the data sense order is set in the operating system program that writes, use all data in this data sense order reading of data memory block.
3, according to the method for claim 1 or 2 described raising production efficiency of telecommunication smart card, it is characterized in that:
In the described batch making telecom intelligent card step, also be included in and in the operating system program that writes data be set and write instruction, use these data and write instruction image file is write the data storage area.
4, according to the method for claim 1 or 2 described raising production efficiency of telecommunication smart card, it is characterized in that:
Include raw data in the described boot loader and write instruction;
In the described batch making telecom intelligent card step, use described raw data and write instruction operating system program and image file write store.
5, according to the method for the described raising production efficiency of telecommunication smart card of claim 4, it is characterized in that:
After writing image file, the virtual start address of data storage area is set, the virtual start address of described data storage area is the termination address in code storage district.
6, according to the method for claim 1 or 2 described raising production efficiency of telecommunication smart card, it is characterized in that:
Comprise also after the described making image file step that a pair of image file does the verification calculation procedure, calculate an expectation proof test value;
In the described batch making telecom intelligent card step, comprise that doing verification after each telecom intelligent card writes image file calculates, and proof test value and the described expectation proof test value that calculates compared, judge whether image file correctly writes.
7, according to the method for claim 1 or 2 described raising production efficiency of telecommunication smart card, it is characterized in that:
Described image file is divided into the multipage data, in described batch making telecom intelligent card step, writes a page data to the data storage area at every turn.
8, according to the method for the described raising production efficiency of telecommunication smart card of claim 7, it is characterized in that:
In the described batch making telecom intelligent card step, be included in the operating system program that writes page marker is set, and the multipage data of image file are write the corresponding stored zone respectively according to this page marker.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910039885 CN101571808B (en) | 2009-05-26 | 2009-05-26 | Method for improving production efficiency of telecommunication smart card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910039885 CN101571808B (en) | 2009-05-26 | 2009-05-26 | Method for improving production efficiency of telecommunication smart card |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101571808A true CN101571808A (en) | 2009-11-04 |
CN101571808B CN101571808B (en) | 2013-09-25 |
Family
ID=41231170
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200910039885 Active CN101571808B (en) | 2009-05-26 | 2009-05-26 | Method for improving production efficiency of telecommunication smart card |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101571808B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102541690A (en) * | 2011-12-23 | 2012-07-04 | 北京握奇数据系统有限公司 | Intelligent card and method for recovering data |
CN109165525A (en) * | 2018-08-10 | 2019-01-08 | 深圳市智微智能科技开发有限公司 | A kind of method and Related product of embedded-type security storing data |
CN112114835A (en) * | 2020-09-28 | 2020-12-22 | 恒宝股份有限公司 | Smart card production method and device, electronic equipment and storage medium |
CN113282322A (en) * | 2021-05-28 | 2021-08-20 | 武汉天喻信息产业股份有限公司 | Method and system for improving production efficiency of smart card |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0936774A1 (en) * | 1998-02-13 | 1999-08-18 | CANAL+ Société Anonyme | Recording of scrambled digital data |
CN1268933C (en) * | 2001-09-03 | 2006-08-09 | 范国平 | Method for electric charge payment by utilizing intelligent card and intelligent card kilowatt meter |
CN101556541B (en) * | 2009-05-14 | 2012-11-21 | 北京握奇数据系统有限公司 | Method for manufacturing intelligent card, device, master card and system |
-
2009
- 2009-05-26 CN CN 200910039885 patent/CN101571808B/en active Active
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102541690A (en) * | 2011-12-23 | 2012-07-04 | 北京握奇数据系统有限公司 | Intelligent card and method for recovering data |
CN109165525A (en) * | 2018-08-10 | 2019-01-08 | 深圳市智微智能科技开发有限公司 | A kind of method and Related product of embedded-type security storing data |
CN112114835A (en) * | 2020-09-28 | 2020-12-22 | 恒宝股份有限公司 | Smart card production method and device, electronic equipment and storage medium |
CN112114835B (en) * | 2020-09-28 | 2024-04-26 | 恒宝股份有限公司 | Smart card production method and device, electronic equipment and storage medium |
CN113282322A (en) * | 2021-05-28 | 2021-08-20 | 武汉天喻信息产业股份有限公司 | Method and system for improving production efficiency of smart card |
Also Published As
Publication number | Publication date |
---|---|
CN101571808B (en) | 2013-09-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6355699B2 (en) | Writing data in the smart card's non-volatile memory | |
CN106874348B (en) | File storage and index method and device and file reading method | |
CN102087715B (en) | Information processing device, information processing method and program | |
CN101533481B (en) | Method for expanding function of mask smart card | |
EP1519268A2 (en) | Communication terminal and communication network for partially updating software, software update method, and software creation device and method therefor | |
CN101571808B (en) | Method for improving production efficiency of telecommunication smart card | |
CN102163155A (en) | Upgrade controlling device and method for upgrading memory device | |
US20140156913A1 (en) | Data processing method, memory controller and memory storage apparatus | |
JP5259513B2 (en) | Portable electronic device, IC card, and portable electronic device control method | |
CN109146095A (en) | The treating method and apparatus of multiservice system problem | |
CN109542495A (en) | A kind of method for upgrading software and device | |
CN103458004A (en) | Internet of things-based device subscription information changing method and equipment | |
CN112286565B (en) | Embedded system differential upgrading method based on storage container | |
CN102346925B (en) | Electronic ticket storage equipment, electronic ticket checking system and method | |
CN109597979A (en) | Inventory table generation method, device, computer equipment and storage medium | |
CN107844305A (en) | The method for upgrading software and embedded device of embedded device | |
CN100535935C (en) | CPUCPU and logic encryption double-purpose smart card and its data synchronization method | |
CN107977222A (en) | Suitable for the conversion of the upgrade file of eMMC, generation method and device | |
CN107273159A (en) | Difference patch upgrading method and device suitable for embedded system | |
CN114332353A (en) | Three-dimensional model matching method and device, electronic equipment and storage medium | |
CN105095101A (en) | Method and device for writing data in memorizer and intelligent card | |
CN101266538B (en) | Intelligent memory card interface access control method | |
CN109828764A (en) | Generation, method for burn-recording and its equipment of recordable paper | |
CN110008059B (en) | Data updating method and device for nonvolatile storage medium and storage medium | |
JPH10198776A (en) | Portable information recording medium, and its information writing and reading method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C53 | Correction of patent for invention or patent application | ||
CB02 | Change of applicant information |
Address after: 519060 Guangdong province Zhuhai Nanping Science and Technology Industrial Park Road No. 8 screen Applicant after: Eastcompeace Technology Co., Ltd. Address before: 519060 Guangdong province Zhuhai Nanping Science and Technology Industrial Park Road No. 8 screen Applicant before: Eastcompeace Smart Card Co., Ltd. |
|
COR | Change of bibliographic data |
Free format text: CORRECT: APPLICANT; FROM: EASTCOMPEACE SMART CARD CO., LTD. TO: EASTCOMPEACE TECHNOLOGY CO., LTD. |
|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |