CN107333254B - Data processing method and device for multi-type subscriber identification module card - Google Patents

Data processing method and device for multi-type subscriber identification module card Download PDF

Info

Publication number
CN107333254B
CN107333254B CN201710503212.5A CN201710503212A CN107333254B CN 107333254 B CN107333254 B CN 107333254B CN 201710503212 A CN201710503212 A CN 201710503212A CN 107333254 B CN107333254 B CN 107333254B
Authority
CN
China
Prior art keywords
storage path
module card
subscriber identity
user identification
type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710503212.5A
Other languages
Chinese (zh)
Other versions
CN107333254A (en
Inventor
刘万禄
梁辉
李洁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201710503212.5A priority Critical patent/CN107333254B/en
Publication of CN107333254A publication Critical patent/CN107333254A/en
Application granted granted Critical
Publication of CN107333254B publication Critical patent/CN107333254B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides a data processing method and a device for a multi-type subscriber identity module card, wherein the method comprises the following steps: receiving a first operation instruction for operating data in a user identification module card, wherein the first operation instruction comprises the type of the data to be operated and a first storage path, and the first storage path is a storage path corresponding to the type of the data to be operated in a preset storage path list; acquiring a second storage path corresponding to the type of the data to be operated in the subscriber identity module card; judging whether the first storage path and the second storage path are the same; if not, modifying the first storage path in the first operation instruction into a second storage path to obtain a second operation instruction, and sending the second operation instruction to the subscriber identity module card. The method is used for improving the compatibility of the terminal equipment.

Description

Data processing method and device for multi-type subscriber identification module card
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a data processing method and device for a multi-type subscriber identity module card.
Background
In mobile cellular communications, it is generally necessary to install a subscriber module Identification card in a terminal device (e.g. a mobile phone, a tablet computer, etc.) so that the terminal device can communicate with the subscriber module Identification card, for example, the subscriber Identification module card may be a sim (subscriber identity module) card or a uim (user identity module) card.
Currently, subscriber identity module cards can be classified into military subscriber identity module cards and civilian subscriber identity module cards. User data, network parameters and the like can be stored in both the military user identification module card and the civil user identification module card, and for example, the user data can include a telephone directory, short messages and the like. The military user identification module card and the civil user identification module card are mainly different in that the storage path of the same type of data in the military user identification module card is different from that in the civil user identification module card, for example, the storage path of a short message in the military user identification module card is different from that in the civil user identification module card. When a user or a related module in a terminal device operates data in a subscriber identity module card (for example, reads a short message, a phone book, etc.), it is necessary to know a storage path of the data in the subscriber identity module card and operate corresponding data according to the storage path.
In the prior art, when a terminal device leaves a factory, a storage path of each type of data in a user identification module card of the type is preset in the terminal device according to the type of the user identification module card that the terminal device needs to support, so that the terminal device operates the data in the user identification module card according to the preset storage path in an operation process. However, in the prior art, since the data storage paths of the military user identification module card and the civil user identification module card are different, the terminal device can only identify one corresponding type of user identification module card according to the preset storage path, and the compatibility of the terminal device is poor.
Disclosure of Invention
The embodiment of the invention provides a data processing method and a data processing device for multi-type subscriber identity module cards, which improve the compatibility of terminal equipment to the different types of subscriber identity module cards.
In a first aspect, an embodiment of the present invention provides a data processing method for a multi-type subscriber identity module card, which is applied to a terminal device equipped with a subscriber identity module card, and the method includes:
receiving a first operation instruction for operating data in the subscriber identity module card, wherein the first operation instruction comprises the type of the data to be operated and a first storage path, and the first storage path is a storage path corresponding to the type of the data to be operated in a preset storage path list;
acquiring a second storage path corresponding to the type of the data to be operated in the user identification module card;
judging whether the first storage path and the second storage path are the same;
if not, modifying the first storage path in the first operation instruction into the second storage path to obtain a second operation instruction, and sending the second operation instruction to the SIM card.
In a possible implementation manner, the obtaining a second storage path corresponding to the type of the data to be operated in the subscriber identity module card includes:
acquiring a storage path list of the subscriber identity module card, wherein the storage path list comprises a plurality of data types and storage paths corresponding to the data types, and the storage path list is generated when the subscriber identity module card is initialized;
and acquiring the second storage path in the storage path list according to the type of the data to be operated.
In another possible implementation, before receiving the first operation instruction for the subscriber identity module card, the method further includes:
acquiring a user identification module card insertion instruction, wherein the user identification module card insertion instruction is used for indicating that a user identification module card is inserted into terminal equipment;
acquiring the type of the subscriber identity module card;
and determining a storage path list of the user identification module card according to the type of the user identification module card.
In another possible embodiment, the obtaining the type of the subscriber identity module card includes:
acquiring a preset reference storage path set, wherein the reference storage path set comprises a plurality of user identification module card types supported by the terminal equipment and reference storage paths corresponding to the user identification module card types;
according to a preset sequence, reading data in the user identification module according to the reference storage path in the reference storage path set in sequence until the data are read in the user identification module card;
and determining the type of the user identification module card corresponding to the read reference storage path of the data as the type of the user identification module card.
In another possible embodiment, the subscriber identity module card is a military subscriber identity module card or a civil subscriber identity module card, wherein the storage path of the same type of data in the military subscriber identity module card is different from the storage path in the civil subscriber identity module card.
In a second aspect, an embodiment of the present invention provides a data processing apparatus for a multi-type subscriber identity module card, which is applied to a terminal device equipped with a subscriber identity module card, and includes a receiving module, a first obtaining module, a determining module, a sending module, and a modifying module, wherein,
the receiving module is used for receiving a first operation instruction for operating data in the user identification module card, wherein the first operation instruction comprises a type of data to be operated and a first storage path, and the first storage path is a storage path corresponding to the type of the data to be operated in a preset storage path list;
the first obtaining module is used for obtaining a second storage path corresponding to the type of the data to be operated in the user identification module card;
the judging module is used for judging whether the first storage path and the second storage path are the same;
the modification module is configured to modify the first storage path in the first operation instruction to the second storage path to obtain a second operation instruction when the determination module determines that the first storage path and the second storage path are different, and correspondingly, the sending module is further configured to send the second operation instruction to the subscriber identity module card.
In a possible implementation manner, the first obtaining module is specifically configured to:
acquiring a storage path list of the subscriber identity module card, wherein the storage path list comprises a plurality of data types and storage paths corresponding to the data types, and the storage path list is generated when the subscriber identity module card is initialized;
and acquiring the second storage path in the storage path list according to the type of the data to be operated.
In another possible embodiment, the apparatus further comprises a second obtaining module, a third obtaining module, and a determining module, wherein,
the second obtaining module is used for obtaining a subscriber identity module card inserting instruction before the receiving module receives a first operation instruction of the subscriber identity module card, and the subscriber identity module card inserting instruction is used for indicating that the subscriber identity module card is inserted into the terminal equipment;
the third obtaining module is used for obtaining the type of the user identification module card;
the determining module is used for determining a storage path list of the user identification module card according to the type of the user identification module card.
In another possible implementation manner, the third obtaining module is specifically configured to:
acquiring a preset reference storage path set, wherein the reference storage path set comprises a plurality of user identification module card types supported by the terminal equipment and reference storage paths corresponding to the user identification module card types;
according to a preset sequence, reading data in the user identification module according to the reference storage path in the reference storage path set in sequence until the data are read in the user identification module card;
and determining the type of the user identification module card corresponding to the read reference storage path of the data as the type of the user identification module card.
In another possible embodiment, the subscriber identity module card is a military subscriber identity module card or a civil subscriber identity module card, wherein the storage path of the same type of data in the military subscriber identity module card is different from the storage path in the civil subscriber identity module card.
In the data processing method and device for the multi-type subscriber identity module card provided by the embodiment of the invention, the terminal equipment is provided with the preset storage path list, and the preset storage path list is a storage path list corresponding to any one type of subscriber identity module card. When an application program or a network processing related module generates a first operation instruction for operating data in a user identification module card, determining a first storage path in the first operation instruction according to a preset storage path list. After the data processing device receives a first operation instruction sent by an application program or a network processing related module, whether a first storage path in the first operation instruction is the same as a second storage path corresponding to a user identification module card currently installed in the terminal equipment or not is judged, if so, the first operation instruction is sent to the user identification module card, if not, the first storage path in the first operation instruction is modified into a second storage path to obtain a second operation instruction, and the second operation instruction is sent to the user identification module card. In the above process, the data processing device arranged in the modem can correct the memory path in the operation instruction sent to the subscriber identity module card, so that any type of subscriber identity module card can normally operate in the terminal equipment, the terminal equipment can identify various types of subscriber identity module cards, and the compatibility of the terminal equipment is further improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of a data processing method for a multi-type subscriber identity module card according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a data processing method for a multi-type SIM card according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a method for generating a storage path list according to an embodiment of the present invention;
FIG. 4 is a first schematic structural diagram of a data processing apparatus of a multi-type SIM card according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a data processing apparatus of a multi-type subscriber identity module card according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic view of an application scenario of a data processing method for a multi-type subscriber identity module card according to an embodiment of the present invention. Referring to fig. 1, a subscriber identity module card (hereinafter, the subscriber identity module card is referred to as a SIM card for example), a baseband processor modem, a plurality of applications (such as a phone book application, a short message application, etc.), and a network processing related module are disposed in the terminal device. Optionally, the terminal device may be a mobile phone, a tablet computer, or the like. Optionally, the SIM card may be a military SIM card, or a civil SIM card, and user data, network data, and the like are stored in the SIM card.
In the actual application process, the user may operate the data in the SIM card through an application installed in the terminal device, and the network processing related module in the terminal device may also operate the data in the SIM card. In any way of operating data in the SIM card, the data in the SIM card needs to be operated by the modem.
In the application, a preset storage path list is arranged in the terminal equipment, and the preset storage path list can correspond to a military SIM card and also can correspond to a civil SIM card. After inserting a type of SIM card (the SIM card may be a military SIM card or a civil SIM card) into the terminal device, the modem may identify the type of the SIM card and record a storage path corresponding to the type of the SIM card. In the operation process of the terminal equipment, when an application program or a network processing related module needs to operate the SIM card, a first operation instruction is generated according to a preset storage path list, the first operation instruction is sent to the modem, the modem judges whether a storage path in the first operation instruction is consistent with a storage path corresponding to the SIM currently installed in the terminal equipment, if not, the storage path in the first operation instruction is modified to obtain a second operation instruction, and the second operation instruction is sent to the SIM.
In the application, the processing flow of the modem of the terminal equipment is improved, so that the terminal equipment can identify the military SIM card and the civil SIM card. Of course, a processing module in the modem may also be modified to implement the technical solution shown in the present application.
The technical means shown in the present application will be described in detail below with reference to specific examples. It should be noted that the following specific embodiments may be combined with each other, and description of the same or similar contents is not repeated in different embodiments.
Fig. 2 is a schematic flow chart of a data processing method for a multi-type subscriber identity module card according to an embodiment of the present invention. Referring to fig. 2, the method may include:
s201, receiving a first operation instruction for operating data in the user identification module card, wherein the first operation instruction comprises the type of the data to be operated and a first storage path, and the first storage path is a storage path corresponding to the type of the data to be operated in a preset storage path list.
The execution main body of the embodiment of the present invention may be a data processing apparatus of a multi-type subscriber identity module card (hereinafter, referred to as a data processing apparatus for short), the data processing apparatus may be a processing module in a modem of a terminal device, and the data processing apparatus may be implemented by software, or the data processing apparatus may be implemented by a combination of software and hardware.
In the embodiment of the present invention, a preset storage path list is preset in the terminal device, where the preset storage path list may be a storage path list corresponding to a military user identification module card, and may also be a storage path list corresponding to a civil user identification module card. The preset storage path list comprises storage paths corresponding to each data type. In the actual application process, the storage path list corresponding to the subscriber identity module card of the same type is usually fixed.
For example, when the preset storage path list is a storage path list corresponding to a military user identification module card, the preset storage path list may be as shown in table 1:
TABLE 1
Data type Storage path
Short Message (Message) 7F3D/Message
Telephone book (Phonewood) 7F3D/Phonebook
Network parameter (Network) 7F3D/Network
…… ……
When the preset storage path list is a storage path list corresponding to the civil user identification module card, the preset storage path list may be as shown in table 2:
TABLE 2
Data type Storage path
Short Message (Message) 7F20/Message
Telephone book (Phonewood) 7F20/Phonebook
Network parameter (Network) 7F20/Network
…… ……
Optionally, the first operation instruction may be sent by an application program in the terminal device, for example, the application program may be a phone book application program, a short message application program, and the like in the terminal device. Specifically, a user can input an operation in an application program, the application program obtains a first storage path from a preset storage path list according to the type of data operated by the user, generates a first operation instruction, and carries the type of data to be operated and the first storage path in the first operation instruction. Of course, the first operation instruction may further include an operation type, for example, the operation type may be an inquiry operation, a deletion operation, an addition operation, and the like, and in an actual application process, content included in the first operation instruction may be set according to actual needs, which is not specifically limited in this embodiment of the present invention.
For example, assuming that the preset storage path list is a storage path list corresponding to the military user identification module card, after the user inputs a viewing operation in the short Message application program, the short Message application program obtains the first storage path 7F3D/Message from the preset storage path list shown in table 1 according to the data type (Message) of the operation, and generates a first operation instruction, where the first operation instruction includes the type (Message) of the data to be operated and the first storage path (7F 3D/Message).
Optionally, the first operation instruction may also be generated by a network processing related module in the terminal device, for example, when the network processing related module needs to use or modify a network parameter in the subscriber identity module card, the network processing related module may generate the first operation instruction. It should be noted that, for the process of generating the first operation instruction by the network processing related module, reference may be made to the process of generating the first operation instruction by the application program, which is not described herein again.
S202, acquiring a second storage path corresponding to the type of the data to be operated in the user identification module card.
Optionally, a storage path list of the user identification module card currently installed in the terminal device may be obtained, and the second storage path may be obtained in the storage path list according to the type of the data to be operated. The storage path list is generated when the subscriber identity module card is initialized, and a method for generating the storage path list is described in detail in the embodiment shown in fig. 3, which is not described herein again.
S203, judging whether the first storage path and the second storage path are the same.
If yes, go to step S204.
If not, go to S205.
Optionally, when the type of the subscriber identity module card corresponding to the preset storage path list is the same as the type of the subscriber identity module card currently installed in the terminal device, the first storage path and the second storage path are the same, and if not, the first storage path and the second storage path are different.
And S204, sending a first operation instruction to the user identification module card.
When the first storage path and the second storage path are determined to be the same, the first operation instruction may be directly sent to the subscriber identity module card.
S205, modifying the first storage path in the first operation instruction into a second storage path to obtain a second operation instruction, and sending the second operation instruction to the SIM card.
And when the first storage path is determined to be different from the second storage path, replacing the first storage path in the first operation instruction with the second storage path to obtain a second operation instruction, and then sending the second operation instruction to the user identification module card.
And after the user identification module card receives the second operation instruction, operating the data in the second storage path according to the second storage path in the second operation instruction. And if the user identification module card needs to feed back the operation result to the application program or the network processing related module, feeding back the result.
In the data processing method for the multi-type subscriber identity module card provided by the embodiment of the invention, the terminal equipment is provided with the preset storage path list, and the preset storage path list is a storage path list corresponding to any one type of subscriber identity module card. When an application program or a network processing related module generates a first operation instruction for operating data in a user identification module card, determining a first storage path in the first operation instruction according to a preset storage path list. After the data processing device receives a first operation instruction sent by an application program or a network processing related module, whether a first storage path in the first operation instruction is the same as a second storage path corresponding to a user identification module card currently installed in the terminal equipment or not is judged, if so, the first operation instruction is sent to the user identification module card, if not, the first storage path in the first operation instruction is modified into a second storage path to obtain a second operation instruction, and the second operation instruction is sent to the user identification module card. In the above process, the data processing device arranged in the modem can correct the memory path in the operation instruction sent to the subscriber identity module card, so that any type of subscriber identity module card can normally operate in the terminal equipment, the terminal equipment can identify various types of subscriber identity module cards, and the compatibility of the terminal equipment is further improved.
On the basis of any of the above embodiments, optionally, after the subscriber identity module card is inserted into the terminal device, the storage path list of the subscriber identity module card inserted into the terminal device needs to be generated, and the following describes in detail the process of generating the storage path list of the subscriber identity module card through the embodiment shown in fig. 3.
Fig. 3 is a flowchart illustrating a method for generating a storage path list according to an embodiment of the present invention. Referring to fig. 3, the method may include:
s301, a user identification module card insertion instruction is obtained and used for indicating that the user identification module card is inserted into the terminal equipment.
After the SIM card is inserted into the terminal equipment, the terminal equipment generates an SIM card insertion instruction.
S302, obtaining the type of the user identification module card.
The type of the user identification module card is military user identification module card or civil user identification module card.
Optionally, the type of the subscriber identity module card may be obtained through at least two possible implementations:
one possible implementation is:
the type of the subscriber identity module card is added to the identifier of the subscriber identity module card, and correspondingly, the type of the subscriber identity module card can be obtained according to the identifier of the subscriber identity module card. Of course, it is also possible to record the type of the subscriber identity module card in a fixed storage location of the subscriber identity module card, and correspondingly, to read the type of the subscriber identity module card in the fixed storage location of the subscriber identity module card.
In this feasible implementation, the type of the sim card can be conveniently and quickly obtained, but the existing sim card needs to be modified.
Another possible implementation:
acquiring a preset reference storage path set, and reading data in a user identification module according to the reference storage paths in the reference storage path set in sequence according to a preset sequence until the data is read in a user identification module card; and determining the type of the user identification module card corresponding to the read reference storage path of the data as the type of the user identification module card.
Optionally, the reference storage path set includes a plurality of subscriber identity module card types supported by the terminal device and a reference storage path corresponding to each subscriber identity module card type, and the subscriber identity module card type is a military subscriber identity module card or a civil subscriber identity module card. The reference storage path is a storage path corresponding to any data type and corresponding to the type of the SIM card. For example, the reference storage path set may be as shown in table 3:
TABLE 3
Subscriber identity module card type Reference memory path
Military user identification module card 7F3D/Network
Civil user identification module card 7F20/Network
In the reference storage path set shown in fig. 3, the reference storage path is used to obtain the network parameters. It should be noted that table 3 illustrates the reference storage path set only in an exemplary form, and does not limit the reference storage paths in the reference storage path set, and in an actual application process, the reference storage paths in the reference storage path set may be set according to actual needs.
For example, network parameters may be read in the subscriber identity module according to a reference storage path corresponding to the military subscriber identity module card, and if the network parameters may be successfully read in the subscriber identity module according to the reference storage path corresponding to the military subscriber identity module card, it is determined that the type of the subscriber identity module card currently installed in the terminal device is the military subscriber identity module card; if the network parameters cannot be successfully read in the subscriber identification module according to the reference storage path corresponding to the military subscriber identification module card, the network parameters are successfully read in the subscriber identification module according to the reference storage path corresponding to the civil subscriber identification module card, and if the network parameters can be successfully read in the subscriber identification module according to the reference storage path corresponding to the civil subscriber identification module card, the type of the subscriber identification module card currently installed in the terminal equipment is determined to be the civil subscriber identification module card.
For example, whether the reading of the data in the subscriber identity module card is successful or not may be determined according to the status word returned by the subscriber identity module card, for example, when the status word SW1 is 0x94 and SW2 is 0x4, the reading of the data in the subscriber identity module card which is not successful may be determined, and when the status word SW1 is 0x90 and SW2 is 0x0, the reading of the data in the subscriber identity module card which is successful may be determined.
In this feasible implementation, the subscriber identity module card currently installed in the terminal device can be determined without modifying the existing subscriber identity module card.
S303, determining a storage path list of the user identification module card according to the type of the user identification module card.
Optionally, the storage path list corresponding to each type of the subscriber identity module card may be pre-stored, and after determining that the type of the subscriber identity module card installed in the terminal device is obtained, the storage path list corresponding to the type of the subscriber identity module card is obtained according to the type of the subscriber identity module card.
The technical solutions shown in the present application will be described in detail below by specific examples.
Illustratively, the terminal device can identify both military and civilian subscriber identity modules. When the terminal device leaves the factory, a preset storage path list may be set in the terminal device, where the preset storage path list is a storage path list corresponding to the civil user identification module card, and the preset storage path list is shown in table 4:
TABLE 4
Figure BDA0001334140990000111
Figure BDA0001334140990000121
In an actual application process, after a user installs a military user identification module card in a terminal device, the type of the user identification module card installed in the terminal device is obtained, and the type of the user identification module card may be obtained by the method described in the embodiment of fig. 3, which is not described herein again.
After determining that the subscriber identity module card installed in the terminal device is the military subscriber identity module card, acquiring a corresponding storage path list of the military subscriber identity module card, assuming that the acquired corresponding storage path list of the military subscriber identity module card is shown in table 5:
TABLE 5
Data type Storage path
Short Message (Message) 7F3D/Message
Telephone book (Phonewood) 7F3D/Phonebook
Network parameter (Network) 7F3D/Network
In the actual application process, when a user needs to check the phonebook in the user identification module card through the phonebook application program, the user inputs corresponding operations in the terminal device through the phonebook application program, and the phonebook application program obtains the storage path 1 corresponding to the phonebook data type according to the preset storage path list shown in table 4: 7F 20/Phonewood, and generating an operation instruction 1, wherein the operation instruction 1 comprises: phonewood, 7F 20/Phonewood, the Phonebook application sends an operation instruction 1 to the data processing means in the modem.
After receiving the operation instruction 1, the data processing apparatus acquires a storage path 1 in the operation instruction 1: 7F20/Phonebook, the data processing apparatus acquires the storage path 2 corresponding to Phonebook from the storage path list corresponding to the subscriber identity module card installed in the terminal device shown in table 5: 7F 3D/Phonebook. And the data processing device judges that the storage path 1(7F 20/Phonewood) is different from the storage path 2(7F 3D/Phonewood), the data processing device modifies the storage path 1 in the operation instruction 1 into the storage path 2 to obtain an operation instruction 2, and the operation instruction 2 comprises the Phonewood, 7F 3D/Phonewood.
The data processing device sends an operation instruction 2 to a user identification module card installed in the terminal device, and the user identification module card obtains data of the Phonewood type from 7F 3D/Phonewood according to 7F 3D/Phonewood in the operation instruction 2 and sends the data of the Phonewood type to the phone book application program.
Fig. 4 is a first schematic structural diagram of a data processing apparatus of a multi-type subscriber identity module card according to an embodiment of the present invention. The data processing means may be a processing module in the modem of the terminal device, see fig. 4, and comprises a receiving module 11, a first obtaining module 12, a determining module 13, a sending module 14 and a modifying module 15, wherein,
the receiving module 11 is configured to receive a first operation instruction for operating data in the user identification module card, where the first operation instruction includes a type of data to be operated and a first storage path, and the first storage path is a storage path in a preset storage path list and corresponding to the type of the data to be operated;
the first obtaining module 12 is configured to obtain a second storage path corresponding to the type of the data to be operated in the subscriber identity module card;
the judging module 13 is configured to judge whether the first storage path and the second storage path are the same;
the sending module 14 is configured to send the first operation instruction to the subscriber identity module card when the determining module 13 determines that the first storage path and the second storage path are the same;
the modifying module 15 is configured to modify the first storage path in the first operation instruction to the second storage path to obtain a second operation instruction when the determining module 13 determines that the first storage path and the second storage path are different, and correspondingly, the sending module 14 is further configured to send the second operation instruction to the subscriber identity module card.
The data processing apparatus for multiple types of sim cards provided in the embodiments of the present invention may implement the technical solutions shown in the above embodiments of the method, and the implementation principles and beneficial effects thereof are similar, and are not described herein again.
In a possible implementation, the first obtaining module 12 is specifically configured to:
acquiring a storage path list of the subscriber identity module card, wherein the storage path list comprises a plurality of data types and storage paths corresponding to the data types, and the storage path list is generated when the subscriber identity module card is initialized;
and acquiring the second storage path in the storage path list according to the type of the data to be operated.
Fig. 5 is a schematic structural diagram of a data processing apparatus of a multi-type subscriber identity module card according to an embodiment of the present invention. On the basis of the embodiment shown in fig. 4, please refer to fig. 5, the apparatus further includes a second obtaining module 16, a third obtaining module 17 and a determining module 18, wherein,
the second obtaining module 16 is configured to obtain a subscriber identity module card insertion instruction before the receiving module receives a first operation instruction for the subscriber identity module card, where the subscriber identity module card insertion instruction is used to indicate that the subscriber identity module card is inserted into a terminal device;
the third obtaining module 17 is configured to obtain the type of the sim card;
the determining module 18 is configured to determine a storage path list of the subscriber identity module card according to the type of the subscriber identity module card.
In another possible implementation manner, the third obtaining module 17 is specifically configured to:
acquiring a preset reference storage path set, wherein the reference storage path set comprises a plurality of user identification module card types supported by the terminal equipment and reference storage paths corresponding to the user identification module card types;
according to a preset sequence, reading data in the user identification module according to the reference storage path in the reference storage path set in sequence until the data are read in the user identification module card;
and determining the type of the user identification module card corresponding to the read reference storage path of the data as the type of the user identification module card.
In another possible embodiment, the subscriber identity module card is a military subscriber identity module card or a civil subscriber identity module card, wherein the storage path of the same type of data in the military subscriber identity module card is different from the storage path in the civil subscriber identity module card.
The data processing apparatus for multiple types of sim cards provided in the embodiments of the present invention may implement the technical solutions shown in the above embodiments of the method, and the implementation principles and beneficial effects thereof are similar, and are not described herein again.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the embodiments of the present invention, and are not limited thereto; although embodiments of the present invention have been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the embodiments of the present invention.

Claims (8)

1. A data processing method of multi-type user identification module card is characterized in that the method is applied to terminal equipment provided with the user identification module card, and the method comprises the following steps:
receiving a first operation instruction for operating data in the subscriber identity module card, wherein the first operation instruction comprises the type of the data to be operated and a first storage path, and the first storage path is a storage path corresponding to the type of the data to be operated in a preset storage path list;
acquiring a second storage path corresponding to the type of the data to be operated in the user identification module card;
judging whether the first storage path and the second storage path are the same;
if not, modifying the first storage path in the first operation instruction into the second storage path to obtain a second operation instruction, and sending the second operation instruction to the SIM card;
acquiring a second storage path corresponding to the type of the data to be operated in the subscriber identification module card, wherein the second storage path comprises:
acquiring a storage path list of the subscriber identity module card, wherein the storage path list comprises a plurality of data types and storage paths corresponding to the data types, and the storage path list is generated when the subscriber identity module card is initialized;
and acquiring the second storage path in the storage path list according to the type of the data to be operated.
2. The method of claim 1, wherein prior to receiving the first operating instruction for the subscriber identity module card, further comprising:
acquiring a user identification module card insertion instruction, wherein the user identification module card insertion instruction is used for indicating that a user identification module card is inserted into terminal equipment;
acquiring the type of the subscriber identity module card;
and determining a storage path list of the user identification module card according to the type of the user identification module card.
3. The method of claim 2, wherein obtaining the type of the subscriber identity module card comprises:
acquiring a preset reference storage path set, wherein the reference storage path set comprises a plurality of user identification module card types supported by the terminal equipment and reference storage paths corresponding to the user identification module card types;
according to a preset sequence, reading data in the user identification module according to the reference storage path in the reference storage path set in sequence until the data are read in the user identification module card;
and determining the type of the user identification module card corresponding to the read reference storage path of the data as the type of the user identification module card.
4. The method of any one of claims 1-3, wherein the subscriber identity module card is a military subscriber identity module card or a civilian subscriber identity module card, and wherein the same type of data is stored in the military subscriber identity module card at a different path than the path stored in the civilian subscriber identity module card.
5. A data processing device of a multi-type user identification module card is characterized in that the device is applied to terminal equipment provided with the user identification module card and comprises a receiving module, a first obtaining module, a judging module, a sending module and a modifying module, wherein,
the receiving module is used for receiving a first operation instruction for operating data in the user identification module card, wherein the first operation instruction comprises a type of data to be operated and a first storage path, and the first storage path is a storage path corresponding to the type of the data to be operated in a preset storage path list;
the first obtaining module is used for obtaining a second storage path corresponding to the type of the data to be operated in the user identification module card;
the judging module is used for judging whether the first storage path and the second storage path are the same;
the modification module is configured to modify the first storage path in the first operation instruction to the second storage path to obtain a second operation instruction when the determination module determines that the first storage path and the second storage path are different, and correspondingly, the sending module is further configured to send the second operation instruction to the subscriber identity module card;
the first obtaining module is specifically configured to:
acquiring a storage path list of the subscriber identity module card, wherein the storage path list comprises a plurality of data types and storage paths corresponding to the data types, and the storage path list is generated when the subscriber identity module card is initialized;
and acquiring the second storage path in the storage path list according to the type of the data to be operated.
6. The apparatus of claim 5, further comprising a second acquisition module, a third acquisition module, and a determination module, wherein,
the second obtaining module is used for obtaining a subscriber identity module card inserting instruction before the receiving module receives a first operation instruction of the subscriber identity module card, and the subscriber identity module card inserting instruction is used for indicating that the subscriber identity module card is inserted into the terminal equipment;
the third obtaining module is used for obtaining the type of the user identification module card;
the determining module is used for determining a storage path list of the user identification module card according to the type of the user identification module card.
7. The apparatus of claim 6, wherein the third obtaining module is specifically configured to:
acquiring a preset reference storage path set, wherein the reference storage path set comprises a plurality of user identification module card types supported by the terminal equipment and reference storage paths corresponding to the user identification module card types;
according to a preset sequence, reading data in the user identification module according to the reference storage path in the reference storage path set in sequence until the data are read in the user identification module card;
and determining the type of the user identification module card corresponding to the read reference storage path of the data as the type of the user identification module card.
8. The apparatus of any one of claims 5-7, wherein the subscriber identity module card is a military subscriber identity module card or a civilian subscriber identity module card, and wherein a storage path of the same type of data in the military subscriber identity module card is different from a storage path in the civilian subscriber identity module card.
CN201710503212.5A 2017-06-27 2017-06-27 Data processing method and device for multi-type subscriber identification module card Active CN107333254B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710503212.5A CN107333254B (en) 2017-06-27 2017-06-27 Data processing method and device for multi-type subscriber identification module card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710503212.5A CN107333254B (en) 2017-06-27 2017-06-27 Data processing method and device for multi-type subscriber identification module card

Publications (2)

Publication Number Publication Date
CN107333254A CN107333254A (en) 2017-11-07
CN107333254B true CN107333254B (en) 2020-09-22

Family

ID=60197597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710503212.5A Active CN107333254B (en) 2017-06-27 2017-06-27 Data processing method and device for multi-type subscriber identification module card

Country Status (1)

Country Link
CN (1) CN107333254B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1976522A (en) * 2006-11-27 2007-06-06 Ut斯达康通讯有限公司 Mobile terminal equipment and method for supporting different kind of smart cards
CN101127979A (en) * 2007-09-04 2008-02-20 嘉兴闻泰通讯科技有限公司 A method for PHS mobile phone to be compatible to reading and writing of SIM card and UIM card number book
CN101442585A (en) * 2008-08-25 2009-05-27 深圳华为通信技术有限公司 Mobile terminal and method for accessing user card
CN102111487A (en) * 2009-12-28 2011-06-29 重庆重邮信科通信技术有限公司 Method and device for realizing global system for mobile communications (GSM) terminal to access 3G universal subscriber identity module (USIM) card
CN102307341A (en) * 2011-08-24 2012-01-04 中兴通讯股份有限公司 Method for improving card compatibility of terminal and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1976522A (en) * 2006-11-27 2007-06-06 Ut斯达康通讯有限公司 Mobile terminal equipment and method for supporting different kind of smart cards
CN101127979A (en) * 2007-09-04 2008-02-20 嘉兴闻泰通讯科技有限公司 A method for PHS mobile phone to be compatible to reading and writing of SIM card and UIM card number book
CN101442585A (en) * 2008-08-25 2009-05-27 深圳华为通信技术有限公司 Mobile terminal and method for accessing user card
CN102111487A (en) * 2009-12-28 2011-06-29 重庆重邮信科通信技术有限公司 Method and device for realizing global system for mobile communications (GSM) terminal to access 3G universal subscriber identity module (USIM) card
CN102307341A (en) * 2011-08-24 2012-01-04 中兴通讯股份有限公司 Method for improving card compatibility of terminal and terminal

Also Published As

Publication number Publication date
CN107333254A (en) 2017-11-07

Similar Documents

Publication Publication Date Title
US9391836B2 (en) Method and terminal for loading operator configuration information
CN106162517B (en) Virtual SIM card management method and system
EP3136761A1 (en) Method, device, and system for dynamically binding a smart card
US9924349B2 (en) Method, device, and system for dynamically binding a machine card
US20150373778A1 (en) Method and apparatus for multisim devices with embedded sim functionality
EP3562257A1 (en) Wireless fidelity (wi-fi) connection method and related product
US10178240B2 (en) Multi-card resource management method, device and multi-card terminal
CN104486748B (en) Contact number update method and mobile terminal
US10009891B2 (en) Communication method, server and terminal
CN111049831B (en) Generation control method and device of user hidden identifier and terminal
CN109195157B (en) Application management method and device and terminal
CN104484206A (en) Method, terminal and system for setting up application program
CN105744517A (en) Information authentication method and network side device
CN103813439A (en) Method for terminal register and terminal
CN107295500B (en) SIM card data control method and device and computer equipment
CN103686638A (en) Information processing method, device and terminal
CN103118358A (en) Unique identification mobile phone user registration method
CN104363629A (en) System, method and identification card for accessing operator networks
CN107333254B (en) Data processing method and device for multi-type subscriber identification module card
CN109525698B (en) SIM card identification configuration method, storage medium and mobile phone
CN104270496A (en) Method and device for displaying information of calling party
CN103559091A (en) Data scheduling method and split type terminal system
CN106937283B (en) Password-free authentication method and device for dual-card dual-standby terminal
EP3554142B1 (en) Wireless fidelity (wifi) connection method and related product
CN107846680B (en) User equipment for personalizing use of services and operation method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder