ESIM and SIM switching method of intelligent pos system
By reading the content of the Flash partition, judging the ESIM or SIM card, and switching through Settings on the terminal device, combining cloud management and encryption technology, the flexibility and security issues between ESIM and SIM card switching are solved, achieving convenient and efficient communication Service adaptability and security.
Patent Information
- Application Number
- CN202411307863.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2025-01-07
AI Technical Summary
It is difficult to switch flexibly in specific scenarios for existing ESIM and SIM cards. The physical replacement process of traditional SIM cards is cumbersome and cannot fully guarantee the security of network communication.
By reading the specific partition content in Flash, determine whether to use ESIM or SIM card, and switch through Settings after the terminal device is turned on, encryption technology is used to protect communication security, and remotely update and manage ESIM configuration information using the cloud management system.
It realizes flexible switching between ESIM and SIM cards, improves device adaptability and user convenience, ensures communication security, avoids the tedious process of physical replacement, and supports the use of different network environments in the context of globalization.
Smart Images

Figure CN119277367A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of communication security, and in particular relates to an ESIM and SIM switching method for an intelligent POS system. Background Art
[0002] With the rapid development of electronic payment and mobile technology, Android smart payment devices have penetrated into daily consumption. During normal use, the POS system needs to interact with UnionPay, banks and payment institutions for a large amount of data, including uploading transaction information, receiving verification results, etc. These operations need to be completed through the network.
[0003] ESIM technology is an important product of the development of electronic payment technology and mobile devices. With the increasing miniaturization of mobile devices and the rise of wearable devices, users have a surge in demand for lightweight, compact, and efficiently integrated devices. With its advantage of not requiring physical replacement, ESIM meets the urgent needs of IoT devices for reliable connection solutions. At the same time, international travelers' pursuit of global roaming convenience and operators' pursuit of service flexibility to improve user experience have further promoted the development of ESIM technology. The unification of technical standards and the improvement of security have laid a solid foundation for the widespread application of ESIM. In addition, the increase in environmental awareness and the pursuit of cost-effectiveness have also prompted ESIM to gradually replace traditional SIM cards as a more environmentally friendly and economical choice. In addition, changes in regulations and policies have acted as a catalyst in some countries and regions, accelerating the adoption and popularization of ESIM technology.
[0004] At present, although ESIM technology is known for its convenience, in certain scenarios, when a device needs to be compatible with a specific SIM card, it faces the problem of difficult to flexibly switch between ESIM and SIM. The physical replacement process of traditional SIM cards is not only cumbersome, but also increases operating costs and time costs. At the same time, the security of network communication cannot be fully guaranteed during the switching process. Therefore, the present invention proposes an ESIM and SIM switching method for an intelligent POS system. Summary of the invention
[0005] The object of the present invention is to provide an ESIM and SIM switching method for an intelligent POS system to solve the problems raised in the above background technology.
[0006] In order to achieve the above object, the present invention provides the following technical solution: a method for switching between ESIM and SIM in an intelligent POS system, wherein the switching method determines whether to use an ESIM or a SIM card by reading the content of a specific partition in Flash, and the specific process of the switching method is as follows:
[0007] Step 1: ESIM enablement judgment: when the default system does not support hot plugging, the terminal device is turned on and the ESIM enablement is read and judged;
[0008] Step 2: Switch on the ESIM enablement. After the terminal device is turned on, enter Settings to switch the ESIM enablement.
[0009] Step 3: Restart the terminal device and make the device cycle through the operation of step 1 again to switch between ESIM and SIM.
[0010] Preferably, the specific process of the ESIM enabling judgment is:
[0011] A1, after the terminal device is powered on, the device will first execute the Bootloaderr code;
[0012] A2, in the Bootloader stage, the system reads the contents of a specific partition in the Flash memory;
[0013] A3,Bootloader determines whether to use ESIM by parsing the specific content in the Flash partition;
[0014] A4, when the ESIM attribute is true, the hardware interface switches to ESIM, and when the ESIM attribute is false, the hardware interface switches to SIM.
[0015] Preferably, the specific process of the ESIM enabling switching is:
[0016] B1. After the terminal device is turned on, check whether the device communication uses ESIM or SIM. If you need to switch, open Settings;
[0017] B2, enter Settings, find the ESIM switch to select ESIM and SIM;
[0018] B3, when ESIM is needed, turn on the switch, and the ESIM attribute of the specific partition in the flash is true;
[0019] B4, when you need to use the SIM, turn off the switch, and the ESIM attribute of the specific partition in the flash is false.
[0020] Preferably, in the switching method, each ESIM is assigned a globally unique identification code by the cloud management system, and the administrator can remotely update the configuration information of the ESIM through the cloud interface.
[0021] Preferably, after startup, the terminal device reads the ESIM attributes in the Flash through the Bootloader code, including the unique identification code allocated by the cloud.
[0022] Preferably, the terminal device uses a preset encryption algorithm to encrypt the unique identification code to generate an identity authentication request, and after verification by the cloud management system, retrieves the corresponding ESIM configuration information according to the unique identification code.
[0023] Preferably, all communications between the terminal device and the cloud management system are encrypted to prevent data leakage and tampering, and the ESIM attribute information in the Flash is also protected by encryption technology to ensure that only authorized devices can access and modify it.
[0024] Preferably, the ESIM and SIM switching technology is implemented based on the Android system.
[0025] The beneficial effects of the present invention are as follows:
[0026] 1. After the terminal device is turned on, the present invention selects and switches between ESIM and SIM through the ESIM switch in Settings, thereby improving the adaptability of the device and the convenience of use, while improving the autonomy of users. In the context of globalization, users need to use different operator services in different countries and regions. The switching function of ESIM and SIM card enables users to easily adapt to different network environments and enjoy local communication services without changing the physical SIM card, thus solving the problem that traditional SIM cards need to be physically replaced and the operation is cumbersome. Finally, the present invention also ensures the communication security of the terminal device through encryption technology, prevents the leakage of transaction information, and improves the security of the terminal device.
[0027] 2. The present invention determines whether to use ESIM or SIM card by reading the content of a specific partition in the Flash memory. This configurability provides greater flexibility and personalized choices for the use of terminal devices. A unique identification code is then generated through the cloud, and the terminal device uses an encryption algorithm for identity authentication to achieve remote configuration and management of ESIM. At the same time, while ensuring communication security, it improves user experience and convenience. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 This is a flow chart of the bootloader stage after the terminal device of the present invention is turned on;
[0029] Figure 2 This is a diagram of the steps for switching ESIM after the terminal device of the present invention is turned on. DETAILED DESCRIPTION
[0030] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0031] like Figure 1 to Figure 2 As shown, an embodiment of the present invention provides an ESIM and SIM switching method for an intelligent POS system, wherein the switching method determines whether to use an ESIM or a SIM card by reading the content of a specific partition in Flash, and the specific process of the switching method is as follows:
[0032] Step 1: ESIM enablement judgment: when the default system does not support hot plugging, the terminal device is turned on and the ESIM enablement is read and judged;
[0033] Step 2: Switch on the ESIM enablement. After the terminal device is turned on, enter Settings to switch the ESIM enablement.
[0034] Step 3: Restart the terminal device and make the device cycle through the operation of step 1 again to switch between ESIM and SIM.
[0035] Under the default settings of the terminal device, the device can automatically select the most suitable SIM card type for connection, thereby improving the flexibility and usability of the device. After the ESIM enabling switch is completed and the terminal device is restarted, the device will first execute the Bootloaderr code to determine whether the terminal device uses ESIM or SIM after startup to complete the switch.
[0036] By reading the content of a specific partition in the Flash memory to determine whether to use an ESIM or a SIM card, this configurability provides greater flexibility and personalized choices for the use of terminal devices. A unique identification code is then generated through the cloud, and the terminal device uses an encryption algorithm for identity authentication to achieve remote configuration and management of the ESIM, solving the problem of traditional SIM cards requiring physical replacement and cumbersome operations. At the same time, while ensuring communication security, it improves user experience and convenience.
[0037] The specific process of the ESIM enabling judgment is as follows:
[0038] A1, after the terminal device is powered on, the device will first execute the Bootloaderr code (Bootloader is the first code to run after the system is powered on, which is mainly responsible for initializing hardware devices, establishing memory space mapping, etc.);
[0039] A2, in the Bootloader stage, the system reads the content of a specific partition in the Flash memory (this feature partition usually stores configuration information and identifiers related to the use of SIM cards and ESIM cards);
[0040] Since the Bootloader is the first code to run after the system is powered on, it has higher permissions and priority. By determining the SIM card type at the Bootloader stage, the security and reliability of the process can be ensured.
[0041] A3,Bootloader determines whether to use ESIM by parsing the specific content in the Flash partition;
[0042] A4, when the ESIM attribute is true, the hardware interface switches to ESIM, and when the ESIM attribute is false, the hardware interface switches to SIM.
[0043] By checking the ESIM attributes, it is determined whether the terminal device uses the ESIM or SIM by default after it is turned on.
[0044] The specific process of the ESIM enabling switching is as follows:
[0045] B1. After the terminal device is turned on, check whether the device communication uses ESIM or SIM. If you need to switch, open Settings;
[0046] B2, enter Settings, find the ESIM switch to select ESIM and SIM;
[0047] B3, when ESIM is needed, turn on the switch, and the ESIM attribute of the specific partition in the flash is true;
[0048] B4, when you need to use the SIM, turn off the switch, and the ESIM attribute of the specific partition in the flash is false.
[0049] After the terminal device is turned on, this switching method selects and switches between ESIM and SIM through the ESIM switch in Settings, which improves the adaptability of the device and the convenience of use, while also improving the user's autonomy. In the context of globalization, users need to use different operator services in different countries and regions. The switching function between ESIM and SIM card allows users to easily adapt to different network environments and enjoy local communication services without changing the physical SIM card.
[0050] Among them, in the switching method, each ESIM will be assigned a globally unique identification code by the cloud management system, and the administrator can remotely update the configuration information of the ESIM through the cloud interface.
[0051] This identification code is used to identify the ESIM and its related information, such as configuration and package details, in the cloud database.
[0052] Among them, the terminal device reads the ESIM attributes in the Flash through the Bootloader code after startup, including the unique identification code assigned by the cloud.
[0053] By identifying the unique identification code and transmitting information between the terminal device and the cloud, the ESIM can be identified and managed.
[0054] The terminal device encrypts the unique identification code using a preset encryption algorithm to generate an identity authentication request, and after verification by the cloud management system, retrieves the corresponding ESIM configuration information based on the unique identification code.
[0055] By generating a unique identification code in the cloud and using an encryption algorithm for identity authentication on the terminal device side, ESIM can be remotely configured and managed. This not only improves the flexibility and convenience of ESIM configuration, but also enhances the security and stability of the system. At the same time, the introduction of the cloud management system enables operators or administrators to manage and maintain ESIM resources more conveniently, improving overall operational efficiency.
[0056] Among them, all communications between the terminal device and the cloud management system are encrypted to prevent data leakage and tampering, and the ESIM attribute information in the Flash is also protected by encryption technology to ensure that only authorized devices can access and modify it.
[0057] Through encryption technology, we ensure that only authorized users can perform operations, thereby protecting users' personal information and data security and preventing the leakage of transaction information.
[0058] Wherein, the ESIM and SIM switching method is implemented based on the Android system.
[0059] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0060] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A method for switching between ESIM and SIM in an intelligent POS system, characterized in that: The switching method determines whether to use the ESIM or the SIM card by reading the content of a specific partition in the Flash, and the specific process of the switching method is as follows: Step 1: ESIM enablement judgment: when the default system does not support hot plugging, the terminal device is turned on and the ESIM enablement is read and judged; Step 2: Switch on the ESIM enablement. After the terminal device is turned on, enter Settings to switch on the ESIM enablement. Step 3: Restart the terminal device and make the device cycle through the operation of step 1 again to switch between ESIM and SIM.
2. The method for switching between ESIM and SIM of an intelligent POS system according to claim 1, characterized in that: The specific process of the ESIM enabling judgment is as follows: A1, after the terminal device is powered on, the device will first execute the Bootloaderr code; A2, in the Bootloader stage, the system reads the contents of a specific partition in the Flash memory; A3,Bootloader determines whether to use ESIM by parsing the specific content in the Flash partition; A4, when the ESIM attribute is true, the hardware interface switches to ESIM, and when the ESIM attribute is false, the hardware interface switches to SIM.
3. The method for switching between ESIM and SIM of an intelligent POS system according to claim 1, characterized in that: The specific process of the ESIM enabling switching is as follows: B1. After the terminal device is turned on, check whether the device communication uses ESIM or SIM. If you need to switch, open Settings; B2, enter Settings, find the ESIM switch to select ESIM and SIM; B3, when ESIM is needed, turn on the switch, and the ESIM attribute of the specific partition in the flash is true; B4, when you need to use the SIM, turn off the switch, and the ESIM attribute of the specific partition in the flash is false.
4. The method for switching between ESIM and SIM of a smart POS system according to claim 1, characterized in that: In the switching method, each ESIM is assigned a globally unique identification code by the cloud management system, and the administrator can remotely update the configuration information of the ESIM through the cloud interface.
5. The method for switching between ESIM and SIM of an intelligent POS system according to claim 1, characterized in that: After startup, the terminal device reads the ESIM attributes in the Flash through the Bootloader code, including the unique identification code assigned by the cloud.
6. The method for switching between ESIM and SIM of a smart POS system according to claim 1, characterized in that: The terminal device uses a preset encryption algorithm to encrypt the unique identification code, generates an identity authentication request, and retrieves the corresponding ESIM configuration information based on the unique identification code after verification by the cloud management system.
7. The method for switching between ESIM and SIM of a smart POS system according to claim 1, characterized in that: All communications between the terminal device and the cloud management system are encrypted to prevent data leakage and tampering, and the ESIM attribute information in the Flash is also protected by encryption technology to ensure that only authorized devices can access and modify it.
8. The method for switching between ESIM and SIM of a smart POS system according to claim 1, characterized in that: The ESIM and SIM switching technology is implemented based on the Android system.