Multi-sim card reading method and device

CN115936025BActive Publication Date: 2026-09-08SHENXUN COMP KUNSHAN
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110947165.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-18
Publication Date
2026-09-08
Estimated Expiration
2041-08-18

AI Technical Summary

Technical Problem

这导致了人员操作麻烦,还要比对两个SIM卡槽中SIM卡20位的ICCID

Benefits of technology

[0015]The technical solution of this invention uses the C# programming language to call cmd.exe to execute the corresponding internal Windows instructions and parse the data returned by the instruction execution. This allows the system to automatically detect 4G cards, read and compare SIM card ICCIDs, switch SIM cards, and make judgments to achieve the dual SIM card function of the automatic testing machine.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115936025B_ABST
    Figure CN115936025B_ABST
Patent Text Reader

Abstract

The application discloses a multi-SIM card reading method and device. The multi-SIM card reading method comprises the following steps: obtaining interface information of a data module; setting a first interface name of the data module as a second interface name associated with LTE; obtaining a slot state of the data module, which is associated with multiple SIM cards; based on the slot state of the data module, obtaining a first SIM card slot corresponding parameter; obtaining ready information of a first SIM card; switching the first SIM card slot corresponding parameter to a second SIM card slot corresponding parameter; confirming the switching success; and obtaining ready information of a second SIM card. The application realizes a method and device for automatically testing a double-SIM card function without manual operation.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] This invention relates to the field of SIM card reading software and hardware, and in particular to a method and apparatus for reading multiple SIM cards. [Background Technology]

[0002] Current methods for testing dual SIM cards typically involve manual testing, such as sequentially performing steps in Windows: Settings, Network & Internet, Cellular, Advanced options, Properties, comparing the current SIM card's ICCID, returning to Cellular, switching SIMs, Advanced options, Properties, and comparing the current SIM card's ICCID again. This is cumbersome for operators, requiring the comparison of the 20-digit ICCIDs of the two SIM cards in the two SIM card slots.

[0003] Because of these drawbacks, there is a need for methods and devices that can automatically test dual SIM card functionality. [Summary of the Invention]

[0004] The purpose of this invention is to at least address the aforementioned technical deficiencies. Specifically, this invention achieves the following objectives: automatically detecting 4G cards, reading and comparing SIM card ICCIDs, and switching SIM cards. It uses C# to call cmd.exe to execute corresponding Windows internal instructions, parses and judges the data returned by the instruction execution, and thus automatically tests the dual-SIM card function of the testing machine.

[0005] Therefore, the purpose of this invention is to provide a multi-SIM card reading method and apparatus, which can solve the above-mentioned deficiencies of the current technology.

[0006] To solve the above technical problems, the present invention adopts the following technical solution: The present invention provides a multi-SIM card reading method, comprising the following steps: obtaining interface information of a modem module; setting a first interface name of the modem module to a second interface name associated with LTE; obtaining the slot status of the modem module, which is associated with multiple SIM cards; obtaining parameters corresponding to a first SIM card slot based on the slot status of the modem module; obtaining readiness information of a first SIM card; switching the parameters corresponding to the first SIM card slot to the parameters corresponding to a second SIM card slot; confirming successful switching; and obtaining readiness information of a second SIM card; wherein a processor is configured to automatically perform the multi-SIM card reading method using the C# programming language.

[0007] Furthermore, the command to obtain the interface information of a modem module is `netsh mbn show interface`; the command to set a first interface name of the modem module to a second interface name associated with LTE is `netsh interfaceset interface name = first interface name newname = second interface name`; the command to obtain the slot status of the modem module is `netsh mbn show slotstatus interface = second interface name`; the command to obtain the parameters corresponding to a first SIM card slot is `netsh mbn show slotmapping interface = second interface name`; the command to obtain the ready information of a first SIM card is `netsh mbn show readyinfo interface = second interface name`; the command to switch the parameters corresponding to the first SIM card slot to the parameters corresponding to the second SIM card slot is `netsh mbn setslotmapping interface = second interface name slotindex = (0 or 1)`; the command to confirm successful switching is `netsh mbn show slotmapping interface = second interface name`; the command to obtain the ready information of a second SIM card is `netsh mbn show readyinfo interface = second interface name`.

[0008] Furthermore, the readiness information for obtaining a first SIM card also includes: the status of obtaining the first SIM card.

[0009] Furthermore, the readiness information for obtaining a second SIM card also includes: the status of obtaining the second SIM card.

[0010] The present invention also provides a multi-SIM card reader, comprising: a first SIM card slot for inserting a first SIM card; a second SIM card slot for inserting a second SIM card; a modem module coupled to the first SIM card slot and the second SIM card slot; and a processor coupled to the modem module, wherein the processor is configured to automatically perform a first operation using the C# programming language to obtain interface information of the modem module; set a first interface name of the modem module to a second interface name associated with LTE; obtain the slot status of the modem module, which is associated with multiple SIM cards; obtain parameters corresponding to a first SIM card slot based on the slot status of the modem module; obtain the readiness information of the first SIM card; switch the parameters corresponding to the first SIM card slot to the parameters corresponding to the second SIM card slot; confirm successful switching; and obtain the readiness information of the second SIM card.

[0011] The present invention also provides a multi-SIM card reader, a processor coupled to a networking device, comprising: a first SIM card slot for inserting a first SIM card; a second SIM card slot for inserting a second SIM card; and a modem module coupled to the first SIM card slot and the second SIM card slot; wherein the processor is coupled to the modem module, and the processor is configured to automatically perform a first operation using the C# programming language to obtain the interface information of the modem module; set a first interface name of the modem module to a second interface name associated with LTE; obtain the slot status of the modem module, which is associated with multiple SIM cards; based on the slot status of the modem module, obtain the parameters corresponding to a first SIM card slot; obtain the readiness information of the first SIM card; switch the parameters corresponding to the first SIM card slot to the parameters corresponding to a second SIM card slot; confirm successful switching; and obtain the readiness information of the second SIM card.

[0012] Furthermore, the command to obtain the interface information of a modem module is `netsh mbn show interface`; the command to set a first interface name of the modem module to a second interface name associated with LTE is `netsh interfaceset interface name = first interface name newname = second interface name`; the command to obtain the slot status of the modem module is `netsh mbn show slotstatus interface = second interface name`; the command to obtain the parameters corresponding to a first SIM card slot is `netsh mbn show slotmapping interface = second interface name`; the command to obtain the ready information of a first SIM card is `netsh mbn show readyinfo interface = second interface name`; the command to switch the parameters corresponding to the first SIM card slot to the parameters corresponding to the second SIM card slot is `netsh mbn setslotmapping interface = second interface name slotindex = (0 or 1)`; the command to confirm successful switching is `netsh mbn show slotmapping interface = second interface name`; the command to obtain the ready information of a second SIM card is `netsh mbn show readyinfo interface = second interface name`.

[0013] Furthermore, the readiness information for obtaining a first SIM card also includes: the status of obtaining the first SIM card.

[0014] Furthermore, the readiness information for obtaining a second SIM card also includes: the status of obtaining the second SIM card.

[0015] The technical solution of this invention uses the C# programming language to call cmd.exe to execute the corresponding internal Windows instructions and parse the data returned by the instruction execution. This allows the system to automatically detect 4G cards, read and compare SIM card ICCIDs, switch SIM cards, and make judgments to achieve the dual SIM card function of the automatic testing machine.

[0016] The specific techniques employed in this invention will be further explained through the following embodiments and accompanying drawings. [Attached Image Description]

[0017] Figure 1 This is a flowchart illustrating the steps of a multi-SIM card reading method according to the present invention.

[0018] Figure 2A This is a block diagram of a multi-SIM card reader according to the present invention.

[0019] Figure 2B This is a schematic diagram of a multi-SIM card reader according to the present invention.

[0020] Figure 3A This is a block diagram of another multi-SIM card reader device according to the present invention.

[0021] Figure 3B This is a schematic diagram of another multi-SIM card reader device according to the present invention.

[0022] Explanation of key component symbols:

[0023] 1. Multi-SIM card reader

[0024] 11 First SIM card slot

[0025] 12 Second SIM card slot

[0026] 13 Modem Module

[0027] 14 processors

[0028] 2 First SIM card

[0029] 3 Second SIM card

[0030] 4. Networking devices

[0031] 41 First SIM card slot

[0032] 42 Second SIM card slot

[0033] 43 Modem Module

[0034] Steps S11-S17

Detailed Implementation Methods

[0035] To fully understand the purpose, features and effects of the present invention, the present invention will be described in detail below with reference to the following specific embodiments and accompanying drawings.

[0036] Please refer to Figure 1 The flowchart below illustrates a multi-SIM card reading method according to the present invention. The multi-SIM card reading method of the present invention can be roughly divided into four stages: 1. Determining whether the current device has a 4G card; 2. Determining whether the current 4G firmware is in dual-SIM mode; 3. Reading and comparing the Integrated Circuit Card Identifier (ICCID) of the currently configured SIM card; 4. Switching to another SIM card and reading and comparing another ICCID.

[0037] In practice, determining whether the current device has a 4G card can be divided into steps S10-S11. In step S10, the interface information of a modem module is obtained. In step S11, a first interface name of the modem module is set to a second interface name associated with LTE. Determining whether the current 4G firmware is in dual-SIM mode can be divided into steps S12. In step S12, the slot status of the modem module, which is associated with multiple SIM cards, is obtained. The process of reading and comparing the ICCID of the currently set SIM card can be divided into steps S13-S14. In step S13, based on the slot status of the modem module, the parameters corresponding to a first SIM card slot are obtained. In step S14, the readiness information of a first SIM card is obtained. Switching to another SIM card and reading and comparing another ICCID can be divided into steps S15-S17. In step S15, the parameters corresponding to the first SIM card slot are switched to the parameters corresponding to the second SIM card slot. In step S16, the successful switch is confirmed. In step S17, readiness information for a second SIM card is obtained. Specifically, all the above steps are performed automatically using a multi-SIM card reading method configured with a processor and programmed in C#.

[0038] In detail, the command to obtain the interface information of a modem module is `netsh mbn show interface`. An example of the information obtained after execution is as follows:

[0039] Name:LTE11

[0040] Description:Generic Mobile Broadband Adapter#18

[0041] GUID: {F8A11A69-3213-4982-B5D9-C2F5689F0BBD}

[0042] Physical Address:90:a7:90:51:5a:5a

[0043] Additional PDP Context:No(Physical interface)

[0044] Parent Interface Guid: No parent

[0045] State: Not connected

[0046] Device type:This is a remote device

[0047] Cellular class:GSM

[0048] Device ID: 354580090215081

[0049] Manufacturer:Sierra Wireless,Incorporated

[0050] Model:Sierra Wireless EM7511 Qualcomm

[0051] Firmware Version:SWI9X50C_01.14.02.00

[0052] Provider Name:

[0053] Roaming: Not roaming

[0054] Signal: 0%

[0055] RSSI / RSCP: 0 (-113dBm)

[0056] Among them, GUID is the globally unique identifier, Physical Address is the physical address, Additional PDPContext is the additional packet data protocol context, Parent Interface Guid is the globally unique identifier of the parent interface, Cellular class is the cellular class, Manufacturer is the manufacturer, Firmware Version is the firmware version, Roaming is roaming, and RSSI / RSCP is the pilot channel / total power received on the carrier frequency.

[0057] The command to set the first interface name of the modem module to the second interface name associated with the LTE is: `netsh interface set interface name = first interface name newname = second interface name`. An example command is: `netsh interface set interface name = LTE11 newname = LTE1`.

[0058] The command to obtain the slot status of the modem module is `netsh mbn show slotstatus interface=second interface name`. An example of the command is as follows: `netsh mbn show slotstatus interface=LTE1`, and the information obtained after execution is as follows:

[0059] 2slots found on interface LTE1:

[0060] -------------------------------------

[0061] Slot index 0has state:SIM slot is powered off and a SIM ispresentSlot index 1has state:SIM in the slot is available

[0062] The command to retrieve the parameters corresponding to the first SIM card slot is `netsh mbn show slotmappinginterface=second interface name`. An example of the command is: `netsh mbn show slotmapping interface=LTE1`, and an example of the information obtained after execution is as follows:

[0063] The slot index that is currently mapped on interface LTE1:

[0064] ------------------------------------- 0

[0066] The command to obtain the ready information of a first SIM card is `netsh mbn show readyinfo interface=second interface name`. An example of the command is as follows: `netsh mbn show readyinfo interface=LTE1`, and the information obtained after execution is as follows:

[0067] State:Ready to power up and register

[0068] Emergency mode: Off

[0069] Subscriber ID:460071529206053

[0070] SIM ICC ID:898607A5101840048790

[0071] Number of telephone numbers: 0

[0072] Among them, Emergency mode is the emergency mode, Subscriber Id is the user identification code, and SIM ICC Id is the ICCID of the SIM card.

[0073] The command to switch the parameters corresponding to the first SIM card slot to those corresponding to the second SIM card slot is: `netsh mbnset slotmapping interface=second interface name slotindex=(0 or 1)`. An example of the command is: `netsh mbn show slotmapping interface=LTE1`, and the information obtained after execution is shown below.

[0074] The slot index that is currently mapped on interface LTE1:

[0075] ------------------------------------- 1

[0077] The command to obtain the ready information of a second SIM card is `netsh mbn show readyinfo interface=second interface name`. An example of the command is: `netsh mbn show readyinfo interface=LTE1`, and an example of the information obtained after execution is as follows:

[0078] Ready information for interface LTE1:

[0079] -------------------------------------

[0080] State:Ready to power up and register

[0081] Emergency mode: Off

[0082] Subscriber ID:460079520731383

[0083] SIM ICC ID:898600D5101980019237

[0084] Number of telephone numbers: 0

[0085] In one embodiment, obtaining the readiness information of a first SIM card further includes obtaining the status of the first SIM card. For example, the insertion status, service status, and carrier status of the first SIM card.

[0086] The command to obtain the status of the first SIM card is `netsh mbn show readyinfo interface=second interface name`. An example of the command is: `netsh mbn show readyinfo interface=LTE1`, and an example of the information obtained after execution is as follows:

[0087] Insert SIM Status=Ready information for interface LTE1:(NG)

[0088] -------------------------------------

[0089] State: SIM not inserted

[0090] Emergency mode: Off

[0091] Subscriber ID:

[0092] SIM ICC ID:

[0093] Number of telephone numbers: 0

[0094] Among them, Insert SIM Status indicates the SIM card insertion status.

[0095] The following is an example of another status message obtained after executing the above command:

[0096] No Service=Ready information for interface LTE1:(Getting SIM 2ICCID)

[0097] -------------------------------------

[0098] State: Stack is off

[0099] Emergency mode: Off

[0100] Subscriber ID:

[0101] SIM ICC ID:

[0102] Number of telephone numbers: 0

[0103] "No Service" indicates a state where there is no service.

[0104] The following is an example of another status message obtained after executing the above command:

[0105] Get CMCC=Ready information for interface LTE1:(Getted SIM 2ICCID)

[0106] -------------------------------------

[0107] State:Ready to power up and register

[0108] Emergency mode: Off

[0109] Subscriber ID:460071529206053

[0110] SIM ICC ID:898600D5101980019237

[0111] Number of telephone numbers: 0

[0112] The service provider is China Mobile (CMCC).

[0113] Similarly, obtaining the readiness information for a second SIM card also includes obtaining the status of the second SIM card. For example, the insertion status, service status, and carrier status of the second SIM card.

[0114] Command:netsh mbn show readyinfo interface=LTE1

[0115] Insert SIM Status=Ready information for interface LTE1:(NG)

[0116] -------------------------------------

[0117] State: SIM not inserted

[0118] Emergency mode: Off

[0119] Subscriber ID:

[0120] SIM ICC ID:

[0121] Number of telephone numbers: 0

[0122] Command:netsh mbn show readyinfo interface=LTE1

[0123] No Service=Ready information for interface LTE1:(Getting SIM 2ICCID)

[0124] -------------------------------------

[0125] State: Stack is off

[0126] Emergency mode: Off

[0127] Subscriber ID:

[0128] SIM ICC ID:

[0129] Number of telephone numbers: 0

[0130] Command:netsh mbn show readyinfo interface=LTE1

[0131] Get CMCC=Ready information for interface LTE1:(Getted SIM 2ICCID)

[0132] -------------------------------------

[0133] State:Ready to power up and register

[0134] Emergency mode: Off

[0135] Subscriber ID:460071529206053

[0136] SIM ICC ID:898600D5101980019237

[0137] Number of telephone numbers: 0

[0138] Logically speaking, the multi-SIM card reading method of this invention can be initiated by a "start" command or instruction, or by a switch, a button, etc.

[0139] like Figure 2A and Figure 2B As shown, the present invention also provides a multi-SIM card reader 1, including a first SIM card slot 11 for inserting a first SIM card 2; a second SIM card slot 12 for inserting a second SIM card 3; a modem module 13 coupled to the first SIM card slot 11 and the second SIM card slot 12; and a processor 14 coupled to the modem module 13. The processor 14 is configured to perform a first operation to obtain interface information of the modem module 13; set a first interface name of the modem module 13 to a second interface name associated with LTE; obtain the slot status of the modem module 13, which is associated with multiple SIM cards; obtain parameters corresponding to a first SIM card slot based on the slot status of the modem module 13; obtain the readiness information of the first SIM card 2; switch the parameters corresponding to the first SIM card slot to the parameters corresponding to the second SIM card slot; confirm the successful switch; and obtain the readiness information of the second SIM card 3. In particular, the processor 14 is configured to automatically perform the first operation using the C# programming language.

[0140] For example, the multi-SIM card reader 1 can be a desktop computer, laptop computer, smartphone, tablet computer, netbook, embedded platform, etc.

[0141] In one embodiment, the command to obtain the interface information of a modem module is `netsh mbn showinterface`; the command to set a first interface name of the modem module to a second interface name associated with LTE is `netsh interface set interface name = first interface name newname = second interface name`; the command to obtain the slot status of the modem module is `netsh mbn show slotstatus interface = second interface name`; the command to obtain the parameters corresponding to a first SIM card slot is `netsh mbn show slotmapping interface = second interface name`; the command to obtain the ready information of a first SIM card is `netsh mbn show readyinfo interface = second interface name`; the command to switch the parameters corresponding to the first SIM card slot to the parameters corresponding to the second SIM card slot is `netsh mbn set slotmapping interface = second interface name slotindex = (0 or 1)`; the command to confirm successful switching is `netsh mbn show slotmapping interface = second interface name`; and the command to obtain the ready information of a second SIM card is `netsh mbn show readyinfo interface = second interface name`.

[0142] In a feasible embodiment, obtaining the readiness information of a first SIM card 2 further includes obtaining the status of the first SIM card 2. Additionally, obtaining the readiness information of a second SIM card 3 further includes obtaining the status of the second SIM card 3.

[0143] It is worth noting that the commands for the above actions, their examples, and the information obtained after execution have been detailed above.

[0144] like Figure 3A and Figure 3BAs shown, the present invention also provides a multi-SIM card reader 1, including a processor 14 coupled to a networking device 4, comprising: a first SIM card slot 41 for inserting a first SIM card 2; a second SIM card slot 42 for inserting a second SIM card 3; and a modem module 43 coupled to the first SIM card slot 41 and the second SIM card slot 42; wherein the processor 14 is coupled to the modem module 43, and the processor 14 is configured to perform a first operation to obtain interface information of the modem module 43; set a first interface name of the modem module 43 to a second interface name associated with LTE; obtain the slot status of the modem module 43, which is associated with multiple SIM cards; obtain parameters corresponding to a first SIM card slot based on the slot status of the modem module 43; obtain ready information of the first SIM card 2; switch the parameters corresponding to the first SIM card slot to the parameters corresponding to the second SIM card slot; confirm the successful switch; and obtain ready information of the second SIM card 3. In particular, the processor 14 is configured to automatically perform the first operation using the C# programming language.

[0145] For example, the multi-SIM card reader 1 can be a test machine or a test platform.

[0146] The networked device 4 can be a desktop computer, laptop computer, smartphone, tablet computer, embedded platform, etc.

[0147] In one embodiment, the command to obtain the interface information of a modem module is `netsh mbn showinterface`; the command to set a first interface name of the modem module to a second interface name associated with LTE is `netsh interface set interface name = first interface name newname = second interface name`; the command to obtain the slot status of the modem module is `netsh mbn show slotstatus interface = second interface name`; the command to obtain the parameters corresponding to a first SIM card slot is `netsh mbn show slotmapping interface = second interface name`; the command to obtain the ready information of a first SIM card is `netsh mbn show readyinfo interface = second interface name`; the command to switch the parameters corresponding to the first SIM card slot to the parameters corresponding to the second SIM card slot is `netsh mbn set slotmapping interface = second interface name slotindex = (0 or 1)`; the command to confirm successful switching is `netsh mbn show slotmapping interface = second interface name`; and the command to obtain the ready information of a second SIM card is `netsh mbn show readyinfo interface = second interface name`.

[0148] In a feasible embodiment, obtaining the readiness information of a first SIM card 2 further includes obtaining the status of the first SIM card 2. Additionally, obtaining the readiness information of a second SIM card 3 further includes obtaining the status of the second SIM card 3.

[0149] It is worth noting that the commands for the above actions, their examples, and the information obtained after execution have been detailed above.

[0150] It is worth noting that the connection between the aforementioned units, components, devices, modules, and / or equipment can be direct or indirect. An indirect connection means that other units, components, devices, modules, and / or equipment can be installed between them without departing from the scope of this invention.

[0151] The present invention achieves the following effects through the above circuit design: by calling cmd.exe in C# programming language to execute the corresponding internal Windows instructions and parsing the data returned by the instruction execution, it can automatically detect 4G cards, read and compare SIM card ICCIDs, switch SIM cards, and make judgments to realize the dual SIM card function of the automatic testing machine, thereby avoiding the waste of manpower and time in manually testing dual SIM cards step by step in the prior art.

[0152] While the embodiments of the present invention are disclosed as described above, they are not intended to limit the present invention. Any person skilled in the art may make some changes to the shape, structure, features, methods and quantities described in the claims of the present invention without departing from the spirit and scope of the present invention. Therefore, the scope of patent protection of the present invention shall be determined by the scope of the claims appended to this specification.

Claims

1. A method for reading multiple SIM cards, characterized in that, The multi-SIM card reading method includes the following steps: Obtain the interface information of a data transfer module; The first interface name of the data terminal module is set to the second interface name associated with LTE; Obtain the slot status of the modem module, which is associated with multiple SIM cards; Based on the slot status of the modem module, obtain the parameters corresponding to a first SIM card slot; Obtain the readiness information of the first SIM card; Switch the parameters corresponding to the first SIM card slot to the parameters corresponding to the second SIM card slot; Confirm that the switch was successful; and Obtain the readiness information of a second SIM card; One of the processors is configured to automatically perform the multi-SIM card reading method using the C# programming language; The command to obtain the interface information of a modem module is `netsh mbn show interface`; the command to set a first interface name of the modem module to a second interface name associated with LTE is `netsh interfaceset interface name = first interface name newname = second interface name`; the command to obtain the slot status of the modem module is `netsh mbn show slotstatus interface = second interface name`; the command to obtain the parameters corresponding to a first SIM card slot is `netsh mbn show slotmapping interface = second interface name`; the command to obtain the ready information of a first SIM card is `netsh mbn show readyinfo interface = second interface name`; the command to switch the parameters corresponding to the first SIM card slot to the parameters corresponding to the second SIM card slot is `netsh mbnset slotmapping interface = second interface name slotindex = (0 or 1)`; the command to confirm the successful switch is `netsh mbn show slotmapping interface = second interface name`; and the command to obtain the ready information of a second SIM card is `netsh mbn show readyinfo interface = second interface name`.

2. The multi-SIM card reading method according to claim 1, characterized in that, The readiness information for obtaining a first SIM card further includes obtaining the status of the first SIM card.

3. The multi-SIM card reading method according to claim 1, characterized in that, The readiness information for obtaining a second SIM card further includes obtaining the status of the second SIM card.

4. A multi-SIM card reader, characterized in that, The multi-SIM card reader includes: A first SIM card slot for inserting a first SIM card; A second SIM card slot for inserting a second SIM card; A modem module, coupled to the first SIM card slot and the second SIM card slot; and A processor, coupled to the modem module, is configured to automatically perform a first operation using the C# programming language to obtain the interface information of the modem module; set a first interface name of the modem module to a second interface name associated with LTE; obtain the slot status of the modem module, which is associated with multiple SIM cards; based on the slot status of the modem module, obtain parameters corresponding to a first SIM card slot; obtain the readiness information of the first SIM card; switch the parameters corresponding to the first SIM card slot to the parameters corresponding to a second SIM card slot; confirm the successful switch; and obtain the readiness information of the second SIM card. The command to obtain the interface information of the modem module is `netsh mbn show interface`; the command to set a first interface name of the modem module to a second interface name associated with LTE is `netsh interface set interface name = first interface name newname = second interface name`; the command to obtain the slot status of the modem module is `netsh mbn show slotstatus interface = second interface name`; the command to obtain the parameters corresponding to a first SIM card slot is `netsh mbn show slotmapping interface = second interface name`; the command to obtain the ready information of a first SIM card is `netsh mbn show readyinfo interface = second interface name`; the command to switch the parameters corresponding to the first SIM card slot to the parameters corresponding to the second SIM card slot is `netsh mbn set slotmapping interface = second interface name slotindex = (0 or 1)`; the command to confirm the successful switch is `netsh mbn showslotmapping interface = second interface name`; and the command to obtain the ready information of a second SIM card is `netsh mbn show readyinfo interface = second interface name`.

5. The multi-SIM card reader according to claim 4, characterized in that, The readiness information for obtaining a first SIM card further includes obtaining the status of the first SIM card.

6. The multi-SIM card reader according to claim 4, characterized in that, The readiness information for obtaining a second SIM card further includes obtaining the status of the second SIM card.

7. A multi-SIM card reader, characterized in that, The multi-SIM card reader includes: A processor coupled to a networking device includes: a first SIM card slot for inserting a first SIM card; a second SIM card slot for inserting a second SIM card; and a modem module coupled to the first SIM card slot and the second SIM card slot. The processor is coupled to the modem module. The processor is configured to automatically perform the following first operations using the C# programming language: obtaining the interface information of the modem module; setting a first interface name of the modem module to a second interface name associated with LTE; obtaining the slot status of the modem module, which is associated with multiple SIM cards; obtaining parameters corresponding to a first SIM card slot based on the slot status of the modem module; obtaining the readiness information of the first SIM card; switching the parameters corresponding to the first SIM card slot to the parameters corresponding to a second SIM card slot; confirming the successful switching; and obtaining the readiness information of the second SIM card. The command to obtain the interface information of the modem module is `netsh mbn show interface`; the command to set a first interface name of the modem module to a second interface name associated with LTE is `netsh interface set interface name = first interface name newname = second interface name`; the command to obtain the slot status of the modem module is `netsh mbn show slotstatus interface = second interface name`; the command to obtain the parameters corresponding to a first SIM card slot is `netsh mbn show slotmapping interface = second interface name`; the command to obtain the ready information of a first SIM card is `netsh mbn show readyinfo interface = second interface name`; the command to switch the parameters corresponding to the first SIM card slot to the parameters corresponding to the second SIM card slot is `netsh mbn set slotmapping interface = second interface name slotindex = (0 or 1)`; the command to confirm the successful switching is `netsh mbn show slotmapping interface = second interface name`; and the command to obtain the ready information of a second SIM card is `netsh mbn show readyinfo interface = second interface name`.

8. The multi-SIM card reader according to claim 7, characterized in that, The readiness information for obtaining a first SIM card further includes obtaining the status of the first SIM card.

9. The multi-SIM card reader according to claim 7, characterized in that, The readiness information for obtaining a second SIM card further includes obtaining the status of the second SIM card.

Citation Information

Patent Citations

  • Mobile terminal SIM card compatibility test method and system

    CN107548053A