CN112261641B - Data processing method and device and terminal equipment - Google Patents
Data processing method and device and terminal equipment Download PDFInfo
- Publication number
- CN112261641B CN112261641B CN202011107817.0A CN202011107817A CN112261641B CN 112261641 B CN112261641 B CN 112261641B CN 202011107817 A CN202011107817 A CN 202011107817A CN 112261641 B CN112261641 B CN 112261641B
- Authority
- CN
- China
- Prior art keywords
- file
- module
- invalid
- communication module
- application
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 20
- 238000000034 method Methods 0.000 claims abstract description 29
- 238000004891 communication Methods 0.000 claims description 143
- 230000006870 function Effects 0.000 description 11
- 238000004590 computer program Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- GVVPGTZRZFNKDS-JXMROGBWSA-N geranyl diphosphate Chemical compound CC(C)=CCC\C(C)=C\CO[P@](O)(=O)OP(O)(O)=O GVVPGTZRZFNKDS-JXMROGBWSA-N 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/183—Processing at user equipment or user record carrier
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the application provides a data processing method, a data processing device and terminal equipment. In the method, a card reading module of the terminal equipment acquires the user identification card file and the file type and judges whether the user identification card file is valid or not. When the user identification card file is invalid, the card reading module informs the module corresponding to the user identification card invalid file according to the type of the user identification card invalid file, but the module irrelevant to the user identification card invalid file is not influenced, and the method can improve the use efficiency of the user identification card when the user identification card is invalid.
Description
Technical Field
The present application relates to the field of electronic communications, and in particular, to a data processing method and apparatus, and a terminal device.
Background
A Subscriber Identity card, such as a Subscriber Identity Module (SIM) card for a digital cellular telephone, contains information about the Subscriber. When the SIM card is applied to a terminal device, it has a local information holding function in addition to a communication connection function (including an authentication function).
At present, when an International Mobile Subscriber Identity (IMSI) in a basic File (Elementary File, EF) related to communication in a Subscriber Identity card is determined to be invalid, the whole Subscriber Identity card of the Subscriber Identity card is invalid, so that application files such as a phone book and the like of the Subscriber Identity card cannot be normally read, all functions of the Subscriber Identity card cannot be used, and user experience is affected. Therefore, when the important files in the subscriber identity card are determined to be invalid, how to improve the use efficiency of the subscriber identity card becomes an urgent problem to be solved.
Disclosure of Invention
The embodiment of the application provides a data processing method which is beneficial to improving the use efficiency of a user identification card.
In a first aspect, an embodiment of the present application provides a data processing method, which may be applied to a terminal device, where the terminal device includes a card reading module, a communication module, and an application module. The card reading module acquires a user identification card file, wherein the user identification card file comprises a file of the communication module and/or a file of the application module. When the file of the communication module is invalid, the card reading module determines that the communication module is in an invalid state; and/or when the file of the application module is invalid, the card reading module determines that the application module is in an invalid state.
In one implementation, a card reading module acquires a user identification card file type; and determining the user identification card file as a file of the communication module or a file of the application module according to the file type of the user identification card.
In one implementation, if the length and/or content of the file of the communication module is different from the preset length and/or content of the file, the file of the communication module is invalid.
In one implementation mode, when the file of the communication module is invalid, the card reading module sends first indication information to the communication module, and the first indication information is used for indicating the communication module to stop communication operation.
In one implementation, if the length and/or content of the file of the application module is different from the preset length and/or content of the file, the file of the application module is invalid.
In one implementation manner, when the file of the application module is invalid, the card reading module sends second indication information to the application module, where the second indication information is used for indicating the application module to stop the application operation.
In one implementation manner, the terminal device further includes an output module, where the output module outputs third indication information, and the third indication information is used for indicating that the communication module is in an invalid state; and/or the application module is in an invalid state.
In a second aspect, an embodiment of the present application provides a data processing apparatus, including:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a user identification card file which comprises a file of a communication module and/or a file of an application module;
the determining unit is used for determining that the communication module is in an invalid state when the file of the communication module is invalid; and/or determining that the application module is in an invalid state when the file of the application module is invalid.
In one implementation manner, the obtaining unit is further configured to obtain a file type of the subscriber identity module; and the determining unit is also used for determining the user identification card file as the file of the communication module or the file of the application module according to the file type of the user identification card.
In one implementation, if the length and/or content of the file of the communication module is different from the preset length and/or content of the file, the file of the communication module is invalid.
In one implementation manner, when the file of the communication module is invalid, the obtaining unit sends first indication information to the communication module, wherein the first indication information is used for indicating the communication module to stop the communication operation.
In one implementation, if the length and/or content of the file of the application module is different from the preset length and/or content of the file, the file of the application module is invalid.
In one implementation manner, when the file of the application module is invalid, the obtaining unit sends second indication information to the application module, where the second indication information is used for indicating the application module to stop the application operation.
In one implementation, the data processing apparatus further includes an output unit, configured to output third indication information, where the third indication information is used to indicate that the communication module is in an invalid state; and/or the application module is in an invalid state.
In a third aspect, an embodiment of the present application further provides a terminal device, including: a processor and a memory; the memory for storing program code; the processor is configured to execute the codes in the memory, so that the access network device performs the method in the first aspect or any implementation manner of the first aspect.
In a fourth aspect, embodiments of the present application provide a computer storage medium, which includes a program or instructions, when the program or instructions are run on a computer, the program or instructions cause the computer to perform the method described in the first aspect or any one of the implementation manners of the first aspect.
In the embodiment of the application, the terminal equipment acquires the file type of the user identification card and the file of the user identification card, and when the file of the user identification card is invalid, the corresponding module of the invalid file of the user identification card is informed, so that the corresponding module is invalid. But the module irrelevant to the invalid file of the user identification card is not influenced, so that the use efficiency of the invalid file of the user identification card can be improved, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic diagram of a communication system provided in an embodiment of the present application;
fig. 2 is a schematic structural diagram of a terminal device provided in an embodiment of the present application;
fig. 3 is a schematic flowchart of a data processing method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a data processing method applied to a terminal device according to an embodiment of the present application;
FIG. 5 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of another terminal device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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 application.
The Subscriber Identity Module includes a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), a CDMA Subscriber Identity Module (CSIM) under the standard, and the like, and includes files related to communication and applications, and has functions of authenticating a Subscriber and storing Subscriber data. For example, when the SIM card is inserted into the GSM terminal device, the communication-related file is valid, and the user authentication is successful, so that the communication can be realized. If the communication-related file is invalid, the user authentication fails, the SIM card is invalid as a whole, and the terminal device cannot perform local processing, such as reading a phone book.
Referring to fig. 1, fig. 1 is a communication system provided in an embodiment of the present application, where the communication system includes a terminal device and a network device. The terminal device can establish a wireless link with the network device for communication.
The terminal device may include, but is not limited to, a User Equipment (UE), a smart phone, a tablet computer, a wearable terminal device (such as a smart watch) having a wireless communication function, a Customer Premises Equipment (CPE), a module device having a communication function, and the like. For convenience of description, the terminal device may be simply referred to as a terminal.
The network device may be any device having a wireless transceiving function, and provides a wireless communication service for a terminal device within a coverage area, and the network device may include but is not limited to: a Base Station Subsystem (BSS), a Base Station Controller (BSC), a Base Transceiver Station (BTS) in a Global System for Mobile Communication (GSM), an evolved Node B (NodeB or eNB or e-NodeB) in a Long Term Evolution (LTE) System, a Base Station (gbb) or a serving Base Station (gbb) in a new radio access technology (NR), a Base Station (gbb) or a serving Base Station (TRP) in a 3GPP subsequent evolution (3 GPP) Base Station, an access Node in a WiFi System, a wireless relay Node, a wireless backhaul Node, and the like; wherein, the base station may be: macro base stations, micro base stations, pico base stations, small stations, relay stations, or balloon stations, etc. Multiple base stations may support the same technology network as mentioned above, or different technologies networks as mentioned above. The base station may contain one or more co-sited or non co-sited TRPs. The network device may also be a wireless controller, a Centralized Unit (CU), and/or a Distributed Unit (DU) in a Cloud Radio Access Network (CRAN) scenario.
In the communication system shown in fig. 1, a SIM card is inserted into a terminal device, the terminal device reads a communication related file in the SIM card, such as an International Mobile Subscriber Identity (IMSI), and interacts with a network device, if the IMSI is wrong, authentication of the terminal device fails, which may cause the entire SIM card to be unusable, thereby causing other files in the SIM card, such as some local files (e.g., a phone book, etc.), to be unusable, reducing the usage efficiency of the SIM card, and affecting the experience of an actual user.
In order to solve the above problem, in the method, a card reading module of a terminal device obtains a user identification card file and a file type, and when the user identification card file is invalid, a module corresponding to the invalid file of the user identification card is notified, and the corresponding module is invalid accordingly. But the module irrelevant to the invalid file of the user identification card is not influenced, so that the efficiency of the invalid file of the user identification card can be improved, and the user experience is improved.
The data processing method provided by the embodiment of the application can be applied to a terminal device as shown in fig. 2. The terminal device comprises a card reading module, a communication module and an application module, and optionally, the terminal device further comprises an output module. The card reading module, the communication module, the application module and the output module can be connected through a bus, as shown in fig. 2.
The following provides a detailed explanation of examples of the present application.
Referring to fig. 3, fig. 3 is a schematic flowchart of a data processing method according to an embodiment of the present application, where the method may include the following steps 301 and 302.
Step 301: the card reading module acquires a user identification card file. The subscriber identity card file includes a file of the communication module and/or a file of the application module.
The card reading module can acquire a basic File (EF) of the user identification card through a command. The EF is a file for storing data, including a file of the communication module and a file of the application module.
The files of the communication module comprise IMSI, user authentication key Ki and the like, and the files are mainly used for user authentication to realize network interaction; and also includes Location Information (LOCI), Broadcast Control Channel Information (BCCH), etc. for implementing a call.
The files of the application module include, for example, a phonebook, a call log, a short message, etc. These files are mainly used for local application processing, for example, the user views a phone book, views call records.
Optionally, after the card reading module obtains the user identification card file, the card reading module may determine the type of the user identification card file. For example, it is determined that the currently acquired subscriber identity card file is a file of the communication module.
Step 302: when the file of the communication module is invalid, the card reading module determines that the communication module is in an invalid state; and/or when the file of the application module is invalid, the card reading module determines that the application module is in an invalid state.
The method and the device for judging whether the SIM card files are effective or not are judged according to different types of SIM card files. That is, when the user identification card file acquired by the card reading module is the file of the communication module, only the file of the communication module needs to be judged to be valid; when the user identification card file acquired by the card reading module is the file of the application module, only the fact that whether the file of the application module is valid needs to be judged.
In one implementation, the file invalidation of the communication module comprises: and if the length and/or the content of the file of the communication module are different from the preset length and/or content of the file, the file of the communication module is invalid. For example, if the obtained identifier of the file of the communication module is inconsistent with the preset identifier, the file of the communication module is invalid. For another example, if some critical files (such as IMSI) of the communication module are missing, and the length of the file is a special value 0, the file of the communication module is also invalid.
In one implementation, the file invalidation of the application module includes: and if the length and/or the content of the file of the application module are different from the preset length and/or content of the file, the file of the application module is invalid. For example, if the obtained identifier of the file of the application module is inconsistent with the preset identifier, the file of the application module is invalid. For another example, if some critical files (such as call records) of the application module are missing, and the length of the file is a special value 0, the file of the application module is also invalid.
It should be noted that the present embodiment will process the different types of the user identification card files separately for invalidation. That is, the communication module and the application module do not affect each other. For example, if the IMSI file of the communication module is missing, the communication module cannot perform authentication, that is, the communication module is in an invalid state. However, the communication module is in an invalid state, and reading of the call records of the application module is not influenced. For another example, if the call log of the application module is incorrect, the application module is in an invalid state. But the application module is in an invalid state, so that the communication operation of the communication module is not influenced.
Optionally, when the file of the communication module is valid, the card reading module determines that the communication module is in a valid state. For example, the length and/or content of the file of the communication module, such as the IMSI, is consistent with the preset length and/or content, and the communication module may perform authentication, that is, the communication module is in a valid state. And when the file of the application module is valid, the card reading module determines that the application module is in a valid state. For example, if the length and/or content of the file of the application module, such as the phone book, is consistent with the preset length and/or content, the application module may store the new phone contact, i.e. the application module is in the active state.
Optionally, when determining whether the user identification card file is valid, not all files are determined. That is, the card reading module only needs to determine the file of the communication module and the file of the application module. For example, if there are 20 files in the subscriber identity card, wherein there are 4 files in the communication module and 5 files in the application module, then it is only necessary to determine whether these 9 files are valid when determining whether the subscriber identity card file is valid.
Optionally, when determining that the user identification card file is invalid, only when the important file is invalid, the corresponding communication module or the entire module of the application module is in an invalid state. For example, when some optional files in the subscriber identity card are invalid, the corresponding modules are not affected.
Optionally, after step 302 is executed, the card reading module may further execute the following steps: and the card reading module informs the user that the module corresponding to the identification card file is valid or invalid.
When the user identification card file is invalid, the card reading module can send indication information to inform a module corresponding to the user identification card invalid file, and the corresponding module can stop corresponding operation. For example, when the file of the communication module is invalid, the communication module is notified that the file is invalid, and whether the file of the application module is invalid or not needs to be judged, so that the user identification card is not considered to be invalid as a whole when one of the modules is invalid. Therefore, when the communication module is invalid, the user can also perform local operation, and the use efficiency of the user identification card can be improved.
In one implementation mode, when the communication module is in an invalid state, the card reading module sends first indication information to the communication module, and the first indication information is used for indicating the communication module to stop communication operation. For example, the communication module receives the first indication information and then considers that the card is not in a current status, so that the communication module does not make unnecessary attempts (such as multiple attempts of network registration) to reduce power consumption.
In one implementation manner, when the application module is in an invalid state, the card reading module sends second indication information to the application module, where the second indication information is used for indicating the application module to stop application operation. And the application module stops the related operation when receiving the second indication information. E.g. stop logging new phone contacts, stop saving call records, etc.
In one implementation, the output module outputs third indication information, where the third indication information is used to indicate that the communication module is in an invalid state; and/or the application module is in an invalid state. For example, the third indication information may be that the terminal device plays a prompt tone through the output module, or displays a prompt icon on a display interface of the terminal device to remind the user. And the user can stop corresponding operation after knowing the third indication information. For example, the user experience can be improved without unnecessary attempts by the user to make a call, save a new phone contact, and the like.
The embodiment of the application provides a data processing method, wherein a card reading module of terminal equipment acquires a user identification card file and a file type, and when the user identification card file is invalid, the corresponding module of the invalid file of the user identification card is informed, and the corresponding module is invalid. But the module irrelevant to the invalid file of the user identification card is not influenced, so that the use efficiency of the invalid file of the user identification card can be improved, and the user experience is improved.
Based on the description in the embodiment of fig. 3, when the data processing method in the embodiment of fig. 3 is applied to the terminal device shown in fig. 2, the method may specifically include the following steps shown in fig. 4:
s41, the terminal equipment is powered on or the SIM card is inserted;
s42, the card reading module of the terminal device obtains the SIM card files, and meanwhile, the card reading module can obtain the types of the SIM card files; then, the card reading module can know that the SIM card file is a file of the communication module or a file of the application module according to the SIM card file type;
s43, if the SIM card file is the file of the communication module, the card reading module determines whether the file of the communication module is valid; if the SIM card file is the file of the application module, the card reading module judges whether the file of the application module is valid;
s44, if the file of the communication module is valid, the card reading module informs the communication module of the valid state; if the file of the application module is valid, the card reading module informs the application module of being in a valid state;
when the SIM card file is valid, the card reading module may send the indication information to notify the module corresponding to the valid file of the SIM card, and the corresponding operation of the corresponding module is normally performed. For example, when the file of the application module is valid, the application module is notified to be in the valid state, and whether the communication module is in the valid state needs to judge the file of the communication module, so that the SIM card is not considered to be valid as a whole when one of the modules is in the valid state. Therefore, when the application module is in an effective state, wrong information cannot be sent to the communication module, and the communication module performs unnecessary function attempts, so that the power consumption is reduced and the user experience is improved;
when the communication module is in an effective state, the terminal equipment considers that the communication module is in a card-containing state and can carry out communication operation; when the application module is in an effective state, the terminal device considers that the application module is in a card state, and application operation can be carried out;
if the file of the application module is invalid, the card reading module informs the application module of being in an invalid state; if the file of the communication module is invalid, the card reading module informs the communication module of an invalid state;
when the SIM card file is invalid, the card reading module may send indication information to notify the module corresponding to the invalid SIM card file, and the corresponding module may stop corresponding operations. For example, when the file of the communication module is invalid, the communication module is notified of the invalid state, and whether the application module is in the invalid state requires to judge the file of the application module. Therefore, only when the communication module is in an invalid state, the user can also perform local operation, so that the use efficiency of the SIM card can be improved;
when the communication module is in an invalid state, the terminal equipment considers that the communication module is in a non-card state, and the communication operation is stopped; when the application module is in an invalid state, the terminal equipment considers that the application module is in a no-card state, and application operation is stopped;
s45, if the communication module is in the invalid state, the terminal device outputs the indication information, such as playing a prompt tone, or displays a prompt icon on the display interface to prompt the user that the communication module is in the invalid state; if the application module is in an invalid state, the terminal equipment outputs indication information such as playing prompt tones or displays prompt icons on a display interface to prompt a user that the application module is in the invalid state;
the user can stop the corresponding operation after receiving the indication information. For example, when the user receives the indication information to indicate that the communication module is in an invalid state, the user stops dialing so as to avoid continuously trying to communicate and reduce power consumption; for another example, when the user receives the indication information indicating that the application module is in the invalid state, the user stops storing the new contact.
The above steps can also be executed when other subscriber identity cards, such as USIM cards, CSIM cards, etc., are inserted.
Based on the data processing method, the embodiment of the present application provides a data processing apparatus, which may be a computer program running in the terminal device and may be applied to the method embodiment for executing corresponding steps executed by devices in the data processing method. Referring to fig. 5, the apparatus includes an obtaining unit 501, a determining unit 502, and optionally, an output unit 503.
Wherein,
an obtaining unit 501, configured to obtain a user identification card file, where the user identification card file includes a file of a communication module and/or a file of an application module;
a determining unit 502, configured to determine that the communication module is in an invalid state when the file of the communication module is invalid; and/or, when the file of the application module is invalid, determining that the application module is in an invalid state.
In one embodiment, the obtaining unit 501 is further configured to obtain a user identification card file type; the determining unit 502 is further configured to determine the sim card file as a file of a communication module or a file of an application module according to the sim card file type.
In one embodiment, if the length and/or content of the file of the communication module is different from the preset length and/or content of the file, the file of the communication module is invalid.
In one embodiment, when the file of the communication module is invalid, the obtaining unit 501 sends first indication information to the communication module, where the first indication information is used to instruct the communication module to stop the communication operation.
In one embodiment, if the length and/or content of the file of the application module is different from the preset length and/or content of the file, the file of the application module is invalid.
In one embodiment, when the file of the application module is invalid, the obtaining unit 501 sends second indication information to the application module, where the second indication information is used to instruct the application module to stop the application operation.
In one embodiment, the data processing apparatus further includes an output unit 503, configured to output third indication information, where the third indication information is used to indicate that the communication module is in an invalid state; and/or the application module is in an invalid state.
It can be understood that the functions of each unit of this embodiment may be specifically implemented according to the method in fig. 3 in the foregoing embodiment, and the specific implementation process may refer to the related description of the method embodiment in fig. 3, which is not described again.
Based on the description of the above embodiment of the data processing method, another terminal device provided in the embodiment of the present application may be applied to the above data processing method, so as to perform corresponding steps of the terminal device in the data processing method. Referring to fig. 6, the internal structure of the terminal device may include a processor 601 and a memory 602. The processor 601 and the memory 602 in the terminal device may be connected by a bus or in other manners, and fig. 6 shown in the embodiment of the present application is taken as an example of connection by a bus. The memory 602 is used to store computer programs comprising program instructions, and the processor 601 is used to execute the program instructions stored by the memory 602.
In the embodiment of the present application, the processor 601 executes the executable program code in the memory 602 to perform the following operations:
acquiring a user identification card file, wherein the user identification card file comprises a file of a communication module and/or a file of an application module;
when the file of the communication module is invalid, the card reading module determines that the communication module is in an invalid state; and/or when the file of the application module is invalid, the card reading module determines that the application module is in an invalid state.
Acquiring the file type of a user identification card; and determining the user identification card file as a file of the communication module or a file of the application module according to the file type of the user identification card.
And if the length and/or the content of the file of the communication module are different from the preset length and/or content of the file, the file of the communication module is invalid.
In one embodiment, when the communication module is in the disabled state, the processor 601 is configured to send first indication information to the communication module, where the first indication information is used to instruct the communication module to stop the communication operation.
And if the length and/or the content of the file of the application module are different from the preset length and/or content of the file, the file of the application module is invalid.
In one embodiment, when the application module is in the invalid state, the processor 601 is configured to send second indication information to the application module, where the second indication information is used to instruct the application module to stop the application operation.
In one embodiment, the processor 601 outputs third indication information, where the third indication information is used to indicate that the communication module is in an invalid state; and/or the application module is in an invalid state.
It should be understood that, in the embodiment of the present application, the processor 601 is a computing core and a control core of the terminal device, and is adapted to implement one or more instructions, and specifically, adapted to load and execute one or more instructions so as to implement a corresponding method flow or a corresponding function. The Processor 601 may be a Central Processing Unit (CPU), and the Processor 601 may also be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 602 is a memory device in the terminal device for storing programs and data. It is understood that the memory 602 herein may include both the built-in storage medium of the terminal device and, of course, the extended storage medium supported by the terminal device. The memory 602 may include both read-only memory and random access memory and provides instructions and data to the processor 601. A portion of the memory 602 may also include non-volatile random access memory that may store files for the communication module, files for the application module, and the like.
In specific implementation, the processor 601 and the memory 602 described in this embodiment of the present application may execute the implementation described in the flow of the data processing method provided in fig. 3 in this embodiment of the present application, and may also execute the implementation described in the data processing apparatus shown in fig. 5 in this embodiment of the present application, which is not described herein again.
The embodiment of the application also provides a computer readable storage medium. The computer readable storage medium stores a computer program comprising program instructions that, when executed by a processor, perform the steps performed in fig. 3 of the above-described data processing method embodiment.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the foregoing is directed to embodiments of the present invention, other and further embodiments of the invention may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow.
Claims (10)
1. A data processing method is characterized in that the method is applied to terminal equipment, and the terminal equipment comprises a card reading module, a communication module and an application module; the method comprises the following steps:
the card reading module acquires a user identification card file, wherein the user identification card file comprises a file of a communication module and/or a file of an application module, and the file of the application module is used for local application processing;
when the file of the communication module is invalid, the card reading module determines that the communication module is in an invalid state; and/or the presence of a gas in the gas,
and when the file of the application module is invalid, the card reading module determines that the application module is in an invalid state.
2. The method of claim 1, wherein the card reading module obtains a subscriber identity card file, comprising:
the card reading module acquires the file type of the user identification card;
and determining the user identification card file as the file of the communication module or the file of the application module according to the type of the user identification card file.
3. The method of claim 1, wherein invalidating the file of the communication module comprises:
and if the length and/or the content of the file of the communication module are different from the preset length and/or content of the file, the file of the communication module is invalid.
4. The method according to any one of claims 1-3, further comprising:
when the file of the communication module is invalid, the card reading module sends first indication information to the communication module, and the first indication information is used for indicating the communication module to stop communication operation.
5. The method of claim 1, wherein the file invalidation of the application module comprises:
and if the length and/or the content of the file of the application module are different from the preset length and/or content of the file, the file of the application module is invalid.
6. The method of claim 1, 2 or 5, further comprising:
when the file of the application module is invalid, the card reading module sends second indication information to the application module, and the second indication information is used for indicating the application module to stop application operation.
7. The method of claim 1, wherein the terminal device further comprises an output module; the method further comprises the following steps:
the output module outputs third indication information, wherein the third indication information is used for indicating that the communication module is in an invalid state; and/or the application module is in an invalid state.
8. A data processing apparatus, characterized by comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a user identification card file, the user identification card file comprises a file of a communication module and/or a file of an application module, and the file of the application module is used for carrying out local application processing;
the determining unit is used for determining that the communication module is in an invalid state when the file of the communication module is invalid; and/or the presence of a gas in the gas,
and when the file of the application module is invalid, determining that the application module is in an invalid state.
9. A terminal device comprising a memory and a processor;
the memory for storing program code;
the processor configured to execute the code in the memory to cause the terminal device to perform the method of any one of claims 1-7.
10. A computer-readable storage medium comprising a program or instructions for performing the method of any of claims 1-7 when the program or instructions are run on a computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011107817.0A CN112261641B (en) | 2020-10-16 | 2020-10-16 | Data processing method and device and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011107817.0A CN112261641B (en) | 2020-10-16 | 2020-10-16 | Data processing method and device and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112261641A CN112261641A (en) | 2021-01-22 |
CN112261641B true CN112261641B (en) | 2022-09-30 |
Family
ID=74243762
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011107817.0A Active CN112261641B (en) | 2020-10-16 | 2020-10-16 | Data processing method and device and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112261641B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102082873A (en) * | 2011-01-13 | 2011-06-01 | 中兴通讯股份有限公司 | Starting method, mobile terminal and user identification card |
CN104580635A (en) * | 2013-10-23 | 2015-04-29 | 宏碁股份有限公司 | Method of establishing links between contact information according to data validity of elementary files |
CN106570431A (en) * | 2016-10-24 | 2017-04-19 | 广东欧珀移动通信有限公司 | File reading method and device |
-
2020
- 2020-10-16 CN CN202011107817.0A patent/CN112261641B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102082873A (en) * | 2011-01-13 | 2011-06-01 | 中兴通讯股份有限公司 | Starting method, mobile terminal and user identification card |
CN104580635A (en) * | 2013-10-23 | 2015-04-29 | 宏碁股份有限公司 | Method of establishing links between contact information according to data validity of elementary files |
CN106570431A (en) * | 2016-10-24 | 2017-04-19 | 广东欧珀移动通信有限公司 | File reading method and device |
Also Published As
Publication number | Publication date |
---|---|
CN112261641A (en) | 2021-01-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3541129B1 (en) | Paging method, network equipment, and terminal equipment | |
US9992760B2 (en) | Method for updating RPLMN information and user equipment | |
US20160142992A1 (en) | Methods for re-synchronizing a communication mode with a peer device and communications apparatus utilizing the same | |
CN109691194B (en) | Paging method and device | |
CN106507405A (en) | The abnormal processing method and processing device of network communicating function | |
CN103648146A (en) | Network selection method for terminals and terminal | |
EP3468260B1 (en) | Method and device for reducing power consumption of terminal, and smart card | |
CN106792625A (en) | Small region search method, device and mobile terminal | |
CN100571465C (en) | Location area updating method during double card double standby mobile phone moves | |
CN110546993A (en) | Cell reselection method, device, mobile terminal and storage medium | |
CN111356231A (en) | Method and apparatus for detecting paging message, storage medium and electronic device | |
CN113784402B (en) | Method, device, mobile terminal and storage medium for switching registration IMS | |
US20210120609A1 (en) | Methods for performing mobility procedure in NSA mode and communications apparatus utilizing the same | |
CN112261641B (en) | Data processing method and device and terminal equipment | |
CN114339814A (en) | Relay communication information configuration method and device and electronic equipment | |
CN105813224A (en) | Communication device and wireless communication method with effciency | |
EP4221304A1 (en) | Communication method and apparatus, and device and storage medium | |
US20240196365A1 (en) | Paging rejection method, apparatus, and device, and storage medium | |
CN112438058B (en) | System message updating method, device and storage medium | |
CN106850995A (en) | Network determines method and device | |
CN113676587B (en) | Number calling method, device, communication equipment and storage medium | |
CN112399443B (en) | Release method, terminal, core network element and computer storage medium | |
TW201931790A (en) | A method for increasing possibility of a successful call-setup and a communications apparatus utilizing the same | |
CN113316093B (en) | Communication method, communication apparatus, and storage medium | |
CN113490200B (en) | CSFB calling method, MME, electronic device and medium |
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 |