CN109408127A - Chip system loading method and chip card - Google Patents

Chip system loading method and chip card Download PDF

Info

Publication number
CN109408127A
CN109408127A CN201811332973.XA CN201811332973A CN109408127A CN 109408127 A CN109408127 A CN 109408127A CN 201811332973 A CN201811332973 A CN 201811332973A CN 109408127 A CN109408127 A CN 109408127A
Authority
CN
China
Prior art keywords
chip
safety
card
currently
terminal equipment
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
Application number
CN201811332973.XA
Other languages
Chinese (zh)
Other versions
CN109408127B (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.)
Sichuan Science And Technology Ltd By Share Ltd
Original Assignee
Sichuan Science And Technology Ltd By Share 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 Sichuan Science And Technology Ltd By Share Ltd filed Critical Sichuan Science And Technology Ltd By Share Ltd
Priority to CN201811332973.XA priority Critical patent/CN109408127B/en
Publication of CN109408127A publication Critical patent/CN109408127A/en
Application granted granted Critical
Publication of CN109408127B publication Critical patent/CN109408127B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the present application provides a kind of chip system loading method and chip card.Each safety chip is when receiving chip system load request if it is determined that can not currently load the chip system of the safety chip, the operating mode that detection chip card is presently in, and when detecting that chip card is currently at noncontact mode, working communication is established by the bluetooth main control chip or the near-field communication chip and first terminal equipment, and the chip system more new information that first terminal equipment is sent according to selection response information is received, to be updated based on chip system more new information to chip system.So, the application supports to realize the load and update to the chip system of safety chip by contactless mode, applicability is stronger in actual scene, it solves the problems, such as that user generally requires to return to chip card numerous inconvenient caused by related card sending mechanism is handled in the prior art, and then enhances user experience.

Description

Chip system loading method and chip card
Technical field
This application involves chip card fields, in particular to a kind of chip system loading method and chip card.
Background technique
Card internal operating system COS (Chip Operating System) is the core of chip card, it is main control chip card and The external world carries out data exchange, and the processing of various orders is completed in card.Safety chip (Secure in chip card Element, SE) usually provided with chip form, and carry chip operating system COS and realize data safety storage, encryption and decryption fortune The functions such as calculation.In the prior art, corresponding equipment can be selected to load COS according to chip card after selected chip card, for example, mesh The COS of preceding general chip card on the market be all adopt international standards 7816 agreement of ISO/IEC regulation by contact mode come It is loaded.Therefore, because safety chip generally only supports the load that protocol realization COS is contacted by ISO/IEC 7816, but The problem of being the update channel management permission due to the mobile terminal of chip card, when needs update or load safety chip COS when, user, which generally requires chip card returning to related card sending mechanism, to be handled, and so be will cause numerous inconvenience, is reduced User experience.
Summary of the invention
In order to overcome above-mentioned deficiency in the prior art, the application's is designed to provide a kind of chip system loading method And chip card, to solve or improve the above problem.
To achieve the goals above, the embodiment of the present application the technical solution adopted is as follows:
In a first aspect, the embodiment of the present application provides a kind of chip system loading method, it is applied to chip card, the chip card Including bluetooth main control chip, with the bluetooth main control chip be electrically connected near-field communication chip and with the bluetooth master control core Multiple safety chips that piece is electrically connected, which comprises
For each safety chip when receiving chip system load request, whether judgement currently can load the safety chip Chip system;
If it is determined that can not currently load the chip system of the safety chip, then the work that the chip card is presently in is detected Mode, wherein the operating mode includes contact mode and contactless mode;
When detecting that the chip card is currently at noncontact mode, by the bluetooth main control chip or described close Communication chip and first terminal equipment establish working communication so that the first terminal equipment to the near-field communication chip or Bluetooth main control chip transmission chip system update information described in person;
The near-field communication chip or the bluetooth main control chip send out the chip system more new information received Give the safety chip;
The safety chip is based on the chip system more new information and is updated to chip system.
Optionally, when receiving chip system load request, whether judgement can currently add each safety chip The step of carrying the chip system of the safety chip, comprising:
Each safety chip detection currently whether there is chip system identifier;
If it exists, then determine the chip system for being currently able to load the safety chip;
If it does not exist, then determine the chip system that can not currently load the safety chip.
Optionally, when receiving chip system load request, whether judgement can currently add each safety chip After the step of carrying the chip system of the safety chip, the method also includes:
If it is determined that be currently able to load the chip system of the safety chip, then enter the chip system and with described in transmission The exterior terminal of chip system load request carries out data interaction.
It optionally, further include the communication interaction contact being electrically connected with second terminal equipment in the chip card, it is described logical Believe that interactive touch spot is also electrically connected with each safety chip, described the step of detecting the operating mode that the chip card is presently in Later, the method also includes:
When detecting that the chip card is currently at contact mode, the reset letter that the second terminal equipment is sent is received Number, and respond the reset signal and feed back corresponding reset answer response message to the second terminal equipment, so that described the Two terminal devices are according to the reset answer response message and pass through the communication interaction contact of the chip card and the chip card Working communication is established, and by presetting communication protocol to the safety chip transmission chip system update information;
The safety chip is based on the chip system more new information and is updated to chip system.
Optionally, the step of operating mode that the detection chip card is presently in, comprising:
It is currently whether logical with first terminal equipment generation Bluetooth communication, the near field to detect the bluetooth main control chip Whether news chip is currently in the communication magnetic field of the first terminal equipment and/or whether the chip card is being preset The operation of contact agreement;
If detecting, the chip card is carrying out the operation of preset exposure formula agreement, determines that the chip card is currently at Under contact mode;
If detecting, currently Bluetooth operation occurs with the first terminal equipment for bluetooth main control chip and/or the near field is logical It interrogates whether chip is currently in the communication magnetic field of the first terminal equipment, then it is non-contact to determine that the chip card is currently at Under formula mode.
Optionally, when detecting that the chip card is currently at noncontact mode, by the bluetooth main control chip or The step of near-field communication chip described in person and first terminal equipment establish working communication, comprising:
It is logical that Bluetooth transmission is sent by terminal Bluetooth chip of the bluetooth main control chip into the first terminal equipment Request is established in road, so that the terminal Bluetooth chip is according to Bluetooth transmission Path Setup request and the bluetooth main control chip Establish Bluetooth communication;Or
The safety chip receives the selection response request that the first terminal equipment is sent, and responds the selection response It requests to feed back corresponding selection response information to the first terminal equipment, so that the first terminal equipment is according to Selection response information and the near-field communication chip of the chip card establish working communication.
Optionally, described to detect the chip card if in the first terminal equipment including terminal Bluetooth chip When being currently at noncontact mode, built by the bluetooth main control chip or the near-field communication chip with first terminal equipment After the step of vertical working communication, the method also includes:
It is established and is communicated to connect by the bluetooth main control chip and the terminal Bluetooth chip, and receive the first terminal Equipment passes through the chip system more new information that the terminal Bluetooth chip is sent.
Optionally, described to detect that the chip card works as if in the first terminal equipment including terminal NFC chip It is preceding when being in noncontact mode, pass through the bluetooth main control chip or the near-field communication chip and first terminal equipment is established After the step of working communication, the method also includes:
It is established and is communicated to connect by the near-field communication chip and the terminal NFC chip, and receive the first terminal The chip system more new information that equipment is sent by the terminal NFC chip.
Optionally, the safety chip be based on the chip system more new information is updated chip system the step of it Afterwards, the method also includes:
After detecting that the chip system updates, based on updated chip system to received task processing Order handle and feedback command processing result.
Second aspect, the embodiment of the present application also provide a kind of chip card, and the chip card includes bluetooth main control chip and institute The multiple safety stating the near-field communication chip of bluetooth main control chip electric connection and being electrically connected with the bluetooth main control chip Chip;
Each safety chip, for when receiving chip system load request, whether judgement currently can to load the peace It is current then to detect the chip card if it is determined that can not currently load the chip system of the safety chip for the chip system of full chip Locating operating mode, wherein the operating mode includes contact mode and contactless mode;
Each safety chip is also used to pass through the indigo plant when detecting that the chip card is currently at noncontact mode Tooth main control chip or the near-field communication chip and first terminal equipment establish working communication, so that the first terminal equipment To the near-field communication chip or the bluetooth main control chip transmission chip system update information;
The near-field communication chip or the bluetooth main control chip are believed for updating the chip system received Breath is sent to the safety chip;
The safety chip, for being updated based on the chip system more new information to chip system.
In terms of existing technologies, the application has the advantages that
The embodiment of the present application provides a kind of chip system loading method and chip card.Each safety chip is receiving chip If it is determined that can not currently load the chip system of the safety chip when system loads are requested, the work that detection chip card is presently in Mode, and when detecting that chip card is currently at noncontact mode, it is logical by the bluetooth main control chip or the near field News chip and first terminal equipment establish working communication, and receive what first terminal equipment was sent according to selection response information Chip system more new information, to be updated based on chip system more new information to chip system.In this way, the application supports to lead to It crosses contactless mode and realizes that applicability is stronger in actual scene to the load and update of the chip system of safety chip, solution The user in the prior art that determined generally requires to return to chip card into numerous inconvenient caused by related card sending mechanism is handled ask Topic, and then enhance user experience.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the application scenarios schematic block diagram of chip system loading method provided by the embodiments of the present application;
Fig. 2 is a kind of flow diagram of chip system loading method provided by the embodiments of the present application;
Fig. 3 is another flow diagram of chip system loading method provided by the embodiments of the present application;
Fig. 4 is another flow diagram of chip system loading method provided by the embodiments of the present application.
Icon: 100- chip card;110- bluetooth main control chip;120- near-field communication chip;130- safety chip;200- One terminal device;210- terminal Bluetooth chip;220- terminal NFC chip.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.Usually herein The component of the embodiment of the present application described and illustrated in place's attached drawing can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiments herein provided in the accompanying drawings is not intended to limit below claimed Scope of the present application, but be merely representative of the selected embodiment of the application.Based on the embodiment in the application, this field is common Technical staff's all other embodiment obtained without creative efforts belongs to the model of the application protection It encloses.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
Referring to Fig. 1, being the application scenarios schematic block diagram of chip system loading method provided by the embodiments of the present application.This reality The chip system loading method for applying example offer can be applied to be equipped with chip card 100, and the chip card 100 includes bluetooth master control core Piece 110, with the bluetooth main control chip 110 be electrically connected near-field communication chip 120 and with the bluetooth main control chip 110 The multiple safety chips 130 being electrically connected.
In the present embodiment, which can carry out data communication with exterior terminal equipment, such as shown in Fig. 1 First terminal equipment 200 or second terminal equipment.Wherein, the first terminal equipment 200, which can be, installs the chip card 100 Mobile terminal or dedicated read-write equipment, the mobile terminal can provide hardware running environment for the chip card 100. For example, the mobile terminal can be smart phone, tablet computer with plug-in card function etc..The second terminal equipment can be It, can be to the chip system of each safety chip 130 in the chip card 100 by the equipment for loading the equipment of the chip card 100 System COS is loaded or is updated.
In the present embodiment, the bluetooth main control chip 110 can be the micro-control unit for being integrated with bluetooth communication, should Micro-control unit is the frequency of central processing unit (Central Process Unit, CPU) and specification to be done to appropriate reduction, and incite somebody to action Perimeter interfaces or even the LCD driving circuit such as memory (Memory), counter (Timer), USB, A/D conversion, UART, PLC, DMA The computer for forming chip-scale on a single chip is all integrated, does various combination control for different applications.The bluetooth Communication module is handed over for realizing the data between microprocessing unit and the terminal device 300 or external payment terminal etc. Mutually.
In the present embodiment, the near-field communication chip 120 combines near-field communication technology and mobile communication technology, realizes The multiple functions such as e-payment, authentication, ticketing service, data exchange, anti-fake, advertisement, near-field communication chip 120 can pass through master It is dynamic to exchange data with passive both of which.
In the present embodiment, the mountable major industrial application for having corresponding application type in each safety chip 130, such as Operator's factory application, life application (such as bus card application, subway card application, social security card application), mobile payment application (example Such as Alipay application, Unionpay's application), the safety chip 130 can be realized the integrated sum aggregate to conglomerate service as a result, Multiple industrial applications are integrated into the safety chip 130 by Cheng Hua, and user does not need to carry multiple trading cards, to be promoted User experience greatly facilitates people's lives, also ensures that the safety of payment environment.
Chip system COS (Chip Operating System) in each safety chip 130 is the core of chip card 100 The heart, main chip card 100 and the external world of controlling carries out data exchange, and the processing of various orders is completed in card.Each safe core Piece 130 is usually provided with chip form, and is carried chip system COS and realized the functions such as data safety storage, encryption and decryption operation.It is existing Have in technology, corresponding equipment can be selected to load COS according to chip card 100 after selected chip card 100, for example, current city On face the COS of general chip card 100 be all adopt international standards 7816 agreement of ISO/IEC regulation by contact mode come It is loaded.Therefore, because the general load for only supporting to contact protocol realization COS by ISO/IEC 7816 of safety chip 130, But the problem of due to the update channel management permission of the mobile terminal of chip card 100, pacify when needing to update or load When the COS of full chip 130, user, which generally requires chip card 100 returning to related card sending mechanism, to be handled, and so will cause crowd It is mostly inconvenient, reduce user experience.
It should be noted that defect present in the above scheme in the prior art, is inventor by practicing simultaneously It is being obtained after carefully studying as a result, therefore, the discovery procedure of the above problem and hereinafter the embodiment of the present application are asked for above-mentioned Itd is proposed solution is inscribed, all should be the contribution that inventor makes the application during the application.
In view of the above problems, present inventor proposes following technical proposals, supports through contactless mode realization pair The load and update of the chip system of safety chip 130, applicability is stronger in actual scene, solves user in the prior art The problem for generally requiring to return to chip card 100 into numerous inconvenience caused by related card sending mechanism is handled, and then enhance user Experience.
Specifically, referring to Fig. 2, a kind of process for chip system loading method provided by the embodiments of the present application is illustrated Figure, chip system loading method chip card 100 as shown in Fig. 1 execute.It should be noted that provided in this embodiment Chip system loading method is not limitation with Fig. 2 and specific order as described below, the chip system loading method it is detailed Process is as follows:
Step S110, when receiving chip system load request, whether judgement can currently add each safety chip 130 Carry the chip system of the safety chip 130.
In the present embodiment, corresponding Bootloader program can be loaded on each safety chip 130, the Bootloader journey Sequence can carry out the downloading and update of the chip system of each safety chip 130 by SPI interface.As an implementation, exist When chip card 100 powers on, the Bootloader program is first carried out in each safety chip 130, and passes through Bootloader program It can detecte currently with the presence or absence of chip system identifier, and if it exists, then determine to be currently able to load the safety chip 130 Chip system;If it does not exist, then determine the chip system that can not currently load the safety chip 130.
Wherein, said chip system identifier is with the presence or absence of the chip system COS that can be used for characterizing the safety chip 130 No to normally enter, if detection chip system identifier exists, the chip system COS for identifying the safety chip 130 can It normally enters, otherwise cannot normally enter, indicate that the chip system COS of the safety chip 130 is not installed or needed to update.
Step S120 then detects the chip card if it is determined that can not currently load the chip system of the safety chip 130 100 operating modes being presently in.
In the present embodiment, if it is decided that the chip system COS that can not currently load the safety chip 130 is then needed to this The chip system COS of safety chip 130 is initialized, and in initialization operation process, this step is firstly the need of detection institute State the operating mode that chip card 100 is presently in, wherein the operating mode includes contact mode and contactless mode.
As an implementation, the mode for detecting the operating mode that the chip card 100 is presently in may include:
Detect whether the bluetooth main control chip 110 is current with the first terminal equipment 200 occurs Bluetooth communication, described Whether near-field communication chip 120 is currently in the communication magnetic field of the first terminal equipment 200 and/or the chip card 100 Whether preset exposure formula agreement operation is being carried out, if detecting, the chip card 100 is carrying out preset exposure formula agreement behaviour Make, then determine that the chip card 100 is currently under contact mode, if detect bluetooth main control chip 110 currently with it is described First terminal equipment 200 occurs whether Bluetooth communication and/or the near-field communication chip 120 currently set in the first terminal In standby 200 communication magnetic field, then determine that the chip card 100 is currently under contactless mode.
Wherein, it is current whether logical with the first terminal equipment 200 generation bluetooth to detect the bluetooth main control chip 110 Letter, be for detect the chip card 100 whether with the first terminal equipment 200 there are Bluetooth communications, if there is bluetooth Communication, then determine that the chip card 100 is currently under contactless mode.Detecting the near-field communication chip 120 is currently In the no communication magnetic field in the first terminal equipment 200, be for detect the chip card 100 whether with described first eventually There are NFC communications for end equipment 200, if there is NFC communication, then determine that the chip card 100 is currently at contactless mode Under.It detects whether the chip card 100 is carrying out the operation of preset exposure formula agreement, is to be for detecting the chip card 100 There are preset exposure formula protocols, such as ISO/IEC7816 protocol for no second terminal equipment, and if so, determining institute Chip card 100 is stated to be currently under contact mode.
It is not difficult to find out that, user not only can choose preset exposure formula agreement for chip card 100 and second through the above steps Terminal device (such as equipment) communication, also can choose contactless mode and communicates with first terminal equipment 200, such as Fig. 1 institute Show, when there are when terminal Bluetooth chip 210, then can realizing the chip card by bluetooth connection mode in first terminal equipment 200 Contactless communication between 100 and first terminal equipment 200, when there are terminal NFC chips 220 in first terminal equipment 200 When, then the contactless communication between the chip card 100 and first terminal equipment 200 can be realized by NFC connection type.When So, if existing simultaneously terminal Bluetooth chip 210 and terminal NFC chip 220 in first terminal equipment 200, user can be voluntarily Any connection type is selected, is not specifically limited herein.
Step S130 receives first terminal equipment when detecting that the chip card 100 is currently at noncontact mode The 200 selection response requests sent, and respond the selection response and request to feed back corresponding choosing to the first terminal equipment 200 Select response information.
In the present embodiment, if when detecting that the chip card 100 is currently at noncontact mode, such as pass through bluetooth When main control chip 110 and the terminal Bluetooth chip 210 of first terminal equipment 200 realize non-contact communication, chip card 100 can at this time To send Bluetooth transmission by terminal Bluetooth chip 210 of the bluetooth main control chip 110 into the first terminal equipment 200 Path Setup request, so that the terminal Bluetooth chip 210 is according to Bluetooth transmission Path Setup request and the bluetooth master Control chip 110 establishes Bluetooth communication.Then, the first terminal equipment 200 is received by the bluetooth main control chip 110 to pass through The chip system more new information that the terminal Bluetooth chip 210 is sent.
In another example being realized by the terminal NFC chip 220 of near-field communication chip 120 and first terminal equipment 200 non-contact When communication, first terminal equipment 200 can be by terminal NFC chip 220 to the near-field communication chip of the chip card 100 at this time 120 send selection response request RATS (Request for Answer To Reset).Then, the near-field communication of chip card 100 Chip 120 can receive selection response request RATS (the Request for Answer To of the transmission of first terminal equipment 200 Reset), the selection response is responded to request to feed back corresponding selection response information to the first terminal equipment 200 (Answer To Select, ATS).Then, first terminal equipment 200 is according to the selection response information and the chip The near-field communication chip 120 of card 100 establishes working communication, and believes to the 120 transmission chip system update of near-field communication chip Breath.
At this point, chip card 100 can be communicated by the bluetooth main control chip 110 with the terminal Bluetooth chip 210 foundation Connection, and receive the first terminal equipment 200 and pass through the chip system more new information that the terminal Bluetooth chip 210 is sent; Or it is established and is communicated to connect with the terminal NFC chip 220 by the near-field communication chip 120, and receive described first The chip system more new information that terminal device 200 is sent by the terminal NFC chip 220.
Wherein, above-mentioned selection response information (Answer To Select, ATS) can refer to that chip card 100 is in quilt After the first terminal equipment 200 resets and completes the selection of chip card 100, a series of character strings responded, these characters String is the first terminal equipment 200 provides the information that follow-up work communication how is carried out with the chip card 100.
It should be noted that when the chip card 100 is installed in the terminal, if being come in the mobile terminal NFC module can then be built by the NFC module carried in the mobile terminal with the terminal NFC chip 220 in actual implementation Vertical communication connection, and after receiving the chip system more new information that the terminal NFC chip 220 is sent, then occur to the safety Chip, in this way, the safety chip 130 of chip card 100 preferentially can get chip by the NFC module carried in mobile terminal System update information.
The chip that step S140, the near-field communication chip 120 or the bluetooth main control chip 110 will receive System update information is sent to the safety chip 130.
Step S150, the safety chip 130 are based on the chip system more new information and are updated to chip system.
In the present embodiment, chip card 100 will be received by near-field communication chip 120 or the bluetooth main control chip 110 To the chip system more new information be sent to the safety chip 130 after, which can then be based on the chip system System more new information is updated chip system.In this way, the initial work of the chip system of the safety chip 130 is completed, Updated chip system can be loaded directly into and execute the industrial application in subsequent function, such as managing chip card 100, and The processing of various orders is completed in chip card 100.
Based on above-mentioned design, the present embodiment is supported to realize the chip system to safety chip 130 by contactless mode Load and update, applicability is stronger in actual scene, solves user in the prior art and generally requires to return chip card 100 The problem of numerous inconvenience caused by related card sending mechanism is handled is returned, and then enhances user experience.
Further, referring to Fig. 3, after above-mentioned steps S110, the method can also include the following steps:
Step S115 then enters the chip system if it is determined that being currently able to load the chip system of the safety chip 130 And data interaction is carried out with the exterior terminal for sending the chip system load request.
In the present embodiment, if the chip system of the safety chip 130 can with normal load, at this time if no longer need to carry out just Beginning process is directly entered the chip system and carries out data friendship with the exterior terminal for sending the chip system load request Mutually.
Further, referring to Fig. 4, the method can also include the following steps: after step S120
Step S125 receives the second terminal equipment when detecting that the chip card 100 is currently at contact mode The reset signal of transmission, and respond the reset signal and feed back corresponding reset answer response letter to the second terminal equipment Breath.
In the present embodiment, it may also include the communication interaction being electrically connected with second terminal equipment in the chip card 100 and touch Point, to realize contact communication by these communication interaction contacts and second terminal equipment, second terminal equipment can be first to this Chip card 100 sends reset signal, and thus the present embodiment connects when detecting that the chip card 100 is currently at contact mode The reset signal that the second terminal equipment is sent is received, and responds the reset signal and feeds back correspondence to the second terminal equipment Reset answer response message (Answer To Reset, ATR).Then, the second terminal equipment is according to the reset answer Response message simultaneously establishes working communication by the communication interaction contact of the chip card 100 and the chip card 100, and by pre- If communication protocol is to the 130 transmission chip system update information of safety chip.
Optionally, above-mentioned default communication protocol can be ISO/IEC 7816 and contact agreement or other agreements, herein not Make concrete restriction.
Wherein, above-mentioned reset answer response message can refer to, chip card 100 is made after by second terminal device reset A series of character strings responded out, these characters can be provided for second terminal equipment how with chip card 100 carry out follow-up work The information of communication.
Step S126, the safety chip 130 are based on the chip system more new information and are updated to chip system.
Through the above steps, chip system loading method provided in this embodiment both supported to load by contact mode and The chip system of safety chip 130 is updated, also support cordless load and updates the chip system of safety chip 130.
Further, on the basis of the above, when the chip system of safety chip 130 can be with normal load, that is, examining After measuring the chip system update, then received task processing order can be carried out based on updated chip system Simultaneously feedback command processing result is handled, is so taken orders into waiting, processing is ordered and the circulation of commands in return.
In conclusion the embodiment of the present application provides a kind of chip system loading method and chip card.Each safety chip exists If it is determined that can not currently load the chip system of the safety chip when receiving chip system load request, detection chip card is current Locating operating mode, and when detecting that chip card is currently at noncontact mode, by the bluetooth main control chip or The near-field communication chip and first terminal equipment establish working communication, and receive first terminal equipment according to selection response The chip system more new information that information is sent, to be updated based on chip system more new information to chip system.In this way, this Application is supported to realize the load and update to the chip system of safety chip by contactless mode, is applicable in actual scene Property it is stronger, solve user in the prior art generally require to return to chip card it is numerous caused by related card sending mechanism is handled Inconvenient problem, and then enhance user experience.
In embodiment provided herein, it should be understood that disclosed device and method, it can also be by other Mode realize.Device and method embodiment described above is only schematical, for example, flow chart and frame in attached drawing Figure shows the system frame in the cards of the system of multiple embodiments according to the application, method and computer program product Structure, function and operation.In this regard, each box in flowchart or block diagram can represent a module, section or code A part, a part of the module, section or code includes one or more for implementing the specified logical function Executable instruction.It should also be noted that function marked in the box can also be with not in some implementations as replacement It is same as the sequence marked in attached drawing generation.For example, two continuous boxes can actually be basically executed in parallel, they have When can also execute in the opposite order, this depends on the function involved.It is also noted that in block diagram and or flow chart Each box and the box in block diagram and or flow chart combination, can function or movement as defined in executing it is dedicated Hardware based system realize, or can realize using a combination of dedicated hardware and computer instructions.
In addition, each functional module in each embodiment of the application can integrate one independent portion of formation together Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It can replace, can be realized wholly or partly by software, hardware, firmware or any combination thereof.When When using software realization, can entirely or partly it realize in the form of a computer program product.The computer program product Including one or more computer instructions.It is all or part of when loading on computers and executing the computer program instructions Ground is generated according to process or function described in the embodiment of the present application.The computer can be general purpose computer, special purpose computer, Computer network or other programmable devices.The computer instruction may be stored in a computer readable storage medium, or Person is transmitted from a computer readable storage medium to another computer readable storage medium, for example, the computer instruction Wired (such as coaxial cable, optical fiber, digital subscriber can be passed through from a web-site, computer, server or data center Line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or data It is transmitted at center.The computer readable storage medium can be any usable medium that computer can access and either wrap The data storage devices such as electronic equipment, server, the data center integrated containing one or more usable mediums.The usable medium It can be magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid-state Hard disk Solid State Disk (SSD)) etc..
It should be noted that, in this document, term " including ", " including " or its any other variant are intended to non-row Its property includes, so that the process, method, article or equipment for including a series of elements not only includes those elements, and And further include the other elements being not explicitly listed, or further include for this process, method, article or equipment institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that including institute State in the process, method, article or equipment of element that there is also other identical elements.
It is obvious to a person skilled in the art that the application is not limited to the details of above-mentioned exemplary embodiment, Er Qie In the case where without departing substantially from spirit herein or essential characteristic, the application can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and scope of the present application is by appended power Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims Variation is included in the application.Any reference signs in the claims should not be construed as limiting the involved claims.

Claims (10)

1. a kind of chip system loading method, which is characterized in that be applied to chip card, the chip card includes bluetooth master control core The near-field communication chip and be electrically connected with the bluetooth main control chip more that piece and the bluetooth main control chip are electrically connected A safety chip, which comprises
For each safety chip when receiving chip system load request, whether judgement can currently load the core of the safety chip Piece system;
If it is determined that can not currently load the chip system of the safety chip, then the Working mould that the chip card is presently in is detected Formula, wherein the operating mode includes contact mode and contactless mode;
It is logical by the bluetooth main control chip or the near field when detecting that the chip card is currently at noncontact mode News chip and first terminal equipment establish working communication, so that the first terminal equipment is to the near-field communication chip or institute State bluetooth main control chip transmission chip system update information;
The chip system more new information received is sent to by the near-field communication chip or the bluetooth main control chip The safety chip;
The safety chip is based on the chip system more new information and is updated to chip system.
2. chip system loading method according to claim 1, which is characterized in that each safety chip is receiving When chip system load request, the step of currently whether capable of loading the chip system of the safety chip is judged, comprising:
Each safety chip detection currently whether there is chip system identifier;
If it exists, then determine the chip system for being currently able to load the safety chip;
If it does not exist, then determine the chip system that can not currently load the safety chip.
3. chip system loading method according to claim 1, which is characterized in that each safety chip is receiving When chip system load request, after judging the step of currently whether capable of loading the chip system of the safety chip, the side Method further include:
If it is determined that be currently able to load the chip system of the safety chip, then enter the chip system and with send the chip The exterior terminal of system loads request carries out data interaction.
4. chip system loading method according to claim 1, which is characterized in that further include in the chip card and second The communication interaction contact that terminal device is electrically connected, the communication interaction contact is also electrically connected with each safety chip, described After the step of detecting the operating mode that the chip card is presently in, the method also includes:
When detecting that the chip card is currently at contact mode, the reset signal that second terminal equipment is sent is received, and ring The reset signal is answered to feed back corresponding reset answer response message to the second terminal equipment, so that the second terminal is set It is standby to establish work according to the reset answer response message and by the communication interaction contact and the chip card of the chip card Communication, and by presetting communication protocol to the safety chip transmission chip system update information;
The safety chip is based on the chip system more new information and is updated to chip system.
5. chip system loading method according to claim 1, which is characterized in that the detection current institute of chip card The step of operating mode at place, comprising:
Detect the bluetooth main control chip currently whether with the first terminal equipment occur Bluetooth communication, the near-field communication core Whether piece is currently in the communication magnetic field of the first terminal equipment and/or whether the chip card is carrying out preset exposure The operation of formula agreement;
If detecting, the chip card is carrying out the operation of preset exposure formula agreement, determines that the chip card is currently at contact Under formula mode;
If detecting, currently with the first terminal equipment Bluetooth operation and/or the near-field communication core occur for bluetooth main control chip Whether piece is currently in the communication magnetic field of the first terminal equipment, then determines that the chip card is currently at contactless mould Under formula.
6. chip system loading method according to claim 1, which is characterized in that detecting that the chip card currently locates When noncontact mode, work is established by the bluetooth main control chip or the near-field communication chip and first terminal equipment The step of communication, comprising:
Bluetooth transmission channel is sent by terminal Bluetooth chip of the bluetooth main control chip into the first terminal equipment to build Vertical request, so that the terminal Bluetooth chip is established according to Bluetooth transmission Path Setup request with the bluetooth main control chip Bluetooth communication;Or
The safety chip receives the selection response request that the first terminal equipment is sent, and responds the selection response request Corresponding selection response information is fed back to the first terminal equipment, so that the first terminal equipment is according to the selection Response information and the near-field communication chip of the chip card establish working communication.
7. chip system loading method according to claim 1, which is characterized in that if including in the first terminal equipment Terminal Bluetooth chip, then it is described when detecting that the chip card is currently at noncontact mode, pass through the bluetooth master control core After the step of piece or the near-field communication chip and first terminal equipment establish working communication, the method also includes:
It is established and is communicated to connect by the bluetooth main control chip and the terminal Bluetooth chip, and receive the first terminal equipment The chip system more new information sent by the terminal Bluetooth chip.
8. chip system loading method according to claim 1, which is characterized in that if including in the first terminal equipment Terminal NFC chip, then it is described when detecting that the chip card is currently at noncontact mode, pass through the bluetooth main control chip Or after the near-field communication chip and first terminal equipment the step of establishing working communication, the method also includes:
It is established and is communicated to connect by the near-field communication chip and the terminal NFC chip, and receive the first terminal equipment The chip system more new information sent by the terminal NFC chip.
9. chip system loading method according to claim 1, which is characterized in that be based on the chip in the safety chip After the step of system update information is updated chip system, the method also includes:
After detecting that the chip system updates, received task processing is ordered based on updated chip system Handle simultaneously feedback command processing result.
10. a kind of chip card, which is characterized in that the chip card includes bluetooth main control chip and bluetooth main control chip electricity Property connection near-field communication chip and with the bluetooth main control chip be electrically connected multiple safety chips;
Each safety chip, for when receiving chip system load request, whether judgement can currently to load the safe core The chip system of piece then detects the chip card and is presently in if it is determined that can not currently load the chip system of the safety chip Operating mode, wherein the operating mode includes contact mode and contactless mode;
Each safety chip is also used to when detecting that the chip card is currently at noncontact mode, passes through the bluetooth master Control chip or the near-field communication chip and first terminal equipment establish working communication, so that the first terminal equipment is to institute State near-field communication chip or the bluetooth main control chip transmission chip system update information;
The near-field communication chip or the bluetooth main control chip, the chip system more new information hair for will receive Give the safety chip;
The safety chip, for being updated based on the chip system more new information to chip system.
CN201811332973.XA 2018-11-09 2018-11-09 Chip system loading method and chip card Active CN109408127B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811332973.XA CN109408127B (en) 2018-11-09 2018-11-09 Chip system loading method and chip card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811332973.XA CN109408127B (en) 2018-11-09 2018-11-09 Chip system loading method and chip card

Publications (2)

Publication Number Publication Date
CN109408127A true CN109408127A (en) 2019-03-01
CN109408127B CN109408127B (en) 2022-05-24

Family

ID=65472769

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811332973.XA Active CN109408127B (en) 2018-11-09 2018-11-09 Chip system loading method and chip card

Country Status (1)

Country Link
CN (1) CN109408127B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021084175A1 (en) * 2019-10-31 2021-05-06 Orange Electrically charging a circuit board

Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101500224A (en) * 2008-01-31 2009-08-05 中国移动通信集团公司 Multi-application management server for telecommunication smart card, multi-application management method and system
US20100207256A1 (en) * 2007-09-04 2010-08-19 Nds Limited Security chip
JP2011013902A (en) * 2009-07-01 2011-01-20 Sony Corp Security chip, security card and encryption processing method
CN102054151A (en) * 2009-11-09 2011-05-11 上海华虹集成电路有限责任公司 Method for quickly judging operating mode of dual interface smartcard
WO2011124078A1 (en) * 2010-04-06 2011-10-13 上海复旦微电子集团股份有限公司 Contactless communication device
EP2461267A1 (en) * 2010-12-03 2012-06-06 Gemalto SA System for communicating in a contact-less manner, and corresponding removable chip card, terminal and method
CN103067335A (en) * 2011-10-18 2013-04-24 中国移动通信集团公司 Method for realizing information interaction as non-contact mode, correlation equipment and system
CN103347105A (en) * 2013-06-19 2013-10-09 上海坤锐电子科技有限公司 Mobile phone radio-frequency SIM card with SWP function in compatible mode
US20140011453A1 (en) * 2012-07-03 2014-01-09 Renesas Electronics Corporation Semiconductor device and method of manufacturing the same
CN104408516A (en) * 2014-12-12 2015-03-11 恒宝股份有限公司 Novel dual-chip intelligent card and control method thereof
CN204650566U (en) * 2015-06-02 2015-09-16 深圳市德卡科技股份有限公司 Bluetooth intelligent card
CN105989397A (en) * 2014-09-22 2016-10-05 天地融科技股份有限公司 Simulation card
CN106227503A (en) * 2016-07-29 2016-12-14 苏州国芯科技有限公司 Safety chip COS firmware update, service end, terminal and system
CN106650882A (en) * 2015-10-28 2017-05-10 北京握奇智能科技有限公司 Method for determining application mode by judging communication interface
CN206575456U (en) * 2017-03-02 2017-10-20 广州先越宝仑电子科技有限公司 A kind of control circuit of active safety chip
CN108012268A (en) * 2017-12-08 2018-05-08 北京虎符信息技术有限公司 A kind of mobile phone terminal SIM card and the method for safe handling App, medium
CN108089931A (en) * 2017-11-30 2018-05-29 大唐微电子技术有限公司 A kind of method and device of synchronization SE information, wearable payment devices
CN207424840U (en) * 2017-11-30 2018-05-29 北京集创北方科技股份有限公司 Electronic equipment, display system and its safety chip
CN108196867A (en) * 2018-03-08 2018-06-22 深圳市文鼎创数据科技有限公司 Device for upgrading firmware, equipment and its firmware upgrade method of equipment
CN207557999U (en) * 2017-11-13 2018-06-29 厦门盛华电子科技有限公司 A kind of NFC bluetooths for supporting multi-channel digital certification are blocked entirely
CN207650857U (en) * 2017-11-13 2018-07-24 厦门盛华电子科技有限公司 It is a kind of to be blocked entirely using the NFC bluetooths of stacked package
CN108763979A (en) * 2018-05-15 2018-11-06 苏州澄怀科技有限公司 A kind of system and method that card application is written to smart card by mobile terminal

Patent Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100207256A1 (en) * 2007-09-04 2010-08-19 Nds Limited Security chip
CN101500224A (en) * 2008-01-31 2009-08-05 中国移动通信集团公司 Multi-application management server for telecommunication smart card, multi-application management method and system
JP2011013902A (en) * 2009-07-01 2011-01-20 Sony Corp Security chip, security card and encryption processing method
CN102054151A (en) * 2009-11-09 2011-05-11 上海华虹集成电路有限责任公司 Method for quickly judging operating mode of dual interface smartcard
WO2011124078A1 (en) * 2010-04-06 2011-10-13 上海复旦微电子集团股份有限公司 Contactless communication device
EP2461267A1 (en) * 2010-12-03 2012-06-06 Gemalto SA System for communicating in a contact-less manner, and corresponding removable chip card, terminal and method
CN103067335A (en) * 2011-10-18 2013-04-24 中国移动通信集团公司 Method for realizing information interaction as non-contact mode, correlation equipment and system
US20140011453A1 (en) * 2012-07-03 2014-01-09 Renesas Electronics Corporation Semiconductor device and method of manufacturing the same
CN103347105A (en) * 2013-06-19 2013-10-09 上海坤锐电子科技有限公司 Mobile phone radio-frequency SIM card with SWP function in compatible mode
CN105989397A (en) * 2014-09-22 2016-10-05 天地融科技股份有限公司 Simulation card
CN104408516A (en) * 2014-12-12 2015-03-11 恒宝股份有限公司 Novel dual-chip intelligent card and control method thereof
CN204650566U (en) * 2015-06-02 2015-09-16 深圳市德卡科技股份有限公司 Bluetooth intelligent card
CN106650882A (en) * 2015-10-28 2017-05-10 北京握奇智能科技有限公司 Method for determining application mode by judging communication interface
CN106227503A (en) * 2016-07-29 2016-12-14 苏州国芯科技有限公司 Safety chip COS firmware update, service end, terminal and system
CN206575456U (en) * 2017-03-02 2017-10-20 广州先越宝仑电子科技有限公司 A kind of control circuit of active safety chip
CN207557999U (en) * 2017-11-13 2018-06-29 厦门盛华电子科技有限公司 A kind of NFC bluetooths for supporting multi-channel digital certification are blocked entirely
CN207650857U (en) * 2017-11-13 2018-07-24 厦门盛华电子科技有限公司 It is a kind of to be blocked entirely using the NFC bluetooths of stacked package
CN108089931A (en) * 2017-11-30 2018-05-29 大唐微电子技术有限公司 A kind of method and device of synchronization SE information, wearable payment devices
CN207424840U (en) * 2017-11-30 2018-05-29 北京集创北方科技股份有限公司 Electronic equipment, display system and its safety chip
CN108012268A (en) * 2017-12-08 2018-05-08 北京虎符信息技术有限公司 A kind of mobile phone terminal SIM card and the method for safe handling App, medium
CN108196867A (en) * 2018-03-08 2018-06-22 深圳市文鼎创数据科技有限公司 Device for upgrading firmware, equipment and its firmware upgrade method of equipment
CN108763979A (en) * 2018-05-15 2018-11-06 苏州澄怀科技有限公司 A kind of system and method that card application is written to smart card by mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021084175A1 (en) * 2019-10-31 2021-05-06 Orange Electrically charging a circuit board
FR3104352A1 (en) * 2019-10-31 2021-06-11 Orange Electrical charging of an electronic card

Also Published As

Publication number Publication date
CN109408127B (en) 2022-05-24

Similar Documents

Publication Publication Date Title
CN103548395B (en) For the method and apparatus with the battery of safety element
CN202906904U (en) A NFC enablement device storing and searching dedicated personal information of portable applications
CN103001671B (en) Systems and methods for providing nfc secure application support in battery-off mode when no nonvolatile memory write access is available
CN103559756B9 (en) A kind of system and method utilizing NFC mobile phone to supplement with money to non-contact IC card
CN103310537B (en) A kind of many application identifications access method, smart card and POS
TW201325117A (en) Systems and methods for providing NFC secure application support in battery on and battery off modes
CN107369015A (en) Payment transaction is handled in the case of without safety element
CN104467923B (en) Method, equipment and system that equipment is interacted
CN105519004A (en) Mechanism for generating a hybrid communication circuitry for facilitating hybrid communication between devices
CN103500400A (en) Multi-application mobile payment system and safety method
CN103262590A (en) System and method for provisioning over the air of confidential information on mobile communicative devices with non-UICC secure elements
CN102938081A (en) Intelligent card individualized data processing, controller and system
CN105379326A (en) Systems, methods, and computer program products for managing states
CN109408127A (en) Chip system loading method and chip card
CN104091188A (en) Wearable equipment and smart card system
CN208188814U (en) A kind of embedded device and its remote update system
CN107396296A (en) A kind of method and apparatus for being used to carry out user equipment wireless connection pre-authorization
CN109076428B (en) Data processing method and related device
CN108537991A (en) A kind of non-contact IC card charging system and its recharge method
CN109034789A (en) Method for online payment, computer program product and mobile payment card thereof
CN109242055A (en) Smart card peripheral device, command processing method, electronic equipment and storage medium
CN104205142A (en) Link of mobile devices to facilitate mobile commerce transactions
CN209357113U (en) Support the mobile terminal and mobile-payment system of PSAM card
CN108292393A (en) A kind of method of payment and equipment based on NFC near-field communications
CN105550577A (en) Security control method and system for terminal container

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