WO2016197997A1 - 卡池的处理方法及装置、卡池系统 - Google Patents

卡池的处理方法及装置、卡池系统 Download PDF

Info

Publication number
WO2016197997A1
WO2016197997A1 PCT/CN2016/085878 CN2016085878W WO2016197997A1 WO 2016197997 A1 WO2016197997 A1 WO 2016197997A1 CN 2016085878 W CN2016085878 W CN 2016085878W WO 2016197997 A1 WO2016197997 A1 WO 2016197997A1
Authority
WO
WIPO (PCT)
Prior art keywords
card
sim
pool
interrupt information
sim card
Prior art date
Application number
PCT/CN2016/085878
Other languages
English (en)
French (fr)
Inventor
郭涛
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016197997A1 publication Critical patent/WO2016197997A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4081Live connection to bus, e.g. hot-plugging

Definitions

  • the present application relates to, but is not limited to, the field of communications, and in particular, to a method and device for processing a card pool and a card pool system.
  • a card pool device for installing a SIM card has been introduced. Users can use their own mobile phones to detect which country, which type of system, etc., are currently roaming, and then select the relevant type of SIM card in the card pool to access the Internet, and disconnect the original SIM in their mobile phone. The communication connection of the card can save the traffic and other tariffs.
  • the current card pool device it is not convenient to replace the SIM card.
  • the present invention provides a card pool processing method and device, and a card pool system, to at least solve the technical problem that the card pool in the related art is inconvenient to replace the SIM card because it does not have a hot plug function.
  • a card pool including: a plurality of card slots, wherein each of the plurality of card slots is disposed with a customer identifier configured to detect installation on the card slot Whether the module SIM card has a hot-swap operation detection pin.
  • a card pool system comprising: a card pool at the card A plurality of card slots are disposed in the pool, wherein each of the plurality of card slots is disposed with a detection trigger configured to detect whether a SIM card of the customer identification module installed in the card slot is hot swapped foot.
  • the card pool system further includes: an expansion chip, configured to expand the number of card slots in the card pool, and connect to the card slot in the card pool.
  • the expansion chip includes: one or more primary expansion chips, a first end of each of the primary expansion chips is connected to a controller, and a second end of each of the primary expansion chips is disposed There are N first-level pins; a plurality of second-level expansion chips, each of which is respectively connected to a first end of one of the plurality of second-level expansion chips, each of the two The second extension of the stage expansion chip is provided with M secondary pins, and each of the secondary pins is connected to a detection pin of one of the plurality of card slots.
  • the card pool system further includes: a first switch connected to the transceiver, the transceiver is connected between the first switch and the controller, and the first switch is configured to connect a SIM The data signal is expanded to an (N*M) way SIM data signal; a second switch is coupled to the transceiver, the transceiver is coupled between the second switch and the controller, the second switch setting Expanding a SIM clock signal into an (N*M) way SIM clock signal; a third switch connected to the transceiver, the transceiver being connected between the third switch and the controller, The third switch is arranged to expand a SIM reset signal to an (N*M) way SIM reset signal.
  • a first switch connected to the transceiver, the transceiver is connected between the first switch and the controller, and the first switch is configured to connect a SIM The data signal is expanded to an (N*M) way SIM data signal
  • a second switch is coupled to the transceiver, the transceiver is coupled between the second switch and the controller, the second switch
  • a method for processing a card pool includes: acquiring an interrupt information generated by a customer identification module SIM card installed in a card slot in a card pool when a hot plug operation occurs, wherein The card pool includes: a plurality of card slots, each of the plurality of card slots being disposed with a detection pin disposed to detect whether a SIM card mounted on the card slot is hot-swapped; A SIM card for communication is determined based on the acquired interrupt information.
  • the interrupt information is determined according to a level change of a card slot corresponding to the SIM card when the SIM card is hot plugged.
  • the step of determining, according to the acquired interrupt information, the SIM card for communication comprises: reading a value of a register configured to store a card slot state of each card slot in the card pool; recording the acquisition interrupt information a first record value of the previous register, and a second record value of the register updated according to the interrupt information; determining, for communication, based on the first record value and the second record value SIM card.
  • a processing device for a card pool comprising: an obtaining unit configured to acquire a customer identification module SIM card installed on a card slot in a card pool, generated when a hot plug operation occurs The interrupting information, wherein the card pool comprises: a plurality of card slots, each of the plurality of card slots being arranged to detect whether a SIM card mounted on the card slot is hot swapped a detection pin; a first determining unit configured to determine a SIM card for communication based on the acquired interrupt information.
  • the device further includes: a second determining unit, configured to determine the interrupt information according to a level change of the card slot corresponding to the SIM card when the SIM card is hot plugged.
  • a second determining unit configured to determine the interrupt information according to a level change of the card slot corresponding to the SIM card when the SIM card is hot plugged.
  • the first determining unit comprises: a reading module configured to read a value of a register configured to store a card slot state of each card slot in the card pool; and a recording module configured to record an acquisition interrupt a first recorded value of the register prior to the information, and a second recorded value of the register updated in accordance with the interrupt information; the determining module configured to determine the SIM card for communication based on the first recorded value and the second recorded value.
  • the application further provides a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
  • the hot plug function is set for the card pool, and each of the plurality of card slots on the card pool is arranged to detect whether the SIM card of the customer identification module installed on the card slot is hot plugged.
  • the detection pin of the pull operation solves the technical problem that the card pool in the related art is inconvenient to replace the SIM card because it does not have the hot plug function, thereby achieving the hot plug function of the card pool to facilitate the replacement of the SIM card.
  • FIG. 1 is a schematic view of a card pool in accordance with an embodiment of the present invention.
  • FIG. 2(a) is a structural block diagram of a main board of a card pool device according to an embodiment of the present invention
  • FIG. 2(b) is a structural block diagram of a daughter board of a card pool device according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a method for processing a card pool according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a hot plug SIM card in accordance with an alternative embodiment of the present invention.
  • FIG. 5 is a schematic illustration of a processing device for a card pool in accordance with an alternate embodiment of the present invention.
  • Embodiment 1 a card pool system is provided.
  • the card pool includes: a plurality of card slots 102, wherein each of the plurality of card slots is disposed to detect installation. Whether the customer identification module SIM card on the card slot has a hot-swap operation detection pin.
  • At least one corresponding detection pin is disposed on each card slot.
  • the hot-swap operation can be performed on the corresponding SIM card installed on any one or more card slots of the card pool at any time according to the need, and at this time, according to the detection on the card slot
  • the level change of the foot determines whether a hot swap operation has been performed. For example, when the SIM1 card performs a hot plug operation, the inserted SIM card can be registered to the communication network. For SIM cards registered with the communication network, users can find and use these SIM cards.
  • the card pool has the capability of performing hot plug operation by the detection pin provided for the card slot, which brings great convenience for replacing the SIM card.
  • Embodiment 2 a card pool system is provided.
  • the card pool system includes a card pool as shown in FIG. 1 , in which a plurality of card slots are arranged, wherein each of the plurality of card slots is disposed to detect and be installed in the card slot Whether the SIM card has a hot-swap operation detection pin.
  • the card pool here is the same as the card pool in Embodiment 1, and details are not described herein again.
  • the card pool system further includes: an expansion chip, configured to expand the number of card slots in the card pool, and connected to the card slot in the card pool.
  • each expansion pin of the expansion chip can be connected to the detection pin of the corresponding card slot in the card pool, or each expansion pin of the expansion chip can be connected to the next-stage expansion chip, and the extension of the next-stage expansion chip The pin is connected to the detection pin of the corresponding card slot.
  • the connection pin of the extension pin of the next-stage extension chip and the detection pin of the corresponding card slot are the same as the detection of the upper-stage extension chip and the corresponding card slot. The connection method of the foot will not be described here.
  • connection manner of the expansion pin of the expansion chip and the card slot is related to the number of card slots in the card pool, and the number of card slots to be set on one card pool can be determined by the provider according to local supply and demand conditions. In this way, by expanding the number of card slots in the expansion card pool of the chip, the capacity of the card pool can be increased according to the actual supply and demand situation.
  • the expansion chip includes: one or more primary expansion chips, and the first end of each primary expansion chip is connected to a controller (ie, a CPU of a card pool system), and each of the first expansion chips N first-level pins are disposed on the two ends; a plurality of second-level expansion chips, each of which is respectively connected to a first end of one of the plurality of second-level expansion chips, each of two The second end of the stage expansion chip is provided with M second-level pins, and each of the second-level pins is connected to a detection pin of one of the plurality of card slots.
  • a controller ie, a CPU of a card pool system
  • each of the first expansion chips N first-level pins are disposed on the two ends
  • a plurality of second-level expansion chips each of which is respectively connected to a first end of one of the plurality of second-level expansion chips, each of two
  • the second end of the stage expansion chip is provided with M second-level pins, and each of the second-level pins is connected to
  • each level 1 expansion chip is connected to the controller through a bus (such as an I2C bus), wherein the bus is arranged to connect the CPU of the card pool system and its peripheral devices (such as a card pool) through the expansion chip, as shown in FIG. 2 .
  • a bus such as an I2C bus
  • FIG. 2(b) wherein the bus in the figure is an I2C bus, and the I2C bus drawn from the CPU of the card pool system is expanded by the expansion chip and connected to the corresponding SIM card slot.
  • the number of bits of all the primary expansion chips may be the same or different; the number of bits of all the secondary expansion chips may be the same or different.
  • the bus connected to the first end of the primary expansion chip may be an I2C bus that is derived from the controller. It should be noted that the number of bits of the extended chip at each level is equal to the number of pins, for example, if the primary expansion chip has N primary pins, then one The level expansion chip is an N-bit expansion chip; similarly, if the second-level expansion chip has M second-level pins, the second-level expansion chip is an M-bit expansion chip. For example, N can be equal to 8, and M can be equal to 16.
  • the card pool system further includes: a first switch connected to the transceiver, the transceiver is connected between the first switch and the controller, and the first switch is configured to expand one SIM data signal to (N*M) a SIM data signal; a second switch, also coupled to the transceiver, the transceiver being coupled between the second switch and the controller, the second switch being configured to expand a SIM clock signal to an (N*M) way SIM clock signal;
  • the third switch is also coupled to the transceiver, the transceiver being coupled between the third switch and the controller, the third switch being configured to expand a SIM reset signal to an (N*M) way SIM reset signal.
  • the transceiver is arranged to receive a chip select signal from a CPU of the card pool system.
  • Each switch includes a multi-stage switch, and each stage switch as a group of switches may include a plurality of switches, for example two.
  • a second-stage expansion chip ie, a second-stage expansion chip, hereinafter referred to as a second-level expansion chip
  • each secondary pin is connected to a detection pin of one of the plurality of card slots. Since the two 8-bit I2C expansion chips have a total of 16 first-level pins, a total of 16 second-level expansion chips can be connected. Assuming that each of the second-level expansion chips is a 16-bit I2C secondary expansion chip, After the expansion of the first and second stage extension chips, there are a total of 16 ⁇ 16 secondary pins. Since each secondary pin can be connected to a detection pin, after the expansion, a card pool system with 256 card slots can be obtained.
  • the first ends of the two primary expansion chips are connected to a bus (such as an I2C bus) that is connected to the controller (ie, the CPU of the card pool system).
  • a bus such as an I2C bus
  • the controller ie, the CPU of the card pool system.
  • each of its pins can be respectively connected to a 16-bit I2C secondary expansion chip as a secondary expansion chip. Due to each extension of each 16-bit I2C secondary expansion chip
  • the pins can be connected to the detect pin (ie, the detection pin) of a SIM card slot. Therefore, a total of 256 detection paths can be extended by the two-stage expansion chip to connect them to the corresponding SIM cards.
  • the card pool system has a plurality of card slots including detection pins arranged to detect whether the customer identification module SIM card installed in the corresponding card slot has a hot plug operation. In other words, the card pool system implemented in this manner supports the SIM card hot plug function.
  • the controller that is, the CPU of the card pool system
  • the controller can detect which SIM cards on the card slots are hot swapped according to the interrupt information, and which SIM cards on the card slots are available SIM cards. Then, the detection result is uploaded to the server, so that when the terminal device needs to use the SIM card in the card pool, the server can select and provide the corresponding SIM card for the terminal device according to the detection result to meet the communication requirement.
  • each secondary pin of the secondary expansion chip is connected to the detect pin of the card slot on which the SIM card is mounted, the level change of the corresponding detect pin can be detected at any time, and the heat of the card pool is realized. Plug and unplug function.
  • the SIM card having the same information can be selected from the card pool, and then read. After the information of the SIM card is taken, the user can choose to stop the SIM card registered in the communication device in the terminal device, and then register the communication card with the SIM card having the same information selected from the card pool, thereby realizing Significant cost savings.
  • FIG. 2(a) is a structural block diagram of a main board of a card pool system according to an embodiment of the present invention
  • FIG. 2(b) is a structural block diagram of a sub-board of the card pool system according to an embodiment of the present invention
  • FIG. 2(a) The main board shown and the daughter board shown in Figure 2(b) show the entire framework of the implementation.
  • 8 GPIO General Purpose Input Output
  • Line selection set to provide chip select signal
  • 3 USIM signal lines respectively SIM data signal USIM_DATA, SIM clock signal USIM_CLK, SIM reset signal USIM_RESET
  • I2C bus ie bus
  • 2 GPIO interrupt lines set to Transfer interrupt information.
  • sw1_add0 to sw1_add3 are used as high 4-bit addresses.
  • Sw1_add0 is used as the upper address line.
  • the three address lines sw1_add1, sw1_add2, and sw1_add3 respectively control three groups of switches (which can be first-level switches), which are the first to third switches respectively.
  • the inputs of the three sets of switches are respectively connected to the three USIM signal lines of USIM_DATA, USIM_CLK and USIM_RESET, and each USIM signal line is extended by the switch to output the 8-channel signal line; similarly, when the level value of sw1_add0 is 1, the same is true.
  • the eight channel signal lines corresponding to the three USIM signal lines are extended, so that the three USIM signals of the USIM card can be expanded into 16 channel signals after being expanded by one stage, so that a total of 16 channel signals are output, which
  • the 16-channel signal can be expanded to more channel signals, such as 256 channel signals, by performing a two-stage expansion according to the same expansion principle.
  • the CPU of the card pool system is connected to two 8-bit I2C expansion chips (ie, one-stage expansion chip) through the I2C bus, and one GPIO interrupt line is connected to each 8-bit I2C expansion chip.
  • the above is the motherboard design.
  • the daughter board of the card pool system is mainly divided into two groups of signals: (1) the first group of signals, and the I2C signal from the controller (ie, the CPU of the card pool system) controls a 16-bit I2C extension. Chip, at the same time, each of the two 8-bit I2C expansion chip outputs on the motherboard is connected to a 16-bit I2C expansion chip; (2) the second group of signals, the remaining four address lines on the motherboard are sw2_add0, sw2_add1 , sw2_add2 and sw2_add3, in the same way, each of the 16 channel signals of the three USIM signals respectively extended on the main board can also expand 16 channel signals again; (3) 16 on each sub-board Card slot for SIM card.
  • the first group of signals output 16 detect signals, and the second group of signals respectively output 16 channel signals of 3 USIM signals.
  • the four signals of the detect signal, the USIM_DATA signal, the USIM_CLK signal, and the USIM_RESET signal are respectively connected to the SIM card slot, so that 16 SIM cards in a group are operated.
  • there are 15 sets of such signals and according to the implementation method of the previous set of signals, a total of 256 SIM cards can be operated.
  • Embodiment 3 a method of processing a card pool is provided, and it should be noted that the steps shown in the flowchart of the accompanying drawings may be performed in a computer system such as a set of computer executable instructions, and although The logical order is shown in the flowchart, but in some cases the steps shown or described may be performed in a different order than the ones described herein.
  • FIG. 3 is a flowchart of a method for processing a card pool according to an embodiment of the present invention, as shown in FIG. The method includes the following steps:
  • step S302 the interrupt information generated by the customer identification module SIM card installed in the card slot of the card pool is generated when the hot plug operation occurs, wherein the card pool includes: a plurality of card slots, each of the plurality of card slots Each of the card slots is provided with a detection pin arranged to detect whether a SIM card mounted on the card slot is hot-swapped;
  • Step S304 determining a SIM card for communication according to the acquired interrupt information.
  • the CPU of the card pool system can determine the SIM card capable of communication according to the acquired interrupt information.
  • the hot plug function is set for the card pool, and the technical problem that the card pool in the related art is inconvenient to replace the SIM card without the hot plug function is solved, thereby achieving hot plugging of the card pool. Pull out the function to facilitate the technical effect of the replacement SIM card.
  • a level change occurs in a card slot corresponding to the SIM card.
  • determining, according to the acquired interrupt information, the SIM card used for communication includes:
  • the second record value is a register re-recorded after the SIM insertion operation occurs.
  • S6 Determine, according to the first record value and the second record value, a SIM card that can communicate after the hot plug operation occurs.
  • the hot plug detection mechanism of the SIM card is shown.
  • the card pool device When the card pool device is powered on, it is necessary to read the values of the registers of the two 8-bit expansion chips through the I2C bus, and then read the value of the register of each 16-bit expansion chip, and the value of the read register can be It is determined which SIM card slot has a card, and the initial values of all the registers read this time are saved.
  • the level of a pin of the 16-bit expansion chip connected to the SIM card slot changes, and an interrupt signal is generated. (ie interrupt information).
  • the interrupt signal notifies the 8-bit expansion chip connected to the 16-bit expansion chip, and then transmits the interrupt signal to the card through a GPIO interrupt signal line connected to the main chip of the 8-bit expansion chip.
  • the CPU of the pool system At this time, after the CPU of the card pool system acquires the interrupt information, it reads the value of the I/O pin of the 8-bit expansion chip and the I/O pin of the 16-bit expansion chip through the I2C bus. And by comparing the value of the currently read register with the value of the last read register (such as the initial value of the register), it can be determined which level of the SIM card slot has changed.
  • the SIM card When you need to use the SIM card in the card pool, you need to find the SIM card you want to use through the physical address of the SIM card, and then call the underlying interface function to configure the level values of the eight GPIOs to determine the physical address of the SIM card. So that the SIM card can be used for communication.
  • a card pool capable of inserting 256 SIM cards is realized, which can conveniently meet the requirement of more users to save communication costs during roaming, thereby better realizing communication with relatives and friends;
  • the hot plug function can facilitate the staff to operate the server, thus avoiding the need to re-power the card pool device if the SIM card is to be newly inserted or removed, thereby facilitating the service to the user more conveniently.
  • the card pool equipment whether it is going abroad or at home, is no longer limited by many factors such as the carrier network and the geographical area, so that it can realize cross-operator network or cross in an environment of greater adaptability, flexibility and lower cost. Realize mobile communication network services in the region.
  • the method according to the embodiment can be implemented by means of software plus a necessary general hardware platform, and of course It can be done through hardware, but in many cases the former is a better implementation.
  • the technical solution of the present application which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods of various embodiments of the present application.
  • Embodiments of the present invention further provide a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
  • a processing device for a card pool is provided, which is used to implement the embodiment and the optional embodiments, and the description has been omitted.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • the device includes: an obtaining unit 502 configured to acquire a customer identification module SIM installed on a card slot in a card pool.
  • the interrupt information generated when the hot plug operation occurs wherein the card pool includes: a plurality of card slots, each of the plurality of card slots is disposed to detect a SIM card installed on the card slot Whether a detection pin of the hot plug operation occurs; the first determining unit 504 is configured to determine the SIM card for communication based on the acquired interrupt information.
  • the card pool When the card pool is powered on, if the SIM card is hot swapped, the level on the detection pin of the card slot where the SIM card is originally installed will change. At this time, the card pool will generate an interrupt message. And the interrupt information is fed back to the CPU of the card pool system through the expansion chip, and the CPU of the card pool system can determine which SIM cards can communicate according to the acquired interrupt information when receiving the interrupt information.
  • card pool structure herein is the same as any of the embodiments in the foregoing embodiments, and details are not described herein again.
  • the hot plug function is set for the card pool, and the technical problem that the card pool in the related art is inconvenient to replace the SIM card without the hot plug function is solved, thereby achieving hot plugging of the card pool. Pull out the function to facilitate the technical effect of the replacement SIM card.
  • the interrupt information is determined according to a level change of a card slot corresponding to the SIM card when the SIM card is hot swapped.
  • the device further includes: a second determining unit, configured to determine, according to the level change of the card slot corresponding to the SIM card, the interrupt information according to the hot plug operation of the SIM card.
  • a second determining unit configured to determine, according to the level change of the card slot corresponding to the SIM card, the interrupt information according to the hot plug operation of the SIM card.
  • the first determining unit comprises: a reading module configured to read a value of a register of a card slot state of each card slot in the memory card pool; and a recording module configured to record the first register before acquiring the interrupt information Recording value, and a second record value obtained by updating the value of the register according to the interrupt information, in other words, the second record value is a value of a card slot state of each card slot in which the register is re-recorded after the SIM insertion and removal operation occurs; determining module And setting to determine a SIM card for communication according to the first record value and the second record value.
  • the hot plug detection mechanism of the SIM card is shown.
  • the card pool device when the card pool device is powered on, it is necessary to read the values of the registers of the two 8-bit expansion chips through the I2C bus, and then read each 16-bit expansion chip.
  • the value of the register by reading the value of the register, can determine which SIM card slot has a card, and save the initial values of all the registers read this time.
  • the level of a pin of the 16-bit expansion chip connected to the SIM card slot changes, and an interrupt signal is generated. (ie interrupt information).
  • the interrupt signal notifies the 8-bit expansion chip connected to the 16-bit expansion chip, and then transmits the interrupt signal to the card through a GPIO interrupt signal line connected to the main chip of the 8-bit expansion chip.
  • the CPU of the pool system After the CPU of the card pool system acquires the interrupt information, it reads the value of the I/O pin of the 8-bit expansion chip and the I/O pin of the 16-bit expansion chip through the I2C bus. And by comparing the value of the currently read register with the value of the last read register (such as the initial value of the register), it can be determined which level of the SIM card slot has changed. The above is the detection process when a hot-swappable SIM card appears.
  • a card pool capable of inserting 256 SIM cards is realized, which can conveniently meet the requirement of more users to save communication costs during roaming, thereby better realizing communication with relatives and friends;
  • the hot plug function can facilitate the staff to operate the server, thus avoiding the need to re-power the card pool device if the SIM card is to be newly inserted or removed, thereby facilitating the service to the user more conveniently.
  • the card pool equipment whether it is going abroad or at home, is no longer limited by many factors such as the carrier network and the geographical area, so that it can realize cross-operator network or cross in an environment of greater adaptability, flexibility and lower cost. Realize mobile communication network services in the region.
  • the method according to the embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former It is a better implementation.
  • the technical solution of the present application which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods of various embodiments of the present invention.
  • each of the modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the modules are all located in the same processor; or, the modules are respectively Located in multiple processors.
  • Embodiments of the present invention also provide a storage medium.
  • the storage medium may be configured to store program code for performing the following steps:
  • the card pool comprises: a plurality of card slots, each of the plurality of card slots Card The slots are all arranged with detection pins arranged to detect whether a SIM card mounted on the card slot is hot swapped;
  • the storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, A variety of media that can store program code, such as a disk or an optical disk.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • mobile hard disk A variety of media that can store program code, such as a disk or an optical disk.
  • the processor executes according to the stored program code in the storage medium:
  • modules or steps of the present application can be implemented by a general computing device, which can be concentrated on a single computing device or distributed among multiple computing devices. On the network, optionally, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from The steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module.
  • the application is not limited to any particular combination of hardware and software.
  • a program to instruct related hardware eg, a processor
  • a computer readable storage medium such as a read only memory, a disk, or CD, etc.
  • all or part of the steps of the described embodiments may also be implemented using one or more integrated circuits.
  • each module/unit in the embodiment may be implemented in the form of hardware, such as an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executed by a processor and stored in a memory.
  • Embodiments of the invention are not limited to any specific form of combination of hardware and software.
  • the hot plug function is set for the card pool, and each of the plurality of card slots on the card pool is arranged to detect whether the SIM card of the customer identification module installed on the card slot is hot plugged.
  • the detection pin of the pull operation solves the technical problem that the card pool in the related art is inconvenient to replace the SIM card because it does not have the hot plug function, thereby achieving the hot plug function of the card pool to facilitate the replacement of the SIM card.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

公开了一种卡池的处理方法及装置、卡池系统。其中,该卡池系统包括:卡池,卡池布置有多个卡槽,其中,多个卡槽中的每个卡槽都布置有用于检测安装在该卡槽内的客户识别模块SIM卡是否发生热插拔操作的检测引脚。通过上述方案,解决了相关技术中的卡池由于不具有热插拔功能而不便于更换SIM卡的技术问题,进而达到了实现卡池的热插拔功能以便于更换的SIM卡的技术效果。

Description

卡池的处理方法及装置、卡池系统 技术领域
本申请涉及但不限于通信领域,特别是一种卡池的处理方法及装置、卡池系统。
背景技术
现在到全国各地或者出国旅游、开会等等已是很普遍的现象。出于便于联系和/或节省费用的目的,用户一般会提前修改手机套餐,比如开通国际漫游以方便在国外与家人或朋友联系。但是通过计算证实,漫游套餐的手机流量资费依然很高。
为了解决这一问题,推出了安装SIM卡的卡池设备。用户使用自己的手机可以从网上检测到当前已漫游到哪个国家、哪种制式等相关的信息,然后可以在卡池中选择相关类型的SIM卡进行上网,同时断开自己手机里原有的SIM卡的通信连接,这样就可以节省流量等资费。然而,使用目前的卡池设备,不便于更换SIM卡。
针对所述的问题,目前尚未提出有效的解决方案。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本申请提供了一种卡池的处理方法及装置、卡池系统,以至少解决相关技术中的卡池由于不具有热插拔功能而不便于更换SIM卡的技术问题。
根据本申请的一个方面,提供了一种卡池,包括:多个卡槽,其中,所述多个卡槽中的每个卡槽都布置有设置成检测安装在该卡槽上的客户识别模块SIM卡是否发生热插拔操作的检测引脚。
根据本申请的一个方面,提供了一种卡池系统,包括:卡池,在所述卡 池中布置有多个卡槽,其中,所述多个卡槽中的每个卡槽都布置有设置成检测安装在该卡槽内的客户识别模块SIM卡是否发生热插拔操作的检测引脚。
可选地,所述卡池系统还包括:扩展芯片,设置成扩展所述卡池中的卡槽数量,与所述卡池中的卡槽连接。
可选地,所述扩展芯片包括:一个或者多个一级扩展芯片,每个所述一级扩展芯片的第一端与控制器连接,每个所述一级扩展芯片的第二端上设置有N个一级引脚;多个二级扩展芯片,每个所述一级引脚分别连接所述多个二级扩展芯片中的一个二级扩展芯片的第一端,每个所述二级扩展芯片的第二端上设置有M个二级引脚,每个所述二级引脚连接所述多个卡槽中的一个卡槽的检测引脚。
可选地,所述卡池系统还包括:第一开关,与收发器连接,所述收发器连接在所述第一开关和所述控制器之间,所述第一开关设置成将一路SIM数据信号扩展为(N*M)路SIM数据信号;第二开关,与所述收发器连接,所述收发器连接在所述第二开关和所述控制器之间,所述第二开关设置成将一路SIM时钟信号扩展为(N*M)路SIM时钟信号;第三开关,与所述收发器连接,所述收发器连接在所述第三开关和所述控制器之间,所述第三开关设置成将一路SIM重置信号扩展为(N*M)路SIM重置信号。
根据本申请的另一个方面,提供了一种卡池的处理方法,包括:获取安装在卡池中的卡槽上的客户识别模块SIM卡在发生热插拔操作时所生成的中断信息,其中,所述卡池包括:多个卡槽,所述多个卡槽中的每个卡槽都布置有设置成检测安装在该卡槽上的SIM卡是否发生热插拔操作的检测引脚;根据获取的中断信息确定用于通信的SIM卡。
可选地,所述中断信息依据SIM卡发生热插拔操作时所述SIM卡对应的卡槽发生的电平变化而确定。
可选地,所述根据获取的中断信息确定用于通信的SIM卡的步骤包括:读取设置成存储所述卡池中的各个卡槽的卡槽状态的寄存器的值;记录在获取中断信息之前寄存器的第一记录值,以及依据中断信息进行更新的寄存器的第二记录值;依据所述第一记录值以及所述第二记录值确定用于通信的 SIM卡。
根据本申请的另一方面,提供了一种卡池的处理装置,包括:获取单元,设置成获取安装在卡池中的卡槽上的客户识别模块SIM卡在发生热插拔操作时所生成的中断信息,其中,所述卡池包括:多个卡槽,所述多个卡槽中的每个卡槽都布置有设置成检测安装在该卡槽上的SIM卡是否发生热插拔操作的检测引脚;第一确定单元,设置成根据获取的中断信息确定用于通信的SIM卡。
可选地,所述装置还包括:第二确定单元,设置成依据SIM卡发生热插拔操作时所述SIM卡对应的卡槽的电平变化,确定所述中断信息。
可选地,所述第一确定单元包括:读取模块,设置成读取设置成存储所述卡池中的各个卡槽的卡槽状态的寄存器的值;记录模块,设置成记录在获取中断信息之前寄存器的第一记录值,以及依据中断信息进行更新的寄存器的第二记录值;确定模块,设置成依据所述第一记录值以及所述第二记录值确定用于通信的SIM卡。
本申请另外提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现所述方法。
通过本申请,采用为卡池设置热插拔功能,通过使卡池上多个卡槽中的每个卡槽都布置有设置成检测安装在该卡槽上的客户识别模块SIM卡是否发生热插拔操作的检测引脚,解决了相关技术中的卡池由于不具有热插拔功能而不便于更换SIM卡的技术问题,进而达到了实现卡池的热插拔功能以便于更换的SIM卡的技术效果。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1是根据本发明实施例的卡池的示意图;
图2(a)是根据本发明实施例的卡池设备的主板的结构框图;
图2(b)是根据本发明实施例的卡池设备的子板的结构框图;
图3是根据本发明实施例的卡池的处理方法的流程图;
图4是根据本发明可选实施例的热插拔SIM卡的原理图;
图5是根据本发明可选实施例的卡池的处理装置的示意图。
本发明的较佳实施方式
下文中将参考附图并结合实施例来详细说明本申请。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本申请的说明书和权利要求书及所述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
实施例1
在实施例1中,提供了一种卡池系统。
图1是根据本发明实施例的卡池的示意图,如图1所示,该卡池包括:多个卡槽102,其中,多个卡槽中的每个卡槽都布置有设置成检测安装在该卡槽上的客户识别模块SIM卡是否发生热插拔操作的检测引脚。
需要说明的是,每个卡槽上至少布置有一个对应的检测引脚。
实施时,在卡池上电以后,可以根据需要随时对安装在该卡池的任何一个或者多个卡槽上的相应的SIM卡执行热插拔操作,此时,可以根据卡槽上的检测引脚的电平变化情况确定是否执行了热插拔操作。例如,当SIM1卡执行了热插入操作时,可以为插入的SIM卡注册到通信网络。对于注册了通信网络的SIM卡,用户可以找到并使用这些SIM卡。
通过本发明实施例,通过为卡槽设置的所述的检测引脚,使得卡池具有了执行热插拔操作的能力,这给更换SIM卡带来极大的便利。
实施例2
在实施例2中,提供了一种卡池系统。
该卡池系统包括如图1所示的卡池,在该卡池中布置有多个卡槽,其中,多个卡槽中的每个卡槽都布置有设置成检测安装在该卡槽内的SIM卡是否发生热插拔操作的检测引脚。其中,此处的卡池与实施例1中的卡池相同,在此不再赘述。
可选地,所述卡池系统还包括:扩展芯片,设置成扩展卡池中的卡槽数量,与卡池中的卡槽连接。其中,扩展芯片的每一个扩展引脚可以连接至卡池中对应卡槽的检测引脚,或者扩展芯片的每一个扩展引脚可以连接至下一级扩展芯片,该下一级扩展芯片的扩展引脚连接至对应卡槽的检测引脚,此处,该下一级扩展芯片的扩展引脚与对应卡槽的检测引脚的连接方式同其上一级扩展芯片与对应卡槽的检测引脚的连接方式,在此不再赘述。需要说明的是,扩展芯片的扩展引脚与卡槽的连接方式与卡池中的卡槽数量有关,而一个卡池上需要设置的卡槽的数量,可以由提供商根据当地的供需情况确定。这样,通过扩展芯片的扩展卡池中的卡槽的数量,可以根据实际供需情况增大卡池的容量。
可选地,所述扩展芯片包括:一个或者多个一级扩展芯片,每个一级扩展芯片的第一端与控制器(即卡池系统的CPU)连接,每个一级扩展芯片的第二端上设置有N个一级引脚;多个二级扩展芯片,每个一级引脚分别连接所述多个二级扩展芯片中的一个二级扩展芯片的第一端,每个二级扩展芯片的第二端上设置有M个二级引脚,每个二级引脚连接多个卡槽中的一个卡槽的检测引脚。
每个一级扩展芯片的第一端通过总线(如I2C总线)与控制器连接,其中,该总线设置成通过扩展芯片连接卡池系统的CPU及其外围设备(如卡池),如图2(a)和图2(b)所示,其中图中的总线即为I2C总线,卡池系统的CPU上引出的I2C总线经扩展芯片扩展之后,连接至对应的SIM卡槽上。
在本发明实施例中,所有一级扩展芯片的位数可以相同,也可以不同;所有二级扩展芯片的位数也可以相同,也可以不同。一级扩展芯片的第一端连接的总线可以是从控制器上引出的I2C总线。需要说明的是,各级扩展芯片的位数等于其引脚数目,例如,如果一级扩展芯片有N个一级引脚,则一 级扩展芯片就是N位的扩展芯片;同理,如果二级扩展芯片有M个二级引脚,则二级扩展芯片就是M位的扩展芯片。例如,N可以等于8,M可以等于16。
可选地,卡池系统还包括:第一开关,与收发器连接,该收发器连接在第一开关和控制器之间,第一开关设置成将一路SIM数据信号扩展为(N*M)路SIM数据信号;第二开关,也与收发器连接,该收发器连接在第二开关和控制器之间,第二开关设置成将一路SIM时钟信号扩展为(N*M)路SIM时钟信号;第三开关,也与收发器连接,该收发器连接在第三开关和控制器之间,第三开关设置成将一路SIM重置信号扩展为(N*M)路SIM重置信号。
收发器设置成接收来自卡池系统的CPU的片选信号。各开关都包括多级开关,并且每一级开关作为一组开关可以包括多个开关,例如2个。
以下以一个具体实施例详细阐述本申请的卡池系统:
需要说明的是,在本实施例中,假设卡池系统包括两个一级扩展芯片,每个一级扩展芯片的第一端与控制器(即卡池系统的CPU)连接,每个一级扩展芯片的第二端上设置有N个一级引脚,其中,假设N=8,这样,此处的每个一级扩展芯片实际上是一个8位的I2C扩展芯片;每个8位的I2C扩展芯片的每个一级引脚分别连接一个二级扩展芯片(即第二级扩展芯片,以下简称为二级扩展芯片)的第一端,每个二级扩展芯片的第二端上设置有M个二级引脚,每个二级引脚连接所述多个卡槽中的一个卡槽的检测引脚。由于两个8位的I2C扩展芯片一共具有16个一级引脚,这样,总共可以连接16个二级扩展芯片,假设每个二级扩展芯片都是一个16位的I2C二级扩展芯片,则经过一、二级扩展芯片扩展之后,总共有16×16个二级引脚。由于每个二级引脚可以连接一个检测引脚,因此,经过所述扩展之后,可以得到一个布置有256个卡槽的卡池系统。
实施时,两个一级扩展芯片的第一端都是连接在控制器(即卡池系统的CPU)上引出的总线(如I2C总线)上的。这样,作为一级扩展芯片的8位的I2C扩展芯片,它的每个引脚都可以分别连接一个作为二级扩展芯片的16位的I2C二级扩展芯片。由于每个16位的I2C二级扩展芯片的每一位扩展引 脚都可以连接到一个SIM卡槽的detect引脚(即检测引脚)上,因此,通过所述的两级扩展芯片,总共能够扩展出256个检测通路,将它们分别连接到对应的SIM卡的卡槽上,就可以支持256个SIM卡。这样,卡池系统具有多个包含了设置成检测安装在对应的卡槽内的客户识别模块SIM卡是否发生热插拔操作的检测引脚的卡槽。换言之,通过该种方式实现的卡池系统支持SIM卡热插拔功能。
因为控制器(即卡池系统的CPU)作为卡池系统的一部分,可以根据中断信息检测哪些卡槽上的SIM卡发生了热插拔操作,哪些卡槽上的SIM卡为可以使用的SIM卡等,进而将检测结果上传给服务器,这样,在终端设备需要使用卡池中的SIM卡时,服务器可以根据检测结果为终端设备选择并提供对应的SIM卡以满足其通信需求。
另外,由于二级扩展芯片的每一个二级引脚连接到一个安装SIM卡的卡槽的detect引脚上,因此可以随时检测对应的detect引脚的电平变化情况,实现了卡池的热插拔功能。
使用所述的卡池,若一个终端设备(如手机)在到国外运行,当获知到所在的国家及其通信制式信息时,就可以从该卡池中选择具有相同信息的SIM卡,然后读取该SIM卡的信息,之后,用户可以选择停止终端设备中的注册到通信网络的SIM卡,进而采用从卡池中选出的所述具有相同信息的SIM卡注册到通信网络,从而能够实现大幅度节省成本的目的。
如图2(a)和图2(b)展示了一种可热插拔SIM卡的卡池系统。其中,图2(a)是根据本发明实施例的卡池系统的主板的结构框图,图2(b)是根据本发明实施例的卡池系统的子板的结构框图,图2(a)所示的主板和图2(b)所示的子板的展示了该实现方法的整个框架。
在所述卡池系统的主板中,从控制器(即卡池系统的CPU)引出四组信号线,分别为:8个连接至收发器的GPIO(General Purpose Input Output,通用输入/输出)片选线,设置成提供片选信号;3个USIM信号线,分别为SIM数据信号USIM_DATA、SIM时钟信号USIM_CLK、SIM重置信号USIM_RESET;I2C总线(即总线);2个GPIO中断线,设置成传输中断信息。其中,在8个GPIO片选线中,sw1_add0到sw1_add3作为高4位地址 线。sw1_add0作为高位地址线,如果在该位的电平值为0时,sw1_add1、sw1_add2、sw1_add3 3个地址线分别控制3组开关(可以是一级开关),分别为第一至第三开关,这3组开关的输入分别连接USIM_DATA、USIM_CLK以及USIM_RESET这3个USIM信号线,每个USIM信号线通过开关被扩展输出8通道信号线;同理,当在sw1_add0的电平值为1时,同样分别扩展出这3个USIM信号线对应的8通道信号线,这样,USIM卡的3个USIM信号经过一级扩展之后,就可以分别被扩展成16路通道信号,这样共输出16路通道信号,这16路通道信号在根据同样的扩展原理进行二级扩展,就可以扩展为更多路通道信号,如256路通道信号。卡池系统的CPU通过I2C总线连接2个8位的I2C扩展芯片(即一级扩展芯片),每个8位的I2C扩展芯片上接入一个GPIO中断线。以上就是主板设计。
在所述卡池系统的子板中,该子板上主要分为两组信号:(1)第一组信号,控制器(即卡池系统的CPU)引出的I2C信号控制一个16位I2C扩展芯片,同时,主板上2个8位的I2C扩展芯片输出的每一路各自接到一个16位的I2C扩展芯片上;(2)第二组信号,主板上的剩下4个地址线sw2_add0、sw2_add1、sw2_add2以及sw2_add3,用同样的方法,主板上分别扩展出的3个USIM信号的16个通道信号中的每一个通路,还能够再次扩展16个通道信号;(3)每个子板上有16个SIM卡的卡槽。从以上对各组信号的解析来看,第一组信号输出了16个detect信号,第二组信号分别输出3个USIM信号的16个通道信号。其中,detect信号、USIM_DATA信号、USIM_CLK信号以及USIM_RESET信号这4个信号分别连接到SIM卡槽上,这样就运行一组中的16个SIM卡。另外,从在所述卡池系统的主板上,还有15组这样的信号,按照前一组信号的实现方法,总共可运行256个SIM卡。
实施例3
在实施例3中,提供了一种卡池的处理方法,需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。
图3是根据本发明实施例的卡池的处理方法的流程图,如图3所示,该 方法包括如下步骤:
步骤S302,获取安装在卡池中的卡槽上的客户识别模块SIM卡在发生热插拔操作时所生成的中断信息,其中,卡池包括:多个卡槽,多个卡槽中的每个卡槽都布置有设置成检测安装在该卡槽上的SIM卡是否发生热插拔操作的检测引脚;
步骤S304,根据获取的中断信息确定用于通信的SIM卡。
在卡池上电时,如果热插拔SIM卡,则原本安装了该SIM卡的卡槽的检测引脚上的电平就会发生变化,此时,会产生中断信息,并通过扩展芯片将中断信息反馈给卡池系统的CPU,卡池系统的CPU在接收到中断信息时,可以根据获取的中断信息确定能够通信的SIM卡。
需要说明的是,此处的卡池结构与所述实施例中的任意卡池结构相同,在此不再赘述。
通过本发明实施例,采用为卡池设置热插拔功能,解决了相关技术中的卡池由于不具有热插拔功能而不便于更换SIM卡的技术问题,进而达到了实现卡池的热插拔功能以便于更换的SIM卡的技术效果。
可选地,所述中断信息依据SIM卡发生热插拔操作时,SIM卡对应的卡槽发生电平变化。
通过中断信息可以确定是否发生了热插拔操作,并且在检测到有SIM热插入卡池时,会及时对其进行注册,使其实现通信功能。
可选地,根据获取的中断信息确定用于通信的SIM卡包括:
S2,读取设置成存储卡池中的各个卡槽的卡槽状态的寄存器的值;
S4,记录在获取中断信息之前寄存器的第一记录值,以及依据中断信息对寄存器的值进行更新得到的第二记录值,换言之,第二记录值是发生SIM插拔操作后,寄存器重新记录的各个卡槽的卡槽状态的值;
S6,依据第一记录值以及第二记录值确定发生热插拔操作之后能够通信的SIM卡。
如图4所示,展示了SIM卡的热插拔检测机制。结合图2(a)和图2(b), 在卡池设备上电时,需要通过I2C总线分别读取2个8位的扩展芯片的寄存器的值,进而读取每个16位的扩展芯片的寄存器的值,通过读取的寄存器的值能够判断出哪个SIM卡槽上有卡,同时保存本次读取的所有寄存器的初始值。
在该卡池设备在工作过程中,如果出现SIM卡的热插拔现象,这时,连接到SIM卡槽的16位扩展芯片的某个引脚的电平就会发生变化,并发出中断信号(即中断信息)。可选地,该中断信号就会通知连接到该16位的扩展芯片的8位扩展芯片,进而通过连接到该8位扩展芯片的主芯片上的GPIO中断信号线将所述中断信号传输给卡池系统的CPU,此时,卡池系统的CPU获取到中断信息后,会通过I2C总线读取8位扩展芯片的I/O管脚以及16位扩展芯片的I/O管脚的寄存器的值,并用当前读出的寄存器的值和上一次读取的寄存器的值(如寄存器的初始值)进行比较,可以判断出是哪个SIM卡槽上发生了电平变化。
在需要使用卡池中SIM卡时,需要通过SIM卡的物理地址,查到想要可用的SIM卡,进而调用底层的接口函数,配置8个GPIO的电平值,从而确定SIM卡的物理地址,这样就可以采用该SIM卡进行通信。
需要说明的是,在本申请中提供了容量为256个SIM卡的卡池的实现方法,在此基础上,可以进行更大数目的SIM卡的扩展,当然为了实现寄存器的读写操作,以及对中断的响应速度,就会对卡池系统的CPU的处理速度提出更高的要求。
通过本申请,实现了可插入256个SIM卡的需求的卡池,能够很方便地满足更多用户在漫游时节省通信成本的需求,从而更好地实现与亲朋间的通信;另外,具有可热插拔的功能可以方便工作人员操作服务器,这样,避免了如果要新插入或者拔出SIM卡,则需要重新对卡池设备上电的操作,进而更方便地服务于用户,有了这样的卡池设备,不管是出国还是在国内,不用再受运营商网络以及地域等诸多因素的限制,从而可以在适应性更强、更灵活、成本更低的环境下,实现跨运营商网络或跨地域实现移动通信网络业务。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据所述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也 可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例的方法。
本发明实施例另外提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现所述方法。
实施例4
在实施例4中,提供了一种卡池的处理装置,该装置用于实现所述实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图5是根据本发明可选实施例的卡池的处理装置的示意图,如图5所示,该装置包括:获取单元502,设置成获取安装在卡池中的卡槽上的客户识别模块SIM卡在发生热插拔操作时所生成的中断信息,其中,卡池包括:多个卡槽,多个卡槽中的每个卡槽都布置有设置成检测安装在该卡槽上的SIM卡是否发生热插拔操作的检测引脚;第一确定单元504,设置成根据获取的中断信息确定用于通信的SIM卡。
在卡池上电时,如果对SIM卡执行热插拔操作,则原本安装了该SIM卡的卡槽的检测引脚上的电平就会发生变化,此时,卡池就会产生中断信息,并通过扩展芯片将中断信息反馈给卡池系统的CPU,卡池系统的CPU在接收到中断信息时,可以根据获取的中断信息确定哪些SIM卡能够通信。
需要说明的是,此处的卡池结构同所述实施例中的任意实施方式,在此不再赘述。
通过本发明实施例,采用为卡池设置热插拔功能,解决了相关技术中的卡池由于不具有热插拔功能而不便于更换SIM卡的技术问题,进而达到了实现卡池的热插拔功能以便于更换的SIM卡的技术效果。
可选地,所述中断信息依据SIM卡发生热插拔操作时,SIM卡对应的卡槽发生电平变化确定。
通过中断信息可以确定是否发生了热插拔操作,并且在检测到有SIM热插入卡池时,会及时对其进行注册,使其实现通信功能。
可选地,所述装置还包括:第二确定单元,设置成依据SIM卡发生热插拔操作时,SIM卡对应的卡槽发生电平变化确定中断信息。
通过中断信息可以确定是否发生了热插拔操作,并且在检测到有SIM热插入卡池时,会及时对其进行注册,使其实现通信功能。
可选地,第一确定单元包括:读取模块,设置成读取存储卡池中的各个卡槽的卡槽状态的寄存器的值;记录模块,设置成记录在获取中断信息之前寄存器的第一记录值,以及依据中断信息对寄存器的值进行更新得到的第二记录值,换言之,第二记录值是发生SIM插拔操作后,寄存器重新记录的各个卡槽的卡槽状态的值;确定模块,设置成依据第一记录值以及第二记录值确定用于通信的SIM卡。
如图4所示,展示了SIM卡的热插拔检测机制。结合图2(a)和图2(b),在卡池设备上电时,需要通过I2C总线分别读取2个8位的扩展芯片的寄存器的值,进而读取每个16位的扩展芯片的寄存器的值,通过读取的寄存器的值能够判断出哪个SIM卡槽上有卡,同时保存本次读取的所有寄存器的初始值。
在该卡池设备在工作过程中,如果出现SIM卡的热插拔现象,这时,连接到SIM卡槽的16位扩展芯片的某个引脚的电平就会发生变化,并发出中断信号(即中断信息)。可选地,该中断信号就会通知连接到该16位的扩展芯片的8位扩展芯片,进而通过连接到该8位扩展芯片的主芯片上的GPIO中断信号线将所述中断信号传输给卡池系统的CPU,此时,卡池系统的CPU获取到中断信息后,会通过I2C总线读取8位扩展芯片的I/O管脚以及16位扩展芯片的I/O管脚的寄存器的值,并用当前读出的寄存器的值和上一次读取的寄存器的值(如寄存器的初始值)进行比较,可以判断出是哪个SIM卡槽上发生了电平变化。以上就是当出现热插拔SIM卡时的检测过程。
在需要使用卡池中SIM卡时,需要通过SIM卡的物理地址,查到想要可用的SIM卡,进而调用底层的接口函数,配置8个GPIO的电平值,这样就可以采用该SIM卡进行通信。
需要说明的是,在本申请中提供了容量为256个SIM卡的卡池的实现方法,在此基础上,可以进行更大数目的SIM卡的扩展,当然为了实现寄存器的读写操作,以及对中断的响应速度,就会对卡池系统的CPU的处理速度提出更高的要求。
通过本申请,实现了可插入256个SIM卡的需求的卡池,能够很方便地满足更多用户在漫游时节省通信成本的需求,从而更好地实现与亲朋间的通信;另外,具有可热插拔的功能可以方便工作人员操作服务器,这样,避免了如果要新插入或者拔出SIM卡,则需要重新对卡池设备上电的操作,进而更方便地服务于用户,有了这样的卡池设备,不管是出国还是在国内,不用再受运营商网络以及地域等诸多因素的限制,从而可以在适应性更强、更灵活、成本更低的环境下,实现跨运营商网络或跨地域实现移动通信网络业务。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据所述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例的方法。
需要说明的是,所述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:所述模块均位于同一处理器中;或者,所述模块分别位于多个处理器中。
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,所述存储介质可以被设置为存储用于执行以下步骤的程序代码:
S8,获取安装在卡池中的卡槽上的客户识别模块SIM卡在发生热插拔操作时所生成的中断信息,其中,卡池包括:多个卡槽,多个卡槽中的每个卡 槽都布置有设置成检测安装在该卡槽上的SIM卡是否发生热插拔操作的检测引脚;
S10,根据获取的中断信息确定用于通信的SIM卡。
可选地,在本实施例中,所述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:
S12,获取安装在卡池中的卡槽上的客户识别模块SIM卡在发生热插拔操作时所生成的中断信息,其中,卡池包括:多个卡槽,多个卡槽中的每个卡槽都布置有设置成检测安装在该卡槽上的SIM卡是否发生热插拔操作的检测引脚;
S14,根据获取的中断信息确定用于通信的SIM卡。
可选地,本实施例中的具体示例可以参考所述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
显然,本领域的技术人员应该明白,所述的本申请的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本申请不限制于任何特定的硬件和软件结合。
本领域普通技术人员可以理解所述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,所述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,所述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的 程序/指令来实现其相应功能。本发明实施例不限制于任何特定形式的硬件和软件的结合。
以上所述仅为本申请的可选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。
工业实用性
通过本申请,采用为卡池设置热插拔功能,通过使卡池上多个卡槽中的每个卡槽都布置有设置成检测安装在该卡槽上的客户识别模块SIM卡是否发生热插拔操作的检测引脚,解决了相关技术中的卡池由于不具有热插拔功能而不便于更换SIM卡的技术问题,进而达到了实现卡池的热插拔功能以便于更换的SIM卡的技术效果。

Claims (10)

  1. 一种卡池系统,包括:
    卡池,在所述卡池中布置有多个卡槽,其中,所述多个卡槽中的每个卡槽都布置有设置成检测安装在该卡槽内的客户识别模块SIM卡是否发生热插拔操作的检测引脚。
  2. 根据权利要求1所述的卡池系统,所述卡池系统还包括:
    扩展芯片,设置成扩展所述卡池中的卡槽数量,与所述卡池中的卡槽连接。
  3. 根据权利要求2所述的卡池系统,其中,所述扩展芯片包括:
    一个或者多个一级扩展芯片,每个所述一级扩展芯片的第一端与控制器连接,每个所述一级扩展芯片的第二端上设置有N个一级引脚;
    多个二级扩展芯片,每个所述一级引脚连接所述多个二级扩展芯片中的一个二级扩展芯片的第一端,每个所述二级扩展芯片的第二端上设置有M个二级引脚,每个所述二级引脚连接所述多个卡槽中的一个卡槽的检测引脚。
  4. 根据权利要求3所述的卡池系统,所述卡池系统还包括:
    第一开关,与收发器连接,所述收发器连接在所述第一开关和所述控制器之间,所述第一开关设置成将一路SIM数据信号扩展为(N*M)路SIM数据信号;
    第二开关,与所述收发器连接,所述收发器连接在所述第二开关和所述控制器之间,所述第二开关设置成将一路SIM时钟信号扩展为(N*M)路SIM时钟信号;
    第三开关,与所述收发器连接,所述收发器连接在所述第三开关和所述控制器之间,所述第三开关设置成将一路SIM重置信号扩展为(N*M)路SIM重置信号。
  5. 一种卡池的处理方法,包括:
    获取安装在卡池中的卡槽上的客户识别模块SIM卡在发生热插拔操作时所生成的中断信息,其中,所述卡池包括:多个卡槽,所述多个卡槽中的每个卡槽都布置有设置成检测安装在该卡槽上的SIM卡是否发生热插拔操 作的检测引脚;
    根据获取的中断信息确定用于通信的SIM卡。
  6. 根据权利要求5所述的方法,其中,所述中断信息依据SIM卡发生热插拔操作时所述SIM卡对应的卡槽的电平变化而确定。
  7. 根据权利要求5所述的方法,其中,所述根据获取的中断信息确定用于通信的SIM卡的步骤包括:
    读取设置成存储所述卡池中的各个卡槽的卡槽状态的寄存器的值;
    记录在获取中断信息之前寄存器的第一记录值,以及依据中断信息进行更新的寄存器的第二记录值;
    依据所述第一记录值以及所述第二记录值确定用于通信的SIM卡。
  8. 一种卡池的处理装置,包括:
    获取单元,设置成获取安装在卡池中的卡槽上的客户识别模块SIM卡在发生热插拔操作时所生成的中断信息,其中,所述卡池包括:多个卡槽,所述多个卡槽中的每个卡槽都布置有设置成检测安装在该卡槽上的SIM卡是否发生热插拔操作的检测引脚;
    第一确定单元,设置成根据获取的中断信息确定用于通信的SIM卡。
  9. 根据权利要求8所述的装置,所述装置还包括:
    第二确定单元,设置成依据SIM卡发生热插拔操作时所述SIM卡对应的卡槽的电平变化,确定所述中断信息。
  10. 根据权利要求8所述的装置,其中,所述第一确定单元包括:
    读取模块,设置成读取设置成存储所述卡池中的各个卡槽的卡槽状态的寄存器的值;
    记录模块,设置成记录在获取中断信息之前寄存器的第一记录值,以及依据中断信息进行更新的寄存器的第二记录值;
    确定模块,设置成依据所述第一记录值以及所述第二记录值确定用于通信的SIM卡。
PCT/CN2016/085878 2015-10-21 2016-06-15 卡池的处理方法及装置、卡池系统 WO2016197997A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510690351.4A CN106610913A (zh) 2015-10-21 2015-10-21 卡池的处理方法及装置、卡池系统
CN201510690351.4 2015-10-21

Publications (1)

Publication Number Publication Date
WO2016197997A1 true WO2016197997A1 (zh) 2016-12-15

Family

ID=57504828

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/085878 WO2016197997A1 (zh) 2015-10-21 2016-06-15 卡池的处理方法及装置、卡池系统

Country Status (2)

Country Link
CN (1) CN106610913A (zh)
WO (1) WO2016197997A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112232096A (zh) * 2020-10-14 2021-01-15 Oppo广东移动通信有限公司 卡检测器、读卡装置及电子设备
US11317282B2 (en) 2019-12-19 2022-04-26 Bank Of America Corporation Intelligent method for sim-swap fraud detection and prevention

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111355505B (zh) * 2020-02-18 2022-02-01 深圳信可通讯技术有限公司 Sim卡座类型识别方法、装置及计算机可读介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761346A (zh) * 2012-06-19 2012-10-31 中兴通讯股份有限公司 Sim卡热插拔处理装置、方法及移动终端
CN102843449A (zh) * 2012-08-16 2012-12-26 惠州Tcl移动通信有限公司 一种移动通讯设备以及sim卡热插拔的检测方法
CN104243650A (zh) * 2014-09-16 2014-12-24 广东欧珀移动通信有限公司 应用于移动终端的用户识别模块卡热插拔检测方法和装置
CN104270740A (zh) * 2014-09-16 2015-01-07 广东欧珀移动通信有限公司 一种共卡槽t卡和sim卡的检测方法
CN104378754A (zh) * 2014-06-30 2015-02-25 北京神州泰岳软件股份有限公司 一种移动通信网络业务实现系统及方法
CN104702784A (zh) * 2015-03-05 2015-06-10 惠州Tcl移动通信有限公司 一种移动终端多sim卡热插拔的检测方法及系统

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102891922A (zh) * 2011-07-22 2013-01-23 富泰华工业(深圳)有限公司 通信系统、附件设备及扩展使用sim卡的方法
CN104571376A (zh) * 2013-10-25 2015-04-29 鸿富锦精密电子(天津)有限公司 硬盘扩展系统
CN103702056B (zh) * 2013-12-13 2017-01-25 乐视致新电子科技(天津)有限公司 Hdmi信号处理电路及处理方法
CN104714912B (zh) * 2015-03-04 2017-11-10 惠州Tcl移动通信有限公司 一种多卡检测装置、多卡检测系统及其方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761346A (zh) * 2012-06-19 2012-10-31 中兴通讯股份有限公司 Sim卡热插拔处理装置、方法及移动终端
CN102843449A (zh) * 2012-08-16 2012-12-26 惠州Tcl移动通信有限公司 一种移动通讯设备以及sim卡热插拔的检测方法
CN104378754A (zh) * 2014-06-30 2015-02-25 北京神州泰岳软件股份有限公司 一种移动通信网络业务实现系统及方法
CN104243650A (zh) * 2014-09-16 2014-12-24 广东欧珀移动通信有限公司 应用于移动终端的用户识别模块卡热插拔检测方法和装置
CN104270740A (zh) * 2014-09-16 2015-01-07 广东欧珀移动通信有限公司 一种共卡槽t卡和sim卡的检测方法
CN104702784A (zh) * 2015-03-05 2015-06-10 惠州Tcl移动通信有限公司 一种移动终端多sim卡热插拔的检测方法及系统

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11317282B2 (en) 2019-12-19 2022-04-26 Bank Of America Corporation Intelligent method for sim-swap fraud detection and prevention
CN112232096A (zh) * 2020-10-14 2021-01-15 Oppo广东移动通信有限公司 卡检测器、读卡装置及电子设备
CN112232096B (zh) * 2020-10-14 2024-04-12 Oppo广东移动通信有限公司 卡检测器、sim卡读卡装置及电子设备

Also Published As

Publication number Publication date
CN106610913A (zh) 2017-05-03

Similar Documents

Publication Publication Date Title
CN107423169B (zh) 用于测试高速外围设备互连设备的方法和系统
CN100568211C (zh) 用可编程器件实现访问多个i2c从器件的方法及装置
US6665764B2 (en) Hubless docking station having USB ports
JP2016532926A (ja) 非対称な記憶容量を有する複数チャネルメモリアーキテクチャにわたってデータを均一にインターリーブするためのシステムおよび方法
US9298662B2 (en) Providing expansion card settings
WO2016197997A1 (zh) 卡池的处理方法及装置、卡池系统
CN101547123B (zh) 用于在信息处理系统内启用网络通信的网络接口和检测模块
US20140325043A1 (en) Network Switching Method, Version Upgrade Method, and Terminal Device
CN102184158B (zh) 带两级fpga芯片的子板及两级fpga芯片的配置方法
CN106575145A (zh) 芯片上系统中存储器访问的功率管理
CN106575273B (zh) 用于扩展片上系统的存储器的系统和方法
WO2020233435A1 (zh) 数据处理方法、装置和系统
CN113419679B (zh) 存储装置、系统级芯片、电子设备及存储方法
JP2008009817A (ja) 半導体装置及びデータ転送方法
CN110399168B (zh) 多数据盘存储服务器的系统启动方法、装置及设备
CN114003528A (zh) Ocp转接卡、转接系统及转接方法
CN103744911A (zh) 一种视频文件扫描方法及电子设备
US10635450B2 (en) Electronic device performing booting operation based on boot-up instruction provided from endpoint device
EP2835737A1 (en) Data terminal running mode switching method, device, and data terminal
US20070106830A1 (en) System and method to access storage inside an inactive computing device
US20170185346A1 (en) SoC Fabric extensions for configurable memory maps through memory range screens and selectable address flattening
US20150105019A1 (en) Wireless communication device and wireless paring method thereof
CN104601788A (zh) 无线通信装置与其无线配对方法
US20160077959A1 (en) System and Method for Sharing a Solid-State Non-Volatile Memory Resource
US10423561B2 (en) Computing devices with hot swapping prediction circuits

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16806895

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16806895

Country of ref document: EP

Kind code of ref document: A1