The utility model content
In view of this, fundamental purpose of the present utility model provides a kind of Apparatus and system of realizing the SIM card read-write, solves to use when being connected the read-write of realization SIM card with PC by the usb data line in the prior art to have circumscribed problem.
For addressing the above problem, the technical scheme that the utility model provides is as follows:
A kind of device of realizing the SIM card read-write, described device comprises: bluetooth module, micro-control unit, intelligent card interface and power supply management module;
Described bluetooth module links to each other with described micro-control unit, and described micro-control unit links to each other with described intelligent card interface, and described power supply management unit links to each other with described micro-control unit with described bluetooth module;
Described intelligent card interface is used for the access SIM card;
Described micro-control unit is used for receiving the Card Reader instruction that described portable terminal sends by described bluetooth module after described SIM card access; Read the integrated circuit card identification code ICCID number of described SIM card according to described Card Reader instruction, and send described ICCID number by described bluetooth module to described portable terminal; After described portable terminal obtains international mobile subscriber identity IMSI number corresponding to short message centre number, subscriber phone number and described ICCID number, write the card instruction by what described bluetooth module received that described portable terminal sends; Write the card instruction and write described IMSI number, described short message centre number and described subscriber phone number to described SIM card according to described;
Described power supply management module is used to described bluetooth module and described micro-control unit that electric energy is provided.
Accordingly, described bluetooth module comprises:
Bluetooth chip and Bluetooth antenna; Described Bluetooth chip links to each other with described Bluetooth antenna;
Described Bluetooth chip is used for receiving described Card Reader instruction, described card instruction, described IMSI number, described short message centre number and the described subscriber phone number write that described portable terminal sends; The described Card Reader instruction, described card instruction, described IMSI number, described short message centre number and the described subscriber phone number write that send and receive to described micro-control unit; Receive the described ICCID number that described micro-control unit sends;
Described Bluetooth antenna is used for the described ICCID number that sends and receives to described portable terminal.
Accordingly, described power supply management module comprises:
Battery module and battery charging management module; Described battery module links to each other with described micro-control unit with described bluetooth module, and described battery charging management module links to each other with described battery module;
Described battery module is used to described bluetooth module and described micro-control unit that electric energy is provided;
Described battery charging management module, being used for by USB interface is described charging battery module.
Accordingly, described device also comprises:
The AccessPort output module, described AccessPort output module links to each other with described micro-control unit, is used for described micro-control unit is monitored by the read-write process of described intelligent card interface and described SIM card and verified by the communication process of described bluetooth module and described portable terminal and/or to described micro-control unit.
Accordingly, described micro-control unit comprises:
First receives subelement, is used for receiving the Card Reader instruction that described portable terminal sends by described bluetooth module after described SIM card access;
Read subelement, be used for choosing according to described Card Reader instruction the ICCID directory of numbers of described SIM card, in described ICCID directory of numbers, read the ICCID number of described SIM card, and send described ICCID number by described bluetooth module to described portable terminal;
Second receives subelement, after being used for described portable terminal and obtaining IMSI number corresponding to short message centre number, subscriber phone number and described ICCID number, writes the card instruction by what described bluetooth module received that described portable terminal sends;
Write subelement, be used for writing the IMSI directory of numbers that described SIM card is chosen in the card instruction according to described, whether verification IMSI number exists, and if not, writes described IMSI number in described IMSI directory of numbers; Write the short message centre number catalogue that described SIM card is chosen in the card instruction according to described, whether the verification short message centre number exists, and if not, writes described short message centre number in described short message centre number catalogue; Write the subscriber phone number catalogue that described SIM card is chosen in the card instruction according to described, whether subscriber phone number exists in the described subscriber phone number catalogue of verification, if not, writes described subscriber phone number in described subscriber phone number catalogue.
A kind of system that realizes the SIM card read-write, described system comprises:
Portable terminal and card reader/writer; Described portable terminal and described card reader/writer carry out wireless connections by the bluetooth module in the described card reader/writer;
Described portable terminal is used for sending the Card Reader instruction by described bluetooth module to described card reader/writer after the SIM card access; After obtaining international mobile subscriber identity IMSI number corresponding to short message centre number, subscriber phone number and integrated circuit card identification code ICCID number, write the card instruction by described bluetooth module to described card reader/writer transmission;
Described card reader/writer is used for reading according to described Card Reader instruction the described ICCID number of described SIM card, and sends described ICCID number by described bluetooth module to described portable terminal; Write the card instruction and write described IMSI number, described short message centre number and described subscriber phone number to described SIM card according to described.
Accordingly, described card reader/writer is described a kind of device of realizing the SIM card read-write.
This shows, the utlity model has following beneficial effect:
The utility model carries out the transmission of wireless signal by the bluetooth module in the SIM card card reader/writer, realize communicating by letter between the micro-control unit in portable terminal and the SIM card card reader/writer, finish the read-write operation to SIM card, therefore, only portable terminal need to be arranged, such as mobile phone, panel computer etc., can realize read-write operation to SIM card by bluetooth SIM card reader/writer, easy to use.In addition, the AccessPort output module can be monitored and verifies the process of read-write SIM card, has guaranteed the accuracy of director data in the read-write SIM card process.
Embodiment
For above-mentioned purpose of the present utility model, feature and advantage can be become apparent more, below in conjunction with the drawings and specific embodiments the utility model embodiment is described in further detail.
The utility model is realized the device of SIM card read-write, to have circumscribed problem for being connected with PC to use when realizing the SIM card read-write by the usb data line in the prior art, realize SIM card read-write equipment and the wireless connections with portable terminal of Bluetooth function by bluetooth module, realize the function of SIM card read-write.
Based on above-mentioned thought, referring to shown in Figure 1, the utility model realizes that the device of SIM card read-write comprises: bluetooth module 11, micro-control unit 12, intelligent card interface 13 and power supply management module 14; Bluetooth module 11 links to each other with micro-control unit 12, and micro-control unit 12 links to each other with intelligent card interface 13, and power supply management unit 14 links to each other with micro-control unit 12 with bluetooth module 11;
Wherein, intelligent card interface 13 is used for the access SIM card;
Micro-control unit 12 is used for after the SIM card access, by the Card Reader instruction of bluetooth module mobile terminal receive transmission; According to ICCID (Integrate Circuit Card Identity, the integrated circuit card identification code) number of Card Reader instruction reading SIM card, and send the ICCID number by bluetooth module to portable terminal; After portable terminal obtains international mobile subscriber identity IMSI number corresponding to short message centre number, subscriber phone number and ICCID number, write the card instruction by what the bluetooth module mobile terminal receive sent; Write IMSI number, short message centre number and subscriber phone number according to writing the card instruction to SIM card;
Power supply management module 14 is used to bluetooth module and micro-control unit that electric energy is provided.
Like this, carry out the transmission of wireless signal by bluetooth module, can realize communicating by letter between the micro-control unit in portable terminal and the SIM card card reader/writer, finish the read-write operation to SIM card, therefore, in use only the portable terminal with Bluetooth function need to be arranged, such as mobile phone, panel computer etc., can realize using read-write operation to SIM card convenient by bluetooth SIM card reader/writer.
In the above-described embodiments, bluetooth module 11 can comprise: Bluetooth chip and Bluetooth antenna; Bluetooth chip links to each other with Bluetooth antenna; Bluetooth chip is used for Card Reader instruction that mobile terminal receive sends, writes card instruction, IMSI number, short message centre number and subscriber phone number; The Card Reader instruction that sends and receives to micro-control unit, write card instruction, IMSI number, short message centre number and subscriber phone number; Receive the ICCID number that micro-control unit sends; Bluetooth antenna is used for the ICCID number that sends and receives to portable terminal.
Bluetooth is the radiotelegraphy of a kind of support equipment short haul connection (in the general 10m), can comprise that carrying out wireless messages between numerous equipment such as mobile phone, panel computer, wireless headset, notebook computer, relevant peripheral hardware exchanges." bluetooth " technology of utilization can be simplified the communication between the mobile communication terminal device effectively.
The device of realizing the SIM card read-write and portable terminal are undertaken needing to match before the transmission of wireless signals being connected by bluetooth module, the device of SIM card read-write can comprise with the process that the portable terminal pairing is connected: after receiving the scanning bluetooth equipment instruction of portable terminal transmission, to described portable terminal transmitting apparatus address; Receive described portable terminal according to described device address send obtain device signal after, match with described portable terminal and to be connected.
In the above-described embodiments, power supply management module 14 can comprise: battery module and battery charging management module; Battery module links to each other with micro-control unit with bluetooth module, and the battery charging management module links to each other with battery module; Battery module is used to bluetooth module and micro-control unit that electric energy is provided; The battery charging management module, being used for by USB interface is charging battery module.
It is the power supply of this device that battery module can be selected lithium battery, the battery charging management module can be charged to battery module by the USB interface of computing machine, can also manage the battery module charge and discharge process, guarantee that battery module is operated within the threshold range that discharges and recharges.
The principle of work of this device is:
Micro-control unit is after the SIM card access, by the Card Reader instruction of bluetooth module mobile terminal receive transmission; According to the integrated circuit card identification code ICCID number of Card Reader instruction reading SIM card, and send the ICCID number by bluetooth module to portable terminal; After portable terminal obtains international mobile subscriber identity IMSI number corresponding to short message centre number, subscriber phone number and ICCID number, write the card instruction by what the bluetooth module mobile terminal receive sent; Write IMSI number, short message centre number and subscriber phone number by intelligent card interface to SIM card according to writing the card instruction.
In addition, the utility model is realized the device of SIM card read-write, can also comprise: AccessPort output module 15 referring to shown in Figure 2, is a kind of concrete structure synoptic diagram that the utility model is realized the SIM card read-write equipment.The AccessPort output module links to each other with micro-control unit, is used for micro-control unit is monitored by the read-write process of intelligent card interface and SIM card and verified by the communication process of bluetooth module and portable terminal and/or to micro-control unit.
The AccessPort output module can be monitored and verifies the process of read-write SIM card at system design stage, has guaranteed the accuracy of director data in the read-write SIM card process.
Concrete, referring to shown in Figure 3, be the structural representation of realizing micro-control unit in the SIM card read-write equipment, micro-control unit 12 can comprise: first receive subelement 121, read subelement 122, second receive subelement 123 and write subelement 124;
First receives subelement 121, is used for after the SIM card access, by the Card Reader instruction of bluetooth module mobile terminal receive transmission;
Read subelement 122, be used for the ICCID directory of numbers that SIM card is chosen in according to Card Reader instruction, the ICCID number of reading SIM card in the ICCID directory of numbers, and send the ICCID number by bluetooth module to portable terminal;
Second receives subelement 123, after being used for portable terminal and obtaining IMSI number corresponding to short message centre number, subscriber phone number and ICCID number, writes the card instruction by what the bluetooth module mobile terminal receive sent;
Write subelement 124, be used for according to writing the IMSI directory of numbers that SIM card is chosen in the card instruction, whether verification IMSI number exists, and if not, writes the IMSI number in the IMSI directory of numbers; According to the short message centre number catalogue of writing the card instruction and choose SIM card, whether the verification short message centre number exists, and if not, writes short message centre number in the short message centre number catalogue; According to the subscriber phone number catalogue of writing the card instruction and choose SIM card, whether subscriber phone number exists in the verified users phone number catalogue, if not, writes subscriber phone number in the subscriber phone number catalogue.
Wherein, portable terminal can obtain short message centre number according to the user region from remote server; Obtain subscriber phone number from remote server, this subscriber phone number be by remote server distribute without the phone number that uses or user selection and by remote server verification without the phone number that uses; Obtain IMSI number corresponding to ICCID number from remote server.
The IMSI number can obtain by the ICCID number of inquiry remote server data storehouse according to different SIM, and the ICCID number is solidificated in the SIM card, is unique identification number of SIM card; Short message centre number can obtain according to the user region, and generally there is the short message centre number of regulation in each provinces, autonomous regions and municipalities; Subscriber phone number can be distributed without the phone number acquisition of using or user selection and by remote server verification by remote server and obtains without after using, like this, just can realize user's autonomous phone number of selecting in certain section, write again among the SIM, for the user provides the more possibility of more options, be user-friendly to.
In addition, in SIM card, data can be stored with the form of file, mode with catalogue manages, and this mode can improve the service efficiency of SIM card, therefore, can in the ICCID of SIM card directory of numbers, read the ICCID number, in the IMSI directory of numbers, write the IMSI number, in the short message centre number catalogue, write short message centre number, in the subscriber phone number catalogue, write subscriber phone number.
Correspondingly, the utility model also provides a kind of system that realizes the SIM card read-write, referring to shown in Figure 4, is a kind of structural representation of this system, and this system comprises: portable terminal and card reader/writer; Portable terminal and card reader/writer carry out wireless connections by the bluetooth module in the card reader/writer;
Portable terminal is used for sending the Card Reader instruction by bluetooth module to card reader/writer after the SIM card access; After obtaining international mobile subscriber identity IMSI number corresponding to short message centre number, subscriber phone number and integrated circuit card identification code ICCID number, write the card instruction by bluetooth module to the card reader/writer transmission;
Card reader/writer is used for the ICCID number according to Card Reader instruction reading SIM card, and sends the ICCID number by bluetooth module to portable terminal; Write IMSI number, short message centre number and subscriber phone number according to writing the card instruction to SIM card.
Described card reader/writer can be the device of the realization SIM card read-write described in above-described embodiment.
The principle of work of native system is:
Portable terminal matches by the bluetooth module in the card reader/writer with card reader/writer and is connected, and after the SIM card access, portable terminal sends the Card Reader instruction by bluetooth module to card reader/writer; Card reader/writer is according to the ICCID number of Card Reader instruction reading SIM card, and sends the ICCID number by bluetooth module to portable terminal; After portable terminal obtains IMSI number corresponding to short message centre number, subscriber phone number and ICCID number, write the card instruction by bluetooth module to the card reader/writer transmission; Card reader/writer writes IMSI number, short message centre number and subscriber phone number according to writing the card instruction to SIM card.
Like this, carry out the transmission of wireless signal by bluetooth module, can realize communicating by letter between the micro-control unit in portable terminal and the SIM card card reader/writer, finish the read-write operation to SIM card, therefore, in use only the portable terminal with Bluetooth function need to be arranged, such as mobile phone, panel computer etc., can realize using read-write operation to SIM card convenient by bluetooth SIM card reader/writer.
Need to prove that each embodiment adopts the mode of going forward one by one to describe in this instructions, what each embodiment stressed is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.For the disclosed device of embodiment, because it is corresponding with the disclosed system of embodiment, so description is fairly simple, relevant part gets final product referring to the components of system as directed explanation.
Also need to prove, in this article, relational terms such as the first and second grades only is used for an entity or operation are made a distinction with another entity or operation, and not necessarily requires or hint and have the relation of any this reality or sequentially between these entities or the operation.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby not only comprise those key elements so that comprise process, method, article or the equipment of a series of key elements, but also comprise other key elements of clearly not listing, or also be included as the intrinsic key element of this process, method, article or equipment.Do not having in the situation of more restrictions, the key element that is limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
The method of describing in conjunction with embodiment disclosed herein or the step of algorithm can directly use the software module of hardware, processor execution, and perhaps the combination of the two is implemented.Software module can place the storage medium of any other form known in random access memory (RAM), internal memory, ROM (read-only memory) (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or the technical field.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the utility model.Multiple modification to these embodiment will be apparent concerning those skilled in the art, and General Principle as defined herein can in the situation that does not break away from spirit or scope of the present utility model, realize in other embodiments.Therefore, the utility model will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.