SIM, communication device, switching method, and program
A single SIM with integrated data storage and control units allows autonomous carrier network switching, addressing the limitations of conventional technologies by enabling efficient and secure network transitions without multiple SIMs.
Patent Information
- Application Number
- JP2023049779
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-27
- Publication Date
- 2024-10-09
- Estimated Expiration
- 2043-03-27
AI Technical Summary
Conventional technologies require multiple SIMs to automatically switch between carrier networks, limiting the flexibility and efficiency of network switching in communication devices.
A single SIM equipped with a data storage unit, switching control unit, and key management unit that monitors network connections and autonomously switches between carrier networks by rewriting connection information and managing key information, allowing seamless network transitions.
Enables automatic carrier network switching using a single SIM, enhancing flexibility and reducing the need for multiple SIMs, while minimizing security risks and facilitating efficient network management.
Smart Images

Figure 2024139013000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a SIM (Subscriber Identity Module) mounted on a communication device. [Background technology]
[0002] In order for communication devices such as mobile terminals and IoT terminals to use the lines of a carrier (which may also be called a mobile network operator), the communication devices are equipped with a SIM card.
[0003] For example, Patent Document 1 discloses a technique for automatically switching between multiple mobile carriers on one connected terminal by installing multiple SIMs. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Patent No. 6272268 Summary of the Invention [Problem to be solved by the invention]
[0005] However, in the conventional technologies such as Patent Document 1, it is not possible to automatically switch to another carrier network unless multiple SIMs are used.
[0006] The present invention has been made in consideration of the above-mentioned points, and has an object to provide a technology that enables automatic switching of carrier networks by using a single SIM card. [Means for solving the problem]
[0007] According to the disclosed technology, there is provided a SIM that can be installed in a communication device having a communication unit, a data storage unit for storing connection information used for connecting the communication unit to a carrier network; a switching control unit that monitors a state of connection by the communication unit to a carrier network and switches the carrier network based on the state; A SIM comprising: Effect of the Invention
[0008] According to the disclosed technology, it is possible to automatically switch carrier networks even when using a single SIM card. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a diagram illustrating an example of the overall configuration of a communication system. [Diagram 2] FIG. 2 is a diagram illustrating an example of a hardware configuration of a SIM. [Diagram 3] FIG. 2 is a diagram illustrating an example of a functional configuration of a SIM. [Figure 4] FIG. 2 is a state transition diagram for explaining the operation of the communication device. [Diagram 5] FIG. 2 illustrates an example of a hardware configuration of a communication device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, an embodiment of the present invention (the present embodiment) will be described with reference to the drawings. The embodiment described below is merely an example, and the embodiment to which the present invention is applied is not limited to the following embodiment. The "number of times" and "time" described below are both examples, and both can be set to any value.
[0011] (System configuration example) Fig. 1 is a diagram showing an example of the overall configuration of a communication system according to the present embodiment. As shown in Fig. 1, the communication system includes a communication device 200 and a plurality of carrier networks. In Fig. 1, a carrier A network, a carrier B network, and a carrier C network are shown as examples of the plurality of carrier networks. The communication device 200 connects to any one of the plurality of carrier networks to perform communication.
[0012] In this embodiment, each carrier network is assumed to be a mobile network (e.g., 5G network, LTE network) of a carrier (operator) that provides a mobile communication service, but is not limited thereto. Carrier networks to which the communication device 200 can connect (switch) using the SIM 100 may include fixed networks, wireless LAN networks, and self-operated mobile networks.
[0013] The communication device 200 includes a SIM 100 and a communication unit 210. The SIM 100 in this embodiment is a card-type SIM that is generally distributed and sold, but is not limited to this. The SIM 100 may be a chip-type SIM that is fixed inside the communication device 200.
[0014] The communication unit 210 is capable of performing communication operations according to commands from a program (called an applet) that runs on the SIM 100.
[0015] The communication device 200 may be any device that can accommodate the SIM 100. For example, the communication device 200 may be an IoT device, a smartphone, a tablet, a PC, a server, a CPE, a machine tool, an automobile, a drone, etc. The SIM in the present embodiment may be called an eSIM or an eUICC.
[0016] (Example of hardware configuration for SIM100) Fig. 2 shows an example of a basic hardware configuration of the SIM 100. As shown in Fig. 2, the SIM 100 has a CPU 1, a memory 2, and an interface 3. The CPU 1 executes a program stored in the memory 2, thereby executing processing of the SIM 100. By executing the program, the SIM 100 notifies the communication unit 210 of an execution command for TCP or UDP packet transmission from the interface 3 at a predetermined timing, for example, to cause the communication unit 210 to execute an operation for transmitting a TCP or UDP packet. Note that the execution command is not limited to transmitting a TCP or UDP packet.
[0017] The state of the communication unit 210 is notified to the inside of the SIM 100 through the interface 3, and the SIM 100 executes a process according to the state in accordance with the program being executed. In this embodiment, the program executed on the SIM 100 may be called an applet.
[0018] The program (applet) in the SIM 100 can be stored in the SIM 100 from outside the SIM 100 via a network, or the program (applet) recorded on a portable recording medium (memory, CD-ROM, etc.) can be stored in the SIM 100.
[0019] (Example of SIM100 functional configuration) Fig. 3 shows an example of the functional configuration of SIM 100. As shown in Fig. 3, SIM 100 includes a data storage unit 110 and an applet unit 120. Data storage unit 110 stores information required for communication unit 210 to connect to a carrier network. This information is referred to as "connection information" here. Connection information differs for each carrier network. Specifically, data storage unit 110 is a file that constitutes a file system on SIM 100.
[0020] The communication unit 210 can connect to a carrier network by reading connection information for connecting to the carrier network from the data storage unit 110.
[0021] The connection information includes, for example, an International Mobile Subscriber Identity (IMSI), a Public Land Mobile Network (PLMN) list, and Ki / OPc. Ki / OPc is authentication information for connecting to the corresponding carrier network. Ki / OPc may also be called key information.
[0022] The applet unit 120 includes a switching control unit 121 and a key management unit 122. Both the switching control unit 121 and the key management unit 122 are functional units realized by a program (applet) on the SIM 100. It is also possible to realize the switching control unit 121 and the key management unit 122 as one applet. In that case, for example, the key management unit 122 is included in the switching control unit 121.
[0023] However, by dividing the switching control unit 121 and the key management unit 122 into two applets, a special effect can be obtained, which will be described later.
[0024] The switching control unit 121 controls switching of the carrier network to which the communication unit 210 is connected. The switching control unit 121 also manages (holds) connection information other than key information for each carrier network to which the communication unit 210 may be connected. The key management unit 122 manages (holds, updates, etc.) key information for each carrier network to which the communication unit 210 may be connected.
[0025] When deciding to switch the carrier network, the switching control unit 121 rewrites the connection information stored in the data storage unit 110 to the connection information to be switched. The connection information other than the key information (IMSI, etc.) is rewritten using the connection information held by the switching control unit 121, and the key information is rewritten by the switching control unit 121, which acquires the key information from the key management unit 122. Alternatively, the switching control unit 121 instructs the key management unit 122 to rewrite the key information in the data storage unit 110, and the key management unit 122 executes the rewriting according to the instruction.
[0026] The advantages of separating the switching control unit 121 and the key management unit 122 (the advantages of using two applets) are as follows (1) and (2).
[0027] (1) By separating the switching control unit 121 and the key management unit 122, it becomes possible to freely upgrade the switching control unit 121 side (for example, by replacing a program via OTA or the like).
[0028] As a more detailed example, the key management unit 122 holds a key called ADM2, which is discarded after the SIM is manufactured. This means that the key management unit 122 cannot be updated.
[0029] If the switching control unit 121 and the key management unit 122 are separated, the switching control unit 121 can take charge of operations other than those of the key management unit 122, and the switching control unit 121 can be equipped with rich functions and can update those functions.
[0030] (2) By keeping the key management unit 122 as compact as possible, it is possible to minimize security risks.
[0031] (Example of Operation of Communication Device 200) Next, an example of the operation of the communication device 200 based on the control of the SIM 100 will be described with reference to the state transition diagram in Fig. 4. As an example, it is assumed that there are two connection candidates for the communication device 200: a carrier A network and a carrier B network.
[0032] In this embodiment, basically, if there is no problem with the connection to the carrier A network, the communication unit 210 of the communication device 200 continues the connection to the carrier A network, and if a problem occurs with the connection to the carrier A network, it connects to the carrier B network. If the connection to the carrier A network is restored after connecting to the carrier B network, the communication unit 210 connects to the carrier A network. An example of the operation will be described in detail below according to the procedure shown in FIG. 4.
[0033] The operation procedure shown in Fig. 4 basically corresponds to the processing procedure of the switching control unit 121 in the SIM 100. Moreover, each state in Fig. 4 indicates a state that the switching control unit 121 is aware of at that time.
[0034] More specifically, the switching control unit 121 constantly monitors (grasps) the current state, and in accordance with a predetermined condition corresponding to the state, rewrites the connection information stored in the data storage unit 110 to different connection information or transmits a command to the communication unit 210. In this way, the operation of the communication unit 210 is realized.
[0035] <Carrier A network connection status> In an initial state, such as when communication device 200 is started up (including SIM100 start-up) or when SIM100 is inserted (started up), communication unit 210 connects to carrier A network. That is, in the initial state, connection information for carrier A network is stored in data storage unit 110 of SIM100, and communication unit 210 connects to carrier A network using the connection information. Note that all timers / counters are reset when SIM100 is started up. However, it is also possible to set the operation so that when SIM100 is started up, the connection information before start-up is used and the timers / counters are not reset (values before start-up are used).
[0036] In S101, when the communication unit 210 is connected to the carrier A network, the switching control unit 121 causes the communication unit 210 to perform a heartbeat to monitor whether the connection with the carrier A network is normal.
[0037] Regarding the specific method of the heartbeat, any method may be used as long as it can confirm the normality of the connection with the carrier A network, but in this embodiment, TCP or UDP packets are sent to a predetermined destination at a predetermined time interval, and the response is monitored to confirm the reachability to the destination. Here, two destinations (destination 1 and destination 2) are used. Hereinafter, the packet transmission for reachability confirmation is TCP or UDP packet transmission, but is not limited to this. Packet transmission using a protocol other than TCP and UDP may also be performed.
[0038] More specifically, the switching control unit 121 transmits a packet only to destination 1, and when reachability to destination 1 cannot be confirmed, transmits the packet to destination 2.
[0039] Regarding the operation of transmitting a TCP or UDP packet, for example, the switching control unit 121 instructs the communication unit 210 to transmit a packet after receiving a notification from the communication unit 210 indicating that the communication unit 210 is connected to the carrier A network. If the connection cannot be confirmed (if the radio waves cannot be picked up, etc.), the switching control unit 121 waits until the connection is established. If the connection cannot be detected even after waiting a certain period of time (for example, one minute), the switching control unit 121 may instruct the communication unit 210 to connect to another carrier network.
[0040] Upon receiving a TCP or UDP packet transmission instruction, the communication unit 210 executes packet transmission and notifies the switching control unit 121 of information indicating whether the packet transmission was successful or unsuccessful (whether reachability confirmation was successful or unsuccessful). From this information, the switching control unit 121 can grasp whether reachability confirmation to the destination was successful or unsuccessful.
[0041] The packet transmission time interval (=the time interval at which the switching control unit 121 instructs the communication unit 210 to execute packet transmission) is, for example, one minute for each of the two destinations. The time interval is measured, for example, by a timer.
[0042] Also, instead of measuring a predetermined time interval using a timer as described above, it is also possible to realize periodic packet transmission by using polling from the communication device 200 (here, the communication unit 210) to the SIM 100. This polling is generally performed in a device in which a SIM is inserted.
[0043] The time interval for the above polling is, for example, 15 seconds. In this case, the switching control unit 121 in the SIM 100 instructs the communication unit 210 to execute packet transmission every time it detects that it has received polling from the communication unit 210 four times (waited four times). This allows the reachability check to be performed at one-minute intervals.
[0044] Note that the above "1 minute" and "4 polling waits" are just examples, and the packet transmission execution interval is not limited to "1 minute" and "4 polling waits".
[0045] <Carrier B network switching decision status> For example, when the switching control unit 121 detects that packet transmission to both of the two destinations has failed (reachability confirmation has failed), the switching control unit 121 transitions to a carrier B network switching determination state (S102).
[0046] In the carrier B network switching determination state, the switching control unit 121 causes the communication unit 210 to transmit packets at a time interval shorter than the packet transmission time interval in the carrier A network connection state. The destinations of the packets are the same two destinations as in the case of packet transmission in the carrier A network connection state.
[0047] The time interval for transmitting packets to each of the two destinations is, for example, 10 seconds. When polling is used, for example, the switching control unit 121 instructs the communication unit 210 to transmit a packet every time polling is received.
[0048] In addition, in the carrier B network switching determination state, the number of times of packet transmission to each of the two destinations is limited. For example, the number of times is two. The determination here has the following two cases A and B.
[0049] (A) When the switching control unit 121 detects that either of the two packet transmissions to destination 1 and the two packet transmissions to destination 2 has been successful, in S103, the switching control unit 121 stops the switching and returns to the carrier A network connection state. In the carrier A network connection state, the heartbeat operation described above is performed.
[0050] (B) When the switching control unit 121 detects that packet transmission to destination 1 has failed two consecutive times and that packet transmission to destination 2 has also failed two consecutive times, in S104, the switching control unit 121 executes a transition to a carrier B network connection state.
[0051] In transitioning to the carrier B network connection state, the switching control unit 121 first instructs the communication unit 210 to disconnect from the carrier A network. As a result, the communication unit 210 disconnects from the carrier A network.
[0052] Next, the switching control unit 121 rewrites the connection information for the carrier A network in the data storage unit 110 to connection information for the carrier B network, and instructs the communication unit 210 to connect to the carrier B network. As a result, the communication unit 210 connects to the carrier B network. When the communication unit 210 connects to the carrier B network, the current state becomes a carrier B network connected state. More specifically, an attach operation is performed in the connection. A retry operation in the case where the attach fails will be described later.
[0053] <Carrier B network connection status> In S105 in the carrier B network connected state, the switching control unit 121 performs the heartbeat operation in the same manner as S101 in the carrier A network connected state. The two destinations of the packet transmission at this time may be the same as the two destinations in the carrier A network connected state, or may be different. As in S102 in the carrier A network connected state, if packet transmission to both destinations fails during the heartbeat operation, a connection to the carrier A network is made.
[0054] Furthermore, even if the connection to the carrier B network is normal after connection to the carrier B network, if a certain period of time has elapsed, the switching control unit 121 attempts to switch back to the carrier A network in S106. The "certain period of time" is, for example, one hour. When polling is used, for example, the attempt to switch back is made after receiving polling 240 times after connection to the carrier B network.
[0055] In the switchback trial, the switching control unit 121 first instructs the communication unit 210 to disconnect from the carrier B network. As a result, the communication unit 210 disconnects from the carrier B network.
[0056] Next, the switching control unit 121 rewrites the connection information for the carrier B network in the data storage unit 110 to the connection information for the carrier A network, and instructs the communication unit 210 to connect to the carrier A network. As a result, the communication unit 210 connects to the carrier A network. As a result, the current state becomes a carrier A network switchback determination state.
[0057] <Carrier A network switchback judgment status> In the carrier A network switch-back determination state, the switching control unit 121 causes the communication unit 210 to transmit a packet to destination 1, and if the packet transmission is successful, transitions to a carrier A network connection state (S107). If the packet transmission to destination 1 fails, the switching control unit 121 causes the communication unit 210 to transmit a packet to destination 2, and if the packet transmission is successful, transitions to a carrier A network connection state (S107).
[0058] When switching control unit 121 detects that both packet transmission to destination 1 and packet transmission to destination 2 have failed, it stops the switchback. Specifically, switching control unit 121 rewrites the connection information for carrier A network in data storage unit 110 to connection information for carrier B network, and instructs communication unit 210 to connect to carrier B network. As a result, communication unit 210 connects to carrier B network. When communication unit 210 connects to carrier B network, the current state becomes carrier B network connected state.
[0059] After that, after a certain time (e.g., one hour), the switching control unit 121 again attempts to switch back to the carrier A network. Note that the certain time for starting the retry of switchback after the first attempt to switch back to the carrier A network fails may be shorter than the initial "certain time" (e.g., one hour).
[0060] Furthermore, the switchover from the carrier B network back to the carrier A network may be triggered by the switching control unit 121 receiving a switchover instruction from an external monitoring server.
[0061] <Avoiding simultaneous attachments> As described above, when a packet transmission fails, switching from carrier A network to carrier B network, or switching from carrier B network to carrier A network, is performed.
[0062] In this embodiment, it is assumed that there are a plurality of communication devices 200 (for example, a large number of IoT devices) equipped with SIM 100. If a plurality of communication devices 200 simultaneously attach (transmit connection request signals) to a carrier network, the carrier network may become congested, making connection difficult. Furthermore, when an error is detected during attachment, each communication device 200 retries attachment, but if the retry is performed simultaneously at the same timing to the carrier network, there is a possibility that the inability to connect may continue.
[0063] Therefore, in this embodiment, when an error is detected during attachment, the switching control unit 121 randomizes the timing of the retry. An example of the operation in this case will be described below. Here, the case of switching from the carrier A network to the carrier B network will be described, but the same applies to the case of switching from the carrier B network to the carrier A network.
[0064] When the switching control unit 121 decides to switch from the carrier A network to the carrier B network, it disconnects the connection with the carrier A network and rewrites the connection information in the data storage unit 110 to connection information for the carrier B network. Next, the switching control unit 121 instructs the communication unit 210 to attach to the carrier B network. Here, it is assumed that the attachment fails, and the switching control unit 121 receives an error notification from the communication unit 210 indicating that the attachment has failed.
[0065] After receiving the error notification, the switching control unit 121 waits a predetermined time (here, 60 seconds) plus n seconds, and when it detects that 60+n seconds have elapsed, it attempts to attach to the carrier B network again. If the attachment fails here as well, it waits 60+n seconds and attempts to attach to the carrier B network again.
[0066] The above n is, for example, a random value between 0 and 60 seconds. In other words, a randomly selected value of n is used each time a retry is performed.
[0067] In addition, when using the polling method described above, after an attachment fails, a retry is performed after waiting for m polls. m is a random value. For example, m is a value between 4 and 8.
[0068] In the above example of switching from carrier A network to carrier B network, if retrying to attach to carrier B network fails R times, connection to carrier A network may be performed. R can be set arbitrarily. For example, R may be 1 or a value of 2 or more. The same applies to switching from carrier B network to carrier A network.
[0069] (Example of hardware configuration of communication device) The communication device 200 described in this embodiment can be realized, for example, by causing a computer to execute a program.
[0070] That is, communication device 200 can be realized by executing a program corresponding to the processing performed by communication device 200 using hardware resources such as a CPU and memory built into a computer. The program can be recorded on a computer-readable recording medium (such as a portable memory) and stored or distributed. The program can also be provided via a network such as the Internet or email.
[0071] Fig. 5 is a diagram showing an example of the hardware configuration of the computer. The computer in Fig. 5 has a drive device 1000, an auxiliary storage device 1002, a memory device 1003, a CPU 1004, an interface device 1005, a display device 1006, an input device 1007, an output device 1008, etc., which are all connected to each other via a bus BS. Fig. 5 also shows an example in which a SIM 100 is inserted.
[0072] The program for realizing the processing on the computer is provided by a recording medium 1001 such as a CD-ROM or a memory card. When the recording medium 1001 storing the program is set in the drive device 1000, the program is installed from the recording medium 1001 to the auxiliary storage device 1002 via the drive device 1000. However, the program does not necessarily have to be installed from the recording medium 1001, but may be downloaded from another computer via a network. The auxiliary storage device 1002 stores the installed program as well as necessary files, data, etc.
[0073] The memory device 1003 reads out and stores the program from the auxiliary storage device 1002 when an instruction to start the program is received. The CPU 1004 realizes functions related to the communication device 200 in accordance with the program stored in the memory device 1003. The interface device 1005 is used as an interface (communication function) for connecting to a network or the like. The display device 1006 displays a GUI (Graphical User Interface) or the like according to a program. The input device 1007 is composed of a keyboard and mouse, buttons, a touch panel, or the like, and is used to input various operation instructions. The output device 1008 outputs the results of calculations.
[0074] (Effects of the embodiment) As described above, the technique according to the present embodiment enables the communication device 200 to automatically switch carrier networks by using the SIM 100.
[0075] The following supplementary notes are further disclosed regarding the above embodiment.
[0076] <Additional Notes> (Additional note 1) A SIM that can be installed in a communication device having a communication unit, a data storage unit for storing connection information used for connecting the communication unit to a carrier network; a switching control unit that monitors a state of connection by the communication unit to a carrier network and switches the carrier network based on the state; A SIM equipped with. (Additional note 2) When switching from the first carrier network to the second carrier network is performed, the switching control unit rewrites the connection information for the first carrier network in the data storage unit to connection information for the second carrier network. The SIM described in appendix 1. (Additional note 3) The SIM includes a key management unit that manages key information used as part of the connection information, separately from the switching control unit. 3. The SIM according to claim 1 or 2. (Additional note 4) When switching from the first carrier network to the second carrier network, the switching control unit detects a failure in attaching to the second carrier network and then retries the attachment when a randomly determined time has elapsed. 4. The SIM according to any one of claims 1 to 3. (Additional note 5) The communication device comprising the SIM according to any one of claims 1 to 4. (Additional note 6) A switching method performed by a SIM that can be installed in a communication device having a communication unit, When the communication unit is connected to a carrier network using the connection information stored in the data storage unit of the SIM, the communication unit monitors a state of connection to the carrier network and switches the carrier network based on the state. Switching method. (Additional note 7) A non-transitory storage medium storing a program for causing a SIM to execute the processing of the switching control unit described in any one of appendixes 1 to 4.
[0077] Although the present embodiment has been described above, the present invention is not limited to such a specific embodiment, and various modifications and variations are possible within the scope of the gist of the present invention described in the claims. [Explanation of symbols]
[0078] 1 CPU 2. Memory 3. Interface 100 SIM 110 Data storage unit 120 Applet section 121 Switching control section 122 Key Management Department 200 Communication equipment 210 Communications Department 1000 Drive Device 1001 Recording media 1002 Auxiliary storage 1003 Memory device 1004 CPU 1005 Interface device 1006 Display device 1007 Input Device 1008 Output device
Claims
1. A SIM that can be installed in a communication device having a communication unit, a data storage unit for storing connection information used for connecting the communication unit to a carrier network; a switching control unit that monitors a state of connection by the communication unit to a carrier network and switches the carrier network based on the state; A SIM equipped with
2. When switching from the first carrier network to the second carrier network is performed, the switching control unit rewrites the connection information for the first carrier network in the data storage unit to connection information for the second carrier network.
2. The SIM of claim 1.
3. The SIM includes a key management unit that manages key information used as part of the connection information, separately from the switching control unit.
2. The SIM of claim 1.
4. When switching from the first carrier network to the second carrier network is performed, the switching control unit detects a failure in attaching to the second carrier network and then retries the attachment when a randomly determined time has elapsed.
2. The SIM of claim 1.
5. The communication device comprising a SIM according to any one of claims 1 to 4.
6. A switching method performed by a SIM that can be installed in a communication device having a communication unit, comprising: When the communication unit is connected to a carrier network using the connection information stored in the data storage unit in the SIM, the communication unit monitors a state of connection to the carrier network and switches the carrier network based on the state. Switching method.
7. A program for causing a SIM to execute the process of the switching control unit according to any one of claims 1 to 4.
Citation Information
Patent Citations
Method and apparatus for reading radiograph information
JP1987072268A
