CN117528493A - Virtual communication method and system based on user identification module - Google Patents

Virtual communication method and system based on user identification module Download PDF

Info

Publication number
CN117528493A
CN117528493A CN202410001896.9A CN202410001896A CN117528493A CN 117528493 A CN117528493 A CN 117528493A CN 202410001896 A CN202410001896 A CN 202410001896A CN 117528493 A CN117528493 A CN 117528493A
Authority
CN
China
Prior art keywords
terminal
user identification
identification module
subscriber identity
configuration file
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.)
Granted
Application number
CN202410001896.9A
Other languages
Chinese (zh)
Other versions
CN117528493B (en
Inventor
曹委
胡阳
李洋
崔丙锋
丁忠林
朱雪阳
黄忠明
曹阳
叶彬彬
朱晟桢
申圳
丁雍
童三宝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nari Information and Communication Technology Co
Original Assignee
Nari Information and Communication Technology Co
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 Nari Information and Communication Technology Co filed Critical Nari Information and Communication Technology Co
Priority to CN202410001896.9A priority Critical patent/CN117528493B/en
Publication of CN117528493A publication Critical patent/CN117528493A/en
Application granted granted Critical
Publication of CN117528493B publication Critical patent/CN117528493B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • H04W8/245Transfer of terminal data from a network towards a terminal
    • 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/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

A virtual communication method and system based on a user identification module is characterized in that the method comprises the following steps: step 1, presetting a user identification module in a terminal, and downloading a configuration file from a cellular network through the terminal so as to store the configuration file into the user identification module; step 2, reading the configuration file through the terminal, and realizing association of related protocols in a radio frequency protocol stack in the terminal based on a reading result; and 3, realizing cellular data connection of the terminal based on the associated related protocol and the configuration file. The invention has the advantages of standard workflow, simple execution process, increased fault tolerance during service opening, automatic operation by program and greatly increased usability of the user identification module.

Description

Virtual communication method and system based on user identification module
Technical Field
The present invention relates to the field of wireless communication technologies, and in particular, to a virtual communication method, system, terminal and user identification module based on the user identification module.
Background
Currently, besides providing subscriber identification information for a terminal with wireless communication capability in the form of a SIM (Subscriber Identity Module ) card, esims (Embedded Subscriber Identify Module, embedded subscriber identity modules) can also be embedded on the chip of the terminal device in advance to provide a subscriber identification function. Compared with the traditional physical SIM card, the eSIM card has the unique advantages of integrated machine and card, high temperature resistance, strong stability, traceability in robbery and swiping, more flexible replacement of operators or packages and the like, and has great popularization and use values.
Currently, an LPA (local configuration agent, local Profile Agent) integrated terminal device (LPAd or LPAe) can perform operations such as Profile download by performing network interaction with SM dp+ (SubscriptionManager Data Preparation Address), and interact with eSIM to implement local Profile management.
However, in general, the radio frequency resources of the terminal device are limited, and the eSIM card and the SIM card cannot be connected to the radio frequency resources at the same time, so that the two cannot realize the switching of the radio frequency resources. Further, the versions and models of the SIM card and the eSIM card are various, and if the SIM card and the eSIM card have different resolution formats, the SIM card and the eSIM card have a larger problem in the radio frequency resource switching process. The formats of data transmission between the eSIM card and the terminal, and between the terminal and the SM dp+ of the operator are also different in consideration of the difference in the versions of the terminals for carrying the eSIM card.
Secondly, the conventional eSIM delivery mode is generally that an operator takes a customer order and then makes a card, and then sends an eSIM chip with a preset temporary or formal code number to a terminal factory for chip mounting production. The new delivery mode then supports "over the air number". However, the above delivery modes all have several disadvantages: different esims may have different brands, models and versions, and these differences may cause problems in suitability of the esims in the terminal, and may seriously affect smooth switching of multiple code numbers. In order to ensure smooth switching between code numbers, management and control are required for information such as version of eSIM, and the process and method are complex.
In view of the foregoing, there is a need for a virtual communication method, system, terminal and subscriber identity module based on a subscriber identity module.
Disclosure of Invention
In order to solve the defects existing in the prior art, the invention provides a virtual communication method based on a user identification module, which realizes cellular data connection in different modes by downloading configuration files to the user identification module prefabricated on a terminal and associating protocols.
The invention adopts the following technical scheme.
The first aspect of the invention relates to a virtual communication method based on a user identification module, which comprises the following steps: step 1, presetting a user identification module in a terminal, and downloading a configuration file from a cellular network through the terminal so as to store the configuration file into the user identification module; step 2, reading the configuration file through the terminal, and realizing association of related protocols in a radio frequency protocol stack in the terminal based on a reading result; and 3, realizing cellular data connection of the terminal based on the associated related protocols and the configuration file.
Preferably, the terminal at least comprises a first user identification module and a second user identification module; wherein, the first user identification module stores a configuration file; the second user identification module does not store configuration files when preset in the terminal, and is connected to the cellular network to download the configuration files after the local configuration of the terminal; and the second subscriber identity module is used for storing one or more configuration files simultaneously.
Preferably, the configuration file at least comprises an operator certificate for providing cellular network service, an international mobile subscriber identification number, an integrated circuit card identification code corresponding to the subscriber identification module, and a remote algorithm.
Preferably, the second subscriber identity module is connected with the terminal by adopting a 7816 interface or an I2C interface; and, in step 2, further include: and reading and analyzing the configuration file from the user identification module through a local configuration tool on the terminal, and generating an APDU message based on the configuration file to serve as a reading result.
Preferably, reading and parsing the configuration file from the first or second subscriber identity module further includes: the structure of the APDU instruction and the format of the APDU response data are predefined in the local configuration tool; generating an APDU instruction by using a local configuration tool and sending the APDU instruction to a second user identification module; the second user identification module is instructed to analyze the instruction type and the instruction parameters of the APDU instruction based on the format, and user identification is executed according to the instruction type and the instruction parameters so as to generate APDU response data; and intercepting the APDU response data into fixed-length data and outputting the fixed-length data to the terminal.
Preferably, the APDU message generated by the local configuration tool is used for the terminal to perform code number acquisition, code number downloading, code number deleting, code number enabling and code number disabling based on the configuration file.
Preferably, when the APDU message generated by the local configuration tool is used to implement code number enablement, the terminal further supports: and switching the radio frequency resource which is realizing the cellular data connection based on the first user identification module to the second user identification module, so that the radio frequency resource realizes the cellular data connection of the terminal based on the second user identification module.
Preferably, when the APDU message generated by the local configuration tool is used to implement code number disabling, the terminal further supports: and switching the radio frequency resource which is realizing the cellular data connection based on the second user identification module to the first user identification module so that the radio frequency resource realizes the cellular data connection of the terminal based on the first user identification module.
Preferably, the terminal corresponds to one or more radio frequency resources, and the terminal further comprises one or more alternative switches; and the two-out switch is used for binding any one of the first user identification modules and any one of the second user identification modules, and switching the switch based on the two-out instruction sent by the terminal so as to switch the connection state of the two bound user identification modules to the same radio frequency resource.
Preferably, when the subscriber identity module is connected with the cellular data of the terminal, a related protocol is required to be selected from the radio frequency protocol stack according to the reading result and is related to the subscriber identity module; the related protocol is used for carrying out protocol format conversion on data to be transmitted in the terminal and sending the data to the cellular network; or, the method is used for carrying out protocol format conversion on the data to be received on the cellular network and receiving the data into the terminal.
Preferably, the data to be transmitted at least includes APDU messages generated by the local configuration tool.
Preferably, the multi-dimensional array is adopted to realize the type mapping of the APDU message parameters and the operation instructions of the second user identification module; and optimizing the type mapping process of the APDU message transmitted between the second user identification module and the terminal.
Preferably, the optimizing at least comprises: adding default values to APDU blank parameters to characterize the complete format of the APDU; deleting the start space and the end space of the character string, and adding a preset character string to represent the format of binary data after the binary data exceeds the floating point number representation range; mapping each element in the multi-dimensional array by using a mapping function, and compressing the mapping result into a new multi-dimensional array; recursively traversing a new multidimensional array in the APDU message according to a preset depth, and merging all elements in the new multidimensional array and elements traversed into the subarray into a new array to return; all elements in the new array are converted back to the operation type by a preset command.
A second aspect of the present invention relates to a virtual communication system based on a subscriber identity module using the method of the first aspect of the present invention, the system comprising a configuration module, an association module and a connection module; the configuration module is used for presetting the user identification module in the terminal, and downloading configuration files from the cellular network through the terminal so as to store the configuration files into the user identification module; the association module is used for reading the configuration file through the terminal and realizing association of related protocols in a radio frequency protocol stack in the terminal based on a reading result; and the connection module is used for realizing the cellular data connection of the terminal based on the associated related protocol and the configuration file.
A third aspect of the present invention relates to a terminal, comprising a processor and a storage medium; the storage medium is used for storing instructions; the processor is operative to perform the steps of the method of the first aspect of the invention in accordance with the instructions.
The fourth aspect of the invention relates to a subscriber identity module having stored thereon a computer program which, when executed by a processor, implements the steps of the method of the first aspect of the invention.
Compared with the prior art, the virtual communication method based on the user identification module can realize different modes of cellular data connection by downloading the configuration file to the user identification module prefabricated on the terminal and associating protocols.
The beneficial effects of the invention also include:
1. the invention ensures the smooth opening of the cellular communication service by connecting the user identification module and adjusting the association protocol, has standard working flow and simple execution process, not only increases the fault tolerance when the service is opened, but also can be operated automatically by the program, thereby greatly increasing the usability of the user identification module.
2. The problem of traditional delivery mode of eSIM card is solved, so that the terminal can be well adapted to user identification modules of different types, different modes of access of the user identification modules to radio frequency resources are realized, the whole access logic does not influence the service logic of network access and code number distribution and switching of the terminal, and the network access process of operators is not required to be improved. In addition, the method does not need to manage information of complicated eSIM brands, models, versions and the like, and solves the problem of code number switching only according to the local matching process of the terminal.
Drawings
FIG. 1 is a schematic diagram of steps of a virtual communication method based on a subscriber identity module according to the present invention;
fig. 2 is a schematic block diagram of a terminal in a virtual communication method based on a subscriber identity module according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. The described embodiments of the invention are only some, but not all, embodiments of the invention. All other embodiments of the invention not described herein, which are obtained from the embodiments described herein, should be within the scope of the invention by those of ordinary skill in the art without undue effort based on the spirit of the present invention.
Fig. 1 is a schematic diagram of steps of a virtual communication method based on a subscriber identity module according to the present invention. As shown in fig. 1, the first aspect of the present invention relates to a virtual communication method based on a subscriber identity module, and the method includes steps 1 to 3.
And step 1, presetting the user identification module in the terminal, and downloading the configuration file from the cellular network through the terminal so as to store the configuration file into the user identification module.
It should be noted that, as a physical element for identity recognition, the subscriber identity module may be disposed inside the terminal in various manners, so as to implement authentication of the identity of the terminal when accessing the cellular network of the operator. Typically, the user identification module has a configuration file stored therein. The content of the configuration file in the subscriber identity module is different according to different operators, different connection networks, different authentication modes and the like.
Preferably, the terminal at least comprises a first user identification module and a second user identification module; wherein, the first user identification module stores a configuration file; the second user identification module does not store configuration files when preset in the terminal, and is connected to the cellular network to download the configuration files after the local configuration of the terminal; and the second subscriber identity module is used for storing one or more configuration files simultaneously.
It will be appreciated that the manner in which the profile is stored will vary depending on the type of subscriber identity module. The number of subscriber identity modules in the terminal is not limited in the present invention, but at least two different types of subscriber identity modules should be present. In the first subscriber identification module, a configuration file is stored in advance. The module and the terminal are connected in a detachable mode. In the second subscriber identity module, the configuration file is not stored in advance, and the terminal needs to be connected with a certain operator platform and to download the configuration file to the second subscriber identity module after confirming the identity in a certain way. Since the configuration files in the second subscriber identity module may be downloaded, modified and deleted, the second subscriber identity module may typically be arranged inside the terminal in a fixed manner, e.g. soldered onto a certain chip of the terminal.
Preferably, the second subscriber identity module is connected with the terminal by adopting a 7816 interface or an I2C interface; and, in step 2, further include: the configuration file is read and parsed from the subscriber identity module by a local configuration tool on the terminal, and APDU (Application Protocol Data Unit ) messages are generated based on the configuration file as a result of the reading.
The second subscriber identity module in the invention can realize the connection between the card and the terminal through 7816 or I2C and other different physical interfaces. Obviously, when the interface formats of the card and the terminal are different, the manner in which the communication between the subscriber identity module and the terminal is implemented is also different. In general, the I2C interface includes Serial Data (SDA) and Serial Clock (SCL) pins, and when the second subscriber identity module using the I2C interface is connected to the baseband processor, it generally does not collide with the radio frequency resource corresponding to the standard first subscriber identity module, so that there is no need to adjust the radio frequency protocol stack associated with the eSIM card. And in the case of 7816, a reassociation protocol is required.
Similarly, if the first subscriber identity module and the second subscriber identity module are connected to the terminal through the 7816 interface, the modules include at least power (VCC), ground (GND), clock (CLK), reset (RST), and input/output (IO) pins. If the first subscriber identity module is the first subscriber identity module, an insertion Detection (DETECT) pin is included to prevent access failures.
In addition, the second user identification module can support downloading of a plurality of configuration files, and different configuration files can be identified and called according to different actual networking modes of the terminal.
Preferably, the configuration file at least comprises an operator certificate for providing cellular network service, an international mobile subscriber identification number, an integrated circuit card identification code corresponding to the subscriber identity module, and a remote algorithm.
The configuration file in the invention is a set of application, file and data for providing service, which is generated by legal operator remote management platform and described in standardized format, and can be downloaded to the user identification module by the terminal and installed therein. When the profile is in the active state, the terminal is connected to the operator via cellular communication between the user identity.
The configuration file may include subscription information of the terminal to the operator, such as an operator certificate, an international mobile subscriber identification number, an integrated circuit card identification code corresponding to the subscriber identification module, and the like, and a remote algorithm for implementing relevant applications such as subscriber identification, and the like.
And 2, reading the configuration file through the terminal, and realizing association of related protocols in a radio frequency protocol stack in the terminal based on a reading result.
In the invention, the user identification module can download the configuration file of the carrier to the storage structure of the carrier through the terminal, and provide corresponding application capability for the terminal based on the content in the configuration file.
Based on the above, the terminal can read the configuration file or the corresponding data applied in the user identification module, thereby providing output meeting the requirements of the terminal.
Preferably, in step 2, further includes: and reading and analyzing the configuration file from the user identification module through a local configuration tool on the terminal, and generating an APDU message based on the configuration file to serve as a reading result.
Specifically, reading and parsing the configuration file from the first or second subscriber identity module further includes: the structure of the APDU instruction and the format of the APDU response data are predefined in the local configuration tool; generating an APDU instruction by using a local configuration tool and sending the APDU instruction to a second user identification module; the second user identification module is instructed to analyze the instruction type and the instruction parameters of the APDU instruction based on the format, and user identification is executed according to the instruction type and the instruction parameters so as to generate APDU response data; and intercepting the APDU response data into fixed-length data and outputting the fixed-length data to the terminal.
The local configuration tool is an application tool in the presence terminal, and can respond to the instruction and the request of the operator, and can also actively connect with the operator to realize the network communication request. In addition, the local configuration tool is also used for realizing communication with the user identification module, analyzing the message from the user identification module or sending the message to the user identification module. In addition, the local configuration tool can sense whether the code number is preset in the user identification module.
The local application configured inside the subscriber identity module may receive the instructions issued by the local configuration tool, for example, the structure of the APDU instructions and the format of the response data, which are predefined on the local configuration tool, and may also receive the APDU instructions from the local configuration tool. The APDU instructions herein may be of various types, for example instructing the subscriber identity module to download, update, delete, modify, etc. the configuration file.
The local application in the subscriber identity module can also parse the true meaning of the APDU command according to the above information, thereby executing the local application, calling the contents in the configuration file, and generating response data for the APDU command, that is, APDU response data. At the time of output, the response data may be truncated to be output in consideration of the APDU format. Thus, the local configuration tool can receive the APDU message from the subscriber identity module.
Preferably, the APDU message generated by the local configuration tool is used for the terminal to perform code number acquisition, code number downloading, code number deleting, code number enabling and code number disabling based on the configuration file.
In the whole process of the cellular network communication of the terminal, the local configuration tool can interact with the APDU message of the terminal at any time. But during these interactions, several different services can be extracted with emphasis, such as code number acquisition, downloading, deletion, enabling and disabling. When the code number is acquired, the terminal requests a new code number from the operator, thereby realizing the registration of a new user. The code number downloading is that the operator provides the new code number to the terminal, the deleting is that the operator logs out the user, and the code number enabling and disabling is the switching of the service level of the user identification module. For example, a handover in the network connection between a different terminal and the cellular network, a temporary suspension of the current connection or a handover to another connection, etc.
It should be noted that, considering that if there is a service that the code number is enabled and disabled, the code number needs to be connected to different radio frequency resource data through the terminal, that is, the manner of implementing the connection between the terminal and the radio frequency resource needs to be updated or switched. Considering different code numbers, namely different configuration files need to be connected to the radio frequency resource in different modes, the method can define the association relation between the current configuration file and the radio frequency protocol stack in the terminal through the configuration files, and when the different configuration files require the radio frequency resource, different related protocols are needed to convert protocol formats of data contents such as APDU messages and the like, and then uplink and downlink of data on the radio frequency resource can be realized.
And 3, realizing cellular data connection of the terminal based on the associated related protocol and configuration file.
Preferably, when the APDU message generated by the local configuration tool is used to implement code number enablement, the terminal further supports: and switching the radio frequency resource which is realizing the cellular data connection based on the first user identification module to the second user identification module so that the radio frequency resource realizes the cellular data connection of the terminal based on the second user identification module.
Preferably, when the APDU message generated by the local configuration tool is used to implement code number disabling, the terminal further supports: and switching the radio frequency resource which is realizing the cellular data connection based on the second user identification module to the first user identification module so that the radio frequency resource realizes the cellular data connection of the terminal based on the first user identification module.
It can be understood that after the correlation of the related protocol is completed, the method can realize the cellular data connection between the terminal and the operator according to the information in the configuration file, namely the APDU message.
In the connection process, the method can switch the same radio frequency resource to configuration files in different user identification modules according to the enabling and disabling requirements of the code numbers. For example, from a first subscriber identity module to a second subscriber identity module, or back.
In addition, if a plurality of configuration files exist in a second subscriber identity module, the method can also realize the switching of two different code numbers in one module. In such a handover, a plurality of protocols associated between the current code number and the code number to be handed over also need to be updated, and uplink and downlink communication of data is implemented in different manners.
Preferably, the terminal corresponds to one or more radio frequency resources, and the terminal further comprises one or more alternative switches; and the two-out switch is used for binding any one of the first user identification modules and any one of the second user identification modules, and switching the switch based on the two-out instruction sent by the terminal so as to switch the connection state of the two bound user identification modules to the same radio frequency resource.
The method does not limit the number of radio frequency resources on the terminal, but may correspond to a first subscriber identity module and a second subscriber identity module for each radio frequency resource in a preferred embodiment. The two can be switched by a switch of two alternatives.
In consideration of some common embodiments, the plurality of second subscriber identity modules in the present invention may be configured as a same physical chip, and be soldered on a terminal chip in advance, so as to implement integrated application.
Preferably, when the subscriber identity module is connected with the cellular data of the terminal, a related protocol is required to be selected from the radio frequency protocol stack according to the reading result and is related to the subscriber identity module; the related protocol is used for carrying out protocol format conversion on data to be transmitted in the terminal and sending the data to the cellular network; or, the method is used for carrying out protocol format conversion on the data to be received on the cellular network and receiving the data into the terminal.
Preferably, the data to be transmitted at least includes APDU messages generated by the local configuration tool.
In the invention, the protocol stack can comprise various mainstream current protocols, and the method can select partial protocols from the protocol stack to realize protocol format conversion and data interaction of data according to the physical properties of the user identification module, the network connection mode of an operator and the like.
Fig. 2 is a schematic block diagram of a terminal in a virtual communication method based on a subscriber identity module according to the present invention. As shown in fig. 2, in an embodiment of the present invention, a software system of a terminal may use a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The software system of the terminal may include: hardware and driving layer, modem, hardware abstract layer and application program layer.
The hardware and driving layer is responsible for the management and docking of the hardware. The wireless terminal at least comprises a first user identification module, a second user identification module, radio frequency resources and other hardware and corresponding drivers.
Modem is located between the hardware and driver layers and the hardware abstraction layer, which may also be referred to as a Modem. The Modem is communicated with the mobile network to transmit voice and data, and complete related functions such as calling, short message and the like. Modem mainly processes digital signals, encoding and decoding of voice signals and radio frequency protocol, and is generally responsible for connection and interaction with SIM card. Among them, the radio frequency protocol includes a modulation protocol (Modulation Protocols), an error control protocol (Error Control Protocols), a data compression protocol (Data Compression Protocols), a file transfer protocol (File TransferProtocol), and the like.
The hardware abstraction layer (hardware abstraction layer, HAL) is the interface layer between the application layer and the Modem layer. RIL (Radio Interface Layer) is one of the message transmission channels supporting format conversion. Since the modems used by each vendor may be different, the RIL layer is created in order to abstract all of the modems into a unified schema. Under the RIL layer, each vendor may have its own different implementation, but after the RIL layer protocol conversion, all modems may be abstracted into a unified object responsible for the upper layer. RIL provides services of the network to upper layers. The RIL may enable applications such as sms, talk, SIM card management, etc. to communicate with the modem, and in some embodiments, the RIL may provide an abstraction layer that abstracts specific details of the hardware-related components of the electronic device.
And the application program layer comprises a local configuration tool and a management application inside the user identification module. The application layer may include other types of various applications, not limited to the above-described application programs.
After the terminal is turned on, the terminal may perform the following procedure:
1) The management application in the user identification module enters a flow for establishing cellular data connection work by using the user identification module, activates a related protocol stack, and sends an activation instruction to the RIL;
2) After the RIL receives the instruction, the RIL sends the instruction to the Modem;
3) The Modem sets the current user identification module as the current code number and connects the code number to the radio frequency resource;
4) The radio frequency resource feeds back a physical network access result to the Modem;
5) The Modem sends cellular data connection confirmation to the RIL again, and the RIL is forwarded to a management application in the user identification module for connection after processing.
In the above steps, if there is a connection, the management application inside the subscriber identity module will implement the connection, whereas if the connection is not made with cellular data, the method may implement the switching of the code numbers based on the management application inside the subscriber identity module.
After the handover, the method performs steps 1 to 5 again until the connection is successful.
In addition, if the method cannot obtain the configuration file in a certain subscriber identity module, that is, the subscriber identity module and the operator do not establish a subscription relationship, the method can also adopt the flow of downloading the configuration file to realize the registration process of the new subscriber.
At this time, the Modem is not connected to the radio frequency resource, and the configuration file in the subscriber identity module transmits the state of the subscriber identity module to the RIL, and enters a stage of opening a new subscriber, and at this time, the local configuration tool is started to download the configuration file from the carrier network to the subscriber identity module.
Preferably, the multi-dimensional array is adopted to realize the type mapping of the APDU message parameters and the operation instructions of the second user identification module; and optimizing the type mapping process of the APDU message transmitted between the second user identification module and the terminal; the optimizing at least comprises the following steps: adding a default value to the APDU blank parameter to characterize the complete format of the APDU; deleting the start space and the end space of the character string, and adding a preset character string after binary data exceeding the floating point number representation range to represent the format of the binary data; mapping each element in the multi-dimensional array by using a mapping function, and compressing the mapping result into a new multi-dimensional array; recursively traversing the new multidimensional array in the APDU message according to a preset depth, and merging all elements in the new multidimensional array and elements traversed into a subarray into a new array to return; and converting all elements in the new array back to the operation type by adopting a preset command.
It should be noted that, considering the different versions of the operator terminal and the different application versions and formats in the subscriber identity module, when the APDU message is communicated between the terminal and the subscriber identity module, the process of mapping the message type can be advantageously improved with reference to the technical scheme of the present invention.
These improvements include not only improvements in the original data format in the message, but also improvements in the way the objects map to elements in the array. In addition, in consideration of the common type mapping procedure, the method may preset common commands to prevent the complexity of the conversion procedure, for example, a command may be preset to convert elements in the array back to the object without requiring a more complex conversion procedure, and so on.
The method of the invention considers that partial data volume can exceed the binary range of the data of the common floating point number type, so the method can increase the data type and is specially used for representing the data with values exceeding the range. To identify this type of data, an identifier in text format may be added at the end of the data. However, the method may set such data with a special identifier to be directly identifiable as an object of an out-of-range data type.
The second aspect of the invention relates to a virtual communication system based on a user identification module, which comprises a configuration module, an association module and a connection module; the configuration module is used for presetting the user identification module in the terminal, and downloading configuration files from the cellular network through the terminal so as to store the configuration files into the user identification module; the association module is used for reading the configuration file through the terminal and realizing association of related protocols in a radio frequency protocol stack in the terminal based on a reading result; and the connection module is used for realizing cellular data connection of the terminal based on the associated related protocol and configuration file.
A third aspect of the present invention relates to a terminal, comprising a processor and a storage medium, the storage medium being for storing instructions; the processor is operative to perform the steps of the method of the first aspect of the invention in accordance with the instructions.
The fourth aspect of the invention relates to a subscriber identity module having stored thereon a computer program which, when executed by a processor, implements the steps of the method of the first aspect of the invention.
Finally, it should be noted that the above embodiments are only for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the above embodiments, it should be understood by those skilled in the art that: modifications and equivalents may be made to the specific embodiments of the invention without departing from the spirit and scope of the invention, which is intended to be covered by the claims.

Claims (16)

1. A virtual communication method based on a subscriber identity module, the method comprising the steps of:
step 1, presetting a user identification module in a terminal, and downloading a configuration file from a cellular network through the terminal so as to store the configuration file into the user identification module;
step 2, reading the configuration file through the terminal, and realizing association of related protocols in a radio frequency protocol stack in the terminal based on a reading result;
and 3, realizing cellular data connection of the terminal based on the associated related protocol and the configuration file.
2. A virtual communication method based on a subscriber identity module according to claim 1, wherein:
the terminal at least comprises a first user identification module and a second user identification module;
wherein the configuration file is stored in the first user identification module;
the second user identification module does not store a configuration file when being pre-arranged in the terminal, and is connected to a cellular network to download the configuration file after being subjected to local configuration of the terminal;
and the second subscriber identity module is used for storing one or more configuration files simultaneously.
3. A virtual communication method based on a subscriber identity module according to claim 1, wherein:
the configuration file at least comprises an operator certificate for providing cellular network service, an international mobile subscriber identification number, an integrated circuit card identification code corresponding to the subscriber identification module and a remote algorithm.
4. A virtual communication method based on a subscriber identity module according to claim 2, wherein:
the second user identification module is connected with the terminal by adopting a 7816 interface or an I2C interface; and, in addition, the processing unit,
in the step 2, further includes:
reading and analyzing the configuration file from the user identification module through a local configuration tool on the terminal, and generating an APDU message based on the configuration file to serve as the reading result.
5. The virtual communication method based on a subscriber identity module according to claim 4, wherein:
reading and parsing the configuration file from the first or second subscriber identity module further includes:
the structure of the APDU instruction and the format of the APDU response data are predefined in the local configuration tool;
generating an APDU instruction by using the local configuration tool and sending the APDU instruction to the second user identification module;
the second user identification module is instructed to analyze the instruction type and the instruction parameters of the APDU instruction based on the format, and user identification is executed according to the instruction type and the instruction parameters so as to generate APDU response data;
intercepting the APDU response data into fixed length data and outputting the fixed length data to the terminal.
6. The virtual communication method based on a subscriber identity module according to claim 4, wherein:
and the APDU message generated by the local configuration tool is used for the terminal to acquire the code number, download the code number, delete the code number, enable the code number and disable the code number based on the configuration file.
7. The virtual communication method based on a subscriber identity module according to claim 6, wherein:
when the APDU message generated by the local configuration tool is used to implement code number enablement, the terminal further supports:
and switching the radio frequency resource which is being used for realizing the cellular data connection based on the first user identification module to the second user identification module, so that the radio frequency resource is used for realizing the cellular data connection of the terminal based on the second user identification module.
8. The virtual communication method based on a subscriber identity module according to claim 6, wherein:
when the APDU message generated by the local configuration tool is used to implement code number disabling, the terminal further supports:
and switching the radio frequency resource which is being used for realizing the cellular data connection based on the second user identification module to the first user identification module, so that the radio frequency resource is used for realizing the cellular data connection of the terminal based on the first user identification module.
9. A virtual communication method based on a subscriber identity module according to claim 7 or 8, characterized in that:
the terminal corresponds to one or more radio frequency resources, and one or more alternative switches are also included in the terminal; and, in addition, the processing unit,
the two-out-of-one switch is used for binding any one of the first user identification modules and any one of the second user identification modules, and switching the switch based on the two-out-of-one instruction sent by the terminal so as to switch the connection state of the two bound user identification modules to the same radio frequency resource.
10. A virtual communication method based on a subscriber identity module according to claim 9, wherein:
when the user identification module is connected with the cellular data of the terminal, the related protocol is required to be selected from the radio frequency protocol stack according to the reading result and is related to the user identification module;
the related protocol is used for carrying out protocol format conversion on data to be transmitted in the terminal and sending the data to a cellular network;
or, the method is used for carrying out protocol format conversion on the data to be received on the cellular network and receiving the data into the terminal.
11. A virtual communication method based on a subscriber identity module according to claim 10, wherein:
the data to be transmitted at least comprises an APDU message generated by the local configuration tool.
12. A virtual communication method based on a subscriber identity module according to claim 5, wherein:
adopting a multidimensional array to realize the type mapping of the APDU message parameters and the operation instructions of the second user identification module;
and optimizing a type mapping process of the APDU message transmitted between the second subscriber identity module and the terminal.
13. A virtual communication method based on a subscriber identity module according to claim 12, wherein:
the optimizing at least comprises:
adding a default value to the APDU blank parameter to characterize the complete format of the APDU;
deleting the start space and the end space of the character string, and adding a preset character string after binary data exceeding the floating point number representation range to represent the format of the binary data;
mapping each element in the multi-dimensional array by using a mapping function, and compressing the mapping result into a new multi-dimensional array;
recursively traversing the new multidimensional array in the APDU message according to a preset depth, and merging all elements in the new multidimensional array and elements traversed into a subarray into a new array to return;
and converting all elements in the new array back to the operation type by adopting a preset command.
14. A virtual communication system based on subscriber identity modules using the method according to any of claims 1-13, characterized in that:
the system comprises a configuration module, an association module and a connection module; wherein,
the configuration module is used for presetting a user identification module in a terminal, and downloading a configuration file from a cellular network through the terminal so as to store the configuration file into the user identification module;
the association module is used for reading the configuration file through the terminal and realizing association of related protocols in a radio frequency protocol stack in the terminal based on a reading result;
and the connection module is used for realizing the cellular data connection of the terminal based on the related protocol and the configuration file after association.
15. A terminal comprising a processor and a storage medium; the method is characterized in that:
the storage medium is used for storing instructions;
the processor being operative according to the instructions to perform the steps of the method according to any one of claims 1-13.
16. A subscriber identity module having stored thereon a computer program, characterized in that the program, when being executed by a processor, implements the steps of the method according to any of claims 1-13.
CN202410001896.9A 2024-01-02 2024-01-02 Virtual communication method and system based on user identification module Active CN117528493B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410001896.9A CN117528493B (en) 2024-01-02 2024-01-02 Virtual communication method and system based on user identification module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410001896.9A CN117528493B (en) 2024-01-02 2024-01-02 Virtual communication method and system based on user identification module

Publications (2)

Publication Number Publication Date
CN117528493A true CN117528493A (en) 2024-02-06
CN117528493B CN117528493B (en) 2024-03-29

Family

ID=89753451

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410001896.9A Active CN117528493B (en) 2024-01-02 2024-01-02 Virtual communication method and system based on user identification module

Country Status (1)

Country Link
CN (1) CN117528493B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108886683A (en) * 2016-03-29 2018-11-23 高通股份有限公司 Use embedded user identification module(eSIM)Configuration process to provide the system and method with activation equipment configuration packet on a wireless communication device
CN113498124A (en) * 2020-03-20 2021-10-12 华为技术有限公司 SIM card and eSIM card switching method and electronic equipment
CN113518341A (en) * 2021-04-13 2021-10-19 武汉天喻信息产业股份有限公司 eSIM code number management method and device
CN115443669A (en) * 2021-04-01 2022-12-06 柏思科技有限公司 Establishing and maintaining cellular data communications using remote subscriber identity module profiles
US20230199887A1 (en) * 2020-09-25 2023-06-22 Samsung Electronics Co., Ltd. Electronic device for supporting dual sim and cellular communication converting method of electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108886683A (en) * 2016-03-29 2018-11-23 高通股份有限公司 Use embedded user identification module(eSIM)Configuration process to provide the system and method with activation equipment configuration packet on a wireless communication device
CN113498124A (en) * 2020-03-20 2021-10-12 华为技术有限公司 SIM card and eSIM card switching method and electronic equipment
US20230199887A1 (en) * 2020-09-25 2023-06-22 Samsung Electronics Co., Ltd. Electronic device for supporting dual sim and cellular communication converting method of electronic device
CN115443669A (en) * 2021-04-01 2022-12-06 柏思科技有限公司 Establishing and maintaining cellular data communications using remote subscriber identity module profiles
CN113518341A (en) * 2021-04-13 2021-10-19 武汉天喻信息产业股份有限公司 eSIM code number management method and device

Also Published As

Publication number Publication date
CN117528493B (en) 2024-03-29

Similar Documents

Publication Publication Date Title
US7715833B2 (en) Mobile telephone device and data-management method
US7369851B2 (en) Communications network capable of determining SIM card changes in electronic devices
US6978157B1 (en) System and method to control a third item of equipment using a SIM card, via a radio communication module, corresponding radio communication module and third item of equipment
EP2566286B1 (en) Wireless Internet Access Module, Communication Method for Host and Wireless Internet Access Module, and Data Card
KR20010096543A (en) System and method for provisioning or updating a mobile station using over-the-air transfer of interpreted byte-code program
AU7989698A (en) Method of downloading a list of items into a mobile terminal
AU738714B2 (en) Adapter of subscriber identity module to a mobile radiocommunications terminal
WO2021223278A1 (en) Sim card configuration distribution method and system
CN111142905B (en) OTA upgrading method, OTA server and OTA upgrading system
CN101730078A (en) Method and device for realizing access point binding of wireless data terminal equipment
EP1733580A1 (en) Updating of the preferred roaming list (prl) in a sim (subscriber identity module) / ruim (removable user identity module) card.
CN111372249A (en) System and method for testing consistency of code number downloading process of eSIM (embedded subscriber identity Module) terminal of Internet of things
AU4664099A (en) Changing functionality of a module terminal in a wireless network
CN101860440A (en) Wireless internet module and data synchronism method and data card using same
US8185090B2 (en) Method and system for provisioning content in a mobile device management system
CN117528493B (en) Virtual communication method and system based on user identification module
CN101868049B (en) Communication methods for host and wireless Internet access module and host communication module
KR100901871B1 (en) Method and Apparatus for Loading Program Using Smart Card
KR20150020183A (en) Method and device for upgrading telephone number in wireless terminal self-adaptive network upgrade
CN112188476B (en) Communication method, communication device, mobile terminal, and storage medium
US20060161839A1 (en) Method for obtaining communication settings using an application descriptor
CN101860989B (en) Wireless internet module and communication method thereof with host, and data card
CN114915961B (en) Data communication method and device and Internet of things equipment
CN117440360B (en) eSIM realization method and system of CPE, electronic equipment and storage medium
CN114422972B (en) Data interaction method, system, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant