CN106874808A - A kind of method and IC-card for activating IC-card - Google Patents
A kind of method and IC-card for activating IC-card Download PDFInfo
- Publication number
- CN106874808A CN106874808A CN201710035739.XA CN201710035739A CN106874808A CN 106874808 A CN106874808 A CN 106874808A CN 201710035739 A CN201710035739 A CN 201710035739A CN 106874808 A CN106874808 A CN 106874808A
- Authority
- CN
- China
- Prior art keywords
- card
- function
- initial
- activation
- activation control
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/0013—Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/067—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
- G06K19/07—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
- G06K19/077—Constructional details, e.g. mounting of circuits in the carrier
- G06K19/07743—External electrical contacts
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Computer Hardware Design (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Credit Cards Or The Like (AREA)
Abstract
The present invention provides a kind of method and IC-card for activating IC-card, is used to solve the IC-card for stopping production is changed or made up more bother, while can increase the economic expenditure of user and cause the technical problem of the wasting of resources.The method includes:It is determined that setting up connection between initial IC-card and activation control device, initial IC-card includes M code area, enables to IC-card to possess the function included by a kind of corresponding function IC-card by running the code included by any code area in M code area;The activation control instruction that activation control device sends is obtained, activation control instruction is used for the function of indicating initial IC-card to activate N kind function IC-cards;According to activation control instruction, the code that N number of code area corresponding with N kind function IC-cards in M code area includes is separately operable, so that the function of initial IC-card activation N kind function IC-cards;The initial IC-card of the function of N kind function IC-cards as the function IC-card of activation will be activated.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of method and IC-card for activating IC-card.
Background technology
With the development of electronic technology, IC (Integrated Circuit, integrated circuit) card class product is in every profession and trade
Also it is being continuously increased using the type of increasingly extensive, such as combustion gas card, electric card and water card etc., also, IC-card, with encryption skill
Art and some requirements to outward appearance, the older IC-card of some models may stop production the IC-card of reproduction, i.e. these models, example
Such as 102 cards.
For the IC-card that these stop production, also have many consumers and normally using, if user is lost or damaged
It is bad, it is necessary to then can be relatively difficult if making up, typically then need to change the gauge table for using corresponding with IC-card, such as with combustion gas card
Corresponding gauge table is gas meter, flow meter, and gauge table corresponding with electric card is then ammeter, however, the number of gauge table is generally large, and
And the price of single metering table is not also low, can additionally increase the economic expenditure of user if changing gauge table, while also can
Cause the wasting of resources.
It can be seen that, for the IC-card that some markets stop production, if to change or make up more bothered, while can increase
The economic expenditure of user and the wasting of resources is caused, have no preferable solution to this at present.
The content of the invention
The embodiment of the present invention provides a kind of method and IC-card for activating IC-card, is used to solve to change the IC-card for stopping production
Or make up and more bother, while can increase the economic expenditure of user and the technical problem of the wasting of resources is caused.
A kind of first aspect, there is provided method of activation IC-card, including:
It is determined that setting up connection between initial IC-card and activation control device;Wherein, the initial IC-card includes M code
Area, enables to the IC-card to possess corresponding by running the code included by any code area in the M code area
A kind of function included by function IC-card, M is positive integer;
Obtain the activation control instruction that the activation control device sends;Wherein, the activation control instruction is used to indicate
The initial IC-card activates the function of N kind function IC-cards, and N is the integer less than or equal to M;
According to the activation control instruction, N corresponding with the N kinds function IC-card in the M code area is separately operable
The code that individual code area includes, to cause that the initial IC-card activates the function of the N kinds function IC-card;
The initial IC-card of the function of the N kinds function IC-card as the function IC-card of activation will be activated.
In a kind of possible implementation, it is determined that connection is set up between initial IC-card and activation control device, including:
If searching the initial IC-card of book is accessed first by what the first voltage signalling contact of the initial IC-card was detected
Contact voltage belongs to the first predetermined voltage range, it is determined that the company of foundation between the initial IC-card and the activation control device
Connect;Or
If being belonged to by the device identification that the equipment identification information that the data-signal contact of the initial IC-card is received is indicated
In premise equipment logo collection, it is determined that set up connection between the initial IC-card and the activation control device.
In a kind of possible implementation, in the initial IC-card of the function using the N kinds function IC-card is activated as swashing
After function IC-card living, methods described also includes:
The first history corresponding with first user mark for receiving the activation control device transmission uses data;Wherein,
First history is to use number with the history corresponding to the first the function IC-card in the N kinds function IC-card using data
According to;
First history is used in the first storage region in initial IC-card described in data Cun Chudao;Wherein, it is described
First storage region is for storing the storage region with the use data corresponding to described the first function IC-card.
In a kind of possible implementation, in the initial IC-card of the function using the N kinds function IC-card is activated as swashing
After function IC-card living, methods described also includes:
Detect that the function IC-card of the activation is accessed by the second voltage signalling contact of the function IC-card of the activation
The second contact voltage;
According to the corresponding relation between voltage range and function IC-card type, it is determined that with belonging to second contact voltage
IC-card type corresponding to second predetermined voltage range is second function IC-card;
Communicated with the equipment for being contacted with the corresponding function of second function IC-card.
In a kind of possible implementation, in the initial IC-card of the function using the N kinds function IC-card is activated as swashing
After function IC-card living, methods described also includes:
Delete the data stored in other code areas for removing in the M code area outside N number of code area.
A kind of second aspect, there is provided IC-card, the IC-card includes MCU (Microcontroller Unit, microcontroller list
Unit), memory and groups of signal contacts, the memory and the groups of signal contacts be connected with the MCU, the signalling contact
Group includes at least two signalling contacts;Wherein:
The memory includes M code area, by running the generation included by any code area in the M code area
Code enables to the IC-card to possess the function included by a kind of corresponding function IC-card, and M is integer;
The MCU, for determining to set up connection between the IC-card and activation control device;The activation control is obtained to set
The activation control instruction that preparation is sent, wherein, the activation control instruction is used for the work(for indicating the IC-card to activate N kind function IC-cards
Can, N is the integer less than or equal to M;According to the activation control instruction, it is separately operable in the M code area and the N kinds work(
The code that the corresponding N number of code area of energy IC-card includes, to cause that the IC-card activates the function of the N kinds function IC-card;And
The IC-card of the function of the N kinds function IC-card as the function IC-card of activation will be activated.
In a kind of possible implementation, the MCU is used to determine to be set up between the IC-card and activation control device
Connection, including:
If accessed by the IC-card that the first voltage signalling contact in the groups of signal contacts is detected first
Contact voltage belongs to the first predetermined voltage range, it is determined that connection is set up between the IC-card and the activation control device;Or
If the equipment mark indicated by the equipment identification information that the data-signal contact in the groups of signal contacts is received
Knowledge belongs to premise equipment logo collection, it is determined that connection is set up between the initial IC-card and the activation control device.
In a kind of possible implementation, the MCU is additionally operable to:
Described swash as after the function IC-card of activation, receiving in the IC-card of the function using the N kinds function IC-card is activated
The first history corresponding with first user mark that control device living sends uses data;Wherein, first history uses number
According to for the N kinds function IC-card in the first function IC-card corresponding to history use data;
In the first storage region by first history using memory described in data Cun Chudao;Wherein, described first
Storage region is for storing the storage region with the use data corresponding to described the first function IC-card.
In a kind of possible implementation, the MCU is additionally operable to:
The function using the N kinds function IC-card is activated IC-card as after the function IC-card of activation, by the letter
Second voltage signalling contact in number contact sets detects the second contact voltage that the function IC-card of the activation is accessed;
According to the corresponding relation between voltage range and function IC-card type, it is determined that with belonging to second contact voltage
IC-card type corresponding to second predetermined voltage range is second function IC-card;
Communicated with the equipment for being contacted with the corresponding function of second function IC-card.
In a kind of possible implementation, the MCU is additionally operable to:
The function using the N kinds function IC-card is activated IC-card as after the function IC-card of activation, delete described M
The data stored in other code areas outside N number of code area are removed in code area.
In the embodiment of the present invention, foundation is connected between initial IC-card can determine and activate control device, and initial IC-card
Include M code area, and initial IC is enabled to by running the code included by any code area in M code area
Fixture is obtained for the function included by a kind of corresponding function IC-card, then after it is determined that setting up connection and activation control device between
The activation control instruction of control device transmission must be activated, and activates control instruction to be separately operable M code according to received
The code included by N number of code area in area, to cause initial IC-card activation corresponding respectively with the code included by N number of code area
N kind function IC-cards function, will finally have activated N kind function IC-cards function initial IC-card as activation function IC
Card.
That is, in embodiments of the present invention, can be by the corresponding function of various function IC-cards with the side of software code
Formula is stored in advance in initial IC-card, so according to activation control device transmitted by activation control instruction initial IC-card is carried out
Activation, such as when user needs to make up combustion gas card, then can send activation combustion gas card by activating control device to initial IC-card
The activation control instruction of corresponding function, then initial IC-card then can be by operation and combustion after activation control instruction is received
Code included by the corresponding code area of gas card is activating function corresponding with combustion gas card, then have activated the function of combustion gas card
Initial IC-card can then substitute combustion gas card and use, that is, realize the benefit card or the purpose replaced of function IC-card.
By the technical scheme in the embodiment of the present invention, it is possible to achieve the benefit card of the IC-card of low cost or replacement, without more
Gauge table corresponding with IC-card is changed, the economic expenditure of user is reduced, while can also economize on resources.Simultaneously as need to only pass through
Activation control device can just realize the quick replacement of IC-card and make up, imitate to the mode that initial IC-card sends activation control instruction
Rate is higher, and simple to operate, is suitable to extensive use.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are this hairs
Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with root
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the method for the activation IC-card in the embodiment of the present invention;
Fig. 2 is the structural representation of the IC-card in the embodiment of the present invention.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
In addition, the terms "and/or", a kind of only incidence relation for describing affiliated partner, expression there may be
Three kinds of relations, for example, A and/or B, can represent:Individualism A, while there is A and B, individualism B these three situations.Separately
Outward, character "/" herein, in the case where not illustrating, typicallys represent forward-backward correlation pair as if a kind of relation of "or".
In order to be better understood from above-mentioned technical proposal, below in conjunction with Figure of description and specific embodiment to this
Technical scheme in inventive embodiments is described in detail.
Fig. 1 is referred to, the embodiment of the present invention provides a kind of method for activating IC-card, and the method can apply to initial IC
Card, i.e., each step of the method for the activation IC-card in the embodiment of the present invention can be performed by initial IC-card.In the embodiment of the present invention,
So-called activation, that is, refer to enter line activating to initial IC-card, and initial IC-card for example can be understood as a white card, i.e., initial IC-card
Without any function, and the initial IC-card after activating can have one or more function of function IC-card, of the invention real
In applying example, by activation after initial IC-card can be referred to as the function IC-card of activation.
Fig. 2 is referred to, Fig. 2 show the structural representation of the initial IC-card in the embodiment of the present invention, and initial IC-card includes
MCU21, memory 22 and groups of signal contacts 23, memory 22 and groups of signal contacts 23 are connected with MCU21, and connection herein can
To refer to be electrically connected with, by the connection, MCU21 can carry out data and lead to memory 22 and signal storage contact sets 23 respectively
Letter, for example, can enter row data communication according to iso7816-3 agreements.
Wherein, MCU21 can be module or unit with data processing function, and in specific implementation process, MCU21 can
Presented with the form of chip, i.e. MCU21 can be one has the chip of data-handling capacity.MCU21 can have multiple
Pin, is electrically connected with by pin with memory 22 and groups of signal contacts 2.
Memory 22 is the storage medium with data storage capacities, for example, RAM ((random access memory,
Random access memory), ROM (Read-Only Memory, read-only storage), Flash Memory (flash memory) etc., in tool
In body implementation process, can according to actual needs from the memory of different medium.Memory 22 can include multiple memory blocks
Domain, the digital independent performance of each storage region can be with identical or can also be different, and for example memory 22 includes 3 memory blocks
Domain, one of storage region supports the read-write of data simultaneously, and another storage region only supports that digital independent is not propped up but
The write-in of data is held, a remaining storage region does not support that digital independent but supports the write-in of data.In addition, for each is stored
Region can set corresponding secret grade, and for example, storage region of a portion sets the first secret grade, remaining
Storage region sets the second secret grade, wherein the level of encryption of the first secret grade can be higher or lower than second encryption etc.
Level.
Memory 22 can include one or more code areas, such as be to include 4 code areas with memory 22 in Fig. 2
Illustrated as a example by (i.e. code area 1- code areas 4), be stored with corresponding code in each code area, any by running
Code included by code area enables to initial IC-card to possess the function included by a kind of corresponding function IC-card, i.e., by fortune
Initial IC-card can be entered line activating by the code included by line code area.For example, can be made by the code in operation code area 1
The function that initial IC-card possesses combustion gas card is obtained, can cause that initial IC-card possesses electric card by the code in operation code area 3
Function, etc., and referred to herein as combustion gas card and electric card be that can be understood as the function IC-card in the embodiment of the present invention.
In specific implementation process, the multiple code areas included by memory 22 may belong to same storage region, or
Person can also belong to different storage regions, and the embodiment of the present invention is without limitation.
Groups of signal contacts 23 can include at least two signalling contacts, for example, can at least include voltage signal contact sum
According to signalling contact, earth signal contact, clock signal contact and reset signal contact, etc. can also be included, be to include in Fig. 2
Illustrated as a example by this 5 signalling contacts of contact 1- contacts 5.In specific implementation process, groups of signal contacts 23 can collect
Multiple signalling contacts included by design, i.e. groups of signal contacts 23 can be close proximity to setting, included by groups of signal contacts 23
Each signalling contact can transmitting telecommunication number, can for example be arranged to the form of golden finger.
In addition, initial IC-card can also include shell, MCU21, memory 22 and signalling contact are surrounded as shown in Figure 2
The rectangle frame of group 23, in specific implementation process, MCU21 and memory 22 are integrated within shell, can be right by shell
MCU21 and memory 22 are played a protective role, and groups of signal contacts 23 can be embedded in outward in shell, i.e., from appearance can be direct
See all signalling contacts included by groups of signal contacts 23, so can just be touched by signal when IC-card is inserted into card-reading apparatus
The data communication of contact, such as electric card used in daily life are carried out between signalling contact and card-reading apparatus in point group 23
Or combustion gas card, and by electric card or combustion gas card insertion ammeter or gas meter, flow meter in, etc..
With continued reference to Fig. 1, the flow of the method for the activation IC-card in the embodiment of the present invention is described as follows.
Step 11:It is determined that setting up connection between initial IC-card and activation control device;Wherein, initial IC-card includes M
Code area, enables to initial IC-card to possess corresponding by running the code included by any code area in M code area
A kind of function included by function IC-card.
Wherein, M is positive integer, for example, 1,2,4, etc., such as it is to be illustrated as a example by 4 code areas in Fig. 2.
In specific implementation process, initial IC-card can be not understood as a white card, by activating control device control
Can then cause that initial IC-card is presented the function of corresponding function IC-card after initial IC-card activation, that is, realize snapping into function IC in vain
The activation of card, because such as in actual use, what user used is usually function IC-card, and electric card or combustion gas card are led to
Cross and enter line activating to initial IC-card so that it possesses corresponding function, you can to realize from the replacement for snapping into function IC-card in vain, this
Sample can facilitate user to change or make up function IC-card, and the combustion gas card of such as user lost, then can be by this kind
Mode is realized making up combustion gas card.
Because initial IC-card itself cannot be activated automatically, its activation is controllable by the demand of user, when need by
When it enters line activating, user can control the initial IC-card to carry out activation manipulation using activation control device, and such as user can be with
Operation activation control device to initial IC-card send activation control instruction, initial IC-card receive activation control instruction after i.e.
Activation manipulation can be carried out.
Activation control device for example can be PC (PC), notebook computer, mobile phone or special activation equipment, as long as
Activation control instruction can be sent to initial IC-card by activating control device, the embodiment of the present invention sets for activation control
Standby which kind of equipment that is specially is not limited.
In specific implementation process, can for example determine in the following ways initial IC-card whether with activation control device
Establish connection, it should be appreciated that, the embodiment of the present invention includes but is not limited in the following manner.
First way:
When needing to activate initial IC-card, can be by initial IC-card insertion activation control device, i.e., by initial IC-card
Groups of signal contacts 23 with activation control device carry out contact communication, now the first voltage signal in groups of signal contacts 23 touch
Point can detect the first accessed contact voltage, if the first contact voltage belongs to the first predetermined voltage range, can determine
Connection is established between initial IC-card and activation control device.
That is, the voltage swing that can be detected by voltage signal contact judge whether and activate control device
Connection is established, so may insure to activate the accuracy of control device connection, therefore, can in advance for activation control device sets
The first predetermined voltage range is put, for example, is set to [2.2V, 2.6V] the first predetermined voltage range, only detected voltage
Belong to the voltage range, initial IC-card is just considered to be successfully established with activation control device and be connected, and then for activating control
Instruction transmitted by equipment can just be performed, and otherwise, then may be considered invalid connection, and e.g. user is due to maloperation general
Initial IC-card is inserted in miscellaneous equipment, and miscellaneous equipment here to be not the initial IC-card of user's control enter setting for line activating
It is standby.
The second way:
When needing to activate initial IC-card, can be by initial IC-card insertion activation control device, i.e., by initial IC-card
Groups of signal contacts 23 with activation control device carry out contact communication, now the data-signal contact in groups of signal contacts 23 can
To receive the equipment identification information transmitted by connected equipment, initial IC-card judges equipment corresponding with the equipment identification information
Identify whether to belong to premise equipment logo collection, however, it is determined that belong to the premise equipment logo collection, that is, show what is now connected
Equipment is the equipment for controlling initial IC-card to enter line activating, that is, determine to be successfully established connection and activation control device between.
Or, by initial IC-card insertion activation control device, identifying code, initial IC-card can also be sent to initial IC-card
The identifying code can be obtained by data-signal contact, and and then judge whether the identifying code is legal to determine what is now connected
Whether equipment is on earth legal activation control device.
The third mode:
An interface can also be set on initial IC-card, can be with the interface matched on activation control device by the interface
Connection, activation control device can send checking information by the interface of the matching to initial IC-card, if initial IC-card determines to test
Card information is legal, it is determined that the equipment for now being connected is legal activation control device.
Step 12:Obtain the activation control instruction that activation control device sends;Wherein, activation control instruction is used to indicate just
Beginning IC-card activates the function of N kind function IC-cards.
Wherein, the function of N kinds function IC-card is the work(of N kinds function IC-card corresponding with the N number of code area in M code area
Can, for example activating control instruction is used to indicate initial IC-card activation right respectively with code area 1 and code area 3 as shown in Figure 2
The function of the function IC-card answered, and function IC-card corresponding with code area 1 is combustion gas card, function IC corresponding with code area 3
It is electric card to block.
Also, N is the integer less than or equal to M, that is, activating control instruction can indicate the activation of initial IC-card a kind of or simultaneously
Activate the function of various function IC-cards.When N is 1, now then show that user wishes that by the activation of initial IC-card be a kind of function IC
Card (such as combustion gas card), after the activation, initial IC-card then possesses the function of combustion gas card, can be used as combustion gas card.It is big in N
When 1, now show that user is wished the activation of initial IC-card for various function IC-cards, for example, be provided simultaneously with combustion gas card and electric card
Function, can now realize the purpose of one card for multiple uses.In specific implementation process, user can select according to respective actual demand
Select and activate a kind of or various functions, due to that can select to activate one or more functions, so can meet user as far as possible
Individual demand.
In possible implementation method, an operation interface can be shown on activation control device, in the operation interface
In can show list for activating the various functions IC-card included by initial IC-card, user need to only select oneself to wish activation
Function IC-card option, after user has carried out selection operation, such as after clicking operation, activation control device can
Determine that user wishes the function of activation with according to the operation information of user, and then generate corresponding activation control instruction and be sent to
Initial IC-card.
In alternatively possible implementation method, user can also directly to activation control device input control routine swash
Control device living can determine that user wishes the type of the function IC-card of activation by running the control routine that user is input into, and enter
And generate corresponding activation control instruction and be sent to initial IC-card.
Step 13:According to activation control instruction, N number of code corresponding with N kind function IC-cards in M code area is separately operable
The code that differentiation includes, to cause that initial IC-card activates the function of N kind function IC-cards.
Because activation control instruction is indicated for initial IC-card activation and the N kind functions corresponding to N number of code area, obtaining
Must activate after the activation control instruction of control device transmission, initial IC-card can then be determined and N kind functions from M code area
Corresponding N number of code area, then the code included by N number of code area is separately operable, the function of N kind function IC-cards is activated to reach
Purpose.
Step 14:The initial IC-card of the function of N kind function IC-cards as the function IC-card of activation will be activated.
After the code included by N number of code area is run, it is the IC with foregoing N kind functions that initial IC-card is then activated
Card, the initial IC-card that function corresponding with function IC-card will be have activated in the embodiment of the present invention is referred to as the function IC-card of activation, with
Initial IC-card is changed into the purpose of function IC-card for realization.
The combustion gas card of such as user is lost, and in order to make up combustion gas card, then can be retouched using foregoing step 11- steps 14
The activation of initial IC-card is combustion gas card by the mode stated, to realize the quick purpose for mending card.
Also, stopped production or because of the function IC-card for stopping production for closing on the market at present, using in the embodiment of the present invention
Card mode is mended to be convenient to.For example, for a kind of combustion gas card of specific model, for some reason may producer stopped production
Not reproduction, but if the combustion gas card that be replaced by another model, corresponding gas meter, flow meter cannot just may make again
With, so also just also need to change corresponding gas meter, flow meter again, however, the price of gas meter, flow meter is general higher, if high-volume is changed
If cost it is just too high, cause the wasting of resources, now, initial IC-card is activated according to the method that the embodiment of the present invention is provided
It is corresponding combustion gas card, then can then solve the model combustion gas card and change asking for gas meter, flow meter due to being needed caused by stopping production
Topic, reduces production cost, while the replacing of gas meter, flow meter can also be avoided, economizes on resources.
In addition, after by the activation of initial IC-card for the feature capability of foregoing N kind function IC-cards, can also be by M generation
Remove the data stored in other code areas outside N number of code area corresponding with N kind function IC-cards in code area to delete, for example
Included code is transformed to after combustion gas card with by initial IC-card in by running code area 1 as shown in Figure 2, then may be used
To delete the code included by code area 2- code areas 4, because after the activation of initial IC-card, in code area 2- code areas 4
Code is equivalent to just into invalid data, be now deleted can be for IC-card vacates more memory spaces, so that the later stage exists
The use data of user can be as often as possible stored during use.
In practice, can be through the above way one function IC-card of user's neocaine, or can also be made up for user
The function IC-card lost or damage, when being that when making up function IC-card, initial IC-card can also receive activation after being activated
The first history transmitted by control device uses data, and the first history is use number corresponding with first user mark using data
According to, and first user mark card number that e.g. address name, user identity card number or needs are made up etc. can be identified for that use
The information of family identity, and the first history is that user needs the function IC-card made up (to be for example referred to as the first function IC using data
Card) before the history that is used use data, further, then the first history is used into the in the initial IC-cards of data Cun Chudao
In one storage region, and the first storage region be in initial IC-card for the first function IC-card distributed for storing the first
The storage region of the use data of function IC-card, such as during follow-up use, the institute related to the first function IC-card
Have in can depositing in the first storage region using data.
Because user is if mending card, then user is lost or the card that damages among be usually the making of user of being stored with
With data, so can cause not influenceing the continuation of user normally to use after card is mended through the above way, for example, mended
What is done is electric card, and before loss, user has just supplemented 30 yuan of the electricity charge with money, the number in the electric card that will be lost through the above way
According to updating in the electric card newly made up, supplemented with money in the electric card insertion ammeter that user then directly will can newly make up, i.e.,
The 30 yuan of electricity charge that will be supplemented with money before are input in ammeter, realize truly supplement power purchase with money, with ensure user mend card after
Normal use.
In specific implementation process, for network system or gas burning system, can be by the use data set of all users
In a server, activation control device can obtain go through corresponding with each ID from this server for middle storage
History uses data,
A kind of possible situation is only to have activated a kind of function of function IC-card when initial IC-card is activated, for example, only swash
Live the function of combustion gas card.In such a case, when in the combustion gas card insertion gas meter, flow meter that will be activated, then can be by combustion gas card
In data-signal contact with the slot in gas meter, flow meter in corresponding contact carry out data interaction, to realize combustion gas card and combustion gas
Data communication between table.
Alternatively possible situation is to have activated the function of various function IC-cards simultaneously when initial IC-card is activated, for example
The function of combustion gas card and electric card is have activated simultaneously.In such a case, how to ensure that user is using combustion gas card and electric card respectively
Function when do not result in function and obscure and normally useA kind of optional implementation method is as follows:
After initial IC-card is activated, i.e., after the function IC-card for obtaining activation, user can be entered using the IC-card
Row normally is used, and for example user can be by the IC-card corresponding measuring equipment of insertion, such as metering corresponding with combustion gas card
Equipment is gas meter, flow meter, and measuring equipment corresponding with electric card is then ammeter, and the function IC-card for now activating can be by signalling contact
Second voltage signalling contact in group 23 detects the second contact voltage that the IC-card is accessed, further according to voltage range and function IC
Corresponding relation between Card Type, it is determined that with the IC-card type corresponding to the second predetermined voltage range belonging to the second contact voltage
It is second function IC-card, and is communicated with the measuring equipment for being contacted with the corresponding function of second function IC-card.
That is, can in advance for the IC-card of difference in functionality sets different operating voltage ranges.For example, being gas meter, flow meter
The operating voltage range set with electric card is respectively [3.0V, 3.8V] and [4.5V, 5.2V], then during use, is used
When family is desirable for combustion gas card corresponding function, during IC-card directly inserted into gas meter, flow meter, can be from by the contact with gas meter, flow meter
Operating voltage (the second i.e. foregoing contact voltage) is obtained at gas meter, flow meter, such as the second now detected contact voltage is
3.3V, the voltage range of [3.0V, 3.8V] is belonged to due to 3.3V, then the IC-card for being activated according to 3.3V, just now use by can be known
What family was desirable for is the function of combustion gas card, and then then can be with the corresponding function of combustion gas card and the equipment for being contacted (i.e. gas meter, flow meter)
Communicated, without being communicated with gas meter, flow meter with the function of electric card by mistake, so may insure effectively using for IC-card, it is to avoid
Occur responding by mistake.
In the embodiment of the present invention, foundation is connected between initial IC-card can determine and activate control device, and initial IC-card
Include M code area, and initial IC is enabled to by running the code included by any code area in M code area
Fixture is obtained for the function included by a kind of corresponding function IC-card, then after it is determined that setting up connection and activation control device between
The activation control instruction of control device transmission must be activated, and activates control instruction to be separately operable M code according to received
The code included by N number of code area in area, to cause initial IC-card activation corresponding respectively with the code included by N number of code area
N kind function IC-cards function, will finally have activated N kind function IC-cards function initial IC-card as activation function IC
Card.
That is, in embodiments of the present invention, can be by the corresponding function of various function IC-cards with the side of software code
Formula is stored in advance in initial IC-card, so according to activation control device transmitted by activation control instruction initial IC-card is carried out
Activation, such as when user needs to make up combustion gas card, then can send activation combustion gas card by activating control device to initial IC-card
The activation control instruction of corresponding function, then initial IC-card then can be by operation and combustion after activation control instruction is received
Code included by the corresponding code area of gas card is activating function corresponding with combustion gas card, then have activated the function of combustion gas card
Initial IC-card can then substitute combustion gas card and use, that is, realize the benefit card or the purpose replaced of function IC-card.
By the technical scheme in the embodiment of the present invention, it is possible to achieve the benefit card of the IC-card of low cost or replacement, without more
Gauge table corresponding with IC-card is changed, the economic expenditure of user is reduced, while can also economize on resources.Simultaneously as need to only pass through
Activation control device can just realize the quick replacement of IC-card and make up, imitate to the mode that initial IC-card sends activation control instruction
Rate is higher, and simple to operate, is suitable to extensive use.
Based on same inventive concept, the embodiment of the present invention also provides a kind of IC-card, as shown in Fig. 2 the IC-card includes
MCU21, memory 22 and groups of signal contacts 23, groups of signal contacts 23 may include at least two signalling contacts, memory 22 and letter
Number contact sets 23 are connected with MCU1.
Wherein, memory 22 includes M code area, by running the generation included by any code area in M code area
Code enables to IC-card to possess the function included by a kind of corresponding function IC-card, and M is positive integer;
MCU21, for determining to set up connection between IC-card and activation control device;Obtain swashing for activation control device transmission
Control instruction living, wherein, activation control instruction is used for the function of indicating IC-card to activate N kind function IC-cards, and N is less than or equal to M's
Integer;According to activation control instruction, the generation that N number of code area corresponding with N kind function IC-cards in M code area includes is separately operable
Code, to cause that IC-card activates the function of N kind function IC-cards;And will activate N kind function IC-cards function IC-card as activation
Function IC-card.
In a kind of possible implementation method, MCU21 is used to determine to set up connection between IC-card and activation control device, can
To include:
If the first contact electricity accessed by the IC-card that the first voltage signalling contact in groups of signal contacts 23 is detected
Pressure belongs to the first predetermined voltage range, it is determined that set up connection between IC-card and activation control device;Or
If the device identification indicated by the equipment identification information that the data-signal contact in groups of signal contacts 23 is received
Belong to premise equipment logo collection, it is determined that set up connection between initial IC-card and activation control device.
In a kind of possible implementation method, MCU21 can be also used for:
Using activate N kind function IC-cards function IC-card as activation function IC-card after, receive activation control set
The first history corresponding with first user mark that preparation is sent uses data;Wherein, the first history is and N kind functions using data
The history corresponding to the first function IC-card in IC-card uses data;
In the first storage region by the first history using data Cun Chudao memories 22;Wherein, the first storage region is
For storing the storage region with the use data corresponding to the first function IC-card.
In a kind of possible implementation method, MCU21 can be also used for:
Using activate N kind function IC-cards function IC-card as activation function IC-card after, by groups of signal contacts
The second contact voltage that the function IC-card of the second voltage signalling contact detection activation in 23 is accessed;
According to the corresponding relation between voltage range and function IC-card type, it is determined that with second belonging to the second contact voltage
IC-card type corresponding to predetermined voltage range is second function IC-card;
Communicated with the equipment for being contacted with the corresponding function of second function IC-card.
In a kind of possible implementation method, MCU21 can be also used for:
Using activate N kind function IC-cards function IC-card as activation function IC-card after, delete M code area in
Remove the data stored in other code areas outside N number of code area.
In specific implementation process, the IC-card in the embodiment of the present invention can be not understood as foregoing initial IC-card, institute
The explanation of the method for foregoing any activation IC-card is may refer to the implementation for the IC-card in the embodiment of the present invention, herein
Repeat no more.
In the embodiment of the present invention, the corresponding function of various function IC-cards can be stored in advance in the way of software code
In initial IC-card, because IC-card of the prior art is usually to be built by hardware circuit, and in the embodiment of the present invention quite
Then instead of the hardware circuit in IC-card of the prior art in the way of software module, be so more conducive to IC-card replacing and
Supplement, while can also reduces cost.
It is apparent to those skilled in the art that, for convenience and simplicity of description, only with above-mentioned each function
The division of unit is carried out for example, in practical application, as needed can distribute by different function lists above-mentioned functions
Unit completes, will the internal structure of device be divided into different functional units, to complete all or part of work(described above
Energy.The specific work process of the system, apparatus, and unit of foregoing description, may be referred to corresponding in preceding method embodiment
Journey, will not be repeated here.
In several embodiments provided by the present invention, it should be understood that disclosed system, apparatus and method can be with
Realize by another way.For example, device embodiment described above is only schematical, for example, the unit or
The division of unit, only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units
Or component can be combined or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, institute
Display or the coupling each other for discussing or direct-coupling or communication connection can be by some interfaces, device or unit
INDIRECT COUPLING or communication connection, can be electrical, mechanical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme
's.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list
Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is to realize in the form of SFU software functional unit and as independent production marketing or use
When, can store in a computer read/write memory medium.Based on such understanding, the technical scheme of the application is substantially
The part for being contributed to prior art in other words or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are used to so that a computer
Equipment (can be personal computer, server, or network equipment etc.) or processor (processor) perform the application each
The all or part of step of embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc
Or CD etc. is various can be with the medium of store program codes.
The above, above example is only used to be described in detail technical scheme, but implements above
The explanation of example is only intended to help and understands the method for the present invention and its core concept, should not be construed as limiting the invention.This
Those skilled in the art the invention discloses technical scope in, the change or replacement that can be readily occurred in should all be covered
Within protection scope of the present invention.
Claims (10)
1. it is a kind of activate integrated circuit IC-card method, it is characterised in that including:
It is determined that setting up connection between initial IC-card and activation control device;Wherein, the initial IC-card includes M code area,
The initial IC-card is enabled to possess corresponding by running the code included by any code area in the M code area
A kind of function included by function IC-card, M is positive integer;
Obtain the activation control instruction that the activation control device sends;Wherein, the activation control instruction is described for indicating
Initial IC-card activates the function of N kind function IC-cards, and N is the integer less than or equal to M;
According to the activation control instruction, N number of generation corresponding with the N kinds function IC-card in the M code area is separately operable
The code that code area includes, to cause that the initial IC-card activates the function of the N kinds function IC-card;
The initial IC-card of the function of the N kinds function IC-card as the function IC-card of activation will be activated.
2. the method for claim 1, it is characterised in that it is determined that the company of foundation between initial IC-card and activation control device
Connect, including:
If the first contact accessed by the described initial IC-card that the first voltage signalling contact of the initial IC-card is detected
Voltage belongs to the first predetermined voltage range, it is determined that connection is set up between the initial IC-card and the activation control device;Or
If belonging to pre- by the device identification that the equipment identification information that the data-signal contact of the initial IC-card is received is indicated
Locking equipment logo collection, it is determined that connection is set up between the initial IC-card and the activation control device.
3. the method for claim 1, it is characterised in that in the initial IC of the function by the N kinds function IC-card is activated
Block after the function IC-card as activation, methods described also includes:
The first history corresponding with first user mark for receiving the activation control device transmission uses data;Wherein, it is described
First history is to use data with the history corresponding to the first the function IC-card in the N kinds function IC-card using data;
First history is used in the first storage region in initial IC-card described in data Cun Chudao;Wherein, described first
Storage region is for storing the storage region with the use data corresponding to described the first function IC-card.
4. the method as described in any claim in claim 1-3, it is characterised in that the N kinds function IC will activated
After function IC-card of the initial IC-card of the function of card as activation, methods described also includes:
Detect that the function IC-card of the activation accessed by the second voltage signalling contact of the function IC-card of the activation the
Two contact voltages;
According to the corresponding relation between voltage range and function IC-card type, it is determined that with second belonging to second contact voltage
IC-card type corresponding to predetermined voltage range is second function IC-card;
Communicated with the equipment for being contacted with the corresponding function of second function IC-card.
5. the method as described in any claim in claim 1-3, it is characterised in that the N kinds function IC will activated
After function IC-card of the initial IC-card of the function of card as activation, methods described also includes:
Delete the data stored in other code areas for removing in the M code area outside N number of code area.
6. a kind of integrated circuit IC-card, it is characterised in that the IC-card includes micro-control unit MCU, memory and signalling contact
Group, the memory and the groups of signal contacts are connected with the MCU, and the groups of signal contacts is touched including at least two signals
Point;Wherein:
The memory includes M code area, by running the code energy included by any code area in the M code area
Enough so that the IC-card possesses the function included by a kind of corresponding function IC-card, M is positive integer;
The MCU, for determining to set up connection between the IC-card and activation control device;Obtain the activation control device hair
The activation control instruction sent, wherein, the activation control instruction is used for the function of indicating the IC-card to activate N kind function IC-cards, N
It is the integer less than or equal to M;According to the activation control instruction, it is separately operable in the M code area and the N kinds function IC
Block the code that corresponding N number of code area includes, to cause that the IC-card activates the function of the N kinds function IC-card;And will swash
The IC-card of the function of the work N kinds function IC-card is used as the function IC-card for activating.
7. IC-card as claimed in claim 6, it is characterised in that the MCU is used to determine the IC-card with activation control device
Between set up connection, including:
If the first contact accessed by the IC-card that the first voltage signalling contact in the groups of signal contacts is detected
Voltage belongs to the first predetermined voltage range, it is determined that connection is set up between the IC-card and the activation control device;Or
If being belonged to by the device identification that the equipment identification information that the data-signal contact in the groups of signal contacts is received is indicated
In premise equipment logo collection, it is determined that set up connection between the initial IC-card and the activation control device.
8. IC-card as claimed in claim 6, it is characterised in that the MCU is additionally operable to:
The function using the N kinds function IC-card is activated IC-card as after the function IC-card of activation, receive the activation control
The first history corresponding with first user mark that control equipment sends uses data;Wherein, first history is using data
Data are used with the history corresponding to the first the function IC-card in the N kinds function IC-card;
In the first storage region by first history using memory described in data Cun Chudao;Wherein, first storage
Region is for storing the storage region with the use data corresponding to described the first function IC-card.
9. the IC-card as described in any claim in claim 6-8, it is characterised in that the MCU is additionally operable to:
The function using the N kinds function IC-card is activated IC-card as after the function IC-card of activation, touched by the signal
Second voltage signalling contact in point group detects the second contact voltage that the function IC-card of the activation is accessed;
According to the corresponding relation between voltage range and function IC-card type, it is determined that with second belonging to second contact voltage
IC-card type corresponding to predetermined voltage range is second function IC-card;
Communicated with the equipment for being contacted with the corresponding function of second function IC-card.
10. the IC-card as described in any claim in claim 6-8, it is characterised in that the MCU is additionally operable to:
The function using the N kinds function IC-card is activated IC-card as after the function IC-card of activation, delete the M code
The data stored in other code areas outside N number of code area are removed in area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710035739.XA CN106874808B (en) | 2017-01-17 | 2017-01-17 | Method for activating IC card and IC card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710035739.XA CN106874808B (en) | 2017-01-17 | 2017-01-17 | Method for activating IC card and IC card |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106874808A true CN106874808A (en) | 2017-06-20 |
CN106874808B CN106874808B (en) | 2019-12-13 |
Family
ID=59158032
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710035739.XA Active CN106874808B (en) | 2017-01-17 | 2017-01-17 | Method for activating IC card and IC card |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106874808B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2119012U (en) * | 1992-05-16 | 1992-10-14 | 金文哲 | Fee collector for electricity |
JP2012198901A (en) * | 2012-04-17 | 2012-10-18 | Dainippon Printing Co Ltd | Ic card, and program for ic card |
CN103455828A (en) * | 2012-06-04 | 2013-12-18 | 深圳商联商用科技有限公司 | Method and system for achieving all-purpose card |
CN103778448A (en) * | 2012-10-25 | 2014-05-07 | 中国银联股份有限公司 | Multi-application smart card management system and method |
CN106157438A (en) * | 2016-07-05 | 2016-11-23 | 新智数字科技有限公司 | A kind of data processing method being applied to all-purpose card and all-purpose card |
-
2017
- 2017-01-17 CN CN201710035739.XA patent/CN106874808B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2119012U (en) * | 1992-05-16 | 1992-10-14 | 金文哲 | Fee collector for electricity |
JP2012198901A (en) * | 2012-04-17 | 2012-10-18 | Dainippon Printing Co Ltd | Ic card, and program for ic card |
CN103455828A (en) * | 2012-06-04 | 2013-12-18 | 深圳商联商用科技有限公司 | Method and system for achieving all-purpose card |
CN103778448A (en) * | 2012-10-25 | 2014-05-07 | 中国银联股份有限公司 | Multi-application smart card management system and method |
CN106157438A (en) * | 2016-07-05 | 2016-11-23 | 新智数字科技有限公司 | A kind of data processing method being applied to all-purpose card and all-purpose card |
Also Published As
Publication number | Publication date |
---|---|
CN106874808B (en) | 2019-12-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107193750A (en) | A kind of script method for recording and device | |
EP1457922A2 (en) | Smart card that can be configured for debugging and software development using secondary communication port | |
CN110334009A (en) | Automatic example generation method, device, terminal and storage medium | |
EP1726097A1 (en) | Portable universal data storage device | |
CN103513994A (en) | Method and system for carrying out FPGA on-line upgrading through PCIE | |
CN205068456U (en) | Three blocks of a finance read write line | |
CN105224057B (en) | A kind of Dynamic Configuration and system of battery of mobile terminal ID | |
US10552826B2 (en) | Selecting an application on a card | |
CN103995765B (en) | A kind of LED control card Auto-Test System and method | |
CN111931883A (en) | IC card system capable of cloud reading and writing and method thereof | |
CN106874808A (en) | A kind of method and IC-card for activating IC-card | |
CN100334569C (en) | Memory card identification method and marking equipment | |
CN206041170U (en) | Adapter and quick -witted communication system of card | |
CN203720863U (en) | Large-capacity-USIM mass-storage issuing device | |
CN201449614U (en) | Multimode card reader | |
CN109144528B (en) | Method and system for automatically detecting pins and identifying specific type of SPI Flash | |
CN103902298A (en) | Instruction set firmware recovery state information setting method and device | |
CN109359970B (en) | Smart card management method and device and terminal equipment | |
CN206363299U (en) | A kind of control circuit of RAM card | |
CN207354270U (en) | A kind of School of High Profession Technology poor student consumption data acquisition system based on NFC | |
CN109086840A (en) | Read and write integrated device and system | |
CN210324408U (en) | NFC card for IC card gas meter and gas payment system | |
CN209168120U (en) | A kind of embedded ID card information reader | |
CN219320772U (en) | Circuit capable of identifying two smart cards and corresponding electronic equipment | |
CN202632300U (en) | Card reader |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |