Terminal device, communication method, and recording medium

By mounting two storage media and processors in the terminal device, the appropriate SIM card is automatically selected for data communication, which solves the communication errors and network security risks caused by mismatch in the prior art, and achieves safe and reliable data communication.

CN112995983BActive Publication Date: 2024-11-26CASIO COMPUTER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011456480.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-04-13
Filing Date
2020-12-11
Publication Date
2024-11-26
Estimated Expiration
2040-12-11

AI Technical Summary

Technical Problem

In the prior art, it is difficult for terminal devices to switch SIM cards in a timely manner according to their purpose, resulting in mismatch in communication paths, which may lead to communication errors or network security risks.

Method used

A terminal device is designed to carry two storage media to record the setting information of the communication path, and the processor automatically selects the appropriate SIM card for data communication when certain conditions are met, ensuring that the application matches the pre-registered connection target.

Benefits of technology

Automatic SIM card switching based on application and connection target is achieved, avoiding communication errors and network security risks, and ensuring the security and appropriateness of data communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112995983B_ABST
    Figure CN112995983B_ABST
Patent Text Reader

Abstract

Provided are a terminal device, a communication method, and a recording medium. The terminal device comprises: a carrying unit capable of carrying two storage media each recording setting information related to a communication path for data communication; a communication unit for performing data communication using a communication path according to the setting information of one of the two storage media; and a processor for performing the following processing: a first selection processing for selecting a first storage medium recording the first setting information from the two storage media when the condition that the application being executed is a pre-registered specific application and the connection target of the data communication started by the application being executed is a pre-registered specific connection target is satisfied; and a second selection processing for selecting a second storage medium recording the second setting information from the two storage media when the condition is not satisfied.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a terminal device, a communication method and a recording medium. Background Art

[0002] Conventionally, a terminal device for data communication has a SIM (Subscriber Identity Module) card (information recording medium) that records setting information corresponding to the content of the user's communication contract installed, and a technology for data communication is used through a communication path according to the setting information of the SIM card. According to this technology, for example, by installing a SIM card that records setting information that allows data communication using a specified closed network, highly secure data communication using the closed network can be performed. In addition, SIM cards and eSIMs are collectively referred to as SIMs, which will be described in detail later.

[0003] In recent years, a technology (dual SIM technology) has been adopted in which two SIM cards are installed in a terminal device and the communication path of the SIM card, that is, data communication, is switched according to the situation. For example, in a terminal device for business use, by installing a first SIM card that can be connected to a closed network for business use and a second SIM card that can be connected to a general network such as the Internet that does not include the closed network, it is possible to use the first SIM card for business use for highly secure data communication and the second SIM card for other general use to use a variety of services.

[0004] In such a terminal device, the user needs to switch the SIM card according to the purpose of the terminal device. The switching of the SIM card is performed, for example, in response to the user's input operation on a predetermined setting screen of the terminal device. In addition, Japanese Patent Publication No. 2014-150407 discloses a technology that enables the user to easily switch the SIM card by providing a mechanism for switching the SIM card used according to the posture or orientation of the terminal device.

[0005] However, it is not easy for the user to switch the SIM card (i.e., the setting of the communication path for data communication) at the right time every time, and a SIM card that is not suitable for the purpose of the terminal device at that time may be selected. For example, if the second SIM card is selected when executing a business application, the application may not be able to connect to the closed network for business, resulting in a communication error. In addition, if the first SIM card is selected when executing a general application, the general application may access the closed network for business, which may pose a risk to network security.

[0006] As described above, according to the above-mentioned conventional technology, there is a problem that it is not easy to appropriately switch the setting of the communication path according to the purpose of the terminal device. Summary of the invention

[0007] In order to solve the above-mentioned problems, a terminal device is provided, comprising: a carrying unit capable of carrying two storage media each recording setting information related to a communication path for data communication; a communication unit for performing data communication using a communication path according to the setting information of one of the two storage media; and a processor for performing the following processing: a first selection processing for selecting a first storage medium recording the first setting information from among the two storage media when the condition that an application being executed is a pre-registered specific application and a connection target for data communication started by the application being executed is a pre-registered specific connection target is satisfied; and a second selection processing for selecting a second storage medium recording the second setting information from among the two storage media when the condition is not satisfied. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1 It is a schematic diagram showing a terminal device and a business system.

[0009] Figure 2 This is a block diagram showing the main functional structure of the terminal device.

[0010] Figure 3 This is a block diagram showing the configuration of software of a terminal device.

[0011] Figure 4 This is a diagram showing the control sequence of the application monitoring process.

[0012] Figure 5 This is a diagram showing the control sequence of the communication monitoring process.

[0013] Figure 6 This is a flowchart showing the application installation process according to Modification Example 1.

[0014] Figure 7 This is a block diagram showing the structure of a terminal device according to Modification Example 2.

[0015] Figure 8 This is a block diagram showing other structures of the terminal device of variant example 2.

[0016] Fig. 9 This is a block diagram showing the structure of a terminal device according to Modification Example 3. DETAILED DESCRIPTION

[0017] Hereinafter, embodiments of a terminal device, a communication method, and a recording medium according to the present invention will be described with reference to the accompanying drawings.

[0018] Figure 1 It is a schematic diagram showing the terminal device 1 and the business system 100 .

[0019] The business system 100 includes a terminal device 1 and a business server S1 connected to the terminal device 1 via a closed network N1.

[0020] The terminal device 1 is a handheld terminal used for merchandise management in stores, warehouses, etc. The terminal device 1 reads the barcode assigned to the merchandise, etc., in response to the operation of the operator (hereinafter referred to as the "terminal user"), and transmits the data related to the reading result to the business server S1 via the communication path (hereinafter referred to as the "closed communication path R1") using the closed network N1. Figure 1 In the figure, the intranet (private network such as a company network or a business network) to which the business server S1 is connected is omitted, and the terminal device 1 and the business server S1 perform data communication via the closed network N1 and the intranet.

[0021] The service server S1 accumulates and manages the data received from the terminal device 1 .

[0022] The closed network N1 is a closed communication network that is not directly connected to the general-purpose network N2 and connects limited locations. Here, the general-purpose network N2 does not include the closed network N1, and is an open communication network whose users are not limited, such as the Internet.

[0023] The closed network N1 can be logically separated from the general network N2 in the gateway and can include a VPN (Virtual Private Network). Figure 1 , the closed network N1 and the general network N2 are depicted separately, but the closed network N1 may be a network that logically separates a portion of the general network N2. In addition, for the closed network N1, the communication path to the business server S1 (specifically, the intranet to which the business server S1 is connected) may be physically separated from the general network N2. By using the closed network N1, the risk of network security caused by interference from the general network N2 is reduced, and secure data communication can be performed.

[0024] Furthermore, the terminal device 1 can also perform data communication using the communication path (hereinafter referred to as "general communication path R2") of the general network N2 by switching the communication setting. Thus, the terminal device 1 can use various services by performing data communication with communication equipment such as the general server S2 via the general communication path R2.

[0025] The method of switching the communication path used by the terminal device 1 between the closed communication path R1 and the universal communication path R2 will be described in detail later.

[0026] In addition, the business system 100 is not limited to the above-mentioned business system for managing goods, and can be set as any system that performs data communication between the terminal device 1 and the communication device such as the business server S1 via the closed communication path R1. As such a system, for example, a system for managing gas measurement results of each household, a system for managing personnel information of employees, etc. can be cited.

[0027] The terminal device 1 is not limited to the handheld terminal described above, and may be any information terminal held and used by a terminal user, such as a smartphone, a tablet terminal, or a notebook computer.

[0028] Figure 2 It is a block diagram showing the main functional structure of the terminal device 1.

[0029] The terminal device 1 includes a CPU 10 (Central Processing Unit) having a built-in RAM 11 (Random Access Memory) and a ROM 12 (Read Only Memory), a storage unit 20, a communication unit 30, a medium installation unit 40 (first mounting unit), a display unit 60, an operation unit 70, a barcode scanner 80, and a bus 90. The various units of the terminal device 1 are connected via the bus 90.

[0030] The CPU 10 is a processor that controls each part of the terminal device 1 by executing processing according to the program 2 stored in the storage unit 20. Here, the program 2 includes an OS 21 (Operating System), a communication monitoring control program 22, a business application 23 (application program), and a general application 24 (application program). The CPU 10 executes the program 2 and performs various processes including a selection unit (a first selection unit, a second selection unit), a communication control unit, and a registration unit. These various processes function as a selection process (a first selection process, a second selection process), a communication control process, and a registration process, respectively.

[0031] In the communication control process, the CPU 10 as the communication control means executes a designated application program among the business application 23 and the general application 24 , and performs data communication through the communication unit 30 according to the application program.

[0032] The RAM 11 provides a working storage space for the CPU 10 and stores temporary data. The RAM 11 may include a nonvolatile memory. In addition, the RAM 11 stores a business application flag 111. The business application flag 111 is 1-bit data indicating whether a foreground application described later is a business application 23.

[0033] The ROM 12 is a nonvolatile storage unit from which information can be read, and stores various setting data and the like.

[0034] The storage unit 20 includes a storage device such as a HDD (Hard Disk Drive) or a SSD (Solid State Drive) that can write and read data, and stores programs 2 including an OS 21, a communication monitoring control program 22, a business application 23, and a general application 24, as well as various setting data. Among them, the business application 23 can store more than two. In addition, the general application 24 can store more than two.

[0035] Furthermore, as setting data stored in the storage unit 20 , there are business application list data 25 (first list data) and connection destination list data 26 (second list data).

[0036] The details of these programs and setting data will be described later.

[0037] The communication unit 30 includes a first modem 31 and a second modem 32 .

[0038] The first modem 31 and the second modem 32 are communication modules each having an antenna, a modulation and demodulation circuit, a signal processing circuit, etc., and perform data communication corresponding to the communication standard of wireless communication.

[0039] The communication unit 30 performs wireless communication through one of the first modem 31 and the second modem 32 selected under the control of the CPU 10 as a selection unit in the selection process (the first selection process, the second selection process).

[0040] The medium mounting portion 40 (first mounting portion) includes a first slot 41 connected to the first modem 31 and a second slot 42 connected to the second modem 32 .

[0041] The first slot 41 and the second slot 42 are card slots for inserting a SIM card, respectively, and have terminals for electrically contacting electrodes of the SIM card.

[0042] A first SIM card 51 (first storage medium) is installed in the first slot 41 , so that the first modem 31 can read the setting information recorded in the first SIM card 51 (first storage medium) via the first slot 41 .

[0043] Furthermore, a second SIM card 52 (second storage medium) is installed in the second slot 42 , so that the second modem 32 can read the setting information recorded in the second SIM card 52 (second storage medium) via the second slot 42 .

[0044] The first SIM card 51 and the second SIM card 52 are IC cards storing setting information of the communication path of the data communication of the communication unit 30. The setting information includes an identification number for identifying the subscriber of the communication contract. The identification number is, for example, IMSI (International Mobile Subscriber Identity), which includes an identification number for identifying the country and the communication operator in addition to the subscriber identification number that can identify the subscriber. Based on the IMSI, the network that can be used in the communication contract of the subscriber can be determined, and the communication path of the data communication that can be used by the communication unit 30 can be determined.

[0045] In the present embodiment, the first SIM card 51 stores setting information for causing the communication unit 30 to perform data communication using the closed communication path R1 of the closed network N1.

[0046] Furthermore, the second SIM card 52 stores setting information for causing the communication unit 30 to perform data communication using the general communication path R2 of the general network N2.

[0047] Therefore, when the first modem 31 is selected under the control of the CPU 10, the communication unit 30 can perform data communication in the closed communication path R1 using the first modem 31 according to the setting information of the first SIM card 51. In addition, when the first modem 31 is selected, the communication unit 30 cannot perform data communication in the general communication path R2.

[0048] On the other hand, when the second modem 32 is selected under the control of the CPU 10, the communication unit 30 can perform data communication in the general communication path R2 using the second modem 32 according to the setting information of the second SIM card 52. In addition, when the second modem 32 is selected, the communication unit 30 cannot perform data communication in the closed communication path R1.

[0049] Therefore, the process of selecting one of the first modem 31 and the second modem 32 by the CPU 10 is equivalent to selecting one of the first SIM card 51 and the second SIM card 52. Therefore, hereinafter, selecting the first modem 31 is also referred to as "selecting the first SIM card 51", and selecting the second modem 32 is also referred to as "selecting the second SIM card 52".

[0050] The display unit 60 is composed of a liquid crystal display, an organic EL (Electro Luminescence) display, or the like, and displays the results and status of various processes.

[0051] The operation unit 70 includes a trigger key for executing barcode scanning, cursor keys, input keys for numbers, characters, etc., function keys, etc. The operation unit 70 converts the input operation of the terminal user to these keys into an operation signal and outputs it to the CPU 10. The operation unit 70 may be an operation unit that receives input operations from the terminal user through a touch panel superimposed on the screen of the display unit 60.

[0052] The barcode scanner 80 decodes a signal obtained by reading a barcode generated according to a predetermined rule, and outputs the decoded signal to the CPU 10. In addition, the CPU 10 may perform at least a part of the signal decoding process.

[0053] Figure 3 It is a block diagram showing the software configuration in the terminal device 1.

[0054] The CPU 10 is the main body for executing various processes according to the programs described below, but for convenience of description, it may be described as that the various processes are executed by the programs.

[0055] The OS 21 is basic software for operating the terminal device 1 .

[0056] The OS 21 controls and manages the operation of each hardware such as the first modem 31 and the second modem 32 through a device driver (not shown), and also manages the storage area in the RAM 11 and the processing executed by the CPU 10 .

[0057] Furthermore, the OS 21 provides a basic interface for the business application 23 and the general application 24 . That is, the business application 23 and the general application 24 operate on the OS 21 .

[0058] The business application 23 is a business-specific application program for processing information related to the user's business in the terminal device 1. For example, the business application 23 reads the barcode of the product through the barcode scanner 80 and sends the read barcode information to the business server S1. In addition, for example, when the business system 100 is used to manage gas measurement results and the terminal device 1 is a handheld terminal used for collecting gas measurement results, the business application 23 records the measurement results and sends the measurement results to the business server S1.

[0059] In this way, since the purpose of the business application 23 is limited to the purpose related to the business of the business system 100, the communication destination of the data communication performed during the execution of the business application 23 is limited to Figure 1 Thus, when data communication starts when the service application 23 is executed, the first modem 31 (and therefore the first SIM card 51) is selected, and the wireless communication of the closed communication path R1 is enabled.

[0060] The business application 23 is installed in advance in the terminal device 1 by the administrator of the business system 100 (hereinafter referred to as "management user") and stored in the storage unit 20 before the terminal user starts using the terminal device 1. Therefore, the business application 23 can be said to be an application program for which data communication of the wireless communication of the closed communication path R1 is permitted in advance.

[0061] The general application 24 is an application program other than the business application 23. For example, the general application 24 is downloaded and installed from the general server S2 using the general communication path R2, and is stored in the storage unit 20.

[0062] The general applications 24 include various applications with different purposes and functions, and may also include malicious applications (malware) created to cause the terminal device 1 to operate improperly. If such malware accesses the business server S1 via the closed communication path R1, it will pose a network security risk in the business system 100.

[0063] Therefore, in the terminal device 1, in order to prevent the general application 24 from accessing the business server S1 via the closed communication path R1, when data communication starts during the execution of the general application 24, the second modem 32 (and therefore, the second SIM card 52) is selected and set to a state of wireless communication in the general communication path R2.

[0064] The communication monitoring control program 22 monitors the data communication start request (TCP connection start request) of the application (business application 23 or general application 24) being executed, and selects one of the first SIM card 51 and the second SIM card 52 to perform data communication through an appropriate communication path corresponding to the application when starting data communication. Specifically, the selection result is notified to the OS 21, so that the CPU 10 selects the SIM card of the party indicated by the selection result. The communication monitoring control program 22 is a middleware that is not recognized by the terminal user, and it always operates and monitors the data communication start request regardless of the execution status of the business application 23 and the general application 24.

[0065] The communication monitoring control program 22 is notified from the OS 21 of the application being executed by the CPU 10. Thus, the communication monitoring control program 22 determines the foreground application at each time point. Here, the foreground application is the application being executed by the CPU 10 among the business application 23 and the general application 24, that is, the application being in action. The foreground application is usually displayed on the front of the display unit 60. The foreground application becomes an activated state that can be operated by the terminal user, and becomes a state in which data communication can be started in response to the operation, etc. In addition, applications other than the foreground application usually do not operate, but when the foreground application is switched, the background process of the applications other than the foreground application can be turned off.

[0066] When the foreground application is switched, the OS 21 notifies the communication monitoring control program 22 of the switching of the foreground application. Thus, the communication monitoring control program 22 can identify the foreground application at any time point.

[0067] When data communication is started, the connection destination of the data communication is notified from the OS 21 to the communication monitoring control program 22 .

[0068] When data communication is started according to the foreground application, the communication monitoring control program 22 selects an appropriate one of the first SIM card 51 and the second SIM card 52 according to the foreground application and the connection destination of the data communication.

[0069] In detail, the communication monitoring control program 22 selects the first SIM card 51 when the foreground application is a predetermined specific application among the business application 23 and the general application 24, and the connection target of the data communication started by the foreground application is one of one or more specific connection targets connected through the closed communication path R1, and selects the second SIM card 52 when the first SIM card 51 is not selected.

[0070] Here, the communication monitoring control program 22 determines whether the foreground application is a specific application program based on the business application list data 25 .

[0071] In the business application list data 25, the above-mentioned specific applications are listed and registered. The specific application is an application that the management user has allowed in advance to communicate data with the server S1 via the closed communication path R1. The specific application of this embodiment is limited to the business application 23 pre-installed by the management user, and does not include the general application 24. That is, the business application list data 25 lists the business application 23 as a specific application. The specific application can be one or more than two.

[0072] Furthermore, the communication monitoring control program 22 determines, based on the connection destination list data 26 , whether the connection destination of the data communication started in accordance with the foreground application is the above-mentioned specific connection destination.

[0073] The connection destination list data 26 lists the connection destinations for which the management user has permitted access to the business application 23 in advance. The format of the specific connection destinations indicated by the connection destination list data 26 is not particularly limited, and may be, for example, a URL or an IP address.

[0074] Thus, in the terminal device 1 of the first embodiment, the selection (switching) of the SIM card is performed by the CPU 10 as the selection unit in accordance with the communication monitoring control program 22 in the selection process (the first selection process, the second selection process). In addition, the terminal user cannot switch the SIM card. That is, the terminal device 1 does not have a unit for accepting an input operation from the terminal user for switching the SIM card. Thus, it is possible to prevent the occurrence of an undesirable situation in which the general application 24 accesses the closed network N1 or the service application 23 is cut off from accessing the closed network N1 due to an operation error of the terminal user.

[0075] Next, description will be given of the application monitoring process and the communication monitoring process executed according to the communication monitoring control program 22. The application monitoring process and the communication monitoring process are executed while the terminal device 1 is operating.

[0076] Figure 4 1 is a diagram showing a control procedure of the CPU 10 for application monitoring processing.

[0077] When the application monitoring process starts, the CPU 10 determines whether the foreground application has been changed (step S101 ). If it is determined that the foreground application has not been changed (“No” in step S101 ), the CPU 10 executes the process of step S101 again.

[0078] When determining that the foreground application has been changed (YES in step S101 ), CPU 10 determines whether the changed foreground application is a business application 23 , that is, whether the changed foreground application is any of the business applications 23 listed in the business application list data 25 (step S102 ).

[0079] In addition, in the processing of step S101, when any application is executed from a state where the application is not executed, such as when the terminal device 1 is started and the application is executed for the first time, CPU 10 determines "yes" in step S101 and executes the processing of step S102 in the same way as when the foreground application is changed.

[0080] When it is determined that the foreground application after the change is the business application 23 ("Yes" in step S102), the CPU 10 updates the business application flag 111 to "1" (step S103). In addition, when it is determined that the foreground application after the change is not the business application 23, that is, it is the general application 24 ("No" in step S102), the CPU 10 updates the business application flag 111 to "0" (step S104).

[0081] When the processing of step S103 or step S104 is completed, CPU10 determines whether an instruction to end the switching monitoring of the foreground application has been issued (step S105). Here, when an instruction to cut off the power of terminal device 1 or an instruction to transfer terminal device 1 to sleep mode is issued, CPU10 determines that an instruction to end the switching monitoring has been issued. When it is determined that an instruction to end the switching monitoring has not been issued ("No" in step S105), CPU10 returns the processing to step S101.

[0082] When determining that an instruction to end the switching monitoring has been issued (YES in step S105 ), the CPU 10 ends the application monitoring process.

[0083] Figure 5 This is a diagram showing a control procedure of the CPU 10 in the communication monitoring process.

[0084] When the communication monitoring process starts, the CPU 10 determines whether data communication of the foreground application has started (step S201 ). If it is determined that data communication has not started (“No” in step S201 ), the CPU 10 executes the process of step S201 again.

[0085] When it is determined that data communication has started ("Yes" in step S201), the CPU 10 determines whether the business application flag 111 is "1" (step S202). When it is determined that the business application flag 111 is "1" ("Yes" in step S202), the CPU 10 determines whether the connection target of the started data communication is a registered URL or IP address listed in the connection target list data 26 (step S203).

[0086] When determining that the connection destination of the data communication is a registered URL or IP address (YES in step S203 ), the CPU 10 selects the first SIM card 51 (step S204 , first selection process) and performs data communication via the closed communication path R1 of the first modem 31 .

[0087] When it is determined in the processing of step S202 that the service flag application is "0" ("No" in step S202), or when it is determined in the processing of step S203 that the connection target of the data communication is not a registered URL or IP address ("No" in step S203), CPU 10 selects the second SIM card 52 (step S205, second selection processing) and performs data communication based on the universal communication path R2 of the second modem 32.

[0088] When the processing of step S204 or step S205 is completed, CPU10 determines whether an instruction to end communication monitoring has been issued (step S206). Here, when an instruction to turn off the power of terminal device 1 or an instruction to transfer terminal device 1 to sleep mode has been issued, CPU10 determines that an instruction to end communication monitoring has been issued. When it is determined that an instruction to end communication monitoring has not been issued ("No" in step S206), CPU10 returns the processing to step S201.

[0089] When determining that an instruction to end the communication monitoring has been issued (YES in step S206 ), the CPU 10 ends the communication monitoring process.

[0090] As can be seen from the control sequence of the application monitoring process and the communication monitoring process described above, in the selection process, the application being executed is the business application 23 ( Figure 4 In the case where the connection target of the data communication started according to the executed application is one of the one or more specific connection targets connected through the closed communication path R1 ("Yes" in step S102), the CPU 10 as the selection unit selects the first SIM card 51 (step S204, the first selection processing), and selects the second SIM card 52 without selecting the first SIM card 51 (step S205, the second selection processing).

[0091] (Variant 1)

[0092] Next, a modification example 1 of the above embodiment will be described. This modification example is different from the above embodiment in that the setting of a specific application can be added. The differences from the above embodiment will be described below.

[0093] In the above embodiment, specific applications are listed and fixed in advance in the business application list data 25 , but in this variation, applications acquired by a specific method and stored in the storage unit 20 are subsequently set as specific applications and added to the business application list data 25 .

[0094] One of the above-mentioned specific methods is a method of acquiring an application through the closed communication path R1 when the first SIM card 51 is selected. That is, in this modification, when the first SIM card 51 is selected, the application is downloaded (acquired) and installed, and is stored in the storage unit 20, in the registration process, the CPU 10 as the registration unit adds the application as a specific application to the business application list data 25. This is because, when the first SIM card 51 is selected, the acquisition path of the application is limited to the closed communication path R1, and the source of the application is limited to a device associated with the business such as the business server S1. In other words, the application that can be acquired when the first SIM card 51 is selected is limited to a safe application (in this embodiment, the business application 23) that does not become a problem in network security even if data communication through the closed communication path R1 is performed.

[0095] Figure 6 This is a flowchart showing the control procedure of the CPU 10 in the application installation process of Modification Example 1.

[0096] The application installation process starts when the download and installation of the application program is instructed by an input operation of the terminal user.

[0097] When the application installation process starts, the CPU 10 starts a series of processes including downloading and installing a designated application program (step S301 ).

[0098] The CPU 10 determines whether the first SIM card 51 is selected (step S302 ). If it is determined that the first SIM card 51 is selected (“Yes” in step S302 ), the CPU 10 adds the application to be installed as a specific application to the service application list data 25 (step S303 ).

[0099] When the process of step S303 is completed, or when it is determined in the process of step S302 that the first SIM card 51 is not being selected (i.e., the second SIM card 52 is being selected) ("No" in step S302), the CPU 10 determines whether the installation process is completed (step S304). When the CPU 10 determines that the installation process is not completed ("No" in step S304), the CPU 10 executes the process of step S304 again, and when it is determined that the installation process is completed ("Yes" in step S304), the application installation process is completed.

[0100] Another of the above-mentioned specific methods is a method for obtaining an application that the management user of the terminal device 1 allows to be obtained. When an application is installed and stored in the storage unit 20 by such a method, the CPU 10 as the registration unit adds the application as a specific application to the business application list data 25 during the registration process. This is because, in such a case, the installed application is limited to the application (in this embodiment, the business application 23) for which data communication of the closed communication path R1 is allowed in advance. Here, the method for obtaining an application that the management user allows to be obtained is not particularly limited, and for example, a method for installing an application from a specific memory card to the terminal device 1 can be cited.

[0101] (Variant 2)

[0102] Next, a modification 2 of the above embodiment will be described. This modification differs from the above embodiment in that an eSIM is used in addition to (or instead of) a SIM card. This modification can also be combined with the above modification 1. The differences from the above embodiment will be described below.

[0103] Figure 7 It is a block diagram showing the structure of the terminal device 1 according to the second modification.

[0104] The terminal device 1 of this variant example includes an eSIM 53 as an information recording element. The eSIM 53 is an electronic component (chip) mounted on a circuit board (not shown) in the terminal device 1 by soldering or the like, and is also called an "implanted SIM". In the eSIM 53, setting information related to the communication path of data communication is recorded, similar to a SIM card. Figure 2 In the block diagram, the CPU 10 and the communication unit 30 are connected to the bus 90 and can access the eSIM 53 to read the setting information.

[0105] exist Figure 7 In the example, in the first SIM card 51 (first storage medium), similarly to the above-described embodiment, setting information (hereinafter referred to as "first setting information") for enabling the communication unit 30 to perform data communication in the closed communication path R1 using the closed network N1 is recorded.

[0106] On the other hand, the second SIM card 52 is not installed, and an eSIM 53 (second storage medium) is used instead of the second SIM card 52. In the eSIM 53, similarly to the second SIM card 52 in the above-mentioned embodiment, setting information (hereinafter referred to as "second setting information") for enabling the communication unit 30 to perform data communication in the universal communication path R2 using the universal network N2 is recorded.

[0107] exist Figure 7In the example, when the first SIM card 51 is selected, data communication is performed in the closed communication path R1 using the closed network N1 through the first modem 31 according to the first setting information of the first SIM card 51. In addition, data communication is not performed in the universal communication path R2 using the universal network N2.

[0108] On the other hand, when the eSIM 53 is selected, data communication is performed in the general communication path R2 using the general network N2 through the second modem 32 according to the second setting information of the eSIM 53, and data communication is not performed in the closed communication path R1.

[0109] The process of selecting one of the first SIM card 51 and the eSIM 53 is the same as the process of selecting one of the first SIM card 51 and the second SIM card 52 in the above embodiment. That is, when the conditions that the foreground application is a predetermined specific application among the business application 23 and the general application 24 and the connection destination of the data communication started according to the foreground application is one of one or more specific connection destinations connected through the closed communication path R1 are satisfied, the first SIM card 51 in which the first setting information is recorded is selected (first selection process), and when the above conditions are not satisfied (that is, when the first SIM card 51 is not selected), the eSIM 53 in which the second setting information is recorded is selected (second selection process).

[0110] In addition, the setting information recorded in the first SIM card 51 and the eSIM 53 is not limited to the above. For example, the first setting information for enabling the communication unit 30 to perform data communication via the closed communication path R1 may be recorded in the eSIM 53, and the second setting information for enabling the communication unit 30 to perform data communication via the universal communication path R2 may be recorded in the first SIM card 51.

[0111] In addition, if Figure 8 As shown, two eSIMs 53 and 54 can also be used without using a SIM card. Figure 8 In the example of , the first setting information is recorded in eSIM53, and the second setting information is recorded in eSIM54. Furthermore, when the above-mentioned condition is satisfied, eSIM53 is selected, and when the condition is not satisfied, eSIM54 is selected.

[0112] (Variant 3)

[0113] Next, a modification 3 of the above embodiment will be described. This modification differs from the above embodiment in that three or more SIM cards and / or eSIMs are used. This modification may also be combined with the above modification 1. The differences from the above embodiment will be described below.

[0114] Fig. 9 It is a block diagram showing the structure of the terminal device 1 according to the third modification.

[0115] In this modification 3, the communication unit 30 of the terminal device 1 further includes a third modem 33 in addition to the first modem 31 and the second modem 32. In addition, the first modem 31 is connected to the first SIM card 51, the second modem 32 is connected to the second SIM card, and the third modem 33 is connected to the eSIM 53. In addition, the first SIM card 51 and the second SIM card 52 respectively record different first setting information for enabling the communication unit 30 to perform data communication in different closed communication paths R1, and the eSIM 53 records second setting information for enabling the communication unit 30 to perform data communication in the universal communication path R2. Hereinafter, the closed communication path R1 that can perform data communication by the first setting information of the first SIM card 51 is referred to as the closed communication path R1a using the closed network N1a, and the closed communication path R1 that can perform data communication by the first setting information of the second SIM card 52 is referred to as the closed communication path R1b using the closed network N1b.

[0116] In this modification, when the first condition that the foreground application is a specific application program predetermined as an application for communication via the closed communication path R1a and the connection destination of the data communication started by the foreground application is one of one or more specific connection destinations connected via the closed communication path R1a is satisfied, the first SIM card 51 is selected (first selection process). If the first SIM card 51 is selected, data communication via the closed communication path R1a is performed via the first modem 31, and data communication via the closed communication path R1b and the universal communication path R2 is not performed.

[0117] Furthermore, when the second condition is satisfied that the foreground application is a specific application program predetermined as an application for communication via the closed communication path R1b, and the connection destination of the data communication started according to the foreground application is one of one or more specific connection destinations connected via the closed communication path R1b, the second SIM card 52 is selected. If the second SIM card 52 is selected, data communication via the closed communication path R1b is performed via the second modem 32, and data communication via the closed communication path R1a and the universal communication path R2 is not performed.

[0118] If neither the first condition nor the second condition is satisfied, the eSIM 53 is selected (second selection process). If the eSIM 53 is selected, data communication via the common communication path R2 is performed via the third modem 33, and data communication via the closed communication paths R1a and R1b is not performed.

[0119] In addition, Fig. 9 In the example of using two SIM cards and one eSIM, the present invention is described, but the present invention is not limited to this. For example, one SIM card and two eSIMs may be used in combination. In addition, three SIM cards may be used without using eSIMs. In addition, three eSIMs may be used without using SIM cards.

[0120] In addition, you can use four or more SIM cards and eSIM cards in total.

[0121] As described above, the terminal device 1 of the present embodiment is a terminal device 1 that can be installed with a first SIM card 51 and a second SIM card 52 each recording setting information related to a communication path for data communication, and includes a communication unit 30 for performing data communication through a communication path according to the setting information of a selected SIM card, a storage unit 20 storing a plurality of business applications 23 and general applications 24 as application programs, and a CPU 10. The CPU 10 executes a designated application program among the business applications 23 and the general applications 24, performs data communication through the communication unit 30 according to the application program (communication control processing), selects one of the first SIM card 51 and the second SIM card 52 to which the communication unit 30 refers (selection processing), and performs a data communication on the first SIM card 51 or the second SIM card 52 according to the application program being executed. In the SIM card 51, setting information for enabling the communication unit 30 to perform data communication in the closed communication path R1 of the closed network N1 is recorded. In the second SIM card 52, setting information for enabling the communication unit 30 to perform data communication in the general communication path R2 of the general network N2 that does not include the closed network N1 is recorded. When the application being executed is a business application 23 that is predetermined as a specific application among the business application 23 and the general application 24, and the connection target of the data communication started according to the application being executed is one of one or more specific connection targets connected through the closed communication path R1, the CPU 10 selects the first SIM card 51 (first selection processing), and selects the second SIM card 52 (second selection processing) when the first SIM card 51 is not selected.

[0122] Thereby, the setting of the communication path of the terminal device 1 can be switched appropriately.

[0123] That is, when the business application 23 is executed and data communication is required through the closed communication path R1, the first SIM card 51 can be automatically selected to perform data communication through the closed communication path R1. This can prevent the business application 23 from being unable to connect to the closed network N1 and causing communication errors.

[0124] Furthermore, when general applications 24 other than business applications 23 are executed, the second SIM card 52 is automatically selected, so that general applications 24 can be prevented from connecting to the closed network N1. In other words, only business applications 23 can be strictly connected to the closed network N1. This can prevent general applications 24 from illegally accessing the business server S1 via the closed network N1 for business, and can reduce risks in network security.

[0125] Furthermore, since the first SIM card 51 is selected only when the condition that the connection destination of data communication is a specific connection destination permitted in advance is satisfied in addition to the condition that the application being executed is a specific application, network security can be more reliably ensured. That is, the general application 24 that does not have information on a specific connection destination can be more reliably excluded from the closed network N1. Thus, even if a general application 24 is mistakenly listed as a specific application in the business application list data 25, the general application 24 can be prevented from accessing the closed network N1.

[0126] In addition, the storage unit 20 stores business application list data 25 indicating specific applications, and the CPU 10 determines whether the application being executed is a specific application (selection processing) based on the business application list data 25. Thus, it is possible to reliably determine whether the application being executed is a specific application (business application 23) by a simple process of referring to the business application list data 25.

[0127] The specific application program in Modification 1 includes an application program acquired by a specific method and stored in the storage unit 20. Thus, the setting of the specific application program that can connect to the closed network N1 can be added later as needed.

[0128] When the CPU 10 of Modification 1 acquires an application by a specific method and stores it in the storage unit 20 , it registers the application as a specific application in the business application list data 25 (registration process). Thus, the setting of the specific application can be added by simply updating the business application list data 25 .

[0129] Furthermore, the above-mentioned specific method includes a method of acquiring an application using the closed communication path R1 when the first SIM card 51 is selected. The application acquired by such a method is limited to safe applications (in this embodiment, the business application 23) that do not become a problem on the network security even if data communication is performed on the closed communication path R1. Thus, by setting the application acquired by such a method as a specific application, it is possible to ensure network security and add settings for specific applications by a simple method that does not require permission for connection to the closed network N1 in advance.

[0130] In addition, the above-mentioned specific methods include a method for obtaining an application that the administrator of the terminal device 1 allows to be obtained. The application obtained by such a method is limited to the application (in this embodiment, the business application 23) for which data communication of the closed communication path R1 is allowed in advance. Therefore, by setting the application obtained by such a method as a specific application, network security can be ensured and the setting of the specific application can be added.

[0131] Furthermore, the specific application is an application for which data communication through the closed communication path R1 is permitted in advance. This makes it possible to more reliably ensure network security.

[0132] In addition, the storage unit 20 stores connection target list data 26 indicating one or more specific connection targets, and the CPU 10 determines whether the connection target of the data communication started according to the application being executed is one of the one or more specific connection targets (selection processing) based on the second SIM card 52. Thus, it is possible to reliably determine whether the connection target of the data communication is a specific connection target by a simple process of referring to the connection target list data 26.

[0133] In addition, the terminal device 1 of the present embodiment can be equipped with two SIM cards each recording setting information related to the communication path of data communication, and data communication is performed using the communication path according to the setting information of the selected one of the two SIM cards. When the application being executed is a pre-registered specific application and the connection destination of the data communication started according to the executed application is a pre-registered specific connection destination, the first SIM card 51 of the two SIM cards is selected (first selection process), and when the first SIM card 51 is not selected, the second SIM card 52 is selected (second selection process). In this way, the setting of the communication path in the terminal device 1 can be appropriately switched.

[0134] In addition, the terminal device 1 of the present embodiment includes a medium installation unit 40 (first mounting unit) capable of installing one or more SIM cards each recording setting information related to a communication path for data communication, a second mounting unit equipped with one or more eSIMs each recording the above-mentioned setting information, a communication unit 30 for performing data communication using a communication path according to the setting information of a selected SIM card or eSIM, a storage unit 20 storing a plurality of business applications 23 and general applications 24 as application programs, and a CPU 10, the CPU 10 executes a designated application among the business applications 23 and the general applications 24, performs data communication through the communication unit 30 according to the application (communication control processing), selects a SIM card or eSIM to be referenced by the communication unit 30 (selection processing) when data communication is started according to the application being executed, and selects one of the one or more SIM cards and one or more eSIMs mentioned above. In at least one of the plurality of SIM cards, first setting information for causing the communication unit 30 to perform data communication in the closed communication path R1 using the closed network N1 is recorded, and in at least one of the other plurality of SIM cards, second setting information for causing the communication unit 30 to perform data communication in the general communication path R2 using the general network N2 that does not include the closed network N1 is recorded. When the conditions that the application being executed is a business application 23 that is predetermined as a specific application among the business application 23 and the general application 24, and the connection target of the data communication started according to the application being executed is one of one or more specific connection targets connected through the closed communication path R1 are satisfied, the CPU 10 selects a SIM card or eSIM that has the first setting information recorded (first selection process), and when the above conditions are not satisfied, selects a SIM card or eSIM that has the second setting information recorded (second selection process). According to such a structure, it is possible to reduce the risk in network security and appropriately switch the setting of the communication path of the terminal device 1.

[0135] In addition, the terminal device 1 of the present embodiment includes two or more eSIMs each recording setting information related to a communication path for data communication, a communication unit 30 for performing data communication using a communication path according to the setting information of a selected eSIM, a storage unit 20 storing a plurality of business applications 23 and general applications 24 as applications, and a CPU 10, the CPU 10 executes a designated application among the business applications 23 and the general applications 24, performs data communication through the communication unit 30 according to the application (communication control processing), selects an eSIM to be referred to by the communication unit 30 when data communication is started according to the application being executed (selection processing), and records information for causing the communication unit 30 to perform data communication using a closed communication path in at least one of the two or more eSIMs. The first setting information for data communication in the closed communication path R1 of the network N1 is recorded in at least one of the other second setting information for causing the communication unit 30 to perform data communication in the general communication path R2 of the general network N2 that does not include the closed network N1. The CPU 10 selects an eSIM having the first setting information recorded when the condition that the application being executed is a business application 23 that is predetermined as a specific application among the business application 23 and the general application 24, and the connection target of the data communication started according to the application being executed is one of one or more specific connection targets connected through the closed communication path R1 is satisfied, and selects an eSIM having the second setting information recorded when the above condition is not satisfied (selection processing). According to such a structure, it is possible to reduce the risk in network security and appropriately switch the setting of the communication path of the terminal device 1.

[0136] In addition, the terminal device 1 of the present embodiment is a terminal device 1 that can be installed with two or more SIM cards each recording setting information related to a communication path for data communication, and comprises a communication unit 30 for performing data communication using a communication path according to the setting information of a selected SIM card, a storage unit 20 storing a plurality of business applications 23 and general applications 24 as application programs, and a CPU 10, the CPU 10 executes a designated application program among the business applications 23 and the general applications 24, and causes the communication unit 30 to perform data communication (communication control processing) according to the application program, and when data communication is started according to the application program being executed, selects a SIM card for reference by the communication unit 30, and in at least one of the two or more SIM cards, a setting information for causing the communication unit 30 to perform data communication is recorded. In the embodiment of the present invention, the CPU 10 records first setting information for making the communication unit 30 perform data communication using the closed communication path R1 of the closed network N1, and in at least one of the other, records second setting information for making the communication unit 30 perform data communication using the general communication path R2 of the general network N2 that does not include the closed network N1. The CPU 10 selects a SIM card having the first setting information recorded when the application being executed is a business application 23 that is predetermined as a specific application among the business application 23 and the general application 24, and the connection target of the data communication started according to the application being executed is one of one or more specific connection targets connected through the closed communication path R1, and selects a SIM card having the second setting information recorded when the above conditions are not satisfied. According to such a structure, it is possible to reduce the risk in network security and appropriately switch the setting of the communication path of the terminal device 1.

[0137] In addition, the terminal device 1 of the present embodiment can mount one or more SIM cards each recording setting information related to a communication path of data communication on the first mounting portion, and set one or more eSIMs each recording the above setting information in the second mounting portion, perform data communication using a communication path according to the setting information of the selected one SIM card or eSIM, and select one of the one or more SIM cards and the one or more eSIMs recording the first setting information when the condition that the application being executed is a pre-registered specific application and the connection target of the data communication started by the application being executed is a pre-registered specific connection target, and select one of the one or more SIM cards and the one or more eSIMs recording the second setting information when the condition is not satisfied. According to such a structure, the risk in network security can be reduced and the setting of the communication path of the terminal device 1 can be appropriately switched.

[0138] In addition, the terminal device 1 of the present embodiment includes two or more eSIMs each recording setting information related to a communication path for data communication, and performs data communication using a communication path according to the setting information of a selected eSIM. When the conditions that the application being executed is a pre-registered specific application and the connection target of the data communication started by the application being executed is a pre-registered specific connection target are satisfied, one of the two or more eSIMs recording the first setting information is selected, and when the above conditions are not satisfied, one of the two or more eSIMs recording the second setting information is selected. According to such a structure, the risk in network security can be reduced and the setting of the communication path of the terminal device 1 can be appropriately switched.

[0139] In addition, the terminal device 1 of the present embodiment is a terminal device 1 that can be installed with two or more SIM cards each recording setting information related to a communication path for data communication, and performs data communication using a communication path according to the setting information of a selected SIM card. When the conditions that the application being executed is a pre-registered specific application and the connection target of the data communication started by the executing application is a pre-registered specific connection target are met, one of the two or more SIM cards recording the first setting information is selected, and when the above conditions are not met, one of the two or more SIM cards recording the second setting information is selected. According to such a structure, the risk on network security can be reduced and the setting of the communication path of the terminal device 1 can be appropriately switched.

[0140] In addition, the program 2 of the present embodiment causes the CPU 10 as a computer provided in the terminal device 1 to function as a communication control unit that executes a designated application and causes the communication unit 30 to perform data communication in accordance with the application, and a selection unit that selects one of the first SIM card 51 (first SIM) and the second SIM card 52 to be referred to by the communication unit 30 when data communication is started in accordance with the application being executed, and the selection unit selects the first SIM card 51 when the application being executed by the communication control unit is a business application 23 that is predetermined as a specific application among the business application 23 and the general application 24, and the connection destination of the data communication started in accordance with the application being executed is one of one or more specific connection destinations connected through the closed communication path R1, and selects the second SIM card 52 when the first SIM card 51 is not selected. By operating the terminal device 1 through such a program, the setting of the communication path of the terminal device 1 can be appropriately switched.

[0141] In addition, the program 2 of the present embodiment causes the CPU 10 as a computer provided in the terminal device 1 having the medium installation unit 40 (first mounting unit) capable of mounting one or more SIM cards each recording setting information related to a communication path of data communication, and the second mounting unit equipped with one or more eSIMs each recording the setting information to function as a communication control unit and a selection unit. The communication control unit executes a specified application and causes the communication unit 30 to perform data communication according to the application. The selection unit selects one SIM card or eSIM referred to by the communication unit 30 when data communication is started according to the application being executed. The selection unit selects one SIM card or eSIM recording the first setting information when the condition that the application being executed by the communication control unit is a business application 23 predetermined as a specific application among the business application 23 and the general application 24 and the connection destination of the data communication started according to the application being executed is one of one or more specific connection destinations connected through the closed communication path R1, and selects one SIM card or eSIM recording the second setting information when the condition is not satisfied. By operating the terminal device 1 through such a program, the setting of the communication path of the terminal device 1 can be appropriately switched.

[0142] In addition, the program 2 of the present embodiment causes the CPU 10 as a computer provided in the terminal device 1 having two or more eSIMs each recording setting information related to a communication path for data communication to function as a communication control unit and a selection unit, the communication control unit executing a specified application to cause the communication unit 30 to perform data communication according to the application, the selection unit selecting one eSIM referenced by the communication unit 30 when data communication is started according to the application being executed, and the selection unit selecting one eSIM recording the first setting information when the application being executed by the communication control unit is a business application 23 predetermined as a specific application among the business application 23 and the general application 24, and the connection destination of the data communication started according to the application being executed is one of one or more specific connection destinations connected through the closed communication path R1, and selecting one eSIM recording the second setting information when the above conditions are not satisfied. By operating the terminal device 1 through such a program, the setting of the communication path of the terminal device 1 can be appropriately switched.

[0143] In addition, the program 2 of the present embodiment causes the CPU 10 as a computer provided in the terminal device 1 having two or more SIM cards each recording setting information about a communication path for data communication to function as a communication control unit and a selection unit, the communication control unit executing a specified application to cause the communication unit 30 to perform data communication according to the application, the selection unit selecting one SIM card referenced by the communication unit 30 when data communication is started according to the application being executed, and the selection unit selecting one SIM card recording the first setting information when the application being executed by the communication control unit is a business application 23 predetermined as a specific application among the business application 23 and the general application 24 and the connection destination of the data communication started according to the application being executed is one of one or more specific connection destinations connected through the closed communication path R1, and selecting one SIM card recording the second setting information when the above conditions are not satisfied. By operating the terminal device 1 through such a program, the setting of the communication path of the terminal device 1 can be appropriately switched.

[0144] In the above description, an example of using a HDD or SSD of the storage unit 20 is disclosed as a computer-readable medium of the program 2 of the present invention, but the present invention is not limited to this example. As other computer-readable media, information recording media such as flash memory and CD-ROM can be applied. In addition, as a medium for providing data of the program of the present invention via a communication line, a carrier wave can also be applied to the present invention.

[0145] In addition, the description in the above-mentioned embodiment is an example of the terminal device, the communication method, and the recording medium of the present invention, and is not limited to these.

[0146] For example, at least one of the business application list data 25 and the connection destination list data 26 may be stored in the ROM 12. The ROM 12 in this case corresponds to the "storage unit" of the present invention.

[0147] Furthermore, at least a part of the OS 21 , the communication monitoring control program 22 , the business application 23 , and the general application 24 may be stored in the ROM 12 .

[0148] Furthermore, although the example in which the RAM 11 and the ROM 12 are built in the CPU 10 has been described, the present invention is not limited thereto, and at least one of the RAM 11 and the ROM 12 may be provided independently of the CPU 10 .

[0149] In addition, in the above embodiment, an example is described in which the communication unit 30 has the first modem 31 and the second modem 32, and the first modem 31 and the second modem 32 are switched to perform data communication, but the present invention is not limited thereto. For example, the communication unit 30 may have only one modem, and the first slot 41 and the second slot 42 may be connected to the modem. In this case, the slot accessed by the modem (thus, the SIM card or the eSIM) may be electrically switched according to the selection of the SIM card or the eSIM by the CPU 10.

[0150] In addition, in the above-mentioned embodiment, whether the application being executed is a specific application is determined by referring to the business application list data 25, but the method for determining the specific application is not limited to this. For example, an application (business application 23) corresponding to the specific application may be installed in a predetermined first area in the storage unit 20, and an application (general application 24) not corresponding to the specific application may be installed in a second area outside the first area in the storage unit 20, and whether it is a specific application may be determined based on the area where the application being executed is stored.

[0151] Furthermore, in the above embodiment, an example is described in which the specific application program permitted to connect to the closed network N1 is the business application 23 for business use. However, the present invention is not limited to this, and an application program for any purpose may be set as the specific application program.

[0152] In addition, the terminal device 1 is not limited to performing wireless data communication, and may be connected to the closed network N1 or the general network N2 via a wire to perform data communication.

[0153] Furthermore, setting information for implementing voice calls of the terminal device 1 may also be recorded in the SIM card and the eSIM.

[0154] In addition, the storage medium is not limited to a SIM card or an eSIM, and any medium in which setting information related to a communication path for data communication is recorded can be used.

[0155] Furthermore, it is apparent that the detailed configuration and detailed operation of each component of the terminal device 1 in the above-described embodiment can be appropriately modified without departing from the gist of the present invention.

[0156] Although the embodiment of the present invention has been described, the scope of the present invention is not limited to the above embodiment but includes the scope of the invention described in the claims and the scope equivalent thereto.

Claims

1. A terminal device, characterized in that: have: a carrying unit capable of carrying two storage media each recording setting information related to a communication path for data communication; a communication unit for performing data communication using a communication path according to the setting information of one of the two storage media; A storage unit storing a plurality of application programs; as well as The processor performs the following processing: a first selection process of selecting a first storage medium having first setting information recorded therein, of the two storage media, when the application being executed is a pre-registered specific application among a plurality of applications stored in the storage unit and a connection destination of data communication started by the application being executed is a pre-registered specific connection destination; as well as The second selection process is to select, when the above condition is not satisfied, a second storage medium having the second setting information recorded therein, from among the above two storage media. The first setting information is setting information for causing the communication unit to perform data communication in a closed communication path using a closed network. The second setting information is setting information for causing the communication unit to perform data communication using a general communication path of a general network that does not include the closed network. In the case of storing a new application in the above-mentioned storage unit, with respect to a new application obtained through data communication in the above-mentioned closed communication path based on reference to the above-mentioned first setting information, it is allowed to store it in the above-mentioned storage unit as the above-mentioned specific application, and with respect to a new application obtained through data communication in the above-mentioned general communication path based on reference to the above-mentioned second setting information, it is prohibited to store it in the above-mentioned storage unit as the above-mentioned specific application.

2. The terminal device according to claim 1, characterized in that The storage unit stores first list data indicating the specific application. In the first selection process and the second selection process, whether the application being executed is the specific application is determined based on the first list data.

3. The terminal device according to claim 2, characterized in that The specific application program includes an application program acquired by a specific method and stored in the storage unit.

4. The terminal device according to claim 2, characterized in that The processor also performs the following processing: The registration process is to register the application as the specific application in the first list data when the application is acquired by a specific method and stored in the storage unit.

5. The terminal device according to claim 3, characterized in that The specific method includes a method of acquiring an application through the closed communication path when the first storage medium is selected in the first selection process.

6. The terminal device according to claim 3, characterized in that The specific method includes a method of acquiring an application program that is permitted to be acquired by an administrator of the terminal device.

7. The terminal device according to claim 1, characterized in that The specific application is an application for which data communication in the closed communication path is permitted in advance.

8. The terminal device according to claim 2, characterized in that The storage unit stores second list data indicating the specific connection destination. In the first selection process and the second selection process, it is determined based on the second list data whether the connection destination of the data communication started in accordance with the application being executed is any of the specific connection destinations.

9. The terminal device according to claim 3, characterized in that The above-mentioned specific method includes a method of obtaining the above-mentioned application program from a specific recording medium.

10. The terminal device according to claim 1, wherein: As the two storage media, two SIM cards can be mounted on the mounting portion.

11. The terminal device according to claim 1, characterized in that The mounting portion includes a first mounting portion and a second mounting portion. The first carrying unit can carry at least one SIM card as the storage medium. The first mounting unit may be capable of mounting at least one eSIM as the storage medium.

12. The terminal device according to claim 1, wherein: As the above-mentioned two storage media, two eSIMs can be mounted.

13. The terminal device according to claim 11, characterized in that The second mounting portion is a circuit board included in the terminal device. The eSIM is an electronic component that is bonded to the circuit substrate and cannot be attached or detached from the terminal device.

14. A communication method of a terminal device, The terminal device has: a carrying unit capable of carrying two storage media each recording setting information related to a communication path for data communication; a communication unit for performing data communication using a communication path according to the setting information of one of the two storage media; as well as A storage unit stores a plurality of application programs. The communication method comprises the following steps: A first selection step of selecting a first storage medium having first setting information recorded therein, of the two storage media, when the application being executed is a pre-registered specific application among a plurality of applications stored in the storage unit and a connection destination of data communication started by the application being executed is a pre-registered specific connection destination; as well as The second selection step is to select the second storage medium having the second setting information recorded therein from among the two storage media when the above condition is not satisfied. The first setting information is setting information for causing the communication unit to perform data communication in a closed communication path using a closed network. The second setting information is setting information for causing the communication unit to perform data communication using a general communication path of a general network that does not include the closed network. In the case of storing a new application in the above-mentioned storage unit, with respect to a new application obtained through data communication in the above-mentioned closed communication path based on reference to the above-mentioned first setting information, it is allowed to store it in the above-mentioned storage unit as the above-mentioned specific application, and with respect to a new application obtained through data communication in the above-mentioned general communication path based on reference to the above-mentioned second setting information, it is prohibited to store it in the above-mentioned storage unit as the above-mentioned specific application.

15. A computer program product, comprising a program executable by a processor of a terminal device, characterized in that: The terminal device has: a carrying unit capable of carrying two storage media each recording setting information related to a communication path for data communication; a communication unit for performing data communication using a communication path according to the setting information of one of the two storage media; as well as A storage unit stores a plurality of application programs. The above program causes the above processor to execute the following processing: a first selection process of selecting a first storage medium having first setting information recorded therein, of the two storage media, when the application being executed is a pre-registered specific application among a plurality of applications stored in the storage unit and a connection destination of data communication started by the application being executed is a pre-registered specific connection destination; as well as The second selection process is to select, when the above condition is not satisfied, a second storage medium having the second setting information recorded therein, from among the above two storage media. The first setting information is setting information for causing the communication unit to perform data communication in a closed communication path using a closed network. The second setting information is setting information for causing the communication unit to perform data communication using a general communication path of a general network that does not include the closed network. In the case of storing a new application in the above-mentioned storage unit, with respect to a new application obtained through data communication in the above-mentioned closed communication path based on reference to the above-mentioned first setting information, it is allowed to store it in the above-mentioned storage unit as the above-mentioned specific application, and with respect to a new application obtained through data communication in the above-mentioned general communication path based on reference to the above-mentioned second setting information, it is prohibited to store it in the above-mentioned storage unit as the above-mentioned specific application.