WO2019061876A1 - Soft sim card production, use, processing method and device - Google Patents

Soft sim card production, use, processing method and device Download PDF

Info

Publication number
WO2019061876A1
WO2019061876A1 PCT/CN2017/117144 CN2017117144W WO2019061876A1 WO 2019061876 A1 WO2019061876 A1 WO 2019061876A1 CN 2017117144 W CN2017117144 W CN 2017117144W WO 2019061876 A1 WO2019061876 A1 WO 2019061876A1
Authority
WO
WIPO (PCT)
Prior art keywords
sim card
soft sim
instruction
terminal
encrypted
Prior art date
Application number
PCT/CN2017/117144
Other languages
French (fr)
Chinese (zh)
Inventor
赵飞
毕宏博
姜天亮
杨彧
卫彩霞
刘林
全道吉
欧阳小雄
Original Assignee
深圳普创天信科技发展有限公司
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 深圳普创天信科技发展有限公司 filed Critical 深圳普创天信科技发展有限公司
Publication of WO2019061876A1 publication Critical patent/WO2019061876A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/12Protecting executable software
    • G06F21/121Restricting unauthorised execution of programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier

Definitions

  • Embodiments of the present invention relate to the field of communications technologies, and in particular, to a method, an apparatus, and a device for producing, using, and processing a soft SIM card.
  • Soft SIM Subscriber Identity Module
  • virtual SIM card technology also known as virtual SIM card technology
  • the terminal uses the soft SIM card technology to save the installation structure of the traditional physical SIM card and its peripheral circuits, and reduce the production cost of the terminal.
  • the soft SIM card technology writes the SIM card information into the terminal through the software method, so that the soft SIM card information has security risks in the production process and the use process. Since the soft SIM card information is leaked, it cannot be reported as a physical SIM card, and even if it is stolen by a competitor, it will bring huge commercial losses and legal risks.
  • an embodiment of the present invention provides a method, an apparatus, and a device for producing, using, and processing a soft SIM card.
  • an embodiment of the present invention discloses a method for manufacturing a soft SIM card, which is applied to a terminal, and includes:
  • the obtaining, by the instruction, the information that carries the encrypted soft SIM card information includes:
  • the instruction is an instruction carrying the encrypted soft SIM card information.
  • the preset instruction type is an AT command type
  • the preset source is an AT tool
  • the instruction is an AT command
  • the acquiring, by the instruction, the encrypted soft SIM card information includes:
  • the AT command is an instruction carrying the encrypted soft SIM card information.
  • the determining, according to the source information carried by the AT command, whether the source of the AT command is an AT tool includes:
  • the source information carried in the command header of the AT command is filtered by the AT filter to determine whether the source of the AT command is an AT tool.
  • the encrypted soft SIM card information is soft SIM card information encrypted by the AT tool.
  • the method before the encrypting the soft SIM card information according to the identifier of the terminal and the preset file encryption manner, the method further includes:
  • the method further includes:
  • the soft SIM card file is an image file.
  • the method further includes:
  • the embodiment of the present invention further discloses a device for producing a soft SIM card, which is applied to a terminal, and includes:
  • An obtaining unit configured to acquire an instruction that carries the encrypted soft SIM card information
  • a decryption unit configured to decrypt the encrypted soft SIM card information according to a preset information decryption manner, to obtain soft SIM card information
  • a generating unit configured to encrypt the soft SIM card information according to the identifier of the terminal and a preset file encryption manner, and generate an encrypted soft SIM card file.
  • the obtaining unit is specifically configured to:
  • the source information determines whether the source of the instruction is a preset source; if it is the preset source, determining that the instruction is an instruction carrying the encrypted soft SIM card information.
  • the preset instruction type is an AT command type
  • the preset source is an AT tool
  • the instruction is an AT command
  • the acquiring unit is specifically configured to:
  • the obtaining unit determines, according to the source information carried by the AT command, whether the source of the AT command is an AT tool, including:
  • the acquiring unit filters the source information carried in the command header of the AT command by using an AT filter, and determines whether the source of the AT command is an AT tool.
  • the encrypted soft SIM card information is soft SIM card information encrypted by the AT tool.
  • the generating unit is further configured to:
  • the CPU identifier of the terminal is obtained as the identifier of the terminal, according to the identifier of the terminal and the preset file encryption mode.
  • the production device further includes:
  • a processing unit configured to store the soft SIM card file to a read-only partition of the terminal.
  • the soft SIM card file is an image file.
  • processing unit is further configured to:
  • the embodiment of the present invention further discloses a method for using a soft SIM card, which is applied to a terminal, and includes:
  • the obtaining the encrypted soft SIM card file stored in the terminal includes:
  • the soft SIM card file is an image file.
  • the obtaining the encrypted soft SIM card file stored in the terminal includes:
  • the encrypted soft SIM card file stored in the read-only partition of the terminal is obtained by the image file reading tool.
  • the method further includes: before the decrypting the encrypted soft SIM card file, according to the identifier of the terminal and the default file decryption manner, the method further includes:
  • the embodiment of the present invention further discloses a device for using a soft SIM card, which is applied to a terminal, and includes:
  • An obtaining unit configured to acquire an encrypted soft SIM card file stored in the terminal
  • a decrypting unit configured to decrypt the encrypted soft SIM card file according to the identifier of the terminal and a preset file decryption manner, to obtain soft SIM card information
  • An extracting unit configured to extract an IMSI and a KI in the soft SIM card information
  • a registration unit is configured to complete network registration according to the IMSI and the KI.
  • the obtaining unit is specifically configured to obtain an encrypted soft SIM card file stored in a read-only partition of the terminal.
  • the soft SIM card file is an image file.
  • the obtaining unit is specifically configured to obtain, by using an image file reading tool, the encrypted soft SIM card file stored in the read-only partition of the terminal.
  • the decrypting unit is further configured to acquire the CPU identifier of the terminal as the terminal before decrypting the encrypted soft SIM card file according to the identifier of the terminal and the default file decryption manner. logo.
  • an embodiment of the present invention further discloses a method for processing a soft SIM card, including:
  • the encrypting the soft SIM card information according to the preset information encryption manner includes:
  • the soft SIM card information is encrypted by an AT tool.
  • the instruction is an AT instruction
  • the sending the instruction includes:
  • the instruction is sent through the AT channel.
  • an embodiment of the present invention further provides a processing apparatus for a soft SIM card, including:
  • An obtaining unit configured to obtain soft SIM card information
  • An encryption unit configured to encrypt the soft SIM card information according to a preset information encryption manner, to obtain the encrypted soft SIM card information
  • a generating unit configured to generate an instruction that carries the encrypted soft SIM card information
  • a sending unit configured to send the instruction, so that the instruction receiving party decrypts the instruction according to a preset information decryption manner to obtain the soft SIM card information.
  • the encryption unit is specifically configured to encrypt the soft SIM card information by using an AT tool.
  • the instruction is an AT command
  • the sending unit is specifically configured to send the instruction by using an AT channel.
  • the production, use, and processing method and device of the soft SIM card proposed by the embodiment of the present invention bind the terminal and the soft SIM card information in a file encryption manner to generate a soft SIM card file in the production stage, and solve the problem.
  • Soft SIM card information has security risks in the production stage.
  • the method, device and device for producing, using, and processing a soft SIM card decrypt the encrypted soft SIM card file by using the identifier of the terminal and the file decryption method to obtain the soft SIM card information.
  • the two-way legality authentication of the soft SIM card file and the terminal solves the problem that the soft SIM card information has security risks during the use phase.
  • the method for manufacturing, using, and processing the soft SIM card provided by the embodiment of the present invention transmits the soft SIM card information in an encrypted manner during the processing stage, thereby solving the problem of security risks in the transmission process of the soft SIM card information. .
  • FIG. 1 is a flowchart of a method for manufacturing a soft SIM card according to an embodiment of the present invention
  • FIG. 2 is a block diagram of a device for producing a soft SIM card according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a method for using a soft SIM card according to an embodiment of the present invention
  • FIG. 4 is a block diagram of a device for using a soft SIM card according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of a method for processing a soft SIM card according to an embodiment of the present invention.
  • FIG. 6 is a block diagram of a processing apparatus of a soft SIM card according to an embodiment of the present invention.
  • an embodiment of the present invention discloses a method for manufacturing a soft SIM card, which is applied to a terminal, such as a smart phone, a tablet computer, and the like, which are convenient to carry around.
  • the method for producing a soft SIM card may include the following steps. 101 ⁇ 103:
  • the soft SIM card information includes an IMSI (International Mobile Subscriber Identification Number) and a KI (Key Identifier).
  • IMSI International Mobile Subscriber Identification Number
  • KI Key Identifier
  • the soft SIM card information is encapsulated into an instruction after being encrypted by a preset information encryption manner, and the soft SIM card information is no longer transmitted in a clear text form, thereby increasing the security of the soft SIM card information in the transmission process.
  • the preset information decryption mode is a decryption mode corresponding to the preset information encryption mode.
  • the soft SIM information is encrypted by using the identifier of the terminal as a key, and the generated soft SIM card file can only be used in the terminal, and the terminal can only be used.
  • the soft SIM card file realizes the binding of the terminal and the soft SIM card, and increases the security of producing the soft SIM card.
  • the method for producing a soft SIM card acquires soft SIM card information encrypted by means of information encryption, and binds the terminal and the soft SIM card information in a file encryption manner to generate a soft SIM card file.
  • the problem that the soft SIM card information has security risks in the production stage is solved.
  • the step 101 acquires an instruction that carries the encrypted soft SIM card information, and specifically includes steps 1011 to 1015 that are not shown in FIG. 1 as follows:
  • step 1013 Determine whether the instruction type is a preset instruction type; if it is a preset instruction type, execute step 1014; otherwise, do not perform any operation.
  • the preset instruction type is an AT (Attention) command type
  • the preset source is an AT tool
  • the AT tool is a computer running on a computer (for example, a personal computer PC).
  • the soft SIM card information is encapsulated into a specific instruction type by a specific encryption tool after being encrypted by a preset information encryption manner, thereby further increasing the security of the soft SIM card information in the transmission process.
  • the step 1011 determines whether the instruction is a specific instruction type and is encapsulated by a specific encryption tool. If yes, it may be determined that the instruction carries the encrypted soft SIM card information; otherwise, the instruction does not carry the encryption. The subsequent soft SIM card information should be ignored.
  • the instruction in step 101 is an AT command; correspondingly, the step 101 acquires an instruction carrying the encrypted soft SIM card information, specifically including the following step 1011' not shown in FIG. To 1013":
  • the command is an AT command
  • the AT channel can be established in advance between the command sender and the execution body (for example, the terminal) of the method, and the AT channel can be used until the terminal is turned off after the AT channel is established, and the AT channel is specifically used for transmitting the AT.
  • the secure channel of the command increases the security of the AT command transmission process.
  • step 1012' determining whether the source of the AT command is an AT tool based on source information carried by the AT command. If yes, go to step 1013"; otherwise, do nothing.
  • the soft SIM card information is encapsulated into an AT command by the AT tool after being encrypted by the preset information encryption method, and the AT command is transmitted in the AT channel, thereby further increasing the security of the soft SIM card information in the transmission process.
  • Step 1011 after obtaining the AT command through the AT channel, determining whether the AT command is encapsulated by the AT tool, and if yes, determining that the AT command carries the encrypted soft SIM card information; otherwise, the AT command does not Carrying the encrypted soft SIM card information should be ignored.
  • the step 1012' determines whether the source of the AT command is an AT tool based on the source information carried by the AT command, and specifically includes:
  • the source information carried in the command header of the AT command is filtered by an AT filter to determine whether the source of the AT command is an AT tool.
  • the AT filter checks the source information carried in the command header of the AT command, and filters out the source information that is not the AT command of the AT tool.
  • the AT filter is a software program that runs in the terminal.
  • the encrypted soft SIM card information is soft SIM card information encrypted by the AT tool.
  • step 103' not shown in FIG. 1 may be further included:
  • the binding terminal and the soft SIM card information are realized, and the security of the soft SIM card in the production process is increased.
  • the method for producing a soft SIM card disclosed in the above embodiments may further include the following step 104 not shown in FIG. 1:
  • the soft SIM card file is stored in a read-only partition, which increases the security of the soft SIM card.
  • the soft SIM card file may be an image file, and the image file further increases the security of the soft SIM card information.
  • the method may further include the following step 105 not shown in FIG. 1:
  • restarting the operating system facilitates the terminal to perform network registration using the stored soft SIM card file.
  • the method for producing a soft SIM card disclosed in the above embodiments obtains the soft SIM card information encrypted by the information encryption method, and binds the terminal and the soft SIM card information in a file encryption manner to generate a soft SIM card file, thereby solving the soft
  • the SIM card information has a security risk in the production stage.
  • A1 a soft SIM card production device, applied to the terminal, as shown in FIG. 2, may include the following units: an obtaining unit 21, a decrypting unit 22, and a generating unit 23, and each unit is specifically described as follows:
  • the obtaining unit 21 is configured to acquire an instruction that carries the encrypted soft SIM card information
  • the decrypting unit 22 is configured to decrypt the encrypted soft SIM card information according to a preset information decryption manner to obtain soft SIM card information.
  • the generating unit 23 is configured to encrypt the soft SIM card information according to the identifier of the terminal and a preset file encryption manner, and generate an encrypted soft SIM card file.
  • the production unit according to A1, the obtaining unit 21 is specifically configured to:
  • the source information determines whether the source of the instruction is a preset source; if it is the preset source, determining that the instruction is an instruction carrying the encrypted soft SIM card information.
  • A3 The production device according to A2, wherein the preset instruction type is an AT command type, and the preset source is an AT tool.
  • A4 The production device according to A1, wherein the instruction is an AT command; the acquiring unit 21 is specifically configured to:
  • the obtaining unit 21 determines, according to the source information carried by the AT command, whether the source of the AT command is an AT tool, including:
  • the acquiring unit 21 filters the source information carried in the command header of the AT command by using an AT filter, and determines whether the source of the AT command is an AT tool.
  • A6 The production device according to any one of A3 to A5, wherein the encrypted soft SIM card information is soft SIM card information encrypted by an AT tool.
  • A7 The production device according to any one of A1 to A5, wherein the generating unit 23 is further configured to:
  • the CPU identifier of the terminal is obtained as the identifier of the terminal, according to the identifier of the terminal and the preset file encryption mode.
  • A8 The production apparatus according to any one of A1 to A5, wherein the production apparatus further comprises a processing unit 24 not shown in FIG. 2:
  • the processing unit 24 is configured to store the soft SIM card file to a read-only partition of the terminal.
  • A9 The production device according to A8, wherein the soft SIM card file is an image file.
  • A10 The production device according to A8, wherein the processing unit 24 is further configured to:
  • the production device of the soft SIM card disclosed in A1 to A10 can implement the flow of the method for producing the soft SIM card disclosed in the embodiments of FIG. 1. To avoid repetition, details are not described herein again.
  • this embodiment discloses a method for using a soft SIM card, which is applied to a terminal, and may include the following steps 301-304:
  • the encrypted soft SIM card file stored in the terminal may be a soft SIM card file obtained by the method for producing the soft SIM card disclosed in the embodiments related to FIG.
  • the soft SIM information is encrypted by using the identifier of the terminal as a key, and the generated soft SIM card file can only be used in the terminal, and the terminal can only be used.
  • the soft SIM card file realizes mutual binding between the terminal and the soft SIM card.
  • Step 302 is equivalent to performing two-way authentication on the soft SIM card file by using the identifier of the terminal. If the decryption fails, the soft SIM card file is terminated.
  • the network registration is completed according to the IMSI and the KI, which is a mature technology in the field, and the process of completing the network registration is not repeated in this embodiment.
  • the method for using the soft SIM card disclosed in this embodiment decrypts the encrypted soft SIM card file by using the identifier of the terminal and the file decryption method to obtain the soft SIM card information, and realizes the soft SIM card file and the terminal.
  • Two-way legality authentication solves the problem of security risks in the use of soft SIM card information.
  • the obtaining the encrypted soft SIM card file stored in the terminal by the step 301 includes: acquiring the encrypted soft SIM card file stored in the read-only partition of the terminal.
  • the soft SIM card file is stored in a read-only partition, which increases the security of the soft SIM card.
  • the obtaining the encrypted soft SIM card file stored in the terminal in step 301 includes: acquiring, by using an image file reading tool, the encrypted soft stored in the read-only partition of the terminal. SIM card file.
  • the soft SIM card file is an image file, and the image file further increases the security of the soft SIM card information.
  • the method before the decrypting the encrypted soft SIM card file according to the identifier of the terminal and the preset file decryption manner, the method further includes the following steps not shown in FIG. 302':
  • the encrypted soft SIM card file is decrypted by the identifier of the terminal and the file decryption manner, and the soft SIM card information is obtained, thereby realizing the two-way legality of the soft SIM card file and the terminal.
  • Sexual authentication has solved the problem of security risks in the use of soft SIM card information.
  • a device for using a soft SIM card is applied to a terminal.
  • the following units may be included: an obtaining unit 41, a decrypting unit 42, an extracting unit 43, and a registration unit 44, and each unit is specifically described as follows:
  • the obtaining unit 41 is configured to acquire the encrypted soft SIM card file stored in the terminal;
  • the decrypting unit 42 is configured to decrypt the encrypted soft SIM card file according to the identifier of the terminal and the default file decryption manner, to obtain soft SIM card information;
  • the extracting unit 43 is configured to extract the IMSI and the KI in the soft SIM card information
  • the registration unit 44 is configured to complete network registration according to the IMSI and the KI.
  • the acquiring unit 41 is configured to acquire an encrypted soft SIM card file stored in a read-only partition of the terminal.
  • the acquiring unit 41 is specifically configured to acquire, by using an image file reading tool, an encrypted soft SIM card file stored in a read-only partition of the terminal.
  • the decrypting unit 42 is further configured to acquire the encrypted soft SIM card file before decrypting the encrypted soft SIM card file according to the identifier of the terminal and a preset file decryption manner.
  • the CPU identifier of the terminal is used as the identifier of the terminal.
  • the device for using the soft SIM card disclosed in B1 to B5 can implement the flow of the method for using the soft SIM card disclosed in the embodiments of FIG. 3. To avoid repetition, details are not described herein again.
  • this embodiment discloses a method for processing a soft SIM card, and the execution body of the method is a computer (for example, a personal computer PC).
  • the processing method of the soft SIM card may include the following steps 501-504:
  • the soft SIM card information in clear text can be obtained from the server.
  • the server stores soft SIM card information in clear text.
  • the security of the soft SIM card information in the transmission process is increased.
  • the security of the soft SIM card information in the transmission process is further increased.
  • the instruction receiver is a terminal.
  • the processing method of the soft SIM card disclosed in the embodiment of the present invention transmits the soft SIM card information in an encrypted manner, thereby solving the problem that the soft SIM card information has security risks in the transmission process.
  • the encrypting the soft SIM card information according to the preset information encryption manner, as described in step 502 includes:
  • the soft SIM card information is encrypted by an AT tool.
  • the soft SIM card information is encrypted by the AT tool, and the information encryption of the soft SIM card information and the security of the soft SIM card information in the transmission process are realized.
  • the instruction in step 503 is an AT instruction
  • the sending the instruction in step 504 includes:
  • the instruction is sent through the AT channel.
  • an AT channel can be established in advance between an execution body (for example, a PC) of the method and an instruction receiver (for example, a terminal), and the AT channel can be used until the terminal is turned off after the AT channel is established, and the AT channel is specifically used for transmitting the AT command.
  • the secure channel increases the security of the AT command transmission process.
  • the processing method of the soft SIM card disclosed in the foregoing embodiments transmits the soft SIM card information in an encrypted manner, thereby solving the problem that the soft SIM card information has a security risk in the transmission process.
  • a processing device of a soft SIM card may include the following units: an obtaining unit 61, an encrypting unit 62, a generating unit 63, and a transmitting unit 64, and each unit is specifically described as follows:
  • the obtaining unit 61 is configured to obtain soft SIM card information.
  • the encryption unit 62 is configured to encrypt the soft SIM card information according to a preset information encryption manner to obtain the encrypted soft SIM card information;
  • a generating unit 63 configured to generate an instruction that carries the encrypted soft SIM card information
  • the sending unit 64 is configured to send the instruction, so that the instruction receiving party decrypts the instruction according to a preset information decryption manner to obtain the soft SIM card information.
  • the processing unit according to C1, the encryption unit 62 is specifically configured to encrypt the soft SIM card information by using an AT tool.
  • the processing device of the soft SIM card disclosed in C1 to C3 can implement the flow of the processing method of the soft SIM card disclosed in the embodiments of FIG. 5, and details are not described herein again.
  • the embodiments described herein can be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof.
  • the processing unit can be implemented in one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processing (DSP), Digital Signal Processing Equipment (DSP Device, DSPD), programmable Programmable Logic Device (PLD), Field-Programmable Gate Array (FPGA), general purpose processor, controller, microcontroller, microprocessor, other for performing the functions described herein In an electronic unit or a combination thereof.
  • ASICs Application Specific Integrated Circuits
  • DSP Digital Signal Processing
  • DSP Device Digital Signal Processing Equipment
  • PLD programmable Programmable Logic Device
  • FPGA Field-Programmable Gate Array
  • the techniques described herein can be implemented by means of performing the functions described herein.
  • the software code can be stored in memory and executed by the processor.
  • the memory can be implemented in the processor or external to the processor.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, the technical solution of the embodiments of the present invention, or the part contributing to the prior art or the part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
  • the production, use, and processing method and device of the soft SIM card according to the embodiment of the present invention bind the terminal and the soft SIM card information in a file encryption manner to generate a soft SIM card file, and solve the soft SIM card information in the production stage. There are security risks in the stage.
  • the method, device and device for producing, using, and processing a soft SIM card according to an embodiment of the present invention decrypt the encrypted soft SIM card file by using the identifier of the terminal and the file decryption method to obtain the soft SIM card information.
  • the two-way legality authentication of the soft SIM card file and the terminal solves the problem that the soft SIM card information has security risks during the use phase.
  • the method for manufacturing, using, and processing the soft SIM card provided by the embodiment of the present invention transmits the soft SIM card information in an encrypted manner during the processing stage, thereby solving the problem of security risks in the transmission process of the soft SIM card information. .
  • the present invention has strong industrial applicability.

Abstract

The present invention relates to the field of communication technologies, and an embodiment of the present invention specifically relates to soft SIM card production, use, processing method and a device. The production method is applicable to a terminal and comprises: acquiring an instruction carrying encrypted soft SIM card information; decrypting, according to a preset information decryption manner, the encrypted soft SIM card information to obtain soft SIM card information; and encrypting, according to an identifier of the terminal and a preset file encryption manner, the soft SIM card information to generate an encrypted soft SIM card file. In comparison to the prior art, the embodiment of the present invention can be used to generate a soft SIM card file by binding a terminal with soft SIM card information by means of a file encryption manner during a production stage, thereby solving the issue in which security risks are present in soft SIM card information during the production stage.

Description

一种软SIM卡的生产、使用、处理方法及装置Production, use and processing method and device of soft SIM card
本申请要求于2017年09月26日提交中国专利局、申请号为201710877490.7、发明名称为“一种软SIM卡的生产、使用、处理方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on September 26, 2017, the Chinese Patent Office, the application number is 201710877490.7, and the invention name is "a production, use, processing method and device of a soft SIM card". This is incorporated herein by reference.
技术领域Technical field
本发明实施例涉及通信技术领域,具体涉及一种软SIM卡的生产、使用、处理方法及装置。Embodiments of the present invention relate to the field of communications technologies, and in particular, to a method, an apparatus, and a device for producing, using, and processing a soft SIM card.
背景技术Background technique
软SIM(Subscriber Identity Module,客户识别模块)卡技术也被称为虚拟SIM卡技术,是一种新兴的通信技术,可以帮助用户摆脱实体SIM卡的束缚,无需拆卸SIM卡就可以自由切换不同运营商。终端使用软SIM卡技术可以省掉传统的实体SIM卡的安装结构及其周边电路,降低终端的生产成本。Soft SIM (Subscriber Identity Module) card technology, also known as virtual SIM card technology, is an emerging communication technology that can help users get rid of the physical SIM card and freely switch between different operations without disassembling the SIM card. Business. The terminal uses the soft SIM card technology to save the installation structure of the traditional physical SIM card and its peripheral circuits, and reduce the production cost of the terminal.
软SIM卡技术是通过软件方法把SIM卡信息写入终端,使得软SIM卡信息在生产环节及使用过程中存在安全隐患。由于软SIM卡信息一旦被泄露则无法像实体SIM卡那样进行挂失,更甚者若被竞争对手盗用则会带来巨大的商业损失及法律风险。The soft SIM card technology writes the SIM card information into the terminal through the software method, so that the soft SIM card information has security risks in the production process and the use process. Since the soft SIM card information is leaked, it cannot be reported as a physical SIM card, and even if it is stolen by a competitor, it will bring huge commercial losses and legal risks.
上述对问题的发现过程的描述,仅用于辅助理解本发明的技术方案,并不代表承认上述内容是现有技术。The above description of the discovery process of the problem is only for assisting in understanding the technical solutions of the present invention, and does not constitute an admission that the above is prior art.
发明内容Summary of the invention
为了解决上述技术问题或者至少部分地解决上述技术问题,本发明实施例提供了一种软SIM卡的生产、使用、处理方法及装置。In order to solve the above technical problem or at least partially solve the above technical problem, an embodiment of the present invention provides a method, an apparatus, and a device for producing, using, and processing a soft SIM card.
第一方面,本发明实施例公开一种软SIM卡的生产方法,应用于终端,包括:In a first aspect, an embodiment of the present invention discloses a method for manufacturing a soft SIM card, which is applied to a terminal, and includes:
获取携带有加密后的软SIM卡信息的指令;Obtaining an instruction carrying the encrypted soft SIM card information;
根据预设信息解密方式,解密所述加密后的软SIM卡信息,得到软SIM卡信息;Decrypting the encrypted soft SIM card information according to a preset information decryption manner to obtain soft SIM card information;
根据所述终端的标识以及预设文件加密方式,加密所述软SIM卡信息,生成加密后的软SIM卡文件。And encrypting the soft SIM card information according to the identifier of the terminal and a preset file encryption manner to generate an encrypted soft SIM card file.
可选的,所述获取携带有加密后的软SIM卡信息的指令,包括:Optionally, the obtaining, by the instruction, the information that carries the encrypted soft SIM card information includes:
获取指令;Get instruction
基于所述指令携带的指令类型信息,确定所述指令对应的指令类型;Determining an instruction type corresponding to the instruction based on the instruction type information carried by the instruction;
判断所述指令类型是否为预设的指令类型;Determining whether the instruction type is a preset instruction type;
若为预设的指令类型,则基于所述指令携带的来源信息,确定所述指令的来源是否为预设来源;If it is a preset instruction type, determining whether the source of the instruction is a preset source based on source information carried by the instruction;
若为所述预设来源,则确定所述指令为携带有加密后的软SIM卡信息的指令。If it is the preset source, it is determined that the instruction is an instruction carrying the encrypted soft SIM card information.
可选的,所述预设的指令类型为AT命令类型,所述预设来源为AT工具。Optionally, the preset instruction type is an AT command type, and the preset source is an AT tool.
可选的,所述指令为AT命令;所述获取携带有加密后的软SIM卡信息的指令,包括:Optionally, the instruction is an AT command, and the acquiring, by the instruction, the encrypted soft SIM card information, includes:
通过AT通道获取AT命令;Obtain an AT command through the AT channel;
基于所述AT命令携带的来源信息,确定所述AT命令的来源是否为AT工具;Determining whether the source of the AT command is an AT tool based on source information carried by the AT command;
若是,则确定所述AT命令为携带有加密后的软SIM卡信息的指令。If yes, it is determined that the AT command is an instruction carrying the encrypted soft SIM card information.
可选的,所述基于所述AT命令携带的来源信息,确定所述AT命令的来源是否为AT工具,包括:Optionally, the determining, according to the source information carried by the AT command, whether the source of the AT command is an AT tool, includes:
通过AT过滤器过滤所述AT命令的命令头中携带的来源信息,确定所述AT命令的来源是否为AT工具。The source information carried in the command header of the AT command is filtered by the AT filter to determine whether the source of the AT command is an AT tool.
可选的,所述加密后的软SIM卡信息为通过AT工具加密后的软SIM卡信息。Optionally, the encrypted soft SIM card information is soft SIM card information encrypted by the AT tool.
可选的,所述根据所述终端的标识以及预设文件加密方式,加密所述软SIM卡信息之前,所述方法还包括:Optionally, before the encrypting the soft SIM card information according to the identifier of the terminal and the preset file encryption manner, the method further includes:
获取所述终端的CPU标识作为所述终端的标识。Obtaining a CPU identifier of the terminal as an identifier of the terminal.
可选的,所述方法还包括:Optionally, the method further includes:
存储所述软SIM卡文件到所述终端的只读分区。Storing the soft SIM card file to a read-only partition of the terminal.
可选的,所述软SIM卡文件为镜像文件。Optionally, the soft SIM card file is an image file.
可选的,所述存储所述软SIM卡文件到所述终端的只读分区之后,所述方法还包括:Optionally, after the storing the soft SIM card file to the read-only partition of the terminal, the method further includes:
重新启动操作系统。Restart the operating system.
第二方面,本发明实施例还公开一种软SIM卡的生产装置,应用于终端,包括:In a second aspect, the embodiment of the present invention further discloses a device for producing a soft SIM card, which is applied to a terminal, and includes:
获取单元,用于获取携带有加密后的软SIM卡信息的指令;An obtaining unit, configured to acquire an instruction that carries the encrypted soft SIM card information;
解密单元,用于根据预设信息解密方式,解密所述加密后的软SIM卡信息,得到软SIM卡信息;a decryption unit, configured to decrypt the encrypted soft SIM card information according to a preset information decryption manner, to obtain soft SIM card information;
生成单元,用于根据所述终端的标识以及预设文件加密方式,加密所述软SIM卡信息,生成加密后的软SIM卡文件。And a generating unit, configured to encrypt the soft SIM card information according to the identifier of the terminal and a preset file encryption manner, and generate an encrypted soft SIM card file.
可选的,获取单元,具体用于:Optionally, the obtaining unit is specifically configured to:
获取指令;基于所述指令携带的指令类型信息,确定所述指令对应的指令类型;判断所述指令类型是否为预设的指令类型;若为预设的指令类型,则基于所述指令携带的来源信息,确定所述指令的来源是否为预设来源;若为所述预设来源,则确定所述指令为携带有加密后的软SIM卡信息的指令。Obtaining an instruction; determining, according to the instruction type information carried by the instruction, an instruction type corresponding to the instruction; determining whether the instruction type is a preset instruction type; and if it is a preset instruction type, carrying the instruction based on the instruction The source information determines whether the source of the instruction is a preset source; if it is the preset source, determining that the instruction is an instruction carrying the encrypted soft SIM card information.
可选的,所述预设的指令类型为AT命令类型,所述预设来源为AT工具。Optionally, the preset instruction type is an AT command type, and the preset source is an AT tool.
可选的,所述指令为AT命令;所述获取单元,具体用于:Optionally, the instruction is an AT command, and the acquiring unit is specifically configured to:
通过AT通道获取AT命令;基于所述AT命令携带的来源信息,确定所述AT命令的来源是否为AT工具;若是,则确定所述AT命令为携带有加密后的软SIM卡信息的指令。Obtaining an AT command through the AT channel; determining, according to the source information carried by the AT command, whether the source of the AT command is an AT tool; if yes, determining that the AT command is an instruction carrying the encrypted soft SIM card information.
可选的,所述获取单元基于所述AT命令携带的来源信息,确定所述AT命令的来源是否为AT工具,包括:Optionally, the obtaining unit determines, according to the source information carried by the AT command, whether the source of the AT command is an AT tool, including:
所述获取单元通过AT过滤器过滤所述AT命令的命令头中携带的来源信息,确定所述AT命令的来源是否为AT工具。The acquiring unit filters the source information carried in the command header of the AT command by using an AT filter, and determines whether the source of the AT command is an AT tool.
可选的,所述加密后的软SIM卡信息为通过AT工具加密后的软SIM卡信息。Optionally, the encrypted soft SIM card information is soft SIM card information encrypted by the AT tool.
可选的,所述生成单元还用于:Optionally, the generating unit is further configured to:
根据所述终端的标识以及预设文件加密方式,加密所述软SIM卡信息之前,获取所述终端的CPU标识作为所述终端的标识。Before the soft SIM card information is encrypted, the CPU identifier of the terminal is obtained as the identifier of the terminal, according to the identifier of the terminal and the preset file encryption mode.
可选的,所述生产装置还包括:Optionally, the production device further includes:
处理单元,用于存储所述软SIM卡文件到所述终端的只读分区。And a processing unit, configured to store the soft SIM card file to a read-only partition of the terminal.
可选的,所述软SIM卡文件为镜像文件。Optionally, the soft SIM card file is an image file.
可选的,所述处理单元,还用于:Optionally, the processing unit is further configured to:
存储所述软SIM卡文件到所述终端的只读分区之后,重新启动操作系统。After storing the soft SIM card file to the read-only partition of the terminal, restart the operating system.
第三方面,本发明实施例还公开一种软SIM卡的使用方法,应用于终端,包括:In a third aspect, the embodiment of the present invention further discloses a method for using a soft SIM card, which is applied to a terminal, and includes:
获取所述终端中存储的加密后的软SIM卡文件;Obtaining the encrypted soft SIM card file stored in the terminal;
根据所述终端的标识以及预设文件解密方式,解密所述加密后的软SIM卡文 件,得到软SIM卡信息;Decrypting the encrypted soft SIM card file according to the identifier of the terminal and the default file decryption manner to obtain soft SIM card information;
提取所述软SIM卡信息中的IMSI以及KI;Extracting the IMSI and the KI in the soft SIM card information;
根据所述IMSI以及KI,完成网络注册。Network registration is completed according to the IMSI and KI.
可选的,所述获取所述终端中存储的加密后的软SIM卡文件,包括:Optionally, the obtaining the encrypted soft SIM card file stored in the terminal includes:
获取所述终端的只读分区中存储的加密后的软SIM卡文件。Obtaining the encrypted soft SIM card file stored in the read-only partition of the terminal.
可选的,所述软SIM卡文件为镜像文件。Optionally, the soft SIM card file is an image file.
可选的,所述获取所述终端中存储的加密后的软SIM卡文件,包括:Optionally, the obtaining the encrypted soft SIM card file stored in the terminal includes:
通过镜像文件读取工具获取所述终端的只读分区中存储的加密后的软SIM卡文件。The encrypted soft SIM card file stored in the read-only partition of the terminal is obtained by the image file reading tool.
可选的,所述根据所述终端的标识以及预设文件解密方式,解密所述加密后的软SIM卡文件之前,所述方法还包括:Optionally, the method further includes: before the decrypting the encrypted soft SIM card file, according to the identifier of the terminal and the default file decryption manner, the method further includes:
获取所述终端的CPU标识作为所述终端的标识。Obtaining a CPU identifier of the terminal as an identifier of the terminal.
第四方面,本发明实施例还公开一种软SIM卡的使用装置,应用于终端,包括:In a fourth aspect, the embodiment of the present invention further discloses a device for using a soft SIM card, which is applied to a terminal, and includes:
获取单元,用于获取所述终端中存储的加密后的软SIM卡文件;An obtaining unit, configured to acquire an encrypted soft SIM card file stored in the terminal;
解密单元,用于根据所述终端的标识以及预设文件解密方式,解密所述加密后的软SIM卡文件,得到软SIM卡信息;a decrypting unit, configured to decrypt the encrypted soft SIM card file according to the identifier of the terminal and a preset file decryption manner, to obtain soft SIM card information;
提取单元,用于提取所述软SIM卡信息中的IMSI以及KI;An extracting unit, configured to extract an IMSI and a KI in the soft SIM card information;
注册单元,用于根据所述IMSI以及KI,完成网络注册。A registration unit is configured to complete network registration according to the IMSI and the KI.
可选的,所述获取单元,具体用于获取所述终端的只读分区中存储的加密后的软SIM卡文件。Optionally, the obtaining unit is specifically configured to obtain an encrypted soft SIM card file stored in a read-only partition of the terminal.
可选的,所述软SIM卡文件为镜像文件。Optionally, the soft SIM card file is an image file.
可选的,所述获取单元,具体用于通过镜像文件读取工具获取所述终端的只读分区中存储的加密后的软SIM卡文件。Optionally, the obtaining unit is specifically configured to obtain, by using an image file reading tool, the encrypted soft SIM card file stored in the read-only partition of the terminal.
可选的,所述解密单元,还用于在根据所述终端的标识以及预设文件解密方式,解密所述加密后的软SIM卡文件之前,获取所述终端的CPU标识作为所述终端的标识。Optionally, the decrypting unit is further configured to acquire the CPU identifier of the terminal as the terminal before decrypting the encrypted soft SIM card file according to the identifier of the terminal and the default file decryption manner. Logo.
第五方面,本发明实施例还公开一种软SIM卡的处理方法,包括:In a fifth aspect, an embodiment of the present invention further discloses a method for processing a soft SIM card, including:
获取软SIM卡信息;Obtain soft SIM card information;
根据预设信息加密方式加密所述软SIM卡信息,得到加密后的软SIM卡信息;Encrypting the soft SIM card information according to a preset information encryption manner to obtain encrypted soft SIM card information;
生成携带有所述加密后的软SIM卡信息的指令;Generating an instruction carrying the encrypted soft SIM card information;
发送所述指令,以使所述指令接收方根据预设信息解密方式解密所述指令得到所述软SIM卡信息。And transmitting the instruction, so that the instruction recipient decrypts the instruction according to a preset information decryption manner to obtain the soft SIM card information.
可选的,所述根据预设信息加密方式加密所述软SIM卡信息,包括:Optionally, the encrypting the soft SIM card information according to the preset information encryption manner includes:
通过AT工具加密所述软SIM卡信息。The soft SIM card information is encrypted by an AT tool.
可选的,所述指令为AT指令,所述发送所述指令,包括:Optionally, the instruction is an AT instruction, and the sending the instruction includes:
通过AT通道发送所述指令。The instruction is sent through the AT channel.
第六方面,本发明实施例还公开一种软SIM卡的处理装置,包括:In a sixth aspect, an embodiment of the present invention further provides a processing apparatus for a soft SIM card, including:
获取单元,用于获取软SIM卡信息;An obtaining unit, configured to obtain soft SIM card information;
加密单元,用于根据预设信息加密方式加密所述软SIM卡信息,得到加密后的软SIM卡信息;An encryption unit, configured to encrypt the soft SIM card information according to a preset information encryption manner, to obtain the encrypted soft SIM card information;
生成单元,用于生成携带有所述加密后的软SIM卡信息的指令;a generating unit, configured to generate an instruction that carries the encrypted soft SIM card information;
发送单元,用于发送所述指令,以使所述指令接收方根据预设信息解密方式解密所述指令得到所述软SIM卡信息。And a sending unit, configured to send the instruction, so that the instruction receiving party decrypts the instruction according to a preset information decryption manner to obtain the soft SIM card information.
可选的,所述加密单元,具体用于通过AT工具加密所述软SIM卡信息。Optionally, the encryption unit is specifically configured to encrypt the soft SIM card information by using an AT tool.
可选的,所述指令为AT指令,所述发送单元,具体用于通过AT通道发送所述指令。Optionally, the instruction is an AT command, and the sending unit is specifically configured to send the instruction by using an AT channel.
相比现有技术,本发明实施例提出的软SIM卡的生产、使用、处理方法及装置,在生产阶段,以文件加密方式绑定终端与软SIM卡信息,生成软SIM卡文件,解决了软SIM卡信息在生产阶段存在安全隐患的问题。Compared with the prior art, the production, use, and processing method and device of the soft SIM card proposed by the embodiment of the present invention bind the terminal and the soft SIM card information in a file encryption manner to generate a soft SIM card file in the production stage, and solve the problem. Soft SIM card information has security risks in the production stage.
进一步地,本发明实施例提出的软SIM卡的生产、使用、处理方法及装置,在使用阶段,通过终端的标识以及文件解密方式解密加密后的软SIM卡文件,得到软SIM卡信息,实现了软SIM卡文件与终端的双向的合法性鉴权,解决了软SIM卡信息在使用阶段存在安全隐患的问题。Further, the method, device and device for producing, using, and processing a soft SIM card according to an embodiment of the present invention decrypt the encrypted soft SIM card file by using the identifier of the terminal and the file decryption method to obtain the soft SIM card information. The two-way legality authentication of the soft SIM card file and the terminal solves the problem that the soft SIM card information has security risks during the use phase.
进一步地,本发明实施例提出的软SIM卡的生产、使用、处理方法及装置,在处理阶段,以加密方式传输软SIM卡信息,解决了软SIM卡信息在传输过程中存在安全隐患的问题。Further, the method for manufacturing, using, and processing the soft SIM card provided by the embodiment of the present invention transmits the soft SIM card information in an encrypted manner during the processing stage, thereby solving the problem of security risks in the transmission process of the soft SIM card information. .
附图说明DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前 提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are only some of the present invention. For the embodiments, other drawings may be obtained from those skilled in the art without any inventive labor.
图1为本发明实施例提供的一种软SIM卡的生产方法流程图;FIG. 1 is a flowchart of a method for manufacturing a soft SIM card according to an embodiment of the present invention;
图2为本发明实施例提供的一种软SIM卡的生产装置的框图;2 is a block diagram of a device for producing a soft SIM card according to an embodiment of the present invention;
图3为本发明实施例提供的一种软SIM卡的使用方法流程图;FIG. 3 is a flowchart of a method for using a soft SIM card according to an embodiment of the present invention;
图4为本发明实施例提供的一种软SIM卡的使用装置的框图;4 is a block diagram of a device for using a soft SIM card according to an embodiment of the present invention;
图5为本发明实施例提供的一种软SIM卡的处理方法流程图;FIG. 5 is a flowchart of a method for processing a soft SIM card according to an embodiment of the present invention;
图6为本发明实施例提供的一种软SIM卡的处理装置的框图。FIG. 6 is a block diagram of a processing apparatus of a soft SIM card according to an embodiment of the present invention.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明的保护范围。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the scope of the invention.
如图1所示,本发明实施例公开一种软SIM卡的生产方法,应用于终端,终端例如为智能手机,平板电脑等便于随身携带的智能设备,软SIM卡的生产方法可包括以下步骤101~103:As shown in FIG. 1 , an embodiment of the present invention discloses a method for manufacturing a soft SIM card, which is applied to a terminal, such as a smart phone, a tablet computer, and the like, which are convenient to carry around. The method for producing a soft SIM card may include the following steps. 101~103:
101、获取携带有加密后的软SIM卡信息的指令。101. Obtain an instruction that carries the encrypted soft SIM card information.
本实施例中,软SIM卡信息包括:IMSI(International Mobile Subscriber Identification Number,国际移动用户识别号)及KI(Key Identifier,密钥标识符)。In this embodiment, the soft SIM card information includes an IMSI (International Mobile Subscriber Identification Number) and a KI (Key Identifier).
本实施例中,软SIM卡信息经过预设信息加密方式加密后封装为指令,软SIM卡信息不再以明文形式传输,增加了软SIM卡信息在传输过程中的安全性。In this embodiment, the soft SIM card information is encapsulated into an instruction after being encrypted by a preset information encryption manner, and the soft SIM card information is no longer transmitted in a clear text form, thereby increasing the security of the soft SIM card information in the transmission process.
102、根据预设信息解密方式,解密所述加密后的软SIM卡信息,得到软SIM卡信息。102. Decrypt the encrypted soft SIM card information according to a preset information decryption manner to obtain soft SIM card information.
本实施例中,预设信息解密方式是与所述预设信息加密方式对应的解密方式。In this embodiment, the preset information decryption mode is a decryption mode corresponding to the preset information encryption mode.
103、根据所述终端的标识以及预设文件加密方式,加密所述软SIM卡信息,生成加密后的软SIM卡文件。103. Encrypt the soft SIM card information according to the identifier of the terminal and a preset file encryption manner to generate an encrypted soft SIM card file.
本实施例中,由于终端的标识是终端的唯一身份信息,使用终端的标识作为密钥对软SIM信息进行加密,生成的软SIM卡文件只能在该终端使用,并且该终端也只能使用该软SIM卡文件,实现了终端与软SIM卡的互相绑定,增加了生产软SIM卡的安全性。In this embodiment, since the identifier of the terminal is the unique identity information of the terminal, the soft SIM information is encrypted by using the identifier of the terminal as a key, and the generated soft SIM card file can only be used in the terminal, and the terminal can only be used. The soft SIM card file realizes the binding of the terminal and the soft SIM card, and increases the security of producing the soft SIM card.
相比现有技术,本发明实施例提出的软SIM卡的生产方法,获取以信息加密方式加密的软SIM卡信息,并以文件加密方式绑定终端与软SIM卡信息,生成软SIM卡文件,解决了软SIM卡信息在生产阶段存在安全隐患的问题。Compared with the prior art, the method for producing a soft SIM card according to the embodiment of the present invention acquires soft SIM card information encrypted by means of information encryption, and binds the terminal and the soft SIM card information in a file encryption manner to generate a soft SIM card file. The problem that the soft SIM card information has security risks in the production stage is solved.
在一个具体的例子中,步骤101所述获取携带有加密后的软SIM卡信息的指令,具体包括如下图1中未示出的步骤1011~1015:In a specific example, the step 101 acquires an instruction that carries the encrypted soft SIM card information, and specifically includes steps 1011 to 1015 that are not shown in FIG. 1 as follows:
1011、获取指令。1011. Obtain an instruction.
1012、基于所述指令携带的指令类型信息,确定所述指令对应的指令类型。1012. Determine an instruction type corresponding to the instruction based on the instruction type information carried by the instruction.
1013、判断所述指令类型是否为预设的指令类型;若为预设的指令类型,则执行步骤1014;否则,不进行任何操作。1013. Determine whether the instruction type is a preset instruction type; if it is a preset instruction type, execute step 1014; otherwise, do not perform any operation.
1014、基于所述指令携带的来源信息,确定所述指令的来源是否为预设来源;若为所述预设来源,则执行步骤1015;否则,不进行任何操作。1014. Determine, according to the source information carried by the instruction, whether the source of the instruction is a preset source; if the preset source is, perform step 1015; otherwise, do not perform any operation.
1015、确定所述指令为携带有加密后的软SIM卡信息的指令。1015. Determine that the instruction is an instruction that carries the encrypted soft SIM card information.
本实施例中,所述预设的指令类型为AT(Attention,注意)命令类型,所述预设来源为AT工具(AT tool),AT工具是运行在计算机(例如个人计算机PC)上的一个工具,可以对信息进行加密并封装为AT命令。In this embodiment, the preset instruction type is an AT (Attention) command type, the preset source is an AT tool, and the AT tool is a computer running on a computer (for example, a personal computer PC). A tool that encrypts information and encapsulates it as an AT command.
本实施例中,软SIM卡信息由特定加密工具经过预设信息加密方式加密后封装为特定指令类型的指令,进一步增加软SIM卡信息在传输过程中的安全性。步骤1011所述获取指令后,判断该指令是否为特定指令类型以及是否是由特定加密工具封装,若是,则可确定该指令中携带有加密后的软SIM卡信息,否则,该指令不携带加密后的软SIM卡信息,应当被忽略。In this embodiment, the soft SIM card information is encapsulated into a specific instruction type by a specific encryption tool after being encrypted by a preset information encryption manner, thereby further increasing the security of the soft SIM card information in the transmission process. After obtaining the instruction, the step 1011 determines whether the instruction is a specific instruction type and is encapsulated by a specific encryption tool. If yes, it may be determined that the instruction carries the encrypted soft SIM card information; otherwise, the instruction does not carry the encryption. The subsequent soft SIM card information should be ignored.
在一个具体的例子中,步骤101中所述指令为AT命令;相应地,步骤101所述获取携带有加密后的软SIM卡信息的指令,具体包括图1中未示出的如下步骤1011’至1013”:In a specific example, the instruction in step 101 is an AT command; correspondingly, the step 101 acquires an instruction carrying the encrypted soft SIM card information, specifically including the following step 1011' not shown in FIG. To 1013":
1011’、通过AT通道获取AT命令。1011', acquire an AT command through the AT channel.
本实施例中,指令为AT命令,指令发送方与本方法的执行主体(例如终端)之间可预先建立AT通道,AT通道建立后可一直使用直至终端关机,AT通道是专门用于传输AT命令的安全通道,可增加AT命令传输过程的安全性。In this embodiment, the command is an AT command, and the AT channel can be established in advance between the command sender and the execution body (for example, the terminal) of the method, and the AT channel can be used until the terminal is turned off after the AT channel is established, and the AT channel is specifically used for transmitting the AT. The secure channel of the command increases the security of the AT command transmission process.
1012’、基于所述AT命令携带的来源信息,确定所述AT命令的来源是否为AT工具。若是,则执行步骤1013”;否则,不进行任何操作。1012', determining whether the source of the AT command is an AT tool based on source information carried by the AT command. If yes, go to step 1013"; otherwise, do nothing.
1013”、确定所述AT命令为携带有加密后的软SIM卡信息的指令。1013", determining that the AT command is an instruction carrying the encrypted soft SIM card information.
本实施例中,软SIM卡信息由AT工具经过预设信息加密方式加密后封装为 AT命令,且该AT命令在AT通道中传输,进一步增加软SIM卡信息在传输过程中的安全性。步骤1011’所述通过AT通道获取AT命令后,判断该AT命令是否为是由AT工具封装,若是,则可确定该AT命令中携带有加密后的软SIM卡信息,否则,该AT命令不携带加密后的软SIM卡信息,应当被忽略。In this embodiment, the soft SIM card information is encapsulated into an AT command by the AT tool after being encrypted by the preset information encryption method, and the AT command is transmitted in the AT channel, thereby further increasing the security of the soft SIM card information in the transmission process. Step 1011, after obtaining the AT command through the AT channel, determining whether the AT command is encapsulated by the AT tool, and if yes, determining that the AT command carries the encrypted soft SIM card information; otherwise, the AT command does not Carrying the encrypted soft SIM card information should be ignored.
在一个具体的例子中,步骤1012’所述基于所述AT命令携带的来源信息,确定所述AT命令的来源是否为AT工具,具体包括:In a specific example, the step 1012' determines whether the source of the AT command is an AT tool based on the source information carried by the AT command, and specifically includes:
通过AT过滤器(AT filter)过滤所述AT命令的命令头中携带的来源信息,确定所述AT命令的来源是否为AT工具。The source information carried in the command header of the AT command is filtered by an AT filter to determine whether the source of the AT command is an AT tool.
本实施例中,AT工具封装AT命令时在AT命令的命令头中增加来源信息,AT过滤器检查AT命令的命令头中携带的来源信息,过滤掉来源信息不是AT工具的AT命令。AT过滤器为运行在终端中的软件程序。In this embodiment, when the AT tool encapsulates the AT command, the source information is added in the command header of the AT command, and the AT filter checks the source information carried in the command header of the AT command, and filters out the source information that is not the AT command of the AT tool. The AT filter is a software program that runs in the terminal.
以上各实施例中涉及到AT工具的实施例中,加密后的软SIM卡信息为通过AT工具加密后的软SIM卡信息。In the embodiment related to the AT tool in the foregoing embodiments, the encrypted soft SIM card information is soft SIM card information encrypted by the AT tool.
以上各实施例中,步骤103所述根据所述终端的标识以及预设文件加密方式,加密所述软SIM卡信息之前,还可包括图1中未示出的如下步骤103’:In the foregoing embodiments, before the soft SIM card information is encrypted according to the identifier of the terminal and the preset file encryption manner, the following step 103' not shown in FIG. 1 may be further included:
103’、获取所述终端的CPU标识作为所述终端的标识。103. Obtain a CPU identifier of the terminal as an identifier of the terminal.
本实施例中,通过获取终端的CPU标识,进而通过绑定CPU标识与软SIM卡信息,实现绑定终端与软SIM卡信息,增加了软SIM卡在生产过程中的安全性。In this embodiment, by acquiring the CPU identifier of the terminal, and binding the CPU identifier and the soft SIM card information, the binding terminal and the soft SIM card information are realized, and the security of the soft SIM card in the production process is increased.
以上各实施例公开的软SIM卡的生产方法,还可包括图1中未示出的如下步骤104:The method for producing a soft SIM card disclosed in the above embodiments may further include the following step 104 not shown in FIG. 1:
104、存储所述软SIM卡文件到所述终端的只读分区。104. Store the soft SIM card file to a read-only partition of the terminal.
本实施例中,所述软SIM卡文件存储到只读分区,增加了软SIM卡的安全性。进一步地,软SIM卡文件可以为镜像文件,镜像文件进一步增加了软SIM卡信息的安全性。In this embodiment, the soft SIM card file is stored in a read-only partition, which increases the security of the soft SIM card. Further, the soft SIM card file may be an image file, and the image file further increases the security of the soft SIM card information.
在一个具体的例子中,步骤104所述存储所述软SIM卡文件到所述终端的只 读分区之后,所述方法还可包括图1中未示出的如下步骤105:In a specific example, after the step 104 stores the soft SIM card file to the read-only partition of the terminal, the method may further include the following step 105 not shown in FIG. 1:
105、重新启动操作系统。105. Restart the operating system.
本实施例中,重新启动操作系统便于终端使用存储的软SIM卡文件进行网络注册。In this embodiment, restarting the operating system facilitates the terminal to perform network registration using the stored soft SIM card file.
可见,以上各实施例公开的软SIM卡的生产方法,获取以信息加密方式加密的软SIM卡信息,并以文件加密方式绑定终端与软SIM卡信息,生成软SIM卡文件,解决了软SIM卡信息在生产阶段存在安全隐患的问题。It can be seen that the method for producing a soft SIM card disclosed in the above embodiments obtains the soft SIM card information encrypted by the information encryption method, and binds the terminal and the soft SIM card information in a file encryption manner to generate a soft SIM card file, thereby solving the soft The SIM card information has a security risk in the production stage.
本发明实施例还公开:The embodiment of the invention also discloses:
A1、一种软SIM卡的生产装置,应用于终端,如图2所示,可包括如下单元:获取单元21、解密单元22以及生成单元23,各单元具体说明如下:A1, a soft SIM card production device, applied to the terminal, as shown in FIG. 2, may include the following units: an obtaining unit 21, a decrypting unit 22, and a generating unit 23, and each unit is specifically described as follows:
获取单元21,用于获取携带有加密后的软SIM卡信息的指令;The obtaining unit 21 is configured to acquire an instruction that carries the encrypted soft SIM card information;
解密单元22,用于根据预设信息解密方式,解密所述加密后的软SIM卡信息,得到软SIM卡信息;The decrypting unit 22 is configured to decrypt the encrypted soft SIM card information according to a preset information decryption manner to obtain soft SIM card information.
生成单元23,用于根据所述终端的标识以及预设文件加密方式,加密所述软SIM卡信息,生成加密后的软SIM卡文件。The generating unit 23 is configured to encrypt the soft SIM card information according to the identifier of the terminal and a preset file encryption manner, and generate an encrypted soft SIM card file.
A2、根据A1所述的生产装置,所示获取单元21,具体用于:A2. The production unit according to A1, the obtaining unit 21 is specifically configured to:
获取指令;基于所述指令携带的指令类型信息,确定所述指令对应的指令类型;判断所述指令类型是否为预设的指令类型;若为预设的指令类型,则基于所述指令携带的来源信息,确定所述指令的来源是否为预设来源;若为所述预设来源,则确定所述指令为携带有加密后的软SIM卡信息的指令。Obtaining an instruction; determining, according to the instruction type information carried by the instruction, an instruction type corresponding to the instruction; determining whether the instruction type is a preset instruction type; and if it is a preset instruction type, carrying the instruction based on the instruction The source information determines whether the source of the instruction is a preset source; if it is the preset source, determining that the instruction is an instruction carrying the encrypted soft SIM card information.
A3、根据A2所述的生产装置,所述预设的指令类型为AT命令类型,所述预设来源为AT工具。A3. The production device according to A2, wherein the preset instruction type is an AT command type, and the preset source is an AT tool.
A4、根据A1所述的生产装置,所述指令为AT命令;所述获取单元21,具体用于:A4. The production device according to A1, wherein the instruction is an AT command; the acquiring unit 21 is specifically configured to:
通过AT通道获取AT命令;基于所述AT命令携带的来源信息,确定所述AT命令的来源是否为AT工具;若是,则确定所述AT命令为携带有加密后的软SIM卡信息的指令。Obtaining an AT command through the AT channel; determining, according to the source information carried by the AT command, whether the source of the AT command is an AT tool; if yes, determining that the AT command is an instruction carrying the encrypted soft SIM card information.
A5、根据A4所述的生产装置,所述获取单元21基于所述AT命令携带的来 源信息,确定所述AT命令的来源是否为AT工具,包括:A5. The production device according to A4, the obtaining unit 21 determines, according to the source information carried by the AT command, whether the source of the AT command is an AT tool, including:
所述获取单元21通过AT过滤器过滤所述AT命令的命令头中携带的来源信息,确定所述AT命令的来源是否为AT工具。The acquiring unit 21 filters the source information carried in the command header of the AT command by using an AT filter, and determines whether the source of the AT command is an AT tool.
A6、根据A3至A5任一所述的生产装置,所述加密后的软SIM卡信息为通过AT工具加密后的软SIM卡信息。A6. The production device according to any one of A3 to A5, wherein the encrypted soft SIM card information is soft SIM card information encrypted by an AT tool.
A7、根据A1至A5任一所述的生产装置,所述生成单元23,还用于:A7. The production device according to any one of A1 to A5, wherein the generating unit 23 is further configured to:
根据所述终端的标识以及预设文件加密方式,加密所述软SIM卡信息之前,获取所述终端的CPU标识作为所述终端的标识。Before the soft SIM card information is encrypted, the CPU identifier of the terminal is obtained as the identifier of the terminal, according to the identifier of the terminal and the preset file encryption mode.
A8、根据A1至A5任一所述的生产装置,所述生产装置,还包括图2中未示出的处理单元24:A8. The production apparatus according to any one of A1 to A5, wherein the production apparatus further comprises a processing unit 24 not shown in FIG. 2:
处理单元24,用于存储所述软SIM卡文件到所述终端的只读分区。The processing unit 24 is configured to store the soft SIM card file to a read-only partition of the terminal.
A9、根据A8所述的生产装置,所述软SIM卡文件为镜像文件。A9. The production device according to A8, wherein the soft SIM card file is an image file.
A10、根据A8所述的生产装置,所述处理单元24,还用于:A10. The production device according to A8, wherein the processing unit 24 is further configured to:
存储所述软SIM卡文件到所述终端的只读分区之后,重新启动操作系统。After storing the soft SIM card file to the read-only partition of the terminal, restart the operating system.
A1至A10公开的软SIM卡的生产装置能够实现图1相关的各实施例公开的软SIM卡的生产方法的流程,为避免重复,这里不再赘述。The production device of the soft SIM card disclosed in A1 to A10 can implement the flow of the method for producing the soft SIM card disclosed in the embodiments of FIG. 1. To avoid repetition, details are not described herein again.
如图3所示,本实施例公开一种软SIM卡的使用方法,应用于终端,可包括如下步骤301~304:As shown in FIG. 3, this embodiment discloses a method for using a soft SIM card, which is applied to a terminal, and may include the following steps 301-304:
301、获取所述终端中存储的加密后的软SIM卡文件。301. Acquire an encrypted soft SIM card file stored in the terminal.
本实施例中,终端中存储的加密后的软SIM卡文件可以是通过图1相关的各实施例公开的软SIM卡的生产方法所得到软SIM卡文件。In this embodiment, the encrypted soft SIM card file stored in the terminal may be a soft SIM card file obtained by the method for producing the soft SIM card disclosed in the embodiments related to FIG.
302、根据所述终端的标识以及预设文件解密方式,解密所述加密后的软SIM卡文件,得到软SIM卡信息。302. Decrypt the encrypted soft SIM card file according to the identifier of the terminal and the default file decryption manner to obtain soft SIM card information.
本实施例中,由于终端的标识是终端的唯一身份信息,使用终端的标识作为密钥对软SIM信息进行加密,生成的软SIM卡文件只能在该终端使用,并且该终端也只能使用该软SIM卡文件,实现了终端与软SIM卡的互相绑定,步骤302相当于通过终端的标识对软SIM卡文件进行双向鉴权,若解密失败,则终止使用该软SIM卡文件。In this embodiment, since the identifier of the terminal is the unique identity information of the terminal, the soft SIM information is encrypted by using the identifier of the terminal as a key, and the generated soft SIM card file can only be used in the terminal, and the terminal can only be used. The soft SIM card file realizes mutual binding between the terminal and the soft SIM card. Step 302 is equivalent to performing two-way authentication on the soft SIM card file by using the identifier of the terminal. If the decryption fails, the soft SIM card file is terminated.
303、提取所述软SIM卡信息中的IMSI以及KI。303. Extract an IMSI and a KI in the soft SIM card information.
304、根据所述IMSI以及KI,完成网络注册。304. Complete network registration according to the IMSI and KI.
本实施例中,根据IMSI以及KI完成网络注册,属于本领域的成熟技术,本实施例不再赘述完成网络注册的流程。In this embodiment, the network registration is completed according to the IMSI and the KI, which is a mature technology in the field, and the process of completing the network registration is not repeated in this embodiment.
相比现有技术,本实施例公开的软SIM卡的使用方法,通过终端的标识以及文件解密方式解密加密后的软SIM卡文件,得到软SIM卡信息,实现了软SIM卡文件与终端的双向的合法性鉴权,解决了软SIM卡信息在使用阶段存在安全隐患的问题。Compared with the prior art, the method for using the soft SIM card disclosed in this embodiment decrypts the encrypted soft SIM card file by using the identifier of the terminal and the file decryption method to obtain the soft SIM card information, and realizes the soft SIM card file and the terminal. Two-way legality authentication solves the problem of security risks in the use of soft SIM card information.
在一个具体的例子中,步骤301所述获取所述终端中存储的加密后的软SIM卡文件,具体包括:获取所述终端的只读分区中存储的加密后的软SIM卡文件。In a specific example, the obtaining the encrypted soft SIM card file stored in the terminal by the step 301 includes: acquiring the encrypted soft SIM card file stored in the read-only partition of the terminal.
本实施例中,软SIM卡文件存储在只读分区,增加了软SIM卡的安全性。In this embodiment, the soft SIM card file is stored in a read-only partition, which increases the security of the soft SIM card.
在一个具体的例子中,步骤301所述获取所述终端中存储的加密后的软SIM卡文件,具体包括:通过镜像文件读取工具获取所述终端的只读分区中存储的加密后的软SIM卡文件。In a specific example, the obtaining the encrypted soft SIM card file stored in the terminal in step 301 includes: acquiring, by using an image file reading tool, the encrypted soft stored in the read-only partition of the terminal. SIM card file.
本实施例中,软SIM卡文件为镜像文件,镜像文件进一步增加了软SIM卡信息的安全性。In this embodiment, the soft SIM card file is an image file, and the image file further increases the security of the soft SIM card information.
在一个具体的例子中,步骤302所述根据所述终端的标识以及预设文件解密方式,解密所述加密后的软SIM卡文件之前,所述方法还包括图3中未示出的如下步骤302’:In a specific example, before the decrypting the encrypted soft SIM card file according to the identifier of the terminal and the preset file decryption manner, the method further includes the following steps not shown in FIG. 302':
302’、获取所述终端的CPU标识作为所述终端的标识。302. Obtain a CPU identifier of the terminal as an identifier of the terminal.
可见,以上各实施例公开的软SIM卡的使用方法,通过终端的标识以及文件解密方式解密加密后的软SIM卡文件,得到软SIM卡信息,实现了软SIM卡文件与终端的双向的合法性鉴权,解决了软SIM卡信息在使用阶段存在安全隐患的问题。It can be seen that, in the method for using the soft SIM card disclosed in the foregoing embodiments, the encrypted soft SIM card file is decrypted by the identifier of the terminal and the file decryption manner, and the soft SIM card information is obtained, thereby realizing the two-way legality of the soft SIM card file and the terminal. Sexual authentication has solved the problem of security risks in the use of soft SIM card information.
本发明实施例还公开:The embodiment of the invention also discloses:
B1、一种软SIM卡的使用装置,应用于终端,如图4所示,可包括以下单元:获取单元41、解密单元42、提取单元43以及注册单元44,各单元具体说明如下:B1. A device for using a soft SIM card is applied to a terminal. As shown in FIG. 4, the following units may be included: an obtaining unit 41, a decrypting unit 42, an extracting unit 43, and a registration unit 44, and each unit is specifically described as follows:
获取单元41,用于获取所述终端中存储的加密后的软SIM卡文件;The obtaining unit 41 is configured to acquire the encrypted soft SIM card file stored in the terminal;
解密单元42,用于根据所述终端的标识以及预设文件解密方式,解密所述加密后的软SIM卡文件,得到软SIM卡信息;The decrypting unit 42 is configured to decrypt the encrypted soft SIM card file according to the identifier of the terminal and the default file decryption manner, to obtain soft SIM card information;
提取单元43,用于提取所述软SIM卡信息中的IMSI以及KI;The extracting unit 43 is configured to extract the IMSI and the KI in the soft SIM card information;
注册单元44,用于根据所述IMSI以及KI,完成网络注册。The registration unit 44 is configured to complete network registration according to the IMSI and the KI.
B2、根据B1所述的使用装置,所述获取单元41,具体用于获取所述终端的只读分区中存储的加密后的软SIM卡文件。B2. The acquiring unit 41 is configured to acquire an encrypted soft SIM card file stored in a read-only partition of the terminal.
B3、根据B1或B2所述的使用装置,所述软SIM卡文件为镜像文件。B3. The device according to B1 or B2, wherein the soft SIM card file is an image file.
B4、根据B3所述的使用装置,所述获取单元41,具体用于通过镜像文件读取工具获取所述终端的只读分区中存储的加密后的软SIM卡文件。B4. The device for use according to B3, the acquiring unit 41 is specifically configured to acquire, by using an image file reading tool, an encrypted soft SIM card file stored in a read-only partition of the terminal.
B5、根据B1或B2所述的使用装置,所述解密单元42,还用于在根据所述终端的标识以及预设文件解密方式,解密所述加密后的软SIM卡文件之前,获取所述终端的CPU标识作为所述终端的标识。B5. The use device according to B1 or B2, the decrypting unit 42 is further configured to acquire the encrypted soft SIM card file before decrypting the encrypted soft SIM card file according to the identifier of the terminal and a preset file decryption manner. The CPU identifier of the terminal is used as the identifier of the terminal.
B1至B5公开的软SIM卡的使用装置能够实现图3相关的各实施例公开的软SIM卡的使用方法的流程,为避免重复,这里不再赘述。The device for using the soft SIM card disclosed in B1 to B5 can implement the flow of the method for using the soft SIM card disclosed in the embodiments of FIG. 3. To avoid repetition, details are not described herein again.
如图5所示,本实施例公开一种软SIM卡的处理方法,该方法的执行主体是计算机(例如个人计算机PC),软SIM卡的处理方法可包括以下步骤501~504:As shown in FIG. 5, this embodiment discloses a method for processing a soft SIM card, and the execution body of the method is a computer (for example, a personal computer PC). The processing method of the soft SIM card may include the following steps 501-504:
501、获取软SIM卡信息。501. Obtain soft SIM card information.
本实施例中,可从服务器获取明文形式的软SIM卡信息。服务器存储有明文形式的软SIM卡信息。In this embodiment, the soft SIM card information in clear text can be obtained from the server. The server stores soft SIM card information in clear text.
502、根据预设信息加密方式加密所述软SIM卡信息,得到加密后的软SIM卡信息。502. Encrypt the soft SIM card information according to a preset information encryption manner to obtain the encrypted soft SIM card information.
本实施例中,通过对明文形式的软SIM卡信息进行信息加密,增加了软SIM卡信息在传输过程中的安全性。In this embodiment, by encrypting the information in the soft SIM card information in the plaintext form, the security of the soft SIM card information in the transmission process is increased.
503、生成携带有所述加密后的软SIM卡信息的指令。503. Generate an instruction that carries the encrypted soft SIM card information.
本实施例中,通过将加密后的软SIM卡信息封装为指令,进一步增加了软SIM卡信息在传输过程中的安全性。In this embodiment, by encapsulating the encrypted soft SIM card information as an instruction, the security of the soft SIM card information in the transmission process is further increased.
504、发送所述指令,以使所述指令接收方根据预设信息解密方式解密所述指令得到所述软SIM卡信息。504. Send the instruction, so that the instruction receiver decrypts the instruction according to a preset information decryption manner to obtain the soft SIM card information.
本实施例中,指令接收方为终端。In this embodiment, the instruction receiver is a terminal.
相比于现有技术,本发明实施例公开的软SIM卡的处理方法,以加密方式传输软SIM卡信息,解决了软SIM卡信息在传输过程中存在安全隐患的问题。Compared with the prior art, the processing method of the soft SIM card disclosed in the embodiment of the present invention transmits the soft SIM card information in an encrypted manner, thereby solving the problem that the soft SIM card information has security risks in the transmission process.
在一个具体的例子中,步骤502所述根据预设信息加密方式加密所述软SIM卡信息,包括:In a specific example, the encrypting the soft SIM card information according to the preset information encryption manner, as described in step 502, includes:
通过AT工具加密所述软SIM卡信息。The soft SIM card information is encrypted by an AT tool.
本实施例中,通过AT工具对软SIM卡信息进行加密,实现了软SIM卡信息的信息加密,软SIM卡信息在传输过程中的安全性。In this embodiment, the soft SIM card information is encrypted by the AT tool, and the information encryption of the soft SIM card information and the security of the soft SIM card information in the transmission process are realized.
在一个具体的例子中,步骤503所述指令为AT指令,相应地,步骤504所述发送所述指令,包括:In a specific example, the instruction in step 503 is an AT instruction, and correspondingly, the sending the instruction in step 504 includes:
通过AT通道发送所述指令。The instruction is sent through the AT channel.
本实施例中,本方法的执行主体(例如PC)与指令接收方(例如终端)之间可预先建立AT通道,AT通道建立后可一直使用直至终端关机,AT通道是专门用于传输AT命令的安全通道,可增加AT命令传输过程的安全性。In this embodiment, an AT channel can be established in advance between an execution body (for example, a PC) of the method and an instruction receiver (for example, a terminal), and the AT channel can be used until the terminal is turned off after the AT channel is established, and the AT channel is specifically used for transmitting the AT command. The secure channel increases the security of the AT command transmission process.
可见,以上各实施例公开的软SIM卡的处理方法,以加密方式传输软SIM卡信息,解决了软SIM卡信息在传输过程中存在安全隐患的问题。It can be seen that the processing method of the soft SIM card disclosed in the foregoing embodiments transmits the soft SIM card information in an encrypted manner, thereby solving the problem that the soft SIM card information has a security risk in the transmission process.
本发明实施例还公开:The embodiment of the invention also discloses:
C1、一种软SIM卡的处理装置,如图6所示,可包括以下单元:获取单元61、加密单元62、生成单元63以及发送单元64,各单元具体说明如下:C1. A processing device of a soft SIM card, as shown in FIG. 6, may include the following units: an obtaining unit 61, an encrypting unit 62, a generating unit 63, and a transmitting unit 64, and each unit is specifically described as follows:
获取单元61,用于获取软SIM卡信息;The obtaining unit 61 is configured to obtain soft SIM card information.
加密单元62,用于根据预设信息加密方式加密所述软SIM卡信息,得到加密后的软SIM卡信息;The encryption unit 62 is configured to encrypt the soft SIM card information according to a preset information encryption manner to obtain the encrypted soft SIM card information;
生成单元63,用于生成携带有所述加密后的软SIM卡信息的指令;a generating unit 63, configured to generate an instruction that carries the encrypted soft SIM card information;
发送单元64,用于发送所述指令,以使所述指令接收方根据预设信息解密方式解密所述指令得到所述软SIM卡信息。The sending unit 64 is configured to send the instruction, so that the instruction receiving party decrypts the instruction according to a preset information decryption manner to obtain the soft SIM card information.
C2、根据C1所述的处理装置,所述加密单元62,具体用于通过AT工具加密所述软SIM卡信息。C2. The processing unit according to C1, the encryption unit 62 is specifically configured to encrypt the soft SIM card information by using an AT tool.
C3、根据C1所述的处理装置,所述指令为AT指令,所述发送单元64,具体用于通过AT通道发送所述指令。C3. The processing device according to C1, wherein the instruction is an AT command, and the sending unit 64 is specifically configured to send the instruction by using an AT channel.
C1至C3公开的软SIM卡的处理装置能够实现图5相关的各实施例公开的软SIM卡的处理方法的流程,为避免重复,这里不再赘述。The processing device of the soft SIM card disclosed in C1 to C3 can implement the flow of the processing method of the soft SIM card disclosed in the embodiments of FIG. 5, and details are not described herein again.
可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It will be appreciated that the embodiments described herein can be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processing (DSP), Digital Signal Processing Equipment (DSP Device, DSPD), programmable Programmable Logic Device (PLD), Field-Programmable Gate Array (FPGA), general purpose processor, controller, microcontroller, microprocessor, other for performing the functions described herein In an electronic unit or a combination thereof.
对于软件实现,可通过执行本文所述功能的单元来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For a software implementation, the techniques described herein can be implemented by means of performing the functions described herein. The software code can be stored in memory and executed by the processor. The memory can be implemented in the processor or external to the processor.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时, 可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。The functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, the technical solution of the embodiments of the present invention, or the part contributing to the prior art or the part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes those elements. It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。It should be noted that, in this context, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these There is any such actual relationship or order between entities or operations.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.
工业实用性Industrial applicability
本发明实施例提出的软SIM卡的生产、使用、处理方法及装置,在生产阶段,以文件加密方式绑定终端与软SIM卡信息,生成软SIM卡文件,解决了软SIM卡信息在生产阶段存在安全隐患的问题。进一步地,本发明实施例提出的软SIM卡的生产、使用、处理方法及装置,在使用阶段,通过终端的标识以及文件解密方式解密加密后的软SIM卡文件,得到软SIM卡信息,实现了软SIM卡文件与终端的双向的合法性鉴权,解决了软SIM卡信息在使用阶段存在安全隐患的问题。进一步地,本发明实施例提出的软SIM卡的生产、使用、处理方法及装置,在处理阶段,以加密方式传输软SIM卡信息,解决了软SIM卡信息在传输过程中存在安全隐患的问题。The production, use, and processing method and device of the soft SIM card according to the embodiment of the present invention bind the terminal and the soft SIM card information in a file encryption manner to generate a soft SIM card file, and solve the soft SIM card information in the production stage. There are security risks in the stage. Further, the method, device and device for producing, using, and processing a soft SIM card according to an embodiment of the present invention decrypt the encrypted soft SIM card file by using the identifier of the terminal and the file decryption method to obtain the soft SIM card information. The two-way legality authentication of the soft SIM card file and the terminal solves the problem that the soft SIM card information has security risks during the use phase. Further, the method for manufacturing, using, and processing the soft SIM card provided by the embodiment of the present invention transmits the soft SIM card information in an encrypted manner during the processing stage, thereby solving the problem of security risks in the transmission process of the soft SIM card information. .
因此,本发明具有很强的工业实用性。Therefore, the present invention has strong industrial applicability.

Claims (36)

  1. 一种软SIM卡的生产方法,应用于终端,其特征在于,包括:A method for producing a soft SIM card, which is applied to a terminal, and includes:
    获取携带有加密后的软SIM卡信息的指令;Obtaining an instruction carrying the encrypted soft SIM card information;
    根据预设信息解密方式,解密所述加密后的软SIM卡信息,得到软SIM卡信息;Decrypting the encrypted soft SIM card information according to a preset information decryption manner to obtain soft SIM card information;
    根据所述终端的标识以及预设文件加密方式,加密所述软SIM卡信息,生成加密后的软SIM卡文件。And encrypting the soft SIM card information according to the identifier of the terminal and a preset file encryption manner to generate an encrypted soft SIM card file.
  2. 根据权利要求1所述的方法,其特征在于,所述获取携带有加密后的软SIM卡信息的指令,包括:The method according to claim 1, wherein the obtaining an instruction carrying the encrypted soft SIM card information comprises:
    获取指令;Get instruction
    基于所述指令携带的指令类型信息,确定所述指令对应的指令类型;Determining an instruction type corresponding to the instruction based on the instruction type information carried by the instruction;
    判断所述指令类型是否为预设的指令类型;Determining whether the instruction type is a preset instruction type;
    若为预设的指令类型,则基于所述指令携带的来源信息,确定所述指令的来源是否为预设来源;If it is a preset instruction type, determining whether the source of the instruction is a preset source based on source information carried by the instruction;
    若为所述预设来源,则确定所述指令为携带有加密后的软SIM卡信息的指令。If it is the preset source, it is determined that the instruction is an instruction carrying the encrypted soft SIM card information.
  3. 根据权利要求2所述的方法,其特征在于,所述预设的指令类型为AT命令类型,所述预设来源为AT工具。The method according to claim 2, wherein the preset instruction type is an AT command type, and the preset source is an AT tool.
  4. 根据权利要求1所述的方法,其特征在于,所述指令为AT命令;所述获取携带有加密后的软SIM卡信息的指令,包括:The method according to claim 1, wherein the instruction is an AT command; and the obtaining an instruction carrying the encrypted soft SIM card information comprises:
    通过AT通道获取AT命令;Obtain an AT command through the AT channel;
    基于所述AT命令携带的来源信息,确定所述AT命令的来源是否为AT工具;Determining whether the source of the AT command is an AT tool based on source information carried by the AT command;
    若是,则确定所述AT命令为携带有加密后的软SIM卡信息的指令。If yes, it is determined that the AT command is an instruction carrying the encrypted soft SIM card information.
  5. 根据权利要求4所述的方法,其特征在于,所述基于所述AT命令携带的来源信息,确定所述AT命令的来源是否为AT工具,包括:The method according to claim 4, wherein the determining, based on the source information carried by the AT command, whether the source of the AT command is an AT tool comprises:
    通过AT过滤器过滤所述AT命令的命令头中携带的来源信息,确定所述AT命令的来源是否为AT工具。The source information carried in the command header of the AT command is filtered by the AT filter to determine whether the source of the AT command is an AT tool.
  6. 根据权利要求3至5任一项所述的方法,其特征在于,所述加密后的软SIM卡信息为通过AT工具加密后的软SIM卡信息。The method according to any one of claims 3 to 5, wherein the encrypted soft SIM card information is soft SIM card information encrypted by an AT tool.
  7. 根据权利要求1至5任一项所述的方法,其特征在于,所述根据所述终端 的标识以及预设文件加密方式,加密所述软SIM卡信息之前,所述方法还包括:The method according to any one of claims 1 to 5, wherein before the encrypting the soft SIM card information according to the identifier of the terminal and the preset file encryption manner, the method further includes:
    获取所述终端的CPU标识作为所述终端的标识。Obtaining a CPU identifier of the terminal as an identifier of the terminal.
  8. 根据权利要求1至5任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 5, further comprising:
    存储所述软SIM卡文件到所述终端的只读分区。Storing the soft SIM card file to a read-only partition of the terminal.
  9. 根据权利要求8所述的方法,其特征在于,所述软SIM卡文件为镜像文件。The method of claim 8 wherein said soft SIM card file is an image file.
  10. 根据权利要求8所述的方法,其特征在于,所述存储所述软SIM卡文件到所述终端的只读分区之后,所述方法还包括:The method according to claim 8, wherein after the storing the soft SIM card file to the read-only partition of the terminal, the method further comprises:
    重新启动操作系统。Restart the operating system.
  11. 一种软SIM卡的生产装置,应用于终端,其特征在于,包括:A device for producing a soft SIM card, which is applied to a terminal, and includes:
    获取单元,用于获取携带有加密后的软SIM卡信息的指令;An obtaining unit, configured to acquire an instruction that carries the encrypted soft SIM card information;
    解密单元,用于根据预设信息解密方式,解密所述加密后的软SIM卡信息,得到软SIM卡信息;a decryption unit, configured to decrypt the encrypted soft SIM card information according to a preset information decryption manner, to obtain soft SIM card information;
    生成单元,用于根据所述终端的标识以及预设文件加密方式,加密所述软SIM卡信息,生成加密后的软SIM卡文件。And a generating unit, configured to encrypt the soft SIM card information according to the identifier of the terminal and a preset file encryption manner, and generate an encrypted soft SIM card file.
  12. 根据权利要求11所述的生产装置,其特征在于,所示获取单元,具体用于:The production device according to claim 11, wherein the obtaining unit is specifically configured to:
    获取指令;基于所述指令携带的指令类型信息,确定所述指令对应的指令类型;判断所述指令类型是否为预设的指令类型;若为预设的指令类型,则基于所述指令携带的来源信息,确定所述指令的来源是否为预设来源;若为所述预设来源,则确定所述指令为携带有加密后的软SIM卡信息的指令。Obtaining an instruction; determining, according to the instruction type information carried by the instruction, an instruction type corresponding to the instruction; determining whether the instruction type is a preset instruction type; and if it is a preset instruction type, carrying the instruction based on the instruction The source information determines whether the source of the instruction is a preset source; if it is the preset source, determining that the instruction is an instruction carrying the encrypted soft SIM card information.
  13. 根据权利要求12所述的生产装置,其特征在于,所述预设的指令类型为AT命令类型,所述预设来源为AT工具。The production apparatus according to claim 12, wherein the preset instruction type is an AT command type, and the preset source is an AT tool.
  14. 根据权利要求11所述的生产装置,其特征在于,所述指令为AT命令;所述获取单元,具体用于:The production apparatus according to claim 11, wherein the instruction is an AT command; and the acquiring unit is specifically configured to:
    通过AT通道获取AT命令;基于所述AT命令携带的来源信息,确定所述AT命令的来源是否为AT工具;若是,则确定所述AT命令为携带有加密后的软SIM卡信息的指令。Obtaining an AT command through the AT channel; determining, according to the source information carried by the AT command, whether the source of the AT command is an AT tool; if yes, determining that the AT command is an instruction carrying the encrypted soft SIM card information.
  15. 根据权利要求14所述的生产装置,其特征在于,所述获取单元基于所述AT命令携带的来源信息,确定所述AT命令的来源是否为AT工具,包括:The production apparatus according to claim 14, wherein the obtaining unit determines whether the source of the AT command is an AT tool based on the source information carried by the AT command, and includes:
    所述获取单元通过AT过滤器过滤所述AT命令的命令头中携带的来源信息, 确定所述AT命令的来源是否为AT工具。The acquiring unit filters the source information carried in the command header of the AT command by using an AT filter, and determines whether the source of the AT command is an AT tool.
  16. 根据权利要求13至15任一项所述的生产装置,其特征在于,所述加密后的软SIM卡信息为通过AT工具加密后的软SIM卡信息。The production apparatus according to any one of claims 13 to 15, wherein the encrypted soft SIM card information is soft SIM card information encrypted by an AT tool.
  17. 根据权利要求11至15任一项所述的生产装置,其特征在于,所述生成单元,还用于:The production unit according to any one of claims 11 to 15, wherein the generating unit is further configured to:
    根据所述终端的标识以及预设文件加密方式,加密所述软SIM卡信息之前,获取所述终端的CPU标识作为所述终端的标识。Before the soft SIM card information is encrypted, the CPU identifier of the terminal is obtained as the identifier of the terminal, according to the identifier of the terminal and the preset file encryption mode.
  18. 根据权利要求11至15任一项所述的生产装置,其特征在于,所述生产装置,还包括:The production apparatus according to any one of claims 11 to 15, wherein the production apparatus further comprises:
    处理单元,用于存储所述软SIM卡文件到所述终端的只读分区。And a processing unit, configured to store the soft SIM card file to a read-only partition of the terminal.
  19. 根据权利要求18所述的生产装置,其特征在于,所述软SIM卡文件为镜像文件。The production apparatus according to claim 18, wherein said soft SIM card file is an image file.
  20. 根据权利要求18所述的生产装置,其特征在于,所述处理单元,还用于:The production unit according to claim 18, wherein the processing unit is further configured to:
    存储所述软SIM卡文件到所述终端的只读分区之后,重新启动操作系统。After storing the soft SIM card file to the read-only partition of the terminal, restart the operating system.
  21. 一种软SIM卡的使用方法,应用于终端,其特征在于,包括:A method for using a soft SIM card, which is applied to a terminal, and includes:
    获取所述终端中存储的加密后的软SIM卡文件;Obtaining the encrypted soft SIM card file stored in the terminal;
    根据所述终端的标识以及预设文件解密方式,解密所述加密后的软SIM卡文件,得到软SIM卡信息;Decrypting the encrypted soft SIM card file according to the identifier of the terminal and the default file decryption manner to obtain soft SIM card information;
    提取所述软SIM卡信息中的IMSI以及KI;Extracting the IMSI and the KI in the soft SIM card information;
    根据所述IMSI以及KI,完成网络注册。Network registration is completed according to the IMSI and KI.
  22. 根据权利要求21所述的方法,其特征在于,所述获取所述终端中存储的加密后的软SIM卡文件,包括:The method according to claim 21, wherein the obtaining the encrypted soft SIM card file stored in the terminal comprises:
    获取所述终端的只读分区中存储的加密后的软SIM卡文件。Obtaining the encrypted soft SIM card file stored in the read-only partition of the terminal.
  23. 根据权利要求21或22所述的方法,其特征在于,所述软SIM卡文件为镜像文件。The method according to claim 21 or 22, wherein the soft SIM card file is an image file.
  24. 根据权利要求23所述的方法,其特征在于,所述获取所述终端中存储的加密后的软SIM卡文件,包括:The method of claim 23, wherein the obtaining the encrypted soft SIM card file stored in the terminal comprises:
    通过镜像文件读取工具获取所述终端的只读分区中存储的加密后的软SIM卡文件。The encrypted soft SIM card file stored in the read-only partition of the terminal is obtained by the image file reading tool.
  25. 根据权利要求21或22任一项所述的方法,其特征在于,所述根据所述终 端的标识以及预设文件解密方式,解密所述加密后的软SIM卡文件之前,所述方法还包括:The method according to any one of claims 21 or 22, wherein the method further comprises: before decrypting the encrypted soft SIM card file according to the identifier of the terminal and the default file decryption manner, the method further comprises :
    获取所述终端的CPU标识作为所述终端的标识。Obtaining a CPU identifier of the terminal as an identifier of the terminal.
  26. 一种软SIM卡的使用装置,应用于终端,其特征在于,包括:A device for using a soft SIM card, which is applied to a terminal, and includes:
    获取单元,用于获取所述终端中存储的加密后的软SIM卡文件;An obtaining unit, configured to acquire an encrypted soft SIM card file stored in the terminal;
    解密单元,用于根据所述终端的标识以及预设文件解密方式,解密所述加密后的软SIM卡文件,得到软SIM卡信息;a decrypting unit, configured to decrypt the encrypted soft SIM card file according to the identifier of the terminal and a preset file decryption manner, to obtain soft SIM card information;
    提取单元,用于提取所述软SIM卡信息中的IMSI以及KI;An extracting unit, configured to extract an IMSI and a KI in the soft SIM card information;
    注册单元,用于根据所述IMSI以及KI,完成网络注册。A registration unit is configured to complete network registration according to the IMSI and the KI.
  27. 根据权利要求26所述的使用装置,其特征在于,所述获取单元,具体用于获取所述终端的只读分区中存储的加密后的软SIM卡文件。The device according to claim 26, wherein the obtaining unit is specifically configured to acquire an encrypted soft SIM card file stored in a read-only partition of the terminal.
  28. 根据权利要求26或27所述的使用装置,其特征在于,所述软SIM卡文件为镜像文件。The use device according to claim 26 or 27, wherein the soft SIM card file is an image file.
  29. 根据权利要求28所述的使用装置,其特征在于,所述获取单元,具体用于通过镜像文件读取工具获取所述终端的只读分区中存储的加密后的软SIM卡文件。The device according to claim 28, wherein the obtaining unit is configured to acquire an encrypted soft SIM card file stored in a read-only partition of the terminal by using an image file reading tool.
  30. 根据权利要求26或27所述的使用装置,其特征在于,所述解密单元,还用于在根据所述终端的标识以及预设文件解密方式,解密所述加密后的软SIM卡文件之前,获取所述终端的CPU标识作为所述终端的标识。The device according to claim 26 or 27, wherein the decrypting unit is further configured to: before decrypting the encrypted soft SIM card file according to the identifier of the terminal and the decryption mode of the preset file, Obtaining a CPU identifier of the terminal as an identifier of the terminal.
  31. 一种软SIM卡的处理方法,其特征在于,包括:A method for processing a soft SIM card, comprising:
    获取软SIM卡信息;Obtain soft SIM card information;
    根据预设信息加密方式加密所述软SIM卡信息,得到加密后的软SIM卡信息;Encrypting the soft SIM card information according to a preset information encryption manner to obtain encrypted soft SIM card information;
    生成携带有所述加密后的软SIM卡信息的指令;Generating an instruction carrying the encrypted soft SIM card information;
    发送所述指令,以使所述指令接收方根据预设信息解密方式解密所述指令得到所述软SIM卡信息。And transmitting the instruction, so that the instruction recipient decrypts the instruction according to a preset information decryption manner to obtain the soft SIM card information.
  32. 根据权利要求31所述的方法,其特征在于,所述根据预设信息加密方式加密所述软SIM卡信息,包括:The method according to claim 31, wherein the encrypting the soft SIM card information according to a preset information encryption manner comprises:
    通过AT工具加密所述软SIM卡信息。The soft SIM card information is encrypted by an AT tool.
  33. 根据权利要求31所述的方法,其特征在于,所述指令为AT指令,所述发送所述指令,包括:The method of claim 31, wherein the instruction is an AT instruction, and the sending the instruction comprises:
    通过AT通道发送所述指令。The instruction is sent through the AT channel.
  34. 一种软SIM卡的处理装置,其特征在于,包括:A processing device for a soft SIM card, comprising:
    获取单元,用于获取软SIM卡信息;An obtaining unit, configured to obtain soft SIM card information;
    加密单元,用于根据预设信息加密方式加密所述软SIM卡信息,得到加密后的软SIM卡信息;An encryption unit, configured to encrypt the soft SIM card information according to a preset information encryption manner, to obtain the encrypted soft SIM card information;
    生成单元,用于生成携带有所述加密后的软SIM卡信息的指令;a generating unit, configured to generate an instruction that carries the encrypted soft SIM card information;
    发送单元,用于发送所述指令,以使所述指令接收方根据预设信息解密方式解密所述指令得到所述软SIM卡信息。And a sending unit, configured to send the instruction, so that the instruction receiving party decrypts the instruction according to a preset information decryption manner to obtain the soft SIM card information.
  35. 根据权利要求34所述的处理装置,其特征在于,所述加密单元,具体用于通过AT工具加密所述软SIM卡信息。The processing device according to claim 34, wherein the encryption unit is specifically configured to encrypt the soft SIM card information by using an AT tool.
  36. 根据权利要求34所述的处理装置,其特征在于,所述指令为AT指令,所述发送单元,具体用于通过AT通道发送所述指令。The processing device according to claim 34, wherein the instruction is an AT command, and the sending unit is specifically configured to send the instruction through an AT channel.
PCT/CN2017/117144 2017-09-26 2017-12-19 Soft sim card production, use, processing method and device WO2019061876A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710877490.7 2017-09-26
CN201710877490.7A CN107567012A (en) 2017-09-26 2017-09-26 A kind of production of soft SIM card, use, processing method and processing device

Publications (1)

Publication Number Publication Date
WO2019061876A1 true WO2019061876A1 (en) 2019-04-04

Family

ID=60981926

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/117144 WO2019061876A1 (en) 2017-09-26 2017-12-19 Soft sim card production, use, processing method and device

Country Status (2)

Country Link
CN (2) CN107567012A (en)
WO (1) WO2019061876A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533539A (en) * 2013-11-01 2014-01-22 深圳市中兴物联科技有限公司 Virtual SIM (subscriber identity module) card parameter management method and device
CN103702449A (en) * 2012-09-27 2014-04-02 重庆重邮信科通信技术有限公司 Communication method of subscriber identity module (SIM) card and device
US20140335829A1 (en) * 2011-10-12 2014-11-13 Ivan Alexandrovich Petridi Method and system for providing services to mobile communication subscribers
CN104185176A (en) * 2014-08-28 2014-12-03 中国联合网络通信集团有限公司 Method and system for remote initialization of Internet of Things virtual subscriber identity module card
CN105007577A (en) * 2015-06-19 2015-10-28 宇龙计算机通信科技(深圳)有限公司 Virtual SIM card parameter management method, mobile terminal and server
CN105142134A (en) * 2015-06-30 2015-12-09 宇龙计算机通信科技(深圳)有限公司 Parameter obtaining and transmission methods/devices

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877849A (en) * 2009-04-28 2010-11-03 福建星网锐捷通讯股份有限公司 Communication method between wireless module and external equipment
CN101751212B (en) * 2009-12-16 2014-06-04 中兴通讯股份有限公司 Method and system for interlocking UI and data card
CN101968844A (en) * 2010-10-13 2011-02-09 深圳市华域软件有限公司 Software encryption method
CN102333310B (en) * 2011-09-28 2016-08-03 宇龙计算机通信科技(深圳)有限公司 Multi-mode dual-standby terminal carries out the method and device of communication
WO2015184064A1 (en) * 2014-05-30 2015-12-03 Apple Inc. Secure storage of an electronic subscriber identity module on a wireless communication device
US10057760B2 (en) * 2015-11-02 2018-08-21 Apple Inc. Apparatus and methods for Electronic Subscriber Identity Module (ESIM) installation notification

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140335829A1 (en) * 2011-10-12 2014-11-13 Ivan Alexandrovich Petridi Method and system for providing services to mobile communication subscribers
CN103702449A (en) * 2012-09-27 2014-04-02 重庆重邮信科通信技术有限公司 Communication method of subscriber identity module (SIM) card and device
CN103533539A (en) * 2013-11-01 2014-01-22 深圳市中兴物联科技有限公司 Virtual SIM (subscriber identity module) card parameter management method and device
CN104185176A (en) * 2014-08-28 2014-12-03 中国联合网络通信集团有限公司 Method and system for remote initialization of Internet of Things virtual subscriber identity module card
CN105007577A (en) * 2015-06-19 2015-10-28 宇龙计算机通信科技(深圳)有限公司 Virtual SIM card parameter management method, mobile terminal and server
CN105142134A (en) * 2015-06-30 2015-12-09 宇龙计算机通信科技(深圳)有限公司 Parameter obtaining and transmission methods/devices

Also Published As

Publication number Publication date
CN108601016A (en) 2018-09-28
CN108601016B (en) 2019-07-02
CN107567012A (en) 2018-01-09

Similar Documents

Publication Publication Date Title
CN110177354B (en) Wireless control method and system for vehicle
WO2015180691A1 (en) Key agreement method and device for verification information
US20100250796A1 (en) Establishing a Secure Channel between a Server and a Portable Device
EP2095288B1 (en) Method for the secure storing of program state data in an electronic device
CN102761870B (en) Terminal authentication and service authentication method, system and terminal
WO2015127737A1 (en) Data encrypting and decrypting method, apparatus, and terminal
US10135618B2 (en) Method for using dynamic Public Key Infrastructure to send and receive encrypted messages between software applications
WO2014101578A1 (en) Communication pairing method, terminal, and system for a digital television terminal
WO2010057405A1 (en) Identity authentication method using short messages
WO2014169610A1 (en) Data encryption and decryption method and device, and protection system of mobile terminal
WO2018024048A1 (en) Authentication method, server, terminal, and gateway
WO2022042179A1 (en) Network connection method, terminal, device to be connected to network, and storage medium
CN106657136B (en) Terminal device, communication method of hidden channel and device thereof
WO2010023506A1 (en) Methods, apparatuses, computer program products, and systems for providing secure pairing and association for wireless devices
WO2017080356A1 (en) Secure input method, device and system
JP6349712B2 (en) Mobile device setting method
CN103997730A (en) Method for decrypting, copying and pasting encrypted data
CN113132977A (en) Network distribution method, network distribution system and computer readable storage medium
WO2019061876A1 (en) Soft sim card production, use, processing method and device
KR101172876B1 (en) System and method for performing mutual authentication between user terminal and server
KR101329789B1 (en) Encryption Method of Database of Mobile Communication Device
CN104243291A (en) Instant messaging method and system thereof capable of guaranteeing safety of user communication content
TWM569453U (en) Digital data processing system
TW201608864A (en) Communication security system and method
WO2021212516A1 (en) Pairing method and wireless device applied to short-distance communication system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17927273

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 08/09/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17927273

Country of ref document: EP

Kind code of ref document: A1