CN111491291A - 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
CN111491291A
CN111491291A CN202010582549.1A CN202010582549A CN111491291A CN 111491291 A CN111491291 A CN 111491291A CN 202010582549 A CN202010582549 A CN 202010582549A CN 111491291 A CN111491291 A CN 111491291A
Authority
CN
China
Prior art keywords
network connection
connection
network
card
sim card
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
CN202010582549.1A
Other languages
Chinese (zh)
Other versions
CN111491291B (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 Jieruilian Technology Co ltd
Original Assignee
Shenzhen Jieruilian 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 Jieruilian Technology Co ltd filed Critical Shenzhen Jieruilian 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 Profile 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 a card writing process through an encapsulated short Message (Envelope SMS) command sent by the terminal, after receiving a downlink short Message, the SIM card parses the downlink short Message according to a specified protocol and buffers the Message on the SIM card, if a data type (DataType) in the downlink data indicates a Service number resource, the SIM card determines whether a mobile country Code of a current country belongs to a mobile country Code list (MCC L) for data content integrity, Deadline time (Deadline), Message Authentication Code (MAC) verification and decryption, and if the current unique identifier request is determined, if any of the above conditions is not satisfied, the SIM card needs to report an Acknowledge Character (ACK) corresponding to an error Code to a Message Notification server, and report a result according to an error Code defined in a corresponding uplink format, if the above conditions are satisfied and the data decryption is correct, the SIM card needs to report a successful acknowledge character report Message Notification server, after the SIM card successfully sends an acknowledge character report Message Notification server, the SIM card needs to report a Service number of a Service number, and the SIM card is updated by a Service number, and the SIM card can be updated by a Service number after a Service number update command (modify a Service number) and a Service number of a mobile country Code list (MCC & update mechanism, which is set to a Service number of a mobile country Code.
In some embodiments, the data short message and the Response of the independent transport protocol (BIP Response) are analyzed, the protocol may be a 03.48 protocol, etc., the write card data is read and decrypted, the read write card data is subjected to data integrity check on International Mobile Subscriber Identity (IMSI), Integrated Circuit Card Identity (ICCID), Key Identifier (KI), operator Key (OPC), short message center (SMSP), etc., the write card data is written into the SIM card according to a corresponding APDU command organized by a corresponding file, the SIM card only has one service number, that is, a new service number needs to be replaced and updated each time, and files such as Public land Mobile Network (Public L and Mobile Network, P L), 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, by the SIM card, a mobile country code detection procedure after the terminal device is powered on, when the terminal updates the EF _ L OCI/EF _ PS L OCI/EF _ EPS L OCI File in a File Identifier Descriptor (FID) or Serial Peripheral Interface (SPI) manner with a last byte of an updated (updated) state or when the terminal sends an Envelope status event, the SIM card triggers a mobile country code detection procedure, when the mobile country code is different from the last in an EF L OCI (with PS, EPS) or Envelope event, the last mobile country code value is temporarily set as a variable, after the terminal resets (reset), refreshes or loses power, the last mobile country code Information list is cleared if the mobile country code Information list Information is not cached (Proactive command, pcactive) or is not cached, if the current SIM code Information is not cached, the current mobile country code Information list Information is not updated, if the current mobile country code is not available, and the current mobile country code is not available, if the current mobile country code is not available, or the current mobile country code is not available.
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 issued data is 3G data, data from the OPc to the operator name may be omitted, and the SIM card needs to judge and intercept, when the data type =0x07, the SIM card reports a destruction instruction received first, and then executes to clear all numbers and file systems, and the SIM card automatically becomes a waste card.
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 (16)

1. A network connection method for a SIM card with Over The Air (OTA) functionality, comprising:
acquiring a network code for identification;
and if the network code is not matched with the network code in the last connection, performing networking operation according to an independent transmission protocol.
2. The network connection method according to claim 1, wherein the networking according to the 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, entering a short message channel to report a network connection identification process.
3. The network connection method of claim 2, wherein 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 the connection time threshold value.
4. The network connection method according to claim 2, wherein the entering the short message channel to report the network connection identifier comprises:
and reporting the connection request information to the server by using the short message.
5. The network connection method of claim 1, wherein the networking according to the independent transport protocol further comprises:
and acquiring an encapsulated short message sent by the server, and writing the SIM card according to the encapsulated short message.
6. The network connection method according to claim 5, wherein 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;
and writing the card according to the card writing data.
7. The network connection method of claim 6, wherein the verifying the card write 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.
8. The network connection method of claim 7, wherein the service number is used to validate data traffic.
9. The network connection method according to any one of claims 2 to 8, further comprising a preprocessing 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.
10. The network connection method of claim 9, wherein the network connection identifier comprises a shared network connection identifier;
and the network connection identifiers stored in the SIM cards in the same batch are the same.
11. The network connection method according to claim 10, wherein the network connection identifier is used to establish an initial connection with the server during outbound roaming.
12. The network connection method according to claim 11, further comprising:
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.
13. A SIM card capable of performing the network connection method of any one of claims 1-12.
14. A network connection system, 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.
15. A terminal, comprising:
at least one processor, and,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
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 any one of claims 1 to 12.
16. A computer-readable storage medium storing computer-executable instructions for causing a computer to perform the network connection method of any one of claims 1 to 12.
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 true CN111491291A (en) 2020-08-04
CN111491291B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115175167A (en) * 2022-09-05 2022-10-11 北京智芯半导体科技有限公司 Code number exception handling method and device for eSIM card, terminal equipment and storage medium
CN111935701B (en) * 2020-08-06 2023-04-07 中国联合网络通信集团有限公司 Shared method, system, equipment and storage medium for preparing electronic SIM card

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594614A (en) * 2009-06-30 2009-12-02 中兴通讯股份有限公司 Data download method and terminal
US20130252584A1 (en) * 2012-03-22 2013-09-26 Cellco Partnership D/B/A Verizon Wireless Automatic oscillating bip session for sim self-reactivation
CN104244226A (en) * 2014-09-11 2014-12-24 中国联合网络通信集团有限公司 Method for determining bearing mode of over-the-air download technology, USIM card and terminal
CN105228123A (en) * 2014-05-28 2016-01-06 中国电信股份有限公司 Mobile phone users carries out the method and system of communication service in roaming place
US20160157092A1 (en) * 2014-12-01 2016-06-02 Verizon Patent And Licensing Inc. Uicc sms routing to device application
CN106856465A (en) * 2015-12-08 2017-06-16 中国电信股份有限公司 Methods, devices and systems for realizing mobile authentication
CN107306387A (en) * 2016-04-18 2017-10-31 中兴通讯股份有限公司 Method for connecting network and device, terminal, system
CN107743303A (en) * 2017-09-30 2018-02-27 广东欧珀移动通信有限公司 Information processing method, device, mobile terminal and computer-readable recording medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594614A (en) * 2009-06-30 2009-12-02 中兴通讯股份有限公司 Data download method and terminal
US20130252584A1 (en) * 2012-03-22 2013-09-26 Cellco Partnership D/B/A Verizon Wireless Automatic oscillating bip session for sim self-reactivation
CN105228123A (en) * 2014-05-28 2016-01-06 中国电信股份有限公司 Mobile phone users carries out the method and system of communication service in roaming place
CN104244226A (en) * 2014-09-11 2014-12-24 中国联合网络通信集团有限公司 Method for determining bearing mode of over-the-air download technology, USIM card and terminal
US20160157092A1 (en) * 2014-12-01 2016-06-02 Verizon Patent And Licensing Inc. Uicc sms routing to device application
CN106856465A (en) * 2015-12-08 2017-06-16 中国电信股份有限公司 Methods, devices and systems for realizing mobile authentication
CN107306387A (en) * 2016-04-18 2017-10-31 中兴通讯股份有限公司 Method for connecting network and device, terminal, system
CN107743303A (en) * 2017-09-30 2018-02-27 广东欧珀移动通信有限公司 Information processing method, device, mobile terminal and computer-readable recording medium

Cited By (2)

* 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
CN115175167A (en) * 2022-09-05 2022-10-11 北京智芯半导体科技有限公司 Code number exception handling method and device for eSIM card, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN111491291B (en) 2022-04-08

Similar Documents

Publication Publication Date Title
US8917710B2 (en) Process method about the service connection between the wireless local area network and user terminal
EP3113448B1 (en) Device triggering from common service entity (cse)
JP5693575B2 (en) Method and apparatus for verification of telephone numbers
CN102668687B (en) Optimized data retry mechanisms for evolved high rate packet data (ehrpd)
JP3686038B2 (en) Method and system for obtaining identification information about a party monitored in a communication network
JP7423744B2 (en) User data transmission over the control plane in communication systems using designated payload container types
US11388661B2 (en) Network slice configuration update
US8948753B2 (en) Method of providing notification of abnormal conditions during non-access stratum (NAS) message tunneling
CN111491291B (en) Network connection method, SIM card, system, terminal and medium
KR20030093600A (en) Method for managing information of mobile terminal in mobile communication for transmitting high rate data
US8098673B2 (en) Method and apparatus for communication device configuration
JP2017521908A (en) Profile management method and server
US8422428B1 (en) Device management for a wireless communication device having and invalid user identifier
CN114302481A (en) Slice selection method, MEP, application server, device and computer readable medium
WO2011147144A1 (en) Short message recover system, device and method
US20130150008A1 (en) Method and apparatus for signaling trace
KR102252562B1 (en) Service subscription method and device
US8892711B2 (en) Method for acquiring node information, and client and server
EP2731367A1 (en) Updating method for trigger message counter, machine type communication server and terminal
WO2011157158A2 (en) Method, system and short message services center for sending short messages
US20170150344A1 (en) Subscription Fall-Back in a Radio Communication Network
CN107846403B (en) Method and system for communication between SIM card and application server
WO2013067773A1 (en) Method and system for effective time control of terminal trigger message
EP2077006A2 (en) Network support for non-compliant mobile terminals and core network nodes
KR101251182B1 (en) Method for registration in mobile telecommunications system and therfor system

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