CN111045742A - Card changing method and device of terminal equipment, storage medium and terminal equipment - Google Patents

Card changing method and device of terminal equipment, storage medium and terminal equipment Download PDF

Info

Publication number
CN111045742A
CN111045742A CN201911236093.7A CN201911236093A CN111045742A CN 111045742 A CN111045742 A CN 111045742A CN 201911236093 A CN201911236093 A CN 201911236093A CN 111045742 A CN111045742 A CN 111045742A
Authority
CN
China
Prior art keywords
card
parameter
file
terminal device
unit
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.)
Pending
Application number
CN201911236093.7A
Other languages
Chinese (zh)
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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201911236093.7A priority Critical patent/CN111045742A/en
Publication of CN111045742A publication Critical patent/CN111045742A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • G06F9/4408Boot device selection

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a card changing method and a device thereof, a storage medium and a terminal device of the terminal device, wherein the card changing method of the terminal device comprises the following steps: storing an authorization file of at least one identity recognition card in a memory; extracting a corresponding authorization file according to the type of the identity identification card of the terminal equipment; activating the identity recognition card according to the authorization file; obtaining a card file in the identity recognition card; and modifying the first parameter in the card file and generating a second parameter. The invention directly modifies the parameters of the identity recognition card in the terminal equipment by adopting the card changing method in the terminal equipment.

Description

Card changing method and device of terminal equipment, storage medium and terminal equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a card changing method and apparatus for a terminal device, a storage medium, and a terminal device.
Background
In the mobile phone software testing work, a white card (also called a mobile phone testing white card) is frequently used, wherein the white card is mainly used for carrying out non-interference comprehensive testing on a mobile phone. The mobile phone carries out relevant tests in production and needs to shield the interference of external bad signal electric waves. Different user scenarios and information are simulated by changing some parameters of the white card.
At present, a card changing tool is mainly installed on a computer, a mobile phone is connected with the computer by using a universal serial Bus (USB for short), parameters are changed on the card changing tool, the series of operations need a computer and a card inserting device for installing the tool, if a plurality of people use the tool at the same time, queuing is needed, and a Subscriber Identity Module (SIM) card needs to be frequently inserted and pulled, so that a chip is easily damaged in the process of inserting and pulling the SIM card, and the SIM card is damaged.
In view of the above, how to provide a new method to facilitate card change becomes a key research project for relevant researchers or developers.
If the tool can be used on the mobile phone, parameters do not need to be changed in a queuing mode, the SIM card does not need to be repeatedly plugged and pulled, and the parameters can be changed and directly used in the test mobile phone only by inserting the SIM card into a card slot of the test mobile phone and opening the tool.
Disclosure of Invention
The invention aims to provide a card changing method and device of terminal equipment, a storage medium and the terminal equipment, which can effectively solve the problem that the existing terminal equipment can not change parameters of an identity recognition card.
According to an aspect of the present invention, an embodiment of the present invention provides a card changing method for a terminal device, including the following steps: storing an authorization file of at least one identity recognition card in a memory; extracting a corresponding authorization file according to the type of the identity identification card of the terminal equipment; activating the identity recognition card according to the authorization file; obtaining a card file in the identity recognition card; and modifying the first parameter in the card file and generating a second parameter.
Further, after the step of modifying the first parameter in the card file and generating the second parameter, the method further comprises the steps of: saving the second parameter; and when the terminal equipment is restarted, replacing the first parameter in the card file with a second parameter.
Further, after the step of replacing the first parameter in the card file with the second parameter when the terminal device is restarted, the method further comprises the steps of: and formatting the terminal equipment within a preset time.
Further, the step of formatting the terminal device within a predetermined time further includes: and clearing the authorization file of each identification card in the memory within a preset time.
According to another aspect of the present invention, an embodiment of the present invention provides a card changing device for a terminal device, including: the authorization file storage unit is used for storing the authorization file of at least one identity identification card in a memory; the authorization file extraction unit is connected with the authorization file storage unit and extracts a corresponding authorization file according to the type of the identity identification card of the terminal equipment; the identity recognition card activation unit is connected with the authorization file extraction unit and used for activating the identity recognition card according to the authorization file; the card file acquisition unit is connected with the identification card activation unit and is used for acquiring the card files in the identification card; and the parameter modifying unit is connected with the card file acquiring unit and is used for modifying the first parameter in the card file and generating a second parameter.
Further, the card changing device of the terminal device further comprises: the parameter storage unit is connected with the parameter modification unit and is used for storing the second parameter; and the parameter replacing unit is connected with the parameter storing unit and used for replacing the first parameter in the card file with the second parameter when the terminal equipment is restarted.
Further, the card changing device of the terminal device further comprises: and the formatting unit is connected with the parameter importing unit and is used for formatting the terminal equipment within a preset time.
Further, the terminal device formatting unit further includes: and the authorization file clearing unit is used for clearing the authorization file of each identification card in the memory within a preset time.
According to still another aspect of the present invention, an embodiment of the present invention provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions are adapted to be loaded by a processor to execute the card changing method of the terminal device according to any one of the above.
According to another aspect of the present invention, an embodiment of the present invention provides a terminal device, including a processor and a memory, where the processor is electrically connected to the memory, the memory is used for storing instructions and data, and the processor is used for executing the steps in the card changing method of the terminal device described in any one of the above.
The invention has the advantages that the identity recognition card is directly subjected to parameter modification in the terminal equipment by adopting the card modification method in the terminal equipment, so that the test of a mobile phone software test engineer is facilitated, the test operation time is shortened, and the efficiency is further improved. In addition, the user does not need to purchase a certain number of card changing devices, and the identity identification card is directly put into the terminal equipment, so that repeated plugging and unplugging of the identity identification card are avoided, the loss of the identity identification card is reduced, and the cost is saved.
Drawings
The technical solution and other advantages of the present application will become apparent from the detailed description of the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating steps of a card changing method of a terminal device according to an embodiment of the present invention.
Fig. 2 is a flowchart of step S180 according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a card changing device of a terminal device according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Fig. 5 is another schematic structural diagram of the terminal device according to the embodiment of the present invention.
Detailed Description
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 only a part of the embodiments of the present invention, rather than all embodiments, and all other embodiments obtained by those skilled in the art without any inventive work based on the embodiments of the present invention belong to the protection scope of the present invention.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", and the like, indicate orientations and positional relationships based on those shown in the drawings, and are used only for convenience of description and simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be considered as limiting the present invention.
Furthermore, the terms "first", "second" are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated, whereby features defined as "first", "second" may explicitly or implicitly include one or more of those features, in the description of the invention "plurality" means two or more unless explicitly defined otherwise.
As shown in fig. 1, a flowchart of steps of a card changing method for a terminal device according to an embodiment of the present invention includes the following steps:
step S110: storing the authorization file of at least one identity card in a memory.
In step S110, the authorization files stored in the memory of the id cards are used to identify the corresponding id cards, and the number of the authorization files depends on the actual work requirement of the user.
Step S120: and extracting a corresponding authorization file according to the type of the identity identification card of the terminal equipment.
And automatically extracting the authorization file corresponding to the identification card according to the type of the identification card in the terminal equipment. Currently, the types of identification cards are classified into different types mainly according to sizes and manufacturers, wherein the sizes are classified into large cards and small cards.
Step S130: and activating the identity recognition card according to the authorization file.
The identification card can be identified and activated by the authorization document.
Step S140: and obtaining the card file in the identity recognition card.
The activated identification card may take a card file of the identification card, where the card file includes a plurality of parameters of the identification card.
Step S150: and modifying the first parameter in the card file and generating a second parameter.
In step S150, one or more parameters in the card file may be modified to form a second parameter. In this step, the first parameter is modified, i.e. the first parameter in the identification card is correspondingly modified, and simultaneously, the second parameter is generated. Therefore, the parameter modification of the identification card in the terminal equipment is realized.
Step S160: and saving the second parameter.
Storing the second parameter in a memory.
Step S170: and when the terminal equipment is restarted, replacing the first parameter in the card file with a second parameter.
Because the second parameter is a parameter as a redundant backup, the first parameter of the identity card is modified to the second parameter for further ensuring, and therefore, when the terminal equipment is restarted, the first parameter in the card file is replaced by the second parameter.
Step S180: and formatting the terminal equipment within a preset time.
Referring to fig. 2, step S180 further includes the following steps:
step S181: and clearing the authorization file of each identification card in the memory within a preset time.
In step S181, the valid period of the authorization file of the identification card does not exceed one month, and thus, the predetermined time is one month.
Step S182: a card change application instruction is cleared within a predetermined time.
In step S182, the card change application program instruction includes a card change method loaded by the processor in the terminal device to execute the above steps. Since the processor leaves a use trace in the terminal device in the card change method of the terminal device for executing the above steps, the card change application program instruction needs to be cleared within the predetermined time. Since step S182 may be cleared by a manual operation of the user, step S182 is an optional step.
The invention has the advantages that the identity recognition card is directly subjected to parameter modification in the terminal equipment by adopting the card modification method in the terminal equipment, so that the test of a mobile phone software test engineer is facilitated, the test operation time is shortened, and the efficiency is further improved. In addition, the user does not need to purchase a certain number of card changing devices, and the identity identification card is directly put into the terminal equipment, so that repeated plugging and unplugging of the identity identification card are avoided, the loss of the identity identification card is reduced, and the cost is saved.
As shown in fig. 3, the card changing device for a terminal device provided in the embodiment of the present invention includes: an authorization file storage unit 1, an authorization file extraction unit 2, an identification card activation unit 3, a card file acquisition unit 4, a parameter modification unit 5, a parameter storage unit 6, a parameter replacement unit 7 and a formatting unit 8.
The authorization file storage unit 1 is used for storing an authorization file of at least one identification card in a memory. The authorization documents of the identification cards stored in the memory are used for identifying the corresponding identification cards, and the number of the authorization documents depends on the actual work needs of the user.
The authorization file extraction unit 2 is connected with the authorization file storage unit 1, and the authorization file extraction unit 2 extracts a corresponding authorization file according to the type of the identification card of the terminal device.
The identification card activating unit 3 is connected with the authorization file extracting unit 2, and the identification card activating unit 3 is used for activating the identification card according to the authorization file.
The card file obtaining unit 4 is connected to the identification card activating unit 3, and the card file obtaining unit 4 is configured to obtain a card file in the identification card. The activated identification card can read a card file in the identification card, wherein the card file contains a plurality of parameters of the identification card.
The parameter modification unit 5 is connected to the card file obtaining unit 4, and the parameter modification unit 5 is configured to modify a first parameter in the card file and generate a second parameter. In this embodiment, one or more parameters in the card file may be modified to form the second parameter. When the first parameter is modified, the first parameter in the identification card is correspondingly modified, and the second parameter is generated at the same time. Therefore, the parameter modification of the identification card in the terminal equipment is realized.
The parameter storage unit 6 is connected to the parameter modification unit 5, and the parameter storage unit 6 is configured to store the second parameter.
The parameter replacing unit 7 is connected to the parameter saving unit 6, and the parameter replacing unit 7 is configured to replace the first parameter in the card file with the second parameter when the terminal device is restarted. In order to further ensure that the first parameter of the identity identification card is modified into the second parameter, when the terminal equipment is restarted, the first parameter in the card file is replaced by the second parameter.
The formatting unit 8 is connected to the parameter replacing unit 7, and the terminal device formatting unit 8 is configured to format the terminal device within a predetermined time.
The formatting unit 8 includes: an authorization file clearing unit 9 and a card change application system clearing unit 10.
The authorization file clearing unit 9 is used for clearing the authorization file of each identification card in the memory within a preset time. The valid period of the authorization file of the identification card is not more than one month, so the preset time is one month.
The card change application system clearing unit 10 is connected to the authorization file clearing unit 9, and the card change device clearing unit is configured to clear a card change application system within a predetermined time, where the card change application system includes the card change device of the terminal device in the foregoing embodiment. Since the card change application system leaves a use trace in the terminal device during operation, the card change application instruction needs to be cleared within the predetermined time. It should be noted that the action executed by the card change application system clearing unit 10 may also be cleared by manual operation of the user, and therefore the card change device of the terminal device may not include the card change application system clearing unit 10.
The invention has the advantages that the identity recognition card is directly subjected to parameter modification in the terminal equipment by adopting the card modification method in the terminal equipment, so that the test of a mobile phone software test engineer is facilitated, the test operation time is shortened, and the efficiency is further improved. In addition, the user does not need to purchase a certain number of card changing devices, and the identity identification card is directly put into the terminal equipment, so that repeated plugging and unplugging of the identity identification card are avoided, the loss of the identity identification card is reduced, and the cost is saved.
Referring to fig. 4, an embodiment of the present application further provides a terminal device, where the terminal device may be a smart phone, a tablet computer, or the like. Specifically, as shown in fig. 4, the terminal device 200 includes a processor 201 and a memory 202. The processor 201 is electrically connected to the memory 202.
The processor 201 is a control center of the terminal device 200, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or loading an application program stored in the memory 202 and calling data stored in the memory 202, thereby performing overall monitoring of the terminal device.
In this embodiment, the terminal device 200 is provided with a plurality of memory partitions, the plurality of memory partitions includes a system partition and a target partition, the processor 201 in the terminal device 200 loads instructions corresponding to processes of one or more application programs into the memory 202 according to the following steps, and the processor 201 runs the application programs stored in the memory 202, so as to implement various functions:
storing an authorization file of at least one identity recognition card in a memory;
extracting a corresponding authorization file according to the type of the identity identification card of the terminal equipment;
activating the identity recognition card according to the authorization file;
obtaining a card file in the identity recognition card; and
and modifying the first parameter in the card file and generating a second parameter.
Fig. 5 shows a specific structural block diagram of a terminal device provided in an embodiment of the present invention, where the terminal device may be used to implement the card changing method of the terminal device provided in the foregoing embodiment. The terminal device 300 may be a smart phone or a tablet computer.
The RF circuit 310 is used for receiving and transmitting electromagnetic waves, and performing interconversion between the electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices. RF circuitry 310 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. RF circuit 310 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced Mobile Communication (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., IEEE802.11 a, IEEE802.11 b, IEEE802.1 g and/or IEEE802.1 n), Voice over Internet Protocol (VoIP), world wide Internet Protocol (Microwave Access for Wireless communications, Wi-Max), and other short message protocols, as well as any other suitable communication protocols, and may even include those that have not yet been developed.
The memory 320 may be configured to store software programs and modules, such as program instructions/modules corresponding to the card changing method of the terminal device in the foregoing embodiments, and the processor 380 executes various functional applications and data processing by running the software programs and modules stored in the memory 320, so as to implement the card changing function of the terminal device. The memory 320 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 320 may further include memory located remotely from processor 380, which may be connected to terminal device 300 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 330 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 330 may include a touch-sensitive surface 331 as well as other input devices 332. The touch-sensitive surface 331, also referred to as a touch screen or touch pad, may collect touch operations by a user on or near the touch-sensitive surface 331 (e.g., operations by a user on or near the touch-sensitive surface 331 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 331 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 380, and can receive and execute commands sent by the processor 380. In addition, the touch-sensitive surface 331 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 330 may comprise other input devices 332 in addition to the touch sensitive surface 331. In particular, other input devices 332 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 340 may be used to display information input by or provided to the user and various graphic user interfaces of the terminal apparatus 300, which may be configured by graphics, text, icons, video, and any combination thereof. The Display unit 340 may include a Display panel 341, and optionally, the Display panel 341 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, touch-sensitive surface 331 may overlay display panel 341, and when touch-sensitive surface 331 detects a touch operation thereon or thereabout, communicate to processor 380 to determine the type of touch event, and processor 380 then provides a corresponding visual output on display panel 341 in accordance with the type of touch event. Although in FIG. 5, touch-sensitive surface 331 and display panel 341 are implemented as two separate components for input and output functions, in some embodiments, touch-sensitive surface 331 and display panel 341 may be integrated for input and output functions.
The terminal device 300 may also include at least one sensor 350, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 341 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 341 and/or the backlight when the terminal device 300 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal device 300, detailed descriptions thereof are omitted.
Audio circuitry 360, speaker 361, microphone 362 may provide an audio interface between a user and terminal device 300. The audio circuit 360 may transmit the electrical signal converted from the received audio data to the speaker 361, and the audio signal is converted by the speaker 361 and output; on the other hand, the microphone 362 converts the collected sound signal into an electrical signal, which is received by the audio circuit 360 and converted into audio data, which is then processed by the audio data output processor 380 and then transmitted to, for example, another terminal via the RF circuit 310, or the audio data is output to the memory 320 for further processing. The audio circuit 360 may also include an earbud jack to provide communication of peripheral headphones with the terminal device 300.
The terminal device 300 may assist the user in e-mail, web browsing, streaming media access, etc. through the transmission module 370 (e.g., a Wi-Fi module), which provides the user with wireless broadband internet access. Although fig. 5 shows the transmission module 370, it is understood that it does not belong to the essential constitution of the terminal device 300, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 380 is a control center of the terminal device 300, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal device 300 and processes data by running or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory 320, thereby performing overall monitoring of the mobile phone. Optionally, processor 380 may include one or more processing cores; in some embodiments, processor 380 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 380.
Terminal device 300 also includes a power supply 390 (e.g., a battery) for powering the various components, which may be logically coupled to processor 380 via a power management system in some embodiments to manage charging, discharging, and power consumption management functions via the power management system. The power supply 390 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal device 300 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein. Specifically, in this embodiment, the display unit of the terminal device is a touch screen display, the terminal device further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
storing an authorization file of at least one identity recognition card in a memory;
extracting a corresponding authorization file according to the type of the identity identification card of the terminal equipment;
activating the identity recognition card according to the authorization file;
obtaining a card file in the identity recognition card; and
and modifying the first parameter in the card file and generating a second parameter.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present invention provides a computer-readable storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute steps in any card changing method for a terminal device provided by the embodiment of the present invention.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any card changing method for a terminal device provided in the embodiment of the present invention, the beneficial effects that can be achieved by any card changing method for a terminal device provided in the embodiment of the present invention can be achieved, for details, see the foregoing embodiments, and are not described herein again.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
In summary, although the present invention has been described with reference to the preferred embodiments, the above-described preferred embodiments are not intended to limit the present invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention, therefore, the scope of the present invention shall be determined by the appended claims.

Claims (10)

1. A card changing method of terminal equipment is characterized by comprising the following steps:
storing an authorization file of at least one identity recognition card in a memory;
extracting a corresponding authorization file according to the type of the identity identification card of the terminal equipment;
activating the identity recognition card according to the authorization file;
obtaining a card file in the identity recognition card; and
and modifying the first parameter in the card file and generating a second parameter.
2. The card change method of a terminal device according to claim 1, further comprising, after the step of modifying the first parameter in the card file and generating the second parameter, the steps of:
saving the second parameter; and
and when the terminal equipment is restarted, replacing the first parameter in the card file with a second parameter.
3. The card change method of a terminal device according to claim 2, further comprising, after the step of replacing the first parameter in the card file with the second parameter when the terminal device is restarted, the steps of:
and formatting the terminal equipment within a preset time.
4. The card change method of the terminal device according to claim 3, wherein the step of formatting the terminal device within a predetermined time further comprises:
and clearing the authorization file of each identification card in the memory within a preset time.
5. A card changing device of a terminal device is characterized by comprising:
the authorization file storage unit is used for storing the authorization file of at least one identity identification card in a memory;
the authorization file extraction unit is connected with the authorization file storage unit and extracts a corresponding authorization file according to the type of the identity identification card of the terminal equipment;
the identity recognition card activation unit is connected with the authorization file extraction unit and used for activating the identity recognition card according to the authorization file; and
the card file acquisition unit is connected with the identification card activation unit and is used for acquiring the card files in the identification card; and
and the parameter modifying unit is connected with the card file acquiring unit and is used for modifying the first parameter in the card file and generating a second parameter.
6. The card change device of the terminal device according to claim 5, further comprising:
the parameter storage unit is connected with the parameter modification unit and is used for storing the second parameter; and
and the parameter replacing unit is connected with the parameter storage unit and used for replacing the first parameter in the card file with the second parameter when the terminal equipment is restarted.
7. The card change device of the terminal device according to claim 6, further comprising:
and the formatting unit is connected with the parameter replacing unit and is used for formatting the terminal equipment within a preset time.
8. The card change apparatus of a terminal device according to claim 7, wherein the terminal device formatting unit further includes:
and the authorization file clearing unit is used for clearing the authorization file of each identification card in the memory within a preset time.
9. A computer-readable storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor to execute the card change method of a terminal device according to any one of claims 1 to 4.
10. A terminal device, comprising a processor and a memory, wherein the processor is electrically connected to the memory, the memory is used for storing instructions and data, and the processor is used for executing the steps in the card changing method of the terminal device according to any one of claims 1 to 4.
CN201911236093.7A 2019-12-05 2019-12-05 Card changing method and device of terminal equipment, storage medium and terminal equipment Pending CN111045742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911236093.7A CN111045742A (en) 2019-12-05 2019-12-05 Card changing method and device of terminal equipment, storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911236093.7A CN111045742A (en) 2019-12-05 2019-12-05 Card changing method and device of terminal equipment, storage medium and terminal equipment

Publications (1)

Publication Number Publication Date
CN111045742A true CN111045742A (en) 2020-04-21

Family

ID=70234955

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911236093.7A Pending CN111045742A (en) 2019-12-05 2019-12-05 Card changing method and device of terminal equipment, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN111045742A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111651313A (en) * 2020-05-28 2020-09-11 捷开通讯(深圳)有限公司 Conversion method and system of identification card, storage medium and terminal equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1726731A (en) * 2002-10-17 2006-01-25 阿克萨尔托股份有限公司 Retention of old mobile number on SIM card replacement
CN102318383A (en) * 2009-02-13 2012-01-11 捷德3S股份公司 Method for deactivating and possibly reactivating sim cards
DE102012006222A1 (en) * 2012-03-27 2013-10-02 Vodafone Holding Gmbh Chip card, terminal with chip card and method for modifying a chip card
CN104411021A (en) * 2014-12-01 2015-03-11 恒宝股份有限公司 Dual-IMSI automatic switching method and system for realizing global roaming

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1726731A (en) * 2002-10-17 2006-01-25 阿克萨尔托股份有限公司 Retention of old mobile number on SIM card replacement
CN102318383A (en) * 2009-02-13 2012-01-11 捷德3S股份公司 Method for deactivating and possibly reactivating sim cards
DE102012006222A1 (en) * 2012-03-27 2013-10-02 Vodafone Holding Gmbh Chip card, terminal with chip card and method for modifying a chip card
US20130316765A1 (en) * 2012-03-27 2013-11-28 Frank Helmreich Chip card, end unit with chip card and method for modifying a chip card
CN104411021A (en) * 2014-12-01 2015-03-11 恒宝股份有限公司 Dual-IMSI automatic switching method and system for realizing global roaming

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111651313A (en) * 2020-05-28 2020-09-11 捷开通讯(深圳)有限公司 Conversion method and system of identification card, storage medium and terminal equipment
WO2021237922A1 (en) * 2020-05-28 2021-12-02 捷开通讯(深圳)有限公司 Identification card conversion method and system, storage medium and terminal device
CN111651313B (en) * 2020-05-28 2022-04-22 捷开通讯(深圳)有限公司 Conversion method and system of identification card, storage medium and terminal equipment

Similar Documents

Publication Publication Date Title
CN105912915B (en) A kind of unlocked by fingerprint method and terminal
EP2869391A1 (en) Electronic apparatus, battery protection method and device
CN105912916B (en) A kind of unlocked by fingerprint method and terminal
US9977651B2 (en) Mobile terminal and image processing method thereof
CN111277991B (en) Operator name display method and device, mobile terminal and storage medium
CN106022058A (en) Fingerprint unlocking method and terminal
CN111078523A (en) Log obtaining method and device, storage medium and electronic equipment
CN112415367A (en) Drive chip abnormality detection method and device, electronic equipment and readable storage medium
CN107066374B (en) Data processing method and mobile terminal
CN110765085A (en) Log information writing method, system, storage medium and mobile terminal
CN111104012B (en) Distance measuring method and device, storage medium and terminal equipment
CN107609378B (en) fingerprint unlocking method and related product
CN111045742A (en) Card changing method and device of terminal equipment, storage medium and terminal equipment
CN111026457A (en) Hardware configuration method and device, storage medium and terminal equipment
CN111045737A (en) Equipment identifier acquisition method and device, terminal equipment and storage medium
CN112486350B (en) Detection method and device for touch screen of mobile terminal, storage medium and mobile terminal
CN110716908A (en) Log information writing method, system, storage medium and mobile terminal
CN111654849A (en) Quick starting method and system for near field communication, storage medium and terminal equipment
CN111651299A (en) Wireless chip reset control method and device, storage medium and mobile terminal
CN105988801B (en) Method and device for displaying annotation information
CN112202464B (en) Identification card detection method and device, storage medium and mobile terminal
CN105278967B (en) System updating method, device and system of mobile terminal
CN111026259A (en) Control method and device of mobile terminal and storage medium
CN111651313B (en) Conversion method and system of identification card, storage medium and terminal equipment
CN106033358B (en) Batch installation method and device of application programs

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200421

RJ01 Rejection of invention patent application after publication