Method and apparatus for controlling use of universal integrated circuit card

By integrating general-purpose integrated circuit cards and program files into electronic devices and using a whitelist mechanism to restrict their usage locations, the problem of unrestricted usage locations of general-purpose integrated circuit cards is solved, and the legal use and security of code numbers are achieved.

WO2024260353A9PCT designated stage expired Publication Date: 2025-12-26GIESECKEDEVRIENT (JIANGXI) TECHNOLOGY CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/099981
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-06-20
Filing Date
2024-06-19
Publication Date
2025-12-26

AI Technical Summary

Technical Problem

In the existing technology, the use of general-purpose integrated circuit cards is unrestricted, which may lead to the abnormal use of their codes and pose security risks.

Method used

By integrating a general-purpose integrated circuit card and program files into an electronic device, after obtaining the usage request of the target code number, the system queries the first whitelist to determine the allowed location for its use. If the location is found in the whitelist, the use is allowed; if the location is not found, the use is prohibited. The system then combines this with the second whitelist to precisely restrict the location where the code number can be used.

Benefits of technology

This effectively prevents the abnormal use of the code number of the general integrated circuit card, ensures its safe use in a legitimate location, and improves the efficiency and security of determining the usage location.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024099981_26122025_PF_FP_ABST
    Figure CN2024099981_26122025_PF_FP_ABST
Patent Text Reader

Abstract

The present application discloses a method and apparatus for controlling the use of a universal integrated circuit card. The universal integrated circuit card is integrated on an electronic device, and a program file is run on the electronic device, the method being applied to at least one of the universal integrated circuit card and the program file. The method comprises: acquiring a use request of a target code number corresponding to the universal integrated circuit card; on the basis of the use request, acquiring a first location of the electronic device; looking up the first location in a first white list, the first white list comprising a permitted use location of the universal integrated circuit card; when the first location is found in the first white list, allowing the universal integrated circuit card to be used at the first location; when the first location is not found in the first white list, prohibiting use of the universal integrated circuit card at the first location. Thus, use of the eUICC card is limited.
Need to check novelty before this filing date? Find Prior Art

Description

General-purpose integrated circuit card use control methods and devices

[0001] This application claims priority to Chinese Patent Application No. 202310736544.3, filed on June 20, 2023, the disclosure of which is incorporated herein by reference in its entirety. Technical Field

[0002] This application relates to the field of computer technology, and specifically to a method and apparatus for controlling the use of a general-purpose integrated circuit card. Background Technology

[0003] Universal Integrated Circuit Card (UICC), embedded UICC (eUICC) cards, Subscriber Identity Module (SIM) cards, and embedded SIM (eSIM) cards all offer great flexibility. They can download codes and use these codes for communication in any country or region worldwide. Therefore, there are currently no restrictions on the countries and regions where UICC / eUICC / SIM / eSIM cards can be used. This has led to the improper use of UICC / eUICC / SIM / eSIM card codes.

[0004] Summary of the Invention

[0005] The purpose of this application is to provide a method and apparatus for controlling the use of general-purpose integrated circuit cards, so as to restrict the use of general-purpose integrated circuit cards.

[0006] The technical solution of this application is as follows:

[0007] In a first aspect, a method for controlling the use of a general-purpose integrated circuit card is provided, characterized in that the general-purpose integrated circuit card is integrated on an electronic device, the electronic device has a program file running on it, and the method is applied to at least one of the general-purpose integrated circuit card and the program file, the method comprising:

[0008] Obtain the usage request for the target code number corresponding to the general-purpose integrated circuit card;

[0009] Based on the usage request, the first location of the electronic device is obtained;

[0010] The first location is queried from the first whitelist; wherein the first whitelist includes the allowed locations for use of the general-purpose integrated circuit card;

[0011] If the first location is found in the first whitelist, the general-purpose integrated circuit card is allowed to be used at the first location;

[0012] If the first location is not found in the first whitelist, the general-purpose integrated circuit card is prohibited from being used in the first location.

[0013] In a second aspect, a universal integrated circuit card (UIC) usage control device is provided, wherein the UIC is integrated on an electronic device, the electronic device having a program file running on it, and the device is applied to at least one of the UIC and the program file, the device comprising:

[0014] The acquisition module is used to acquire the usage request of the target code number corresponding to the general-purpose integrated circuit card;

[0015] The acquisition module is further configured to acquire the first location of the electronic device based on the usage request;

[0016] The query module is used to query the first location in the first whitelist; wherein the first whitelist includes the allowed locations of the general-purpose integrated circuit card;

[0017] The processing module is configured to allow the general-purpose integrated circuit card to be used at the first location if the first location is found in the first whitelist;

[0018] The processing module is further configured to prohibit the general-purpose integrated circuit card from being used at the first location if the first location is not found in the first whitelist.

[0019] Thirdly, embodiments of this application provide an electronic device, which includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor. When the program or instructions are executed by the processor, they implement the steps of the universal integrated circuit card usage control method described in any embodiment of this application.

[0020] Fourthly, embodiments of this application provide a readable storage medium storing a program or instructions, which, when executed by a processor, implement the steps of the general-purpose integrated circuit card usage control method described in any embodiment of this application.

[0021] Fifthly, embodiments of this application provide a computer program product, wherein instructions in the computer program product, when executed by a processor of an electronic device, enable the electronic device to perform the steps of any of the general integrated circuit card usage control methods described in embodiments of this application.

[0022] The technical solutions provided by the embodiments of this application bring at least the following beneficial effects:

[0023] In the general-purpose integrated circuit card usage control method provided in this application embodiment, the general-purpose integrated circuit card is integrated on an electronic device, and a program file runs on the electronic device. The method is applied to at least one of the general-purpose integrated circuit card and the program file. By obtaining a usage request based on the target code number corresponding to the obtained general-purpose integrated circuit card, a first location of the electronic device is obtained. Then, the first location is queried in a first whitelist. If the first location is found in the first whitelist, the general-purpose integrated circuit card is allowed to be used in the first location. If the first location is not found in the first whitelist, the general-purpose integrated circuit card is prohibited from being used in the first location. In this way, by setting a first whitelist, the usage location of the general-purpose integrated circuit card is restricted, and the code number of the general-purpose integrated circuit card is prevented from being used abnormally.

[0024] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0025] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application, and do not constitute an undue limitation of this application.

[0026] Figure 1 is one of the flowcharts of a general integrated circuit card usage control method provided in the first aspect of this application;

[0027] Figure 2 is a schematic diagram of a method for obtaining a first whitelist and a second whitelist according to an embodiment of this application;

[0028] Figure 3 is a second schematic flowchart of a method for controlling the use of a general-purpose integrated circuit card provided in the first aspect of this application;

[0029] Figure 4 is a third schematic flowchart of a method for controlling the use of a general-purpose integrated circuit card provided in the first aspect of this application;

[0030] Figure 5 is a schematic diagram of a general-purpose integrated circuit card usage control device provided in the second aspect embodiment of this application;

[0031] Figure 6 is a schematic diagram of the structure of an electronic device provided in a third aspect embodiment of this application. Detailed Implementation

[0032] To enable those skilled in the art to better understand the technical solutions of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples.

[0033] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples consistent with some aspects of this application as detailed in the appended claims.

[0034] As described in the background section, existing technologies suffer from the problem that the usage location of UICC cards is unrestricted, potentially leading to the abnormal use of UICC card codes. To address this issue, this application provides a method and apparatus for controlling the use of a universal integrated circuit card. The universal integrated circuit card is integrated on an electronic device, which runs a program file. The method is applied to at least one of the universal integrated circuit card and the program file. Based on a usage request corresponding to the target code of the universal integrated circuit card, a first location of the electronic device is obtained. Then, the first location is queried in a first whitelist. If the first location is found in the first whitelist, the universal integrated circuit card is allowed to be used in the first location. If the first location is not found in the first whitelist, the universal integrated circuit card is prohibited from being used in the first location. In this way, by setting a first whitelist, the usage location of the universal integrated circuit card is restricted, preventing the abnormal use of the universal integrated circuit card code.

[0035] The method for controlling the use of a general-purpose integrated circuit card provided in this application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.

[0036] Figure 1 is a flowchart illustrating a method for controlling the use of a general-purpose integrated circuit card provided in an embodiment of this application. The general-purpose integrated circuit card can be integrated on an electronic device, which runs a program file. The execution subject of the method for controlling the use of a general-purpose integrated circuit card can be at least one of the general-purpose integrated circuit card and the program file.

[0037] It should be noted that the general-purpose integrated circuit card in this application includes, but is not limited to, UICC cards, eUICC cards, SIM cards, and eSIM cards. The following embodiments use eUICC cards as an example for illustration.

[0038] It should be noted that the program file can be a file running on an electronic device, such as the program file of a Local Profile Assistant (LPA) or an Internet of Things Profile Assistant (IPA). The following embodiments use an LPA program file as an example for illustration.

[0039] As shown in Figure 1, the general integrated circuit card usage control method provided in this application embodiment may include steps 110-150.

[0040] Step 110: Obtain the usage request for the target code number corresponding to the general integrated circuit card.

[0041] The target code number can be a code number from a general-purpose integrated circuit card that the user wants to download, use, or continue to use. Each general-purpose integrated circuit card has multiple codes, which the user can dynamically download or use.

[0042] A usage request can be a request to use the target code number. Specifically, it can be a request to download the target code number, a request to use the target code number, or a request to continue using the target code number.

[0043] Step 120: Based on the usage request, obtain the first location of the electronic device.

[0044] The first position can be the current position of the electronic device.

[0045] In some embodiments of this application, the first location of the electronic device can be obtained by using a request. The method of obtaining the first location varies depending on the executing entity. Step 120 is described in detail below:

[0046] When the executing entity is an eUICC card, the first location of the electronic device can be obtained in the following two ways:

[0047] Method 1:

[0048] Register an event location status command, wherein the event location status command includes an instruction to obtain the first location;

[0049] The acquisition instruction is sent to the electronic device to enable the electronic device to acquire the first location, and the first location is then sent to the general-purpose integrated circuit card;

[0050] The first location to receive data from the electronic device.

[0051] Specifically, the event location status command can be the Event Location Status command, which includes instructions for obtaining the first location.

[0052] In some embodiments of this application, the eUICC card can register an Event Location Station command, which includes an instruction to obtain a first location. The eUICC card then sends the instruction to the electronic device. The electronic device obtains its current location, i.e., the first location, based on its own location acquisition module, such as a gyroscope, and then sends the first location to the eUICC.

[0053] In the embodiments of this application, the eUICC card registers an event location status command and then sends the event location status command to the electronic device. The electronic device obtains the first location of the electronic device based on the first location acquisition instruction in the event location status command and sends the first location to the general-purpose integrated circuit card. The eUICC card receives the first location sent by the electronic device. In this way, the eUICC card only needs to register the event location status command to obtain the first location of the electronic device, which improves the efficiency of obtaining the first location.

[0054] Method 2:

[0055] Run the command to provide local information, and obtain the first location based on the command to provide local information.

[0056] The command to provide local information can be the Provide Local Information command.

[0057] In some embodiments of this application, the electronic device can periodically use the Provide Local Information command to directly obtain the first location of the electronic device.

[0058] In the embodiments of this application, the eUICC card can directly obtain the first location of the electronic device by running the Provide Local Information command, thereby improving the efficiency of obtaining the first location.

[0059] In some embodiments of this application, when the execution subject is an LPA, the first position of the electronic device can be directly obtained based on the LPA, further improving the efficiency of obtaining the first position.

[0060] Step 130: Query the first position in the first whitelist.

[0061] The first whitelist may include the permitted locations for the use of general-purpose integrated circuit cards.

[0062] In some embodiments of this application, after obtaining the first location, the first location can be directly queried in the first whitelist.

[0063] In some embodiments of this application, the first whitelist must be obtained before using it. The method for obtaining the first whitelist varies depending on the executing entity. The following details the methods for obtaining the first whitelist for different executing entities:

[0064] In some embodiments of this application, when the executing entity is an eUICC card, the first whitelist can be obtained in the following way:

[0065] The first whitelist to receive over-the-air download technology servers.

[0066] In some embodiments of this application, a first whitelist can be pushed to the eUICC card via an Over-the-Air Technology (OTA) server, and the first whitelist can take effect immediately on the eUICC card.

[0067] In the embodiments of this application, when the executing entity is an eUICC card, the first whitelist pushed by the over-the-air download technology server can be directly received, thereby improving the efficiency of obtaining the first whitelist and thus improving the efficiency of determining whether the eUICC card can be used in the first position.

[0068] In some embodiments of this application, when the executing entity is an LPA, since the LPA is a program running on an electronic device, if the first whitelist is updated, the prior art updates the first whitelist by operating the application, which is very inflexible. Therefore, the first whitelist can be obtained in the following way:

[0069] Obtain the first whitelist from the general-purpose integrated circuit card.

[0070] In some embodiments of this application, after the eUICC card receives the first whitelist pushed by the OTA server, the LPA can read the first whitelist on the eUICC card, and the first whitelist can then take effect on the LPA.

[0071] In the embodiments of this application, the efficiency of obtaining the first whitelist is improved by directly obtaining the first whitelist from the general integrated circuit card, thereby improving the efficiency of determining whether the eUICC card can be used in the first position.

[0072] Step 140: If the first location is found in the first whitelist, allow the general-purpose integrated circuit card to be used in the first location.

[0073] Step 150: If the first position is not found in the first whitelist, the use of the general-purpose integrated circuit card in the first position is prohibited.

[0074] In some embodiments of this application, the eUICC card can be used in the first position, but the usage position of the code number corresponding to the eUICC card is different. If the target code number is not used within its specified range, data leakage is likely to occur because the protocol specifications in different ranges are different. For example, downloading and using a code number from a US operator in mainland China is not allowed due to the conflict between laws and regulations between countries, which can easily lead to a large number of code numbers being used illegally.

[0075] Therefore, even if the eUICC card can be used in the first position, it is still necessary to determine whether the target code number requested by the user can be used in the position allowed by that code number. This can be determined in the following way:

[0076] After step 140, the method described above may further include:

[0077] Search for the second position of the target code in the second whitelist;

[0078] If the second position is found in the second whitelist, the operation corresponding to the usage request is allowed to be performed on the target code number;

[0079] If the second position is not found in the second whitelist, the operation corresponding to the usage request is prohibited on the target code number.

[0080] The second whitelist may include the allowed locations for the target code.

[0081] The second position can be the usable position of the target code number, and each code number has its own usable position.

[0082] It should be noted that the method for obtaining the second whitelist varies depending on the entity executing the above methods. The specific method for obtaining the second whitelist is the same as that for the first whitelist, and will not be repeated here.

[0083] Referring to Figure 2, which is a flowchart of the acquisition method of the first whitelist and the second whitelist, the first whitelist and the second whitelist are first pushed to the eUICC card by the OTA server, and the first whitelist and the second whitelist take effect on the eUICC card. Then, if the executing entity is LPA, the LPA reads the first whitelist and the second whitelist from the eUICC card, and the first whitelist and the second whitelist take effect on the LPA.

[0084] In the embodiments of this application, the second position of the target code number can be queried in the second whitelist. If the second position is found in the second whitelist, the operation corresponding to the use request is allowed to be performed on the target code number. If the second position is not found in the second whitelist, the operation corresponding to the use request is prohibited from being performed on the target code number. In this way, the use of the target code number can be precisely restricted to ensure the secure use of the code number.

[0085] In some embodiments of this application, the corresponding operations differ depending on the usage request. The following example illustrates how different operations are performed for different usage requests by prohibiting the operation corresponding to the usage request on the target code number:

[0086] The prohibition of performing the operation corresponding to the usage request on the target code number may specifically include:

[0087] When the request is for downloading the target code number, downloading the target code number is prohibited;

[0088] When the request is to enable the target code number, the enabling of the target code number is disabled;

[0089] If the request is to continue using the target code number, then the continued use of the target code number is prohibited.

[0090] In some embodiments of this application, when a user requests to download a target code, if the second position of the target code is not found in the second whitelist, downloading the target code is prohibited. When a user requests to enable a target code, if the second position of the target code is not found in the second whitelist, enabling the target code is prohibited. When a user requests to continue using the target code, if the second position of the target code is not found in the second whitelist, continuing to use the target code is prohibited.

[0091] In the embodiments of this application, when the request is to download the target code number, downloading the target code number is prohibited; when the request is to enable the target code number, enabling the target code number is prohibited; and when the request is to continue using the target code number, continuing to use the target code number is prohibited. In this way, different restriction operations can be taken on the target code number according to different usage requests, thus more precisely restricting the use of the target code number.

[0092] In some embodiments of this application, when the executing entity is a general-purpose integrated circuit card and the program file, the restrictions on the eUICC card and the target code number can be combined. Specifically, the combined restriction on the use of the eUICC card can be step 140, which includes:

[0093] If both the general-purpose integrated circuit card and the program file are found to be in the first whitelist, the general-purpose integrated circuit card is allowed to be used in the first position.

[0094] In some embodiments of this application, if both the general-purpose integrated circuit card and the program file are found to have the first position in the first whitelist, the general-purpose integrated circuit card may be allowed to be used in the first position. If either the general-purpose integrated circuit card or the program file is not found to have the first position in the first whitelist, the general-purpose integrated circuit card may not be allowed to be used in the first position.

[0095] In some embodiments of this application, in order to more clearly understand the technical solutions of the embodiments of this application, the restrictions on the eUICC card and the target code number when the execution subject is a general integrated circuit card or a program file are explained below.

[0096] Figure 3 is a flowchart illustrating a method for controlling the use of a general-purpose integrated circuit card provided in an embodiment of this application. The general-purpose integrated circuit card can be integrated into an electronic device, which runs a program file. The execution entity of the method for controlling the use of a general-purpose integrated circuit card in Figure 3 can be the general-purpose integrated circuit card.

[0097] As shown in Figure 3, the general-purpose integrated circuit card usage control method provided in this application embodiment may include the following process:

[0098] 1. The eUICC card registration event location status command or the periodically run command that provides local information.

[0099] 2. Install the first whitelist and the second whitelist on the eUICC card.

[0100] 3. When the request is to download the target code number, the eUICC card obtains the first location of the electronic device through the registration event location status command or the provide local information command, searches for the first location in the first whitelist, and if the first location is not found in the first whitelist, the general integrated circuit card is prohibited from using the first location. If the first location is found in the first whitelist, the second location of the target code number is searched in the second whitelist. If the second location is found, the target code number is downloaded and installed. If the second location is not found, the eUICC card is prohibited from downloading and installing the target code number.

[0101] 4. When the request is to enable the target code number, the eUICC card obtains the first location of the electronic device through the registration event location status command or the provide local information command, searches for the first location in the first whitelist, and if the first location is not found in the first whitelist, the general integrated circuit card is prohibited from using the first location. If the first location is found in the first whitelist, the second location of the target code number is searched in the second whitelist. If the second location is found, the target code number is enabled. If the second location is not found, the eUICC card is prohibited from enabling the target code number.

[0102] 5. If the target code number is already enabled, the eUICC card periodically obtains the first location of the electronic device by using the command to provide local information. It then searches for the first location in the first whitelist. If the first location is not found in the first whitelist, the general integrated circuit card is prohibited from using the first location. If the first location is found in the first whitelist, the card searches for the second location of the target code number in the second whitelist. If the second location is found, the target code number continues to be used. If the second location is not found, the eUICC card is prohibited from continuing to use the target code number.

[0103] Figure 4 is a flowchart illustrating a method for controlling the use of a general-purpose integrated circuit card according to an embodiment of this application. The general-purpose integrated circuit card can be integrated into an electronic device, which runs a program file. The program file can be the executing entity of the method for controlling the use of the general-purpose integrated circuit card in Figure 4. The process of the program file executing the method for controlling the use of the general-purpose integrated circuit card in Figure 4 is consistent with the process in Figure 3, except that the executing entity is changed to the program file. For the sake of brevity, it will not be described in detail here.

[0104] It should be noted that the general integrated circuit card usage control method provided in this application embodiment can be executed by a general integrated circuit card usage control device or a control module in the general integrated circuit card usage control device for executing the general integrated circuit card usage control method.

[0105] Based on the same inventive concept as the aforementioned universal integrated circuit card usage control method, this application also provides a universal integrated circuit card usage control device. The universal integrated circuit card usage control device provided in the embodiments of this application will be described in detail below with reference to FIG5.

[0106] Figure 5 is a schematic diagram illustrating the structure of a universal integrated circuit card (UIC) usage control device according to an exemplary embodiment. The UIC is integrated on an electronic device, which runs a program file. The device is applied to at least one of the UIC and the program file.

[0107] As shown in Figure 5, the control device 500 for the general-purpose integrated circuit card may include:

[0108] The acquisition module 510 is used to acquire the usage request of the target code number corresponding to the general integrated circuit card;

[0109] The acquisition module 510 is further configured to acquire the first location of the electronic device based on the usage request;

[0110] The query module 520 is used to query the first location in the first whitelist; wherein the first whitelist includes the allowed locations of the general-purpose integrated circuit card;

[0111] Processing module 530 is configured to allow the general-purpose integrated circuit card to be used at the first location if the first location is found in the first whitelist;

[0112] The processing module 530 is further configured to prohibit the general-purpose integrated circuit card from being used at the first location if the first location is not found in the first whitelist.

[0113] In some embodiments of this application, the query module 520 is further configured to query the second position of the target code number in the second whitelist; wherein the second whitelist includes the allowed positions of the target code number;

[0114] The processing module 530 is further configured to, if the second position is found in the second whitelist, allow the operation corresponding to the use request to be performed on the target code number; if the second position is not found in the second whitelist, prohibit the operation corresponding to the use request from being performed on the target code number.

[0115] In some embodiments of this application, the processing module 530 is specifically used for:

[0116] If the usage request is a request to download the target code number, downloading the target code number is prohibited;

[0117] If the usage request is to request the activation of the target code number, then the activation of the target code number is prohibited;

[0118] If the usage request is for continued use of the target code number, continued use of the target code number is prohibited.

[0119] In some embodiments of this application, when the method is applied to the general-purpose integrated circuit card, the apparatus may further include:

[0120] The receiving module is used to receive the first whitelist and the second whitelist pushed by the over-the-air (OTA) download technology server.

[0121] In some embodiments of this application, when the method is applied to the program file, the acquisition module 510 is further configured to acquire the first whitelist and the second whitelist from the general-purpose integrated circuit card.

[0122] In some embodiments of this application, when the method is applied to the general-purpose integrated circuit card, the acquisition module 510 is specifically used for:

[0123] Register an event location status command, wherein the event location status command includes an instruction to obtain the first location;

[0124] The acquisition instruction is sent to the electronic device so that the electronic device acquires the first location and sends the first location to the general-purpose integrated circuit card;

[0125] Receive the first location sent by the electronic device.

[0126] In some embodiments of this application, when the method is applied to the general-purpose integrated circuit card, the acquisition module 510 is specifically used for:

[0127] Run a command to provide local information to obtain the first location based on the command.

[0128] In some embodiments of this application, when the method is applied to the general-purpose integrated circuit card and the program file, the processing module 530 is specifically used for:

[0129] If both the general-purpose integrated circuit card and the program file determine that the first location is found in the first whitelist, the general-purpose integrated circuit card is allowed to be used at the first location.

[0130] The general-purpose integrated circuit card usage control device provided in this application embodiment can be used to execute the general-purpose integrated circuit card usage control method provided in the above method embodiments. Its implementation principle and technical effect are similar, and for the sake of brevity, it will not be described again here.

[0131] Based on the same inventive concept, embodiments of this application also provide an electronic device.

[0132] Figure 6 is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. As shown in Figure 6, the electronic device may include a processor 601 and a memory 602 storing computer programs or instructions.

[0133] Specifically, the processor 601 may include a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of the present invention.

[0134] Memory 602 may include mass storage for data or instructions. For example, and not limitingly, memory 602 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 602 may include removable or non-removable (or fixed) media. Where appropriate, memory 602 may be internal or external to the integrated gateway disaster recovery device. In a particular embodiment, memory 602 is non-volatile solid-state memory. Memory may include read-only memory (ROM), random-access memory (RAM), disk storage media devices, optical storage media devices, flash memory devices, electrical, optical, or other physical / tangible memory storage devices. Therefore, typically, a memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described in the control method for a general-purpose integrated circuit card provided in the above embodiments.

[0135] The processor 601 reads and executes computer program instructions stored in the memory 602 to implement any of the general-purpose integrated circuit card usage control methods in the above embodiments.

[0136] In one example, the electronic device may also include a communication interface 603 and a bus 610. As shown in Figure 6, the processor 601, memory 602, and communication interface 603 are connected via the bus 610 and communicate with each other.

[0137] The communication interface 603 is mainly used to realize communication between various modules, devices, units and / or devices in the embodiments of the present invention.

[0138] Bus 610 includes hardware, software, or both, that couples components of an electronic device together. For example, and not limitingly, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 610 may include one or more buses. Although specific buses are described and illustrated in embodiments of the invention, the invention contemplates any suitable bus or interconnect.

[0139] The electronic device can execute the general integrated circuit card usage control method in the embodiments of the present invention, thereby realizing the general integrated circuit card usage control method described in Figures 1, 3 and 4.

[0140] Furthermore, in conjunction with the general-purpose integrated circuit card usage control method in the above embodiments, this invention can be implemented using a readable storage medium. This readable storage medium stores program instructions; when these program instructions are executed by a processor, they implement any of the general-purpose integrated circuit card usage control methods described in the above embodiments.

[0141] In addition, in conjunction with the general integrated circuit card usage control method in the above embodiments, the present invention can provide a computer program product, wherein when the instructions in the computer program product are executed by the processor of an electronic device, the electronic device executes any one of the general integrated circuit card usage control methods in the above embodiments.

[0142] It should be clarified that the present invention is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of the present invention.

[0143] The functional blocks shown in the above-described structural diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this invention are programs or code segments used to perform the required tasks. The programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.

[0144] It should also be noted that the exemplary embodiments mentioned in this invention describe methods or systems based on a series of steps or apparatus. However, this invention is not limited to the order of the steps described above; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.

[0145] The aspects of this application have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by dedicated hardware performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.

[0146] The above description is merely a specific embodiment of the present invention. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the protection scope of the present invention.

Claims

1. A method for controlling the use of a general-purpose integrated circuit card, characterized in that, The general-purpose integrated circuit card is integrated on an electronic device, the electronic device having a program file running on it, the method being applied to at least one of the general-purpose integrated circuit card and the program file, the method comprising: Obtain the usage request for the target code number corresponding to the general-purpose integrated circuit card; Based on the usage request, the first location of the electronic device is obtained; The first location is queried from the first whitelist; wherein the first whitelist includes the allowed locations for use of the general-purpose integrated circuit card; If the first location is found in the first whitelist, the general-purpose integrated circuit card is allowed to be used at the first location; If the first location is not found in the first whitelist, the general-purpose integrated circuit card is prohibited from being used in the first location.

2. The method according to claim 1, characterized in that, If the first location is found in the first whitelist, and the general-purpose integrated circuit card is allowed to be used at the first location, the method further includes: The second position of the target code number is queried in the second whitelist; wherein the second whitelist includes the allowed positions of the target code number. If the second location is found in the second whitelist, the operation corresponding to the usage request is allowed to be performed on the target code number; If the second location is not found in the second whitelist, the operation corresponding to the usage request is prohibited on the target code number.

3. The method according to claim 2, characterized in that, The prohibition of performing the operation corresponding to the usage request on the target code number includes: If the usage request is a request to download the target code number, downloading the target code number is prohibited; If the usage request is to request the activation of the target code number, then the activation of the target code number is prohibited; If the usage request is for continued use of the target code number, continued use of the target code number is prohibited.

4. The method according to claim 2, characterized in that, When the method is applied to the general-purpose integrated circuit card, before obtaining the first location information of the electronic device based on the access control request, the method further includes: Receive the first whitelist and the second whitelist pushed by the Over-the-Air (OTA) download server.

5. The method according to claim 4, characterized in that, When the method is applied to the program file, the method further includes: Obtain the first whitelist and the second whitelist from the general-purpose integrated circuit card.

6. The method according to claim 1, characterized in that, When the method is applied to the general-purpose integrated circuit card, obtaining the first location of the electronic device includes: Register an event location status command, wherein the event location status command includes an instruction to obtain the first location; The acquisition instruction is sent to the electronic device so that the electronic device acquires the first location and sends the first location to the general-purpose integrated circuit card; Receive the first location sent by the electronic device.

7. The method according to claim 1, characterized in that, When the method is applied to the general-purpose integrated circuit card, obtaining the first location of the electronic device includes: Run a command to provide local information to obtain the first location based on the command.

8. The method according to claim 1, characterized in that, When the method is applied to the general-purpose integrated circuit card and the program file, allowing the general-purpose integrated circuit card to be used at the first location after the first location is found in the first whitelist includes: If both the general-purpose integrated circuit card and the program file determine that the first location is found in the first whitelist, the general-purpose integrated circuit card is allowed to be used at the first location.

9. A universal integrated circuit card usage control device, characterized in that, The general-purpose integrated circuit card is integrated on an electronic device, the electronic device has a program file running on it, the device is applied to at least one of the general-purpose integrated circuit card and the program file, and the device includes: The acquisition module is used to acquire the usage request of the target code number corresponding to the general-purpose integrated circuit card; The acquisition module is further configured to acquire the first location of the electronic device based on the usage request; The query module is used to query the first location in the first whitelist; wherein the first whitelist includes the allowed locations of the general-purpose integrated circuit card; The processing module is configured to allow the general-purpose integrated circuit card to be used at the first location if the first location is found in the first whitelist; The processing module is further configured to prohibit the general-purpose integrated circuit card from being used at the first location if the first location is not found in the first whitelist.

10. An electronic device, characterized in that, The electronic device includes: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, it implements the general-purpose integrated circuit card usage control method as described in any one of claims 1-8.

11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions, which, when executed by a processor, implement the general-purpose integrated circuit card usage control method as described in any one of claims 1-8.

12. A computer program product, characterized in that, When the instructions in the computer program product are executed by the processor of the electronic device, the electronic device performs the general integrated circuit card usage control method as described in any one of claims 1-8.