CN111491291B - Network connection method, SIM card, system, terminal and medium - Google Patents

Network connection method, SIM card, system, terminal and medium Download PDF

Info

Publication number
CN111491291B
CN111491291B CN202010582549.1A CN202010582549A CN111491291B CN 111491291 B CN111491291 B CN 111491291B CN 202010582549 A CN202010582549 A CN 202010582549A CN 111491291 B CN111491291 B CN 111491291B
Authority
CN
China
Prior art keywords
connection
network connection
card
sim card
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010582549.1A
Other languages
Chinese (zh)
Other versions
CN111491291A (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.)
Shenzhen Jetlink Technology Co ltd
Original Assignee
Shenzhen Jetlink 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 Shenzhen Jetlink Technology Co ltd filed Critical Shenzhen Jetlink Technology Co ltd
Priority to CN202010582549.1A priority Critical patent/CN111491291B/en
Publication of CN111491291A publication Critical patent/CN111491291A/en
Application granted granted Critical
Publication of CN111491291B publication Critical patent/CN111491291B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]

Landscapes

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

Abstract

The invention discloses a network connection method, an SIM card, a system, a terminal and a medium, comprising: acquiring a network code for identification; if the network code is not matched with the last connection, networking operation is carried out according to the independent transmission protocol, the independent transmission protocol is preferentially used for reporting the outbound roaming information after the outbound roaming, the cost of an OTA reporting channel is reduced, meanwhile, the method has high reliability and high fault-tolerant rate, the system stability can be improved, meanwhile, an operator system does not need to be connected, and the use cost is further reduced.

Description

Network connection method, SIM card, system, terminal and medium
Technical Field
The present invention relates to the field of mobile communications, and in particular, to a network connection method, an SIM card, a system, a terminal, and a medium.
Background
Outbound travel is becoming more and more popular as the standard of living of people increases. When traveling abroad, the user can not directly use the data traffic service after going abroad because the modes of operators are different among countries or no user agreement exists among the operators.
Overseas roaming data traffic in the related art passes through a Subscriber Identity Module (SIM) card which can perform global roaming and switch profiles through an Over the Air channel (OTA), remote and Over-the-Air Profile issuing and switching are performed based on the OTA channel, management and recovery are performed, and data roaming service is provided for outbound users.
At present, the Over The Air (OTA) SIM card needs to report the state of the seed number through the short message channel and forward the state, extra cost is generated, and meanwhile, the arrival rate reported by using the short message channel cannot meet the requirement, and the SIM card access during data roaming is influenced.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, the invention provides a network connection method, which can report by using a Bearer Independent Protocol (BIP) after detecting the user outbound roaming, thereby reducing extra cost, improving the arrival rate of reported information, and improving the network connection efficiency of the user outbound roaming.
The network connection method according to the embodiment of the first aspect of the invention is used for the SIM card with OTA function, and comprises the following steps: acquiring a network code for identification; and if the network code is not matched with the last connection, performing networking operation according to an independent transmission protocol.
The network connection method provided by the embodiment of the invention at least has the following beneficial effects: the independent transmission protocol based on mature internet TCP/IP channel is used for replacing the short message uplink channel, so that the high reliability, the high backup and the fault tolerance of the channel can be enhanced, the high arrival rate is ensured, the system stability is improved, the normal operation of the business process is guaranteed, and the user experience is optimized.
According to some embodiments of the invention, said performing networking operations according to an independent transport protocol comprises: the independent transmission protocol is applied to report connection request information to a server; judging whether the connection times reach a connection time threshold value or not, and if the connection times do not reach the connection time threshold value, returning the connection request information reported by the independent transmission protocol to the server; and if the connection times reach the connection time threshold, reporting the network connection identification flow by using a short message channel.
According to some embodiments of the invention, said performing networking operations according to an independent transport protocol further comprises: judging whether the connection is overtime or not, and if the connection is not overtime, continuing to wait for the connection; if the connection is overtime, returning to the judgment whether the connection times reach the connection time threshold value.
According to some embodiments of the present invention, the process of entering the short message channel to report the network connection identifier includes: and reporting the connection request information to the server by using a short message.
According to some embodiments of the invention, said performing networking operations according to an independent transport protocol further comprises: and acquiring an encapsulated short message sent by a server side, and writing the SIM card according to the encapsulated short message.
According to some embodiments of the invention, said performing networking operations according to an independent transport protocol further comprises: obtaining card writing data according to the encapsulated short message, wherein the card writing data comprises a service number; verifying the card writing data; and writing the card according to the card writing data.
According to some embodiments of the invention, the verifying the card write data comprises: and judging whether the unique identification CID in the card writing data is the same as the unique identification CID of the SIM card, if so, passing the verification, entering the card writing according to the card writing data, if not, failing the verification, and finishing the verification of the card writing data.
According to some embodiments of the invention, the service number is used to validate data traffic.
According to some embodiments of the invention, further comprising a pre-step of: generating network connection identifiers, wherein the number of the network connection identifiers is generated according to the number of the SIM cards; and storing the network connection identification in the SIM card.
According to some embodiments of the invention, the network connection identity comprises a shared network connection identity; and the network connection identifiers stored in the SIM cards in the same batch are the same.
According to some embodiments of the invention, the network connection method further comprises: acquiring a destruction message issued by the server; acquiring a unique identifier CID in the destruction message; judging whether the unique identification CID in the destruction message is the same as the unique identification CID of the SIM card, and if so, deleting the network connection identification stored in the SIM card; and if not, ending the network connection method.
According to some embodiments of the invention, the network connection identifier is used to establish an initial connection with the server at the time of outbound roaming.
According to the SIM card of the second aspect of the present invention, the network connection method as described in the first aspect can be performed.
The SIM card according to the embodiment of the invention at least has the following beneficial effects: the international roaming uplink report is carried out by using an independent transmission protocol, so that the arrival rate of the reported message is improved, and the cost of sending the short message in uplink is reduced.
A network connection system according to an embodiment of a third aspect of the present invention is characterized by comprising: the network code acquisition module is used for acquiring a network code; the storage module is used for storing the network code; and the network connection module is used for performing networking operation according to the independent transmission protocol.
The network connection system according to the embodiment of the invention has at least the following beneficial effects: the international roaming report is carried out by using an independent transmission protocol, an operator system does not need to be connected, the dependence on an external system and service is reduced, the internal independent operation is realized, and the self control and the upgrading maintenance can be carried out to the maximum extent.
A terminal according to an embodiment of the fourth aspect of the present invention is characterized by comprising: at least one processor, and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the network connection method of the first aspect.
The terminal according to the embodiment of the invention has at least the following beneficial effects: the use of the independent transmission protocol reduces the cost of the OTA uplink channel, realizes the shared use of different SIM card network connection identifiers, reduces the cost problem caused by the excessive use of the network connection identifiers, and simultaneously ensures that the normal operation of the service is not influenced by the mode of the network connection identifier conflict.
A computer-readable storage medium according to an embodiment of the fifth aspect of the present invention is characterized in that the computer-readable storage medium stores computer-executable instructions for causing a computer to execute the network connection method according to the first aspect.
The computer-readable storage medium according to the embodiment of the invention has at least the following advantages: the independent transmission protocol is used for uplink communication, so that a user-defined data communication format is convenient, effective, flexible and extensible, and state information and an instruction execution result are efficiently and actively reported.
The embodiment of the invention is based on the independent transmission protocol and the SIM card with the OTA function, after the outbound roaming, the report of the outbound roaming information preferentially uses the independent transmission protocol, thereby reducing the cost of the OTA report channel, having high reliability and high fault-tolerant rate, improving the system stability, simultaneously not needing to be connected with an operator system, and further reducing the use cost.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flow chart illustrating a network connection method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a network connection method according to another embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "axial", "radial", "circumferential", and the like, indicate orientations and positional relationships based on the orientations and positional relationships shown in the drawings, and are used merely for convenience in describing the present invention and for simplicity in description, and do not indicate or imply that the device or element so referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore, should not be construed as limiting the present invention. Furthermore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless otherwise specified.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In the known networking method, each SIM card is first preset with a user Profile (Profile) that can support global or partial regional roaming, and is used to obtain an initial network connection, i.e. a network connection identifier, which includes a seed number, and each card is preset with an independent and different seed number. After a user starts up for the first time and inserts the SIM card, the user logs in the network by using the seed number, then uses the short message to uplink to the short message gateway and forwards the short message to the configuration management server, or notifies the configuration management server by butting a network logging notification interface of a seed number operator. Then the configuration management server uses the short message gateway of the seed number to continue sending short messages to the card if the corresponding order is purchased by the user, the sent data short messages contain the configuration information of the new service number, the card is switched and started to the service number to surf the internet after being processed, and the user can use the service number to use the data traffic service. And when the traffic of the user service number is used up or the time is expired, recovering the seed number, and if a new order is provided, circulating the process. And performing corresponding popup prompt, time detection, area detection, configuration information query and the like on the user identification application development tool menu through CAT instructions in combination with functions supported by the equipment terminal.
Based on this, the embodiments of the present invention provide a network connection method, a network distribution method, an SIM card, a system, a terminal, and a medium, which can effectively improve the arrival rate of SIM card messages uplink to a configuration management server.
A network connection method according to an embodiment of the present invention is described below with reference to fig. 1.
The network connection method as shown in fig. 1 at least comprises the following steps:
s100: a network code for identification is obtained.
In some embodiments, the Network Code includes a Mobile Country Code (MCC) or a Mobile Network Code (MNC), and since the MCC is uniformly distributed and managed by the international telecommunications union, a Country to which a Mobile subscriber belongs can be uniquely identified, and the MNC is directly distributed by an operator in a Country, so that operator identification can be realized.
S200: and judging whether the network code used for identification is the same as that of the last connection.
In some embodiments, when the MCC changes, the certification terminal is performing network login in a different country from the last network login, and the networking operation verification is required due to the change of the country of the network login.
S300: the networking operation is performed according to an independent transport protocol.
In some embodiments, the networking operation using the independent transport protocol uses TCP, HTTPS, etc. to improve the stability of the OTA overall channel connection, and the networking operation using the independent transport protocol can also send more field information without being limited by 140 characters per short message.
S400: and (6) ending.
In some embodiments, when the MCC has not changed, the terminal is certified to be network registered with the country of last network registration, and therefore no additional action is required.
The network connection method as shown in fig. 2 at least comprises the following steps:
s301: and reporting the connection request information to the server by applying an independent transmission protocol.
In some embodiments, reporting the connection request information to the server using the independent transport protocol may increase the arrival rate of the request message.
S302: and judging whether the connection is overtime.
In some embodiments, the timeout time may be set to 30S, 40S, 50S, 60S, etc., and the next operation is performed after the connection is timed out, and determining whether the connection is timed out may increase the efficiency of SIM card networking.
S303: continue waiting for a connection.
In some embodiments, the connection continues to wait for a connection if it has not timed out. Since the timeout detection can be set as a timing detection or a real-time detection, there is no stuck condition.
S304: and judging whether the connection frequency threshold is reached.
In some embodiments, if the connection is overtime, it is determined whether a connection time threshold is reached, the connection time threshold may be set to 3, 4, 5, or the like, and when the connection time threshold is not reached, the independent transport protocol may be reused to transmit the report connection request information to the server. The flow can be saved by setting the threshold value of the connection times, and the short message channel is used for reporting when the independent transmission protocol cannot be used for reporting.
S305: and reporting the seed number by using a short message channel.
In some embodiments, the network connection identifier, i.e. the seed number, is a Profile number used for establishing an initial network connection and maintaining communication with the server, and an IP white list limitation is set in the seed number, i.e. the seed number can only be used for connecting with a specific IP server.
In some embodiments, if the connection time is overtime, judging whether the connection times reach a connection time threshold, if the connection times do not reach the connection time threshold, returning to transmit and report connection request information to the server by using an independent transmission protocol; if the connection times reach the connection time threshold, the short message channel is applied to report the seed number.
In some embodiments, entering the short message channel for reporting the seed number includes reporting connection request information to the server using a short message. The server may be configured as a cloud server.
In some embodiments, performing networking operations according to the independent transport protocol further comprises: and acquiring the encapsulated short message sent by the server side, and writing the SIM card according to the encapsulated short message.
In some embodiments, performing networking operations according to the independent transport protocol further includes obtaining card writing data according to the encapsulated short message, the card writing data including a service number; verifying the card writing data; and writing the card according to the card writing data.
In some embodiments, the service number is used to validate data traffic.
In some embodiments, after the seed number is successfully registered, a connection request message is reported to the server using an independent transport protocol.
In some embodiments, the upstream uses a separate transport protocol prior to the short message. After the seed number is successfully logged in the network, the information is reported to the server by preferentially using an independent transmission protocol connection channel, the timeout duration during connection can be set to 30s, reconnection is carried out after timeout, the time can be set to try 3 times, and if the connection cannot be successfully connected or is unstable, short message uplink information is used. And after receiving the seed number uplink network login information, the server determines whether to issue a service number, start the service number and switch configuration through a short message channel according to the mobile country code, the unique identifier and whether a corresponding package exists. The service number is used to prove that there is an agreement between the operator and the user to use the data traffic. The service number uses a set of file system separately and is independent of the file system of the seed number. And the switching between the seed number and the service number ensures that the file system is independent and not influenced. When the seed number is cut to the service number, the file system content corresponding to the service number is reset to an initial state to prevent the issued data from being written into the file system, so that the parameter configuration issued along with the configuration can be updated into the file system. The last in-use state configuration that has been stored for a long period of time is used each time the device is restarted. Whenever the card is inserted into the device for the first time, the pop-up prompts: "Go to Settings, turn on cellular and data roaming before using!!.
In some embodiments, a subscriber identity application development Tool (SIM Tool Kit, SKT) menu is shown in table 1. The user identification application development tool menu supports 4 option functions of obtaining the mobile country code of the current country, obtaining the international mobile subscriber identity code currently used, the re-enabled seed number and the remaining available time of the service number.
Figure 42531DEST_PATH_IMAGE001
TABLE 1 user identification application development tools Menu
In some embodiments, the user identification application development tool menu can be used for displaying corresponding information in combination with the functions of the terminal, so that the diagnosis efficiency of the reason of the networking error when the networking fails is improved.
In some embodiments, the service number is used as a data traffic usage, including a configuration number for normal access by the user. The service number uses a file system independent of the seed number, so that switching between the seed number and the service number does not affect file system independence.
In some embodiments, the SIM card triggers the card writing process by an encapsulated short message (Envelope SMS) instruction sent by the terminal. After receiving the downlink short message, the SIM card analyzes the downlink short message into a plaintext short message according to a specified protocol and caches the plaintext short message on the SIM card. If the data type (DataType) in the downlink data indicates that there is a service number resource, the SIM card determines whether the current unique identifier request belongs to the integrity, Deadline (Deadline), and Message Authentication Code (MAC) check and decryption of the data content, and whether the current country Code belongs to a mobile country Code List (MCC List). If any of the above conditions is not satisfied, the SIM card needs to report an Acknowledgement Character (ACK) corresponding to the error code to the message notification server, and report the result according to the error code defined in the corresponding uplink format. If the above conditions are met and the data decryption is correct, the SIM card needs to report a confirmation character message of successful card writing to inform the server. And after the confirmation character is successfully sent, the SIM card writes the service number data into the backup file. And after the completion, the SIM card loads the service number data and sends a refreshing instruction to inform the terminal that the SIM card needs to be initialized. Due to the compatibility problem of the terminal equipment, the command qualifier of the refresh command can use 0x00 (Initialization and Full File Change Notification) mode. If the demodulator (Modem) does not respond to the refresh (refresh) command after continuously waiting for 30 seconds, the demodulator (Modem) is forced to initialize the SIM card by setting a fault-tolerant mechanism. The Name of the operator (SPN) is set to FF by default when the seed number and the Service number are updated.
In some embodiments, the data short message and the Response of the independent transport protocol (BIP Response) are parsed, the protocol may be 03.48 protocol, etc., the card writing data is read, and the card writing data is decrypted. And performing data integrity check on the read card writing data such as International Mobile Subscriber Identity (IMSI), Integrated Circuit Card Identity (ICCID), Key Identifier (KI), operator Key (OPC), short message center (SMSP) and the like. And organizing corresponding APDU commands according to corresponding files, and writing the card writing data into the SIM card. The SIM card only has one service number, that is, each time a new service number is issued, replacement updating is required, and files such as Public Land Mobile Network (PLMN), authentication parameters, etc. are updated synchronously.
In some embodiments, when the SIM card cannot perform the uplink card writing result or service number status query due to uncertain factors such as a network, the uplink card writing result or service number status query needs to be performed again. The uplink preferentially uses the independent transmission protocol, and if the uplink fails to use the independent transmission protocol, the short message is used. After the seed number is successfully logged in the network or the character result is confirmed in an uplink mode, the independent transmission protocol connection channel is preferentially used for reporting information to the server, the timeout duration during connection can be set to 30s, reconnection is carried out after timeout, the time can be set to try 3 times, and if connection cannot be successfully connected or connection is unstable, short message uplink information is used. The SIM card sends an active command through the short message, the terminal feeds back a result value of which the response result is more than or equal to 0x20 due to abnormal conditions such as network or setting, and the SIM card needs to resend the short message. The proposed number of retransmissions is 5, each with a 1 minute time interval, triggered by a status command. If the SIM card fails after 5 retries of sending the uplink short message, the card writing process of the short message needs to be performed again after the terminal device is restarted. After the SIM card successfully sends the short message, a timer of 5 minutes needs to be started, and when the short message sent by the server is still not received after 5 minutes, the SIM card needs to retransmit the content of the uplink short message. The proposed retransmission times are three times, the retransmission is not performed after the three times, and the current state is kept to continue waiting.
In some embodiments, the SIM card requests the card writing data from the card writing server through the card writing request message according to the service flow. The SIM card needs to encapsulate 03.48 protocol and encryption, decryption, and verification algorithms to analyze the card writing data sent by the card writing server. All formats related to the uplink short message can be replaced by independent transmission protocols, and the independent transmission protocols are preferably used.
In some embodiments, the upstream data format is as shown in table 2.
Figure 250790DEST_PATH_IMAGE002
Figure 861900DEST_PATH_IMAGE003
Table 2 uplink data format
In some embodiments, after the terminal is powered on, the terminal enters a mobile country code detection switching process, a time detection process or an Envelope card writing process according to a trigger condition.
In some embodiments, the mobile country code detection and handover process includes triggering a mobile country code detection procedure by the SIM card after the terminal device is powered on. When the terminal updates the last byte of the EF _ LOCI/EF _ PSLOCI/EF _ epsiloci File in a File Identifier Descriptor (FID) or Serial Peripheral Interface (SPI) manner and is in an updated state or when the terminal sends an Envelope local status event, the SIM card triggers a mobile country code detection procedure. When the mobile country code in the EFLOCI (including PS and EPS) or Envelope event is different from the previous one, the value of the previous mobile country code is set as a temporary variable, and the previous mobile country code information is emptied after the terminal is reset, refreshed or powered off. The SIM card determines whether a Proactive Command (PCMD) is being executed or in the SW91xx state, if so, flags and triggers a subsequent flow in the status command, and if not, continues. The SIM card sends a Provide Local Information (provisioning Local Information) command to obtain the mobile country code and the international mobile equipment identity Information. The SIM card detects the current mobile country code data, when the mobile country code is identified, namely the current network environment can log in the network or limit the network, the SIM card further judges whether the current mobile country code is in a mobile country code list of the service number resource, if so, the SIM card needs to continue to use the current service number resource to log in the network. If the current mobile country code is not in the mobile country code list of the service number resource and the EF _ IMSI file is the seed number, the SIM card sends an uplink short message or an independent transmission protocol request to an air channel to apply for the service number and starts 5 minutes of timing. If the EF _ IMSI file is not the seed number, the SIM card loads the seed number resource and sends a refreshing instruction to initialize the SIM card to log in the network again. The SIM card detects the current mobile country code data, and when the mobile country code is not identified, namely the current area has no network environment, the SIM card keeps the current resource state until the mobile country code data which can be identified is detected again. If the corresponding mobile country code cached by the SIM card in an EFLOCI (including PS, EPS) or Envelope event is the same as the previous one, the current state is maintained and the subsequent operation of the mobile country code detection process is not performed.
In some embodiments, the downstream data format is as shown in table 3. The short message header supports 03.48 single and multiple short message headers, and TAR takes a fixed value of B000F 1.
Figure 215521DEST_PATH_IMAGE004
Table 3 downlink data format
In some embodiments, when the data type is 0x02, that is, the data sent down is 3G data, the data from the OPc to the operator name may be omitted, and the SIM card needs to determine and intercept the data. When the data type =0x07, the SIM card reports that the destroy instruction is received, and then all numbers and file systems are cleared, and the SIM card is automatically destroyed to become a waste card. The data of the TAG Deadline is the Deadline of the service number. The SIM card needs to acquire the current time of the terminal according to the PLI instruction and compare the current time with the cut-off time so as to trigger state detection at regular time. The data of the unique identification TAG (TAG CID) is the unique identification corresponding to the current configuration assigned by the server, and if the unique identification is not consistent with the current card unique identification, the error result code of type 0x02 and card writing result 0x09 needs to be reported.
In some embodiments, the network connection method according to the present invention further includes generating a seed number, the number of the seed number being generated according to the number of the SIM cards having the OTA function; and storing the seed number in the SIM card with the OTA function.
In some embodiments, the seed number comprises a shared seed number; the seed numbers stored in the SIM cards with OTA functions in the same batch are the same.
In some embodiments, a batch of seed number files with a fixed number of X is generated during card preparation, and is set according to the number Y of unique identifiers (CIDs), that is, Y unique identifiers share the same batch of X shared seed numbers, and the batch numbers are used as corresponding relationships to record and manage, thereby supporting recovery and card preparation. The ratio of the amounts of X and Y can be freely set, and Y is preferably larger than X. And (2) adding X: and Y is 1:200 as an example, that is, 500 seed numbers are shared by 1 ten thousand SIM cards, when the SIM cards are manufactured, the 500 shared seed numbers are written into each SIM card, the configuration information is stored in the storage of the SIM cards, and the storage position is set according to the SIM cards. When the card is manufactured, the server stores the corresponding relation between the batch of the seed number and the unique SIM card identifier, and the server can inquire and destroy the seed number according to the corresponding relation between the batch of the seed number and the unique SIM card identifier. The shared seed number is written into the SIM cards produced in batch, so that the production cost can be reduced, and when each batch of SIM cards are produced, only once written information needs to be modified, and the seed number written into each SIM card does not need to be adjusted. Meanwhile, the SIM cards in the same batch use the shared seed number to facilitate the recovery and management of the seed number, thereby realizing the reasonable utilization of the seed number.
In some embodiments, the seed number is used to establish an initial connection, to ensure communication with the configuration server, and to send down the channel for configuration. When the seed number needs to be enabled, one is randomly enabled from the shared seed number in the SIM card. When the seed number is enabled, the enabled seed number is updated to a seed number file system, a refresh (refresh) is triggered to network a demodulator (Modem), and the configuration data is updated to a corresponding file each time the seed number is enabled.
According to an embodiment of the present invention, there is provided a network connection system including: the network code acquisition module is used for acquiring a network code; the storage module is used for storing the network code; and the network connection module is used for performing networking operation according to the independent transmission protocol.
According to an embodiment of the present invention, there is provided a terminal including: at least one processor, and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the network connection method as described above.
According to an embodiment of the present invention, there is provided a computer-readable storage medium storing computer-executable instructions for causing a computer to perform the above-described network connection method.
The above-described embodiments of the apparatus are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may also be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
One of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples" or the like mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims (4)

1. A network connection method for a SIM card with Over The Air (OTA) functionality, comprising:
acquiring a network code for identification;
if the network code is not matched with the network code in the last connection, networking operation is carried out according to an independent transmission protocol;
the network connection method further comprises a preprocessing step:
generating network connection identifiers, wherein the number of the network connection identifiers is generated according to the number of the SIM cards;
storing the network connection identifier in the SIM card;
the network connection identifier comprises a shared network connection identifier;
the network connection identifiers stored in the SIM cards in the same batch are the same; so that the write-in information only needs to be modified once when each batch of SIM cards are produced;
the networking operation according to the independent transmission protocol comprises the following steps:
the independent transmission protocol is applied to report connection request information to a server;
the connection request information comprises a network connection identifier, and the network connection identifier is used for establishing initial connection with the server during outbound roaming; the network connection identifier is randomly enabled from a shared network connection identifier stored in the SIM card;
acquiring a destruction message issued by the server;
acquiring a unique identifier CID in the destruction message;
judging whether the unique identification CID in the destruction message is the same as the unique identification CID of the SIM card, and if so, deleting the network connection identification stored in the SIM card;
the networking operation according to the independent transmission protocol further comprises:
judging whether the connection times reach a connection time threshold value or not, and if the connection times do not reach the connection time threshold value, returning the connection request information reported by the independent transmission protocol to the server;
if the connection times reach the connection time threshold, entering a short message channel to report a network connection identification process;
the networking according to the independent transport protocol further comprises:
judging whether the connection is overtime or not, and if the connection is not overtime, continuing to wait for the connection;
if the connection is overtime, returning to the judgment whether the connection times reach a connection time threshold value;
the process of entering the short message channel to report the network connection identifier comprises the following steps:
reporting connection request information to the server by using short messages;
the networking according to the independent transport protocol further comprises:
acquiring an encapsulated short message sent by a server, and writing the SIM card according to the encapsulated short message;
the obtaining of the encapsulated short message sent by the server, and the writing of the SIM card according to the encapsulated short message comprises:
obtaining card writing data according to the encapsulated short message, wherein the card writing data comprises a service number and a unique identification CID;
verifying the card writing data;
writing the card according to the card writing data;
the verifying the card writing data comprises:
judging whether the unique identification CID in the card writing data is the same as the unique identification CID of the SIM card, if so, passing the verification, and entering the card writing according to the card writing data;
if not, the verification is not passed, and the verification of the card writing data is finished.
2. The network connection method of claim 1, wherein the service number is used to validate data traffic.
3. A terminal, comprising:
at least one processor, and,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the network connection method of claim 1 or 2.
4. A computer-readable storage medium storing computer-executable instructions for causing a computer to perform the network connection method of claim 1 or 2.
CN202010582549.1A 2020-06-23 2020-06-23 Network connection method, SIM card, system, terminal and medium Active CN111491291B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010582549.1A CN111491291B (en) 2020-06-23 2020-06-23 Network connection method, SIM card, system, terminal and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010582549.1A CN111491291B (en) 2020-06-23 2020-06-23 Network connection method, SIM card, system, terminal and medium

Publications (2)

Publication Number Publication Date
CN111491291A CN111491291A (en) 2020-08-04
CN111491291B true CN111491291B (en) 2022-04-08

Family

ID=71813765

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010582549.1A Active CN111491291B (en) 2020-06-23 2020-06-23 Network connection method, SIM card, system, terminal and medium

Country Status (1)

Country Link
CN (1) CN111491291B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111935701B (en) * 2020-08-06 2023-04-07 中国联合网络通信集团有限公司 Shared method, system, equipment and storage medium for preparing electronic SIM card
CN115175167B (en) * 2022-09-05 2023-05-02 北京智芯半导体科技有限公司 Method and device for processing code number abnormality of eSIM card, terminal equipment and storage medium
CN118433696A (en) * 2024-07-04 2024-08-02 荣耀终端有限公司 ESIM card state updating method and electronic equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594614B (en) * 2009-06-30 2011-07-13 中兴通讯股份有限公司 Data downloading methods and terminal
US8965339B2 (en) * 2012-03-22 2015-02-24 Verizon Patent And Licensing Inc. Automatic oscillating BIP session for SIM self-reactivation
CN105228123B (en) * 2014-05-28 2020-02-21 中国电信股份有限公司 Method and system for communication service of mobile terminal user in roaming place
CN104244226B (en) * 2014-09-11 2018-10-02 中国联合网络通信集团有限公司 Determine method, usim card and the terminal of over the air bearing mode
US9749390B2 (en) * 2014-12-01 2017-08-29 Verizon Patent And Licensing Inc. UICC SMS routing to device application
CN106856465B (en) * 2015-12-08 2019-06-28 中国电信股份有限公司 For realizing the methods, devices and systems of mobile authentication
CN107306387A (en) * 2016-04-18 2017-10-31 中兴通讯股份有限公司 Method for connecting network and device, terminal, system
CN107743303B (en) * 2017-09-30 2021-03-12 Oppo广东移动通信有限公司 Information processing method, device, mobile terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN111491291A (en) 2020-08-04

Similar Documents

Publication Publication Date Title
CN111491291B (en) Network connection method, SIM card, system, terminal and medium
CN110446201B (en) Communication module, communication method and system for realizing eSIM remote configuration
CN102932785B (en) Rapid authentication method, system and equipment of wireless local area network
US7298726B2 (en) Process method about the service connection between the wireless local area network and user terminal
JP3686038B2 (en) Method and system for obtaining identification information about a party monitored in a communication network
US7809366B2 (en) Mobile device client
EP3113448B1 (en) Device triggering from common service entity (cse)
US20220394607A1 (en) Network slice configuration update
US9883386B2 (en) Method and a server for managing profiles
US8948753B2 (en) Method of providing notification of abnormal conditions during non-access stratum (NAS) message tunneling
US20060135125A1 (en) Method for producing authentication information
WO2007003103A1 (en) A method for sharing data and a method for recovering the backup data
US8098673B2 (en) Method and apparatus for communication device configuration
WO2012024851A1 (en) Processing method and system for over-the-air bootstrap
CN114302481A (en) Slice selection method, MEP, application server, device and computer readable medium
CN103167479A (en) Method, device and system for achieving remote inhibition and remote activation of terminal
KR102252562B1 (en) Service subscription method and device
US8892711B2 (en) Method for acquiring node information, and client and server
CN103108305B (en) A kind of terminal trigger message effective time control method and system
CN112469042B (en) System for locking bound equipment, module and subscriber identity module
EP2077006B1 (en) Network support for non-compliant mobile terminals and core network nodes
CN101616372A (en) Realize the method and system of automatic configuration of wireless terminal
CN107846403B (en) Method and system for communication between SIM card and application server
KR20010058742A (en) Connection and traffic management classified by the ESME in the SMSC system
CN113453300B (en) Equipment hot spot processing method and device, storage medium and electronic device

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