CN101706861B - Method and device for realizing adaptation of communication protocol of intelligent card - Google Patents

Method and device for realizing adaptation of communication protocol of intelligent card Download PDF

Info

Publication number
CN101706861B
CN101706861B CN200910091500.XA CN200910091500A CN101706861B CN 101706861 B CN101706861 B CN 101706861B CN 200910091500 A CN200910091500 A CN 200910091500A CN 101706861 B CN101706861 B CN 101706861B
Authority
CN
China
Prior art keywords
communication protocol
state information
smart card
information acquisition
configuration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN200910091500.XA
Other languages
Chinese (zh)
Other versions
CN101706861A (en
Inventor
周斌
潘雪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Watchdata Co ltd
Original Assignee
Beijing WatchData System Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing WatchData System Co Ltd filed Critical Beijing WatchData System Co Ltd
Priority to CN200910091500.XA priority Critical patent/CN101706861B/en
Publication of CN101706861A publication Critical patent/CN101706861A/en
Application granted granted Critical
Publication of CN101706861B publication Critical patent/CN101706861B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a device for realizing the adaptation of a communication protocol of an intelligent card. According to the technical scheme, the accuracy and the reliability of the adaptation of the communication protocol of the intelligent card can be improved without user participation. The main technical scheme comprises the following steps: acquiring operation state information about a currently configured communication protocol of the intelligent card; and converting the currently configured communication protocol of the intelligent card into a predetermined communication protocol when the configured communication protocol of the intelligent is determined not to match a terminal support communication protocol according to the operation state information.

Description

A kind of method and device of realizing adaptation of communication protocol of intelligent card
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method and device of realizing adaptation of communication protocol of intelligent card.
Background technology
All communication systems are all comprised of software systems and these two parts of hardware system, and communication protocol is very important basic link in software systems, it can be understood to the platform that key interface between software function and particular hardware and software function realize, based on communication protocol, communication system completes the transmission of information with mutual.
In smart card communications field, there is at present various communications protocols type, such as TypeA, TypeB, TypeC, TypeD etc.Existing intelligent card chip generally can be supported these two kinds of communication protocol type of TypeA and TypeB, can also supporting of having comprises the communication protocol of the other types of TypeC, when the communication protocol type of smart card operating system Set For Current and the communication protocol type of terminal are not mated, just communication protocol type corresponding to smart card operating system need to be converted to consistent with the communication protocol type of terminal, thereby guarantee can to communicate by letter normally between smart card and terminal.
Prior art one has proposed a kind ofly by user, manually for smart card operating system, to select the method for communication protocol type, in the method, by user, judged whether to carry out the conversion of the communication protocol that smart card operating system is corresponding, and by user, to smart card transmit operation instruction, to control smart card, communicate protocol conversion when definite need to conversion.Generally in smart card performance history, the corresponding relation of the communication protocol type that the pre-defined operational order of smart card developer and smart card are supported, when smart card receives the operational order of user's transmission, according to this corresponding relation, by communication Protocol Conversion corresponding to smart card operating system, be communication protocol type corresponding to operational order sending with user.The method can realize the conversion of simple communication protocol of intelligent card, but needs user to judge whether conversion, and due to the subjectivity of user behavior, the opportunity that therefore judgement is changed is inaccurate, thereby makes to switch weak effect; And the realization of the method needs user to be familiar with the corresponding relation of protocol type and operational order and protocol type, and then determine whether to carry out the conversion of protocol type.And in fact a lot of users protocol type corresponding to unclear concrete application so the realization of the method is high to user's operation requirements, and because the conversion between communication protocol is all manually completed by user, have caused inconvenience to user.
Prior art two has proposed a kind of Frame that differs from the current communication protocol type of card intelligence sheet by reception, with the protocol type of selecting smart card system to be supported, particularly:
Smart card is after receiving the instruction that differs from current communication protocol type, chip is automatically by the flag set of certain register of inside, smart card can check the set situation of this register-bit in routine processes subsequently, if find this register set, enter setting processing module, this module is configured to the type corresponding with the instruction receiving by smart card, thereby realizes type conversion.Current all smart cards have one to wait for the state (being holding state) receiving, if smart card receives the Frame identical with current protocol type, smart card is jumped out this holding state, and carries out subsequent operation.If but smart card receives the Frame that differs from current protocol type, smart card may be jumped out holding state, also may not jump out holding state, this depends on performance and the residing radio-frequency field environment of intelligent card chip completely.Generally, intelligent card chip is after jumping out holding state, by one for identifying wrong marker bit set, if but smart card differs from the Frame of current protocol type but does not jump out holding state receiving, just can set for identifying wrong marker bit set, cause the repeatedly reception instruction different from current protocol type and cannot carry out self-adaptation, thereby affect user's proper communication.
In fact, in a lot of practical application, electrical specification due to intelligent card chip itself, and the difference of specific environment (such as magnetic field intensity, depth of modulation, sequential etc.), the simple stability that relies on chip self character, stability to guarantee self-adaptation application is inadequate, tends to run into the situation that self-adaptation success ratio is very low.For example, same method is applied to different smart cards, and probably because the difference of intelligent card chip characteristic causes some smart card can self-adaptation, and other smart card can not self-adaptation; Some smart card is adaptive effective, and the adaptive effect of other smart card is bad.Equally, also may be due to environment for use, a same sheet smart card can self-adaptation in some environment, but lower under other environment just cannot self-adaptation; In some environment, self-adaptation is effective, but self-adaptation effect is bad under other environment.
In sum, in existing communication protocol of intelligent card conversion method, for the mode that needs user to participate in, poor and the user of conversion effect operates inconvenience, for the mode of self-adaptation conversion, the weak effect of conversion, and there is the problem that cannot carry out protocol conversion in time and affect user's proper communication.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of method and device of realizing adaptation of communication protocol of intelligent card, according to this technical scheme, can, in the situation that participating in without user, improve accuracy and the reliability of adaptation of communication protocol of intelligent card.
The embodiment of the present invention is achieved through the following technical solutions:
According to the embodiment of the present invention aspect, provide a kind of method that realizes adaptation of communication protocol of intelligent card.
The method that realizes adaptation of communication protocol of intelligent card providing according to the embodiment of the present invention, comprising:
Obtain the running state information of the communication protocol of the current configuration of smart card;
When the communication protocol of determining described smart card configuration according to described running state information is not mated with the communication protocol of its place terminal support, by the communication Protocol Conversion of the current configuration of described smart card, be default communication protocol.
According to another aspect of the embodiment of the present invention, also provide a kind of device of realizing adaptation of communication protocol of intelligent card.
The device of realizing adaptation of communication protocol of intelligent card providing according to the embodiment of the present invention, comprising:
State information acquisition unit, for obtaining the running state information of the communication protocol of the current configuration of smart card;
Determining unit, determines the matching between the communication protocol of described smart card configuration and the communication protocol of terminal support for the running state information of obtaining according to described state information acquisition unit;
Conversion unit of protocol when determining that when described determining unit the communication protocol of described smart card configuration is not mated with the communication protocol of its place terminal support, is default communication protocol by the communication Protocol Conversion of the current configuration of described smart card.
Above-mentioned at least one technical scheme providing by the embodiment of the present invention, by obtaining the running state information of the communication protocol of the current configuration of smart card, and according to the running state information of obtaining, determine whether the communication protocol configuring in this smart card mates with the communication protocol of mobile terminal support, and determining while not mating, by the communication Protocol Conversion of the current configuration of this smart card, be default communication protocol, thereby can according to the running status of smart card, determine whether the communication protocol configuring in this smart card needs to carry out self-adaptation in time, this process participates in without user, can control exactly the self-adaptation of communication protocol of intelligent card, and improved the reliability of adaptation of communication protocol of intelligent card.
Other features and advantages of the present invention will be set forth in the following description, and, partly from instructions, become apparent, or understand by implementing the present invention.Object of the present invention and other advantages can be realized and be obtained by specifically noted structure in the instructions write, claims and accompanying drawing.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for instructions, is used from explanation the present invention with the embodiment of the present invention one, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 realizes the method flow diagram of adaptation of communication protocol of intelligent card in the embodiment of the present invention;
Fig. 2 is that in the embodiment of the present invention, smart card will be configured and initialized process flow diagram this communication protocol of intelligent card after powering on;
Fig. 3 is the adaptive treatment scheme one of communication protocol of intelligent card in the embodiment of the present invention;
Fig. 4 is the adaptive treatment scheme two of communication protocol of intelligent card in the embodiment of the present invention;
Fig. 5 is the adaptive treatment scheme three of communication protocol of intelligent card in the embodiment of the present invention;
Fig. 6 is the adaptive treatment scheme four of communication protocol of intelligent card in the embodiment of the present invention;
Fig. 7 is the adaptive treatment scheme five of communication protocol of intelligent card in the embodiment of the present invention;
Fig. 8 is the adaptive treatment scheme six of communication protocol of intelligent card in the embodiment of the present invention;
Fig. 9 is the adaptive treatment scheme seven of communication protocol of intelligent card in the embodiment of the present invention;
Figure 10 is the device schematic diagram one of realizing adaptation of communication protocol of intelligent card in the embodiment of the present invention;
Figure 11 is the device schematic diagram two of realizing adaptation of communication protocol of intelligent card in the embodiment of the present invention;
Figure 12 is the device schematic diagram three of realizing adaptation of communication protocol of intelligent card in the embodiment of the present invention;
Figure 13 is the device schematic diagram four of realizing adaptation of communication protocol of intelligent card in the embodiment of the present invention;
Figure 14 is the device schematic diagram five of realizing adaptation of communication protocol of intelligent card in the embodiment of the present invention.
Embodiment
In order to provide, improve the accuracy of adaptation of communication protocol of intelligent card and the implementation of self-adaptation effect, the embodiment of the present invention provides a kind of method and device of realizing adaptation of communication protocol of intelligent card, below in conjunction with Figure of description, the preferred embodiments of the present invention are described, be to be understood that, preferred embodiment described herein only, for description and interpretation the present invention, is not intended to limit the present invention.And in the situation that not conflicting, embodiment and the feature in embodiment in the application can combine mutually.
According to the embodiment of the present invention, first a kind of method that realizes adaptation of communication protocol of intelligent card is provided, by the method, can realize exactly the self-adaptation of the communication protocol of communication protocol in smart card and terminal.
Fig. 1 realizes the method flow diagram of adaptation of communication protocol of intelligent card in the embodiment of the present invention, as shown in Figure 1, mainly comprise the steps:
Step 101, obtain the running state information of the communication protocol of the current configuration of smart card;
The running state information that step 102, basis are obtained determines whether the communication protocol of this smart card configuration mates with the communication protocol of terminal support;
If step 103 is determined the communication protocol of this smart card configuration, do not mate with the communication protocol of terminal support, perform step 104, otherwise execution step 105;
Step 104 is default communication protocol by the communication Protocol Conversion of the current configuration of this smart card;
Step 105, according to the communication protocol of the current configuration of this smart card, communicate and be connected with terminal.
According to the embodiment of the present invention, after powering on, smart card to be configured and initialization this communication protocol of intelligent card, and concrete processing procedure as shown in Figure 2, comprises the steps:
The state that smart card enters before radio-frequency field is POWER-OFF, and noenergy state, enters after radio-frequency field, and smart card obtains energy by magnetic Field Coupling, and intelligent card chip powers on and carries out following flow process:
Step 201, from default communication protocol type, determine the current communication protocol type that will configure of smart card;
Step 202, obtain configuration information corresponding to definite communication protocol type;
In this step, the configuration information obtaining comprises protocol type, transfer rate and other parameter and variable relevant to communication connection, for subsequent treatment, uses.
The configuration information initialization smart card operating system that step 203, basis are obtained;
The initialization of communication protocol after being completed smart card and powered on by said process, smart card, after the initialization that completes communication protocol, enters the self-adaptive processing flow process of communication protocol of intelligent card.
In above-mentioned flow process, in step 201, default communication protocol type can be accomplished in several ways, and for example, sets in advance communication protocol type table, and this table comprises various communications protocols type, and priority corresponding to each communication protocol type.After smart card powers on, the communication protocol type of the first priority is defined as to the current communication protocol type that will configure of smart card go forward side by side line correlation configuration and initialization.Wherein, in communication protocol type table, the priority of each communication protocol type dynamically updates according to init state and self-adaptation state, specific as follows:
For convenience of understanding, suppose to set in advance communication protocol type table and comprise A, B, C, the communication protocol of D Four types, and priority is followed successively by earth by height: A-> B-> C-> D, according to this communication protocol type table, after smart card powers on, the communication protocol of determining category-A type is as the current communication protocol that will configure of smart card and carry out relevant configuration and initialization, then the update strategy based on default upgrades this communication protocol type table, wherein update strategy can arrange flexibly, for example this update strategy can be set to: priority corresponding to the current communication protocol type having configured is set to minimum, the priority update of the communication protocol type that communication protocol type table can be comprised according to this update strategy is B-> C-> D-> A, the priority of communication correspondence that is category-B type is the highest, if the communication protocol of the category-A type having configured current is not mated with terminal communication protocol, the communication protocol in smart card is converted to category-B type by category-A type.
Above-mentioned communication protocol type table upgrades during except initialization after terminal powers on, and can also upgrade according to self-adaptation result, specific as follows:
When the communication protocol that the communication protocol configuring in determining smart card is supported with terminal is mated, utilize the communication protocol of current smart card configuration to upgrade communication protocol type table, the communication protocol type that is about to current smart card configuration is updated to the first priority in communication protocol type table.
Should be appreciated that the above update strategy for communication protocol type table can arrange flexibly, does not enumerate herein.And communication protocol type table only, for a kind of existing way of the various communications protocols type that sets in advance in the embodiment of the present invention, can also exist with the alternate manner beyond list.And, in actual applications, the priority of a communication protocol type in communication protocol type table also can be set, and the random wherein a kind of communication protocol type of selecting during communication protocol in carrying out configurable smart card, and the communication protocol type of selection is designated and is configured, upper while once selecting this communication protocol type not at the row of selection until in communication protocol type table all communication protocol type be all identified as and configure.
In one embodiment of the invention, the running state information of the communication protocol of the current configuration of smart card comprises:
This smart card completes the standby time information (convenient for subsequent descriptions, to be called A information) after current communication protocol in configuration; Or/and,
This smart card is to the process state information of the data that receive (convenient for subsequent descriptions, to be called B information).
Wherein:
The standby time that smart card completes after current communication protocol in configuration can, after completing communication protocol of intelligent card configuration, be realized by counter; Obtaining A information can determine by reading the count value of counter;
Smart card can be realized by the bit-identify in register the treatment state of the data that receive, when smart card to the execution of the data that receive processing, by this bit-identify set, therefore, obtaining B information can take and determine that treatment state is as untreated or processed by reading the SM set mode of this bit-identify.
Be to be understood that, the expression mode of above-mentioned cited A information and B information is only for implementing a kind of mode of the embodiment of the present invention, can be provided for flexibly representing as required the mode of A information and B information, for example, A information can also represent by other timing device or Trigger of time, and B information can also represent by low and high level, represents processed when high level, during low level, represent untreatedly, do not enumerate herein.
As shown in Figure 3, after completing the configuration of communication protocol of intelligent card and initialization, when the running state information of the communication protocol of the current configuration of smart card comprises A information and realize the counting to the standby time in A information by counter, the adaptive process of communication protocol of intelligent card comprises:
Step 301, initialization are also opened counter;
Step 302, read the value of counter;
Step 303, judge whether the value of counter overflows, whether surpass and set duration, if so, perform step 304, otherwise execution step 305;
Step 304, the configuration of returning to communication protocol of intelligent card and initialization flow process (being the flow process shown in Fig. 2);
The communication protocol that step 305, the communication protocol of determining the current configuration of smart card are supported with terminal is mated, and communicates and be connected with terminal according to the communication protocol of the current configuration of this smart card.
Generally, smart card complete power on and initial configuration after can enter holding state, wait for extraneous instruction.Before this this holding state, initialization is also opened counter.If smart card is not still jumped out holding state before counter overflow, the extraneous Frame instruction that has probably sent the communication protocol type that differs from the current configuration of smart card of explanation, and because the reason of intelligent card chip own has been made the false judgment of not receiving protocol instructions, cause smart card always in holding state, thereby cannot communicate the self-adaptation of agreement.For fear of this situation, in above-mentioned flow process, when determining that according to A information the standby time of smart card after configuration completes current communication protocol surpasses setting duration, think that the communication protocol type of the current configuration of smart card and the communication protocol type of terminal support do not meet, determine that the communication protocol of this smart card configuration is not mated with the communication protocol of terminal support.
As shown in Figure 4, after completing the configuration of communication protocol of intelligent card and initialization, when the running state information of the communication protocol of the current configuration of smart card comprises B information and represents the treatment state in B information by the bit-identify in register, the adaptive process of communication protocol of intelligent card comprises:
Step 401, read setting for representing the bit-identify state of the register of B information;
Step 402, judge the whether set of this bit-identify, if not, perform step 403, if so, perform step 404;
Step 403, the configuration of returning to communication protocol of intelligent card and initialization flow process (being the flow process shown in Fig. 2);
The communication protocol that step 404, the communication protocol of determining the current configuration of smart card are supported with terminal is mated, and communicates and be connected with terminal according to the communication protocol of the current configuration of this smart card.
Generally, smart card is when receiving the Frame being consistent with communication protocol type own, smart card can be processed this Frame according to normal flow, but if smart card is while receiving the Frame that differs from communication protocol type own, although smart card can be jumped out holding state, but may exist because intelligent card chip cannot be processed the Frame of receiving and again get back to holding state, thereby cannot communicate the self-adaptation of agreement.Appearance for fear of this situation, in above-mentioned flow process, in described process state information while being untreated, think that the communication protocol type of the current configuration of smart card and the communication protocol type of terminal support do not meet, determine that the communication protocol of this smart card configuration is not mated with the communication protocol of terminal support.
As shown in Figure 5, after completing the configuration of communication protocol of intelligent card and initialization, when the running state information of the communication protocol of the current configuration of smart card comprises A information and B information, and by counter realize the counting of the standby time in A information, while representing the treatment state in B information by the bit-identify in register, the adaptive process of communication protocol of intelligent card comprises:
Step 501, initialization are also opened counter;
Step 502, read the value of counter;
Step 503, judge whether the value of counter overflows, whether surpass and set duration, if so, perform step 506, otherwise execution step 504;
Step 504, read setting for representing the bit-identify state of the register of B information;
Step 505, judge the whether set of this bit-identify, if not, perform step 506, if so, perform step 507;
Step 506, the configuration of returning to communication protocol of intelligent card and initialization flow process (being the flow process shown in Fig. 2);
The communication protocol that step 507, the communication protocol of determining the current configuration of smart card are supported with terminal is mated, and communicates and be connected with terminal according to the communication protocol of the current configuration of this smart card.
In above-mentioned flow process, the process that reads the value of counter and judge according to the value of the counter reading with read setting for representing the bit-identify state of register and the execution sequence interchangeable of the process that judges according to the bit-identify state reading of B information, in judgement when representing the bit-identify set of register of B information, further read the value of counter, and when the value of judgement counter is not overflowed, execution step 507, communicates and is connected with terminal according to the communication protocol of the current configuration of this smart card.
Generally, when smart card is jumped out after holding state, smart card checks the state of counter, if determine, counter does not overflow, illustrate in setting duration, smart card has received the data that the external world is transmitted, if the data that receive are mated with the communication protocol type of the current configuration of smart card, smart card is processed according to normal flow.If but do not mated, smart card can exist because processing and enter holding state in follow-up processing procedure, if the instruction type of next receiving all differs from the communication protocol type of the current configuration of smart card, card can repeat the process of " jump out standby mode-cannot process and receive instruction-again enter standby mode " always.
Therefore, according on the basis of counter judgement, further for representing that bit-identify state in the register of B information is as Rule of judgment.When smart card receives the data command of the communication protocol type that differs from current configuration and this instruction has been carried out to processing, the bit-identify set in this register, expression smart card had been received the instruction of mating with the communication protocol type of current configuration.
In order to improve adaptive accuracy, in this embodiment, will determine that the communication protocol of described smart card configuration with the unmatched condition setting of communication protocol of terminal support is: smart card completes standby time after current communication protocol in configuration and surpasses and set duration and be untreated to the process state information of the data of reception.
In above-mentioned flow process, at step 505 judgement bit-identify, not set in the situation that, further judgement is in setting duration, and treatment state is whether the number of times of untreated (being not set of bit-identify) surpasses set point number, setting duration when wherein, setting duration judges counter.Idiographic flow as shown in Figure 6, comprising:
Step 601, initialization are also opened counter;
Step 602, read the value of counter;
Step 603, judge whether the value of counter overflows, whether surpass and set duration, if so, perform step 607, otherwise execution step 604;
Step 604, read setting for representing the bit-identify state of the register of B information;
Step 605, judge the whether set of this bit-identify, if not, perform step 606, if so, perform step 608;
Step 606, in setting duration bit-identify not the number of times of set whether surpass set point number N, if so, perform step 607, if not, execution step 608;
Step 607, the configuration of returning to communication protocol of intelligent card and initialization flow process (being the flow process shown in Fig. 2);
The communication protocol that step 608, the communication protocol of determining the current configuration of smart card are supported with terminal is mated, and communicates and be connected with terminal according to the communication protocol of the current configuration of this smart card.
In this embodiment, by judgement set bit-identify in duration not the number of times of set whether surpass set point number N, further improved the accuracy of adaptation of communication protocol.
In further embodiment of this invention, the running state information of the communication protocol of the current configuration of smart card is except comprising A information, or/and, beyond B information, also further comprise:
Whether this smart card receives after the data of the communication protocol type that differs from current configuration the information (convenient for subsequent descriptions, to be called C information) in holding state.Particularly, whether smart card can be realized by the bit-identify in register in holding state after receiving the data of the communication protocol type that differs from current configuration, after smart card receives the data of the communication protocol type that differs from current configuration also in holding state, by this bit-identify set, therefore, obtain SM set mode that C information can be by reading this bit-identify to determine whether in holding state.
As shown in Figure 7, after completing the configuration of communication protocol of intelligent card and initialization, when the running state information of the communication protocol of the current configuration of smart card comprises A information and C information, and by counter, realized the counting of the standby time in A information, by the bit-identify in register, represented that C information is whether during in holding state, the adaptive process of communication protocol of intelligent card comprises:
Step 701, initialization are also opened counter;
Step 702, read the value of counter;
Step 703, judge whether the value of counter overflows, whether surpass and set duration, if so, perform step 706, otherwise execution step 704;
Step 704, read setting for representing the bit-identify state of the register of C information;
Step 705, judge the whether set of this bit-identify, if so, perform step 706, otherwise execution step 707;
Step 706, the configuration of returning to communication protocol of intelligent card and initialization flow process (being the flow process shown in Fig. 2);
The communication protocol that step 707, the communication protocol of determining the current configuration of smart card are supported with terminal is mated, and communicates and be connected with terminal according to the communication protocol of the current configuration of this smart card.
In above-mentioned flow process, when determining that according to A information standby time surpasses setting duration and determines also in holding state according to C information, determine that the communication protocol of this smart card configuration is not mated with the communication protocol of terminal support.And in above-mentioned flow process, the execution sequence interchangeable of the process judging according to the value of counter and the process that judges according to the SM set mode of bit-identify in register, at the bit-identify of register for representing C information not during set, when reading Counter Value and this Counter Value and not overflowing, execution step 707, communicates and is connected with terminal according to the communication protocol of the current configuration of this smart card.
As shown in Figure 8, after completing the configuration of communication protocol of intelligent card and initialization, when the running state information of the communication protocol of the current configuration of smart card comprises B information and C information, and by the bit-identify in register, represent that treatment state in B information and C information are whether during in holding state respectively, the adaptive process of communication protocol of intelligent card comprises:
Step 801, read setting for representing the bit-identify state of the register of B information;
Step 802, judge the whether set of this bit-identify, if not, perform step 805, otherwise execution step 803;
Step 803, read setting for representing the bit-identify state of the register of C information;
Step 804, judge the whether set of this bit-identify, if so, perform step 805, otherwise execution step 806;
Step 805, the configuration of returning to communication protocol of intelligent card and initialization flow process (being the flow process shown in Fig. 2);
The communication protocol that step 806, the communication protocol of determining the current configuration of smart card are supported with terminal is mated, and communicates and be connected with terminal according to the communication protocol of the current configuration of this smart card.
In above-mentioned flow process, according to B information, determining that process state information is untreated and while determining also in holding state according to C information, determines that the communication protocol of described smart card configuration is not mated with the communication protocol of terminal support.And in above-mentioned flow process, according to for represent process that the bit-identify of the register of B information judges with according to for representing the execution sequence interchangeable of the process that the SM set mode of the register bit-identify of C information judges, at the bit-identify of register for representing C information not during set, read when representing the bit-identify of register of B information and this bit-identify set, execution step 806, communicates and is connected with terminal according to the communication protocol of the current configuration of this smart card.
As shown in Figure 9, after completing the configuration of communication protocol of intelligent card and initialization, when the running state information of the communication protocol of the current configuration of smart card comprises A information, B information and C information, and by counter, realized the counting of the standby time in A information, by the bit-identify in register, represented that treatment state in B information and C information are whether during in holding state respectively, the adaptive process of communication protocol of intelligent card comprises:
Step 901, initialization are also opened counter;
Step 902, read the value of counter;
Step 903, judge whether the value of counter overflows, whether surpass and set duration, if so, perform step 908, otherwise execution step 904;
Step 904, read setting for representing the bit-identify state of the register of B information;
Step 905, judge the whether set of this bit-identify, if not, perform step 908, otherwise execution step 906;
Step 906, read setting for representing the bit-identify state of the register of C information;
Step 907, judge the whether set of this bit-identify, if so, perform step 908, otherwise execution step 909;
Step 908, the configuration of returning to communication protocol of intelligent card and initialization flow process (being the flow process shown in Fig. 2);
The communication protocol that step 909, the communication protocol of determining the current configuration of smart card are supported with terminal is mated, and communicates and be connected with terminal according to the communication protocol of the current configuration of this smart card.
In above-mentioned flow process, set duration, according to B information, determine that process state information is untreated and determines whether that according to C information information in holding state is when being determining that according to A information standby time surpasses, determine that the communication protocol that described smart card configures do not mate with the communication protocol of terminal support.And, according to the deterministic process of A information and executing, according to the deterministic process of B information and executing and according to the execution sequence interchangeable of the deterministic process of C information and executing, no matter with which kind of execution sequence, need to meet, the count value of counter do not overflow, for represent B information register bit-identify set and for the bit-identify of register that represents C information not during set, execution step 909, communicates and is connected with terminal according to the communication protocol of the current configuration of this smart card.
At Fig. 8, shown in Fig. 9 in flow process, when the running state information of the communication protocol of the current configuration of smart card at least comprises B information, when judgement is for the bit-identify of register that represents B information not in the situation of set, further judgement is in setting duration, treatment state is whether the number of times of untreated (being not set of bit-identify) surpasses set point number, if surpass set point number, carry out and return to the configuration of communication protocol of intelligent card and the step of initialization flow process, if do not surpass set point number, carry out according to the communication protocol of the current configuration of this smart card and communicate with terminal the step being connected, concrete treatment scheme is consistent with ultimate principle shown in Fig. 6, be not described in detail herein.
Above in arbitrary flow process, when determining that the communication protocol of the current configuration of smart card is mated with the communication protocol of terminal support, priority by the communication protocol type of the current configuration of smart card in communication protocol type table is made as the first, and object is that after avoiding smart card to power on, communication protocol type fixes and the drawback brought.For example, protocol type after smart card powers on is at every turn all TypeA, and the communication protocol type of terminal support is TypeB, although the each data interaction of smart card and terminal can be ensured by above-mentioned adaptation mechanism so, but after powering on, all to carry out same poll by protocol type table at every turn, reduce efficiency.So after having determined the communication protocol type that smart card is identical with the communication protocol of terminal support, just upgrade according to the method described above communication protocol type table, make smart card next time can just enter into for the first time corresponding handling procedure after powering on, and the type poll of needn't losing time again to carry out.
The above method providing according to the embodiment of the present invention, can realize the self-adaptation of communication protocol of intelligent card, in practical application, when complete the configuration and initialization of communication protocol according to said method after, can further detect and whether have protocol error, for example crc error, check bit mistake, fifo error etc., if made mistakes, get back to the instruction of again waiting for terminal in holding state, otherwise assert that instruction is correct.If by the check that makes mistakes, count initialized device, be that initialization smart card completes the standby time after current communication protocol in configuration, and, set is for representing the bit-identify of the register of B information, be about to smart card and the treatment state of the data command receiving be updated to processed, and current communication protocol type is updated to the first priority at communication protocol type table.
Describe for example the adaptive implementation method of communication protocol type of the present invention below in detail, suppose that the communication protocol type priority arranging in the current communication protocol type table of smart card is A-B-C by high order on earth, the communication protocol type of terminal support is TypeC, and smart card operating system adaptive process is as follows:
After the first step, smart card enter radio-frequency field, chip is obtained energy and is powered on by magnetic Field Coupling, then according to communication protocol type table, communication protocol type is configured to TypeA, and upgrading communication protocol type table, in the communication protocol type table after renewal, all types of priority order is from high to low B-C-A.
Second step, smart card setting are also opened counter, enter holding state, the counter overflow event of waiting for extraneous instruction and may occurring.
The 3rd step, smart card are jumped out from holding state, and due to the difference of chip characteristics, smart card has likely received that TypeC protocol instructions just jumped out, and also may receive that the instruction of TypeC is not still jumped out, until counter overflow is just jumped out.
If it is owing to having received TypeC instruction that smart card is jumped out, because the communication protocol type of the current configuration of smart card is TypeA, smart card will enter into the treatment scheme of TypeA so, in to the process of TypeC instruction process, certainly have generation protocol error, thereby this smart card comes back to holding state.If again receive the instruction of TypeC under holding state, smart card can repeat above process again, until the N time time, smart card is identified for representing the bit-identify set not yet in the register of B information, determine that the communication protocol type of the current configuration of smart card and the communication protocol type that terminal is supported are inconsistent, need conversion, enter the 4th step.
If it is because timer overflows that smart card is jumped out, directly determine that the communication protocol type of the current configuration of smart card and the communication protocol type that terminal is supported are inconsistent, need conversion, enter the 4th step.
The 4th step, smart card are configured to TypeB according to the priority orders in communication protocol type table by the communication protocol type of smart card, and upgrade communication protocol type table, in communication protocol type table after renewal, all types of priority order is from high to low C-A-B, and after this time configuration, the last communication protocol type of priority is TypeC.
The 5th step, smart card setting are also opened counter, enter holding state, the counter overflow event of waiting for extraneous instruction and may occurring.
The 6th step, smart card are received the protocol instructions of TypeC under holding state, because the communication protocol type of the current configuration of smart card is TypeB, therefore the instruction receiving is not still inconsistent with the protocol type of itself, so the same with above-mentioned flow process, the communication protocol type in smart card is converted to TypeC by TypeB.
The 7th step, smart card are received the protocol instructions of TypeC under holding state, meet with the communication protocol type of the current configuration of smart card, smart card is jumped out holding state, after determining that according to other deterministic process the communication protocol type of the current configuration of smart card and the communication protocol type of terminal support are consistent, for smart card operating system is set up and communicated by letter with terminal.
According to the embodiment of the present invention, also provide a kind of device of realizing adaptation of communication protocol of intelligent card, for realizing above-described adaptation of communication protocol of intelligent card.
As shown in figure 10, the device of realizing adaptation of communication protocol of intelligent card that the embodiment of the present invention provides comprises:
State information acquisition unit 1, determining unit 2 and conversion unit of protocol 3; Wherein:
State information acquisition unit 1, for obtaining the running state information of the communication protocol of the current configuration of smart card;
Determining unit 2, determines the matching between the communication protocol of this smart card configuration and the communication protocol of terminal support for the running state information of obtaining according to state information acquisition unit 1;
Conversion unit of protocol 3, for when determining unit 2 determines that the communication protocol of this smart card configuration is not mated with the communication protocol of terminal support, is default communication protocol by the communication Protocol Conversion of the current configuration of this smart card.
As shown in figure 11, in an embodiment, above-mentioned state information acquisition unit 1 comprises: the first state information acquisition module 11; With, the second state information acquisition module 12; Wherein:
The first state information acquisition module 11, completes the standby time information after current communication protocol for obtaining smart card in configuration;
The second state information acquisition module 12, for obtaining the process state information of smart card to the data that receive.
According to further embodiment of this invention, above-mentioned state information acquisition unit 1 can only include the first state information acquisition module 11, or only includes the second state information acquisition module 12.
According to further embodiment of this invention, above-mentioned determining unit 2 comprises:
The first determination module (not marking in the drawings), for comprising that when state information acquisition unit 1 standby time that the first state information acquisition module 11 and this first state information acquisition module 11 obtain surpasses while setting duration, determine that the communication protocol that smart card configures do not mate with the communication protocol of terminal support.
According to further embodiment of this invention, above-mentioned determining unit 2 comprises:
The second determination module (not marking in the drawings), when comprising that when state information acquisition unit 1 process state information that the second state information acquisition module 12 and this second state information acquisition module 12 are obtained is untreated, determine that the communication protocol that smart card configures do not mate with the communication protocol of terminal support.
According to further embodiment of this invention, above-mentioned determining unit 2 comprises:
The 3rd determination module (not marking in the drawings), for comprising the first state information acquisition module 11 and the second state information acquisition module 12 when state information acquisition unit 1, and when the process state information that the standby time that the first state information acquisition module 11 is obtained obtains over setting duration, the second state information acquisition module 12 is untreated, determine that the communication protocol of smart card configuration is not mated with the communication protocol of terminal support.
Particularly, above-mentioned the 3rd determination module also for:
In setting duration, treatment state is untreated number of times while surpassing set point number, determines that the communication protocol of smart card configuration is not mated with the communication protocol of terminal support.
As shown in figure 12, according to further embodiment of this invention, above-mentioned state information acquisition unit 1 also comprises:
Whether third state acquisition of information module 13, receive after the data of the communication protocol type that differs from current configuration the information in holding state for obtaining smart card.
According to further embodiment of this invention, above-mentioned determining unit 2 comprises:
The 4th determination module (not marking in the drawings), for comprise the first state information acquisition module 11 and the 3rd when state information acquisition unit 1, obtain state information acquisition module 13, and the whether information in holding state that the standby time that the first state information acquisition module 11 is obtained surpass to set that duration, the 3rd obtains that state information acquisition module 13 obtains is when being, determine that the communication protocol that smart card configures do not mate with the communication protocol of terminal support.
According to further embodiment of this invention, above-mentioned determining unit 2 comprises:
The 5th determination module (not marking in the drawings), for comprise the second state information acquisition module 12 and the 3rd when state information acquisition unit 1, obtain state information acquisition module 13, and the process state information that the second state information acquisition module 12 is obtained is untreated, the 3rd whether information in holding state of obtaining that state information acquisition module 13 obtains when being, determines that the communication protocol of smart card configuration is not mated with the communication protocol of terminal support.
According to further embodiment of this invention, above-mentioned determining unit 2 comprises:
The 6th determination module (not marking in the drawings), for comprise the first state information acquisition module 11, the second state information acquisition module 12 and the 3rd when state information acquisition unit 1, obtain state information acquisition module 13, and it is untreated, the 3rd whether information in holding state of obtaining that state information acquisition module 13 obtains when being that the standby time that the first state information acquisition module 11 is obtained surpass to be set process state information that duration, the second state information acquisition module 12 obtain, determine that the communication protocol that smart card configures do not mate with the communication protocol of terminal support.
Particularly, above-mentioned the 6th determination module also for:
In setting duration, treatment state is untreated number of times while surpassing set point number, determines that the communication protocol of smart card configuration is not mated with the communication protocol of terminal support.
As shown in figure 13, the device of realizing adaptation of communication protocol of intelligent card shown in Figure 10, also comprises: initialization unit 4 and communication unit 5; Wherein:
Initialization unit 4, for at least comprising the first state information acquisition module 11 when state information acquisition unit 1, and definite result of determining unit 2 is that the communication protocol of described smart card configuration is when mate with the communication protocol of terminal support, by standby time information initializing; Or, in the communication protocol of determining the current configuration of this smart card, do not exist while setting protocol error standby time information initializing;
Communication unit 5, when the communication protocol of supporting with terminal for the communication protocol when determining unit 2 definite current configurations of smart card is mated, establishes a communications link according to the communication protocol of the current configuration of smart card and terminal.
As shown in figure 14, the device of realizing adaptation of communication protocol of intelligent card shown in Figure 10, also comprises: updating block 6 and communication unit 7; Wherein:
Updating block 6, for at least comprising the second state information acquisition module 12 when state information acquisition unit 1, and definite result of determining unit 2 is the communication protocol of smart card configuration while mating with the communication protocol of terminal support, process state information is updated to processed; Or, process state information is updated to processed when the communication protocol of determining the current configuration of smart card does not exist setting protocol error;
Communication unit 7, when the communication protocol of supporting with terminal for the communication protocol when determining unit 2 definite current configurations of smart card is mated, establishes a communications link according to the communication protocol of the current configuration of smart card and described terminal.
Above-mentioned at least one technical scheme providing by the embodiment of the present invention, by obtaining the running state information of the communication protocol of the current configuration of smart card, and according to the running state information of obtaining, determine whether the communication protocol configuring in this smart card mates with the communication protocol of mobile terminal support, and determining while not mating, by the communication Protocol Conversion of the current configuration of this smart card, be default communication protocol, thereby can according to the running status of smart card, determine whether the communication protocol configuring in this smart card needs to carry out self-adaptation in time, this process participates in without user, can control exactly the self-adaptation of communication protocol of intelligent card, and improved the reliability of adaptation of communication protocol of intelligent card.
In the above embodiment of the present invention, smart card is adjusted the communication protocol type of configuration according to default communication protocol type table, using communication protocol type table medium priority lower than the communication protocol type of the communication protocol type of current configuration as next one communication protocol type to be configured, and carry out corresponding configuration when the communication protocol type of current configuration and the communication protocol type of terminal support are not mated, so that smart card transfers another communication protocol type to.After having configured, smart card enters standby mode again, according to above method, processes.Equally, if the communication protocol type that the communication protocol type of new configuration still cannot be supported with terminal is compatible, smart card is changed next communication protocol type after the same method again, the rest may be inferred, until the communication protocol type that the communication protocol type configuring in smart card is supported with terminal is consistent.
Therefore, according to the embodiment of the present invention can avoid due in the intelligent card chip that the characteristic of intelligent card chip is different, terminal environment of living in does not cause on an equal basis for representing that smart card receives after the data of the communication protocol type that differs from current configuration register flag bit unstable of the information in holding state whether, and the high problem of self-adaptation mortality of bringing.Therefore, even if the not equal reason of the electrical specification of intelligent card chip makes smart card to make correct judgement to differing from the instruction of the protocol type of itself exactly, the said method that adopts embodiments of the invention to provide can make smart card complete reliably adaptation function.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (16)

1. an adaptive approach for communication protocol of intelligent card, is characterized in that, comprising:
Smart card obtains the running state information of the communication protocol of the current configuration of described smart card;
When described smart card does not mate with the communication protocol of its place terminal support in the communication protocol of determining described smart card configuration according to described running state information, by the communication Protocol Conversion of the current configuration of described smart card, be default communication protocol.
2. the method for claim 1, is characterized in that, described running state information comprises:
Described smart card completes the standby time information after current communication protocol in configuration; Or/and,
The process state information of described smart card to the data command receiving.
3. method as claimed in claim 2, is characterized in that,
When described running state information comprises described standby time information, the communication protocol of determining described smart card configuration according to described running state information is not mated with the communication protocol of terminal support, comprise: when described standby time surpasses setting duration, determine that the communication protocol of described smart card configuration is not mated with the communication protocol of terminal support; Or,
When described running state information comprises described standby time information and described process state information, the communication protocol of determining described smart card configuration according to described running state information is not mated with the communication protocol of terminal support, comprise: at described standby time, when surpass to set duration and described process state information be untreated, determine that the communication protocol of described smart card configuration is not mated with the communication protocol of terminal support; Or,
When described running state information comprises described process state information, the communication protocol of determining described smart card configuration according to described running state information is not mated with the communication protocol of terminal support, comprise: in described process state information, while being untreated, determine that the communication protocol of described smart card configuration is not mated with the communication protocol of terminal support.
4. method as claimed in claim 2, is characterized in that, described running state information also comprises:
Whether described smart card receives after the data of the communication protocol type that differs from current configuration the information in holding state.
5. method as claimed in claim 4, is characterized in that,
When described running state information comprises described standby time information and the described whether information in holding state, the communication protocol of determining described smart card configuration according to described running state information is not mated with the communication protocol of terminal support, comprise: at described standby time, surpass to set duration and the described whether information in holding state when being, determine that the communication protocol that described smart card configures do not mate with the communication protocol of terminal support; Or,
When described running state information comprises described process state information and the described whether information in holding state, the communication protocol of determining described smart card configuration according to described running state information is not mated with the communication protocol of terminal support, comprise: in described process state information, be the untreated and described whether information in holding state when being, determine that the communication protocol of described smart card configuration is not mated with the communication protocol of terminal support; Or,
When described running state information comprises described standby time information, described process state information and the described whether information in holding state, the communication protocol of determining described smart card configuration according to described running state information is not mated with the communication protocol of terminal support, comprise: surpass to set duration, described process state information be the untreated and described whether information in holding state when being at described standby time, determine that the communication protocol that described smart card configures do not mate with the communication protocol of terminal support.
6. the method as described in claim 3 or 5, it is characterized in that, when running state information at least comprises described standby time information and described process state information, the communication protocol of determining described smart card configuration according to described running state information is not mated with the communication protocol of terminal support, also comprises:
In described setting duration, described treatment state is that untreated number of times surpasses set point number.
7. the method as described in claim 2 or 4, is characterized in that,
When described running state information at least comprises described standby time information, when the communication protocol of supporting with terminal in the communication protocol of determining described smart card configuration according to described running state information is mated, also comprise: by described standby time information initializing, or, in the communication protocol of determining the current configuration of described smart card, do not exist while setting protocol error described standby time information initializing; And establish a communications link according to the communication protocol of the current configuration of described smart card and described terminal;
Or,
When described running state information at least comprises described process state information, when the communication protocol of supporting with terminal in the communication protocol of determining described smart card configuration according to described running state information is mated, also comprise: described process state information is updated to processed, or, when the communication protocol of determining the current configuration of described smart card does not exist setting protocol error, described process state information is updated to processed; And establish a communications link according to the communication protocol of the current configuration of described smart card and described terminal.
8. a device of realizing adaptation of communication protocol of intelligent card, is integrated in smart card, it is characterized in that, comprising:
State information acquisition unit, for obtaining the running state information of the communication protocol of the current configuration of described smart card;
Determining unit, determines the matching between the communication protocol of described smart card configuration and the communication protocol of its place terminal support for the running state information of obtaining according to described state information acquisition unit;
Conversion unit of protocol when determining that when described determining unit the communication protocol of described smart card configuration is not mated with the communication protocol of terminal support, is default communication protocol by the communication Protocol Conversion of the current configuration of described smart card.
9. device as claimed in claim 8, is characterized in that, described state information acquisition unit comprises:
The first state information acquisition module, completes the standby time information after current communication protocol for obtaining described smart card in configuration; Or/and,
The second state information acquisition module, for obtaining the process state information of described smart card to the data that receive.
10. device as claimed in claim 9, is characterized in that, described determining unit comprises:
The first determination module, for comprising that when described state information acquisition unit described standby time that the first state information acquisition module and described the first state information acquisition module obtain surpasses while setting duration, determine that the communication protocol that described smart card configures do not mate with the communication protocol of terminal support; Or,
The second determination module, when comprising that when described state information acquisition unit described process state information that the second state information acquisition module and described the second state information acquisition module are obtained is untreated, determine that the communication protocol that described smart card configures do not mate with the communication protocol of terminal support; Or,
The 3rd determination module, for comprising the first state information acquisition module and the second state information acquisition module when described state information acquisition unit, and when the described process state information that the described standby time that described the first state information acquisition module is obtained obtains over setting duration, described the second state information acquisition module is untreated, determine that the communication protocol of described smart card configuration is not mated with the communication protocol of terminal support.
11. devices as claimed in claim 10, is characterized in that, described the 3rd determination module also for:
In described setting duration, described treatment state is untreated number of times while surpassing set point number, determines that the communication protocol of described smart card configuration is not mated with the communication protocol of terminal support.
12. devices as claimed in claim 9, is characterized in that, described state information acquisition unit also comprises:
Whether third state acquisition of information module, receive after the data of the communication protocol type that differs from current configuration the information in holding state for obtaining described smart card.
13. devices as claimed in claim 12, is characterized in that, described determining unit comprises:
The 4th determination module, for comprise the first state information acquisition module and the 3rd when described state information acquisition unit, obtain state information acquisition module, and the described whether information in holding state that the described standby time that described the first state information acquisition module is obtained surpass to set that duration, the described the 3rd obtains that state information acquisition module obtains is when being, determine that the communication protocol that described smart card configures do not mate with the communication protocol of terminal support; Or,
The 5th determination module, for comprise the second state information acquisition module and the 3rd when described state information acquisition unit, obtain state information acquisition module, and the described process state information that described the second state information acquisition module is obtained is the untreated, described the 3rd described whether information in holding state of obtaining that state information acquisition module obtains when being, determines that the communication protocol of described smart card configuration is not mated with the communication protocol of terminal support; Or,
The 6th determination module, for comprising the first state information acquisition module when described state information acquisition unit, the second state information acquisition module and the 3rd is obtained state information acquisition module, and the described standby time that described the first state information acquisition module is obtained surpasses sets duration, the described process state information that described the second state information acquisition module is obtained is untreated, the described the 3rd described whether information in holding state of obtaining that state information acquisition module obtains is when being, the communication protocol of determining described smart card configuration is not mated with the communication protocol of terminal support.
14. devices as claimed in claim 13, is characterized in that, described the 6th determination module also for:
In described setting duration, described treatment state is untreated number of times while surpassing set point number, determines that the communication protocol of described smart card configuration is not mated with the communication protocol of terminal support.
15. devices as described in claim 9 or 12, is characterized in that, also comprise:
Initialization unit, for at least comprising the first state information acquisition module when described state information acquisition unit, and definite result of described determining unit is that the communication protocol of described smart card configuration is when mate with the communication protocol of terminal support, by described standby time information initializing; Or, in the communication protocol of determining the current configuration of described smart card, do not exist while setting protocol error described standby time information initializing;
Communication unit, for establishing a communications link according to the communication protocol of the current configuration of described smart card and described terminal.
16. devices as described in claim 9 or 12, is characterized in that, also comprise:
Updating block, for at least comprising the second state information acquisition module when described state information acquisition unit, and definite result of described determining unit is the communication protocol of described smart card configuration while mating with the communication protocol of terminal support, and described process state information is updated to processed; Or, when the communication protocol of determining the current configuration of described smart card does not exist setting protocol error, described process state information is updated to processed;
Communication unit, for establishing a communications link according to the communication protocol of the current configuration of described smart card and described terminal.
CN200910091500.XA 2009-08-24 2009-08-24 Method and device for realizing adaptation of communication protocol of intelligent card Expired - Fee Related CN101706861B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910091500.XA CN101706861B (en) 2009-08-24 2009-08-24 Method and device for realizing adaptation of communication protocol of intelligent card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910091500.XA CN101706861B (en) 2009-08-24 2009-08-24 Method and device for realizing adaptation of communication protocol of intelligent card

Publications (2)

Publication Number Publication Date
CN101706861A CN101706861A (en) 2010-05-12
CN101706861B true CN101706861B (en) 2014-04-23

Family

ID=42377086

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910091500.XA Expired - Fee Related CN101706861B (en) 2009-08-24 2009-08-24 Method and device for realizing adaptation of communication protocol of intelligent card

Country Status (1)

Country Link
CN (1) CN101706861B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255999B (en) * 2011-03-09 2014-02-05 北京道通天下信息科技有限责任公司 Method for determining communication protocol between terminal and smart card and expansion card
US8775714B2 (en) 2012-01-30 2014-07-08 Infineon Technologies Ag System and method for a bus interface
GB2535839B (en) * 2015-01-08 2021-06-09 Fisher Rosemount Systems Inc Apparatus and methods to communicatively couple field devices to controllers in a process control system
CN110210597A (en) * 2019-07-02 2019-09-06 金邦达有限公司 Smart card and communications protocol switching method
CN110557395B (en) * 2019-09-06 2021-07-02 东信和平科技股份有限公司 Secure element access interface protocol adaptation method and device
CN114827302B (en) * 2022-04-06 2024-03-12 广东万颗子智控科技有限公司 Communication protocol adaptation method, device, equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1301368A (en) * 1998-03-20 2001-06-27 运通卡国际股份有限公司 Method and device for selective a reconfigurable communications protocol between an IC card and a terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1301368A (en) * 1998-03-20 2001-06-27 运通卡国际股份有限公司 Method and device for selective a reconfigurable communications protocol between an IC card and a terminal

Also Published As

Publication number Publication date
CN101706861A (en) 2010-05-12

Similar Documents

Publication Publication Date Title
CN101706861B (en) Method and device for realizing adaptation of communication protocol of intelligent card
CN102508533B (en) Reset control device and method
CN106598632B (en) Firmware upgrading method and device for optical module
CN108337120A (en) A kind of remote upgrade method of internet-of-things terminal equipment
CN102185754B (en) Method for upgrading board card in switch system
CN110401466B (en) Data transmission method, device and medium based on high-speed signal switching chip
CN107315702A (en) Computer-readable medium, computing device and the method managed for chip card
CN111427602B (en) Method for upgrading firmware on line of intelligent platform management controller of VPX case
CN111756858A (en) Remote development processing system, method and device of embedded equipment
CN103699464A (en) Communication terminal automatically testing method and device
CN113259205B (en) Method and system for testing internal interconnection interface of multi-board system
CN112383439B (en) Intelligent gas meter air upgrading system and upgrading method
CN113867758A (en) Unmanned aerial vehicle automatic upgrading method and device, unmanned aerial vehicle, remote control terminal and storage medium
CN101431445B (en) Network awakening test system and method
CN116055578B (en) Lightweight AT protocol stack, communication method and system
CN102053847B (en) Server and updating method thereof
CN110687910A (en) Equipment control method and device, storage medium and lower computer
US8000278B2 (en) De-activation, at least in part, of receiver, in response, at least in part, to determination that an idle condition exists
CN109725621A (en) A kind of secondary bus program based on 1553B bus and CAN bus is in line writing method
CN111624543B (en) Method and system for identifying gateway electric energy meter based on electronic ink label
CN114299534A (en) Method and device for detecting circuit schematic diagram, terminal equipment and storage medium
WO2019127081A1 (en) Power consumption stabilization method and apparatus for intelligent terminal, and electronic device
CN116028283A (en) Processor test system, method and device and readable storage medium
CN112350895A (en) Keep-alive method and device for application program, equipment and computer readable storage medium
CN103729213A (en) Flash online upgrade method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100015 Beijing city Chaoyang District Dongzhimen West eight Street No. 2 room Wanhong Yan Dong Business Garden

Patentee after: BEIJING WATCHDATA Co.,Ltd.

Address before: 100015 Beijing city Chaoyang District Dongzhimen West eight Street No. 2 room Wanhong Yan Dong Business Garden

Patentee before: BEIJING WATCH DATA SYSTEM Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140423

Termination date: 20210824