CN118118977A - Access point configuration method and device, electronic equipment and storage medium - Google Patents
Access point configuration method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN118118977A CN118118977A CN202410353763.8A CN202410353763A CN118118977A CN 118118977 A CN118118977 A CN 118118977A CN 202410353763 A CN202410353763 A CN 202410353763A CN 118118977 A CN118118977 A CN 118118977A
- Authority
- CN
- China
- Prior art keywords
- access point
- operator
- network side
- network
- response
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 230000004044 response Effects 0.000 claims description 63
- 230000006870 function Effects 0.000 claims description 24
- 238000012937 correction Methods 0.000 claims description 20
- 238000012545 processing Methods 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 13
- 230000001960 triggered effect Effects 0.000 claims description 12
- 238000005516 engineering process Methods 0.000 abstract description 4
- 238000004891 communication Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 16
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012216 screening Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000012512 characterization method Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
- H04W48/14—Access restriction or access information delivery, e.g. discovery data delivery using user query or user detection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/20—Selecting an access point
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present application relates to the field of communications technologies, and in particular, to a method and apparatus for configuring an access point, an electronic device, and a storage medium. The method comprises the following steps: determining an operator corresponding to the SIM card, inquiring an access point database, and determining the type of the operator; when the type of the operator is unknown, a general access point is used for sending a network connection request to a network side, wherein the general access point is as follows: access points using generic configuration parameters. In this way, the unknown operators actively perform network access through the universal access point, so that the situation that the network access is not performed when no access point matched with the operators exists is avoided, the reliability of the configuration of the access point and the success rate of the network access are improved, and the user experience is improved.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and apparatus for configuring an access point, an electronic device, and a storage medium.
Background
An access point (access point name, APN) is a network access technology, and is a configuration parameter when a terminal device accesses a network, and the configuration of the access point determines which access mode the terminal accesses the network.
At present, when the access point is configured, the terminal generally reads information such as an integrated circuit card identification code (INTEGRATE CIRCUIT CARD IDENTITY, ICCID) of a subscriber identity module (subscriber identity module, SIM) card, determines an operator corresponding to the SIM card, then queries a preset database, matches a target access point corresponding to the operator, and uses the target access point to perform network access.
However, when the access point corresponding to the operator does not exist in the preset database, the terminal cannot be matched with the access point corresponding to the operator, so that the configuration of the access point fails, and network connection cannot be established with the network side.
Disclosure of Invention
The embodiment of the application provides an access point configuration method, an access point configuration device, electronic equipment and a storage medium, so as to improve the reliability of access point configuration.
The specific technical scheme provided by the embodiment of the application is as follows:
in a first aspect, an access point configuration method is provided, including:
Determining an operator corresponding to the SIM card, inquiring an access point database, and determining the type of the operator;
When the type of the operator is unknown, a general access point is used for sending a network connection request to a network side, wherein the general access point is as follows: access points using generic configuration parameters.
Optionally, querying the access point database to determine the type of the operator includes:
If the access point database has an access point matched with the operator, determining the type of the operator as a known operator;
If the access point database does not have an access point matched with the operator, determining the type of the operator as an unknown operator.
By the method, whether the operator is an unknown operator or not is detected through the access point database, and the operator can be detected quickly and timely.
Optionally, after sending the network connection request to the network side by using the universal access point, the method further includes:
Receiving a response returned by the network side;
And when the response is a connection establishment success response, acquiring a correct access point carried by the connection establishment success response, wherein the correct access point is an access point supported by an operator, and the connection establishment success response represents: the general access point is a correct access point, or the network side has an automatic error correction function, and the automatic error correction function is as follows: the terminal requests network connection by using the wrong access point, and the network side establishes network connection by using the local correct access point.
By the method, the network side has the local correct access point and the automatic error correction function, so that when the terminal uses the universal access point to send a network connection request to the network side, the network side can successfully establish network connection with the terminal, and the success rate of network access is improved.
Optionally, after obtaining the correct access point carried by the connection establishment success response, the method further includes:
and establishing an association relation between the correct access point and the operator, and storing the association relation into an access point database.
By the method, when the terminal performs network access next time, the correct access point of the operator can be directly obtained from the access point database, and the correct access point is used for sending a network connection request to the network side, so that the reliability and efficiency of access point configuration are further improved.
Optionally, the method further comprises:
when the response is a connection establishment failure response, displaying a prompt interface, wherein the prompt interface is used for prompting a user to manually configure a target access point supported by an operator;
Displaying an access point configuration interface when a configuration input request is received;
And responding to the triggered input operation, obtaining configuration information input by using the object, establishing a target access point, and sending a new network connection request to a network side by using the target access point.
By the method, when the access of the general access point to the network fails, the access point is manually configured by prompting the user, so that the reliability of the configuration of the access point is ensured, and the success rate of network access is further improved.
In a second aspect, there is provided an access point configuration apparatus, including:
the determining module is used for determining an operator corresponding to the SIM card, inquiring the access point database and determining the type of the operator;
the request module is used for sending a network connection request to the network side by using a general access point when the type of the operator is unknown, wherein the general access point is as follows: access points using generic configuration parameters.
Optionally, when querying the access point database and determining the type of the operator, the determining module is further configured to:
If the access point database has an access point matched with the operator, determining the type of the operator as a known operator;
If the access point database does not have an access point matched with the operator, determining the type of the operator as an unknown operator.
Optionally, after sending the network connection request to the network side by using the universal access point, the apparatus further includes a processing module, where the processing module is configured to:
Receiving a response returned by the network side;
And when the response is a connection establishment success response, acquiring a correct access point carried by the response, wherein the correct access point is an access point supported by an operator, and the connection establishment success response is characterized in that: the general access point is a correct access point, or the network side has an automatic error correction function, and the automatic error correction function is as follows: the terminal requests network connection by using the wrong access point, and the network side establishes network connection by using the local correct access point.
Optionally, after obtaining the correct access point carried by the response, the apparatus further includes a storage module, where the storage module is configured to:
and establishing an association relation between the correct access point and the operator, and storing the association relation into an access point database.
Optionally, the processing module is further configured to:
when the response is a connection establishment failure response, displaying a prompt interface, wherein the prompt interface is used for prompting a user to manually configure a target access point supported by an operator;
Displaying an access point configuration interface when a configuration input request is received;
And responding to the triggered input operation, obtaining configuration information input by using the object, establishing a target access point, and sending a new network connection request to a network side by using the target access point.
In a third aspect, there is provided an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method of any of the first aspects when the program is executed.
In a fourth aspect, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of any of the first aspects above.
In the embodiment of the application, the terminal determines the operator corresponding to the SIM card, queries the access point database, determines the type of the operator, and when the type of the operator is unknown, uses the universal access point to send a network connection request to the network side, and the network side establishes network connection. In this way, the unknown operators actively perform network access through the universal access point, so that the situation that the network access is not performed when no access point matched with the operators exists is avoided, the reliability of the configuration of the access point and the success rate of the network access are improved, and the user experience is improved.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
Drawings
Fig. 1 is a schematic diagram of an application scenario in an embodiment of the present application;
fig. 2 is a first flow chart of an access point configuration method according to an embodiment of the application;
FIG. 3 is a schematic diagram of a prompt interface according to an embodiment of the application;
fig. 4 is a second flow chart of an access point configuration method according to an embodiment of the present application;
fig. 5 is a third flow chart of an access point configuration method according to an embodiment of the present application;
Fig. 6 is a schematic structural diagram of an access point configuration device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The following briefly describes the design concept of the embodiment of the present application:
An access point (access point name, APN) is a network access technology, and is a configuration parameter when a terminal device accesses a network, and the configuration of the access point determines which access mode the terminal accesses the network.
At present, when the access point is configured, the terminal generally reads information such as an integrated circuit card identification code (INTEGRATE CIRCUIT CARD IDENTITY, ICCID) of a subscriber identity module (subscriber identity module, SIM) card, determines an operator corresponding to the SIM card, then queries a preset database, matches a target access point corresponding to the operator, and uses the target access point to perform network access.
However, when the access point corresponding to the operator does not exist in the preset database, the terminal cannot be matched with the access point corresponding to the operator, so that the configuration of the access point fails, and network connection cannot be established with the network side.
Based on the above problems, in an embodiment of the present application, an access point configuration method, an apparatus, an electronic device, and a storage medium are provided. The terminal determines an operator corresponding to the SIM card, inquires an access point database, determines the type of the operator, and when the type of the operator is an unknown operator, uses a universal access point to send a network connection request to a network side, so that the unknown operator actively carries out network access through the universal access point to realize access point configuration and network access, the condition that the network access is not carried out when no access point matched with the operator exists is avoided, the reliability of the access point configuration and the success rate of the network access are improved, and the user experience is improved.
The preferred embodiments of the present application will be described in detail with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an application scenario according to an embodiment of the present application. The application scenario diagram includes a terminal 110 and a network side device 120.
The terminal 110 may be a terminal-side device such as a Mobile phone, a tablet pc (Tablet Personal Computer), a Laptop (Laptop Computer), a personal digital assistant (personaldigital assistant, PDA), a Mobile internet device (Mobile INTERNET DEVICE, MID), or a wearable device (Wearable Device), which should be noted that the specific type of the terminal 110 is not limited in the embodiment of the present invention.
The network-side device 120 may be a base station, for example: macro station, LTE eNB, 5G NR NB, etc.; network-side device 120 may also be a small station, such as a Low Power Node (LPN) pico, femto, or the like; the base station may also be a network node formed by a Central Unit (CU) together with a plurality of transmission reception points (TRP, transmission Reception Point) which it manages and controls. It should be noted that, in the embodiment of the present invention, the specific type of the network side device 120 is not limited.
It should be noted that, the number of terminals and network side devices is not limited in practice, and is not particularly limited in the embodiment of the present application, which is shown in fig. 1 for illustration only.
Based on the foregoing embodiments, referring to fig. 2, a first flow chart of an access point configuration method in an embodiment of the present application specifically includes:
step 20: and determining an operator corresponding to the SIM card, inquiring an access point database, and determining the type of the operator.
In the embodiment of the application, the terminal reads the information of the operators in the SIM card, obtains the operators corresponding to the SIM card, and then queries the access point database to determine the types of the operators.
Specifically, in the embodiment of the present application, the operator information in the SIM card is read, and may be obtained by reading an international mobile subscriber identity (international mobile subscriber identity, IMSI) and an integrated circuit card identity (INTEGRATE CIRCUIT CARD IDENTITY, ICCID) in the SIM card.
The operator information may be an operator identifier such as a mobile country code (mobilecountry code, MCC) and a mobile device network code (mobile network code, MNC).
For example, a public land mobile network (public land mobile network, PLMN) carried by the IMSI in the SIM card is read, where plmn=mcc+mnc, and if PLMN is 46015, it is determined that the operator corresponding to the SIM card is operator D.
Specifically, in the embodiment of the present application, a possible implementation manner is provided for determining the type of the operator, and the following describes a process for determining the type of the operator in the embodiment of the present application, which specifically includes:
Step 200: judging whether the access point database has an access point matched with an operator, if so, executing step 201, otherwise, executing step 202.
The access point database stores at least one access point set corresponding to an operator.
For example, the access point data includes: an access point A1 and an access point A2 corresponding to an operator a, an access point B1 corresponding to an operator B, and an access point C1 corresponding to an operator C.
Step 201: the type of the operator is determined to be a known operator.
In the embodiment of the application, whether the access point database has the access point matched with the operator is judged, and if the access point database has the access point matched with the operator, the type of the operator is determined to be the known operator.
For example, assuming that the operator corresponding to the SIM card is operator B, the access point database has an access point B1 matching with operator B, and the type of the operator is determined to be a known operator.
Further, in the embodiment of the present application, after obtaining an access point matched with a known operator, a network connection request is sent to a network side by using the access point, so that the network side receives the network connection request, and establishes network connection.
In addition, it should be noted that, when a plurality of access points matched by an operator are known, a target access point is selected from the plurality of access points, and then a network connection request is sent to the network side by using the target access point.
Specifically, in the embodiment of the present application, two possible implementations are provided for screening target access points of a known operator, and the following describes a method for screening target access points of a known operator in the embodiment of the present application, which specifically includes:
Mode one: and screening the access point with the largest use frequency as a target access point based on the use times corresponding to each of the plurality of access points matched by the operators.
For example, assuming that the operator corresponding to the SIM card is the operator a, the access point database has access points A1 and A2 matching the operator a, the number of uses of the access point A1 is 3, and the number of uses of the access point A2 is 1, the access point with the largest frequency of use is the access point A1, and the access point A1 is the target access point.
In this way, the access point commonly used by the use object can be automatically selected according to the historical operation behavior of the use object, so that the efficiency of determining the target access point of the known operator is improved, and the user experience is improved.
Mode two: and displaying a selection interface, and responding to the selection operation triggered by the use object, so as to obtain the target access point selected by the use object, wherein the selection interface is used for indicating the use object to manually select the target access point of the operator.
For example, assuming that an operator corresponding to the SIM card is operator a, the access point database has access points A1 and A2 matched with the operator a, a selection interface is displayed, configuration parameters of the access points A1 and A2 and corresponding selection controls are shown to the use object, and when the use object clicks the selection control corresponding to the access point A1, the terminal responds to a selection operation triggered by the use object to obtain a target access point selected by the use object as the access point A1.
In this way, when a plurality of access points matched with the known operator are not used, the target access point of the known operator can be accurately determined based on the selection of the use object, and the accuracy and the user experience sense of determining the target access point of the known operator can be ensured.
Step 202: the type of the operator is determined to be an unknown operator.
In the embodiment of the application, whether the access point database has the access point matched with the operator is judged, and if the access point database does not have the access point matched with the operator, the type of the operator is determined to be an unknown operator.
For example, assuming that the operator corresponding to the SIM card is operator D, the access point database does not have an access point matching with operator D, and the type of the operator is determined to be an unknown operator.
In this way, whether the operator is an unknown operator or not is detected through the access point database, the operator can be detected quickly and timely, and different access point configuration modes are adopted for different types of operators after the detection.
Step 21: and when the type of the operator is unknown, using the universal access point to send a network connection request to the network side.
The general access point is as follows: access points using generic configuration parameters.
It should be noted that, in the embodiment of the present application, the name of the general access point may be any name, and parameters such as proxy, port, user name, password, server, MMSC, APN protocol, APN type of the general access point are general configuration, and the general configuration may be null or default, which is not limited in the embodiment of the present application.
In the embodiment of the application, when the type of the operator is unknown, a general access point is used to send a network connection request to a network side, so that the network side receives the network connection request and establishes network connection.
For example, a generic access point with a name cmnet, a proxy, a port, a user name, a password, a server and an MMSC are empty, an APN protocol is IPv4, and an APN type is default is used to send a network connection request to a network side.
Further, after a general access point is used to send a network connection request to a network side, a response returned by the network side is received, and corresponding subsequent operations are performed according to the type of the response, which is described below, specifically includes:
case one: the response is a connection establishment success response.
In the embodiment of the application, when the response is a connection establishment success response, the correct access point carried by the connection establishment success response is obtained.
The correct access point is an access point supported by an operator, and the response characterization of connection establishment success: the general access point is a correct access point, or the network side has an automatic error correction function, and the automatic error correction function is as follows: the terminal requests network connection by using the wrong access point, and the network side establishes network connection by using the local correct access point.
Specifically, in the embodiment of the application, after receiving a network request of a terminal, a network side inquires an access point database of the network side, if the access point database of the network side contains a general access point, a connection establishment success response carrying a correct access point is sent to the terminal, and the correct access point is the general access point at this time, if the access point database of the network side does not contain the general access point and the network side has an automatic error correction function, the network side corrects the general access point into the correct access point, and sends a connection establishment success response carrying the correct access point to the terminal, and the correct access point is the corrected access point at this time. The terminal then receives a connection establishment success response carrying the correct access point.
For example, the access point database at the network side does not include a general access point, and the network side has an automatic error correction function, and the name of the general access point is cmnet, so that the network side corrects the general access point to be a correct access point with the name of cbnet, and sends a connection establishment success response carrying the correct access point to the terminal, and obtains the correct access point carried by the connection establishment success response.
In addition, it should be noted that, the connection establishment success response carrying the correct access point returned by the network side may be a specific configuration parameter carrying the correct access point, or may carry specific modification information for modifying the general access point into the correct access point, which is not limited in the embodiment of the present application.
Therefore, because the network side has a local access point database and an automatic error correction function, when the terminal uses the universal access point to send a network connection request to the network side, the network side can successfully establish network connection with the terminal, and the success rate of network access is improved.
Further, in the embodiment of the present application, after the terminal acquires the correct access point, the correct access point and the operator may establish an association relationship and store the association relationship in the access point database.
For example, if the operator corresponding to the SIM card is the operator D and the correct access point is the access point D1, the association relationship between the access point D1 and the operator D is established and stored in the access point database.
In this way, the access point database is updated according to the returned correct access point of the network side, and when the terminal performs network access next time, the correct access point of the operator can be directly obtained from the access point database, and the correct access point is used to send a network connection request to the network side, so that the reliability and efficiency of access point configuration are further improved.
And a second case: the response is a connection establishment failure response.
In the embodiment of the application, the following operations are specifically executed:
Step 220: and displaying a prompt interface when the response is a connection establishment failure response.
The prompt interface is used for prompting the user to manually configure a target access point supported by an operator; connection establishment failure response characterization: the general access point is an error access point, and the network side has no automatic error correction function.
Specifically, in the embodiment of the application, after receiving a network request of a terminal, the network side inquires an access point database of the network side, and if the access point database of the network side does not contain a universal access point and the network side does not have an automatic error correction function, the network side sends a connection establishment failure response to the terminal. And then, the terminal receives a connection establishment failure response and displays a prompt interface.
For example, referring to fig. 3, a schematic diagram of a prompt interface in an embodiment of the present application is shown, where the prompt interface displays a text "the target access point supported by the SIM card is not correctly configured, please manually configure the target access point", and displays a cancel key and a confirm key, where the cancel key is clicked when the user currently wants to manually configure the user, and the cancel key is clicked when the user currently does not want to manually configure the user.
Step 221: and displaying an access point configuration interface when a configuration input request is received.
For example, as shown in fig. 3, when the object clicks the confirm key, a configuration input request is triggered, and the terminal displays an access point configuration interface, where the access point configuration interface includes parameters to be configured.
In addition, the parameters to be input into the configuration include any one or any combination of the following parameters: the name, proxy, port, username, password, server, MMSC, APN protocol, APN type, etc. of the access point are not limited in this embodiment of the application.
Step 222: and responding to the triggered input operation, obtaining configuration information input by using the object, establishing a target access point, and sending a new network connection request to a network side by using the target access point.
In the embodiment of the application, when an input object is input in the configuration area of the access point configuration interface, the input operation is triggered, the terminal responds to the triggered input operation to obtain the configuration information input by the object, establish the target access point, and send a new network connection request to the network side by using the target access point, so that the network side receives the new network connection request and establishes network connection.
Therefore, when the access of the general access point to the network fails, the access point is manually configured by prompting the user, the reliability of the configuration of the access point is ensured, and the success rate of network access is further improved.
Based on the foregoing embodiments, referring to fig. 4, a second flow chart of an access point configuration method in an embodiment of the present application specifically includes:
Step 400: the terminal determines the operator corresponding to the SIM card, inquires the access point database and determines the type of the operator.
Step 401: and when the type of the operator is unknown, the terminal uses the universal access point to send a network connection request to the network side.
Step 402: and the network side returns a connection establishment success response carrying the correct access point to the terminal when the general access point is the correct access point or has an automatic error correction function.
Step 403: and the terminal establishes an association relation between the correct access point and the operator and stores the association relation into an access point database.
Based on the foregoing embodiments, referring to fig. 5, a third flow diagram of an access point configuration method according to an embodiment of the present application specifically includes:
Step 500: the terminal determines the operator corresponding to the SIM card, inquires the access point database and determines the type of the operator.
Step 501: and when the type of the operator is unknown, the terminal uses the universal access point to send a network connection request to the network side.
Step 502: and the network side returns a connection establishment failure response to the terminal when the general access point is not the correct access point and the automatic error correction function is not available.
Step 503: the terminal displays an access point configuration interface, and responds to the input operation triggered by the use object to obtain the configuration information input by the use object, so as to establish a target access point.
Step 504: and the terminal uses the target access point to send a new network connection request to the network side.
Based on the same inventive concept, the embodiment of the present application further provides an access point configuration device, and referring to fig. 6, the structure schematic diagram of the access point configuration device in the embodiment of the present application specifically includes:
the determining module 601 is configured to determine an operator corresponding to the SIM card, query an access point database, and determine a type of the operator;
A request module 602, configured to send a network connection request to a network side by using a universal access point when the type of the operator is an unknown operator, where the universal access point is: access points using generic configuration parameters.
Optionally, when querying the access point database and determining the type of the operator, the determining module 601 is further configured to:
If the access point database has an access point matched with the operator, determining the type of the operator as a known operator;
If the access point database does not have an access point matched with the operator, determining the type of the operator as an unknown operator.
Optionally, after sending the network connection request to the network side by using the universal access point, the apparatus further includes a processing module 603, where the processing module 603 is configured to:
Receiving a response returned by the network side;
And when the response is a connection establishment success response, acquiring a correct access point carried by the response, wherein the correct access point is an access point supported by an operator, and the connection establishment success response is characterized in that: the general access point is a correct access point, or the network side has an automatic error correction function, and the automatic error correction function is as follows: the terminal requests network connection by using the wrong access point, and the network side establishes network connection by using the local correct access point.
Optionally, after obtaining the correct access point carried by the response, the apparatus further includes a storage module 604, where the storage module 604 is configured to:
and establishing an association relation between the correct access point and the operator, and storing the association relation into an access point database.
Optionally, the processing module 603 is further configured to:
when the response is a connection establishment failure response, displaying a prompt interface, wherein the prompt interface is used for prompting a user to manually configure a target access point supported by an operator;
Displaying an access point configuration interface when a configuration input request is received;
And responding to the triggered input operation, obtaining configuration information input by using the object, establishing a target access point, and sending a new network connection request to a network side by using the target access point.
Based on the above embodiments, referring to fig. 7, a schematic structural diagram of an electronic device according to an embodiment of the present application is shown.
Embodiments of the present application provide an electronic device that may include a processor 710 (Center Processing Unit, a CPU), a memory 720, an input device 730, an output device 740, and the like, where the input device 730 may include a keyboard, a mouse, a touch screen, and the like, and the output device 740 may include a display device, such as a Liquid crystal display (Liquid CRYSTAL DISPLAY, LCD), a Cathode Ray Tube (CRT), and the like.
Memory 720 may include Read Only Memory (ROM) and Random Access Memory (RAM) and provides processor 710 with program instructions and data stored in memory 720. In the embodiment of the present application, the memory 720 may be used to store a program of any one of the access point configuration methods in the embodiment of the present application.
Processor 710 is configured to execute any one of the access point configuration methods according to the embodiment of the present application by calling the program instructions stored in memory 720, and processor 710 is configured to execute the obtained program instructions.
Based on the above embodiments, in the embodiments of the present application, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the access point configuration method in any of the method embodiments described above.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.
Claims (12)
1. An access point configuration method, comprising:
determining an operator corresponding to the SIM card, inquiring an access point database, and determining the type of the operator;
When the type of the operator is unknown, a general access point is used for sending a network connection request to a network side, wherein the general access point is as follows: access points using generic configuration parameters.
2. The method of claim 1, wherein the querying an access point database, determining the type of operator, comprises:
If the access point database has an access point matched with the operator, determining the type of the operator as a known operator;
and if the access point database does not have the access point matched with the operator, determining the type of the operator as an unknown operator.
3. The method of claim 1, wherein after the using the universal access point to send the network connection request to the network side, further comprising:
Receiving a response returned by the network side;
And when the response is a connection establishment success response, acquiring a correct access point carried by the connection establishment success response, wherein the correct access point is an access point supported by the operator, and the connection establishment success response represents: the general access point is the correct access point, or the network side has an automatic error correction function, and the automatic error correction function is as follows: the terminal requests network connection by using the wrong access point, and the network side establishes network connection by using the local correct access point.
4. The method of claim 3, wherein after the obtaining the correct access point carried in the connection establishment success response, further comprising:
And establishing an association relation between the correct access point and the operator, and storing the association relation into the access point database.
5. A method as recited in claim 3, further comprising:
when the response is a connection establishment failure response, displaying a prompt interface, wherein the prompt interface is used for prompting a user to manually configure a target access point supported by the operator;
Displaying an access point configuration interface when a configuration input request is received;
And responding to the triggered input operation, obtaining configuration information input by using an object, establishing the target access point, and sending a new network connection request to the network side by using the target access point.
6. An access point configuration apparatus, comprising:
The determining module is used for determining an operator corresponding to the SIM card, inquiring an access point database and determining the type of the operator;
A request module, configured to send a network connection request to a network side by using a universal access point when the type of the operator is unknown, where the universal access point is: access points using generic configuration parameters.
7. The apparatus of claim 6, wherein the means for determining, when querying an access point database to determine the type of operator is further to:
If the access point database has an access point matched with the operator, determining the type of the operator as a known operator;
and if the access point database does not have the access point matched with the operator, determining the type of the operator as an unknown operator.
8. The apparatus of claim 7, wherein the apparatus further comprises a processing module, after the universal access point is used to send the network connection request to the network side, the processing module configured to:
Receiving a response returned by the network side;
And when the response is a connection establishment success response, acquiring a correct access point carried by the response, wherein the correct access point is an access point supported by the operator, and the connection establishment success response represents: the general access point is the correct access point, or the network side has an automatic error correction function, and the automatic error correction function is as follows: the terminal requests network connection by using the wrong access point, and the network side establishes network connection by using the local correct access point.
9. The apparatus of claim 8, wherein after the obtaining the correct access point carried by the response, the apparatus further comprises a storage module to:
And establishing an association relation between the correct access point and the operator, and storing the association relation into the access point database.
10. The apparatus of claim 8, wherein the processing module is further to:
when the response is a connection establishment failure response, displaying a prompt interface, wherein the prompt interface is used for prompting a user to manually configure a target access point supported by the operator;
Displaying an access point configuration interface when a configuration input request is received;
And responding to the triggered input operation, obtaining configuration information input by using an object, establishing the target access point, and sending a new network connection request to the network side by using the target access point.
11. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method of any of claims 1-5 when the program is executed.
12. A computer-readable storage medium having stored thereon a computer program, characterized by: the computer program implementing the steps of the method of any one of claims 1 to 5 when executed by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410353763.8A CN118118977A (en) | 2024-03-26 | 2024-03-26 | Access point configuration method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410353763.8A CN118118977A (en) | 2024-03-26 | 2024-03-26 | Access point configuration method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118118977A true CN118118977A (en) | 2024-05-31 |
Family
ID=91221121
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410353763.8A Pending CN118118977A (en) | 2024-03-26 | 2024-03-26 | Access point configuration method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118118977A (en) |
-
2024
- 2024-03-26 CN CN202410353763.8A patent/CN118118977A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11019512B2 (en) | Providing easy access to radio networks | |
US8532705B2 (en) | Method and system for the automatic configuration of an appliance in a communications network | |
US8140120B2 (en) | Apparatus and method for providing network service in a portable communication system | |
US12048063B2 (en) | Automated subscription management for wireless devices having multiple subscription profiles | |
CN105682015A (en) | Method and device for establishing wireless connection | |
EP1937017A2 (en) | Method for selecting a network by a mobile apparatus | |
US10887745B2 (en) | Method and device for sharing file between different terminals | |
US11134143B2 (en) | Call processing method and mobile terminal | |
US10064044B2 (en) | Method and apparatus for determining roaming status of terminal, terminal, and server | |
US11283756B2 (en) | EPDG selection | |
CN111918256A (en) | Intelligent device network distribution method and device based on Bluetooth and storage medium | |
CN113285810B (en) | Target equipment login method and device, storage medium and electronic device | |
CN104883704A (en) | Mobile terminal access point parameter automatic error correction method and apparatus | |
CN112584547A (en) | Method, device, storage medium and terminal equipment for establishing data connection | |
CN106973369B (en) | Multimedia message sending method, device, mobile terminal and computer readable storage medium | |
CN118118977A (en) | Access point configuration method and device, electronic equipment and storage medium | |
JP2016528787A (en) | Automatic carrier detection for mobile network devices | |
CN104683464A (en) | Method, device and system for positioning computer | |
CN113079514A (en) | Network access verification method and device and computer readable storage medium | |
CN112055372A (en) | Client front-end equipment and working method thereof | |
US10314085B2 (en) | ProSe information transmission method, terminal, and communications device | |
WO2023179571A1 (en) | Non-public network access method and apparatus and terminal | |
CN108307330B (en) | Terminal OTA message processing method and system | |
CN117546457A (en) | Apparatus, method and program for diagnosing condition of communication service | |
KR101480883B1 (en) | Mobile telecommunication terminal providing function to select international call service provider and method for providing international call services using the mobile telecommunication terminal |
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 |