CN109286926A - ESIM card operating method, mobile terminal and eSIM card apparatus - Google Patents

ESIM card operating method, mobile terminal and eSIM card apparatus Download PDF

Info

Publication number
CN109286926A
CN109286926A CN201811137123.4A CN201811137123A CN109286926A CN 109286926 A CN109286926 A CN 109286926A CN 201811137123 A CN201811137123 A CN 201811137123A CN 109286926 A CN109286926 A CN 109286926A
Authority
CN
China
Prior art keywords
esim card
mobile terminal
esim
apdu message
operational order
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811137123.4A
Other languages
Chinese (zh)
Inventor
何坚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201811137123.4A priority Critical patent/CN109286926A/en
Publication of CN109286926A publication Critical patent/CN109286926A/en
Pending legal-status Critical Current

Links

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • 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

Landscapes

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

Abstract

The invention discloses a kind of eSIM card operating methods, comprising: when detecting the eSIM card operational order of user's triggering, the eSIM card operational order is converted to corresponding first APDU message by the LPA;The first APDU message is sent to the eSIM card apparatus, the first APDU message is converted to by corresponding eSIM card operational order by the eSIM card drive module by the eSIM card apparatus, and operation corresponding with the eSIM card operational order is executed to the eSIM card by the baseband processor.The invention also discloses a kind of mobile terminal and eSIM card apparatus.The present invention can effectively improve the versatility of eSIM card operation.

Description

ESIM card operating method, mobile terminal and eSIM card apparatus
Technical field
The present invention relates to the technical field of mobile communication more particularly to a kind of eSIM card operating method, mobile terminal and ESIM card apparatus.
Background technique
With eSIM (Embedded Subscriber Identification Module, embedded user identification Module) continuous development of technology and perfect, the end product realized using eSIM technology is gradually favored by user.Currently, existing It includes that the eSIM card of eSIM card additionally arranges in that some eSIM end products, management to eSIM card and operation, which are integrated in, need Other main equipments are wanted, if mobile terminal and eSIM card additionally arrange standby connection, the eSIM card that could be additionally arranged to eSIM card in standby is grasped Make, realizes the transmission of operational order by privately owned communications protocol between eSIM card apparatus and main equipment, cause main equipment can only Standby connection is additionally arranged with specific eSIM card, the eSIM card that can only be additionally arranged to specific eSIM card in standby operates, eSIM card behaviour The versatility of work is poor.Therefore, how to improve the versatility of eSIM card operation is current urgent problem to be solved.
Summary of the invention
The main purpose of the present invention is to provide a kind of eSIM card operating method, mobile terminal and eSIM card apparatus, it is intended to Improve the versatility of eSIM card operation.
To achieve the above object, the present invention provides a kind of eSIM card operating method, and the mobile terminal includes that setting is being grasped That makees systematic difference layer is locally configured component LPA, and the eSIM card is set in eSIM card apparatus, the eSIM card apparatus packet Include eSIM card drive module, the eSIM card operating method the following steps are included:
When detecting the eSIM card operational order of user's triggering, the eSIM card operational order is turned by the LPA It is changed to corresponding first APDU message;
The first APDU message is sent to the eSIM card apparatus, the eSIM card is passed through by the eSIM card apparatus The first APDU message is converted to corresponding eSIM card operational order by drive module, and to the eSIM card execute with it is described The corresponding operation of eSIM card operational order.
Optionally, before the step of the first APDU message being sent to the eSIM card apparatus, further includes:
When detecting the eSIM card operational order of user's triggering, detecting the eSIM card apparatus and the mobile terminal is It is no to have connected;
If detecting, the eSIM card apparatus and the mobile terminal are not connected, it is determined that whether the eSIM card apparatus is located In in the connectable area of the mobile terminal;
If the eSIM card apparatus is in the connectable area of the mobile terminal, establish the eSIM card apparatus with The connection of the mobile terminal.
Optionally it is determined that the eSIM card apparatus whether be in the step in the connectable area of the mobile terminal it Afterwards, further includes:
If the eSIM card apparatus is not in the connectable area of the mobile terminal, the mobile terminal display connects Connect prompting message.
Optionally, before the step of establishing connection of the eSIM card apparatus with the mobile terminal, further includes:
If the eSIM card apparatus is in the connectable area of the mobile terminal, it is determined that the eSIM card apparatus with Whether the mobile terminal has matched;
If the eSIM card apparatus and the mobile terminal are unpaired, pairing prompting message is shown, otherwise described in foundation The connection of eSIM card apparatus and the mobile terminal.
Optionally, the eSIM card apparatus and the connection type of the mobile terminal include that NFC is connect and bluetooth connection.
Optionally, the eSIM card drive module and the eSIM card connect.
Optionally, the eSIM card apparatus obtains after executing the corresponding operation of the completion eSIM card operational order Execution result information, and the 2nd APDU message is generated according to the execution result information by the eSIM card drive module, and The 2nd APDU message is sent to the mobile terminal, the first APDU message is sent to the eSIM card apparatus After step, further includes:
The 2nd APDU message that the eSIM card apparatus is sent is received, and by the LPA to the 2nd APDU message It is parsed, to obtain execution result information, and shows the execution result information.
Optionally, the 2nd APDU message is parsed by the LPA, to obtain execution result information, and it is aobvious The step of showing the execution result information include:
The 2nd APDU message is parsed by the LPA, obtains first state value, the second state value and response Data, and according to the first state value and second state value, determine third state value;
The mapping table between the state value prestored and command execution results is inquired, is obtained and the third state value pair The command execution results answered, and show the response data and the command execution results.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminal, the mobile terminal includes that setting is being grasped That makees systematic difference layer is locally configured component LPA, user interface and client, and the LPA is connect with the client, In, the user interface triggers eSIM card operational order for user;
The LPA is used to the eSIM card operational order that user triggers being converted to corresponding first APDU message, and by institute The first APDU message transmissions are stated to the client;
The client is used to the first APDU message being sent to eSIM card apparatus, wherein the eSIM card apparatus The first APDU message is converted into corresponding eSIM card operational order, and the eSIM card is executed and is grasped with the eSIM card Make to instruct corresponding operation.
The present invention also provides a kind of eSIM card apparatus, the eSIM card apparatus include eSIM card drive module, server-side and ESIM card, the eSIM card drive module are connect with the server-side, and the eSIM card drive module and the eSIM card connect, Wherein,
The server-side is used to receive the first APDU message of mobile terminal transmission, and by the first APDU message transmissions To the eSIM card drive module;
The first APDU message is converted to corresponding eSIM card operational order by the eSIM card drive module, and to institute It states eSIM card and executes operation corresponding with the eSIM card operational order.
The present invention provides a kind of eSIM card operating method, mobile terminal and computer readable storage medium, for including this The mobile terminal of ground configuration component LPA passes through LPA (Local when detecting the eSIM card operational order of user's triggering Profile Assistant, is locally configured component) eSIM card operational order is converted into APDU (Application Protocol Data Unit, Application Protocol Data Unit) message, and the APDU message is sent to eSIM card apparatus, by The APDU message is converted to eSIM card operational order by eSIM card drive module in eSIM card apparatus, and to eSIM card execute with The corresponding operation of eSIM card operational order, due to passing through standard APDU message transmissions eSIM between mobile terminal and eSIM card apparatus Card operational order, so that the compatible different types of eSIM card apparatus of mobile terminal, can connect with different types of eSIM card apparatus It connects, the eSIM card in different types of eSIM card apparatus can be operated, the effective versatility for improving the operation of eSIM card.
Detailed description of the invention
A kind of hardware structural diagram of Fig. 1 mobile terminal of each embodiment to realize the present invention;
Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of eSIM card operating method first embodiment of the present invention;
Fig. 4 is a configuration diagram of mobile terminal and eSIM card apparatus in first embodiment of the invention;
Fig. 5 is the flow diagram of eSIM card operating method second embodiment of the present invention;
Fig. 6 is the functional block diagram of mobile terminal first embodiment of the present invention;
Fig. 7 is the functional block diagram of eSIM card apparatus first embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also include bluetooth module and component LPA etc. is locally configured, herein not It repeats again.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, propose that eSIM card operating method of the present invention is each Embodiment.
It is the flow diagram of eSIM card operating method first embodiment of the present invention referring to Fig. 3, Fig. 3.
In the present embodiment, which includes:
Step S101 is turned eSIM card operational order by LPA when detecting the eSIM card operational order of user's triggering It is changed to corresponding first APDU message;
In the present embodiment, which is applied to mobile terminal, as shown in figure 4, the mobile terminal includes using Family interface, LPA (Local Profile Assistant, component is locally configured) and client, the user interface be locally configured Component LPA connection, this is locally configured component LPA and connect with client, and this is locally configured component LPA and operating system is arranged in Application layer;The eSIM card apparatus includes baseband processor and eSIM card, which includes eSIM card drive module, the clothes Business end connect with eSIM card drive module, the eSIM card drive module and the connection of eSIM card, by the client of mobile terminal with Server-side in eSIM card apparatus realizes that the communication of mobile terminal and eSIM card apparatus, responsible transmission are locally configured under component LPA The APDU message of hair.
In the present embodiment, user operates in the user interface of mobile terminal, refers to trigger different eSIM card operations It enables, such as eSIM card activation instruction, eSIM card information read instruction and eSIM card Profile switching command, when detecting user When the eSIM card operational order triggered by user interface, which is transferred to and is locally configured in component LPA, The eSIM card operational order is converted into corresponding first APDU message by the way that component LPA is locally configured.Wherein, the first APDU is reported Text is order APDU message, is made of command header and order body, and command header includes CLA, INS, P1 and P2, order body include Lc, DATA and Le, CLA are the order classification of command message, and INS is instruction code, and P1 is order parameter 1, and P2 is order parameter 2, Lc For byte number present in order data domain, DATA is the data bits that order is sent, Le be in response data domain it is desired most Big data byte number.In specific implementation, the triggering mode of eSIM card operational order includes but is not limited to scan triggering, touch-control triggering And speech trigger.
Wherein, it is the eSIM card operational order that inquiry prestores that eSIM card operational order, which is converted to the concrete mode of APDU message, With the mapping table of APDU message parameter, the corresponding APDU message parameter of eSIM card operational order is obtained, and according to the APDU Message parameter and APDU message format assemble APDU message, wherein the APDU message parameter is CLA, INS, P1, P2, Lc, DATA And Le, i.e. order classification, instruction code, order parameter 1, order parameter 2, byte number present in order data domain, order hair Desired maximum data byte number in the data bits sent and response data domain.
First APDU message is sent to eSIM card apparatus by step S102, will by application processor by eSIM card apparatus First APDU message is converted to corresponding eSIM card operational order, and is executed by baseband processor to eSIM card and grasped with eSIM card Make to instruct corresponding operation.
In the present embodiment, mobile terminal will after eSIM card operational order is converted to corresponding first APDU message First APDU message is sent to eSIM card apparatus, eSIM card by the client to client by the first APDU message transmissions Equipment receives the first APDU message that mobile terminal is sent by client by server-side, and will by eSIM card drive module First APDU message is converted to corresponding eSIM card operational order, i.e. APDU message parameter in the first APDU message of reading, i.e., The data that order classification, instruction code, order parameter 1, order parameter 2, byte number present in order data domain, order are sent Then desired maximum data byte number in bit string and response data domain inquires the eSIM card operational order and APDU message prestored The mapping table of parameter obtains eSIM card operational order corresponding with APDU message parameter.ESIM card apparatus passes through the eSIM Card drive module executes operation corresponding with eSIM card operational order to eSIM card.
For example, the eSIM card operational order is eSIM card activation instruction, then the eSIM card in eSIM card apparatus is swashed Operation living reads EID (electronic IDentity, the citizen's net of eSIM card specially according to the eSIM card activation instruction Network electronic identifications) and IMEI (International Mobile Equipment Identity, international mobile device knowledge Other code), and EID and IMEI is transferred to mobile terminal in a manner of APDU message, it is parsed from APDU message by mobile terminal EID and IMEI out, and EID and IMEI are uploaded to server and verified, display swashs in the terminal after being verified Loose-leaf face is completed the activation of eSIM card by the activation page, i.e., is passed the profile information of eSIM card in a manner of APDU message It is defeated by eSIM card apparatus, is written in the eSIM card in eSIM card apparatus, realizes the activation of eSIM card.
Further, in this embodiment further including after step S103
Step a receives the 2nd APDU message that eSIM card apparatus is sent, and is solved by LPA to the 2nd APDU message Analysis to obtain execution result information, and shows execution result information.
In the present embodiment, the 2nd APDU message response APDU message is made of the object of condition and indispensable state value, and the object of condition is DATA, indispensable state value include SW1 and SW2, and DATA is received data bits in response, and SW1 is command process state, SW2 For command process restriction.ESIM card apparatus obtains implementing result after executing the corresponding operation of completion eSIM card operational order Information, including command execution results and response data, and second is generated according to execution result information by eSIM card drive module APDU message, and the 2nd APDU message is sent to mobile terminal.Specifically, reading order executes knot from execution result information Fruit, and the mapping table between the command execution results prestored and state value group is inquired, it is corresponding to obtain command execution results State value group, then obtains the corresponding state value of command process state from the state value group and command process is limited and corresponded to State value, and according to APDU message format, response data, the corresponding state value of command process state and command process limit Fixed corresponding state value generates the 2nd APDU message.
Mobile terminal receives the 2nd APDU message that eSIM card apparatus is sent, and is carried out by LPA to the 2nd APDU message Parsing, to obtain execution result information, i.e., parsing is obtained and is parsed by LPA to the 2nd APDU message, executes knot to obtain Fruit information, and show execution result information, and show execution result information.Specifically, the 2nd APDU message is carried out by LPA Parsing, obtains first state value, the second state value and response data, i.e. SW1, SW2 and DATA, and according to first state value and the Two-state value determines third state value, i.e., third state value is composed of first state value and the second state value, and combination side Formula is first state value preceding, then the second state value inquires reflecting between the state value prestored and command execution results rear Relation table is penetrated, command execution results corresponding with third state value are obtained, and shows that the response data and the order execute As a result.
In the present embodiment, the present invention is detecting user's triggering for the mobile terminal comprising component LPA is locally configured When eSIM card operational order, the operation of eSIM card is referred to by LPA (Local Profile Assistant, component is locally configured) Order is converted to APDU (Application Protocol Data Unit, Application Protocol Data Unit) message, and by the APDU Message is sent to eSIM card apparatus, and the APDU message is converted to eSIM card behaviour by the eSIM card drive module in eSIM card apparatus It instructs, and operation corresponding with eSIM card operational order is executed to eSIM card, due between mobile terminal and eSIM card apparatus By standard APDU message transmissions eSIM card operational order, so that the compatible different types of eSIM card apparatus of mobile terminal, it can It connect, the eSIM card in different types of eSIM card apparatus can be operated, effectively with different types of eSIM card apparatus Improve the versatility of eSIM card operation.
Further, referring to Fig. 5, it is based on above-mentioned first embodiment, proposes that the second of eSIM card operating method of the present invention is real Example is applied, the difference with previous embodiment is, before step S102, further includes:
Step S103 detects eSIM card apparatus and mobile terminal when detecting the eSIM card operational order of user's triggering Whether have connected;
In the present embodiment, user operates in the user interface of mobile terminal, refers to trigger different eSIM card operations It enables, such as eSIM card activation instruction, eSIM card information read instruction and eSIM card Profile switching command, when detecting user When the eSIM card operational order triggered by user interface, whether detection eSIM card apparatus has connected with mobile terminal.
Step S104, if detecting, eSIM card apparatus and mobile terminal are not connected, it is determined that whether eSIM card apparatus is in In the connectable area of mobile terminal;
In the present embodiment, if detecting that eSIM card apparatus and mobile terminal are not connected, eSIM card is further determined Whether equipment is in the connectable area of mobile terminal, wherein connectable area is according to eSIM card apparatus and mobile terminal Connection type can be divided into NFC connectable area and bluetooth connectable area, specifically, first can determine whether eSIM card apparatus is in NFC connectable area yet further determines that eSIM card apparatus is if eSIM card apparatus is not at NFC connectable area It is no to be in bluetooth connectable area, that is, determine whether mobile terminal can search the Bluetooth signal of eSIM card apparatus, if energy Enough search the Bluetooth signal of eSIM card apparatus, it is determined that eSIM card apparatus is in bluetooth connectable area, if do not searched The Bluetooth signal of eSIM card apparatus, it is determined that eSIM card apparatus is not at bluetooth connectable area.In specific implementation, if detection It is connected to eSIM card apparatus mobile terminal, then eSIM card operational order is converted to by corresponding first APDU message by LPA, and First APDU message is sent to eSIM card apparatus.
Step S105 establishes eSIM card apparatus and moves if eSIM card apparatus is in the connectable area of mobile terminal The connection of dynamic terminal.
In the present embodiment, if eSIM card apparatus is in the connectable area of mobile terminal, eSIM card apparatus is established With the connection of mobile terminal, if eSIM card apparatus is not in the connectable area of mobile terminal, i.e., eSIM card apparatus is neither In NFC connectable area, not also in bluetooth connectable area, then connection prompting message is shown.
Further, if eSIM card apparatus is in the bluetooth connectable area of mobile terminal, it is determined that eSIM card is set It is standby whether to have been matched with mobile terminal, if eSIM card apparatus is unpaired with mobile terminal, show pairing prompting message, reminds User manually completes the Bluetooth pairing of eSIM card apparatus and mobile terminal, then after successful matching, establish eSIM card apparatus with The connection of mobile terminal.
In the present embodiment, the present invention is before executing the transmission operation of eSIM card operational order, and whether detection mobile terminal It is had connected with eSIM card apparatus, not connected, and when eSIM card apparatus be in the connectable area of mobile terminal, automatic foundation The connection of eSIM card apparatus and mobile terminal prevents after triggering eSIM card operational order, can not timely transmit eSIM card behaviour It instructs.
The present invention also provides a kind of mobile terminals.
It is the functional block diagram of mobile terminal first embodiment of the present invention referring to Fig. 6, Fig. 6.
As shown in fig. 6, the mobile terminal includes component LPA, user interface and client being locally configured, and the local is matched The application layer that the operating system of mobile terminal is arranged in component LPA is set, the LPA is connect with the client, wherein the use ESIM card operational order is triggered for user in family interface;
The LPA is used to the eSIM card operational order that user triggers being converted to corresponding first APDU message, and by institute The first APDU message transmissions are stated to the client;
The client is used to the first APDU message being sent to eSIM card apparatus, wherein the eSIM card apparatus The first APDU message is converted into corresponding eSIM card operational order, and the eSIM card is executed and is grasped with the eSIM card Make to instruct corresponding operation.
Further, the mobile terminal further include:
Detection module, for detect user triggering eSIM card operational order when, detect the eSIM card apparatus with Whether the mobile terminal has connected;
The detection module, if being also used to detect, the eSIM card apparatus and the mobile terminal are not connected, it is determined that Whether the eSIM card apparatus is in the connectable area of the mobile terminal;
The client is in the connectable area of the mobile terminal if being also used to the eSIM card apparatus, builds Stand the connection of the eSIM card apparatus and the mobile terminal.
Further, the mobile terminal further include:
First display module, if being not in the connectable area of the mobile terminal for the eSIM card apparatus, The mobile terminal display connection prompting message.
Further, the mobile terminal further include:
Determining module, if being in for the eSIM card apparatus in the connectable area of the mobile terminal, it is determined that institute State whether eSIM card apparatus has matched with the mobile terminal;
If the eSIM card apparatus and the mobile terminal are unpaired, letter is reminded by the display pairing of the second display module Breath, otherwise establishes the connection of the eSIM card apparatus and the mobile terminal by the client.
Further, the mobile terminal further include:
The client is also used to receive the 2nd APDU message that the eSIM card apparatus is sent;
The LPA is also used to parse the 2nd APDU message, to obtain execution result information;
Third display module, for showing the execution result information.
Wherein, the function of modules is realized and is respectively walked in above-mentioned eSIM card operating method embodiment in above-mentioned mobile terminal Rapid corresponding, function and realization process no longer repeat one by one here.
The present invention also provides a kind of eSIM card apparatus.
It is the functional block diagram of eSIM card apparatus first embodiment of the present invention referring to Fig. 7, Fig. 7.
As shown in fig. 7, the eSIM card apparatus includes eSIM card drive module, server-side and eSIM card, the eSIM card Drive module is connect with the server-side, and the eSIM card drive module and the eSIM card connect, wherein
The server-side is used to receive the first APDU message of mobile terminal transmission, and by the first APDU message transmissions To the eSIM card drive module;
The first APDU message is converted to corresponding eSIM card operational order by the eSIM card drive module, and to institute It states eSIM card and executes operation corresponding with the eSIM card operational order.
Further, the eSIM card apparatus obtains after executing the corresponding operation of the completion eSIM card operational order Execution result information is taken, and the 2nd APDU message is generated according to the execution result information by the eSIM card drive module, And the 2nd APDU message is sent to the mobile terminal.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium On be stored with eSIM card operation sequence and performed the steps of when the eSIM card operation sequence is executed by processor
When detecting the eSIM card operational order of user's triggering, the eSIM card operational order is turned by the LPA It is changed to corresponding first APDU message;
The first APDU message is sent to the eSIM card apparatus, the eSIM card is passed through by the eSIM card apparatus The first APDU message is converted to corresponding eSIM card operational order by drive module, and to the eSIM card execute with it is described The corresponding operation of eSIM card operational order.
Further, it is also performed the steps of when the eSIM card operation sequence is executed by processor
When detecting the eSIM card operational order of user's triggering, detecting the eSIM card apparatus and the mobile terminal is It is no to have connected;
If detecting, the eSIM card apparatus and the mobile terminal are not connected, it is determined that whether the eSIM card apparatus is located In in the connectable area of the mobile terminal;
If the eSIM card apparatus is in the connectable area of the mobile terminal, establish the eSIM card apparatus with The connection of the mobile terminal.
Further, it is also performed the steps of when the eSIM card operation sequence is executed by processor
If the eSIM card apparatus is not in the connectable area of the mobile terminal, the mobile terminal display connects Connect prompting message.
Further, it is also performed the steps of when the eSIM card operation sequence is executed by processor
If the eSIM card apparatus is in the connectable area of the mobile terminal, it is determined that the eSIM card apparatus with Whether the mobile terminal has matched;
If the eSIM card apparatus and the mobile terminal are unpaired, pairing prompting message is shown, otherwise described in foundation The connection of eSIM card apparatus and the mobile terminal.
Further, the eSIM card apparatus and the connection type of the mobile terminal include that NFC is connect and bluetooth connection.
Further, the eSIM card drive module and the eSIM card connect.
Further, the eSIM card apparatus obtains after executing the corresponding operation of the completion eSIM card operational order Execution result information is taken, and the 2nd APDU message is generated according to the execution result information by the eSIM card drive module, And the 2nd APDU message is sent to the mobile terminal, the eSIM card operation sequence is also realized when being executed by processor Following steps:
The mobile terminal receives the 2nd APDU message that the eSIM card apparatus is sent, and by the LPA to described 2nd APDU message is parsed, and to obtain execution result information, and shows the execution result information.
Further, it is also performed the steps of when the eSIM card operation sequence is executed by processor
The 2nd APDU message is parsed by the LPA, obtains first state value, the second state value and response Data, and according to the first state value and second state value, determine third state value;
The mapping table between the state value prestored and command execution results is inquired, is obtained and the third state value pair The command execution results answered, and show the response data and the command execution results.
Each embodiment base of the specific embodiment of computer readable storage medium of the present invention and above-mentioned eSIM card operating method This is identical, and therefore not to repeat here.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including There is also other identical elements in the process, method of the element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone, Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of embedded user identification module eSIM card operating method is applied to mobile terminal, which is characterized in that described Mobile terminal includes the application layer of operating system being arranged in component LPA is locally configured, and the eSIM card is set to eSIM card and sets In standby, the eSIM card apparatus includes eSIM card drive module, the eSIM card operating method the following steps are included:
When detecting the eSIM card operational order of user's triggering, the eSIM card operational order is converted to by the LPA Corresponding first APDU message;
The first APDU message is sent to the eSIM card apparatus, is driven by the eSIM card apparatus by the eSIM card The first APDU message is converted to corresponding eSIM card operational order by module, and is executed and the eSIM to the eSIM card The corresponding operation of card operational order.
2. eSIM card operating method as described in claim 1, which is characterized in that be sent to the first APDU message described Before the step of eSIM card apparatus, further includes:
When detecting the eSIM card operational order of user's triggering, whether the eSIM card apparatus and the mobile terminal are detected Connection;
If detecting, the eSIM card apparatus and the mobile terminal are not connected, it is determined that whether the eSIM card apparatus is in institute It states in the connectable area of mobile terminal;
If the eSIM card apparatus is in the connectable area of the mobile terminal, establish the eSIM card apparatus with it is described The connection of mobile terminal.
3. eSIM card operating method as claimed in claim 2, which is characterized in that determine whether the eSIM card apparatus is in institute After stating the step in the connectable area of mobile terminal, further includes:
If the eSIM card apparatus is not in the connectable area of the mobile terminal, the mobile terminal display connection is mentioned Awake information.
4. eSIM card operating method as claimed in claim 2, which is characterized in that establish the eSIM card apparatus and the movement Before the step of connection of terminal, further includes:
If the eSIM card apparatus is in the connectable area of the mobile terminal, it is determined that the eSIM card apparatus with it is described Whether mobile terminal has matched;
If the eSIM card apparatus and the mobile terminal are unpaired, pairing prompting message is shown, otherwise establish the eSIM The connection of card apparatus and the mobile terminal.
5. eSIM card operating method as claimed in claim 2, which is characterized in that the eSIM card apparatus and the mobile terminal Connection type include NFC connection and bluetooth connection.
6. eSIM card operating method according to any one of claims 1 to 5, which is characterized in that the eSIM card drive module It is connected with the eSIM card.
7. eSIM card operating method according to any one of claims 1 to 5, which is characterized in that by the first APDU message After the step of being sent to the eSIM card apparatus, further includes:
The 2nd APDU message that the eSIM card apparatus is sent is received, and the 2nd APDU message is carried out by the LPA Parsing to obtain execution result information, and shows the execution result information, wherein the eSIM card apparatus is executing completion After the corresponding operation of the eSIM card operational order, obtain execution result information, and by the eSIM card drive module according to The 2nd APDU message is generated according to the execution result information, and the 2nd APDU message is sent to the mobile terminal.
8. eSIM card operating method as claimed in claim 7, which is characterized in that reported by the LPA to the 2nd APDU Text is parsed, and to obtain execution result information, and the step of showing the execution result information includes:
The 2nd APDU message is parsed by the LPA, obtains first state value, the second state value and number of responses According to, and according to the first state value and second state value, determine third state value;
The mapping table between the state value prestored and command execution results is inquired, is obtained corresponding with third state value Command execution results, and show the response data and the command execution results.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes that the local for the application layer that operating system is arranged in is matched Component LPA, user interface and client are set, the LPA is connect with the client, wherein the user interface is used for user Trigger eSIM card operational order;
The LPA is used to the eSIM card operational order that user triggers being converted to corresponding first APDU message, and by described the One APDU message transmissions are to the client;
The client is used to the first APDU message being sent to eSIM card apparatus, wherein the eSIM card apparatus is by institute It states the first APDU message and is converted to corresponding eSIM card operational order, and the eSIM card is executed and is referred to eSIM card operation Enable corresponding operation.
10. a kind of eSIM card apparatus, which is characterized in that the eSIM card apparatus includes baseband processor, the baseband processor Including eSIM card drive module, server-side and eSIM card, the eSIM card drive module is connect with the server-side, the eSIM Card drive module and the eSIM card connect, wherein
The server-side is used to receive the first APDU message of mobile terminal transmission, and by the first APDU message transmissions to institute State eSIM card drive module;
The first APDU message is converted to corresponding eSIM card operational order by the eSIM card drive module, and to described ESIM card executes operation corresponding with the eSIM card operational order.
CN201811137123.4A 2018-09-27 2018-09-27 ESIM card operating method, mobile terminal and eSIM card apparatus Pending CN109286926A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811137123.4A CN109286926A (en) 2018-09-27 2018-09-27 ESIM card operating method, mobile terminal and eSIM card apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811137123.4A CN109286926A (en) 2018-09-27 2018-09-27 ESIM card operating method, mobile terminal and eSIM card apparatus

Publications (1)

Publication Number Publication Date
CN109286926A true CN109286926A (en) 2019-01-29

Family

ID=65182302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811137123.4A Pending CN109286926A (en) 2018-09-27 2018-09-27 ESIM card operating method, mobile terminal and eSIM card apparatus

Country Status (1)

Country Link
CN (1) CN109286926A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103580726A (en) * 2012-08-07 2014-02-12 国民技术股份有限公司 User identification card, Bluetooth device and method for accessing user identification card
US20170308881A1 (en) * 2016-04-20 2017-10-26 Gemalto Inc. Method, servers and system for downloading an updated profile
CN107431920A (en) * 2015-02-17 2017-12-01 三星电子株式会社 The method and apparatus for receiving profile by terminal in mobile communication system
EP3340667A1 (en) * 2015-09-11 2018-06-27 Huawei Technologies Co., Ltd. Method, device and system for migration from sim card to euicc

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103580726A (en) * 2012-08-07 2014-02-12 国民技术股份有限公司 User identification card, Bluetooth device and method for accessing user identification card
CN107431920A (en) * 2015-02-17 2017-12-01 三星电子株式会社 The method and apparatus for receiving profile by terminal in mobile communication system
EP3340667A1 (en) * 2015-09-11 2018-06-27 Huawei Technologies Co., Ltd. Method, device and system for migration from sim card to euicc
US20170308881A1 (en) * 2016-04-20 2017-10-26 Gemalto Inc. Method, servers and system for downloading an updated profile

Similar Documents

Publication Publication Date Title
CN109257740A (en) Profile method for down loading, mobile terminal and readable storage medium storing program for executing
CN107508892A (en) A kind of page access method, server and computer-readable recording medium
CN109379735A (en) ESIM card operating method, mobile terminal and eSIM card apparatus
CN108282771A (en) A kind of network access management method, mobile terminal and computer readable storage medium
CN109195143A (en) Method for network access, mobile terminal and readable storage medium storing program for executing
CN107707450A (en) A kind of method, apparatus and computer-readable recording medium for transmitting file
CN109032466A (en) Long screenshot method, mobile terminal and storage medium based on double screen
CN109525713A (en) A kind of application control method, wearable device and mobile terminal
CN109660973A (en) Bluetooth control method, mobile terminal and storage medium
CN110113779A (en) Test method, system, test platform, mobile terminal and the medium of eSIM card
CN108965071A (en) Household terminal control method, communication processing equipment, household terminal and storage medium
CN109462700A (en) A kind of call method, mobile terminal and computer readable storage medium
CN110020386A (en) Application page sharing method, mobile terminal and computer readable storage medium
CN109117105A (en) A kind of collaboration desktop interaction regulation method, equipment and computer readable storage medium
CN110064196A (en) Method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN109445660A (en) A kind of wearable device control method, mobile terminal and wearable device
CN108966162A (en) Data communications method, communication processing equipment, terminal and readable storage medium storing program for executing
CN109445945A (en) Memory allocation method, mobile terminal, server and the storage medium of application program
CN108449736A (en) A kind of data transmission method, terminal and computer readable storage medium
CN109089258A (en) ESIM card operating method, mobile terminal and eSIM card apparatus
CN109219039A (en) ESIM card operating method, mobile terminal and eSIM card apparatus
CN109257739A (en) ESIM card operating method, mobile terminal and eSIM card apparatus
CN110167004A (en) A kind of network registering method, mobile terminal and computer readable storage medium
CN109151163A (en) A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN107872571A (en) Interface requests method, interface requests response method, mobile terminal and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190129