Network connection method and device and storage medium

By automatically detecting network status, scanning and obtaining neighborhood information and finding matching profiles in eSIM devices, the problem of eSIM devices need to manually download profiles when transferring to regions is solved, and the connection efficiency and reliability of the device are improved.

CN119729672APending Publication Date: 2025-03-28SHENZHEN XINGUODU TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411839748.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-13
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

When eSIM devices are transferred from one area to another, they need to manually download the profile to connect to the network. Especially in the case of poor network conditions or large profiles, it consumes time and manpower, and it is easy for the equipment to be unable to connect to the network normally due to network fluctuations or misoperation.

Method used

Provide a network connection method. By detecting the current network connection status, if it is not connected, scan to obtain neighborhood information, find the matching target profile in the pre-stored profile library, and perform network connection based on the profile.

Benefits of technology

The eSIM device automatically switches profiles in the new area, reducing the time and labor costs of manual downloads, improving the efficiency of equipment input, and avoiding connection problems caused by network fluctuations or misoperation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119729672A_ABST
    Figure CN119729672A_ABST
Patent Text Reader

Abstract

The invention discloses a network connection method, a network connection device and a storage medium, which are used for helping equipment to carry out network access and completing network residence of the equipment. The method comprises the steps that the connection state of a current network is detected, if the current network is in an unconnected state, neighbor cell information is scanned and acquired, the neighbor cell information comprises a combination of a mobile country code and a mobile network code, a target profile matched with the combination of the mobile country code and the mobile network code is searched from a pre-stored profile library, and the target profile is sent to the current network; and performing network connection based on the target profile. Therefore, the equipment can stay in the network more conveniently and quickly, and the efficiency of putting the equipment into use is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a network connection method, device and storage medium. Background Art

[0002] eSIM is an electronic SIM card. It is a data file that can be downloaded to a mobile terminal through the Internet. The application scope of eSIM technology is very wide, covering various application scenarios such as sports, family, medical care, entertainment, education, etc. Mobile phones can also use eSIM to easily achieve dual-card dual standby, and users can access two or even three operators at the same time, and voice and data can also be achieved using different numbers.

[0003] Under existing technical conditions, for eSIM devices, when it is transferred from location A to location B, it is necessary to manually download the profile before it can connect to the network and be put into use. If the network condition is poor or the profile is large, manual downloading is very time-consuming and labor-intensive, and requires specialized personnel to operate the download process, which brings a lot of inconvenience and seriously affects the efficiency of the device's use. In addition, during the download process, the file may be partially damaged due to network fluctuations, or the device may not be able to connect to the network normally due to operator errors, which in turn affects the normal use of the device. Summary of the invention

[0004] In order to solve the above technical problems, the present application provides a network connection method, device and storage medium.

[0005] The technical solution provided in this application is described below:

[0006] A first aspect of the present application provides a network connection method, the method comprising:

[0007] Detect the current network connection status;

[0008] If the current network is in an unconnected state, scan and obtain neighboring cell information, wherein the neighboring cell information includes a combination of a mobile country code and a mobile network code;

[0009] Searching a target profile that matches the combination of the mobile country code and the mobile network code from a pre-stored profile library;

[0010] A network connection is made based on the target profile.

[0011] Optionally, before searching a pre-stored profile library for a target profile that matches a combination of the mobile country code and the mobile network code, the method further includes:

[0012] A profile library is stored in the built-in eSIM card, wherein the profile library includes a plurality of profiles, and each profile corresponds to a combination of a corresponding mobile country code and the mobile network code.

[0013] Optionally, before storing the profile library in the built-in eSIM card, the method further includes:

[0014] Respond to the configuration instructions entered by the user on the configuration page;

[0015] The profile library is configured based on the configuration instructions.

[0016] Optionally, if the neighboring cell information includes a plurality of combinations of mobile country codes and mobile network codes, searching a pre-stored profile library for a target profile that matches the combination of the mobile country code and the mobile network code includes:

[0017] Determine a combination of mobile country code and mobile network code with the best signal quality from the multiple groups of combinations of mobile country code and mobile network code;

[0018] A target profile matching the combination of the mobile country code and the mobile network code with the best signal quality is searched from a pre-stored profile library.

[0019] Optionally, the pre-stored profile library is located in a built-in eSIM card, and after the network connection is performed based on the target profile, the method further includes:

[0020] Send a request to the eSIM server associated with the eSIM card to request the latest version of the profile library;

[0021] After acquiring the latest version of the profile library, if it is determined that the pre-stored profile library is not the latest version of the profile library, an update operation is performed to update the pre-stored profile library to the latest version of the profile library.

[0022] Optionally, after performing the update operation to update the pre-stored profile library to the latest version of the profile library, the method further includes:

[0023] Generate an update log to record relevant information during the update operation.

[0024] Optionally, after performing the update operation to update the pre-stored profile library to the latest version of the profile library, the method further includes:

[0025] Output a prompt message to prompt that the pre-stored profile library has been updated to the latest version of the profile library.

[0026] A second aspect of the present application provides a network connection device, the device comprising:

[0027] A detection unit, used to detect the connection status of the current network;

[0028] A scanning unit, configured to scan and obtain neighboring cell information if the current network is in an unconnected state, wherein the neighboring cell information includes a combination of a mobile country code and a mobile network code;

[0029] a search unit, configured to search a target profile matching the combination of the mobile country code and the mobile network code from a pre-stored profile library;

[0030] A connection unit is used to perform a network connection based on the target profile.

[0031] A third aspect of the present application provides a network connection device, the device comprising:

[0032] Processor, memory, input-output unit, and bus;

[0033] The processor is connected to the memory, the input and output unit, and the bus;

[0034] The memory stores a program, and the processor calls the program to execute the first aspect and any optional method in the first aspect.

[0035] A fourth aspect of the present application provides a computer-readable storage medium, on which a program is stored. When the program is executed on a computer, the program executes the first aspect and any optional method in the first aspect.

[0036] It can be seen from the above technical solutions that this application has the following advantages:

[0037] When the device cannot connect to the Internet in a new area, the device can search for a target profile that matches the combination of the mobile country code and the mobile network code from the pre-stored profile library to complete the profile switching and automatically complete the neighboring area information switching according to the network connection status. There is no need to manually download the profile, which saves time and manpower, is more convenient and quick, and improves the efficiency of equipment commissioning. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solution in the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0039] Figure 1 A schematic diagram of an embodiment of the network connection method provided by the present application;

[0040] Figure 2 A schematic diagram of an embodiment of a flow chart of matching a target profile in a network connection method provided in the present application;

[0041] Figure 3 A schematic diagram of an embodiment of a flow chart after a successful network connection in the network connection method provided by the present application;

[0042] Figure 4 A schematic diagram of the structure of an embodiment of the network connection device provided by the present application;

[0043] Figure 5 A schematic diagram of the structure of another embodiment of the network connection device provided in the present application. DETAILED DESCRIPTION

[0044] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0045] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0046] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0047] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0048] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0049] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0050] eSIM is an electronic SIM card. It is a data file that can be downloaded to a mobile terminal through the Internet. The application scope of eSIM technology is very wide, covering various application scenarios such as sports, family, medical care, entertainment, education, etc. Mobile phones can also use eSIM to easily achieve dual-card dual standby, and users can access two or even three operators at the same time, and voice and data can also be achieved using different numbers.

[0051] Under existing technical conditions, for eSIM devices, when it is transferred from location A to location B, it is necessary to manually download the profile before it can connect to the network and be put into use. If the network condition is poor or the profile is large, manual downloading is very time-consuming and labor-intensive, and requires specialized personnel to operate the download process, which brings a lot of inconvenience and seriously affects the efficiency of the device's use. In addition, during the download process, the file may be partially damaged due to network fluctuations, or the device may not be able to connect to the network normally due to operator errors, which in turn affects the normal use of the device.

[0052] Based on this, the present application discloses a network connection method, device and storage medium for helping eSIM devices to access the network and complete device network access.

[0053] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0054] The method of the present application can be applied to an eSIM device, and is described below using an eSIM device as an example.

[0055] See also Figure 1 The present application first provides an embodiment of a network connection method, which comprises the following steps:

[0056] S101, detecting the connection status of the current network;

[0057] The connection status of the network can reflect whether the user can obtain the required information and content through the network. Therefore, before obtaining other information, you need to check the network connection status of the current eSIM device. Specifically, for devices that support the eSIM function, enter the settings menu of the eSIM device, find the network option in the settings menu, and view the relevant information about the eSIM card in the network settings page. If a signal strength indicator bar is displayed, and the network type is clearly displayed, and there is an operator name logo, the eSIM device is in a normal network state. If "No Service" is displayed or the relevant network logo is missing, it is not in a normal network state.

[0058] S102: If the current network is not connected, scan and obtain neighboring cell information, where the neighboring cell information includes a combination of a mobile country code and a mobile network code;

[0059] The eSIM device is equipped with a network status monitoring module, which continuously monitors the network connection status of the eSIM device. When it detects that the current network is not connected, it will trigger the subsequent neighbor information scanning operation.

[0060] The eSIM device starts a dedicated wireless signal scanning module, which can perform a comprehensive scan within the frequency band of the eSIM device and identify the signal characteristics of surrounding base stations by using a specific signal detection algorithm. During the scanning process, signals of different frequency bands and strengths are classified and analyzed to accurately obtain neighboring area information.

[0061] The mobile country code is a code used to identify the country to which a mobile user belongs and is unique worldwide. The mobile network code is used to identify the mobile network operator to which the mobile user belongs. When scanning a neighboring cell signal, the eSIM device can parse the combined information of the mobile country code and the mobile network code from the signal.

[0062] S103, searching a pre-stored profile library for a target profile that matches the combination of the mobile country code and the mobile network code;

[0063] The pre-stored profile library is used to store profiles for different areas. After the eSIM device obtains the mobile country code and mobile network code of the neighboring area, the eSIM device can connect to the pre-stored profile library through the internal network. The profile library stores the target profile that matches the combination of the mobile country code and the mobile network code. The target profile contains specific network access permission settings, security policies, and default parameters for development tools. The eSIM device accurately obtains the matching target profile from the profile library, and then automatically makes relevant settings according to the requirements of the target profile. It should be noted that the network access parameters in the target profile are pre-set during the debugging phase of the eSIM device to ensure the accuracy of network access.

[0064] S104: Connect to the network based on the target profile.

[0065] The network setting module of the eSIM device reads the SSID, password, encryption method and other information in the target profile, and then the access device sends a connection request. After the request is approved, network access is successfully performed.

[0066] In this embodiment, when the eSIM device cannot connect to the Internet in a new area, the eSIM device can complete the profile switching by searching for a target profile that matches the combination of the mobile country code and the mobile network code from a pre-stored profile library, and automatically complete the neighboring area information switching according to the network connection status. There is no need to manually download the profile, which saves time and manpower, is more convenient and quick, and improves the efficiency of the eSIM device being put into use.

[0067] In the above step S103, a target profile matching the combination of the mobile country code and the mobile network code is searched from the pre-stored profile library. Figure 2 , Figure 2 An embodiment for matching a target profile includes the following steps:

[0068] S201, responding to a configuration instruction input by a user on a configuration page;

[0069] The configuration page adopts an intuitive and easy-to-understand interface layout. The page contains various interactive elements such as input boxes, drop-down menus, check boxes, etc., which correspond to different configuration items. Before responding to the configuration command, the system performs permission verification. Different configuration commands correspond to different permission levels. The system of the eSIM device will check whether the current user has the right to execute the input configuration command based on the login identity and permission level of the current user. If the user does not have sufficient permissions, the system will pop up a prompt box indicating insufficient permissions and guide the user to perform permission escalation operations. After the permission verification is passed, the system starts to execute the configuration command and feedback the execution results to the user after the execution is completed.

[0070] S202, configuring the profile library based on the configuration instruction;

[0071] According to the configuration instructions entered by the user, the eSIM device searches the pre-stored profile library and adjusts all its network-related parameters to facilitate subsequent matching of the most appropriate target profile.

[0072] S203, storing a profile library in the built-in eSIM card, where the profile library includes a plurality of profiles, each profile corresponding to a combination of a corresponding mobile country code and a mobile network code;

[0073] The profile library is stored in a specific storage area inside the eSIM card. This library consists of several profiles, each of which contains a series of information adapted to a specific mobile network. This information includes but is not limited to network access parameters, service quality parameters, and network function-related parameters.

[0074] Before building the profile library, it is necessary to collect relevant information about different mobile countries and operator networks. Specifically, this process involves cooperating with mobile network operators in various countries or obtaining information from public standard documents. For each operator's network, determine the combination of its mobile country code and mobile network code; create a corresponding profile based on the collected network information corresponding to each mobile country code and mobile network code combination, and associate each created profile with the corresponding mobile country code and mobile network code combination by setting a specific identification field in the profile; then allocate a dedicated storage area for the profile library and use a suitable storage structure to manage the profile library.

[0075] S204, determining a combination of mobile country codes and mobile network codes with the best signal quality from a plurality of combinations of mobile country codes and mobile network codes;

[0076] Signal strength is an important indicator of signal quality. The eSIM device uses its built-in wireless communication module to measure the network signal strength corresponding to different combinations of mobile country codes and mobile network codes. Accordingly, the eSIM device continuously monitors the signals corresponding to each combination of mobile country code and mobile network code, for example, measuring the signal strength once every certain period of time, and then analyzing the fluctuation range of these measured values. If the fluctuation range of the signal strength is small, it means that the signal is relatively stable; conversely, if the fluctuation range is large, the signal stability is poor. After analyzing the signal stability of each combination of mobile country code and mobile network code, the eSIM device compares the signal strength and signal stability of the mobile country code and mobile network code to find the combination with the highest score. This combination is the mobile country code and mobile network code combination with the best signal quality.

[0077] S205 . Search a pre-stored profile library for a target profile that matches a combination of a mobile country code and a mobile network code with the best signal quality.

[0078] The pre-stored profile library uses an ordered data structure to store multiple profiles, which can be a linked list structure or an array structure. Each profile contains network configuration information corresponding to a specific mobile country code and mobile network code combination.

[0079] In the profile library, each profile has an identification field corresponding to the mobile country code and mobile network code. Starting from the first profile, the mobile country code and mobile network code in the identification field of each profile are checked in turn according to the storage structure. If the mobile country code and mobile network code of a profile are found to be the same as the mobile country code and mobile network code combination with the best signal quality, then the profile is the target profile.

[0080] In this embodiment, by determining the mobile country code and mobile network code combination with the best signal quality, the eSIM device can preferentially connect to the network with the best signal quality, which helps to improve the speed, stability and reliability of network connection, thereby improving the user's communication experience. Searching for a profile that accurately matches a specific mobile country code and mobile network code combination from a pre-stored profile library avoids network connection problems caused by incorrect configuration, and the eSIM device has strict permission verification when configuring the target profile. This execution mechanism effectively prevents damage to the system caused by malicious attacks and misoperation.

[0081] In the above step S104, a network connection is performed based on the target profile. Figure 3 , Figure 3An embodiment after a successful network connection includes the following steps:

[0082] S301, sending a request to an eSIM server associated with an eSIM card to request to obtain the latest version of a profile library;

[0083] After triggering the request, the eSIM device will construct a request message in a standard format and send it to the eSIM server. The request message contains the device's unique identifier, which is used by the server to identify which eSIM card issued the request. The request message also includes the version information of the profile library currently used by the eSIM device, which helps the eSIM server provide the latest version of the profile library according to the specific situation of the eSIM device.

[0084] S302, after obtaining the latest version of the profile library, if it is determined that the pre-stored profile library is not the latest version of the profile library, performing an update operation to update the pre-stored profile library to the latest version of the profile library;

[0085] After obtaining the latest version of the profile library from the eSIM server, the eSIM device will start the version comparison operation. The eSIM device first extracts the pre-stored profile library version information and the obtained latest version of the profile library version information, and then compares them according to the predefined version comparison rules. If the comparison shows that the pre-stored profile library is not the latest version of the profile library, an update operation is performed. Specifically, the latest version of the profile library data obtained from the eSIM server is gradually written to the storage location of the pre-stored profile library. During the writing process, a data integrity verification mechanism is used to ensure the accuracy of each part of the data. When the update operation is successfully completed, the eSIM device notifies the eSIM server that the update is complete so that the eSIM server can perform corresponding records or subsequent operations.

[0086] S303: Generate an update log to record relevant information during the update operation.

[0087] The eSIM device encrypts and stores the generated update logs to prevent the log data from being illegally obtained and tampered with. Only authorized users or system components can access and interpret the log data after providing the correct decryption key. In addition, the eSIM device also has the function of limiting the size of the log.

[0088] The update log records the version number of the profile library pre-stored before the update operation and the version number of the latest version of the profile library obtained from the eSIM server. By comparing the pre-stored version and the latest version, the necessity and extent of the update can be determined. The update log can also record in detail what caused the update operation and the results of the data integrity check during the update process.

[0089] Optionally, after the eSIM device updates the profile library to the latest version, it outputs a prompt message to prompt that the pre-stored profile library has been updated to the latest version of the profile library.

[0090] The output prompt information can clearly inform the user or administrator that the pre-stored profile library has been updated to the latest version and the prompt information contains the updated version number. A notification message can pop up on the screen of the device or the user can choose whether to provide an auditory prompt based on the user's settings.

[0091] In this embodiment, by accurately determining whether the pre-stored profile library is the latest version and updating it in time, it can ensure that the eSIM device always uses the latest configuration information, thereby improving the network connection performance, service availability and security of the device. The update results of the profile library are recorded, and the detailed update log can accurately reflect each link in the update operation process. When the eSIM device has a problem after the update, the technician can quickly locate the problem by checking the update log. Outputting the prompt information of the latest version can enable users to understand the update status of the profile library in a timely and intuitive manner.

[0092] See also Figure 4 , the present application also provides a network connection device, including:

[0093] The detection unit 401 is used to detect the connection status of the current network;

[0094] The scanning unit 402 is used to scan and obtain neighboring cell information if the current network is in an unconnected state, where the neighboring cell information includes a combination of a mobile country code and a mobile network code;

[0095] A search unit 403 is used to search a target profile that matches the combination of the mobile country code and the mobile network code from a pre-stored profile library;

[0096] The connection unit 404 is configured to perform a network connection based on the target profile.

[0097] Specifically, the storage unit 405 is also included:

[0098] The built-in eSIM card stores a profile library, where the profile library includes several profiles, each of which corresponds to a combination of a corresponding mobile country code and a mobile network code.

[0099] Specifically, the configuration unit 406 is also included:

[0100] Respond to the configuration instructions entered by the user on the configuration page;

[0101] Configure the profile library based on the configuration instructions.

[0102] Specifically, the searching unit 403 is further used for:

[0103] Determine a combination of a mobile country code and a mobile network code with the best signal quality from a plurality of combinations of mobile country codes and mobile network codes;

[0104] Search the pre-stored profile library for a target profile that matches the combination of the mobile country code and the mobile network code with the best signal quality.

[0105] Specifically, the request unit 407 is also included:

[0106] Send a request to the eSIM server associated with the eSIM card to request the latest version of the profile library;

[0107] After obtaining the latest version of the profile library, if it is determined that the pre-stored profile library is not the latest version of the profile library, an update operation is performed to update the pre-stored profile library to the latest version of the profile library.

[0108] Specifically, it also includes a generating unit 408:

[0109] Generate an update log to record relevant information during the update operation.

[0110] Specifically, it also includes an output unit 409:

[0111] Output a prompt message to indicate that the pre-stored profile library has been updated to the latest version of the profile library.

[0112] See also Figure 5 , the present application also provides a network connection device, including:

[0113] Processor 501, memory 502, input and output unit 503, bus 504;

[0114] The processor 501 is connected to the memory 502, the input and output unit 503 and the bus 504;

[0115] The memory 502 stores a program, and the processor 501 calls the program to execute any of the above methods.

[0116] The present application also relates to a computer-readable storage medium on which a program is stored, wherein when the program is run on a computer, the computer is caused to execute any of the above methods.

[0117] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0118] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0119] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0120] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0121] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), disk or optical disk and other media that can store program code.

Claims

1. A network connection method, characterized in that: The method comprises: Detect the current network connection status; If the current network is in an unconnected state, scan and obtain neighboring cell information, wherein the neighboring cell information includes a combination of a mobile country code and a mobile network code; Searching a target profile that matches the combination of the mobile country code and the mobile network code from a pre-stored profile library; A network connection is made based on the target profile.

2. The network connection method according to claim 1, characterized in that: Before searching the pre-stored profile library for a target profile that matches the combination of the mobile country code and the mobile network code, the method further includes: A profile library is stored in the built-in eSIM card, wherein the profile library includes a plurality of profiles, and each profile corresponds to a combination of a corresponding mobile country code and the mobile network code.

3. The network connection method according to claim 2, characterized in that: Before storing the profile library in the built-in eSIM card, the method further includes: Respond to the configuration instructions entered by the user on the configuration page; The profile library is configured based on the configuration instructions.

4. The network connection method according to claim 1, characterized in that: If the neighboring cell information includes a plurality of combinations of mobile country codes and mobile network codes, searching a pre-stored profile library for a target profile that matches the combination of the mobile country code and the mobile network code includes: Determine a combination of mobile country code and mobile network code with the best signal quality from the multiple groups of combinations of mobile country code and mobile network code; A target profile matching the combination of the mobile country code and the mobile network code with the best signal quality is searched from a pre-stored profile library.

5. The network connection method according to claim 1, characterized in that: The pre-stored profile library is located in a built-in eSIM card. After the network connection is performed based on the target profile, the method further includes: Send a request to the eSIM server associated with the eSIM card to request the latest version of the profile library; After acquiring the latest version of the profile library, if it is determined that the pre-stored profile library is not the latest version of the profile library, an update operation is performed to update the pre-stored profile library to the latest version of the profile library.

6. The network connection method according to claim 5, characterized in that: After performing the update operation to update the pre-stored profile library to the latest version of the profile library, the method further includes: Generate an update log to record relevant information during the update operation.

7. The network connection method according to claim 5, characterized in that: After performing the update operation to update the pre-stored profile library to the latest version of the profile library, the method further includes: Output a prompt message to prompt that the pre-stored profile library has been updated to the latest version of the profile library.

8. A network-connected device, characterized in that: The device comprises: A detection unit, used to detect the connection status of the current network; A scanning unit, configured to scan and obtain neighboring cell information if the current network is in an unconnected state, wherein the neighboring cell information includes a combination of a mobile country code and a mobile network code; a search unit, configured to search a target profile matching the combination of the mobile country code and the mobile network code from a pre-stored profile library; A connection unit is used to perform a network connection based on the target profile.

9. A network-connected device, characterized in that: The device comprises: Processor, memory, input-output unit, and bus; The processor is connected to the memory, the input and output unit, and the bus; The memory stores a program, and the processor calls the program to execute the network connection method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a program stored thereon, wherein the program, when executed on a computer, performs the network connection method according to any one of claims 1 to 7.