CN104951417A - Method for achieving USB combined device suitable for high-capacity USIM - Google Patents
Method for achieving USB combined device suitable for high-capacity USIM Download PDFInfo
- Publication number
- CN104951417A CN104951417A CN201410115227.0A CN201410115227A CN104951417A CN 104951417 A CN104951417 A CN 104951417A CN 201410115227 A CN201410115227 A CN 201410115227A CN 104951417 A CN104951417 A CN 104951417A
- Authority
- CN
- China
- Prior art keywords
- large copacity
- usim card
- interface
- descriptor
- end points
- 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.)
- Pending
Links
Landscapes
- Computer And Data Communications (AREA)
Abstract
The invention relates to a method for achieving a USB combined device suitable for a high-capacity USIM and relates to the technical field of high-capacity USIMs. A host and a high-capacity USIM card are included in the method. A mobile phone terminal or a work computer is adopted as the host. The high-capacity USIM card is a USB device comprising a configuration part, two interfaces and four communication end points, wherein the two interfaces are the CCID protocol and the MassStorage protocol. The method comprises a recognition stage method and a data communication stage method, wherein the data communication stage method further comprises a data interaction method and a cooperative work command method. By means of the USB interfaces high in speed and rich in communication protocol, basic communication channels for various application functions of the high-capacity USIM card can be established. The method can meet the mass data interaction need for high-capacity storage, and the good experience feeling can brought to a product user through the efficient communication mode.
Description
Technical field
The present invention relates to Large Copacity USIM technical field, particularly realize the method being applicable to the USB equipment complex of Large Copacity USIM.
Background technology
Along with the development of science and technology, the raising of people's living standard, multi-usage, multi-functional product more and more enjoy favor.
As the indispensable commodity of daily communication, the function singleness of SIM card, the visual field of people of gradually fading out, the degree be concerned also declines gradually.The appearance of Large Copacity USIM (Universal Subscriber Identity Module, global Hu Shi Do module) product, has broken the situation of this silence, more applies provide more wide platform with business for market excavation usim card.
Large Copacity USIM is as a SIM card product, and the function that first should possess is exactly conventional telecommunications business, is secondly the expanded function of massive store.The communication modes that these two functions are applied is carried out managing and unifying, is Large Copacity USIM product face first, is also the problem of most critical.By original ISO/IEC 7816 Interface realization, the mass data that obviously cannot meet massive store is mutual, and inefficient communication modes will cause the Consumer's Experience of product to experience poor.
Summary of the invention
For above-mentioned the deficiencies in the prior art, the object of this invention is to provide a kind of method realizing being applicable to the USB equipment complex of Large Copacity USIM.The USB interface that its operating speed is fast, communications protocol is abundant, can set up Base communication passage for Large Copacity USIM completes multiple application function.
In order to reach foregoing invention object, technical scheme of the present invention realizes as follows:
Realize a method for the USB equipment complex being applicable to Large Copacity USIM, it uses and comprises main frame and Large Copacity usim card.Described main frame adopts mobile phone terminal or working computer.Large Copacity usim card is the USB device comprising a configuration, two interfaces, four communication end points, and two interfaces are CCID agreement and Mass Storage agreement respectively.It comprises cognitive phase method and data communication stage method two class,
Described cognitive phase method comprises the following steps:
1) Host Detection connects to Large Copacity usim card, to its transmitting apparatus descriptor request;
2) Large Copacity usim card response also reverting equipment descriptor information;
3) main frame sends the request of configuration descriptor to Large Copacity usim card;
4) Large Copacity usim card respond and reply configuration descriptor information, CCID interface descriptor information, CCID use two endpoint descriptor information, Mass Storage interface descriptor information, Mass Storage use two endpoint descriptor information;
5) main frame is to the request of Large Copacity usim card transmitting apparatus character string descriptor;
6) Large Copacity usim card response also reverting equipment character string descriptor information;
7) main frame sends the request of CCID interface character string descriptor to Large Copacity usim card;
8) Large Copacity usim card responds and replys CCID interface character string descriptor information;
9) main frame sends the request of Mass Storage interface character string descriptor to Large Copacity usim card;
10) Large Copacity usim card responds and replys Mass Storage interface character string descriptor information.
Described data communication stage method comprises data interactive method and collaborative work command method, and wherein data interactive method is following steps:
1) Host Detection is the equipment complex of two interfaces to Large Copacity usim card, sends APDU order and data by the end points of CCID interface to it;
2) Large Copacity usim card is by the end points response APDU order of CCID interface;
3) main frame sends memory access command and data by the end points of Mass Storage interface to Large Copacity usim card;
4) Large Copacity usim card is by the end points response visit order of Mass Storage interface.
Wherein collaborative work command handling method is following steps:
1) main frame sends memory access command and data by the end points of Mass Storage interface to Large Copacity usim card, sends APDU order and data by the end points of CCID interface simultaneously;
2) Large Copacity usim card is by the end points response visit order of Mass Storage interface, simultaneously by the end points response APDU order of CCID interface.
In the above-mentioned methods, described device descriptor refers to device type, the configuration quantity and Back ground Information of Large Copacity usim card.
In the above-mentioned methods, described configuration descriptor refers to configuration information and the interface quantity of Large Copacity usim card.
In the above-mentioned methods, described interface descriptor refers to interface message and the end points quantity of Large Copacity usim card.
In the above-mentioned methods, described endpoint descriptor refers to the end-point capability of Large Copacity usim card.
In the above-mentioned methods, described character string descriptor refers to the character string information of Large Copacity usim card.
The present invention is owing to have employed said method, and the USB interface fast by operating speed, communications protocol is abundant, can set up Base communication passage for Large Copacity USIM completes multiple application function.The present invention can meet the mass data interaction demand of massive store, and the experience sense that high efficiency communication modes can bring product user good is subject to.
Below in conjunction with the drawings and specific embodiments, the invention will be further described.
Accompanying drawing explanation
Fig. 1 is the data interaction schematic diagram of cognitive phase in implementation method of the present invention.
Fig. 2 is the data interaction schematic diagram in data communication stage in implementation method of the present invention.
Fig. 3 is the collaborative work command process schematic diagram in data communication stage in implementation method of the present invention.
Embodiment
The present invention realizes the method being applicable to the USB equipment complex of Large Copacity USIM, and it uses and comprises main frame and Large Copacity usim card.Main frame adopts mobile phone terminal or working computer, and Large Copacity usim card is the USB device comprising a configuration, two interfaces, four communication end points, and two interfaces are CCID agreement and Mass Storage agreement respectively.
Referring to Fig. 1, after the Host Detection such as mobile phone terminal or working computer connects to Large Copacity usim card, main frame sends the request obtaining descriptor to Large Copacity usim card, Large Copacity usim card carries out the reply responded, and concrete data exchange process is as follows:
1) host requests is to the request of Large Copacity usim card transmitting apparatus descriptor;
2) Large Copacity usim card responds this request, reverting equipment descriptor information, and instruction Large Copacity usim card has a configuration, and annunciator community string index community number (Index=1);
3) main frame sends the request of configuration descriptor to Large Copacity usim card;
4) Large Copacity usim card responds this request, replys configuration descriptor information, and instruction Large Copacity usim card has two interfaces; Large Copacity usim card sends first interface descriptor information, indicates this interface to be CCID communications protocol interface, employs two end points, and informs this interface character string indexing number (Index=2); Large Copacity usim card sends the endpoint descriptor information of two end points that CCID interface is used, the direction of communication of instruction end points and data transmission capabilities; Large Copacity usim card sends second interface descriptor information, indicates this interface to be Mass Storage communications protocol interface, to employ two end points, and informs this interface character string indexing number (Index=3); Large Copacity usim card sends the endpoint descriptor information of two end points that Mass Storage interface is used, the direction of communication of instruction end points and data transmission capabilities;
5) host requests Large Copacity usim card equipment character string descriptor (Index=1);
6) Large Copacity usim card responds this request, reverting equipment character string descriptor information;
7) the CCID interface character string descriptor (Index=2) of host requests Large Copacity usim card;
8) Large Copacity usim card responds this request, reverting equipment character string descriptor information;
9) Mass Storage interface character string descriptor (Index=3) of host requests Large Copacity usim card;
10) Large Copacity usim card responds this request, reverting equipment character string descriptor information.
Descriptor is obtained at the main frame such as mobile phone terminal or working computer, and identify that Large Copacity USIM is after the equipment complex of multiplex roles, main frame sends the order of corresponding agreement on the end points that CCID and Mass Storage two interfaces are corresponding, realizes the data interaction of distinct interface, different application.Because two interfaces and the end points used are independently, so when two interfaces work simultaneously, the communication of CCID and Mass Storage does not affect mutually, each interface receives order according to corresponding communications protocol, the order of Large Copacity USIM to each interface processes, and replys over that interface.
As shown in Figure 2.Data interactive method step is:
1) Host Detection is the equipment complex of two interfaces to Large Copacity usim card, sends APDU order and data by the end points of CCID interface to it;
2) Large Copacity usim card is by the end points response APDU order of CCID interface;
3) main frame sends memory access command and data by the end points of Mass Storage interface to Large Copacity usim card;
4) Large Copacity usim card is by the end points response visit order of Mass Storage interface.
When two interfaces work simultaneously time, main frame alternately can send CCID order and Mass Storage order, and the order that so just there will be an interface processes, and the situation that the communication of another interface starts.
As shown in Figure 3.In order to ensure the conventional telecommunications business that priority is higher, first Large Copacity USIM, once have received a new CCID order, even if now processing Mass Storage order, is also processing the CCID order received, and respond in time, continue again afterwards to process the operation do not completed.Collaborative work command handling method step is:
1) main frame sends memory access command and data by the end points of Mass Storage interface to Large Copacity usim card, sends APDU order and data by the end points of CCID interface simultaneously;
2) Large Copacity usim card is by the end points response visit order of Mass Storage interface, simultaneously by the end points response APDU order of CCID interface.
The cognitive phase of the USB equipment complex of Large Copacity USIM is applicable in implementation method of the present invention, after Large Copacity usim card is connected with the main frame such as mobile phone terminal or working computer, main frame starts to send request multiple descriptor request to Large Copacity usim card, comprise device descriptor, configuration descriptor, interface descriptor, endpoint descriptor, character string descriptor, Large Copacity usim card, by replying corresponding information to main frame, informs the device type of Large Copacity usim card, interface type, end points service condition and other information.
The data communication stage of the USB equipment complex of Large Copacity USIM is applicable in implementation method of the present invention, by obtaining multiple descriptor at the main frame such as mobile phone terminal or working computer, identify that Large Copacity usim card is after the equipment complex of multiplex roles, main frame carries out data interaction communication respectively on CCID and Mass Storage two interfaces.Communication and the process of two interfaces are all independently, so when two interface collaborative works, the communication of CCID and Mass Storage does not affect mutually, each interface receives order according to corresponding communications protocol, the order of Large Copacity usim card to each interface processes, and replys over that interface.
The collaborative work situation in the data communication stage of the USB equipment complex of Large Copacity USIM is applicable in implementation method of the present invention, be the main frame such as mobile phone terminal or working computer carries out conventional telecommunications newsletter and mass memory communication simultaneously situation to Large Copacity usim card, CCID order and the Mass Storage order of now main frame transmission can alternately take usb data bus.In this case, once have received a new CCID order, the CCID order that Large Copacity usim card priority processing receives, and respond in time, even if now processing Mass Storage order, after the reply completing CCID order, then continue to process the operation do not completed.
Claims (6)
1. a realization is applicable to the method for the USB equipment complex of Large Copacity USIM, it uses and comprises main frame and Large Copacity usim card, described main frame adopts mobile phone terminal or working computer, Large Copacity usim card is the USB device comprising a configuration, two interfaces, four communication end points, and two interfaces are CCID agreement and Mass Storage agreement respectively; It comprises cognitive phase method and data communication stage method two class,
Described cognitive phase method comprises the following steps:
1) Host Detection connects to Large Copacity usim card, to its transmitting apparatus descriptor request;
2) Large Copacity usim card response also reverting equipment descriptor information;
3) main frame sends the request of configuration descriptor to Large Copacity usim card;
4) Large Copacity usim card respond and reply configuration descriptor information, CCID interface descriptor information, CCID use two endpoint descriptor information, Mass Storage interface descriptor information, Mass Storage use two endpoint descriptor information;
5) main frame is to the request of Large Copacity usim card transmitting apparatus character string descriptor;
6) Large Copacity usim card response also reverting equipment character string descriptor information;
7) main frame sends the request of CCID interface character string descriptor to Large Copacity usim card;
8) Large Copacity usim card responds and replys CCID interface character string descriptor information;
9) main frame sends the request of Mass Storage interface character string descriptor to Large Copacity usim card;
10) Large Copacity usim card responds and replys Mass Storage interface character string descriptor information;
Described data communication stage method comprises data interactive method and collaborative work command method, and wherein data interactive method is following steps:
1) Host Detection is the equipment complex of two interfaces to Large Copacity usim card, sends APDU order and data by the end points of CCID interface to it;
2) Large Copacity usim card is by the end points response APDU order of CCID interface;
3) main frame sends memory access command and data by the end points of Mass Storage interface to Large Copacity usim card;
4) Large Copacity usim card is by the end points response visit order of Mass Storage interface;
Wherein collaborative work command handling method is following steps:
1) main frame sends memory access command and data by the end points of Mass Storage interface to Large Copacity usim card, sends APDU order and data by the end points of CCID interface simultaneously;
2) Large Copacity usim card is by the end points response visit order of Mass Storage interface, simultaneously by the end points response APDU order of CCID interface.
2. method according to claim 1, is characterized in that, described device descriptor refers to device type, the configuration quantity and Back ground Information of Large Copacity usim card.
3. method according to claim 1 and 2, is characterized in that, described configuration descriptor refers to configuration information and the interface quantity of Large Copacity usim card.
4. method according to claim 3, is characterized in that, described interface descriptor refers to interface message and the end points quantity of Large Copacity usim card.
5. method according to claim 4, is characterized in that, described endpoint descriptor refers to the end-point capability of Large Copacity usim card.
6. method according to claim 5, is characterized in that, described character string descriptor refers to the character string information of Large Copacity usim card.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410115227.0A CN104951417A (en) | 2014-03-26 | 2014-03-26 | Method for achieving USB combined device suitable for high-capacity USIM |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410115227.0A CN104951417A (en) | 2014-03-26 | 2014-03-26 | Method for achieving USB combined device suitable for high-capacity USIM |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104951417A true CN104951417A (en) | 2015-09-30 |
Family
ID=54166081
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410115227.0A Pending CN104951417A (en) | 2014-03-26 | 2014-03-26 | Method for achieving USB combined device suitable for high-capacity USIM |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104951417A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107025176A (en) * | 2016-02-01 | 2017-08-08 | 北京同方微电子有限公司 | One kind adjustment Large Copacity USIM massage storage subregion capacity systems and method |
CN107038038A (en) * | 2016-02-03 | 2017-08-11 | 北京同方微电子有限公司 | A kind of method for running Large Copacity USIM applets |
WO2017197894A1 (en) * | 2016-05-20 | 2017-11-23 | 广州视睿电子科技有限公司 | Method, apparatus, system and external device for updating data |
CN111221768A (en) * | 2020-01-10 | 2020-06-02 | 珠海趣印科技有限公司 | USB equipment composite communication method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1920848A (en) * | 2006-09-19 | 2007-02-28 | 北京飞天诚信科技有限公司 | Method and device for information interaction between host and smart card |
CN101031121A (en) * | 2007-03-14 | 2007-09-05 | 中兴通讯股份有限公司 | Mobile terminal and method for reading SIM card |
CN101872334A (en) * | 2010-05-26 | 2010-10-27 | 北京飞天诚信科技有限公司 | Compound type usb equipment and implementation method thereof |
US20120054372A1 (en) * | 2010-08-24 | 2012-03-01 | Mediatek Inc. | Method of usb device enumeration including detecting the operating system type of the usb host |
CN202394228U (en) * | 2011-12-21 | 2012-08-22 | 北京握奇数据系统有限公司 | USB (Universal Serial Bus) equipment |
-
2014
- 2014-03-26 CN CN201410115227.0A patent/CN104951417A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1920848A (en) * | 2006-09-19 | 2007-02-28 | 北京飞天诚信科技有限公司 | Method and device for information interaction between host and smart card |
CN101031121A (en) * | 2007-03-14 | 2007-09-05 | 中兴通讯股份有限公司 | Mobile terminal and method for reading SIM card |
CN101872334A (en) * | 2010-05-26 | 2010-10-27 | 北京飞天诚信科技有限公司 | Compound type usb equipment and implementation method thereof |
US20120054372A1 (en) * | 2010-08-24 | 2012-03-01 | Mediatek Inc. | Method of usb device enumeration including detecting the operating system type of the usb host |
CN202394228U (en) * | 2011-12-21 | 2012-08-22 | 北京握奇数据系统有限公司 | USB (Universal Serial Bus) equipment |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107025176A (en) * | 2016-02-01 | 2017-08-08 | 北京同方微电子有限公司 | One kind adjustment Large Copacity USIM massage storage subregion capacity systems and method |
CN107038038A (en) * | 2016-02-03 | 2017-08-11 | 北京同方微电子有限公司 | A kind of method for running Large Copacity USIM applets |
CN107038038B (en) * | 2016-02-03 | 2021-12-21 | 紫光同芯微电子有限公司 | Method for operating large-capacity USIM applet |
WO2017197894A1 (en) * | 2016-05-20 | 2017-11-23 | 广州视睿电子科技有限公司 | Method, apparatus, system and external device for updating data |
CN111221768A (en) * | 2020-01-10 | 2020-06-02 | 珠海趣印科技有限公司 | USB equipment composite communication method and system |
CN111221768B (en) * | 2020-01-10 | 2024-05-31 | 珠海趣印科技有限公司 | USB equipment composite communication method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104378729B (en) | Mobile communications network service implementation method and mobile terminal system | |
CN105263140A (en) | System and method for realizing remote authentication of subscriber identity module (SIM) card | |
CN102779283B (en) | A kind of device, system and method realizing SIM card read-write | |
CN104717684B (en) | The method and apparatus that a kind of WIFI mode virtuals coexist | |
CN104506397A (en) | Method and system for intelligent equipment to be accessed into local area network | |
CN111901387B (en) | Connection method and device of cloud special line | |
CN101287221A (en) | Information transferring method between intelligent bi-mode mobile phone and wireless modem | |
CN104216761A (en) | Method for using shared device in device capable of operating two operation systems | |
CN103297099A (en) | Bluetooth communication method and device | |
CN105338516A (en) | Mobile communication network access method and apparatus | |
CN103108326A (en) | Session relationship establishing method and device and system | |
CN103491648A (en) | Communication method and system based on WIFI | |
CN111245714A (en) | Access method and device of home gateway module, storage medium and electronic device | |
CN103957580A (en) | Rapid WIFI networking matching method and module for smart hardware | |
CN102891928A (en) | Communication method, communication device and mobile terminal | |
CN104951417A (en) | Method for achieving USB combined device suitable for high-capacity USIM | |
CN104936167A (en) | Card writing method, system and equipment | |
CN101800987A (en) | Intelligent card authentication device and method | |
CN103425647A (en) | Method and system for webpage seamless browsing | |
CN101980504B (en) | Data sharing method, mobile terminal and server | |
CN201788511U (en) | Safety information exchange device | |
CN106375999A (en) | Method and device for quickly connecting WiFi | |
CN103888264A (en) | Inter-mobile-phone data transferring method based on background data exchange, terminal and system | |
CN107529711A (en) | The display methods and device of Streaming Media | |
CN109862553B (en) | Terminal and communication method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150930 |