# US 2026/0261278 A1 · Psam card automatic identification and display method and device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0261278 A1
- Document ID: US20260261278A1
- Status: Published application
- Kind: A1
- Application number: 18/863,652
- Filed: 2023-03-21
- Published: 2026-09-03
- Earliest claimed: 2022-05-09
- Assignees: Feitian Technologies Co., Ltd.
- Applicants: Feitian Technologies Co., Ltd.
- Inventors: Zhou LU
- Web page: https://patentgrep.com/patent/US20260261278A1

## CPC

- H04B 1/3816: Mechanical arrangements for accommodating identification devices, e.g. cards or chips; with connectors for programming identification devices
- Y02D 30/70: in wireless communication networks
- H04B: TRANSMISSION
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

The application provides PSAM card automatic identification and display method and device, including: a Telephony service module receiving an identification status of an SIM card reported by a Modem module, organizing and sending a system broadcast of a SIM card status changing, a Telephone process module listening to and parsing the broadcast, and if a first error SIM card status is obtained, notifying a switching circuit of a common card slot to switch and connect to a security processor; the terminal service module sending an instruction to start PSAM card detection, and a PSAMReader module performing PSAM card detection and returning a PSAM card status; the terminal service module passing the PSAM card status to the Telephony service module; which organizing the system broadcast of the PSAM card status changing, and the SystemUI module updating a display status of a PSAM card icon when listening to and receiving the broadcast.

## Claims

### Claim 1

A purchase secure access module PSAM card automatic identification and display method, wherein applied to a terminal device equipped with an application processor and a security processor, wherein the terminal device comprises at least one common card slot for a PSAM card and a subscriber identity module SIM card, the method comprises:
Step A0, performing, by a Modem module, an identification operation of the SIM card, and reporting an identification status of the SIM card to a Telephony service module;
Step A1, receiving, by the Telephony service module, the identification status of the SIM card reported by the Modem module, and organizing and sending a system broadcast of a SIM card status changing;
Step A2, parsing, by a Telephone process module, the system broadcast of the SIM card status changing, after receiving the system broadcast of the SIM card status changing, creating a first preset device node in a file system when obtaining a first error SIM card status through parsing, writing a first preset value to the first preset device node, so as to notify a system driver to control a switching circuit of the common card slot to switch and connect to the security processor, and sending a message, that the first preset value has been written into the first preset device node, to a terminal service module;
Step A3, sending, by the terminal service module, an instruction to start a PSAM card detection through a serial port, after receiving the message that the first preset value has been written into the first preset device node;
Step A4, performing, by a PSAMReader module, the PSAM card detection, when receiving the instruction to start the PSAM card detection through the serial port, and returning a first PSAM card status through the serial port according to a detection result;
Step A5, passing, by the terminal service module, the first PSAM card status to the Telephony service module, when receiving the first PSAM card status through the serial port;
Step A6, organizing and sending, by the Telephony service module, the system broadcast of the first PSAM card status changing, after receiving the first PSAM card status; and
Step A7, updating, by a SystemUI module, a display status of a first PSAM card icon in a status bar of the terminal device, when receiving the system broadcast of the first PSAM card status changing;
wherein the Modem module, the Telephony service module, the Telephone process module, the terminal service module and the SystemUI module are arranged on the application processor, the PSAMReader module is arranged on the security processor;
when the terminal device is powered on, the switching circuit of the common card slot is connected to the application processor by default.

### Claim 2 (depends on 1)

The method according to claim 1, wherein in the Step A2, when obtaining the first error SIM card status through parsing, it further comprises creating a second preset device node in the file system, and writing a second preset value to the second preset device node;
in the Step A5, it further comprises: writing a third preset value to the second preset device node when the terminal service module receives the first PSAM card status through the serial port; and
in the Step A2, it further comprises: sending, by the Telephone process module, a message for querying the device node to the terminal service module when obtaining a second error SIM card status through parsing; reading, by the terminal service module, the second preset device node when receiving the message of querying the device node, if the value of the second preset device node is the third preset value, then generating the first PSAM card status, passing the first PSAM card status to the Telephony service module, and executing the Step A6, and if the value of the second preset device node is the second preset value, then performing identification and access of the SIM card.

### Claim 3 (depends on 1)

The method according to claim 1, wherein in the Step A4, the performing the PSAM card detection, and returning the first PSAM card status through the serial port according to the detection result comprises: starting the PSAM card detection, reading information of a card in the common card slot, if the information of the card in the common card slot is read successfully, then returning a first preset status through the serial port, and if the information of the card in the common card slot fails to read, then returning a second preset status through the serial port.

### Claim 4 (depends on 1)

The method according to claim 1, wherein further comprising:
Step B1, sending, by the PSAMReader module, the first PSAM card status through the serial port, when the PSAM card is detected to be removed from the common card slot, wherein the first PSAM card status is specifically a third preset status;
Step B2, passing, by the terminal service module, the first PSAM card status to the Telephony service module when receiving the first PSAM card status through the serial port;
Step B3, organizing and sending, by the Telephony service module, when receiving the first PSAM card status, the system broadcast of the first PSAM card status changing, and writing the second preset value into the first preset device node, so as to notify the system driver to control the switching circuit of the common card slot to switch and connect to the application processor; and
Step B4, updating, by the SystemUI module, when receiving the system broadcast of the first PSAM card status changing, the display status of the first PSAM card icon in the status bar of the terminal device.

### Claim 5 (depends on 1)

The method according to claim 1, wherein in the Step A2, it further comprises: performing identification and access of the SIM card, when obtaining a correct SIM card status through parsing.

### Claim 6 (depends on 1)

The method according to claim 1, wherein further comprising: registering and listening to, by the SystemUI module, the system broadcast of the first PSAM card status changing, when initialized;
and the method further comprises: automatically calling cack, by the Telephony service module, a broadcast receiving method in an implementation of a preset custom interface class of the SystemUI module, after sending the system broadcast of the first PSAM card status changing.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the organizing the system broadcast of the first PSAM card status changing comprises: creating an Intent, specifying an action of the Intent, encapsulating a data structure, and depositing a key-value pair of the first PSAM card status into the data structure;
the registering and listening to the system broadcast of the first PSAM card status changing is specifically that: registering and listening to the Intent of the specified action;
the method further comprises: obtaining, by the SystemUI module, the Intent of the specified action, when the broadcast receiving method is called, and obtaining the first PSAM card status from the key-value pair of the first PSAM card status of the Intent by calling a system method.

### Claim 8 (depends on 6)

The method according to claim 6, wherein the implementation of the preset custom interface class of the SystemUI module inherits from the broadcast, and a first member variable, a first PSAM status view, of the preset custom interface class comprises a first icon status of an inner class, and the first icon status comprises a first attribute and a second attribute, the first attribute controls whether to display an attribute of the first PSAM card icon, the second attribute controls an attribute of a first PSAM card icon style, and the first PSAM status view also comprises an update icon method;
updating, by the SystemUI module, the display status of the first PSAM card icon in the status bar of the terminal device is specifically comprises: calling the update icon method, updating the first attribute and the second attribute of the first icon status according to the first PSAM card status.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the Step A7 further comprises: updating, by a system Settings module, a status of a PSAM card switch menu, when receiving the system broadcast of the first PSAM card status changing.

### Claim 10 (depends on 9)

The method according to claim 9, wherein after the Telephony service module receives the first PSAM card status, it further comprises saving the first PSAM card status;
the method further comprises: obtaining, when the system Settings module is initialized, the first PSAM card status saved by the Telephony service module from the Telephony service module, and determining the status of the PSAM card switch menu according to the obtained the first PSAM card status.

### Claim 11 (depends on 10)

The method according to claim 10, wherein further comprising: performing the following steps when a user operates the PSAM card switch menu to disable the PSAM card:
Step C1, sending, by the system Settings module, a PSAM card disable notification to the Telephony service module;
Step C2, updating, by the Telephony service module, the saved first PSAM card status to a fourth preset status, organizing and sending the system broadcast of the first PSAM card status changing, and writing a second preset value to the first preset device node, so as to notify the system driver to control the switching circuit of the common card slot to switch and connect to the application processor; and
Step C3, updating, by the SystemUI module, when receiving the system broadcast of the first PSAM card status changing, the display status of the first PSAM card icon in the status bar of the terminal device, and updating, by the system Settings module, the status of the PSAM card switch menu.

### Claim 12 (depends on 10)

The method according to claim 10, wherein further comprising: performing the following steps when a user operates the PSAM card switch menu to enable the PSAM card:
Step D1, sending, by the system Settings module, a PSAM card enable notification to the Telephony service module;
Step D2, updating, by the Telephony service module, the saved first PSAM card status to a fifth preset status, organizing and sending the system broadcast of the first PSAM card status changing, and writing the first preset value into the first preset device node, so as to notify the system driver to control the switching circuit of the common card slot to switch and connect to the security processor; and
Step D3, updating, by the SystemUI module, when receiving the system broadcast of the first PSAM card status changing, the display status of the first PSAM card icon in the status bar of the terminal device, and updating, by the system Settings module, the status of the PSAM card switch menu.

### Claim 13 (depends on 9)

The method according to claim 9, wherein further comprising: registering and listening to, by the system Settings module, the system broadcast of the first PSAM card status changing, when starting to display the PSAM card switch menu, after the Telephony service module sends the system broadcast of the first PSAM card status changing, calling a preset broadcast reception method of the system Settings module, receiving, by the system Settings module, the system broadcast of the first PSAM card status changing, obtaining the first PSAM card status in the system broadcast of the first PSAM card status changing; canceling listening to, by the system Settings module, the system broadcast of the first PSAM card status changing, when turning off a display of the PSAM card switch menu.

### Claim 14 (depends on 9)

The method according to claim 9, wherein the system Settings module comprises a preset custom class for implementing the PSAM card switch menu, the preset custom class inherits from the system switch menu, and a custom inner class of the preset custom class comprises an update menu method;
updating, by the system Settings module, the status of the PSAM card switch menu specifically comprises: calling the update menu method, and updating the status of the PSAM card switch menu according to the first PSAM card status.

### Claim 15 (depends on 1)

The method according to claim 1, wherein in the Step A5, passing the first PSAM card status to the Telephony service module specifically comprises: passing, by the terminal service module, the first PSAM card status to the Telephony service module through an update PSAM card status interface of a class of an external interface provided by the Telephony service module.

### Claim 16 (depends on 1)

The method according to claim 1, wherein the terminal device further comprises at least one PSAM card-specific card slot, and the method further comprises performing the following steps when a card is inserted in or removed from the specific card slot:
Step E1, performing, by the PSAMReader module, the PSAM card detection, and sending a second PSAM card status through the serial port according to the detection result;
Step E2, passing, by the terminal service module, the second PSAM card status to the Telephony service module, when receiving the second PSAM card status through the serial port;
Step E3, organizing and sending, by the Telephony service module, a system broadcast of the second PSAM card status changing, after receiving the second PSAM card status; and
Step E4, updating, by the SystemUI module, a display status of a second PSAM card icon in the status bar of the terminal device, when receiving the system broadcast of the second PSAM card status changing.

### Claim 17

A purchase secure access module PSAM card automatic identification and display device, wherein applied to a terminal device equipped with an application processor and a security processor, the terminal device comprises at least one common card slot for a PSAM card and a subscriber identity module SIM card, the device comprises:
a processor and a memory;
the memory, configured to store a computer program;
the processor, configured to invoke the computer program to perform the following steps:
Step A0, performing, by a Modem module, an identification operation of the SIM card, and reporting an identification status of the SIM card to a Telephony service module;
Step A1, receiving, by the Telephony service module, the identification status of the SIM card reported by the Modem module, and organizing and sending a system broadcast of a SIM card status changing;
Step A2, parsing, by a Telephone process module, the system broadcast of the SIM card status changing, after receiving the system broadcast of the SIM card status changing, creating a first preset device node in a file system when obtaining a first error SIM card status through parsing, writing a first preset value to the first preset device node, so as to notify a system driver to control a switching circuit of the common card slot to switch and connect to the security processor, and sending a message, that the first preset value has been written into the first preset device node, to a terminal service module;
Step A3, sending, by the terminal service module, an instruction to start a PSAM card detection through a serial port, after receiving the message that the first preset value has been written into the first preset device node;
Step A4, performing, by a PSAMReader module, the PSAM card detection, when receiving the instruction to start the PSAM card detection through the serial port, and returning a first PSAM card status through the serial port according to a detection result;
Step A5, passing, by the terminal service module, the first PSAM card status to the Telephony service module, when receiving the first PSAM card status through the serial port;
Step A6, organizing and sending, by the Telephony service module, the system broadcast of the first PSAM card status changing, after receiving the first PSAM card status;
Step A7, updating, by a SystemUI module, a display status of a first PSAM card icon in a status bar of the terminal device, when receiving the system broadcast of the first PSAM card status changing;
the Modem module, the Telephony service module, the Telephone process module, the terminal service module and the SystemUI module are arranged on the application processor, the PSAMReader module is arranged on the security processor; when the terminal device is powered on, the switching circuit of the common card slot is connected to the application processor by default.

### Claim 18 (depends on 1)

An electronic device, wherein comprising: a processor and a memory;
the memory, configured to store a computer program;
the processor, configured to perform a method according to claim 1 by invoking the computer program.

### Claim 19 (depends on 1)

A chip system, wherein comprising a processor and an interface;
the processor is configured to implement the method according to claim 1 through the interface.

### Claim 20 (depends on 1)

A non-transitory computer-readable storage medium, wherein configured to store a computer program, when the computer program runs on a computer, the computer executes the method according to claim 1.
