CN210428500U - Intelligent card management device - Google Patents

Intelligent card management device Download PDF

Info

Publication number
CN210428500U
CN210428500U CN201921456543.9U CN201921456543U CN210428500U CN 210428500 U CN210428500 U CN 210428500U CN 201921456543 U CN201921456543 U CN 201921456543U CN 210428500 U CN210428500 U CN 210428500U
Authority
CN
China
Prior art keywords
card
control module
peripheral interface
serial peripheral
smart
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.)
Active
Application number
CN201921456543.9U
Other languages
Chinese (zh)
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.)
Shenzhen Ucloudlink New Technology Co Ltd
Original Assignee
Shenzhen Ucloudlink New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Ucloudlink New Technology Co Ltd filed Critical Shenzhen Ucloudlink New Technology Co Ltd
Priority to CN201921456543.9U priority Critical patent/CN210428500U/en
Application granted granted Critical
Publication of CN210428500U publication Critical patent/CN210428500U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The utility model discloses the communication field provides an intelligent card management device, which comprises a main controller, a serial peripheral interface control module in communication connection with the main controller, and a plurality of card strip control modules in communication connection with the serial peripheral interface control module, wherein each card strip control module is in communication connection with a plurality of intelligent cards; the method comprises the steps that a main controller obtains an intelligent card access request and sends the access request to a serial peripheral interface control module, wherein the intelligent card access request comprises an intelligent card identifier and a card strip identifier; the serial peripheral interface control module sends corresponding access requests to the corresponding card strip control modules in sequence according to the card strip identification; and the card strip control module accesses the corresponding smart card according to the smart card identifier, acquires and stores the execution result of the smart card, so that the main controller can read the execution result in a polling manner. The embodiment of the utility model provides a can be to the parallel processing of a plurality of smart cards to the realization is to the management of big smart card in batches, and improves the treatment effeciency.

Description

Intelligent card management device
Technical Field
The embodiment of the utility model provides a belong to communication technical field, especially relate to a smart card management device.
Background
The smart card management device is generally used for managing smart cards in a unified and centralized manner for the terminal to call. The structure of the existing intelligent card management equipment is composed of a main control part and a card strip, the number of the card strips is small, the size is small, the number of supported cards is small, and the processing efficiency of the cards is low.
SUMMERY OF THE UTILITY MODEL
The embodiment of the utility model provides a smart card management device can solve the problem that current smart card management equipment management smart card is small in quantity, treatment effeciency is low.
The embodiment of the utility model provides an intelligent card management device, the intelligent card management device includes the main control unit, with the serial peripheral hardware interface control module of main control unit communication connection, and with a plurality of card strip control modules of serial peripheral hardware interface control module communication connection, each card strip control module with a plurality of intelligent card communication connections;
the main controller acquires an intelligent card access request and sends the access request to the serial peripheral interface control module, wherein the intelligent card access request comprises an intelligent card identifier and a card strip identifier;
the serial peripheral interface control module sends corresponding access requests to corresponding card strip control modules in sequence according to the card strip identification;
and the card strip control module accesses the corresponding smart card according to the smart card identification, acquires and stores the execution result of the smart card, so that the main controller can read the execution result in a polling manner.
In one embodiment, the serial peripheral interface control module comprises a plurality of first switch switches and a data selector in communication connection with the plurality of first switch switches, and each card strip control module is in communication connection with the plurality of first switch switches; and the data selector controls the first switch to access the corresponding card strip control module in a chip selection signal mode according to the card strip identification.
In one embodiment, the serial peripheral interface control module further includes a signal driver connected between each of the first switches and the main controller.
In an embodiment, the card strip control module includes a plurality of card strip controllers corresponding to the first switches one by one, and each card strip controller is in communication connection with a plurality of smart cards.
In an embodiment, the card stripe controller controls the second switch to access the corresponding smart card according to the smart card identifier.
In one embodiment, each of the card stripe control modules includes two card stripe controllers.
In one embodiment, each of the card strip controllers is communicatively coupled to eight smart cards.
In one embodiment, the serial peripheral interface control module is in communication connection with the main controller through a serial peripheral interface bus and a control bus respectively.
In an embodiment, the smart card management apparatus further includes a network processing unit communicatively connected to the main controller, and the main controller receives the smart card access request through the network processing unit.
Compared with the prior art, the embodiment of the utility model beneficial effect who exists is: the intelligent card management device comprises a main controller, a serial peripheral interface control module in communication connection with the main controller, and a plurality of card strip control modules in communication connection with the serial peripheral interface control module, each card strip control module is in communication connection with a plurality of intelligent cards, the main controller sequentially sends access requests to the corresponding card strip control modules through the serial peripheral interface control module, and then reads execution results stored on the card strip control modules in a polling mode, so that parallel processing of a plurality of intelligent cards is realized, management of large-batch intelligent cards is realized, and the processing efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a frame diagram of a smart card management device according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a smart card management apparatus according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a card strip control module according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in the specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in the specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present invention and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present invention. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
As shown in fig. 1-3, the embodiment of the present invention provides a smart card management device, including main controller 1, Serial Peripheral Interface (SPI) control module 2 connected with main controller 1 in communication, and a plurality of card strip control modules 3 connected with Serial Peripheral Interface control module 2 in communication, each card strip control module 3 is connected with a plurality of smart cards 4 in communication. The smart card 4 is a Subscriber Identity Module (SIM) card, the card strip control module 3 includes a plurality of smart card interfaces 31, and the smart cards 4 are in one-to-one correspondence communication connection with the smart card interfaces 31.
The main controller 1 acquires an intelligent card access request and sends the access request to the serial peripheral interface control module 2, wherein the intelligent card access request comprises an intelligent card identifier and a card strip identifier; the serial peripheral interface control module 2 sequentially sends corresponding access requests to the corresponding card strip control modules 3 according to the card strip identification; the card strip control module 3 accesses the corresponding smart card 4 according to the smart card identifier, and obtains and stores the execution result of the smart card 4 so that the main controller 1 can poll and read the execution result.
Each card strip control module 3 corresponds to a card strip identifier, each smart card 4 corresponds to a smart card identifier, and the smart card identifier is a position identifier of the smart card or a number of the SIM card. In a possible implementation manner, the external terminal device sends the smart card access request to the main controller 1, and the smart card access request includes two manners of directly accessing the main controller 1 by the external terminal device and accessing the main controller 1 by the external terminal device through the server. The smart card management device further comprises a network processing unit 5 in communication connection with the main controller 1, for example, a WIFI module or a 4G module, and the main controller 1 receives a smart card access request sent by the terminal device through the network processing unit 5. The terminal device may be a mobile phone, a tablet computer, a wearable device, an in-vehicle device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), or the like.
Specifically, the main controller 1 adopts a master-slave mode for communication, after receiving a plurality of smart card access requests in parallel, the main controller 1 analyzes the smart card access requests to obtain internal access requests, wherein the internal access requests comprise smart card identifiers, card bar identifiers and request operation contents, and the main controller 1 sends the internal access requests to the serial peripheral interface control module 2; the serial peripheral interface control module 2 sequentially selects the corresponding card strip control modules 3 according to the card strip identification corresponding to each access request, and sends the access requests to the corresponding card strip control modules 3; the card strip control module 3 accesses the corresponding intelligent cards 4 in sequence according to the intelligent card identification, operates the intelligent cards according to the request operation content and stores the execution results corresponding to the intelligent cards 4; after the master controller 1 sends all the access requests, the master controller 1 polls the read execution result, for example, the master controller 1 sequentially sends clock signals to the corresponding card stripe control modules 3 according to the time sequence of sending the access requests, so as to read the information stored in the card stripe control modules 3. Therefore, parallel processing of a plurality of access requests is realized, and the access processing efficiency is improved. Wherein the access request may be a smart card read command or a smart card write command. For example, reading contact information on the smart card or adding contact information on the smart card. After the smart card obtains the access request, firstly, identity authentication is carried out, and an authentication result is stored in the card strip control module 3.
In the above embodiment, the smart card management apparatus includes the main controller 1, the serial peripheral interface control module 2 in communication connection with the main controller 1, and the plurality of card strip control modules 3 in communication connection with the serial peripheral interface control module 2, each card strip control module 3 is in communication connection with the plurality of smart cards 4, the main controller 1 sequentially sends access requests to the corresponding card strip control modules 3 through the serial peripheral interface control module 2, and then reads the execution results stored in the card strip control modules 3 in a polling manner, so as to implement parallel processing of the plurality of smart cards 4, thereby implementing management of a large number of smart cards 4, and improving the processing efficiency.
In a possible implementation manner, the serial peripheral interface control modules 2 are respectively in communication connection with the main controllers 1 through serial peripheral interface buses and control buses, and each main controller 1 can be connected with a plurality of serial peripheral interface control modules 2 through the serial peripheral interface buses 6, so that parallel processing of batch access requests is realized. As an example and not by way of limitation, as shown in fig. 2, the first control unit 10, the second control unit 20, and the third control unit 30 are respectively connected to the serial peripheral interface bus 6 through one serial peripheral interface control module 2, so that multiple smart cards 4 can be controlled, and a single master controller 1 controls multiple smart cards 4, thereby reducing the device deployment cost and improving the deployment efficiency. The second control unit 20 and the third control unit 30 are identical in structure to the first control unit 10. Meanwhile, the signal transmission speed of the serial peripheral interface bus can reach 18Mb/s at most, so that the main control 1 can send access requests to all the card strip control modules 3 and read execution results within the time when the intelligent card 4 finishes processing a single command, and the communication efficiency is improved.
In a possible implementation manner, the serial peripheral interface control module 2 includes a plurality of first switches 21 and a data selector 22 in communication connection with the plurality of first switches 21, the data selector 22 is in communication connection with the main controller 1 through a control bus, each card strip control module 3 is in communication connection with the plurality of first switches 21, the plurality of first switches 21 access one card strip control module 3 in parallel, and communication efficiency is improved. The data selector 22 controls the first switch 21 to access the corresponding card stripe control module 3 according to the card stripe identification by using a chip selection signal. For example, the main controller 1 sets the sending sequence of the access request, and the data selector 22 controls the first switch 21 to communicate with the card stripe control module 3 corresponding to the access request according to the card stripe control module 3 corresponding to the current access request, and simultaneously cuts off the communication connection between the first switch 21 and other card stripe control modules 3.
As shown in fig. 3, the card strip control module 3 includes a plurality of card strip controllers 32 corresponding to the first switches 21 one by one, and each card strip controller 32 is in communication connection with a plurality of smart cards 4. For example, each card stripe control module 3 includes two card stripe controllers 32, the number of the corresponding first switches 21 is two, and each card stripe controller 32 is connected to one first switch 21, so that two smart cards 4 corresponding to each card stripe control module 32 can be accessed simultaneously, and the access efficiency is further improved. Optionally, the card strip control module 3 clears the stored execution result when the preset condition is reached. For example, the card stripe control module 3 performs serial conversion on the execution result of the smart card and latches the data, and clears the corresponding execution result after the main controller finishes reading.
Further, the card stripe control module 3 further includes a second switch 33, and the card stripe controller 32 controls the second switch 33 to access the corresponding smart card 4 according to the smart card identifier. The second switch 33 accesses the corresponding smart card 4 by signal chip selection, for example, the second switch 33 sends an access request to the corresponding smart card according to the time for acquiring the smart card identifier, and simultaneously cuts off the communication connection with other smart cards. By way of example and not limitation, each strip controller 32 is communicatively coupled to 8 smart cards, and each strip control module 3 includes two strip controllers 32, i.e., each strip control module 32 is communicatively coupled to 16 smart cards 4; the number of the corresponding first switches 21 is two, each first switch 21 is in communication connection with 16 smart cards control modules 3, that is, the number of the smart cards corresponding to the first control unit is 256, the main controller 1 is connected to the first control unit 10, the second control unit 20 and the third control unit 30 through the serial peripheral interface bus 6, 768 smart cards 4 are controlled in total, the main controller 1 can simultaneously access 48 smart cards control modules 3, and 96 smart cards can be simultaneously accessed through each smart card controller 32.
Specifically, the command format sent by the main controller 1 includes a command or inquiry flag, a command serial number, a command length, a SIM card position, a read/write card command, and a CRC check. Therein, the command or query flag may take two values, 0xaa and 0x00, respectively, for identifying the execute command and the query command, respectively. The command sequence number is the unique identifier of the command, and is used for finding out that the command with the same sequence number corresponds to the command when the command is received. The command length is used to indicate the number of bytes of the command. The SIM card position is the position of the SIM card in the card strip, for example, 0 to 7, and the card strip control module 3 finds the corresponding SIM card according to the SIM card position. The read/write card command is the command content. The CRC check is used for checking all data of the command to ensure the correctness of the command.
The command format of the card stripe response includes a response data valid flag, a command sequence number, a command length, a SIM card position, a command response or error information, and a CRC check, wherein the response data valid flag may take two values, 0xaa and 0x00, respectively, indicating a valid response command at 0xaa and no retrievable command response or command not yet completed execution at 0x 00.
The main controller 1 comprises a service layer and a communication layer, after the main controller 1 obtains the access request of the intelligent card, the service layer starts one or more threads according to the concurrent number of the services, decomposes the services into a series of commands for the card and sends the commands to a sending queue according to the access request of the intelligent card, and simultaneously searches whether a response is received from a receiving queue at regular time. The communication layer enables a data sending thread and a data receiving thread to send and receive commands. When detecting that the sending queue is not empty, the data sending thread sends a command of the sending queue to the card stripe control module 3 through the serial peripheral interface control module 2. The card stripe control module 3 puts the received commands into a command processing queue and sequentially executes the commands. After the command execution is completed, the card strip control module 3 sends command response information or command error information according to the command execution result, and moves the command response information into the SPI data sending area to wait for sending. The main controller 1 searches whether a command to be received exists from the receiving queue in a timing query mode, and if the command to be received exists, sends a query command according to the command serial number, retrieves all response information and realizes efficient read-write operation.
In one possible implementation, the spi control module 2 further comprises a signal driver 7, e.g., a signal amplifier, connected between each first switch 21 and the main controller 1, so that signals can be enhanced and signal interference can be reduced, so that the spi bus 6 can be transmitted at a high rate further, so that the device size can be enlarged and more smart cards 4 can be supported.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/network device may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solution of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (9)

1. The intelligent card management device is characterized by comprising a main controller, a serial peripheral interface control module in communication connection with the main controller, and a plurality of card strip control modules in communication connection with the serial peripheral interface control module, wherein each card strip control module is in communication connection with a plurality of intelligent cards;
the main controller acquires an intelligent card access request and sends the access request to the serial peripheral interface control module, wherein the intelligent card access request comprises an intelligent card identifier and a card strip identifier; the serial peripheral interface control module sends corresponding access requests to corresponding card strip control modules in sequence according to the card strip identification; and the card strip control module accesses the corresponding smart card according to the smart card identification, acquires and stores the execution result of the smart card, so that the main controller can read the execution result in a polling manner.
2. The smart card management device according to claim 1, wherein the serial peripheral interface control module comprises a plurality of first switches and a data selector in communication with the plurality of first switches, each card strip control module being in communication with the plurality of first switches; and the data selector controls the first switch to access the corresponding card strip control module in a chip selection signal mode according to the card strip identification.
3. The smartcard management device of claim 2 wherein said serial peripheral interface control module further comprises a signal driver coupled between each of said first switches and said host controller.
4. The device as claimed in claim 2, wherein the card strip control module comprises a plurality of card strip controllers corresponding to the first switches one by one, each card strip controller being in communication connection with a plurality of smart cards.
5. The smart card management apparatus of claim 4, wherein the card stripe controller further comprises a second switch, and the card stripe controller controls the second switch to access the corresponding smart card according to the smart card identification.
6. The smart card management apparatus of claim 4, wherein each of the card stripe control modules includes two card stripe controllers.
7. The smart card management apparatus of claim 6 wherein each of said card strip controllers is communicatively coupled to eight smart cards.
8. The smart card management apparatus of claim 1, wherein said serial peripheral interface control module is communicatively coupled to said host controller via a serial peripheral interface bus and a control bus, respectively.
9. The smart card management apparatus of claim 1 further comprising a network processing unit communicatively coupled to said host controller, said host controller receiving said smart card access request via said network processing unit.
CN201921456543.9U 2019-09-02 2019-09-02 Intelligent card management device Active CN210428500U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201921456543.9U CN210428500U (en) 2019-09-02 2019-09-02 Intelligent card management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201921456543.9U CN210428500U (en) 2019-09-02 2019-09-02 Intelligent card management device

Publications (1)

Publication Number Publication Date
CN210428500U true CN210428500U (en) 2020-04-28

Family

ID=70365763

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201921456543.9U Active CN210428500U (en) 2019-09-02 2019-09-02 Intelligent card management device

Country Status (1)

Country Link
CN (1) CN210428500U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110569933A (en) * 2019-09-02 2019-12-13 深圳市优克联新技术有限公司 intelligent card management device and method
CN115361432A (en) * 2022-08-31 2022-11-18 小米汽车科技有限公司 Communication control method and device between master device and slave device, vehicle and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110569933A (en) * 2019-09-02 2019-12-13 深圳市优克联新技术有限公司 intelligent card management device and method
CN115361432A (en) * 2022-08-31 2022-11-18 小米汽车科技有限公司 Communication control method and device between master device and slave device, vehicle and storage medium
CN115361432B (en) * 2022-08-31 2023-05-09 小米汽车科技有限公司 Communication control method and device between master and slave devices, vehicle and storage medium

Similar Documents

Publication Publication Date Title
CN107590099B (en) Method for accessing slave machines by multiple hosts, extension device and storage medium
CN210428500U (en) Intelligent card management device
CN102375786B (en) Automatic operating system identifying method and system for USB (Universal Serial Bus) equipment
CN105468548B (en) Communication of serial peripheral interface
CN111078436B (en) Data processing method, device, equipment and storage medium
CN110569933A (en) intelligent card management device and method
CN114201268B (en) Data processing method, device and equipment and readable storage medium
CN108287804A (en) A kind of I2C controllers driving method and system
CN113918216A (en) Data read/write processing method, device and computer readable storage medium
CN113177015B (en) Frame header-based serial port communication method and serial port chip
US20110197007A1 (en) Method for recognizing a card reader with multiple card holders and method for communicating between a host and the card reader and system thereof
CN115834739B (en) Method for receiving variable-length data frames in SPI (serial peripheral interface) communication of intelligent fusion terminal of transformer area
CN111581136A (en) DMA controller and implementation method thereof
CN116009770A (en) Read response circuit, method, data transmission system and related equipment
CN109976778B (en) Software updating method and system of vehicle electronic product, upper computer and storage medium
CN102004629B (en) Method, device and paster card for forwarding control
CN114254030A (en) Data synchronization method, system, terminal equipment and storage medium
CN113971148A (en) PCIE real-time network card data transmission method and device based on linux real-time operating system
CN109144578B (en) Display card resource allocation method and device based on Loongson computer
CN113177014A (en) Serial port communication method based on inspection mode and serial port chip
CN113660179A (en) Bandwidth cooperative control device and method for PCIe SSD multi-virtual function device
CN105590075A (en) Method for rapidly getting access to SD card and intelligent terminal
CN112885452A (en) Data transmission method, device, server and storage medium
CN115599311B (en) Polarity inversion method and apparatus, storage medium, and electronic apparatus
JPH0675887A (en) Polling interval determining system

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant