WO2022001554A1 - 配置文件切换方法、装置、计算机设备和存储介质 - Google Patents

配置文件切换方法、装置、计算机设备和存储介质 Download PDF

Info

Publication number
WO2022001554A1
WO2022001554A1 PCT/CN2021/097650 CN2021097650W WO2022001554A1 WO 2022001554 A1 WO2022001554 A1 WO 2022001554A1 CN 2021097650 W CN2021097650 W CN 2021097650W WO 2022001554 A1 WO2022001554 A1 WO 2022001554A1
Authority
WO
WIPO (PCT)
Prior art keywords
configuration file
network
operator configuration
operator
accessing
Prior art date
Application number
PCT/CN2021/097650
Other languages
English (en)
French (fr)
Inventor
赵飞
Original Assignee
深圳市广和通无线股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市广和通无线股份有限公司 filed Critical 深圳市广和通无线股份有限公司
Publication of WO2022001554A1 publication Critical patent/WO2022001554A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0066Transmission or use of information for re-establishing the radio link of control information between different types of networks in order to establish a new radio link in the target network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/32Reselection being triggered by specific parameters by location or mobility data, e.g. speed data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/34Reselection control
    • H04W36/36Reselection control by user or terminal equipment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier

Definitions

  • the present application relates to a configuration file switching method, apparatus, computer equipment and storage medium.
  • eSIM embedded-Subscriber Identity Module, built-in chip subscriber identity card
  • the eSIM card is to embed the traditional SIM card directly into the chip of the terminal, rather than being added to the terminal as a separate removable part. Users can download the communication data of multiple operators so as to freely choose and activate one of the operators to join the network at any time.
  • eSIM cards can be applied to international roaming services. In view of the different coverage of operator networks in different countries and regions, the terminal may be in a roaming state at any time, resulting in high charges. By switching the configuration file, the roaming network is switched to the operator's network with the best local tariff, which can save a lot of communication tariff for the user.
  • a first aspect of the present application provides a configuration file switching method, the method comprising:
  • a configuration file switching device comprising:
  • an access module configured to access the network through the preset first operator configuration file
  • the acquisition module is used to acquire the identity information of the eSIM card when the access network is successful and in a roaming state, and request the server to authenticate the identity information of the eSIM card; when the identity information of the eSIM card is authenticated upon success, obtain the current location, and request from the server a second operator profile that satisfies the optimal conditions at the current location; and
  • a switching module configured to switch the first operator configuration file to the second operator configuration file, and re-access the network through the second operator configuration file.
  • a third aspect of the present application provides a computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the computer program when executed The following steps:
  • a fourth aspect of the present application provides a computer-readable storage medium on which a computer program is stored, wherein the computer program implements the following steps when executed by a processor:
  • FIG. 1 is an application scenario diagram of a configuration file switching method in one embodiment
  • FIG. 2 is a schematic flowchart of a configuration file switching method in one embodiment
  • FIG. 3 is a schematic flowchart of a configuration file switching method in another embodiment
  • FIG. 4 is a structural block diagram of a configuration file switching device in one embodiment
  • FIG. 5 is a structural block diagram of a configuration file switching device in another embodiment
  • FIG. 6 is a diagram of the internal structure of a computer device in one embodiment.
  • the user needs to manually switch the configuration file through the client software installed on the terminal and based on the human-computer interaction interface on the terminal, so as to switch from the roaming network to the local operator network with the best tariff.
  • the current configuration file switching method is cumbersome to operate and cannot switch the configuration file in time, resulting in low efficiency of the configuration file switching.
  • the configuration file switching method provided by this application can be applied to the application environment shown in FIG. 1 .
  • the application environment includes the terminal 102 and the server 104 .
  • the terminal 102 communicates with the server 104 through a network.
  • the terminal 102 may specifically include a desktop terminal or a mobile terminal.
  • the mobile terminal may specifically include at least one of a mobile phone, a tablet computer, a notebook computer, and the like.
  • the server 104 can be implemented by an independent server or a server cluster composed of multiple servers.
  • the terminal 102 accesses the network through the preset first operator configuration file.
  • the terminal 102 obtains the identity information of the eSIM card, and requests the server 104 to authenticate the identity information of the eSIM card.
  • the terminal 102 obtains the current location, and requests from the server 104 a second operator configuration file that satisfies the optimal condition at the current location.
  • the terminal 102 switches the first operator configuration file to the second operator configuration file, and re-accesses the network through the second operator configuration file.
  • a configuration file switching method is provided, and the method is applied to the terminal 102 in FIG. 1 as an example for description, including the following steps:
  • the first operator configuration file is an operator configuration file that is used by default when the terminal accesses the network before the configuration file switching is performed.
  • an eSIM card is built in the terminal, and the eSIM card corresponds to a configuration file. And the first operator configuration file corresponding to the eSIM card is preset in the terminal.
  • the terminal can directly perform network registration through the locally preset first operator configuration file, so that the terminal can access the network.
  • the operator may specifically include at least one of China Mobile, China Telecom, and China Unicom.
  • the configuration file may specifically be a profile (user configuration file) file.
  • the profile file may include at least one information of file system, network access key parameters, auxiliary security domain, and application data.
  • the terminal can monitor the local access to the network. When the terminal detects that the local access network is successful, the terminal can determine the local roaming situation. When it is determined that the terminal is in a roaming state, the terminal can obtain the identity information of the eSIM card in the terminal. Further, the terminal may request the server to authenticate the identity information of the eSIM card.
  • the terminal can obtain the eID (electronic Identity, Citizen Network Electronic Identity) of the eSIM card, and generate an identity information authentication request according to the eID of the eSIM card, and the identity information authentication request carries the eID. Further, the terminal may send the identity information authentication request to the server.
  • the server can receive the identity information authentication request, and authenticate the identity information of the corresponding eSIM based on the eID carried in the identity information authentication request. The server may generate a corresponding identity information authentication result, and feed back the corresponding identity information authentication result to the terminal.
  • the second operator configuration file is the optimal operator configuration file selected from the server.
  • the terminal can obtain the current location and send the current location to the server.
  • the server may receive the current location and locally look up a second operator profile that satisfies the optimal conditions at the current location. Further, the server may send the found second operator configuration file to the terminal.
  • the terminal may determine the current position through a built-in local GPS system (Global Positioning System, global positioning system).
  • GPS system Global Positioning System, global positioning system
  • more than one operator configuration file is stored in the server, and the second operator configuration file that satisfies the optimal condition is determined through the optimal operator configuration file search step.
  • the terminal obtains the second operator configuration file that satisfies the optimal condition, which may be determined by the server searching for the optimal operator configuration file in more than one local operator configuration file.
  • the optimal operator configuration file search step includes: acquiring network signal information and communication tariff information corresponding to each operator configuration file at the current location; The tariff information is used to determine the score value corresponding to each operator configuration file; the operator configuration file corresponding to the highest score value is determined as the second operator configuration file that satisfies the optimal condition.
  • the network signal information is at the current location, and the network coverage information provided by the operator.
  • the communication charge information is the charge information of the network provided by the operator at the current location.
  • each operator configuration file may correspond to network signal information and communication charge information respectively.
  • the server can obtain network signal information and communication fee information corresponding to each operator configuration file at the current location according to the current location.
  • the server may determine the score value corresponding to each operator configuration file according to the network signal information and communication tariff information corresponding to each operator configuration file.
  • the server may sort the score values corresponding to each operator profile from high to low. Further, the server may determine the operator configuration file corresponding to the highest score value as the second operator configuration file that satisfies the optimal condition.
  • the network signal information may include at least one of network signal strength, network signal quality, network signal capacity, and the like.
  • the terminal may acquire PLMN (Public Land Mobile Network, Public Land Mobile Network) information of the network registered at the current location. Furthermore, the terminal can determine the network signal information through the PLMN information.
  • PLMN Public Land Mobile Network, Public Land Mobile Network
  • the optimal operator configuration file is selected by determining the network signal information and communication tariff information corresponding to each operator configuration file. In this way, roaming communication charges can be saved to the maximum extent for the user under the premise of ensuring the communication quality of the user.
  • the terminal may perform validity check on the second operator configuration file.
  • the terminal may switch the first operator configuration file to the second operator configuration file that has passed the validity check. Further, the terminal can re-access the network through the second operator profile.
  • a preset first operator configuration file is used to access the network to determine whether it is in a roaming state.
  • obtain the identity information of the eSIM card and request the server to authenticate the identity information of the eSIM card, so as to ensure the validity of the identity information of the eSIM card.
  • the current location is obtained, and a second operator configuration file that satisfies the optimal condition at the current location is requested from the server. Switch the first operator configuration file to the second operator configuration file, and re-access the network through the second operator configuration file.
  • the profile switching can be completed quickly, thereby improving the profile switching efficiency.
  • it can quickly switch to the local optimal operator profile, which can avoid the terminal being in the roaming state for a long time and incurring high costs.
  • the present application can be applied not only to terminals provided with a man-machine interface, but also to terminals not provided with a man-machine interface. Compared with the traditional manual configuration file switching method, the present application has wider application scope.
  • the configuration file switching method further includes: locally querying the pre-stored local optimal operator configuration file at the current location; when the local optimal operator configuration file is queried, configuring the local optimal operator The file is connected to the network; when the local optimal operator configuration file is not queried, the step of accessing the network through the preset first operator configuration file is performed.
  • the local optimal operator configuration file is an operator configuration file selected each time the terminal re-accesses the network.
  • the current location of the terminal can be obtained.
  • the terminal may locally query the pre-stored local optimal operator configuration file at the current location according to the current location.
  • the terminal can obtain the local optimal operator configuration file, and access the network through the local optimal operator configuration file.
  • the terminal may acquire the preset first operator configuration file, and access the network through the preset first operator configuration file.
  • the configuration file switching method further includes: after requesting the second operator configuration file from the server, storing the second operator configuration file locally as the local optimal operator configuration file at the current location.
  • the terminal may monitor in real time the situation of the configuration file request of the second operator that meets the optimal condition. After the terminal detects that the second operator configuration file is requested from the server, the terminal may store the second operator configuration file locally as the local optimal operator configuration file at the current location.
  • the second operator configuration file that satisfies the optimal condition requested from the server is stored locally as the local optimal operator configuration file at the current location. In this way, when the terminal restarts again at the current location, it can directly access the network through the local optimal operator configuration file, which avoids repeated acquisition of the same optimal operator configuration file and saves communication charges.
  • the configuration file switching method further includes: when re-accessing the network through the second operator configuration file fails, switching the second operator configuration file to the first operator configuration file, and returning to the preset first operator configuration file The step of accessing the network with an operator profile continues to be performed; when re-accessing the network through the second operator profile is successful, the server is notified of the success of switching the operator profile, so that the server can monitor the running state of the eSIM card.
  • the terminal can monitor the situation of the local re-access network.
  • the terminal can switch the second operator configuration file to the first operator configuration file, and return to the preset first operator configuration file to connect to the network.
  • the steps to enter the network continue.
  • the terminal detects that the local re-access network through the second operator configuration file is successful, the terminal can generate a message that the operator configuration file is successfully switched, and send the message that the operator configuration file is successfully switched to the server, so as to notify the server to switch operation.
  • the vendor profile was successful.
  • the server can monitor the running state of the eSIM card.
  • the terminal when re-accessing the network through the second operator configuration file fails, the terminal may switch the second operator configuration file to the first operator configuration file, and return to the preset first operator configuration file The step of accessing the network by the file continues to be performed until the number of times of failure to re-access the network reaches the preset number of times, the terminal can re-access the network through the first operator configuration file to avoid the terminal re-accessing through the second operator configuration file After the network fails, it enters an infinite loop where it cannot reconnect to the network.
  • the network by detecting whether the terminal re-accesses the network successfully, when the re-access to the network fails, the network can be reconnected in time, which further improves the switching efficiency of the configuration file. And when the re-access to the network is successful, the server can be notified in time to monitor the running status of the eSIM card, which is convenient for real-time tracking of the eSIM card.
  • the configuration file switching method further includes: after accessing the network through the first operator configuration file, starting a timed task; executing the timed task to check whether the access to the network is successful; when the network access is successful, checking Whether it is in a roaming state; when in a roaming state, perform the steps of obtaining the identity information of the eSIM card and requesting the server to authenticate the identity information of the eSIM card; when not in a roaming state, return to perform a scheduled task to check the access network success or not.
  • the timing task is a task of checking whether the terminal successfully accesses the network after every preset time period.
  • the terminal can set a timed task to check whether the local network successfully accesses the network. After accessing the network through the first operator configuration file, the terminal may start a scheduled task. After the scheduled task is started, the terminal executes the scheduled task to check whether the access to the network is successful. That is, whether the terminal successfully accesses the network is rechecked after every preset time period. After monitoring the successful access to the network, the terminal can check whether it is in a roaming state. When in the roaming state, the terminal can perform the steps of acquiring the identity information of the eSIM card and requesting the server to authenticate the identity information of the eSIM card. When not in the roaming state, the terminal may return to the step of performing a timed task to check whether the access to the network is successful.
  • the network access situation can be determined in time.
  • the switching efficiency of the configuration file is further improved.
  • the configuration file switching method further includes: after accessing the network through the first operator configuration file, acquiring interaction information generated by the terminal interacting with the network after successfully accessing the network; checking the current location based on the interaction information Consistency with the home location of the eSIM card; when the current location is consistent with the home location of the eSIM card, it is determined to be in a roaming state.
  • the interaction information is information generated by the terminal interacting with the network after successfully accessing the network.
  • the terminal can generate corresponding interaction information by interacting with the network after successfully accessing the network. After accessing the network through the first operator configuration file, the terminal can obtain interaction information generated by the terminal interacting with the network after successfully accessing the network. The terminal can determine the home of the built-in eSIM card in the terminal. Furthermore, the terminal can check the consistency between the current location and the home of the eSIM card based on the interaction information. When the terminal checks that the current location is consistent with the home of the eSIM card, it can be determined that the terminal is in a roaming state.
  • the consistency between the current location and the home of the eSIM card is checked through the exchange information to determine whether the terminal is in a roaming state. In this way, the switching efficiency of the configuration files is further improved.
  • the terminal can access the network through a preset profile.
  • the terminal can start a scheduled task and execute the scheduled task to detect whether the terminal has access to the network.
  • the terminal can detect whether it is in a roaming state.
  • the terminal may return to the step of accessing the network through the preset profile.
  • the terminal can read the EID of the eSIM card and initiate an identity information authentication request to the card dealer's backend server.
  • the card dealer's back-end server can authenticate the identity information of the eSIM card through the EID.
  • the card dealer's back-end server can send an authentication success message to the terminal.
  • the terminal can obtain the GPS information of the current location and the PLMN information corresponding to the current location.
  • the terminal can generate a profile acquisition request based on the GPS information of the current location and the PLMN information corresponding to the current location, and send it to the card dealer's background server.
  • the card dealer's background server can select the eSIM card profile with the optimal current location from the resource pool according to the GPS information of the current location and the PLMN information corresponding to the current location, and send it to the terminal.
  • the terminal can receive and verify the profile found, and save the preferred profile after the verification.
  • the terminal can switch the eSIM card from the preset profile to the preferred profile, and re-enter the network through the preferred profile.
  • the terminal can check whether the local re-access to the network is successful. When re-accessing to the network is successful, the terminal can notify the card dealer that the background server configuration file switching is successful. When re-accessing the network fails, the terminal can switch the selected configuration file to the preset profile to re-access the network, and return to the step of detecting whether the terminal accesses the network through a timed task until it succeeds in re-entering the network through the preferred profile.
  • FIGS. 2 and 3 are shown in sequence, these steps are not necessarily performed in sequence. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in the above-mentioned FIG. 2 and FIG. 3 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. These sub-steps Alternatively, the order of execution of the stages is not necessarily sequential, but may be performed alternately or alternately with other steps or sub-steps of other steps or at least a portion of a stage.
  • a configuration file switching apparatus 400 including: an access module 401, an acquisition module 402 and a switching module 403, wherein:
  • the access module 401 is configured to access the network through a preset first operator configuration file.
  • the obtaining module 402 is used to obtain the identity information of the eSIM card when the access to the network is successful and in a roaming state, and request the server to authenticate the identity information of the eSIM card; when the identity information of the eSIM card is authenticated successfully, obtain the current location, and request a second operator profile that satisfies the optimal conditions at the current location from the server.
  • the switching module 403 is configured to switch the first operator configuration file to the second operator configuration file, and re-access the network through the second operator configuration file.
  • the switching module 403 is further configured to switch the second operator configuration file to the first operator configuration file when re-accessing the network through the second operator configuration file fails, and return to the preset first operator configuration file The step of accessing the network by the operator profile continues to be performed; when the second operator profile is successfully re-accessed to the network, the server is notified of the success of switching the operator profile, so that the server can monitor the running state of the eSIM card.
  • the access module 401 is further configured to start a timed task after accessing the network through the first operator configuration file; execute the timed task to check whether the access to the network is successful; when the network access is successful, check Whether it is in a roaming state; when in a roaming state, notify the acquisition module to perform the steps of acquiring the identity information of the eSIM card and request the server to authenticate the identity information of the eSIM card; when not in a roaming state, return to perform a scheduled task to check The steps for whether the access to the network is successful.
  • the obtaining module 402 is further configured to obtain interaction information generated by the terminal interacting with the network after successfully accessing the network after accessing the network through the first operator configuration file; Consistency of the home location of the eSIM card; when the current location is consistent with the home location of the eSIM card, it is determined to be in a roaming state.
  • the configuration file switching apparatus 400 further includes: a query module 404 and a storage module 405, wherein:
  • the query module 404 is used to locally query the pre-stored local optimal operator configuration file at the current location; when the local optimal operator configuration file is queried, the access module is notified to access through the local optimal operator configuration file network; when the local optimal operator configuration file is not queried, the access module is notified to perform the step of accessing the network through the preset first operator configuration file.
  • the storage module 405 is configured to store the second operator configuration file locally as the local optimal operator configuration file at the current location after the second operator configuration file is requested from the server.
  • the query module 404 is further configured to obtain network signal information and communication tariff information corresponding to each operator configuration file at the current location; according to the network signal information and communication tariff information corresponding to each operator configuration file, determine Scoring values corresponding to each operator configuration file; the operator configuration file corresponding to the highest scoring value is determined as the second operator configuration file that satisfies the optimal condition.
  • the above configuration file switching device accesses the network through the preset first operator configuration file to determine whether it is in a roaming state.
  • the network successfully and in a roaming state, obtain the identity information of the eSIM card, and request the server to authenticate the identity information of the eSIM card, so as to ensure the validity of the identity information of the eSIM card.
  • the current location is obtained, and a second operator configuration file that satisfies the optimal condition at the current location is requested from the server. Switch the first operator configuration file to the second operator configuration file, and re-access the network through the second operator configuration file. In this way, by automatically switching the operator profile of the terminal in the roaming state to the optimal operator profile in the current roaming area, the profile switching can be completed quickly, thereby improving the profile switching efficiency.
  • Each module in the above configuration file switching device can be implemented in whole or in part by software, hardware and combinations thereof.
  • the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
  • a computer device is provided, and the computer device may be the terminal 102 in FIG. 1 , and its internal structure diagram may be as shown in FIG. 6 .
  • the computer equipment includes a processor, memory, a network interface, a display screen, and an input device connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium, an internal memory.
  • the nonvolatile storage medium stores an operating system and a computer program.
  • the internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium.
  • the network interface of the computer device is used to communicate with an external terminal through a network connection.
  • the computer program implements a configuration file switching method when executed by the processor.
  • the display screen of the computer equipment may be a liquid crystal display screen or an electronic ink display screen
  • the input device of the computer equipment may be a touch layer covered on the display screen, or a button, a trackball or a touchpad set on the shell of the computer equipment , or an external keyboard, trackpad, or mouse.
  • FIG. 6 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
  • a computer device including a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the processor causes the processor to perform the steps of the above method for switching configuration files.
  • the steps of the configuration file switching method here may be the steps in the configuration file switching methods of the foregoing embodiments.
  • a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the processor causes the processor to perform the steps of the above method for switching a configuration file.
  • the steps of the configuration file switching method here may be the steps in the configuration file switching methods of the foregoing embodiments.
  • Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Road (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDRSDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous chain Road (Synchlink) DRAM
  • SLDRAM synchronous chain Road (Synchlink) DRAM
  • Rambus direct RAM
  • DRAM direct memory bus dynamic RAM
  • RDRAM memory bus dynamic RAM

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请涉及一种配置文件切换方法、装置、计算机设备和存储介质。方法包括:通过预置的第一运营商配置文件接入网络。当接入网络成功、且处于漫游状态时,获取eSIM卡的身份信息,并请求服务器对eSIM卡的身份信息进行认证。当对eSIM卡的身份信息认证成功后,获取当前位置,并从服务器请求在当前位置处满足最优条件的第二运营商配置文件。将第一运营商配置文件切换为第二运营商配置文件,并通过第二运营商配置文件重新接入网络。采用本方法能够提升配置文件切换效率。

Description

配置文件切换方法、装置、计算机设备和存储介质
相关申请交叉引用
本申请要求2020年06月28日递交的、标题为“配置文件切换方法、装置、计算机设备和存储介质”、申请号为2020105953019的中国申请,其公开内容通过引用全部结合在本申请中。
技术领域
本申请涉及一种配置文件切换方法、装置、计算机设备和存储介质。
背景技术
随着无线通信技术的发展,出现了eSIM(Embedded-Subscriber Identity Module,内置芯片式用户身份识别卡)卡。eSIM卡是将传统SIM卡直接嵌入到终端的芯片上,而不是作为独立的可移除零部件加入终端中。用户可以下载多个运营商的通信数据从而实现在任意时间自由的选择激活其中一个运营商入网。eSIM卡可应用于国际漫游业务。鉴于不同国家地区的运营商网络的覆盖范围不同,终端随时有可能处于漫游状态,产生高昂的费用。而通过切换配置文件,将漫游网络切换到当地资费最优的运营商网络,可以给用户节省大量的通信资费。
发明内容
根据多个实施例,本申请第一方面提供一种配置文件切换方法,所述方法包括:
通过预置的第一运营商配置文件接入网络;
当接入网络成功、且处于漫游状态时,获取所述eSIM卡的身份信息,并请求服务器对所述eSIM卡的身份信息进行认证;
当对所述eSIM卡的身份信息认证成功后,获取当前位置,并从所述服务器请求在所述当前位置处满足最优条件的第二运营商配置文件;以及
将所述第一运营商配置文件切换为所述第二运营商配置文件,并通过所述第二运营商配置文件重新接入网络。
根据多个实施例,本申请第二方面提供一种配置文件切换装置,所述装置包括:
接入模块,用于通过预置的第一运营商配置文件接入网络;
获取模块,用于当接入网络成功、且处于漫游状态时,获取所述eSIM卡的身份信息,并请求服务器对所述eSIM卡的身份信息进行认证;当对所述eSIM卡的身份信息认证成功后,获取当前位置,并从所述服务器请求在所述当前位置处满足最优条件的第二运营商配置文件;以及
切换模块,用于将所述第一运营商配置文件切换为所述第二运营商配置文件,并通过所述第二运营商配置文件重新接入网络。
根据多个实施例,本申请第三方面提供一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中所述处理器执行所述计算机程序时实现以下步骤:
通过预置的第一运营商配置文件接入网络;
当接入网络成功、且处于漫游状态时,获取所述eSIM卡的身份信息,并请求服务器对所述eSIM卡的身份信息进行认证;
当对所述eSIM卡的身份信息认证成功后,获取当前位置,并从所述服务器请求在所述当前位置处满足最优条件的第二运营商配置文件;以及
将所述第一运营商配置文件切换为所述第二运营商配置文件,并通过所述第二运营商配置文件重新接入网络。
根据多个实施例,本申请第四方面提供一种计算机可读存储介质,其上存储有计算机程序,其中所述计算机程序被处理器执行时实现以下步骤:
通过预置的第一运营商配置文件接入网络;
当接入网络成功、且处于漫游状态时,获取所述eSIM卡的身份信息,并请求服务器对所述eSIM卡的身份信息进行认证;
当对所述eSIM卡的身份信息认证成功后,获取当前位置,并从所述服务器请求在所述当前位置处满足最优条件的第二运营商配置文件;以及
将所述第一运营商配置文件切换为所述第二运营商配置文件,并通过所述第二运营商配置文件重新接入网络。
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征和优点将从说明书、附图以及权利要求书变得明显。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1为一个实施例中配置文件切换方法的应用场景图;
图2为一个实施例中配置文件切换方法的流程示意图;
图3为另一个实施例中配置文件切换方法的流程示意图;
图4为一个实施例中配置文件切换装置的结构框图;
图5为另一个实施例中配置文件切换装置的结构框图;
图6为一个实施例中计算机设备的内部结构图。
具体实施方式
传统技术中,用户到达漫游地后,需要通过终端上安装的客户端软件,基于终端上的人机交互界面进行手动切换配置文件,以实现从漫游网络切换到当地资费最优的运营商网络。然而,目前的配置文件切换方法,操作繁琐,不能及时切换配置文件,从而导致配置文件切换效率低。
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
本申请提供的配置文件切换方法,可以应用于如图1所示的应用环境中。该应用环境包括终端102和服务器104。终端102与服务器104通过网络进行通信。其中,终端102具体可以包括台式终端或移动终端。移动终端具体可以包括手机、平板电脑和笔记本电脑等中的至少一种。服务器104可以用独立的服务器或者是多个服务器组成的服务器集群来实现。本领域技术人员可以理解,图1中示出的应用环境,仅仅是与本申请方案相关的部分场景,并不构成对本申请方案应用环境的限定。
终端102通过预置的第一运营商配置文件接入网络。当接入网络成功、且处于漫游状态时,终端102获取eSIM卡的身份信息,并请求服务器104对eSIM卡的身份信息进行认证。当对eSIM卡的身份信息认证成功后,终端102获取当前位置,并从服务器104请求在当前位置处满足最优条件的第二运营商配置文件。终端102将第一运营商配置文件切换为第二运营商配置文件,并通过第二运营商配置文件重新接入网络。
在一个实施例中,如图2所示,提供了一种配置文件切换方法,以该方法应用于图1中的终端102为例进行说明,包括以下步骤:
S202,通过预置的第一运营商配置文件接入网络。
其中,第一运营商配置文件是在进行配置文件切换之前,终端接入网络时所默认使用的运营商配置文件。
具体地,终端中内置有eSIM卡,eSIM卡对应有配置文件。且终端中预置有eSIM卡对应的第一运营商配置文件。在终端启动时,终端可直接通过本地预置的第一运营商配置文件进行网络注册,以使终端接入网络。
在一个实施例中,运营商具体可包括中国移动、中国电信和中国联通等中的至少一个。
在一个实施例中,配置文件具体可以是profile(用户配置文件)文件。Profile文件中可包括文件系统、入网密钥参数、辅助安全域和应用数据等中的至少一种信息。
S204,当接入网络成功、且处于漫游状态时,获取eSIM卡的身份信息,并请求服务器对eSIM卡的身份信息进行认证。
具体地,终端可监测本地接入网络的情况。当终端监测到本地接入网络成功时,终端可对本地的漫游情况进行判定。当判定处于漫游状态时,终端可获取终端中eSIM卡的身份信息。进而,终端可请求服务器对eSIM卡的身份信息进行认证。
在一个实施例中,终端可获取eSIM卡的eID(electronic Identity,公民网络电子身份标识),并根据eSIM卡的eID生成身份信息认证请求,身份信息认证请求中携带eID。进而,终端可将身份信息认证请求发送至服务器。服务器可接收身份信息认证请求,并基于身份信息认证请求中携带eID的对 相应的eSIM的身份信息进行认证。服务器可生成对应的身份信息认证结果,并将对应的身份信息认证结果反馈给终端。
S206,当对eSIM卡的身份信息认证成功后,获取当前位置,并从服务器请求在当前位置处满足最优条件的第二运营商配置文件。
其中,第二运营商配置文件是从服务器中选择出来的最优运营商配置文件。
具体地,当对eSIM卡的身份信息认证成功后,终端可获取当前位置,并将当前位置发送给服务器。服务器可接收当前位置,并在本地查找在当前位置处满足最优条件的第二运营商配置文件。进而,服务器可将查找到的第二运营商配置文件发送给终端。
在一个实施例中,终端可通过内置于本地的GPS系统(Global Positioning System,全球定位系统),确定当前位置。
在一个实施例中,服务器中存储有多于一个的运营商配置文件,满足最优条件的第二运营商配置文件通过最优运营商配置文件查找步骤确定。
具体地,服务器中存储有多于一个的运营商配置文件。终端获取满足最优条件的第二运营商配置文件,可通过服务器在本地多于一个的运营商配置文件中,查找最优运营商配置文件来确定。
在一个实施例中,最优运营商配置文件查找步骤包括:获取当前位置处各运营商配置文件各自对应的网络信号信息和通信资费信息;根据各运营商配置文件各自对应的网络信号信息和通信资费信息,确定各运营商配置文件所对应的评分值;将最高的评分值对应的运营商配置文件,确定为满足最优条件的第二运营商配置文件。
其中,网络信号信息在当前位置处,运营商所提供的网络覆盖信息。通信资费信息是在当前位置处,运营商的所提供的网络的收费信息。
具体地,各运营商配置文件可分别对应有网络信号信息和通信资费信息。将当前位置发送至服务器之后,服务器可根据当前位置,获取当前位置处各运营商配置文件各自对应的网络信号信息和通信资费信息。服务器可根据各运营商配置文件各自对应的网络信号信息和通信资费信息,确定各运营商配置文件所对应的评分值。服务器可将各运营商配置文件所对应的评分值进行从高到低的排序。进而,服务器可将最高的评分值对应的运营商配置文件, 确定为满足最优条件的第二运营商配置文件。
在一个实施例中,网络信号信息可包括网络信号强度、网络信号质量和网络信号容量等中的至少一种。
在一个实施例中,终端可获取在当前位置处所注册网络的PLMN(Public Land Mobile Network,公共陆地移动网)信息。进而,终端可通过PLMN信息,确定网络信号信息。
上述实施例中,通过确定各运营商配置文件各自对应的网络信号信息和通信资费信息,选择最优的运营商配置文件。这样,可在保证用户通信质量的前提下,为用户最大限度地节省漫游通信资费。
S208,将第一运营商配置文件切换为第二运营商配置文件,并通过第二运营商配置文件重新接入网络。
具体地,终端从服务器请求在当前位置处满足最优条件的第二运营商配置文件之后,可对第二运营商配置文件进行有效性校验。终端可将第一运营商配置文件切换为通过有效性校验的第二运营商配置文件。进而,终端可通过第二运营商配置文件重新接入网络。
上述配置文件切换方法中,通过预置的第一运营商配置文件接入网络,以判断是否处于漫游状态。当接入网络成功、且处于漫游状态时,获取eSIM卡的身份信息,并请求服务器对eSIM卡的身份信息进行认证,以保证eSIM卡的身份信息的有效性。当对eSIM卡的身份信息认证成功后,获取当前位置,并从服务器请求在当前位置处满足最优条件的第二运营商配置文件。将第一运营商配置文件切换为第二运营商配置文件,并通过第二运营商配置文件重新接入网络。这样,通过将处于漫游状态下的终端的运营商配置文件,自动切换为当前漫游地区最优的运营商配置文件,可快速完成配置文件的切换,从而提升了配置文件切换效率。同时,达到漫游地后快速切换到当地最优的运营商配置文件,可避免终端长时间处于漫游状态,产生高昂费用。
以及,本申请不仅可以适用于设置有人机交换界面的终端,也可适用于未设置有人机交互界面的终端,相较于传统手动的配置文件切换方法,本申请的适用面更广。
在一个实施例中,配置文件切换方法还包括:在本地查询预先存储的当 前位置处的本地最优运营商配置文件;当查询到本地最优运营商配置文件时,通过本地最优运营商配置文件接入网络;当未查询到本地最优运营商配置文件时,执行通过预置的第一运营商配置文件接入网络的步骤。
其中,本地最优运营商配置文件是终端在每次重接入网络时所选择出来的运营商配置文件。
具体地,终端在启动后,可获取终端所处于的当前位置。终端可根据当前位置,在本地查询预先存储的当前位置处的本地最优运营商配置文件。当查询到本地最优运营商配置文件时,终端可获取本地最优运营商配置文件,并通过本地最优运营商配置文件接入网络。当未查询到本地最优运营商配置文件时,终端可获取预置的第一运营商配置文件,并通过预置的第一运营商配置文件接入网络。
在一个实施例中,配置文件切换方法还包括:当从服务器请求到第二运营商配置文件后,将第二运营商配置文件作为当前位置处的本地最优运营商配置文件存储到本地。
具体地,终端可实时监测满足最优条件的第二运营商配置文件请求情况。当终端监测到从服务器请求到第二运营商配置文件后,终端可将第二运营商配置文件作为当前位置处的本地最优运营商配置文件存储到本地。
上述实施例中,通过将从服务器请求到的满足最优条件的第二运营商配置文件,作为当前位置处的本地最优运营商配置文件存储到本地。这样,在终端当前位置再次重启时,可直接通过本地最优运营商配置文件接入网络,避免了相同最优运营商配置文件的重复获取,节省了通信资费。
在一个实施例中,配置文件切换方法还包括:当通过第二运营商配置文件重新接入网络失败后,将第二运营商配置文件切换为第一运营商配置文件,返回通过预置的第一运营商配置文件接入网络的步骤继续执行;当通过第二运营商配置文件重新接入网络成功后,通知服务器切换运营商配置文件成功,以使服务器对eSIM卡的运行状态进行监控。
具体地,终端可监测本地重接入网络的情况。当终端监测到本地通过第二运营商配置文件重新接入网络失败后,终端可将第二运营商配置文件切换为第一运营商配置文件,并返回通过预置的第一运营商配置文件接入网络的步骤继续执行。当终端监测到本地通过第二运营商配置文件重新接入网络成 功后,终端可生成切换运营商配置文件成功的消息,并将切换运营商配置文件成功的消息发送给服务器,以通知服务器切换运营商配置文件成功。进而,服务器可对eSIM卡的运行状态进行监控。
在一个实施例中,当通过第二运营商配置文件重新接入网络失败后,终端可将第二运营商配置文件切换为第一运营商配置文件,并返回通过预置的第一运营商配置文件接入网络的步骤继续执行,直至重新接入网络失败的次数达到预设次数时,终端可通过第一运营商配置文件重新接入网络,以避免终端通过第二运营商配置文件重新接入网络失败后进入无法重新接入网络的死循环。
上述实施例中,通过检测终端重新接入网络是否成功,在重新接入网络失败时,可及时进行网络重连,进一步提升了配置文件的切换效率。且在重新接入网络成功时,可及时通知服务器对eSIM卡的运行状态进行监控,便于eSIM卡的实时跟踪。
在一个实施例中,配置文件切换方法还包括:当通过第一运营商配置文件接入网络后,启动定时任务;执行定时任务,以检查接入网络是否成功;当接入网络成功后,检查是否处于漫游状态;当处于漫游状态时,执行获取eSIM卡的身份信息,并请求服务器对eSIM卡的身份信息进行认证的步骤;当未处于漫游状态时,返回执行定时任务,以检查接入网络是否成功的步骤。
其中,定时任务是每间隔预设时间段后检查终端是否成功接入网络的任务。
具体地,终端可设置检查本地是否成功入网的定时任务。当通过第一运营商配置文件接入网络后,终端可启动定时任务。定时任务启动后,终端执行定时任务,以检查接入网络是否成功。即,每间隔预设时间段后重新检查终端是否成功接入网络。当监测到接入网络成功后,终端可检查是否处于漫游状态。当处于漫游状态时,终端可执行获取eSIM卡的身份信息,并请求服务器对eSIM卡的身份信息进行认证的步骤。当未处于漫游状态时,终端可返回执行定时任务,以检查接入网络是否成功的步骤。
上述实施例中,通过启动定时任务,可及时对网络的接入情况进行判定。同时,通过判断终端是否处于漫游状态,以根据判断结果执行对应步骤,进一步提升了配置文件的切换效率。
在一个实施例中,配置文件切换方法还包括:当通过第一运营商配置文件接入网络后,获取终端在成功接入网络后与网络进行交互所生成的交互信息;基于交互信息检查当前位置与eSIM卡的归属地的一致性;在当前位置与eSIM卡的归属地一致时,判定处于漫游状态。
其中,交互信息是终端在成功接入网络后与网络进行交互所生成信息。
具体地,终端在成功接入网络后与网络进行交互可生成对应的交互信息。当通过第一运营商配置文件接入网络后,终端可获取终端在成功接入网络后与网络进行交互所生成的交互信息。终端可确定终端中内置的eSIM卡的归属地。进而,终端可基于交互信息检查当前位置与eSIM卡的归属地的一致性。当终端检查到当前位置与eSIM卡的归属地一致时,可判定终端处于漫游状态。
上述实施例中,通过交互信息检查当前位置与eSIM卡的归属地的一致性,以判断终端是否处于漫游状态。这样,进一步提升了配置文件的切换效率。
在一个实施例中,如图3所示,终端开机后,终端可通过预置的profile接入网络。当终端通过预置的profile接入网络时,终端可启动定时任务并执行定时任务,以检测终端是否入网。当终端接入网络成功时,终端可检测是否处于漫游状态。当未处于漫游状态时,终端可返回通过预置的profile接入网络的步骤。当处于漫游状态时,终端可读取eSIM卡的EID,并向卡商后台服务器发起身份信息认证请求。卡商后台服务器可通过EID对eSIM卡的身份信息进行认证当认证成功后,卡商后台服务器可将认证成功消息发送给终端。当终端收到来自卡商的认证成功消息后,可获取当前位置的GPS信息和当前位置对应的PLMN信息。终端可当前位置的GPS信息和当前位置对应的PLMN信息生成获取profile请求,并发送给卡商后台服务器。卡商后台服务器可根据当前位置的GPS信息和当前位置对应的PLMN信息,从资源池中选取当前位置最优的eSIM卡profile,并发送给终端。终端可接收并校验查找到的profile,并保存通过校验后的优选profile。终端可将eSIM卡从预置的profile切换到优选的profile,并通过优选的profile重新入网。终端可检查本地重新接入网络是否成功。当重新接入网络成功时,终端可通知卡商后台服务器配置文件切换成功。当重新接入网络失败时,终端可将选择的配置文件切换为 预置的profile重新接入网络,并返回通过定时任务检测终端是否接入网络的步骤,直至通过优选的profile重新入网成功。
应该理解的是,虽然图2和图3各个步骤按照顺序依次显示,但是这些步骤并不是必然按照顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,上述图2和图3中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
在一个实施例中,如图4所示,提供了一种配置文件切换装置400,包括:接入模块401、获取模块402和切换模块403,其中:
接入模块401,用于通过预置的第一运营商配置文件接入网络。
获取模块402,用于当接入网络成功、且处于漫游状态时,获取eSIM卡的身份信息,并请求服务器对eSIM卡的身份信息进行认证;当对eSIM卡的身份信息认证成功后,获取当前位置,并从服务器请求在当前位置处满足最优条件的第二运营商配置文件。
切换模块403,用于将第一运营商配置文件切换为第二运营商配置文件,并通过第二运营商配置文件重新接入网络。
在一个实施例中,切换模块403还用于当通过第二运营商配置文件重新接入网络失败后,将第二运营商配置文件切换为第一运营商配置文件,返回通过预置的第一运营商配置文件接入网络的步骤继续执行;当通过第二运营商配置文件重新接入网络成功后,通知服务器切换运营商配置文件成功,以使服务器对eSIM卡的运行状态进行监控。
在一个实施例中,接入模块401还用于当通过第一运营商配置文件接入网络后,启动定时任务;执行定时任务,以检查接入网络是否成功;当接入网络成功后,检查是否处于漫游状态;当处于漫游状态时,通知获取模块执行获取eSIM卡的身份信息,并请求服务器对eSIM卡的身份信息进行认证的步骤;当未处于漫游状态时,返回执行定时任务,以检查接入网络是否成功 的步骤。
在一个实施例中,获取模块402还用于当通过第一运营商配置文件接入网络后,获取终端在成功接入网络后与网络进行交互所生成的交互信息;基于交互信息检查当前位置与eSIM卡的归属地的一致性;在当前位置与eSIM卡的归属地一致时,判定处于漫游状态。
参考图5,在一个实施例中,配置文件切换装置400还包括:查询模块404和存储模块405,其中:
查询模块404,用于在本地查询预先存储的当前位置处的本地最优运营商配置文件;当查询到本地最优运营商配置文件时,通知接入模块通过本地最优运营商配置文件接入网络;当未查询到本地最优运营商配置文件时,通知接入模块执行通过预置的第一运营商配置文件接入网络的步骤。
存储模块405,用于当从服务器请求到第二运营商配置文件后,将第二运营商配置文件作为当前位置处的本地最优运营商配置文件存储到本地。
在一个实施例中,查询模块404还用于获取当前位置处各运营商配置文件各自对应的网络信号信息和通信资费信息;根据各运营商配置文件各自对应的网络信号信息和通信资费信息,确定各运营商配置文件所对应的评分值;将最高的评分值对应的运营商配置文件,确定为满足最优条件的第二运营商配置文件。
上述配置文件切换装置,通过预置的第一运营商配置文件接入网络,以判断是否处于漫游状态。当接入网络成功、且处于漫游状态时,获取eSIM卡的身份信息,并请求服务器对eSIM卡的身份信息进行认证,以保证eSIM卡的身份信息的有效性。当对eSIM卡的身份信息认证成功后,获取当前位置,并从服务器请求在当前位置处满足最优条件的第二运营商配置文件。将第一运营商配置文件切换为第二运营商配置文件,并通过第二运营商配置文件重新接入网络。这样,通过将处于漫游状态下的终端的运营商配置文件,自动切换为当前漫游地区最优的运营商配置文件,可快速完成配置文件的切换,从而提升了配置文件切换效率。
关于配置文件切换装置的具体限定可以参见上文中对于配置文件切换方法的限定,在此不再赘述。上述配置文件切换装置中的各个模块可全部或部 分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。
在一个实施例中,提供了一种计算机设备,该计算机设备可以是上述图1中的终端102,其内部结构图可以如图6所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种配置文件切换方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。
本领域技术人员可以理解,图6中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
在一个实施例中,提供了一种计算机设备,包括存储器和处理器,存储器存储有计算机程序,计算机程序被处理器执行时,使得处理器执行上述配置文件切换方法的步骤。此处配置文件切换方法的步骤可以是上述各个实施例的配置文件切换方法中的步骤。
在一个实施例中,提供了一种计算机可读存储介质,存储有计算机程序,计算机程序被处理器执行时,使得处理器执行上述配置文件切换方法的步骤。此处配置文件切换方法的步骤可以是上述各个实施例的配置文件切换方法中的步骤。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流 程,是可以通过计算机程序来指令相关的硬件来完成,的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (16)

  1. 一种配置文件切换方法,应用于终端,所述终端中内置有eSIM卡,所述方法包括:
    通过预置的第一运营商配置文件接入网络;
    当接入网络成功、且处于漫游状态时,获取所述eSIM卡的身份信息,并请求服务器对所述eSIM卡的身份信息进行认证;
    当对所述eSIM卡的身份信息认证成功后,获取当前位置,并从所述服务器请求在所述当前位置处满足最优条件的第二运营商配置文件;以及
    将所述第一运营商配置文件切换为所述第二运营商配置文件,并通过所述第二运营商配置文件重新接入网络。
  2. 根据权利要求1所述的方法,还包括:
    在本地查询预先存储的当前位置处的本地最优运营商配置文件;
    当查询到本地最优运营商配置文件时,通过所述本地最优运营商配置文件接入网络;
    当未查询到本地最优运营商配置文件时,执行所述通过预置的第一运营商配置文件接入网络的步骤;以及
    所述方法还包括:
    当从所述服务器请求到所述第二运营商配置文件后,将所述第二运营商配置文件作为当前位置处的本地最优运营商配置文件存储到本地。
  3. 根据权利要求1所述的方法,还包括:
    当通过所述第二运营商配置文件重新接入网络失败后,将所述第二运营商配置文件切换为所述第一运营商配置文件,返回所述通过预置的第一运营商配置文件接入网络的步骤继续执行;以及
    当通过所述第二运营商配置文件重新接入网络成功后,通知所述服务器切换运营商配置文件成功,以使所述服务器对所述eSIM卡的运行状态进行监控。
  4. 根据权利要求1所述的方法,还包括:
    当通过所述第一运营商配置文件接入网络后,启动定时任务;
    执行所述定时任务,以检查接入网络是否成功;
    当接入网络成功后,检查是否处于漫游状态;
    当处于漫游状态时,执行所述获取所述eSIM卡的身份信息,并请求服务器对所述eSIM卡的身份信息进行认证的步骤;以及
    当未处于漫游状态时,返回所述执行所述定时任务,以检查接入网络是否成功的步骤。
  5. 根据权利要求1所述的方法,还包括:
    当通过所述第一运营商配置文件接入网络后,获取所述终端在成功接入网络后与网络进行交互所生成的交互信息;
    基于所述交互信息检查当前位置与所述eSIM卡的归属地的一致性;以及
    当所述当前位置与所述eSIM卡的归属地一致时,判定处于漫游状态。
  6. 根据权利要求1所述的方法,其中所述服务器中存储有多于一个的运营商配置文件,所述满足最优条件的第二运营商配置文件通过最优运营商配置文件查找步骤确定,所述最优运营商配置文件查找步骤包括:
    获取所述当前位置处各运营商配置文件各自对应的网络信号信息和通信资费信息;
    根据各运营商配置文件各自对应的网络信号信息和通信资费信息,确定各运营商配置文件所对应的评分值;以及
    将最高的评分值对应的运营商配置文件,确定为满足最优条件的第二运营商配置文件。
  7. 根据权利要求1所述的方法,其中所述配置文件是用户配置文件,所述用户配置文件中可包括文件系统、入网密钥参数、辅助安全域和应用数据中的至少一种信息。
  8. 根据权利要求6所述的方法,其中所述网络信号信息可包括网络信号强度、网络信号质量和网络信号容量中的至少一种。
  9. 一种配置文件切换装置,包括:
    接入模块,用于通过预置的第一运营商配置文件接入网络;
    获取模块,用于当接入网络成功、且处于漫游状态时,获取所述eSIM卡的身份信息,并请求服务器对所述eSIM卡的身份信息进行认证;当对所述eSIM卡的身份信息认证成功后,获取当前位置,并从所述服务器请求在所述当前位置处满足最优条件的第二运营商配置文件;以及
    切换模块,用于将所述第一运营商配置文件切换为所述第二运营商配置文件,并通过所述第二运营商配置文件重新接入网络。
  10. 根据权利要求9所述的装置,其中所述切换模块还用于:
    当通过所述第二运营商配置文件重新接入网络失败后,将所述第二运营商配置文件切换为所述第一运营商配置文件,返回所述通过预置的第一运营商配置文件接入网络的步骤继续执行;以及
    当通过所述第二运营商配置文件重新接入网络成功后,通知所述服务器切换运营商配置文件成功,以使所述服务器对所述eSIM卡的运行状态进行监控。
  11. 根据权利要求9所述的装置,其中所述接入模块还用于:
    当通过所述第一运营商配置文件接入网络后,启动定时任务;
    执行所述定时任务,以检查接入网络是否成功;
    当接入网络成功后,检查是否处于漫游状态;
    当处于漫游状态时,执行所述获取所述eSIM卡的身份信息,并请求服务器对所述eSIM卡的身份信息进行认证的步骤;以及
    当未处于漫游状态时,返回所述执行所述定时任务,以检查接入网络是否成功的步骤。
  12. 根据权利要求9所述的装置,其中所述获取模块还用于:
    当通过所述第一运营商配置文件接入网络后,获取所述终端在成功接入网络后与网络进行交互所生成的交互信息;
    基于所述交互信息检查当前位置与所述eSIM卡的归属地的一致性;以及
    当所述当前位置与所述eSIM卡的归属地一致时,判定处于漫游状态。
  13. 根据权利要求9所述的装置,还包括:
    查询模块,用于在本地查询预先存储的当前位置处的本地最优运营商配置文件;当查询到本地最优运营商配置文件时,通知所述接入模块通过所述本地最优运营商配置文件接入网络;当未查询到本地最优运营商配置文件时,通知所述接入模块执行所述通过预置的第一运营商配置文件接入网络的步骤;以及
    存储模块,用于当从所述服务器请求到所述第二运营商配置文件后,将 所述第二运营商配置文件作为当前位置处的本地最优运营商配置文件存储到本地。
  14. 根据权利要求13所述的装置,其中所述服务器中存储有多于一个的运营商配置文件,所述满足最优条件的第二运营商配置文件通过最优运营商配置文件查找步骤确定,所述查询模块还用于:
    获取所述当前位置处各运营商配置文件各自对应的网络信号信息和通信资费信息;
    根据各运营商配置文件各自对应的网络信号信息和通信资费信息,确定各运营商配置文件所对应的评分值;以及
    将最高的评分值对应的运营商配置文件,确定为满足最优条件的第二运营商配置文件。
  15. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现权利要求1至8中任一项所述的方法的步骤。
  16. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1至8中任一项所述的方法的步骤。
PCT/CN2021/097650 2020-06-28 2021-06-01 配置文件切换方法、装置、计算机设备和存储介质 WO2022001554A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010595301.9 2020-06-28
CN202010595301.9A CN111866850A (zh) 2020-06-28 2020-06-28 配置文件切换方法、装置、计算机设备和存储介质

Publications (1)

Publication Number Publication Date
WO2022001554A1 true WO2022001554A1 (zh) 2022-01-06

Family

ID=72989470

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/097650 WO2022001554A1 (zh) 2020-06-28 2021-06-01 配置文件切换方法、装置、计算机设备和存储介质

Country Status (2)

Country Link
CN (1) CN111866850A (zh)
WO (1) WO2022001554A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114584608A (zh) * 2022-02-09 2022-06-03 北信源系统集成有限公司 一种网络切换方法、装置、设备及存储介质
CN114786169A (zh) * 2022-03-02 2022-07-22 北京握奇数据股份有限公司 一种终端切换Profile的方法、eSIM卡及终端
CN115988479A (zh) * 2022-12-16 2023-04-18 中国联合网络通信集团有限公司 基于eUICC的码号变更方法、SM-SR及可读存储介质
CN114584608B (zh) * 2022-02-09 2024-05-24 北信源系统集成有限公司 一种网络切换方法、装置、设备及存储介质

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111866850A (zh) * 2020-06-28 2020-10-30 深圳市广和通无线股份有限公司 配置文件切换方法、装置、计算机设备和存储介质
CN114040458A (zh) * 2021-10-28 2022-02-11 西安广和通无线软件有限公司 运营商网络切换方法、装置、通信模组、终端和存储介质
CN114416204B (zh) * 2022-01-19 2023-10-03 上海龙旗科技股份有限公司 一种用于终端设备读取plmn配置文件的方法与设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457834A (zh) * 2010-10-28 2012-05-16 苹果公司 用于访问控制客户端辅助漫游的方法和装置
CN106162595A (zh) * 2015-04-27 2016-11-23 中兴通讯股份有限公司 虚拟用户识别模块卡的业务数据传输方法、终端及计费系统
US20180109676A1 (en) * 2014-12-01 2018-04-19 Samsung Electronics Co., Ltd. Method and apparatus for performing network registration through a selected component for data service
CN107959951A (zh) * 2017-12-15 2018-04-24 恒宝股份有限公司 eSIM卡、自动切换eSIM卡的配置文件的方法及系统
CN111866850A (zh) * 2020-06-28 2020-10-30 深圳市广和通无线股份有限公司 配置文件切换方法、装置、计算机设备和存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457834A (zh) * 2010-10-28 2012-05-16 苹果公司 用于访问控制客户端辅助漫游的方法和装置
US20180109676A1 (en) * 2014-12-01 2018-04-19 Samsung Electronics Co., Ltd. Method and apparatus for performing network registration through a selected component for data service
CN106162595A (zh) * 2015-04-27 2016-11-23 中兴通讯股份有限公司 虚拟用户识别模块卡的业务数据传输方法、终端及计费系统
CN107959951A (zh) * 2017-12-15 2018-04-24 恒宝股份有限公司 eSIM卡、自动切换eSIM卡的配置文件的方法及系统
CN111866850A (zh) * 2020-06-28 2020-10-30 深圳市广和通无线股份有限公司 配置文件切换方法、装置、计算机设备和存储介质

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114584608A (zh) * 2022-02-09 2022-06-03 北信源系统集成有限公司 一种网络切换方法、装置、设备及存储介质
CN114584608B (zh) * 2022-02-09 2024-05-24 北信源系统集成有限公司 一种网络切换方法、装置、设备及存储介质
CN114786169A (zh) * 2022-03-02 2022-07-22 北京握奇数据股份有限公司 一种终端切换Profile的方法、eSIM卡及终端
CN115988479A (zh) * 2022-12-16 2023-04-18 中国联合网络通信集团有限公司 基于eUICC的码号变更方法、SM-SR及可读存储介质
CN115988479B (zh) * 2022-12-16 2024-04-12 中国联合网络通信集团有限公司 基于eUICC的码号变更方法、SM-SR及可读存储介质

Also Published As

Publication number Publication date
CN111866850A (zh) 2020-10-30

Similar Documents

Publication Publication Date Title
WO2022001554A1 (zh) 配置文件切换方法、装置、计算机设备和存储介质
US20190268155A1 (en) Method for Ensuring Terminal Security and Device
US9894630B2 (en) ADSS enabled global roaming system
WO2020057400A1 (zh) 多卡漫游注册网络的方法、装置、计算机设备和存储介质
US9253638B2 (en) Single card multi-mode multi-operator authentication method and device
JP2013121179A (ja) 端末の周波数帯域を適応させるための方法および端末
CN107197462B (zh) 无线网络类型的检测方法、装置及电子设备
CN112738046B (zh) 一种一键登录的方法、终端及系统服务器
CN109379779B (zh) 拨号联网方法、装置、计算机设备和存储介质
US20220322088A1 (en) Network roaming method, terminal device, and computer readable storage medium
WO2017197757A1 (zh) 一种apn分配方法、装置及终端
CN114257440A (zh) 网络功能服务发现方法、系统以及存储介质
WO2018095079A1 (zh) 一种语音业务的切换方法、装置及移动终端和计算机存储介质
WO2017181465A1 (zh) 一种接入点名称apn的配置方法及装置
CN114244643A (zh) 智能设备的配网方法、装置、系统、设备及存储介质
CN109195203A (zh) 无线局域网的参数配置方法、装置、终端及存储介质
CN112819454A (zh) 支付方法、网关设备、服务器及存储介质
CN114585055B (zh) 车载WiFi接入方法、车辆控制器、云端服务器及移动终端
CN108282784A (zh) 无线网络接入方法、MiFi终端、移动终端及存储介质
CN104113837A (zh) 无线局域网的接入认证方法及装置
CN114050910A (zh) 一种终端授权方法、装置、系统、设备及可读存储介质
CN112235781B (zh) 网络注册方法、设备、装置及存储介质
CN114556891A (zh) 确定设备状态的方法、装置、设备及存储介质
CN112969218B (zh) 网络注册方法、装置、电子设备和存储介质
WO2022062841A1 (zh) 长期演进网络服务的获取方法、装置和计算机设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21831862

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 15.05.23)

122 Ep: pct application non-entry in european phase

Ref document number: 21831862

Country of ref document: EP

Kind code of ref document: A1