CN112188591B - Network access method, device, computer equipment and storage medium - Google Patents

Network access method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN112188591B
CN112188591B CN202010841187.3A CN202010841187A CN112188591B CN 112188591 B CN112188591 B CN 112188591B CN 202010841187 A CN202010841187 A CN 202010841187A CN 112188591 B CN112188591 B CN 112188591B
Authority
CN
China
Prior art keywords
access point
iccid
user terminal
configuration information
number segment
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
CN202010841187.3A
Other languages
Chinese (zh)
Other versions
CN112188591A (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 Guanghetong Wireless Communication Software Co ltd
Original Assignee
Shenzhen Guanghetong Wireless Communication Software 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 Guanghetong Wireless Communication Software Co ltd filed Critical Shenzhen Guanghetong Wireless Communication Software Co ltd
Priority to CN202010841187.3A priority Critical patent/CN112188591B/en
Publication of CN112188591A publication Critical patent/CN112188591A/en
Application granted granted Critical
Publication of CN112188591B publication Critical patent/CN112188591B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application relates to a network access method, a network access device, computer equipment and a storage medium. The method is applied to an operator server, and comprises the following steps: receiving a registration request sent by a user terminal; the registration request contains a unique identification code of the SIM card used by the user terminal; registering the user terminal to the operator server in response to the registration request; determining an access point corresponding to the unique identification code, and taking the determined access point as the access point of the user terminal; updating the determined access point configuration information corresponding to the access point of the user terminal to the user terminal, so that the user terminal establishes access point connection according to the updated access point configuration information to access a network. The method can improve applicability.

Description

Network access method, device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies and communication technologies, and in particular, to a network access method, a network access device, a computer device, and a storage medium.
Background
The network operator typically configures a network APN (Access Point Name, access point) to provide data traffic services, and the terminal needs to determine an APN corresponding to the operator's network to establish an APN connection for data traffic, thereby accessing the network.
In the conventional technology, a terminal presets corresponding APN information at the terminal according to a PLMN (Public Land Mobile Network ) of an operator network, so as to establish an APN connection for a data service to access the network.
However, the legacy operator sometimes adds a cooperative virtual operator, and PLNM of some virtual operator networks are consistent with PLMNs of the legacy operator networks, in which case the terminal cannot distinguish APNs of the virtual operator from those of the legacy operator by PLMN; furthermore, the operator may add a new virtual operator at any time, and the APN information of the virtual operator network cannot be preset on the terminal in advance. Therefore, when the terminal uses the virtual operator network, the APN preset by the terminal cannot be used for establishing APN connection, and then the terminal accesses the network.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a network access method, apparatus, computer device, and storage medium that can improve applicability.
A network access method, the method being applied to an operator server; the method comprises the following steps:
receiving a registration request sent by a user terminal; the registration request contains a unique identification code of the SIM card used by the user terminal;
Registering the user terminal to the operator server in response to the registration request;
determining an access point corresponding to the unique identification code, and taking the determined access point as the access point of the user terminal;
updating the determined access point configuration information corresponding to the access point of the user terminal to the user terminal, so that the user terminal establishes access point connection according to the updated access point configuration information to access a network.
In one embodiment, the unique identification code is an integrated circuit card identification code ICCID; the determining the access point corresponding to the unique identification code, and taking the determined access point as the access point of the user terminal comprises the following steps:
determining an access point corresponding to the ICCID according to the ICCID number segment range to which the ICCID belongs and the preset corresponding relation between each ICCID number segment range and each access point;
and taking the determined access point corresponding to the ICCID as the access point of the user terminal.
In one embodiment, before the receiving the registration request sent by the user terminal, the method further includes:
expanding an ICCID number segment range field in a configuration information table corresponding to each access point in an access point connection configuration file in an LwM2M protocol in advance;
Recording the ICCID number segment range supported by the access point in the ICCID number segment range field;
the determining the access point corresponding to the ICCID according to the ICCID number segment range to which the ICCID belongs and the preset correspondence between each ICCID number segment range and each access point includes:
determining an access point corresponding to the ICCID according to the ICCID number segment range to which the ICCID belongs and the ICCID number segment range recorded in the ICCID number segment range field expanded in the configuration information table corresponding to each access point in advance;
the updating the determined access point configuration information corresponding to the access point of the user terminal to the user terminal comprises:
and updating the determined access point configuration information corresponding to the access point of the user terminal to the user terminal through the access point connection configuration file in the LwM2M protocol.
A network access method, the method being applied to a user terminal; the method comprises the following steps:
identifying a unique identification code of a SIM card used by the user terminal;
sending a registration request to an operator server; the registration request contains the unique identification code;
registering to the operator server according to the response of the operator server to the registration request;
Updating the access point configuration information of the user terminal in response to the updating of the access point configuration information by the operator server; the access point configuration information is determined by the operator server according to the unique identification code;
and establishing access point connection according to the updated access point configuration information so as to access a network.
In one embodiment, the unique identification code is an integrated circuit card identification code ICCID; the access point configuration information is determined by the operator server according to the ICCID number segment range to which the ICCID belongs and the corresponding relation between each ICCID number segment range and each access point.
In one embodiment, the updating the access point configuration information of the user terminal in response to the updating of the access point configuration information by the operator server includes:
updating the access point configuration information of the user terminal through the update of the access point connection configuration file in the LwM2M protocol in response to the operator server;
the access point configuration information is determined by the operator server according to the ICCID number segment range to which the ICCID belongs and an ICCID number segment range recorded in an ICCID number segment range field extended in a configuration information table corresponding to each access point in an access point connection configuration file in the LwM2M protocol in advance.
A network access device, the device being disposed in an operator server; the device comprises:
the request receiving module is used for receiving a registration request sent by the user terminal; the registration request contains a unique identification code of the SIM card used by the user terminal;
a first registration module, configured to register the user terminal to the operator server in response to the registration request;
an access point determining module, configured to determine an access point corresponding to the unique identification code, and take the determined access point as an access point of the user terminal;
and the first access point updating module is used for updating the determined access point configuration information corresponding to the access point of the user terminal to the user terminal so that the user terminal establishes access point connection according to the updated access point configuration information to access a network.
A network access device, the device being provided in a user terminal; the device comprises:
the SIM card identification module is used for identifying the unique identification code of the SIM card used by the user terminal;
a request sending module, configured to send a registration request to an operator server; the registration request contains the unique identification code;
The second registration module is used for registering to the operator server according to the response of the operator server to the registration request;
a second access point updating module, configured to update access point configuration information of the user terminal in response to the update of the access point configuration information by the operator server; the access point configuration information is determined by the operator server according to the unique identification code;
and the network access module is used for establishing access point connection according to the updated access point configuration information so as to access a network.
A computer device comprising a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, causes the processor to perform the steps of the network access method according to embodiments of the present application.
A computer readable storage medium having stored thereon a computer program which, when executed by a processor, causes the processor to perform the steps in a network access method according to embodiments of the present application.
After receiving a registration request including a unique identification code of a subscriber terminal used SIM card sent by a subscriber terminal, an operator server responds to the registration request, registers the subscriber terminal to the operator server, then determines an access point corresponding to the unique identification code, takes the determined access point as an access point of the subscriber terminal, updates access point configuration information corresponding to the determined access point of the subscriber terminal to the subscriber terminal, and establishes access point connection according to the updated access point configuration information to access a network. Because the traditional operators generally allocate a section of the number of the unique identification code of the SIM card to the cooperated virtual operators for use, the access point can be accurately determined according to the unique identification code of the SIM card to access the network under the condition that the virtual operators are added, and the applicability is improved.
Drawings
FIG. 1 is an application environment diagram of a network access method in one embodiment;
FIG. 2 is a flow chart of a network access method in one embodiment;
fig. 3 is a flow chart of a network access method in another embodiment;
FIG. 4 is a block diagram of a network access device in one embodiment;
fig. 5 is a block diagram of a network access device according to another embodiment;
fig. 6 is a block diagram of a network access device according to another embodiment;
FIG. 7 is an internal block diagram of an operator server in one embodiment;
fig. 8 is an internal structural diagram of a user terminal in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The network access method provided by the application can be applied to an application environment shown in figure 1. Wherein the operator server 102 communicates with the user terminal 104 via a network. The user terminal may identify the unique identification code of the SIM card used, and the operator server 102 may receive a registration request including the unique identification code of the SIM card used by the user terminal 104 sent by the user terminal 104, and register the user terminal 104 with the operator server 102 in response to the registration request. The operator server 102 may determine an access point corresponding to the unique identification code, take the determined access point as an access point of the user terminal 104, and then update the access point configuration information corresponding to the determined access point of the user terminal 104 to the user terminal 104. The user terminal 104 may establish an access point connection according to the updated access point configuration information to access the network. The operator server 102 is a server used by a mobile network operator and used for providing network services. Mobile network operators are operators providing mobile network services, such as mobile, telecommunications and corporate. The carrier server 102 may be implemented as a stand-alone server or as a server cluster of multiple servers. The user terminal 104 is a terminal used by a user who is surfing the internet. The user terminal 104 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices.
In one embodiment, as shown in fig. 2, a network access method is provided, and the method is applied to the operator server in fig. 1, for illustration, and includes the following steps:
s202, receiving a registration request sent by a user terminal; the registration request contains the unique identification code of the SIM card used by the user terminal.
Among them, SIM (Subscriber Identity Module) cards are IC cards held by users of GSM (Global System for Mobile, global system for mobile communications), and are called subscriber identification cards. GSM identifies the GSM user through the SIM card. The unique identification code of the SIM card is used for uniquely identifying the SIM card.
In one embodiment, the unique identification code of the SIM card may be an ICCID (Integrate circuit card identity, integrated circuit card identification code, i.e., the card number of the SIM card).
Specifically, after inserting the SIM card into the user terminal, the user terminal may identify the unique identification code of the SIM card and send a registration request containing the unique identification code to the operator server. The operator server may receive a registration request sent by the user terminal.
S204, responding to the registration request, and registering the user terminal to the operator server.
Wherein, the registration request is used for requesting to register the user terminal to the operator server.
Specifically, the operator server may register the user terminal to the operator server in response to the registration request after receiving the registration request.
S206, determining the access point corresponding to the unique identification code, and taking the determined access point as the access point of the user terminal.
The access point (APN, access Point Name) refers to a network access technology, and is a parameter that must be configured when surfing the internet through the terminal. The APN determines which access mode the terminal accesses the network.
In one embodiment, the operator server may determine an access point corresponding to the unique identifier according to a correspondence between the unique identifier and the access point, and use the determined access point as the access point of the user terminal.
In one embodiment, the operator server may set the correspondence between the unique identification code and the access point in advance.
And S208, updating the access point configuration information corresponding to the determined access point of the user terminal to the user terminal, so that the user terminal establishes access point connection according to the updated access point configuration information to access the network.
In one embodiment, the operator server may update the APN configuration information corresponding to the determined APN of the user terminal to the user terminal through an internet of things protocol. In one embodiment, the operator server may update the determined APN configuration information corresponding to the APN of the user terminal to the user terminal through an object for managing the APN configuration information in the internet of things protocol. In one embodiment, the ue may establish an APN connection according to the updated APN configuration information to access the network.
In one embodiment, the internet of things protocol may be an LwM2M protocol. In one embodiment, the Object in the internet of things protocol for managing APN configuration information may be Object 11 in the LwM2M protocol.
In the network access method, after receiving a registration request including a unique identification code of a SIM card used by a user terminal sent by the user terminal, an operator server responds to the registration request, registers the user terminal to the operator server, then determines an access point corresponding to the unique identification code, takes the determined access point as the access point of the user terminal, updates access point configuration information corresponding to the determined access point of the user terminal to the user terminal, and establishes access point connection according to the updated access point configuration information to access a network. Because the traditional operators generally allocate a section of the number of the unique identification code of the SIM card to the cooperated virtual operators for use, the access point can still be accurately determined according to the unique identification code of the SIM card to access the network under the condition that the virtual operators are added, and the applicability is improved.
In one embodiment, the unique identification code is an integrated circuit card identification code ICCID. The step of determining the access point corresponding to the unique identification code and taking the determined access point as the access point of the user terminal comprises the following steps: determining an access point corresponding to the ICCID according to the ICCID number segment range to which the ICCID belongs and the preset corresponding relation between each ICCID number segment range and each access point; and taking the access point corresponding to the determined ICCID as the access point of the user terminal.
Wherein ICCID (Integrate circuit card identity) the integrated circuit card identification code, i.e. the card number of the SIM card. ICCID is used to uniquely identify the SIM card. ICCID consists of characters. The ICCID number segment range is a number segment range composed of a plurality of number-adjacent ICCIDs.
It will be appreciated that a plurality of number adjacent ICCIDs may belong together to a single ICCID number segment range. Such as: ICCIDs 123456, 123457, 123458, and 123459 fall within the range of paragraphs 123456 to 123459. It will be appreciated that in practice the ICCID may consist of 20-bit or other digit characters, here only 6-bit digits.
In one embodiment, the operator server may set in advance the correspondence between each ICCID number segment range and each APN. The ICCID number segment range and APN which are set in the corresponding relation are the ICCID number segment range and the corresponding APN which are corresponding to the ICCID provided by the operator and the cooperated virtual operator. For example: the APN corresponding to the ICCID number field range of 111110 to 111119 is APN 1, and the APN corresponding to the ICCID number field range of 111120 to 111129 is APN 2. As previously mentioned, it will be appreciated that in practice the ICCID may consist of 20-bit or other digit characters, here illustrated as an ICCID consisting of only 6-bit digits. It can be understood that the ICCID received by the operator server belongs to which ICCID number segment range, and the operator server can use the APN corresponding to the ICCID number segment range as the APN corresponding to the user terminal.
In one embodiment, the operator server may write the correspondence between each ICCID number segment range and each APN in advance in the internet of things protocol.
In one embodiment, the operator server may write in advance the correspondence between each ICCID number segment range and each APN into an object in the internet of things protocol for managing the configuration information of the APN. In one embodiment, the internet of things protocol may be an LwM2M protocol. In one embodiment, the Object for managing configuration information of an APN may be Object 11 in the LwM2M protocol.
In this embodiment, the unique identification code is an ICCID, and the operator server may determine, as the access point of the user terminal, the access point corresponding to the ICCID according to the ICCID number segment range to which the ICCID belongs and the preset correspondence between each ICCID number segment range and each access point. Because the traditional operators generally allocate a number segment of an ICCID to the cooperated virtual operators for use, the access point can still be accurately determined according to the ICCID to access the network under the condition that the virtual operators are added, and the applicability is improved.
In one embodiment, before the step of receiving the registration request sent by the user terminal, the method further comprises: expanding an ICCID number segment range field in a configuration information table corresponding to each access point in an access point connection configuration file in an LwM2M protocol in advance; in the ICCID number segment range field, the ICCID number segment range supported by the access point is recorded. The step of determining the access point corresponding to the ICCID according to the ICCID number segment range to which the ICCID belongs and the preset corresponding relation between each ICCID number segment range and each access point comprises the following steps: and determining the access point corresponding to the ICCID according to the ICCID number segment range to which the ICCID belongs and the ICCID number segment range recorded in the ICCID number segment range field expanded in the configuration information table corresponding to each access point in advance. The step of updating the determined access point configuration information corresponding to the access point of the user terminal to the user terminal comprises the following steps: and updating the determined access point configuration information corresponding to the access point of the user terminal to the user terminal through the access point connection configuration file in the LwM2M protocol.
The LwM2M (Lightweight Machine-To-Machine) protocol is a set of protocols suitable for the Internet of things. The LwM2M protocol is proposed and defined by OMA (Open Mobile Alliance, an organization focusing on standard development of mobile communication and internet of things industry). The access point connection profile (APN Connection Profile) is Object 11 in the LwM2M protocol. Object 11 is an Object in the LwM2M protocol. The LwM2M protocol includes a plurality of objects, where each object is used to implement a different function. Object 11 in the LwM2M protocol is used to manage APN configuration information of the user terminal.
It can be understood that the Object 11 includes configuration information tables corresponding to APNs provided by the operator server, where each configuration information table records configuration information of the corresponding APN. In one embodiment, the operator server may extend a field for recording the ICCID number segment range in the configuration information table corresponding to each APN in Object 11 in advance, and record the ICCID number segment range corresponding to the APN in the extended field in the corresponding configuration information table. For example: and if the ICCID number range corresponding to the APN 1 is 111110 to 111119, the ICCID number range field in the configuration information table corresponding to the APN 1 recorded by 111110 to 111119 is included.
In one embodiment, the operator server may search the configuration information table in which the ICCID number segment range is recorded according to the ICCID number segment range to which the ICCID belongs, and determine the APN corresponding to the searched configuration information table as the APN corresponding to the ICCID. For example: and the ICCID received by the operator server is 111113, belongs to the 111110-111119 number segment range, and determines the APN 1 as an APN corresponding to the ICCID if the operator server searches that the 111110-111119 number segment range is recorded in the ICCID number segment range field in the configuration information table corresponding to the APN 1.
In one embodiment, after determining the APN corresponding to the ICCID, the operator server may update the APN configuration information of the user terminal to the configuration information corresponding to the determined APN through Object 11 in the LwM2M protocol.
In this embodiment, the operator server may extend a field for recording the ICCID number segment range in advance in each configuration information table of Object 11 in the LwM2M protocol, so that the APN can be accurately determined according to the ICCID number segment range. Because the traditional operators generally allocate a number segment of an ICCID to the cooperated virtual operators for use, the access point can still be accurately determined according to the ICCID to access the network under the condition that the virtual operators are added, and the applicability is improved.
In one embodiment, as shown in fig. 3, a network access method is provided, and the method is applied to the user terminal in fig. 1 for illustration, and includes the following steps:
s302, the unique identification code of the SIM card used by the user terminal is identified.
Specifically, after the user inserts the SIM card into the user terminal, the user terminal may identify the unique identification code of the SIM card.
S304, a registration request is sent to an operator server; the registration request contains a unique identification code.
Specifically, after identifying the unique identification code of the SIM card, the user terminal may send a registration request containing the identified unique identification code to the operator server.
S306, registering to the operator server according to the response of the operator server to the registration request.
Specifically, the operator server may register the user terminal to the operator server in response to the registration request after receiving the registration request.
S308, updating the access point configuration information of the user terminal in response to the update of the access point configuration information by the operator server; the access point configuration information is determined by the operator server based on the unique identification code.
Specifically, the operator server may determine, according to the unique identifier, an access point corresponding to the unique identifier, determine access point configuration information corresponding to the access point, and then update the access point configuration information of the user terminal to the determined access point configuration information. The user terminal may update the access point configuration information of the user terminal in response to the update of the access point configuration information by the operator server.
In one embodiment, the operator server may determine the access point corresponding to the unique identifier according to the correspondence between the unique identifier and the access point.
And S310, establishing access point connection according to the updated access point configuration information so as to access the network.
Specifically, the user terminal may establish an APN connection according to the updated APN configuration information, so as to access the network.
In the network access method, after receiving a registration request including a unique identification code of a SIM card used by a user terminal sent by the user terminal, an operator server responds to the registration request, registers the user terminal to the operator server, then determines an access point corresponding to the unique identification code, takes the determined access point as the access point of the user terminal, updates access point configuration information corresponding to the determined access point of the user terminal to the user terminal, and establishes access point connection according to the updated access point configuration information to access a network. Because the traditional operators generally allocate a section of the number of the unique identification code of the SIM card to the cooperated virtual operators for use, the access point can still be accurately determined according to the unique identification code of the SIM card to access the network under the condition that the virtual operators are added, and the applicability is improved.
In one embodiment, the unique identification code is an integrated circuit card identification code ICCID; the access point configuration information is determined by the operator server according to the ICCID number segment range to which the ICCID belongs and the corresponding relation between each ICCID number segment range and each access point.
In this embodiment, the unique identification code is an ICCID, and the operator server may determine, as the access point of the user terminal, the access point corresponding to the ICCID according to the ICCID number segment range to which the ICCID belongs and the preset correspondence between each ICCID number segment range and each access point. Because the traditional operators generally allocate a number segment of an ICCID to the cooperated virtual operators for use, the access point can still be accurately determined according to the ICCID to access the network under the condition that the virtual operators are added, and the applicability is improved.
In one embodiment, the step of updating the access point configuration information of the user terminal in response to the updating of the access point configuration information by the operator server comprises: and updating the access point configuration information of the user terminal by responding to the updating of the access point configuration information by the operator server through the access point connection configuration file in the LwM2M protocol.
The access point configuration information is determined by the operator server according to the ICCID number segment range to which the ICCID belongs and the ICCID number segment range recorded in the ICCID number segment range field expanded in the configuration information table corresponding to each access point in the access point connection configuration file in the LwM2M protocol in advance. That is, the access point configuration information is determined by the operator server from the ICCID number field range to which the ICCID belongs and the ICCID number field range recorded in advance in the ICCID number field range field. The ICCID number field is a field that is extended in advance in a configuration information table corresponding to each access point in an access point connection profile in the LwM2M protocol.
The LwM2M (Lightweight Machine-To-Machine) protocol is a set of protocols suitable for the Internet of things. The LwM2M protocol is proposed and defined by OMA (Open Mobile Alliance, an organization focusing on standard development of mobile communication and internet of things industry). The access point connection profile (APN Connection Profile) is Object 11 in the LwM2M protocol. Object 11 is an Object in the LwM2M protocol. The LwM2M protocol includes a plurality of objects, where each object is used to implement a different function. Object 11 in the LwM2M protocol is used to manage APN configuration information of the user terminal.
It can be understood that the Object 11 includes configuration information tables corresponding to APNs provided by the operator server, where each configuration information table records configuration information of the corresponding APN. In one embodiment, the operator server may extend a field for recording the ICCID number segment range in the configuration information table corresponding to each APN in Object 11 in advance, and record the ICCID number segment range corresponding to the APN in the extended field in the corresponding configuration information table.
In one embodiment, the operator server may search the configuration information table in which the ICCID number segment range is recorded according to the ICCID number segment range to which the ICCID belongs, and determine the APN corresponding to the searched configuration information table as the APN corresponding to the ICCID.
In one embodiment, after determining the APN corresponding to the ICCID, the operator server may update the APN configuration information of the user terminal to the determined configuration information corresponding to the APN through Object 11 in the LwM2M protocol. The user terminal may update the access point configuration information of the user terminal in response to the update of the access point configuration information by the operator server.
In this embodiment, the operator server may extend a field for recording the ICCID number segment range in advance in each configuration information table of Object 11 in the LwM2M protocol, so that the APN can be accurately determined according to the ICCID number segment range. Because the traditional operators generally allocate a number segment of an ICCID to the cooperated virtual operators for use, the access point can still be accurately determined according to the ICCID to access the network under the condition that the virtual operators are added, and the applicability is improved.
It should be understood that, although the steps in the flowcharts of fig. 2 and 3 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 2 and 3 may include steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least some of the other steps or stages.
In one embodiment, as shown in fig. 4, there is provided a network access device 400, which is provided in an operator server, the device comprising: a request receiving module 402, a first registration module 404, an access point determining module 406, and a first access point updating module 408, wherein:
a request receiving module 402, configured to receive a registration request sent by a user terminal; the registration request contains the unique identification code of the SIM card used by the user terminal.
A first registration module 404, configured to register the user terminal to the operator server in response to the registration request.
The access point determining module 406 is configured to determine an access point corresponding to the unique identifier, and take the determined access point as an access point of the user terminal.
The first access point updating module 408 is configured to update the determined access point configuration information corresponding to the access point of the user terminal to the user terminal, so that the user terminal establishes an access point connection according to the updated access point configuration information to access the network.
In one embodiment, the unique identification code is an integrated circuit card identification code ICCID. The access point determining module 406 is further configured to determine an access point corresponding to the ICCID according to an ICCID number segment range to which the ICCID belongs and a preset correspondence between each ICCID number segment range and each access point; and taking the access point corresponding to the determined ICCID as the access point of the user terminal.
In one embodiment, as shown in fig. 5, the network access device 400 further includes:
a number segment range recording module 410, configured to extend an ICCID number segment range field in a configuration information table corresponding to each access point in an access point connection configuration file in an LwM2M protocol in advance; in the ICCID number segment range field, the ICCID number segment range supported by the access point is recorded. The access point determining module 406 is further configured to determine an access point corresponding to the ICCID according to an ICCID number segment range to which the ICCID belongs and an ICCID number segment range recorded in an ICCID number segment range field that is extended in a configuration information table corresponding to each access point in advance. The first access point updating module 408 is further configured to update the determined access point configuration information corresponding to the access point of the user terminal to the user terminal through the access point connection configuration file in the LwM2M protocol.
In one embodiment, as shown in fig. 6, there is provided a network access device 600 provided in a user terminal, the device comprising: a SIM card identification module 602, a request sending module 604, a second registration module 606, a second access point update module 608, and a network access module 610, wherein:
the SIM card identification module 602 is configured to identify a unique identification code of a SIM card used by the user terminal.
A request sending module 604, configured to send a registration request to an operator server; the registration request contains a unique identification code.
The second registration module 606 is configured to register with the operator server according to the response of the operator server to the registration request.
A second access point update module 608, configured to update access point configuration information of the user terminal in response to an update of the access point configuration information by the operator server; the access point configuration information is determined by the operator server based on the unique identification code.
The network access module 610 is configured to establish an access point connection according to the updated access point configuration information, so as to access the network.
In one embodiment, the unique identification code is an integrated circuit card identification code ICCID; the access point configuration information is determined by the operator server according to the ICCID number segment range to which the ICCID belongs and the corresponding relation between each ICCID number segment range and each access point.
In one embodiment, the second access point update module 608 is further configured to update the access point configuration information of the user terminal in response to the operator server updating the access point configuration information via the access point connection configuration file in the LwM2M protocol. The access point configuration information is determined by the operator server according to the ICCID number segment range to which the ICCID belongs and the ICCID number segment range recorded in the ICCID number segment range field expanded in the configuration information table corresponding to each access point in the access point connection configuration file in the LwM2M protocol in advance.
In the network access device, after receiving a registration request including a unique identification code of a SIM card used by a user terminal sent by the user terminal, an operator server responds to the registration request, registers the user terminal to the operator server, then determines an access point corresponding to the unique identification code, uses the determined access point as an access point of the user terminal, updates access point configuration information corresponding to the determined access point of the user terminal to the user terminal, and establishes access point connection according to the updated access point configuration information to access a network. Because the traditional operators generally allocate a section of the number of the unique identification code of the SIM card to the cooperated virtual operators for use, the access point can still be accurately determined according to the unique identification code of the SIM card to access the network under the condition that the virtual operators are added, and the applicability is improved.
For specific limitations of the network access device, reference may be made to the above limitation of the network access method, and no further description is given here. The various modules in the network access device described above may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is for storing network service data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a network access method.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure thereof may be as shown in fig. 8. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a network access method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structures shown in fig. 7 and 8 are merely block diagrams of portions of structures associated with aspects of the application and are not intended to limit the computer device to which aspects of the application may be applied, and that a particular computer device may include more or fewer components than those shown, or may combine certain components, or may have a different arrangement of components.
In an embodiment, there is also provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the method embodiments described above when the computer program is executed.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, carries out the steps of the method embodiments described above.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (10)

1. A network access method, characterized in that the method is applied to an operator server; the method comprises the following steps:
expanding an ICCID number segment range field in a configuration information table corresponding to each access point in an access point connection configuration file in an LwM2M protocol in advance;
recording the ICCID number segment range of the access point in the ICCID number segment range field;
Receiving a registration request sent by a user terminal; the registration request contains an integrated circuit card identification code ICCID of the SIM card used by the user terminal;
registering the user terminal to the operator server in response to the registration request;
determining an access point corresponding to the ICCID according to the ICCID number segment range to which the ICCID belongs and the preset corresponding relation between each ICCID number segment range and each access point; the preset ICCID number segment ranges are provided by a traditional operator and a virtual operator; the virtual operator provided ICCID number segments are assigned by the legacy operator;
taking the determined access point corresponding to the ICCID as the access point of the user terminal;
updating the determined access point configuration information corresponding to the access point of the user terminal to the user terminal, so that the user terminal establishes access point connection according to the updated access point configuration information to access a network.
2. The method of claim 1, wherein the determining the access point to which the ICCID corresponds according to the ICCID number segment range to which the ICCID belongs and the preset correspondence between each ICCID number segment range and each access point comprises:
Determining an access point corresponding to the ICCID according to the ICCID number segment range to which the ICCID belongs and the ICCID number segment range recorded in the ICCID number segment range field expanded in the configuration information table corresponding to each access point in advance;
the updating the determined access point configuration information corresponding to the access point of the user terminal to the user terminal comprises:
and updating the determined access point configuration information corresponding to the access point of the user terminal to the user terminal through the access point connection configuration file in the LwM2M protocol.
3. A network access method, characterized in that the method is applied to a user terminal; the method comprises the following steps:
an integrated circuit card identification code ICCID for identifying the SIM card used by the user terminal;
sending a registration request to an operator server; the registration request contains the ICCID;
registering to the operator server according to the response of the operator server to the registration request;
updating the access point configuration information of the user terminal in response to the updating of the access point configuration information by the operator server; the access point configuration information is determined by the operator server according to the ICCID; the access point configuration information is determined by the operator server according to the ICCID number segment range to which the ICCID belongs and the corresponding relation between each ICCID number segment range and each access point; the ICCID number segment range to which the ICCID belongs is obtained by recording in an ICCID number segment range field; the ICCID number section range field is obtained by expanding in advance in a configuration information table corresponding to each access point in an access point connection configuration file in an LwM2M protocol; the ICCID number segment ranges are provided by a traditional operator and a virtual operator; the virtual operator provided ICCID number segments are assigned by the legacy operator; and establishing access point connection according to the updated access point configuration information so as to access a network.
4. A method according to claim 3, wherein said updating the access point configuration information of the user terminal in response to the update of the access point configuration information by the operator server comprises:
updating the access point configuration information of the user terminal through the update of the access point connection configuration file in the LwM2M protocol in response to the operator server;
the access point configuration information is determined by the operator server according to the ICCID number segment range to which the ICCID belongs and an ICCID number segment range recorded in an ICCID number segment range field extended in a configuration information table corresponding to each access point in an access point connection configuration file in the LwM2M protocol in advance.
5. A network access device, characterized in that the device is arranged in an operator server; the device comprises:
the number segment range recording module is used for expanding an ICCID number segment range field in a configuration information table corresponding to each access point in an access point connection configuration file in the LwM2M protocol in advance; recording the ICCID number segment range of the access point in the ICCID number segment range field;
The request receiving module is used for receiving a registration request sent by the user terminal; the registration request contains an integrated circuit card identification code ICCID of the SIM card used by the user terminal;
a first registration module, configured to register the user terminal to the operator server in response to the registration request;
an access point determining module, configured to determine an access point corresponding to the ICCID according to an ICCID number segment range to which the ICCID belongs and a preset correspondence between each ICCID number segment range and each access point; the preset ICCID number segment ranges are provided by a traditional operator and a virtual operator; the virtual operator provided ICCID number segments are assigned by the legacy operator; taking the determined access point corresponding to the ICCID as the access point of the user terminal;
and the first access point updating module is used for updating the determined access point configuration information corresponding to the access point of the user terminal to the user terminal so that the user terminal establishes access point connection according to the updated access point configuration information to access a network.
6. The apparatus of claim 5, wherein the access point determining module is further configured to determine an access point to which the ICCID corresponds according to an ICCID number field range to which the ICCID belongs and an ICCID number field range recorded in the ICCID number field range field extended in the configuration information table to which each access point corresponds in advance;
The first access point updating module is further configured to update, through the access point connection configuration file in the LwM2M protocol, the determined access point configuration information corresponding to the access point of the user terminal to the user terminal.
7. A network access device, characterized in that the device is arranged in a user terminal; the device comprises:
the SIM card identification module is used for identifying an integrated circuit card identification code ICCID of the SIM card used by the user terminal;
a request sending module, configured to send a registration request to an operator server; the registration request contains the ICCID;
the second registration module is used for registering to the operator server according to the response of the operator server to the registration request;
a second access point updating module, configured to update access point configuration information of the user terminal in response to the update of the access point configuration information by the operator server; the access point configuration information is determined by the operator server according to the ICCID; the access point configuration information is determined by the operator server according to the ICCID number segment range to which the ICCID belongs and the corresponding relation between each ICCID number segment range and each access point; the ICCID number segment range to which the ICCID belongs is obtained by recording in an ICCID number segment range field; the ICCID number section range field is obtained by expanding in advance in a configuration information table corresponding to each access point in an access point connection configuration file in an LwM2M protocol; the ICCID number segment ranges are provided by a traditional operator and a virtual operator; the virtual operator provided ICCID number segments are assigned by the legacy operator;
And the network access module is used for establishing access point connection according to the updated access point configuration information so as to access a network.
8. The apparatus of claim 7, wherein the second access point updating module is further configured to update access point configuration information of the user terminal in response to the operator server updating access point configuration information via an access point connection profile in an LwM2M protocol; the access point configuration information is determined by the operator server according to the ICCID number segment range to which the ICCID belongs and an ICCID number segment range recorded in an ICCID number segment range field extended in a configuration information table corresponding to each access point in an access point connection configuration file in the LwM2M protocol in advance.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 4 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 4.
CN202010841187.3A 2020-08-20 2020-08-20 Network access method, device, computer equipment and storage medium Active CN112188591B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010841187.3A CN112188591B (en) 2020-08-20 2020-08-20 Network access method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010841187.3A CN112188591B (en) 2020-08-20 2020-08-20 Network access method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112188591A CN112188591A (en) 2021-01-05
CN112188591B true CN112188591B (en) 2023-08-18

Family

ID=73923931

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010841187.3A Active CN112188591B (en) 2020-08-20 2020-08-20 Network access method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112188591B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113079514B (en) * 2021-03-24 2023-09-08 深圳市广和通无线股份有限公司 Network access verification method and device and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016169311A1 (en) * 2015-04-24 2016-10-27 中兴通讯股份有限公司 Card selection method and device
WO2016198001A1 (en) * 2015-10-15 2016-12-15 中兴通讯股份有限公司 Service processing method and apparatus
CN110475242A (en) * 2019-07-03 2019-11-19 深圳市广和通无线通信软件有限公司 A kind of LTE network register method, device, storage medium and computer equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105516962B (en) * 2015-12-03 2019-03-05 中国联合网络通信集团有限公司 Account-opening method and system based on eUICC

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016169311A1 (en) * 2015-04-24 2016-10-27 中兴通讯股份有限公司 Card selection method and device
WO2016198001A1 (en) * 2015-10-15 2016-12-15 中兴通讯股份有限公司 Service processing method and apparatus
CN110475242A (en) * 2019-07-03 2019-11-19 深圳市广和通无线通信软件有限公司 A kind of LTE network register method, device, storage medium and computer equipment

Also Published As

Publication number Publication date
CN112188591A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
US9124719B2 (en) Devices, systems and methods for managing custom alpha tags
US7421287B2 (en) Mobile communication terminal and method for managing use-history information
CN110475242B (en) LTE network registration method, device, storage medium and computer equipment
US10862881B2 (en) Method of managing shared files and device for authenticating subscriber by using same
CN102348017B (en) Calling method of terminal application, terminal device and UICC (Universal Integrated Circuit Card)
CN111510909B (en) Communication module configuration processing method and device, computer equipment and storage medium
US20150373778A1 (en) Method and apparatus for multisim devices with embedded sim functionality
US10009891B2 (en) Communication method, server and terminal
Kim et al. Digital forensic analysis of intelligent and smart IoT devices
CN112188591B (en) Network access method, device, computer equipment and storage medium
CN114585002A (en) Communication processing method, communication processing device, terminal equipment and computer readable storage medium
CN111510910B (en) Communication module frequency band setting method and device, computer equipment and storage medium
CN109815351B (en) Information query method and related product
CN113194521B (en) Network searching method and device for 5G communication module, computer equipment and storage medium
US20190335327A1 (en) Partitioning network addresses in network cell data to address user privacy
CN112423288B (en) Dialing analysis method, device, computer equipment and storage medium
KR102101649B1 (en) Method for providing multi number service
CN111432397B (en) Communication number registration method, device, computer equipment and storage medium
CN105813061B (en) A kind of multi-card terminal resource acquiring method and multi-card terminal
CN113242541B (en) Network registration method and device, electronic equipment and storage medium
CN112969218B (en) Network registration method and device, electronic equipment and storage medium
CN113873524B (en) Network registration method, device, multi-card terminal and storage medium
KR101779203B1 (en) Method for providing multi number service
KR101710617B1 (en) Method for providing multi number service
KR20210088325A (en) Communication apparatus transmitting nssai and control method thereof

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