WO2018157484A1 - Network configuration method and terminal - Google Patents

Network configuration method and terminal Download PDF

Info

Publication number
WO2018157484A1
WO2018157484A1 PCT/CN2017/086716 CN2017086716W WO2018157484A1 WO 2018157484 A1 WO2018157484 A1 WO 2018157484A1 CN 2017086716 W CN2017086716 W CN 2017086716W WO 2018157484 A1 WO2018157484 A1 WO 2018157484A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
provisioning profile
lpa
euicc
location
Prior art date
Application number
PCT/CN2017/086716
Other languages
French (fr)
Chinese (zh)
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 华为技术有限公司
Priority to CN201780086679.2A priority Critical patent/CN110301146B/en
Publication of WO2018157484A1 publication Critical patent/WO2018157484A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a network configuration method and a terminal.
  • the embedded universal integrated circuit card (eUICC) is a third-generation telecom smart card that allows dynamic downloading and replacement of operator subscription information, and is therefore more and more widely used in the field of communications.
  • the operator proposes to provide a network connection through a provisioning subscription profile on the eUICC.
  • the provisioning profile is a normal carrier contract, which establishes a normal network connection and enables mutual authentication between the device and the network.
  • the provisioning profile can only be used to download an executable subscription information set, but not for accessing other network servers. After the operational profile is activated, other network servers can be accessed. Therefore, how to make the provisioning profile can only be used to download the operational profile, but not to access other network servers, is an urgent problem to be solved.
  • the embodiment of the present application provides a network configuration method and a terminal, which can enable a provisioning profile to be used only for downloading an operational profile, and cannot be used for accessing other network servers.
  • the embodiment of the present application provides a network configuration method, where the method includes: a terminal activating a target preset subscription information set provisioning profile, where the target provisioning profile is used to provide the terminal with an executable executable subscription information set operational profile.
  • Network connection the terminal sets the current network mode in the operating system OS of the terminal to a limited network connection mode, wherein the limited network connection mode is a network mode that only allows the local file assistant LPA to use the network connection, so that the The LPA downloads the operational profile through the network connection.
  • the network configuration method provided by the embodiment of the present application can enable the target provisioning profile to be used only by setting a network mode in which only the LPA in the terminal uses the network connection in the OS of the terminal after the target provisioning profile is activated. Download the operational profile, but not for accessing other web servers.
  • the terminal sets the current network mode to the restricted network connection mode in the OS of the terminal, including: the terminal sets the current network mode in the OS of the terminal through the LPA to the limited network connection mode. .
  • the current network mode can be set to the restricted network connection mode.
  • the terminal sets the current network mode in the OS of the terminal through the LPA to the restricted network.
  • the connection mode includes: setting, by the terminal, an OS verification request of the terminal, whether the current network mode is the first application of the restricted network connection mode is the LPA; if yes, the terminal setting the current network mode in the OS by using the LPA For this restricted network connection mode.
  • the terminal sets the current network mode to the restricted network connection mode in the OS of the terminal, including: the terminal triggers the terminal to set the current network mode in the OS of the terminal by the eUICC to be the received network mode. Limited network connection mode.
  • the current network mode can be set to the restricted network connection mode.
  • the terminal triggers the terminal to set the current network mode in the OS of the terminal to the restricted network connection mode by using the eUICC, including: the terminal sends a refresh message to the modem modem of the terminal by using the eUICC to indicate
  • the modem provisioning profile is activated such that the modem sets the current network mode to the restricted network connection mode at the OS layer of the terminal.
  • the current network mode can be set to the restricted network connection mode.
  • the method further includes: receiving, by the OS, a request message of the second application, where the request message is used for querying a current network connection status; if the second application is the LPA, the terminal sends a first indication to the LPA through the OS, the first indication is used to indicate that the current network connection is available or the first indication is used to indicate the current Network connection mode is available.
  • the current network connection status can be indicated to the LPA.
  • the method further includes: if the second application is not an LPA, the terminal sends a second indication to the second application by using the OS, where the A second indication is used to indicate that the current network connection is not available.
  • the current network connection status can be indicated to other applications outside the LPA.
  • the method further includes: the terminal sending, by using the OS, a first indication to the LPA, where the first indication is used for Indicates that the current network connection is available or the first indication is used to indicate that the currently restricted network is available.
  • the current network connection status can be indicated to the LPA.
  • the method further includes: the terminal sending, by using the OS, a second indication to the application other than the LPA, the second The indication is used to indicate that the current network connection is not available.
  • the current network connection status can be indicated to other applications outside the LPA.
  • the terminal before the terminal activates the target provisioning profile, the terminal further includes: the terminal acquires the country code of the location of the terminal by using the LPA; and the terminal passes the LPA from the at least one provisioning profile according to the correspondence between the provisioning profile and the country code. Selecting a provisioning profile corresponding to the country code of the location of the terminal as the target provisioning profile; or, the terminal selects, by the LPA, a provisioning profile of the country code attributed to the location of the terminal from the at least one provisioning profile as the target provisioning profile; or The terminal selects, by using the LPA, the provisioning profile with the highest priority attributed to the country code of the location of the terminal from the at least one provisioning profile as the target provisioning profile.
  • the terminal can select a target provisioning profile from at least one provisioning profile.
  • the terminal before the terminal activates the target provisioning profile, the terminal further includes: the terminal acquires the country code of the location of the terminal by using the eUICC on the terminal; the terminal according to the correspondence between the provisioning profile and the country code, passes the eUICC from the at least A provisioning profile corresponding to the country code of the location where the terminal is located is selected as the target provisioning profile; or the terminal selects, by the eUICC, a provisioning profile of the country code belonging to the location of the terminal from the at least one provisioning profile as the target Or provisioning profile; or, the terminal selects, by using the eUICC, a provisioning profile with the highest priority attributed to the country code of the location of the terminal from the at least one provisioning profile as the target provisioning profile.
  • the terminal can select a target provisioning profile from at least one provisioning profile.
  • the terminal obtains the country code of the location of the terminal by using the eUICC on the terminal, and the terminal sends a local information acquisition request to the modem of the terminal by using the eUICC, where the local information acquisition request is used to request the terminal.
  • a country code of the location such that the modem obtains the country code, and sends the country code to the eUICC, so that the eUICC receives the country code sent by the modem; or the terminal obtains the country code of the terminal location by using the LPA.
  • the terminal can obtain the country code of the location where the terminal is located.
  • the terminal before the terminal activates the target provisioning profile, the terminal further includes: the terminal acquires the carrier code of the terminal location by using the LPA; and the terminal passes the LPA from the at least one according to the correspondence between the provisioning profile and the operator code.
  • the provisioning profile selects a provisioning profile corresponding to the carrier code of the terminal location as the target provisioning profile; or the terminal selects, by the LPA, a provisioning profile of the carrier code attributed to the location of the terminal from the at least one provisioning profile as the target provisioning Or the terminal selects, by the LPA, the provisioning profile with the highest priority attributed to the carrier code of the location of the terminal from the at least one provisioning profile as the target provisioning profile.
  • the terminal can select a target provisioning profile from at least one provisioning profile.
  • the terminal before the terminal activates the target provisioning profile, the terminal further includes: the terminal acquires the carrier code of the terminal location by using the eUICC on the terminal; and the terminal passes the eUICC according to the correspondence between the provisioning profile and the operator code.
  • the terminal selects, from the at least one provisioning profile, the provisioning profile of the carrier code attributed to the terminal location by using the eUICC as the The target provisioning profile; or the terminal selects, by using the eUICC, the highest priority provisioning profile of the carrier code attributed to the location of the terminal from the at least one provisioning profile as the target provisioning profile.
  • the terminal can select a target provisioning profile from at least one provisioning profile.
  • the terminal obtains the carrier code of the terminal location by using the eUICC on the terminal, and the terminal sends a local information acquisition request to the modem of the terminal by using the eUICC, where the local information acquisition request is used for requesting acquisition.
  • An operator code of the terminal location such that the modem obtains the carrier code, and sends the carrier code to the eUICC, so that the eUICC receives the carrier code sent by the modem; or the terminal obtains the LPA through the LPA.
  • the carrier code of the location of the terminal, and the carrier code is sent to the eUICC, so that the eUICC receives the carrier code sent by the LPA.
  • the terminal can obtain the carrier code of the location of the terminal.
  • the embodiment of the present application provides a terminal, where the terminal has a function of implementing terminal behavior in the foregoing method embodiment.
  • This function can be implemented in hardware or in hardware by executing the corresponding software.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • an embodiment of the present application provides a terminal, including: a processor, a memory, a bus, and a communication interface; the memory is configured to store a computer execution instruction, and the processor is connected to the memory through the bus, when the terminal is running The processor executes the computer-executed instructions stored by the memory to cause the terminal to perform the network configuration method of any of the above first aspects.
  • an embodiment of the present application provides a computer readable storage medium, configured to store computer software instructions used by the terminal, when the computer is running on a computer, to enable the computer to perform any one of the foregoing first aspects.
  • Network configuration method configured to store computer software instructions used by the terminal, when the computer is running on a computer, to enable the computer to perform any one of the foregoing first aspects.
  • an embodiment of the present application provides a computer program product comprising instructions, which when executed on a computer, enable the computer to perform the network configuration method of any one of the above first aspects.
  • an embodiment of the present application provides a chip system, where the chip system includes a processor for supporting a terminal to implement functions involved in the foregoing aspects, such as activating a target provisioning profile.
  • the chip system further includes a memory for holding program instructions and data necessary for the data transmitting device.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • FIG. 1 is a schematic diagram of a logical architecture of a terminal according to an embodiment of the present application
  • FIG. 2 is a network configuration method according to an embodiment of the present application
  • FIG. 3 is a schematic diagram 1 of interaction of a network configuration method according to an embodiment of the present application.
  • FIG. 4 is a schematic diagram 2 of a network configuration method according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic diagram 3 of a network configuration method according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic diagram 4 of interaction of a network configuration method according to an embodiment of the present application.
  • FIG. 7 is a schematic diagram 5 of a network configuration method according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram 1 of a terminal according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram 2 of a terminal according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of a hardware of a terminal according to an embodiment of the present disclosure.
  • the words “first” and “second” are used to distinguish the same or similar items whose functions and functions are substantially the same.
  • the words “first”, “second”, etc. do not limit the quantity and order of execution.
  • the “first” of the first terminal and the “second” of the second terminal in the embodiment of the present application are only used to distinguish different network devices.
  • a schematic diagram of a logical architecture of a terminal 10 provided by an embodiment of the present application includes embedding into a terminal 10 On the eUICC, the modem in the terminal, the operating system (OS) and the application (App lication, APP) layer.
  • the application layer includes at least a Local Profile Assistant (LPA).
  • LPA Local Profile Assistant
  • the application layer may also include other applications, such as application 1, application 2, ..., application n, etc., which is not specifically limited in this embodiment.
  • the network configuration method provided by the embodiment of the present application includes the following steps:
  • the terminal activates a target provisioning profile.
  • the target provisioning profile is used to download an operational profile.
  • the provisioning profile may provide the terminal with a network connection for downloading other operational profiles.
  • the terminal sets the current network mode in the OS of the terminal to a restricted network connection mode.
  • the restricted network connection mode is a network mode in which only the LPA in the terminal is allowed to use the network connection, so that the LPA downloads the operational profile through the network connection.
  • step S201 and step S202 will be elaborated in the following embodiments, and details are not described herein again.
  • the network configuration method provided by the embodiment of the present application can enable the target provisioning profile to be used only for downloading the operational profile by setting the network mode in which only the LPA in the terminal uses the network connection in the OS of the terminal after the target provisioning profile is activated. Cannot be used to access other web servers.
  • the network configuration method relates to LPA, other applications, OS, modem, and eUICC in the logical architecture diagram of the terminal 10 shown in FIG.
  • the interaction includes the following steps:
  • the LPA determines that no network connection is currently available.
  • the LPA reads the current provisioning profile information in the eUICC.
  • the LPA reads the current provisioning profile information in the eUICC, which can be specifically implemented by using steps S302a and S302b:
  • the LPA sends a request for acquiring profile information (GetProfileInfo) to the eUICC, so that the eUICC receives the GetProfileInfo request.
  • the GetProfileInfo request is used to request to obtain the provisioning profile information in the eUICC.
  • the eUICC sends a response message to the LPA in response to the GetProfileInfo request, so that the LPA receives the response message.
  • the response message includes metadata information of a provisioning profile in the eUICC,
  • the metadata information may include at least one of: an identity (ID) of a provisioning profile, an operator to which the provisioning profile belongs, and a country to which the provisioning profile belongs.
  • ID an identity of a provisioning profile
  • an operator to which the provisioning profile belongs an operator to which the provisioning profile belongs
  • a country to which the provisioning profile belongs a country to which the provisioning profile belongs.
  • the metadata information may further include a usage condition of the provisioning profile, for example, the metadata includes a country code or an operator code that uses the provisioning profile. That is, the terminal can use the provisioning profile only when the country code of the terminal location or the carrier code of the terminal location matches the usage condition of the provisioning profile, wherein the country code or the carrier code in the usage condition may be greater than or equal to one. . This embodiment of the present application does not specifically limit this.
  • the LPA obtains location information from the modem.
  • the LPA obtains the location information from the modem, which may be implemented by using steps S303a and S303b:
  • the LPA sends a request for acquiring local information (GetLocalInfo) to the modem, so that the modem receives the GetLocalInfo request.
  • GetLocalInfo is used to request to obtain the location information of the terminal.
  • the modem responds to the GetLocalInfo request and sends a response message to the LPA.
  • the response message includes information about the location of the terminal, such as the country code of the location where the terminal is located and/or the carrier code of the location of the terminal.
  • the LPA selects a target provisioning profile from a provisioning profile in the eUICC according to the country code of the location of the terminal and/or the carrier code of the location of the terminal.
  • the LPA selects a target provisioning profile from the provisioning profile in the eUICC according to the country code of the terminal location, which may include:
  • the LPA selects a provisioning profile corresponding to the country code of the terminal location from the provisioning profile in the eUICC as the target provisioning profile according to the first mapping relationship in the metadata information of the location of the terminal and the obtained provisioning profile in the eUICC.
  • the first mapping relationship includes a correspondence between a provisioning profile and a country code.
  • the first mapping relationship may be indicated by the usage condition of the provisioning profile included in the metadata information, or may be pre-stored in the LPA, which is not specifically limited in this embodiment of the present application.
  • the LPA selects a target provisioning profile from the provisioning profile in the eUICC according to the country code of the terminal location, which may include:
  • the LPA selects the provisioning profile of the country code attributed to the location of the terminal from the provisioning profile in the eUICC as the target provisioning profile according to the country code of the location of the terminal and the metadata information of the provisioning profile in the eUICC.
  • the provisioning profile with the highest priority value of the country code belonging to the location of the terminal is selected as the target provisioning profile.
  • the LPA selects a target provisioning profile from the provisioning profile in the eUICC according to the carrier code of the terminal location, which may include:
  • the LPA selects the provisioning profile corresponding to the carrier code of the terminal location from the provisioning profile in the eUICC as the target provisioning according to the first mapping relationship in the metadata information of the provisioning profile in the eUICC.
  • Profile includes a correspondence between a provisioning profile and an operator code.
  • the first mapping relationship may be indicated by the usage condition of the provisioning profile included in the metadata information, or may be pre-stored in the LPA, which is not specifically limited in this embodiment of the present application.
  • the LPA selects a target provisioning profile from the provisioning profile in the eUICC according to the carrier code of the terminal location, which may include:
  • the LPA selects the provisioning profile of the carrier code attributed to the location of the terminal from the provisioning profile in the eUICC as the target provisioning profile according to the carrier code of the terminal location and the metadata information of the provisioning profile in the eUICC.
  • the LPA selects the provisioning profile with the highest priority of the carrier code attributed to the location of the terminal as the target provisioning profile according to the carrier code of the location of the terminal. .
  • the LPA activates the target provisioning profile according to the profile ID of the selected target provisioning profile.
  • the LPA activation target provisioning profile may be specifically implemented by using steps S305a and S305b:
  • the LPA sends an activation profile request to the eUICC, so that the eUICC receives the enable profile request, where the enable profile request carries an identifier of the target provisioning profile for requesting activation of the target provisioning profile.
  • the eUICC responds to the enable profile request, activates the target provisioning profile, and sends an acknowledgement (OK) message to the LPA.
  • the response message is used to indicate that the target provisioning profile is activated.
  • the terminal can be provided with a network connection for downloading other operational profiles.
  • the LPA sets the current network mode in the OS to a restricted network connection mode.
  • the restricted network connection mode is a network mode in which only the LPA in the terminal is allowed to use the network connection, so that the LPA downloads the operational profile through the network connection.
  • the LPA is configured to set the current network mode to the restricted network connection mode in the OS, and may be implemented by using steps S306a, S306b, S306c, and S306d:
  • the LPA sends a network mode setting request to the OS to cause the OS to receive the network mode setting request.
  • the network mode setting request may be directly performed without any processing, and the embodiment of the present application does not specifically limit this.
  • the OS sends an acknowledgement (OK) message to the LPA.
  • the response message is used to indicate that the network mode setting is successful.
  • the OS in the steps S306a-S306d may be a network connection management function module in the OS layer.
  • the LPA sends a network mode setting request to the OS, which may actually be a network connection management function module of the LPA to the OS layer.
  • Sending a network mode setting request; or, the OS verifies the application signature, in fact, the network connection management function module in the OS layer verifies the application signature; or the OS sends a response message to the LPA, which is actually a network connection management function module in the OS layer.
  • a response message is sent to the LPA, which is described here in a unified manner, and is not described here.
  • steps S307 and S308 are performed;
  • steps S309 to S311 are performed.
  • the other application outside the LPA sends a network status query request to the OS, so that the OS receives the network status query request.
  • the network status query request is used to request a query for the current network connection status.
  • the OS determines that the current network mode is restricted, and the currently requested application is not an LPA, and sends a second indication to the requested application, so that the application receives the second indication.
  • the second indication is for indicating that the current network connection is unavailable.
  • the LPA sends a network status query request to the OS, so that the OS receives the network status query request.
  • the network status query request is used to request a query for the current network connection status.
  • the OS determines that the current network mode is restricted, and the currently requested application is an LPA, and sends a first indication to the LPA, so that the LPA receives the first indication.
  • the first indication is used to indicate that the current network connection is available or The first indication is used to indicate that the currently restricted network connection mode is available.
  • the profile download process is initiated, and the downloaded operational profile is installed in the eUICC, and the target provisioning profile is activated before the downloaded operational profile is activated.
  • the current network connection status may be queried without using an application, but the application including the LPA subscribes to the network status information, so after the network enters the restricted network connection mode, If the mode is switched from the normal network mode to the restricted network connection mode, the OS sends a notification message to the LPA, the notification information is used to indicate that the current network connection is available or the currently limited network connection is available, and the notification information is sent to other applications. Indicates that the current network connection is not available. This embodiment of the present application does not specifically limit the situation.
  • the network configuration method provided by the embodiment of the present application can enable the target provisioning profile to be used only for downloading the operational profile by setting the network mode in which only the LPA in the terminal uses the network connection in the OS of the terminal after the target provisioning profile is activated. Cannot be used to access other web servers.
  • the network configuration method relates to the LPA, other applications, and the OS in the schematic diagram of the logical architecture of the terminal 10 shown in FIG.
  • the interaction between the modem and the eUICC includes the following steps:
  • the triggering terminal sets the current network mode to the restricted network connection mode in the OS of the terminal.
  • the restricted network connection mode is a network mode in which only the LPA in the terminal is allowed to use the network connection, so that the LPA downloads the operational profile through the network connection.
  • the eUICC triggers the terminal to set the current network mode to the restricted network connection mode in the OS of the terminal, which may be implemented by using steps S406a, S406b, S406c, and S406d:
  • the eUICC sends a refresh command to the modem, so that the modem receives the refresh command.
  • the refresh command includes an indication to activate a restricted profile, and the restricted profile for indicating that the modem is currently activated is a provisioning profile.
  • the modem initializes the activated provisioning profile according to the refresh command.
  • the modem sends a notification message to the OS according to the indication of the activation of the restricted profile, so that the OS receives the notification message.
  • the notification message includes indication information for activating the restricted profile, and the restricted profile for indicating that the OS is currently activated is a provisioning profile.
  • the OS sets the current network mode to a restricted network connection mode.
  • the network configuration method provided by the embodiment of the present application can enable the target provisioning profile to be used only for downloading the operational profile by setting the network mode in which only the LPA in the terminal uses the network connection in the OS of the terminal after the target provisioning profile is activated. Cannot be used to access other web servers.
  • the network configuration method relates to the LPA, other applications, and the OS in the schematic diagram of the logical architecture of the terminal 10 shown in FIG.
  • the interaction between the modem and the eUICC includes the following steps:
  • the LPA determines that no network connection is currently available.
  • the LPA obtains location information from the modem.
  • the LPA obtaining the location information from the modem may be specifically implemented by using steps S502a and S502b:
  • LPA sends a request for obtaining local information (Getlocalinfo) to the modem, so that the modem receives the Getlocalinfo request.
  • Getlocalinfo is used to request the location information of the terminal.
  • the S502b and the modem respond to the Getlocalinfo request and send a data response to the LPA.
  • the data response includes information about the location of the terminal, such as the country code of the location of the terminal and/or the carrier code of the location of the terminal.
  • the LPA sends a profile information (Getprofileinfo) request to the eUICC, so that the eUICC receives the Getprofileinfo request.
  • the Getprofileinfo request carries information about the location of the terminal, and is used to request information about the target provisioning profile.
  • the eUICC selects a target provisioning profile from a provisioning profile in the eUICC according to the country code of the location of the terminal and/or the carrier code of the location of the terminal.
  • the eUICC selects a target provisioning profile from the provisioning profile in the eUICC according to the country code of the terminal location, which may include:
  • the eUICC selects a provisioning profile corresponding to the country code of the location of the terminal as the target provisioning profile from the provisioning profile in the eUICC according to the first mapping relationship in the metadata information of the location of the terminal and the provisioning profile in the eUICC.
  • the first mapping relationship includes a correspondence between a provisioning profile and a country code.
  • the first mapping relationship may be indicated by the usage condition of the provisioning profile included in the metadata information, or may be pre-stored in the eUICC, which is not specifically limited in this embodiment of the present application.
  • the eUICC selects a target provisioning profile from the provisioning profile in the eUICC according to the country code of the terminal location, which may include:
  • the eUICC selects a provisioning profile of the country code attributed to the location of the terminal from the provisioning profile in the eUICC as the target provisioning profile according to the country code of the location of the terminal and the metadata information of the provisioning profile in the eUICC.
  • the provisioning profile with the highest priority value of the country code belonging to the location of the terminal is selected as the target provisioning profile.
  • the eUICC selects a target provisioning profile from the provisioning profile in the eUICC according to the carrier code of the terminal location, which may include:
  • the eUICC selects a provisioning profile corresponding to the carrier code of the location of the terminal as the target provisioning profile from the provisioning profile in the eUICC according to the first mapping relationship in the metadata information of the location of the terminal and the provisioning profile in the eUICC.
  • the first mapping relationship includes a correspondence between a provisioning profile and an operator code.
  • the first mapping relationship may be indicated by the usage condition of the provisioning profile included in the metadata information, or may be pre-stored in the eUICC, which is not specifically limited in this embodiment of the present application.
  • the eUICC selects a target provisioning profile from the provisioning profile in the eUICC according to the carrier code of the terminal location, which may include:
  • the eUICC selects the carrier code attributed to the location of the terminal from the current provisioning profile in the eUICC according to the carrier code of the location of the terminal and the metadata information of the provisioning profile in the eUICC.
  • the provisioning profile is used as the target provisioning profile.
  • the provisioning profile having the highest priority attributed to the carrier code of the terminal location is selected as the target provisioning profile.
  • the eUICC sends a data response to the LPA, so that the LPA receives the data response.
  • the data response includes identity (ID) information of the target provisioning profile.
  • the network configuration method provided by the embodiment of the present application can enable the target provisioning profile to be used only for downloading the operational profile by setting the network mode in which only the LPA in the terminal uses the network connection in the OS of the terminal after the target provisioning profile is activated. Cannot be used to access other web servers.
  • the network configuration method relates to the LPA, other applications, and the OS in the schematic diagram of the logical architecture of the terminal 10 shown in FIG. 1 .
  • the interaction between the modem and the eUICC includes the following steps:
  • the network configuration method provided by the embodiment of the present application can enable the target provisioning profile to be used only for downloading the operational profile by setting the network mode in which only the LPA in the terminal uses the network connection in the OS of the terminal after the target provisioning profile is activated. Cannot be used to access other web servers.
  • the network configuration method relates to the LPA, other applications, and the OS in the schematic diagram of the logical architecture of the terminal 10 shown in FIG. 1 .
  • the interaction between the modem and the eUICC includes the following steps:
  • the eUICC determines whether an operational profile is currently available.
  • the eUICC determines that there is no operational profile currently available, and there are multiple current provisioning profiles in the eUICC, the subsequent steps S703-S713 are performed.
  • the eUICC obtains location information from the modem.
  • the eUICC obtains the location information from the modem, which may be implemented by using steps S703a and S703b:
  • the eUICC sends a request for providing local information to the modem, so that the modem receives the provide local information request.
  • the provide local information request is used to request to obtain the location information of the terminal.
  • the S703b and the modem respond to the provide local information request, and send a response message to the eUICC.
  • the response message includes information about the location of the terminal, such as the country code of the location where the terminal is located and/or the carrier code of the location of the terminal.
  • the eUICC selects a target provisioning profile from a current provisioning profile in the eUICC according to the country code of the location of the terminal and/or the carrier code of the location of the terminal.
  • step S704 For the specific implementation of step S704, refer to step S504, and details are not described herein again.
  • the eUICC activates the target provisioning profile.
  • the eUICC sends a refresh command to the modem, so that the modem receives the refresh command.
  • the modem updates the profile information according to the refresh command.
  • the profile information may be updated by the LPA.
  • the LPA For details, refer to step S311, and details are not described herein again.
  • the network configuration method provided by the embodiment of the present application can enable the target provisioning profile to be used only for downloading the operational profile by setting the network mode in which only the LPA in the terminal uses the network connection in the OS of the terminal after the target provisioning profile is activated. Cannot be used to access other web servers.
  • the solution provided by the embodiment of the present application is introduced from the perspective of interaction between logical modules in the terminal. It can be understood that, in order to implement the above functions, the above terminal includes a hardware structure and/or a software module corresponding to each function.
  • the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
  • the embodiment of the present application may divide the function module into the terminal according to the foregoing method example.
  • each function module may be divided according to each function, or two or more functions may be integrated into one processing module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present application is schematic, and is only a logical function division, and the actual implementation may have another division manner.
  • FIG. 8 shows a possible structural diagram of the terminal 80 involved in the above embodiment.
  • the terminal 80 includes an activation module 801 and a setting module 802.
  • the activation module 801 is configured to activate a target provisioning profile, where the target provisioning profile is used to provide the terminal 80 with a network connection of the lower operational profile.
  • the setting module 802 is configured to set a current network mode in the OS of the terminal 80 to a limited network connection mode, where the restricted network connection mode is a network mode that only allows the LPA to use the network connection, so that the LPA downloads the operation through the network connection. Profile.
  • the setting module 802 is specifically configured to: set, by using the LPA, the current network mode in the OS of the terminal 80 to the restricted network connection mode.
  • the setting module 802 is specifically configured to: set, by the OS authentication request of the terminal 80, whether the first application in which the current network mode is the restricted network connection mode is an LPA; if yes, setting the current network mode in the OS by the LPA to be Limited network connection mode.
  • the setting module 802 is specifically configured to: set, by using the eUICC, the current network mode in the OS of the terminal 80 to be a restricted network connection mode.
  • the setting module 802 is specifically configured to: send a refresh message to the modem of the terminal 80 by using the eUICC to indicate that the modem target provisioning profile is activated, so that the modem sets the current network mode to the restricted network connection mode at the OS layer of the terminal 80. .
  • the terminal 80 further includes a receiving module 803 and a sending module 804.
  • the receiving module 803 is configured to: after the setting module 802 sets the current network mode to the restricted network connection mode in the OS of the terminal 80, receive, by the OS, a request message of the second application, where the request message is used to query the current network connection status.
  • the sending module 804 is configured to send, by the OS, a first indication, by the OS, to the LPA, where the first indication is used to indicate that the current network connection is available, or the first indication is used to indicate that the current restricted network connection mode is available. .
  • the sending module 804 is further configured to: after the receiving module 803 receives the request message of the second application by using the OS, if the second application is not the LPA, the second indication is sent by the OS to the second application, where the second indication is used to indicate The current network connection is not available.
  • the terminal 80 further includes a sending module 804.
  • the sending module 804 is configured to send, by the OS, the first indication by the OS to the LPA after the setting module 802 sets the current network mode to the restricted network connection mode in the OS of the terminal 80, where the first indication is used to indicate that the current network connection is available. Or the first indication is for indicating that the currently restricted network is available.
  • the sending module 804 is further configured to: after the setting module 802 sets the current network mode to the restricted network connection mode in the OS of the terminal 80, send, by the OS, a second indication to the application other than the LPA, the second indication Used to indicate that the current network connection is not available.
  • the terminal 80 further includes an obtaining module 805 and a selecting module 806.
  • the obtaining module 805 is configured to obtain the country code of the location of the terminal 80 through the LPA before the activation module 801 activates the target provisioning profile.
  • the selecting module 806 is configured to select, according to the correspondence between the provisioning profile and the country code, the provisioning profile corresponding to the country code of the location where the terminal 80 is located from the at least one provisioning profile by the LPA as the target provisioning profile; or, the selecting module 806, for using the LPA Selecting, from the at least one provisioning profile, a provisioning profile of the country code belonging to the location of the terminal 80 as a target provisioning profile; or, the selecting module 806, for selecting, by the LPA, the priority of the country code belonging to the location of the terminal 80 from the at least one provisioning profile.
  • the highest-level provisioning profile is used as the target provisioning profile.
  • the obtaining module 805 is configured to obtain, by using the eUICC on the terminal 80, the country code of the location of the terminal 80 before the activation module 801 activates the target provisioning profile
  • the selecting module 806 is configured to use the correspondence between the provisioning profile and the country code. Selecting, by the eUICC, a provisioning profile corresponding to the country code of the location of the terminal 80 from the at least one provisioning profile as the target provisioning profile; or, the selecting module 806, for selecting, by using the eUICC, the country code belonging to the location of the terminal 80 from the at least one provisioning profile.
  • the provisioning profile is used as the target provisioning profile; or the selection module is configured to select, by using the eUICC, the highest priority provisioning profile of the country code belonging to the location of the terminal 80 from the at least one provisioning profile as the target provisioning profile.
  • the obtaining module 805 is specifically configured to: send, by using the eUICC, a local information obtaining request to the modem of the terminal 80, where the local information obtaining request is used to request to acquire the country code of the location where the terminal 80 is located, so that the modem obtains the country code, and sends the country code to the eUICC.
  • the country code is sent to enable the eUICC to receive the country code sent by the modem; or the country code of the location where the terminal 80 is located is obtained by the LPA, and the country code is sent to the eUICC, so that the eUICC receives the country code sent by the LPA.
  • the obtaining module 805 is configured to obtain the carrier code of the location of the terminal 80 by using the LPA before the activation module 801 activates the target provisioning profile
  • the selecting module 806 is configured to pass the LPA according to the correspondence between the provisioning profile and the operator code. Selecting, from the at least one provisioning profile, a provisioning profile corresponding to the carrier code of the location of the terminal 80 as the target provisioning profile; or, the selecting module 806, for selecting, by the LPA, the carrier code belonging to the location of the terminal 80 from the at least one provisioning profile.
  • the provisioning profile is used as the target provisioning profile; or the selection module 806 is configured to select, by the LPA, the provisioning profile with the highest priority attributed to the carrier code of the location of the terminal 80 from the at least one provisioning profile as the target provisioning profile.
  • the obtaining module 805 is configured to: before the activation module 801 activates the target provisioning profile, The eUICC on the terminal 80 acquires the carrier code of the location of the terminal 80.
  • the selection module 806 is configured to select the provisioning corresponding to the carrier code of the location of the terminal 80 from the at least one provisioning profile according to the correspondence between the provisioning profile and the carrier code.
  • the profile is used as the target provisioning profile; or the selection module 806 is configured to select, by the eUICC, a provisioning profile of the carrier code attributed to the location of the terminal 80 from the at least one provisioning profile as a target provisioning profile; or, the selection module 806 is configured to pass the eUICC
  • the highest priority provisioning profile attributed to the carrier code of the location of the terminal 80 is selected from the at least one provisioning profile as the target provisioning profile.
  • the obtaining module 805 is specifically configured to: send, by using the eUICC, a local information obtaining request to the modem of the terminal 80, where the local information obtaining request is used to request acquiring the carrier code of the location of the terminal 80, so that the modem obtains the carrier code, and Sending the carrier code to the eUICC, so that the eUICC receives the carrier code sent by the modem; or acquiring the carrier code of the location of the terminal 80 through the LPA, and transmitting the carrier code to the eUICC, so that the eUICC receives the carrier code sent by the LPA. .
  • FIG. 9 shows a possible structural diagram of the terminal 90 involved in the above embodiment.
  • terminal 90 includes a processing module 901.
  • the processing module 901 performs the operations of the activation module 801 and the setting module 802 in FIG. 8 .
  • FIG. 8 For details, refer to the embodiment shown in FIG. 8 , and details are not described herein again.
  • the terminal 90 may further include a communication module 902.
  • the communication module 902 performs the operations of the receiving module 803 and the sending module 804 in FIG. 8 .
  • the processing module 901 further performs the operations of the obtaining module 805 and the selecting module 806 in FIG. 8 .
  • the embodiment shown in FIG. 8 and details are not described herein again.
  • the terminal body is presented in the form of dividing each function module corresponding to each function, or the terminal is presented in the form of dividing each function module in an integrated manner.
  • a “module” herein may refer to a specific application-specific integrated circuit (ASIC), circuitry, a processor and memory that executes one or more software or firmware programs, integrated logic circuitry, and/or other functions that provide the functionality described above. Device.
  • ASIC application-specific integrated circuit
  • the terminal can be implemented in the manner of FIG.
  • FIG. 10 is a schematic diagram showing the hardware structure of a terminal 1000 according to an embodiment of the present application.
  • the terminal 1000 includes at least one processor 1001, a communication bus 1002, a memory 1003, and at least one communication interface 1004.
  • the processor 1001 may be a general central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more for controlling the execution of the program of the present application. integrated circuit.
  • CPU central processing unit
  • ASIC application-specific integrated circuit
  • Communication bus 1002 can include a path for communicating information between the components described above.
  • Communication interface 1004 using any type of transceiver, for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc. .
  • RAN radio access network
  • WLAN wireless local area networks
  • the memory 1003 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type that can store information and instructions.
  • the dynamic storage device can also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, and a disc storage device. (including compressed discs, laser discs, CDs, digital channels) Use of a disc, Blu-ray disc, etc., a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of an instruction or data structure and that can be accessed by a computer, but is not limited thereto.
  • the memory can exist independently and be connected to the processor via a bus.
  • the memory can also be integrated with the processor.
  • the memory 1003 is configured to store application code for executing the solution of the present application, and is controlled by the processor 1001 for execution.
  • the processor 1001 is configured to execute the application code stored in the memory 1003, thereby implementing the network configuration method provided by the foregoing embodiment of the present application.
  • the processor 1001 may include one or more CPUs, such as CPU0 and CPU1 in FIG.
  • the terminal 1000 may include multiple processors, such as the processor 1001 and the processor 1008 in FIG. Each of these processors can be a single-CPU processor or a multi-core processor.
  • a processor herein may refer to one or more devices, circuits, and/or processing cores for processing data, such as computer program instructions.
  • the terminal 1000 may further include an output device 1005 and an input device 1006.
  • Output device 1005 is in communication with processor 1001 and can display information in a variety of ways.
  • the output device 1005 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. Wait.
  • Input device 1006 is in communication with processor 1001 and can accept user input in a variety of ways.
  • input device 1006 can be a mouse, keyboard, touch screen device, or sensing device, and the like.
  • the terminals involved in the embodiments of the present application may include various handheld devices having wireless communication functions, in-vehicle devices, wearable devices, computing devices, or other processing devices connected to the wireless modem.
  • the terminal may also be referred to as a user equipment (UE), a mobile station (MS), a terminal device, and may also include a subscriber unit, a cellular phone, and a smart device.
  • Smart phone, wireless data card, personal digital assistant (PDA) computer, tablet computer, wireless modem (modem), handheld, laptop computer, cordless phone ( The cordless phone) or the wireless local loop (WLL) station, the machine type communication (MTC) terminal, and the like are not specifically limited in this embodiment of the present application.
  • the activation module 801, the setting module 802, the receiving module 803, the sending module 804, the obtaining module 805, and the selecting module 806 in FIG. 8 can be implemented by the processor 1001 and the memory 1003 of FIG. 10, specifically, the activation module. 801.
  • the setting module 802, the receiving module 803, the sending module 804, the obtaining module 805, and the selecting module 806 can be executed by calling the application code stored in the memory 1003 by the processor 1001, which is not limited in this embodiment.
  • the processing module 901 and the communication module 902 in FIG. 9 may be implemented by the processor 1001 and the memory 1003 of FIG. 10.
  • the processing module 901 and the communication module 902 may be called by the processor 1001 in the memory 1003.
  • the stored application code is executed, and the embodiment of the present application does not impose any limitation on this.
  • the terminal provided by the embodiment of the present application can be used to perform the foregoing network configuration method. Therefore, the technical solutions that can be obtained by reference to the foregoing method embodiments are not described herein.
  • the above embodiments it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • a software program it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device that includes one or more servers, data centers, etc. that can be integrated with the media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a Solid State Disk (SSD)) or the like.
  • a magnetic medium eg, a floppy disk, a hard disk, a magnetic tape
  • an optical medium eg, a DVD
  • a semiconductor medium such as a Solid State Disk (SSD)

Landscapes

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

Abstract

Provided are a network configuration method and terminal, for enabling a provisioning profile to only be used for downloading an operational profile, and not for accessing other network servers. The method comprises: a terminal activating a target pre-set provisioning profile, wherein the target provisioning profile is used to provide the terminal with a network connection for downloading an operational profile; and the terminal setting, in an operating system (OS) of the terminal, a current network mode as a limited network connection mode, wherein the limited network connection mode is a network mode only allowing a local paper assistant (LPA) to use the network connection, so that the LPA downloads the operational profile through the network connection.

Description

网络配置方法及终端Network configuration method and terminal
本申请要求于2017年03月01日提交中国专利局、申请号为201710117511.5、发明名称为“一种预置签约信息的实现方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application, filed on March 1, 2017, to the Chinese Patent Office, Application No. 201710117511.5, entitled "A Method for Implementing Pre-set Contract Information", the entire contents of which are incorporated herein by reference. In the application.
技术领域Technical field
本申请涉及通信技术领域,尤其涉及网络配置方法及终端。The present application relates to the field of communications technologies, and in particular, to a network configuration method and a terminal.
背景技术Background technique
嵌入式通用集成电路卡(embedded universal integrated circuit card,eUICC)是第三代电信智能卡,允许动态下载及更换运营商的签约信息,因此在通信领域得到越来越广泛的应用。The embedded universal integrated circuit card (eUICC) is a third-generation telecom smart card that allows dynamic downloading and replacement of operator subscription information, and is therefore more and more widely used in the field of communications.
在目前eUICC的使用场景中,从运营商服务器下载签约对应的签约信息集(profile)需要网络连接,而对于某些类型的设备,如可穿戴设备(wearable device,WD)或传感器设备等,则无法通过无线局域网(wireless local area networks,WLAN)等方式连接网络。基于此,运营商提出通过eUICC上的预置签约信息集(provisioning profile)来提供网络连接。其中,provisioning profile是一个正常的运营商签约,能建立正常的网络连接,可以实现设备与网络之间的相互鉴权。In the current usage scenario of the eUICC, downloading the subscription information profile corresponding to the subscription from the operator server requires a network connection, and for some types of devices, such as a wearable device (WD) or a sensor device, It is not possible to connect to the network through wireless local area networks (WLAN). Based on this, the operator proposes to provide a network connection through a provisioning subscription profile on the eUICC. The provisioning profile is a normal carrier contract, which establishes a normal network connection and enables mutual authentication between the device and the network.
然而,出于网络安全考虑,通常仅希望provisioning profile只能用于下载可执行签约信息集(operational profile),而不能用于访问其它网络服务器。在operational profile被激活之后,才能访问其它网络服务器。因此,如何使得provisioning profile只能用于下载operational profile,而不能用于访问其它网络服务器,是目前亟待解决的问题。However, for network security reasons, it is generally only desirable that the provisioning profile can only be used to download an executable subscription information set, but not for accessing other network servers. After the operational profile is activated, other network servers can be accessed. Therefore, how to make the provisioning profile can only be used to download the operational profile, but not to access other network servers, is an urgent problem to be solved.
发明内容Summary of the invention
本申请实施例提供网络配置方法及终端,能够使得provisioning profile只能用于下载operational profile,而不能用于访问其它网络服务器。The embodiment of the present application provides a network configuration method and a terminal, which can enable a provisioning profile to be used only for downloading an operational profile, and cannot be used for accessing other network servers.
为达到上述目的,本申请实施例采用如下技术方案:To achieve the above objective, the embodiment of the present application adopts the following technical solutions:
第一方面,本申请实施例提供一种网络配置方法,该方法包括:终端激活目标预置签约信息集provisioning profile,其中,该目标provisioning profile用于为该终端提供下载可执行签约信息集operational profile的网络连接;终端在该终端的操作系统OS中设置当前的网络模式为受限网络连接模式,其中,该受限网络连接模式为仅允许本地文件助手LPA使用网络连接的网络模式,以使得该LPA通过该网络连接下载该operational profile。也就是说,本申请实施例提供的网络配置方法,在目标provisioning profile被激活之后,通过在终端的OS中设置仅允许终端中的LPA使用网络连接的网络模式,可以使得目标provisioning profile仅能用于下载operational profile,而不能用于访问其它网络服务器。In a first aspect, the embodiment of the present application provides a network configuration method, where the method includes: a terminal activating a target preset subscription information set provisioning profile, where the target provisioning profile is used to provide the terminal with an executable executable subscription information set operational profile. Network connection; the terminal sets the current network mode in the operating system OS of the terminal to a limited network connection mode, wherein the limited network connection mode is a network mode that only allows the local file assistant LPA to use the network connection, so that the The LPA downloads the operational profile through the network connection. That is, the network configuration method provided by the embodiment of the present application can enable the target provisioning profile to be used only by setting a network mode in which only the LPA in the terminal uses the network connection in the OS of the terminal after the target provisioning profile is activated. Download the operational profile, but not for accessing other web servers.
在一种可能的设计中,终端在该终端的OS中设置当前的网络模式为受限网络连接模式,包括:终端通过LPA在该终端的OS中设置当前的网络模式为该受限网络连接模式。通过该方案,可以设置当前的网络模式为受限网络连接模式。In a possible design, the terminal sets the current network mode to the restricted network connection mode in the OS of the terminal, including: the terminal sets the current network mode in the OS of the terminal through the LPA to the limited network connection mode. . With this scheme, the current network mode can be set to the restricted network connection mode.
在一种可能的设计中,终端通过LPA在该终端的OS中设置当前的网络模式为该受限网 络连接模式,包括:终端通过该终端的OS验证请求设置当前的网络模式为该受限网络连接模式的第一应用是否是该LPA;若是,终端通过该LPA在该OS中设置当前的网络模式为该受限网络连接模式。In a possible design, the terminal sets the current network mode in the OS of the terminal through the LPA to the restricted network. The connection mode includes: setting, by the terminal, an OS verification request of the terminal, whether the current network mode is the first application of the restricted network connection mode is the LPA; if yes, the terminal setting the current network mode in the OS by using the LPA For this restricted network connection mode.
在这一种可能的设计中,终端在该终端的OS中设置当前的网络模式为受限网络连接模式,包括:终端通过eUICC触发该终端在该终端的OS中设置当前的网络模式为该受限网络连接模式。通过该方案,可以设置当前的网络模式为受限网络连接模式。In this possible design, the terminal sets the current network mode to the restricted network connection mode in the OS of the terminal, including: the terminal triggers the terminal to set the current network mode in the OS of the terminal by the eUICC to be the received network mode. Limited network connection mode. With this scheme, the current network mode can be set to the restricted network connection mode.
在一种可能的设计中,终端通过eUICC触发该终端在该终端的OS中设置当前的网络模式为该受限网络连接模式,包括:终端通过eUICC向该终端的调制解调器modem发送refresh消息,以指示modem该目标provisioning profile被激活,以使得该modem在该终端的OS层设置当前的网络模式为该受限网络连接模式。通过该方案,可以设置当前的网络模式为受限网络连接模式。In a possible design, the terminal triggers the terminal to set the current network mode in the OS of the terminal to the restricted network connection mode by using the eUICC, including: the terminal sends a refresh message to the modem modem of the terminal by using the eUICC to indicate The modem provisioning profile is activated such that the modem sets the current network mode to the restricted network connection mode at the OS layer of the terminal. With this scheme, the current network mode can be set to the restricted network connection mode.
在一种可能的设计中,在终端在该终端的OS中设置当前的网络模式为受限网络连接模式之后,还包括:终端通过该OS接收第二应用的请求消息,该请求消息用于查询当前的网络连接状态;若该第二应用是该LPA,终端通过该OS向LPA发送第一指示,该第一指示用于指示当前的网络连接可用或者该第一指示用于指示当前的该受限网络连接模式可用。通过该方案,可以向LPA指示当前的网络连接状态。In a possible design, after the terminal sets the current network mode to the restricted network connection mode in the OS of the terminal, the method further includes: receiving, by the OS, a request message of the second application, where the request message is used for querying a current network connection status; if the second application is the LPA, the terminal sends a first indication to the LPA through the OS, the first indication is used to indicate that the current network connection is available or the first indication is used to indicate the current Network connection mode is available. With this scheme, the current network connection status can be indicated to the LPA.
在一种可能的设计中,在终端通过该OS接收第二应用的请求消息之后,还包括:若该第二应用不是LPA,该终端通过该OS向该第二应用发送第二指示,该第二指示用于指示当前的网络连接不可用。通过该方案,可以向LPA外的其他应用指示当前的网络连接状态。In a possible design, after the terminal receives the request message of the second application by using the OS, the method further includes: if the second application is not an LPA, the terminal sends a second indication to the second application by using the OS, where the A second indication is used to indicate that the current network connection is not available. With this scheme, the current network connection status can be indicated to other applications outside the LPA.
在这一种可能的设计中,在终端在该终端的OS中设置当前的网络模式为受限网络连接模式之后,还包括:终端通过该OS向LPA发送第一指示,该第一指示用于指示当前的网络连接可用或者该第一指示用于指示当前受限的网络可用。通过该方案,可以向LPA指示当前的网络连接状态。In this possible design, after the terminal sets the current network mode to the restricted network connection mode in the OS of the terminal, the method further includes: the terminal sending, by using the OS, a first indication to the LPA, where the first indication is used for Indicates that the current network connection is available or the first indication is used to indicate that the currently restricted network is available. With this scheme, the current network connection status can be indicated to the LPA.
在一种可能的设计中,在终端在该终端的OS中设置当前的网络模式为受限网络连接模式之后,还包括:终端通过该OS向LPA之外的应用发送第二指示,该第二指示用于指示当前的网络连接不可用。通过该方案,可以向LPA外的其他应用指示当前的网络连接状态。In a possible design, after the terminal sets the current network mode to the restricted network connection mode in the OS of the terminal, the method further includes: the terminal sending, by using the OS, a second indication to the application other than the LPA, the second The indication is used to indicate that the current network connection is not available. With this scheme, the current network connection status can be indicated to other applications outside the LPA.
在一种可能的设计中,在终端激活目标provisioning profile之前,还包括:终端通过该LPA获取该终端所在地的国家码;终端根据provisioning profile与国家码的对应关系,通过该LPA从至少一个provisioning profile中选择该终端所在地的国家码对应的provisioning profile作为该目标provisioning profile;或者,该终端通过该LPA从至少一个provisioning profile中选择归属于该终端所在地的国家码的provisioning profile作为该目标provisioning profile;或者,该终端通过该LPA从至少一个provisioning profile中选择归属于该终端所在地的国家码的优先级最高的provisioning profile作为该目标provisioning profile。通过该方案,终端可以从至少一个provisioning profile中选择出目标provisioning profile。In a possible design, before the terminal activates the target provisioning profile, the terminal further includes: the terminal acquires the country code of the location of the terminal by using the LPA; and the terminal passes the LPA from the at least one provisioning profile according to the correspondence between the provisioning profile and the country code. Selecting a provisioning profile corresponding to the country code of the location of the terminal as the target provisioning profile; or, the terminal selects, by the LPA, a provisioning profile of the country code attributed to the location of the terminal from the at least one provisioning profile as the target provisioning profile; or The terminal selects, by using the LPA, the provisioning profile with the highest priority attributed to the country code of the location of the terminal from the at least one provisioning profile as the target provisioning profile. Through this scheme, the terminal can select a target provisioning profile from at least one provisioning profile.
在一种可能的设计中,在终端激活目标provisioning profile之前,还包括:终端通过该终端上的eUICC获取该终端所在地的国家码;终端根据provisioning profile与国家码的对应关系,通过该eUICC从至少一个provisioning profile中选择该终端所在地的国家码对应的provisioning profile作为该目标provisioning profile;或者,终端通过该eUICC从至少一个provisioning profile中选择归属于该终端所在地的国家码的provisioning profile作为该目标 provisioning profile;或者,终端通过该eUICC从至少一个provisioning profile中选择归属于该终端所在地的国家码的优先级最高的provisioning profile作为该目标provisioning profile。通过该方案,终端可以从至少一个provisioning profile中选择出目标provisioning profile。In a possible design, before the terminal activates the target provisioning profile, the terminal further includes: the terminal acquires the country code of the location of the terminal by using the eUICC on the terminal; the terminal according to the correspondence between the provisioning profile and the country code, passes the eUICC from the at least A provisioning profile corresponding to the country code of the location where the terminal is located is selected as the target provisioning profile; or the terminal selects, by the eUICC, a provisioning profile of the country code belonging to the location of the terminal from the at least one provisioning profile as the target Or provisioning profile; or, the terminal selects, by using the eUICC, a provisioning profile with the highest priority attributed to the country code of the location of the terminal from the at least one provisioning profile as the target provisioning profile. Through this scheme, the terminal can select a target provisioning profile from at least one provisioning profile.
在一种可能的设计中,终端通过该终端上的eUICC获取该终端所在地的国家码,包括:终端通过eUICC向该终端的modem发送本地信息获取请求,该本地信息获取请求用于请求获取该终端所在地的国家码,以使得该modem获取该国家码,并向该eUICC发送该国家码,以使得该eUICC接收该modem发送的该国家码;或者,终端通过该LPA获取该终端所在地的国家码,并向该eUICC发送该国家码,以使得该eUICC接收该LPA发送的该国家码。通过该方案,终端可以获取终端所在地的国家码。In a possible design, the terminal obtains the country code of the location of the terminal by using the eUICC on the terminal, and the terminal sends a local information acquisition request to the modem of the terminal by using the eUICC, where the local information acquisition request is used to request the terminal. a country code of the location, such that the modem obtains the country code, and sends the country code to the eUICC, so that the eUICC receives the country code sent by the modem; or the terminal obtains the country code of the terminal location by using the LPA. And transmitting the country code to the eUICC, so that the eUICC receives the country code sent by the LPA. Through this scheme, the terminal can obtain the country code of the location where the terminal is located.
在一种可能的设计中,在终端激活目标provisioning profile之前,还包括:终端通过该LPA获取该终端所在地的运营商码;终端根据provisioning profile与运营商码的对应关系,通过该LPA从至少一个provisioning profile中选择该终端所在地的运营商码对应的provisioning profile作为该目标provisioning profile;或者,终端通过该LPA从至少一个provisioning profile中选择归属于该终端所在地的运营商码的provisioning profile作为该目标provisioning profile;或者,终端通过该LPA从至少一个provisioning profile中选择归属于该终端所在地的运营商码的优先级最高的provisioning profile作为该目标provisioning profile。通过该方案,终端可以从至少一个provisioning profile中选择出目标provisioning profile。In a possible design, before the terminal activates the target provisioning profile, the terminal further includes: the terminal acquires the carrier code of the terminal location by using the LPA; and the terminal passes the LPA from the at least one according to the correspondence between the provisioning profile and the operator code. The provisioning profile selects a provisioning profile corresponding to the carrier code of the terminal location as the target provisioning profile; or the terminal selects, by the LPA, a provisioning profile of the carrier code attributed to the location of the terminal from the at least one provisioning profile as the target provisioning Or the terminal selects, by the LPA, the provisioning profile with the highest priority attributed to the carrier code of the location of the terminal from the at least one provisioning profile as the target provisioning profile. Through this scheme, the terminal can select a target provisioning profile from at least one provisioning profile.
在一种可能的设计中,在终端激活目标provisioning profile之前,还包括:终端通过该终端上的eUICC获取该终端所在地的运营商码;终端根据provisioning profile与运营商码的对应关系,通过该eUICC从至少一个provisioning profile中选择该终端所在地的运营商码对应的provisioning profile作为该目标provisioning profile;或者,终端通过该eUICC从至少一个provisioning profile中选择归属于该终端所在地的运营商码的provisioning profile作为该目标provisioning profile;或者,终端通过该eUICC从至少一个provisioning profile中选择归属于该终端所在地的运营商码的优先级最高的provisioning profile作为该目标provisioning profile。通过该方案,终端可以从至少一个provisioning profile中选择出目标provisioning profile。In a possible design, before the terminal activates the target provisioning profile, the terminal further includes: the terminal acquires the carrier code of the terminal location by using the eUICC on the terminal; and the terminal passes the eUICC according to the correspondence between the provisioning profile and the operator code. Selecting, from the at least one provisioning profile, a provisioning profile corresponding to the carrier code of the terminal location as the target provisioning profile; or, the terminal selects, from the at least one provisioning profile, the provisioning profile of the carrier code attributed to the terminal location by using the eUICC as the The target provisioning profile; or the terminal selects, by using the eUICC, the highest priority provisioning profile of the carrier code attributed to the location of the terminal from the at least one provisioning profile as the target provisioning profile. Through this scheme, the terminal can select a target provisioning profile from at least one provisioning profile.
在一种可能的设计中,终端通过该终端上的eUICC获取该终端所在地的运营商码,包括:终端通过该eUICC向该终端的modem发送本地信息获取请求,该本地信息获取请求用于请求获取该终端所在地的运营商码,以使得该modem获取该运营商码,并向该eUICC发送该运营商码,以使得该eUICC接收该modem发送的该运营商码;或者,该端通过该LPA获取该终端所在地的运营商码,并向该eUICC发送该运营商码,以使得该eUICC接收该LPA发送的该运营商码。通过该方案,终端可以获取终端所在地的运营商码。In a possible design, the terminal obtains the carrier code of the terminal location by using the eUICC on the terminal, and the terminal sends a local information acquisition request to the modem of the terminal by using the eUICC, where the local information acquisition request is used for requesting acquisition. An operator code of the terminal location, such that the modem obtains the carrier code, and sends the carrier code to the eUICC, so that the eUICC receives the carrier code sent by the modem; or the terminal obtains the LPA through the LPA. The carrier code of the location of the terminal, and the carrier code is sent to the eUICC, so that the eUICC receives the carrier code sent by the LPA. Through this scheme, the terminal can obtain the carrier code of the location of the terminal.
第二方面,本申请实施例提供一种终端,该终端具有实现上述方法实施例中终端行为的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a second aspect, the embodiment of the present application provides a terminal, where the terminal has a function of implementing terminal behavior in the foregoing method embodiment. This function can be implemented in hardware or in hardware by executing the corresponding software. The hardware or software includes one or more modules corresponding to the functions described above.
第三方面,本申请实施例提供一种终端,包括:处理器、存储器、总线和通信接口;该存储器用于存储计算机执行指令,该处理器与该存储器通过该总线连接,当该终端运行时,该处理器执行该存储器存储的该计算机执行指令,以使该终端执行如上述第一方面任意一项的网络配置方法。 In a third aspect, an embodiment of the present application provides a terminal, including: a processor, a memory, a bus, and a communication interface; the memory is configured to store a computer execution instruction, and the processor is connected to the memory through the bus, when the terminal is running The processor executes the computer-executed instructions stored by the memory to cause the terminal to perform the network configuration method of any of the above first aspects.
第四方面,本申请实施例提供一种计算机可读存储介质,用于储存为上述终端所用的计算机软件指令,当其在计算机上运行时,使得计算机可以执行上述第一方面中任意一项的网络配置方法。In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, configured to store computer software instructions used by the terminal, when the computer is running on a computer, to enable the computer to perform any one of the foregoing first aspects. Network configuration method.
第五方面,本申请实施例提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机可以执行上述第一方面中任意一项的网络配置方法。In a fifth aspect, an embodiment of the present application provides a computer program product comprising instructions, which when executed on a computer, enable the computer to perform the network configuration method of any one of the above first aspects.
第六方面,本申请实施例提供了一种芯片系统,该芯片系统包括处理器,用于支持终端实现上述方面中所涉及的功能,例如激活目标provisioning profile。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存数据发送设备必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。In a sixth aspect, an embodiment of the present application provides a chip system, where the chip system includes a processor for supporting a terminal to implement functions involved in the foregoing aspects, such as activating a target provisioning profile. In one possible design, the chip system further includes a memory for holding program instructions and data necessary for the data transmitting device. The chip system can be composed of chips, and can also include chips and other discrete devices.
其中,第二方面至第六方面中任一种设计方式所带来的技术效果可参见第一方面中不同设计方式所带来的技术效果,此处不再赘述。For the technical effects brought by any one of the second aspect to the sixth aspect, refer to the technical effects brought by different design modes in the first aspect, and details are not described herein again.
本申请的这些方面或其他方面在以下实施例的描述中会更加简明易懂。These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
附图说明DRAWINGS
图1为本申请实施例提供的终端的逻辑架构示意图;FIG. 1 is a schematic diagram of a logical architecture of a terminal according to an embodiment of the present application;
图2为本申请实施例提供的网络配置方法;FIG. 2 is a network configuration method according to an embodiment of the present application;
图3为本申请实施例提供的网络配置方法交互示意图一;3 is a schematic diagram 1 of interaction of a network configuration method according to an embodiment of the present application;
图4为本申请实施例提供的网络配置方法交互示意图二;FIG. 4 is a schematic diagram 2 of a network configuration method according to an embodiment of the present disclosure;
图5为本申请实施例提供的网络配置方法交互示意图三;FIG. 5 is a schematic diagram 3 of a network configuration method according to an embodiment of the present disclosure;
图6为本申请实施例提供的网络配置方法交互示意图四;FIG. 6 is a schematic diagram 4 of interaction of a network configuration method according to an embodiment of the present application;
图7为本申请实施例提供的网络配置方法交互示意图五;FIG. 7 is a schematic diagram 5 of a network configuration method according to an embodiment of the present disclosure;
图8为本申请实施例提供的终端的结构示意图一;FIG. 8 is a schematic structural diagram 1 of a terminal according to an embodiment of the present disclosure;
图9为本申请实施例提供的终端的结构示意图二;FIG. 9 is a schematic structural diagram 2 of a terminal according to an embodiment of the present disclosure;
图10为本申请实施例提供的终端的硬件结构示意图。FIG. 10 is a schematic structural diagram of a hardware of a terminal according to an embodiment of the present disclosure.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,在本申请的描述中,“多个”是指两个或多于两个。同时,为了便于清楚描述本申请实施例的技术方案,在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分,本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定。比如,本申请实施例中的第一终端的“第一”和第二终端中的“第二”仅用于区分不同的网络设备。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. In the description of the present application, unless otherwise stated, "/" means the meaning of or, for example, A/B may represent A or B; "and/or" herein is merely an association describing the associated object. The relationship indicates that there may be three kinds of relationships, for example, A and/or B, which may indicate that there are three cases where A exists separately, A and B exist at the same time, and B exists separately. In addition, in the description of the present application, "a plurality" means two or more than two. In the meantime, in order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first" and "second" are used to distinguish the same or similar items whose functions and functions are substantially the same. Those skilled in the art will understand that the words "first", "second", etc. do not limit the quantity and order of execution. For example, the “first” of the first terminal and the “second” of the second terminal in the embodiment of the present application are only used to distinguish different network devices.
本申请实施例描述的业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The service scenarios described in the embodiments of the present application are for the purpose of more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute a limitation of the technical solutions provided by the embodiments of the present application. It should be noted that the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.
如图1所示,为本申请实施例提供的终端10的逻辑架构示意图,包括嵌入到终端10 上的eUICC、终端中的调制解调器(modem)、操作系统(Operating System,OS)和应用(App lication,APP)层。其中,应用层中至少包括本地文件助手(Local Profile Assistant,LPA)。当然,应用层中还可能包含其他应用,比如应用1,应用2,……,应用n等,本申请实施例对此不作具体限定。As shown in FIG. 1 , a schematic diagram of a logical architecture of a terminal 10 provided by an embodiment of the present application includes embedding into a terminal 10 On the eUICC, the modem in the terminal, the operating system (OS) and the application (App lication, APP) layer. The application layer includes at least a Local Profile Assistant (LPA). Of course, the application layer may also include other applications, such as application 1, application 2, ..., application n, etc., which is not specifically limited in this embodiment.
下面将结合图1所示的终端10的逻辑架构示意图,对本申请实施例提供的网络配置方法进行具体阐述。The network configuration method provided by the embodiment of the present application will be specifically described below in conjunction with the logical architecture diagram of the terminal 10 shown in FIG.
首先,如图2所示,为本申请实施例提供的网络配置方法,包括如下步骤:First, as shown in FIG. 2, the network configuration method provided by the embodiment of the present application includes the following steps:
S201、终端激活目标provisioning profile。其中,该目标provisioning profile用于下载operational profile。S201. The terminal activates a target provisioning profile. The target provisioning profile is used to download an operational profile.
其中,本申请实施例中,provisioning profile可以为终端提供下载其它可执行文件(operational profile)的网络连接。In the embodiment of the present application, the provisioning profile may provide the terminal with a network connection for downloading other operational profiles.
S202、终端在终端的OS中设置当前的网络模式为受限网络连接模式。S202. The terminal sets the current network mode in the OS of the terminal to a restricted network connection mode.
其中,受限网络连接模式为仅允许终端中的LPA使用网络连接的网络模式,以使得LPA通过该网络连接下载operational profile。The restricted network connection mode is a network mode in which only the LPA in the terminal is allowed to use the network connection, so that the LPA downloads the operational profile through the network connection.
其中,步骤S201和步骤S202的具体实现将在下述实施例中详细阐述,在此不再赘述。The specific implementation of step S201 and step S202 will be elaborated in the following embodiments, and details are not described herein again.
本申请实施例提供的网络配置方法,在目标provisioning profile被激活之后,通过在终端的OS中设置仅允许终端中的LPA使用网络连接的网络模式,可以使得目标provisioning profile仅能用于下载operational profile,而不能用于访问其它网络服务器。The network configuration method provided by the embodiment of the present application can enable the target provisioning profile to be used only for downloading the operational profile by setting the network mode in which only the LPA in the terminal uses the network connection in the OS of the terminal after the target provisioning profile is activated. Cannot be used to access other web servers.
其次,对图2所示的网络配置方法展开说明。Next, the network configuration method shown in FIG. 2 will be described.
如图3所示,为本申请实施例提供的一种网络配置方法,该网络配置方法涉及到图1所示的终端10的逻辑架构示意图中的LPA、其他应用、OS、modem和eUICC之间的交互,包括如下步骤:As shown in FIG. 3, a network configuration method is provided in the embodiment of the present application. The network configuration method relates to LPA, other applications, OS, modem, and eUICC in the logical architecture diagram of the terminal 10 shown in FIG. The interaction includes the following steps:
S301、LPA确定当前无可用的网络连接。S301. The LPA determines that no network connection is currently available.
S302、LPA读取eUICC中当前的provisioning profile信息。S302. The LPA reads the current provisioning profile information in the eUICC.
可选的,如图3所示,LPA读取eUICC中当前的provisioning profile信息具体可以通过步骤S302a和S302b实现:Optionally, as shown in FIG. 3, the LPA reads the current provisioning profile information in the eUICC, which can be specifically implemented by using steps S302a and S302b:
S302a、LPA向eUICC发送获取profile信息(GetProfileInfo)请求,以使得eUICC接收该GetProfileInfo请求。该GetProfileInfo请求用于请求获取eUICC中的provisioning profile信息。S302a. The LPA sends a request for acquiring profile information (GetProfileInfo) to the eUICC, so that the eUICC receives the GetProfileInfo request. The GetProfileInfo request is used to request to obtain the provisioning profile information in the eUICC.
S302b、eUICC响应GetProfileInfo请求,向LPA发送响应消息,以使得LPA接收该响应消息。该响应消息中包括eUICC中的provisioning profile的元数据(metadata)信息,S302b. The eUICC sends a response message to the LPA in response to the GetProfileInfo request, so that the LPA receives the response message. The response message includes metadata information of a provisioning profile in the eUICC,
该元数据信息具体可以包括:provisioning profile的标识(identity,ID),provisioning profile归属的运营商和provisioning profile归属的国家等信息中的至少一个。The metadata information may include at least one of: an identity (ID) of a provisioning profile, an operator to which the provisioning profile belongs, and a country to which the provisioning profile belongs.
可选的,该元数据信息还可以包括provisioning profile的使用条件,例如元数据中还包含使用该provisioning profile的国家码或运营商码。也就是说,只有终端所在地的国家码或终端所在地的运营商码与该provisioning profile的使用条件匹配时,终端才能使用该provisioning profile,其中该使用条件中的国家码或运营商码可以大于等于一个。本申请实施例对此不作具体限定。Optionally, the metadata information may further include a usage condition of the provisioning profile, for example, the metadata includes a country code or an operator code that uses the provisioning profile. That is, the terminal can use the provisioning profile only when the country code of the terminal location or the carrier code of the terminal location matches the usage condition of the provisioning profile, wherein the country code or the carrier code in the usage condition may be greater than or equal to one. . This embodiment of the present application does not specifically limit this.
S303、LPA从modem获取所在地信息。 S303. The LPA obtains location information from the modem.
可选的,如图3所示,LPA从modem获取所在地信息具体可以通过步骤S303a和S303b实现:Optionally, as shown in FIG. 3, the LPA obtains the location information from the modem, which may be implemented by using steps S303a and S303b:
S303a、LPA向modem发送获取本地信息(GetLocalInfo)请求,以使得modem接收该GetLocalInfo请求。该GetLocalInfo请求用于请求获取终端所在地信息。S303a. The LPA sends a request for acquiring local information (GetLocalInfo) to the modem, so that the modem receives the GetLocalInfo request. The GetLocalInfo request is used to request to obtain the location information of the terminal.
S303b、modem响应GetLocalInfo请求,向LPA发送响应消息。该响应消息中包括终端所在地信息,比如,终端所在地的国家码和/或终端所在地的运营商码。S303b. The modem responds to the GetLocalInfo request and sends a response message to the LPA. The response message includes information about the location of the terminal, such as the country code of the location where the terminal is located and/or the carrier code of the location of the terminal.
S304、LPA根据终端所在地的国家码和/或终端所在地的运营商码,从eUICC中的provisioning profile中选择目标provisioning profile。S304. The LPA selects a target provisioning profile from a provisioning profile in the eUICC according to the country code of the location of the terminal and/or the carrier code of the location of the terminal.
可选的,LPA根据终端所在地的国家码,从eUICC中的provisioning profile中选择目标provisioning profile,具体可以包括:Optionally, the LPA selects a target provisioning profile from the provisioning profile in the eUICC according to the country code of the terminal location, which may include:
LPA根据终端所在地的国家码,以及获取的eUICC中的provisioning profile的元数据信息中的第一映射关系,从eUICC中的provisioning profile中选择与终端所在地的国家码对应的provisioning profile作为目标provisioning profile。其中,第一映射关系包括provisioning profile与国家码的对应关系。The LPA selects a provisioning profile corresponding to the country code of the terminal location from the provisioning profile in the eUICC as the target provisioning profile according to the first mapping relationship in the metadata information of the location of the terminal and the obtained provisioning profile in the eUICC. The first mapping relationship includes a correspondence between a provisioning profile and a country code.
该第一映射关系可以是通过元数据信息中包括的provisioning profile的使用条件指示的,也可能是预先存储在LPA中的,本申请实施例对此不作具体限定。The first mapping relationship may be indicated by the usage condition of the provisioning profile included in the metadata information, or may be pre-stored in the LPA, which is not specifically limited in this embodiment of the present application.
可选的,LPA根据终端所在地的国家码,从eUICC中的provisioning profile中选择目标provisioning profile,具体可以包括:Optionally, the LPA selects a target provisioning profile from the provisioning profile in the eUICC according to the country code of the terminal location, which may include:
LPA根据终端所在地的国家码,以及获取的eUICC中的provisioning profile的元数据信息,从eUICC中的provisioning profile中选择归属于该终端所在地的国家码的provisioning profile作为目标provisioning profile。The LPA selects the provisioning profile of the country code attributed to the location of the terminal from the provisioning profile in the eUICC as the target provisioning profile according to the country code of the location of the terminal and the metadata information of the provisioning profile in the eUICC.
其中,若归属于该终端所在地的国家码的provisioning profile有多个时,选择归属于该终端所在地的国家码的优先级最高的provisioning profile作为目标provisioning profile。If there are multiple provisioning profiles of the country code belonging to the location of the terminal, the provisioning profile with the highest priority value of the country code belonging to the location of the terminal is selected as the target provisioning profile.
可选的,LPA根据终端所在地的运营商码,从eUICC中的provisioning profile中选择目标provisioning profile,具体可以包括:Optionally, the LPA selects a target provisioning profile from the provisioning profile in the eUICC according to the carrier code of the terminal location, which may include:
LPA根据终端所在地的运营商码,以及获取的eUICC中的provisioning profile的元数据信息中的第一映射关系,从eUICC中的provisioning profile中选择与终端所在地的运营商码对应的provisioning profile作为目标provisioning profile。其中,第一映射关系包括provisioning profile与运营商码的对应关系。该第一映射关系可以是通过元数据信息中包括的provisioning profile的使用条件指示的,也可能是预先存储在LPA中的,本申请实施例对此不作具体限定。The LPA selects the provisioning profile corresponding to the carrier code of the terminal location from the provisioning profile in the eUICC as the target provisioning according to the first mapping relationship in the metadata information of the provisioning profile in the eUICC. Profile. The first mapping relationship includes a correspondence between a provisioning profile and an operator code. The first mapping relationship may be indicated by the usage condition of the provisioning profile included in the metadata information, or may be pre-stored in the LPA, which is not specifically limited in this embodiment of the present application.
可选的,LPA根据终端所在地的运营商码从eUICC中的provisioning profile中选择目标provisioning profile,具体可以包括:Optionally, the LPA selects a target provisioning profile from the provisioning profile in the eUICC according to the carrier code of the terminal location, which may include:
LPA根据终端所在地的运营商码,以及获取的eUICC中的provisioning profile的元数据信息,从eUICC中的provisioning profile中选择归属于该终端所在地的运营商码的provisioning profile作为目标provisioning profile。The LPA selects the provisioning profile of the carrier code attributed to the location of the terminal from the provisioning profile in the eUICC as the target provisioning profile according to the carrier code of the terminal location and the metadata information of the provisioning profile in the eUICC.
其中,若归属于该终端所在地的运营商码的provisioning profile有多个时,LPA根据终端所在地的运营商码,选择归属于该终端所在地的运营商码的优先级最高的provisioning profile作为目标provisioning profile。 If there are multiple provisioning profiles of the carrier code attributed to the location of the terminal, the LPA selects the provisioning profile with the highest priority of the carrier code attributed to the location of the terminal as the target provisioning profile according to the carrier code of the location of the terminal. .
S305、LPA根据选择的目标provisioning profile的profile ID激活该目标provisioning profile。S305. The LPA activates the target provisioning profile according to the profile ID of the selected target provisioning profile.
可选的,如图3所示,LPA激活目标provisioning profile具体可以通过步骤S305a和S305b实现:Optionally, as shown in FIG. 3, the LPA activation target provisioning profile may be specifically implemented by using steps S305a and S305b:
S305a、LPA向eUICC发送激活profile(enable profile)请求,以使得eUICC接收该enable profile请求,该enable profile请求携带目标provisioning profile的标识,用于请求激活该目标provisioning profile。S305a. The LPA sends an activation profile request to the eUICC, so that the eUICC receives the enable profile request, where the enable profile request carries an identifier of the target provisioning profile for requesting activation of the target provisioning profile.
S305b、eUICC响应enable profile请求,激活目标provisioning profile,并向LPA发送应答(OK)消息。该应答消息用于指示目标provisioning profile被激活。S305b. The eUICC responds to the enable profile request, activates the target provisioning profile, and sends an acknowledgement (OK) message to the LPA. The response message is used to indicate that the target provisioning profile is activated.
其中,provisioning profile被激活后,可以为终端提供下载其它可执行文件(operational profile)的网络连接。After the provisioning profile is activated, the terminal can be provided with a network connection for downloading other operational profiles.
S306、LPA在OS中设置当前的网络模式为受限网络连接模式。S306. The LPA sets the current network mode in the OS to a restricted network connection mode.
其中,受限网络连接模式为仅允许终端中的LPA使用网络连接的网络模式,以使得LPA通过该网络连接下载operational profile。The restricted network connection mode is a network mode in which only the LPA in the terminal is allowed to use the network connection, so that the LPA downloads the operational profile through the network connection.
也就是说,只有LPA有使用受限网络连接模式下的网络连接权限,其他应用没有。That is to say, only LPA has the network connection permission in the restricted network connection mode, and other applications do not.
可选的,LPA在OS在设置当前的网络模式为受限网络连接模式,具体可以通过步骤S306a、S306b、S306c和S306d实现:Optionally, the LPA is configured to set the current network mode to the restricted network connection mode in the OS, and may be implemented by using steps S306a, S306b, S306c, and S306d:
S306a、LPA向OS发送网络模式设置请求,以使得OS接收该网络模式设置请求。S306a. The LPA sends a network mode setting request to the OS to cause the OS to receive the network mode setting request.
S306b、OS验证应用签名。S306b, the OS verifies the application signature.
S306c、若OS验证应用为LPA,则设置当前的网络模式为受限网络连接模式。S306c. If the OS verification application is an LPA, set the current network mode to a restricted network connection mode.
可选的,若OS验证应用不是LPA,可以直接不进行任何处理或者丢弃该网络模式设置请求,本申请实施例对此不作具体限定。Optionally, if the OS verification application is not an LPA, the network mode setting request may be directly performed without any processing, and the embodiment of the present application does not specifically limit this.
S306d、OS向LPA发送应答(OK)消息。该应答消息用于指示网络模式设置成功。S306d, the OS sends an acknowledgement (OK) message to the LPA. The response message is used to indicate that the network mode setting is successful.
可选的,步骤S306a-S306d中的OS具体可以为OS层中的网络连接管理功能模块,比如,LPA向OS发送网络模式设置请求,实际上可以是LPA向OS层中的网络连接管理功能模块发送网络模式设置请求;或者,OS验证应用签名,实际上是OS层中的网络连接管理功能模块验证应用签名;或者,OS向LPA发送应答消息,实际上是OS层中的网络连接管理功能模块向LPA发送应答消息,在此进行统一说明,以下不再赘述。Optionally, the OS in the steps S306a-S306d may be a network connection management function module in the OS layer. For example, the LPA sends a network mode setting request to the OS, which may actually be a network connection management function module of the LPA to the OS layer. Sending a network mode setting request; or, the OS verifies the application signature, in fact, the network connection management function module in the OS layer verifies the application signature; or the OS sends a response message to the LPA, which is actually a network connection management function module in the OS layer. A response message is sent to the LPA, which is described here in a unified manner, and is not described here.
进而,当LPA外的其他查询当前的网络连接状态时,执行步骤S307和S308;Further, when the other than the LPA queries the current network connection status, steps S307 and S308 are performed;
当LPA查询当前的网络连接状态时,执行步骤S309至S311。When the LPA queries the current network connection status, steps S309 to S311 are performed.
S307、LPA外的其他应用向OS发送网络状态查询请求,以使得OS接收该网络状态查询请求。该网络状态查询请求用于请求查询当前的网络连接状态。S307. The other application outside the LPA sends a network status query request to the OS, so that the OS receives the network status query request. The network status query request is used to request a query for the current network connection status.
S308、OS确定当前为受限网络模式,且当前请求的应用不是LPA,则向请求的应用发送第二指示,以使得该应用接收该第二指示。该第二指示用于指示当前的网络连接不可用。S308. The OS determines that the current network mode is restricted, and the currently requested application is not an LPA, and sends a second indication to the requested application, so that the application receives the second indication. The second indication is for indicating that the current network connection is unavailable.
S309、LPA向OS发送网络状态查询请求,以使得OS接收该网络状态查询请求。该网络状态查询请求用于请求查询当前的网络连接状态。S309. The LPA sends a network status query request to the OS, so that the OS receives the network status query request. The network status query request is used to request a query for the current network connection status.
S310、OS确定当前为受限网络模式,且当前请求的应用是LPA,则向LPA发送第一指示,以使得LPA接收该第一指示。该第一指示用于指示当前的网络连接可用或 者该第一指示用于指示当前受限的网络连接模式可用。S310. The OS determines that the current network mode is restricted, and the currently requested application is an LPA, and sends a first indication to the LPA, so that the LPA receives the first indication. The first indication is used to indicate that the current network connection is available or The first indication is used to indicate that the currently restricted network connection mode is available.
S311、当LPA感知当前有可用网络时,则发起profile下载过程,并将下载的operational profile安装在eUICC,在激活下载的operational profile之前,去激活目标provisioning profile。S311. When the LPA senses that the network is currently available, the profile download process is initiated, and the downloaded operational profile is installed in the eUICC, and the target provisioning profile is activated before the downloaded operational profile is activated.
可选的,本申请实施例中,在步骤S306之后,也可以不用应用查询当前的网络连接状态,而是包括LPA在内的应用订阅了网络状态信息,因此当网络进入受限网络连接模式之后,如从正常网络模式切换到受限网络连接模式,OS向LPA发送通知信息,该通知信息用于指示当前的网络连接可用或者当前受限的网络连接可用,并向其它应用发送通知信息,用于指示当前网络连接不可用。本申请实施例对该情况不作具体限定。Optionally, in the embodiment of the present application, after the step S306, the current network connection status may be queried without using an application, but the application including the LPA subscribes to the network status information, so after the network enters the restricted network connection mode, If the mode is switched from the normal network mode to the restricted network connection mode, the OS sends a notification message to the LPA, the notification information is used to indicate that the current network connection is available or the currently limited network connection is available, and the notification information is sent to other applications. Indicates that the current network connection is not available. This embodiment of the present application does not specifically limit the situation.
本申请实施例提供的网络配置方法,在目标provisioning profile被激活之后,通过在终端的OS中设置仅允许终端中的LPA使用网络连接的网络模式,可以使得目标provisioning profile仅能用于下载operational profile,而不能用于访问其它网络服务器。The network configuration method provided by the embodiment of the present application can enable the target provisioning profile to be used only for downloading the operational profile by setting the network mode in which only the LPA in the terminal uses the network connection in the OS of the terminal after the target provisioning profile is activated. Cannot be used to access other web servers.
可选的,如图4所示,为本申请实施例提供的另一种网络配置方法,该网络配置方法涉及到图1所示的终端10的逻辑架构示意图中的LPA、其他应用、OS、modem和eUICC之间的交互,包括如下步骤:Optionally, as shown in FIG. 4, another network configuration method provided by the embodiment of the present application, the network configuration method relates to the LPA, other applications, and the OS in the schematic diagram of the logical architecture of the terminal 10 shown in FIG. The interaction between the modem and the eUICC includes the following steps:
S401-S405、同S301-S305,在此不再赘述。S401-S405 and S301-S305 are not described here.
S406、eUICC判断目标provisioning profile被激活后,触发终端在终端的OS中设置当前的网络模式为受限网络连接模式。S406. After the eUICC determines that the target provisioning profile is activated, the triggering terminal sets the current network mode to the restricted network connection mode in the OS of the terminal.
其中,受限网络连接模式为仅允许终端中的LPA使用网络连接的网络模式,以使得LPA通过该网络连接下载operational profile。The restricted network connection mode is a network mode in which only the LPA in the terminal is allowed to use the network connection, so that the LPA downloads the operational profile through the network connection.
也就是说,只有LPA有使用受限网络连接模式下的网络连接权限,其他应用没有。That is to say, only LPA has the network connection permission in the restricted network connection mode, and other applications do not.
可选的,eUICC触发终端在终端的OS中设置当前的网络模式为受限网络连接模式,具体可以通过步骤S406a、S406b、S406c和S406d实现:Optionally, the eUICC triggers the terminal to set the current network mode to the restricted network connection mode in the OS of the terminal, which may be implemented by using steps S406a, S406b, S406c, and S406d:
S406a、eUICC向modem发送refresh命令,以使得modem接收该refresh命令。该refresh命令包括激活受限profile(restricted profile)的指示信息,用于指示modem当前激活的受限profile是provisioning profile。S406a. The eUICC sends a refresh command to the modem, so that the modem receives the refresh command. The refresh command includes an indication to activate a restricted profile, and the restricted profile for indicating that the modem is currently activated is a provisioning profile.
S406b、modem根据refresh命令对激活的provisioning profile初始化。S406b. The modem initializes the activated provisioning profile according to the refresh command.
S406c、modem根据激活受限profile的指示,向OS发送通知消息,以使得OS接收该通知消息。该通知消息包括激活受限profile的指示信息,用于指示OS当前激活的受限profile是provisioning profile。S406c. The modem sends a notification message to the OS according to the indication of the activation of the restricted profile, so that the OS receives the notification message. The notification message includes indication information for activating the restricted profile, and the restricted profile for indicating that the OS is currently activated is a provisioning profile.
S406d、OS设置当前的网络模式为受限网络连接模式。S406d, the OS sets the current network mode to a restricted network connection mode.
S407-S411、同S307-S311,在此不再赘述。S407-S411 and S307-S311 are not described here.
本申请实施例提供的网络配置方法,在目标provisioning profile被激活之后,通过在终端的OS中设置仅允许终端中的LPA使用网络连接的网络模式,可以使得目标provisioning profile仅能用于下载operational profile,而不能用于访问其它网络服务器。The network configuration method provided by the embodiment of the present application can enable the target provisioning profile to be used only for downloading the operational profile by setting the network mode in which only the LPA in the terminal uses the network connection in the OS of the terminal after the target provisioning profile is activated. Cannot be used to access other web servers.
可选的,如图5所示,为本申请实施例提供的另一种网络配置方法,该网络配置方法涉及到图1所示的终端10的逻辑架构示意图中的LPA、其他应用、OS、modem和eUICC之间的交互,包括如下步骤:Optionally, as shown in FIG. 5, another network configuration method provided by the embodiment of the present application, the network configuration method relates to the LPA, other applications, and the OS in the schematic diagram of the logical architecture of the terminal 10 shown in FIG. The interaction between the modem and the eUICC includes the following steps:
S501、LPA确定当前无可用的网络连接。 S501. The LPA determines that no network connection is currently available.
S502、LPA从modem获取所在地信息。S502. The LPA obtains location information from the modem.
可选的,如图5所示,LPA从modem获取所在地信息具体可以通过步骤S502a和S502b实现:Optionally, as shown in FIG. 5, the LPA obtaining the location information from the modem may be specifically implemented by using steps S502a and S502b:
S502a、LPA向modem发送获取本地信息(Getlocalinfo)请求,以使得modem接收该Getlocalinfo请求。该Getlocalinfo请求用于请求获取终端所在地信息。S502a, LPA sends a request for obtaining local information (Getlocalinfo) to the modem, so that the modem receives the Getlocalinfo request. The Getlocalinfo request is used to request the location information of the terminal.
S502b、modem响应Getlocalinfo请求,向LPA发送数据响应。该数据响应中包括终端所在地信息,比如,终端所在地的国家码和/或终端所在地的运营商码。S502b and the modem respond to the Getlocalinfo request and send a data response to the LPA. The data response includes information about the location of the terminal, such as the country code of the location of the terminal and/or the carrier code of the location of the terminal.
S503、LPA向eUICC发送获取profile信息(Getprofileinfo)请求,以使得eUICC接收该Getprofileinfo请求。该Getprofileinfo请求携带终端所在地信息,用于请求获取目标provisioning profile的信息。S503. The LPA sends a profile information (Getprofileinfo) request to the eUICC, so that the eUICC receives the Getprofileinfo request. The Getprofileinfo request carries information about the location of the terminal, and is used to request information about the target provisioning profile.
S504、eUICC根据终端所在地的国家码和/或终端所在地的运营商码,从eUICC中的provisioning profile中选择目标provisioning profile。S504. The eUICC selects a target provisioning profile from a provisioning profile in the eUICC according to the country code of the location of the terminal and/or the carrier code of the location of the terminal.
可选的,eUICC根据终端所在地的国家码,从eUICC中的provisioning profile中选择目标provisioning profile具体可以包括:Optionally, the eUICC selects a target provisioning profile from the provisioning profile in the eUICC according to the country code of the terminal location, which may include:
eUICC根据终端所在地的国家码,以及eUICC中的provisioning profile的元数据信息中的第一映射关系,从eUICC中的provisioning profile中选择与终端所在地的国家码对应的provisioning profile作为目标provisioning profile。其中,第一映射关系包括provisioning profile与国家码的对应关系。The eUICC selects a provisioning profile corresponding to the country code of the location of the terminal as the target provisioning profile from the provisioning profile in the eUICC according to the first mapping relationship in the metadata information of the location of the terminal and the provisioning profile in the eUICC. The first mapping relationship includes a correspondence between a provisioning profile and a country code.
该第一映射关系可以是通过元数据信息中包括的provisioning profile的使用条件指示的,也可能是预先存储在eUICC中的,本申请实施例对此不作具体限定。The first mapping relationship may be indicated by the usage condition of the provisioning profile included in the metadata information, or may be pre-stored in the eUICC, which is not specifically limited in this embodiment of the present application.
可选的,eUICC根据终端所在地的国家码,从eUICC中的provisioning profile中选择目标provisioning profile,具体可以包括:Optionally, the eUICC selects a target provisioning profile from the provisioning profile in the eUICC according to the country code of the terminal location, which may include:
eUICC根据终端所在地的国家码,以及eUICC中的provisioning profile的元数据信息,从eUICC中的provisioning profile中选择归属于该终端所在地的国家码的provisioning profile作为目标provisioning profile。The eUICC selects a provisioning profile of the country code attributed to the location of the terminal from the provisioning profile in the eUICC as the target provisioning profile according to the country code of the location of the terminal and the metadata information of the provisioning profile in the eUICC.
若归属于该终端所在地的国家码的provisioning profile有多个时,选择归属于该终端所在地的国家码的优先级最高的provisioning profile作为目标provisioning profile。If there are multiple provisioning profiles of the country code belonging to the location of the terminal, the provisioning profile with the highest priority value of the country code belonging to the location of the terminal is selected as the target provisioning profile.
可选的,eUICC根据终端所在地的运营商码,从eUICC中的provisioning profile中选择目标provisioning profile,具体可以包括:Optionally, the eUICC selects a target provisioning profile from the provisioning profile in the eUICC according to the carrier code of the terminal location, which may include:
eUICC根据终端所在地的运营商码,以及eUICC中的provisioning profile的元数据信息中的第一映射关系,从eUICC中的provisioning profile中选择与终端所在地的运营商码对应的provisioning profile作为目标provisioning profile。其中,第一映射关系包括provisioning profile与运营商码的对应关系。The eUICC selects a provisioning profile corresponding to the carrier code of the location of the terminal as the target provisioning profile from the provisioning profile in the eUICC according to the first mapping relationship in the metadata information of the location of the terminal and the provisioning profile in the eUICC. The first mapping relationship includes a correspondence between a provisioning profile and an operator code.
该第一映射关系可以是通过元数据信息中包括的provisioning profile的使用条件指示的,也可能是预先存储在eUICC中的,本申请实施例对此不作具体限定。The first mapping relationship may be indicated by the usage condition of the provisioning profile included in the metadata information, or may be pre-stored in the eUICC, which is not specifically limited in this embodiment of the present application.
可选的,eUICC根据终端所在地的运营商码,从eUICC中的provisioning profile中选择目标provisioning profile,具体可以包括:Optionally, the eUICC selects a target provisioning profile from the provisioning profile in the eUICC according to the carrier code of the terminal location, which may include:
eUICC根据终端所在地的运营商码,以及eUICC中的provisioning profile的元数据信息,从eUICC中当前的provisioning profile中选择归属于该终端所在地的运营商码的 provisioning profile作为目标provisioning profile。The eUICC selects the carrier code attributed to the location of the terminal from the current provisioning profile in the eUICC according to the carrier code of the location of the terminal and the metadata information of the provisioning profile in the eUICC. The provisioning profile is used as the target provisioning profile.
其中,若归属于该终端所在地的运营商码的provisioning profile有多个时,选择归属于该终端所在地的运营商码的优先级最高的provisioning profile作为目标provisioning profile。If there are multiple provisioning profiles of the carrier code attributed to the location of the terminal, the provisioning profile having the highest priority attributed to the carrier code of the terminal location is selected as the target provisioning profile.
S505、eUICC向LPA发送数据响应,以使得LPA接收该数据响应。该数据响应中包括目标provisioning profile的标识(identity,ID)信息。S505. The eUICC sends a data response to the LPA, so that the LPA receives the data response. The data response includes identity (ID) information of the target provisioning profile.
S506-S612、同S305-S311,在此不再赘述。S506-S612 and S305-S311 are not described here.
本申请实施例提供的网络配置方法,在目标provisioning profile被激活之后,通过在终端的OS中设置仅允许终端中的LPA使用网络连接的网络模式,可以使得目标provisioning profile仅能用于下载operational profile,而不能用于访问其它网络服务器。The network configuration method provided by the embodiment of the present application can enable the target provisioning profile to be used only for downloading the operational profile by setting the network mode in which only the LPA in the terminal uses the network connection in the OS of the terminal after the target provisioning profile is activated. Cannot be used to access other web servers.
可选的,如图6所示,为本申请实施例提供的另一种网络配置方法,该网络配置方法涉及到图1所示的终端10的逻辑架构示意图中的LPA、其他应用、OS、modem和eUICC之间的交互,包括如下步骤:Optionally, as shown in FIG. 6 , another network configuration method provided by the embodiment of the present application, the network configuration method relates to the LPA, other applications, and the OS in the schematic diagram of the logical architecture of the terminal 10 shown in FIG. 1 . The interaction between the modem and the eUICC includes the following steps:
S601-S605、同S501-S505,在此不再赘述。S601-S605 and S501-S505 are not described here.
S606-S612、同S405-S411,在此不再赘述。S606-S612 and S405-S411 are not described here.
本申请实施例提供的网络配置方法,在目标provisioning profile被激活之后,通过在终端的OS中设置仅允许终端中的LPA使用网络连接的网络模式,可以使得目标provisioning profile仅能用于下载operational profile,而不能用于访问其它网络服务器。The network configuration method provided by the embodiment of the present application can enable the target provisioning profile to be used only for downloading the operational profile by setting the network mode in which only the LPA in the terminal uses the network connection in the OS of the terminal after the target provisioning profile is activated. Cannot be used to access other web servers.
可选的,如图7所示,为本申请实施例提供的另一种网络配置方法,该网络配置方法涉及到图1所示的终端10的逻辑架构示意图中的LPA、其他应用、OS、modem和eUICC之间的交互,包括如下步骤:Optionally, as shown in FIG. 7 , another network configuration method provided by the embodiment of the present application, the network configuration method relates to the LPA, other applications, and the OS in the schematic diagram of the logical architecture of the terminal 10 shown in FIG. 1 . The interaction between the modem and the eUICC includes the following steps:
S701、在终端开机,卡上电之后,eUICC初始化。S701: After the terminal is powered on, the eUICC is initialized after the card is powered on.
S702、eUICC确定当前是否有可用的operational profile。S702. The eUICC determines whether an operational profile is currently available.
其中,若eUICC确定当前没有可用的operational profile,且eUICC中当前的provisioning profile有多个,则执行后续的步骤S703-S713。If the eUICC determines that there is no operational profile currently available, and there are multiple current provisioning profiles in the eUICC, the subsequent steps S703-S713 are performed.
S703、eUICC从modem获取所在地信息。S703. The eUICC obtains location information from the modem.
可选的,如图7所示,eUICC从modem获取所在地信息具体可以通过步骤S703a和S703b实现:Optionally, as shown in FIG. 7, the eUICC obtains the location information from the modem, which may be implemented by using steps S703a and S703b:
S703a、eUICC向modem发送提供本地信息(provide local information)请求,以使得modem接收该provide local information请求。该provide local information请求用于请求获取终端所在地信息。S703a. The eUICC sends a request for providing local information to the modem, so that the modem receives the provide local information request. The provide local information request is used to request to obtain the location information of the terminal.
S703b、modem响应provide local information请求,向eUICC发送响应消息。该响应消息中包括终端所在地信息,比如,终端所在地的国家码和/或终端所在地的运营商码。S703b and the modem respond to the provide local information request, and send a response message to the eUICC. The response message includes information about the location of the terminal, such as the country code of the location where the terminal is located and/or the carrier code of the location of the terminal.
S704、eUICC根据终端所在地的国家码和/或终端所在地的运营商码,从eUICC中当前的provisioning profile中选择目标provisioning profile。S704. The eUICC selects a target provisioning profile from a current provisioning profile in the eUICC according to the country code of the location of the terminal and/or the carrier code of the location of the terminal.
步骤S704的具体实现可参考步骤S504,在此不再赘述。For the specific implementation of step S704, refer to step S504, and details are not described herein again.
S705、eUICC激活目标provisioning profile。S705. The eUICC activates the target provisioning profile.
S706-S710、同S406-S410,在此不再赘述。S706-S710 and S406-S410 are not described here.
S711、当operational profile下载完成,eUICC去激活目标provisioning profile。S711. When the operation profile download is completed, the eUICC deactivates the target provisioning profile.
S712、eUICC向modem发送refresh命令,以使得modem接收该refresh命令。 S712. The eUICC sends a refresh command to the modem, so that the modem receives the refresh command.
S713、modem根据refresh命令更新profile信息。S713. The modem updates the profile information according to the refresh command.
可选的,在图7所示的实施例中,当operational profile下载完成,也可以是由LPA更新profile信息,具体可参考步骤S311,本申请实施例在此不再赘述。Optionally, in the embodiment shown in FIG. 7 , when the operation of the operational profile is completed, the profile information may be updated by the LPA. For details, refer to step S311, and details are not described herein again.
本申请实施例提供的网络配置方法,在目标provisioning profile被激活之后,通过在终端的OS中设置仅允许终端中的LPA使用网络连接的网络模式,可以使得目标provisioning profile仅能用于下载operational profile,而不能用于访问其它网络服务器。The network configuration method provided by the embodiment of the present application can enable the target provisioning profile to be used only for downloading the operational profile by setting the network mode in which only the LPA in the terminal uses the network connection in the OS of the terminal after the target provisioning profile is activated. Cannot be used to access other web servers.
上述主要从终端中各逻辑模块之间交互的角度对本申请实施例提供的方案进行了介绍。可以理解的是,上述终端为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The solution provided by the embodiment of the present application is introduced from the perspective of interaction between logical modules in the terminal. It can be understood that, in order to implement the above functions, the above terminal includes a hardware structure and/or a software module corresponding to each function. Those skilled in the art will readily appreciate that the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
本申请实施例可以根据上述方法示例对终端进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application may divide the function module into the terminal according to the foregoing method example. For example, each function module may be divided according to each function, or two or more functions may be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present application is schematic, and is only a logical function division, and the actual implementation may have another division manner.
比如,在采用对应各个功能划分各个功能模块的情况下,图8示出了上述实施例中所涉及的终端80的一种可能的结构示意图。该终端80包括激活模块801和设置模块802。激活模块801,用于激活目标provisioning profile,其中,该目标provisioning profile用于为终端80提供下operational profile的网络连接。设置模块802,用于在终端80的OS中设置当前的网络模式为受限网络连接模式,其中,受限网络连接模式为仅允许LPA使用网络连接的网络模式,以使得LPA通过网络连接下载operational profile。For example, in the case of dividing each functional module by corresponding functions, FIG. 8 shows a possible structural diagram of the terminal 80 involved in the above embodiment. The terminal 80 includes an activation module 801 and a setting module 802. The activation module 801 is configured to activate a target provisioning profile, where the target provisioning profile is used to provide the terminal 80 with a network connection of the lower operational profile. The setting module 802 is configured to set a current network mode in the OS of the terminal 80 to a limited network connection mode, where the restricted network connection mode is a network mode that only allows the LPA to use the network connection, so that the LPA downloads the operation through the network connection. Profile.
可选的,设置模块802具体用于:通过LPA在终端80的OS中设置当前的网络模式为受限网络连接模式。Optionally, the setting module 802 is specifically configured to: set, by using the LPA, the current network mode in the OS of the terminal 80 to the restricted network connection mode.
进一步的,设置模块802具体用于:通过终端80的OS验证请求设置当前的网络模式为受限网络连接模式的第一应用是否是LPA;若是,通过LPA在OS中设置当前的网络模式为受限网络连接模式。Further, the setting module 802 is specifically configured to: set, by the OS authentication request of the terminal 80, whether the first application in which the current network mode is the restricted network connection mode is an LPA; if yes, setting the current network mode in the OS by the LPA to be Limited network connection mode.
可选的,设置模块802具体用于:通过eUICC触发在终端80的OS中设置当前的网络模式为受限网络连接模式。Optionally, the setting module 802 is specifically configured to: set, by using the eUICC, the current network mode in the OS of the terminal 80 to be a restricted network connection mode.
进一步的,设置模块802具体用于:通过eUICC向终端80的modem发送refresh消息,以指示modem目标provisioning profile被激活,以使得modem在终端80的OS层设置当前的网络模式为受限网络连接模式。Further, the setting module 802 is specifically configured to: send a refresh message to the modem of the terminal 80 by using the eUICC to indicate that the modem target provisioning profile is activated, so that the modem sets the current network mode to the restricted network connection mode at the OS layer of the terminal 80. .
可选的,如图8所示,终端80还包括接收模块803和发送模块804。接收模块803,用于在设置模块802在终端80的OS中设置当前的网络模式为受限网络连接模式之后,通过OS接收第二应用的请求消息,该请求消息用于查询当前的网络连接状态。发送模块804,用于若第二应用是LPA,通过OS向LPA发送第一指示,该第一指示用于指示当前的网络连接可用或者该第一指示用于指示当前的受限网络连接模式可用。 Optionally, as shown in FIG. 8 , the terminal 80 further includes a receiving module 803 and a sending module 804. The receiving module 803 is configured to: after the setting module 802 sets the current network mode to the restricted network connection mode in the OS of the terminal 80, receive, by the OS, a request message of the second application, where the request message is used to query the current network connection status. . The sending module 804 is configured to send, by the OS, a first indication, by the OS, to the LPA, where the first indication is used to indicate that the current network connection is available, or the first indication is used to indicate that the current restricted network connection mode is available. .
进一步的,发送模块804,还用于在接收模块803通过OS接收第二应用的请求消息之后,若第二应用不是LPA,通过OS向第二应用发送第二指示,该第二指示用于指示当前的网络连接不可用。Further, the sending module 804 is further configured to: after the receiving module 803 receives the request message of the second application by using the OS, if the second application is not the LPA, the second indication is sent by the OS to the second application, where the second indication is used to indicate The current network connection is not available.
可选的,终端80还包括发送模块804。发送模块804,用于在设置模块802在终端80的OS中设置当前的网络模式为受限网络连接模式之后,通过OS向LPA发送第一指示,该第一指示用于指示当前的网络连接可用或者该第一指示用于指示当前受限的网络可用。Optionally, the terminal 80 further includes a sending module 804. The sending module 804 is configured to send, by the OS, the first indication by the OS to the LPA after the setting module 802 sets the current network mode to the restricted network connection mode in the OS of the terminal 80, where the first indication is used to indicate that the current network connection is available. Or the first indication is for indicating that the currently restricted network is available.
进一步的,发送模块804,还用于在设置模块802在终端80的OS中设置当前的网络模式为受限网络连接模式之后,通过OS向LPA之外的应用发送第二指示,该第二指示用于指示当前的网络连接不可用。Further, the sending module 804 is further configured to: after the setting module 802 sets the current network mode to the restricted network connection mode in the OS of the terminal 80, send, by the OS, a second indication to the application other than the LPA, the second indication Used to indicate that the current network connection is not available.
可选的,如图8所示,终端80还包括了获取模块805和选择模块806。获取模块805,用于在激活模块801激活目标provisioning profile之前,通过LPA获取终端80所在地的国家码。选择模块806,用于根据provisioning profile与国家码的对应关系,通过LPA从至少一个provisioning profile中选择终端80所在地的国家码对应的provisioning profile作为目标provisioning profile;或者,选择模块806,用于通过LPA从至少一个provisioning profile中选择归属于终端80所在地的国家码的provisioning profile作为目标provisioning profile;或者,选择模块806,用于通过LPA从至少一个provisioning profile中选择归属于终端80所在地的国家码的优先级最高的provisioning profile作为目标provisioning profile。Optionally, as shown in FIG. 8, the terminal 80 further includes an obtaining module 805 and a selecting module 806. The obtaining module 805 is configured to obtain the country code of the location of the terminal 80 through the LPA before the activation module 801 activates the target provisioning profile. The selecting module 806 is configured to select, according to the correspondence between the provisioning profile and the country code, the provisioning profile corresponding to the country code of the location where the terminal 80 is located from the at least one provisioning profile by the LPA as the target provisioning profile; or, the selecting module 806, for using the LPA Selecting, from the at least one provisioning profile, a provisioning profile of the country code belonging to the location of the terminal 80 as a target provisioning profile; or, the selecting module 806, for selecting, by the LPA, the priority of the country code belonging to the location of the terminal 80 from the at least one provisioning profile. The highest-level provisioning profile is used as the target provisioning profile.
可选的,获取模块805,用于在激活模块801激活目标provisioning profile之前,通过终端80上的eUICC获取终端80所在地的国家码;选择模块806,用于根据provisioning profile与国家码的对应关系,通过eUICC从至少一个provisioning profile中选择终端80所在地的国家码对应的provisioning profile作为目标provisioning profile;或者,选择模块806,用于通过eUICC从至少一个provisioning profile中选择归属于终端80所在地的国家码的provisioning profile作为目标provisioning profile;或者,选择模块,用于通过eUICC从至少一个provisioning profile中选择归属于终端80所在地的国家码的优先级最高的provisioning profile作为目标provisioning profile。Optionally, the obtaining module 805 is configured to obtain, by using the eUICC on the terminal 80, the country code of the location of the terminal 80 before the activation module 801 activates the target provisioning profile, and the selecting module 806 is configured to use the correspondence between the provisioning profile and the country code. Selecting, by the eUICC, a provisioning profile corresponding to the country code of the location of the terminal 80 from the at least one provisioning profile as the target provisioning profile; or, the selecting module 806, for selecting, by using the eUICC, the country code belonging to the location of the terminal 80 from the at least one provisioning profile. The provisioning profile is used as the target provisioning profile; or the selection module is configured to select, by using the eUICC, the highest priority provisioning profile of the country code belonging to the location of the terminal 80 from the at least one provisioning profile as the target provisioning profile.
进一步的,获取模块805具体用于:通过eUICC向终端80的modem发送本地信息获取请求,该本地信息获取请求用于请求获取终端80所在地的国家码,以使得modem获取该国家码,并向eUICC发送该国家码,以使得eUICC接收modem发送的该国家码;或者,通过LPA获取终端80所在地的国家码,并向eUICC发送该国家码,以使得eUICC接收LPA发送的该国家码。Further, the obtaining module 805 is specifically configured to: send, by using the eUICC, a local information obtaining request to the modem of the terminal 80, where the local information obtaining request is used to request to acquire the country code of the location where the terminal 80 is located, so that the modem obtains the country code, and sends the country code to the eUICC. The country code is sent to enable the eUICC to receive the country code sent by the modem; or the country code of the location where the terminal 80 is located is obtained by the LPA, and the country code is sent to the eUICC, so that the eUICC receives the country code sent by the LPA.
可选的,获取模块805,用于在激活模块801激活目标provisioning profile之前,通过LPA获取终端80所在地的运营商码;选择模块806,用于根据provisioning profile与运营商码的对应关系,通过LPA从至少一个provisioning profile中选择终端80所在地的运营商码对应的provisioning profile作为目标provisioning profile;或者,选择模块806,用于通过LPA从至少一个provisioning profile中选择归属于终端80所在地的运营商码的provisioning profile作为目标provisioning profile;或者,选择模块806,用于通过LPA从至少一个provisioning profile中选择归属于终端80所在地的运营商码的优先级最高的provisioning profile作为目标provisioning profile。Optionally, the obtaining module 805 is configured to obtain the carrier code of the location of the terminal 80 by using the LPA before the activation module 801 activates the target provisioning profile, and the selecting module 806 is configured to pass the LPA according to the correspondence between the provisioning profile and the operator code. Selecting, from the at least one provisioning profile, a provisioning profile corresponding to the carrier code of the location of the terminal 80 as the target provisioning profile; or, the selecting module 806, for selecting, by the LPA, the carrier code belonging to the location of the terminal 80 from the at least one provisioning profile. The provisioning profile is used as the target provisioning profile; or the selection module 806 is configured to select, by the LPA, the provisioning profile with the highest priority attributed to the carrier code of the location of the terminal 80 from the at least one provisioning profile as the target provisioning profile.
可选的,获取模块805,用于在激活模块801激活目标provisioning profile之前,通过 终端80上的eUICC获取终端80所在地的运营商码;选择模块806,用于根据provisioning profile与运营商码的对应关系,通eUICC从至少一个provisioning profile中选择终端80所在地的运营商码对应的provisioning profile作为目标provisioning profile;或者,选择模块806,用于通过eUICC从至少一个provisioning profile中选择归属于终端80所在地的运营商码的provisioning profile作为目标provisioning profile;或者,选择模块806,用于通过eUICC从至少一个provisioning profile中选择归属于终端80所在地的运营商码的优先级最高的provisioning profile作为目标provisioning profile。Optionally, the obtaining module 805 is configured to: before the activation module 801 activates the target provisioning profile, The eUICC on the terminal 80 acquires the carrier code of the location of the terminal 80. The selection module 806 is configured to select the provisioning corresponding to the carrier code of the location of the terminal 80 from the at least one provisioning profile according to the correspondence between the provisioning profile and the carrier code. The profile is used as the target provisioning profile; or the selection module 806 is configured to select, by the eUICC, a provisioning profile of the carrier code attributed to the location of the terminal 80 from the at least one provisioning profile as a target provisioning profile; or, the selection module 806 is configured to pass the eUICC The highest priority provisioning profile attributed to the carrier code of the location of the terminal 80 is selected from the at least one provisioning profile as the target provisioning profile.
进一步的,获取模块805具体用于:通过eUICC向终端80的modem发送本地信息获取请求,该本地信息获取请求用于请求获取终端80所在地的运营商码,以使得modem获取该运营商码,并向eUICC发送该运营商码,以使得eUICC接收modem发送的运营商码;或者,通过LPA获取终端80所在地的运营商码,并向eUICC发送运营商码,以使得eUICC接收LPA发送的运营商码。Further, the obtaining module 805 is specifically configured to: send, by using the eUICC, a local information obtaining request to the modem of the terminal 80, where the local information obtaining request is used to request acquiring the carrier code of the location of the terminal 80, so that the modem obtains the carrier code, and Sending the carrier code to the eUICC, so that the eUICC receives the carrier code sent by the modem; or acquiring the carrier code of the location of the terminal 80 through the LPA, and transmitting the carrier code to the eUICC, so that the eUICC receives the carrier code sent by the LPA. .
以采用集成的方式划分各个功能模块的情况下,图9示出了上述实施例中所涉及的终端90的一种可能的结构示意图。如图9所示,终端90包括处理模块901。处理模块901执行图8中激活模块801和设置模块802的动作,具体可参考图8所示的实施例,在此不再赘述。In the case where the respective functional modules are divided in an integrated manner, FIG. 9 shows a possible structural diagram of the terminal 90 involved in the above embodiment. As shown in FIG. 9, terminal 90 includes a processing module 901. The processing module 901 performs the operations of the activation module 801 and the setting module 802 in FIG. 8 . For details, refer to the embodiment shown in FIG. 8 , and details are not described herein again.
可选的,如图9所示,终端90还可以包括通信模块902。通信模块902执行图8中接收模块803和发送模块804的动作,具体可参考图8所示的实施例,在此不再赘述。可选的,处理模块901还执行图8中获取模块805和选择模块806的动作,具体可参考图8所示的实施例,在此不再赘述。Optionally, as shown in FIG. 9, the terminal 90 may further include a communication module 902. The communication module 902 performs the operations of the receiving module 803 and the sending module 804 in FIG. 8 . For details, refer to the embodiment shown in FIG. 8 , and details are not described herein again. Optionally, the processing module 901 further performs the operations of the obtaining module 805 and the selecting module 806 in FIG. 8 . For details, refer to the embodiment shown in FIG. 8 , and details are not described herein again.
在本申请实施例中,终端体以对应各个功能划分各个功能模块的形式来呈现,或者,终端以采用集成的方式划分各个功能模块的形式来呈现。这里的“模块”可以指特定专用集成电路(application-specific integrated circuit,ASIC),电路,执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。在一个简单的实施例中,本领域的技术人员可以想到终端可以通过图10中的方式来实现。In the embodiment of the present application, the terminal body is presented in the form of dividing each function module corresponding to each function, or the terminal is presented in the form of dividing each function module in an integrated manner. A "module" herein may refer to a specific application-specific integrated circuit (ASIC), circuitry, a processor and memory that executes one or more software or firmware programs, integrated logic circuitry, and/or other functions that provide the functionality described above. Device. In a simple embodiment, those skilled in the art will appreciate that the terminal can be implemented in the manner of FIG.
如图10所示,为本申请实施例提供的一种终端1000的硬件结构示意图,该终端1000包括至少一个处理器1001,通信总线1002,存储器1003以及至少一个通信接口1004。FIG. 10 is a schematic diagram showing the hardware structure of a terminal 1000 according to an embodiment of the present application. The terminal 1000 includes at least one processor 1001, a communication bus 1002, a memory 1003, and at least one communication interface 1004.
处理器1001可以是一个通用中央处理器(central processing unit,CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本申请方案程序执行的集成电路。The processor 1001 may be a general central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more for controlling the execution of the program of the present application. integrated circuit.
通信总线1002可包括一通路,在上述组件之间传送信息。Communication bus 1002 can include a path for communicating information between the components described above.
通信接口1004,使用任何收发器一类的装置,用于与其他设备或通信网络通信,如以太网,无线接入网(radio access network,RAN),无线局域网(wireless local area networks,WLAN)等。 Communication interface 1004, using any type of transceiver, for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc. .
存储器1003可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通 用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过总线与处理器相连接。存储器也可以和处理器集成在一起。The memory 1003 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type that can store information and instructions. The dynamic storage device can also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, and a disc storage device. (including compressed discs, laser discs, CDs, digital channels) Use of a disc, Blu-ray disc, etc., a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of an instruction or data structure and that can be accessed by a computer, but is not limited thereto. . The memory can exist independently and be connected to the processor via a bus. The memory can also be integrated with the processor.
其中,存储器1003用于存储执行本申请方案的应用程序代码,并由处理器1001来控制执行。处理器1001用于执行存储器1003中存储的应用程序代码,从而实现本申请上述实施例提供的网络配置方法。The memory 1003 is configured to store application code for executing the solution of the present application, and is controlled by the processor 1001 for execution. The processor 1001 is configured to execute the application code stored in the memory 1003, thereby implementing the network configuration method provided by the foregoing embodiment of the present application.
在具体实现中,作为一种实施例,处理器1001可以包括一个或多个CPU,例如图10中的CPU0和CPU1。In a specific implementation, as an embodiment, the processor 1001 may include one or more CPUs, such as CPU0 and CPU1 in FIG.
在具体实现中,作为一种实施例,终端1000可以包括多个处理器,例如图10中的处理器1001和处理器1008。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In a specific implementation, as an embodiment, the terminal 1000 may include multiple processors, such as the processor 1001 and the processor 1008 in FIG. Each of these processors can be a single-CPU processor or a multi-core processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data, such as computer program instructions.
在具体实现中,作为一种实施例,终端1000还可以包括输出设备1005和输入设备1006。输出设备1005和处理器1001通信,可以以多种方式来显示信息。例如,输出设备1005可以是液晶显示器(liquid crystal display,LCD),发光二级管(Light Emitting Diode,LED)显示设备,阴极射线管(cathode ray tube,CRT)显示设备,或投影仪(projector)等。输入设备1006和处理器1001通信,可以以多种方式接受用户的输入。例如,输入设备1006可以是鼠标、键盘、触摸屏设备或传感设备等。In a specific implementation, as an embodiment, the terminal 1000 may further include an output device 1005 and an input device 1006. Output device 1005 is in communication with processor 1001 and can display information in a variety of ways. For example, the output device 1005 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. Wait. Input device 1006 is in communication with processor 1001 and can accept user input in a variety of ways. For example, input device 1006 can be a mouse, keyboard, touch screen device, or sensing device, and the like.
其中,本申请实施例中所涉及到的终端(terminal)可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备。所述终端也可以称为用户设备(user equipment,UE),移动台(mobile station,MS),终端设备(terminal device),还可以包括用户单元(subscriber unit)、蜂窝电话(cellular phone)、智能电话(smart phone)、无线数据卡、个人数字助理(personal digital assistant,PDA)电脑、平板型电脑、无线调制解调器(modem)、手持设备(handheld)、膝上型电脑(laptop computer)、无绳电话(cordless phone)或者无线本地环路(wireless local loop,WLL)台、机器类型通信(machine type communication,MTC)终端等,本申请实施例对此不作具体限定。The terminals involved in the embodiments of the present application may include various handheld devices having wireless communication functions, in-vehicle devices, wearable devices, computing devices, or other processing devices connected to the wireless modem. The terminal may also be referred to as a user equipment (UE), a mobile station (MS), a terminal device, and may also include a subscriber unit, a cellular phone, and a smart device. Smart phone, wireless data card, personal digital assistant (PDA) computer, tablet computer, wireless modem (modem), handheld, laptop computer, cordless phone ( The cordless phone) or the wireless local loop (WLL) station, the machine type communication (MTC) terminal, and the like are not specifically limited in this embodiment of the present application.
示例性的,图8中的激活模块801、设置模块802、接收模块803、发送模块804、获取模块805和选择模块806可以通过图10的处理器1001和存储器1003来实现,具体的,激活模块801、设置模块802、接收模块803、发送模块804、获取模块805和选择模块806可以通过由处理器1001来调用存储器1003中存储的应用程序代码来执行,本申请实施例对此不作任何限制。或者,比如,图9中的处理模块901和通信模块902可以通过图10的处理器1001和存储器1003来实现,具体的,处理模块901和通信模块902可以通过由处理器1001来调用存储器1003中存储的应用程序代码来执行,本申请实施例对此不作任何限制。Exemplarily, the activation module 801, the setting module 802, the receiving module 803, the sending module 804, the obtaining module 805, and the selecting module 806 in FIG. 8 can be implemented by the processor 1001 and the memory 1003 of FIG. 10, specifically, the activation module. 801. The setting module 802, the receiving module 803, the sending module 804, the obtaining module 805, and the selecting module 806 can be executed by calling the application code stored in the memory 1003 by the processor 1001, which is not limited in this embodiment. Alternatively, for example, the processing module 901 and the communication module 902 in FIG. 9 may be implemented by the processor 1001 and the memory 1003 of FIG. 10. Specifically, the processing module 901 and the communication module 902 may be called by the processor 1001 in the memory 1003. The stored application code is executed, and the embodiment of the present application does not impose any limitation on this.
由于本申请实施例提供的终端可用于执行上述网络配置方法,因此其所能获得的技术效果可参考上述方法实施例,本申请实施例在此不再赘述。The terminal provided by the embodiment of the present application can be used to perform the foregoing network configuration method. Therefore, the technical solutions that can be obtained by reference to the foregoing method embodiments are not described herein.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。 当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(Digital Subscriber Line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(Solid State Disk,SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using a software program, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device that includes one or more servers, data centers, etc. that can be integrated with the media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a Solid State Disk (SSD)) or the like.
尽管在此结合各实施例对本申请进行了描述,然而,在实施所要求保护的本申请过程中,本领域技术人员通过查看所述附图、公开内容、以及所附权利要求书,可理解并实现所述公开实施例的其他变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其他单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但这并不表示这些措施不能组合起来产生良好的效果。Although the present application has been described herein in connection with the various embodiments, those skilled in the art can Other variations of the disclosed embodiments are achieved. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill several of the functions recited in the claims. Certain measures are recited in mutually different dependent claims, but this does not mean that the measures are not combined to produce a good effect.
尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。 While the present invention has been described in connection with the specific embodiments and embodiments thereof, various modifications and combinations can be made without departing from the spirit and scope of the application. Accordingly, the description and drawings are to be regarded as It will be apparent to those skilled in the art that various modifications and changes can be made in the present application without departing from the spirit and scope of the application. Thus, it is intended that the present invention cover the modifications and variations of the present invention.

Claims (31)

  1. 一种网络配置方法,其特征在于,所述方法包括:A network configuration method, the method comprising:
    终端激活目标预置签约信息集provisioning profile,其中,所述目标provisioning profile用于为所述终端提供下载可执行签约信息集operational profile的网络连接;The terminal activates a target preset subscription information set provisioning profile, where the target provisioning profile is used to provide the terminal with a network connection for downloading an executable subscription information set operational profile;
    所述终端在所述终端的操作系统OS中设置当前的网络模式为受限网络连接模式,其中,所述受限网络连接模式为仅允许本地文件助手LPA使用网络连接的网络模式,以使得所述LPA通过所述网络连接下载所述operational profile。The terminal sets a current network mode to a limited network connection mode in an operating system OS of the terminal, where the restricted network connection mode is a network mode that allows only the local file assistant LPA to use a network connection, so that the terminal The LPA downloads the operational profile through the network connection.
  2. 根据权利要求1所述的方法,其特征在于,所述终端在所述终端的OS中设置当前的网络模式为受限网络连接模式,包括:The method according to claim 1, wherein the terminal sets the current network mode to the restricted network connection mode in the OS of the terminal, including:
    所述终端通过所述LPA在所述终端的OS中设置当前的网络模式为所述受限网络连接模式。The terminal sets a current network mode in the OS of the terminal by the LPA to the restricted network connection mode.
  3. 根据权利要求2所述的方法,其特征在于,所述终端通过所述LPA在所述终端的OS中设置当前的网络模式为所述受限网络连接模式,包括:The method according to claim 2, wherein the terminal sets the current network mode to the restricted network connection mode in the OS of the terminal by using the LPA, including:
    所述终端通过所述终端的OS验证请求设置当前的网络模式为所述受限网络连接模式的第一应用是否是所述LPA;The terminal determines, by the OS verification request of the terminal, whether the current network mode is the first application of the restricted network connection mode is the LPA;
    若是,所述终端通过所述LPA在所述OS中设置当前的网络模式为所述受限网络连接模式。If yes, the terminal sets the current network mode in the OS to the restricted network connection mode by using the LPA.
  4. 根据权利要求1所述的方法,其特征在于,所述终端在所述终端的OS中设置当前的网络模式为受限网络连接模式,包括:The method according to claim 1, wherein the terminal sets the current network mode to the restricted network connection mode in the OS of the terminal, including:
    所述终端通过所述eUICC触发所述终端在所述终端的OS中设置当前的网络模式为所述受限网络连接模式。The terminal triggers, by the eUICC, the terminal to set a current network mode in the OS of the terminal to the restricted network connection mode.
  5. 根据权利要求4所述的方法,其特征在于,所述终端通过所述eUICC触发所述终端在所述终端的OS中设置当前的网络模式为所述受限网络连接模式,包括:The method according to claim 4, wherein the terminal triggers the terminal to set the current network mode in the OS of the terminal to the restricted network connection mode by using the eUICC, including:
    所述终端通过所述eUICC向所述终端的调制解调器modem发送refresh消息,以指示所述modem所述目标provisioning profile被激活,以使得所述modem在所述终端的OS层设置当前的网络模式为所述受限网络连接模式。Sending, by the eUICC, the refresh message to the modem modem of the terminal, to indicate that the target provisioning profile of the modem is activated, so that the modem sets a current network mode at the OS layer of the terminal. Restricted network connection mode.
  6. 根据权利要求1-5任一项所述的方法,其特征在于,在所述终端在所述终端的OS中设置当前的网络模式为受限网络连接模式之后,还包括:The method according to any one of claims 1-5, wherein after the terminal sets the current network mode to the restricted network connection mode in the OS of the terminal, the method further includes:
    所述终端通过所述OS接收第二应用的请求消息,所述请求消息用于查询当前的网络连接状态;Receiving, by the OS, a request message of a second application, where the request message is used to query a current network connection status;
    若所述第二应用是所述LPA,所述终端通过所述OS向所述LPA发送第一指示,所述第一指示用于指示当前的网络连接可用或者所述第一指示用于指示当前的所述受限网络连接模式可用。And if the second application is the LPA, the terminal sends a first indication to the LPA by using the OS, where the first indication is used to indicate that a current network connection is available or the first indication is used to indicate a current The restricted network connection mode is available.
  7. 根据权利要求6所述的方法,其特征在于,在所述终端通过所述OS接收第二应用的请求消息之后,还包括:The method according to claim 6, wherein after the terminal receives the request message of the second application by using the OS, the method further includes:
    若所述第二应用不是所述LPA,所述终端通过所述OS向所述第二应用发送第二指示,所述第二指示用于指示当前的网络连接不可用。 If the second application is not the LPA, the terminal sends a second indication to the second application by using the OS, where the second indication is used to indicate that the current network connection is unavailable.
  8. 根据权利要求1-5任一项所述的方法,其特征在于,在所述终端在所述终端的OS中设置当前的网络模式为受限网络连接模式之后,还包括:The method according to any one of claims 1-5, wherein after the terminal sets the current network mode to the restricted network connection mode in the OS of the terminal, the method further includes:
    所述终端通过所述OS向所述LPA发送第一指示,所述第一指示用于指示当前的网络连接可用或者所述第一指示用于指示当前受限的网络可用。The terminal sends a first indication to the LPA by using the OS, the first indication is used to indicate that a current network connection is available, or the first indication is used to indicate that a currently restricted network is available.
  9. 根据权利要求8所述的方法,其特征在于,在所述终端在所述终端的OS中设置当前的网络模式为受限网络连接模式之后,还包括:The method according to claim 8, wherein after the terminal sets the current network mode to the restricted network connection mode in the OS of the terminal, the method further includes:
    所述终端通过所述OS向所述LPA之外的应用发送第二指示,所述第二指示用于指示当前的网络连接不可用。The terminal sends a second indication to the application outside the LPA through the OS, where the second indication is used to indicate that the current network connection is unavailable.
  10. 根据权利要求1-9任一项所述的方法,其特征在于,在所述终端激活目标provisioning profile之前,还包括:The method according to any one of claims 1 to 9, wherein before the terminal activates the target provisioning profile, the method further includes:
    所述终端通过所述LPA获取所述终端所在地的国家码;The terminal acquires a country code of the location of the terminal by using the LPA;
    所述终端根据provisioning profile与国家码的对应关系,通过所述LPA从至少一个provisioning profile中选择所述终端所在地的国家码对应的provisioning profile作为所述目标provisioning profile;And the terminal selects a provisioning profile corresponding to the country code of the location of the terminal from the at least one provisioning profile by using the LPA as the target provisioning profile according to the correspondence between the provisioning profile and the country code;
    或者,所述终端通过所述LPA从至少一个provisioning profile中选择归属于所述终端所在地的国家码的provisioning profile作为所述目标provisioning profile;Or the terminal selects a provisioning profile of the country code attributed to the location of the terminal from the at least one provisioning profile by using the LPA as the target provisioning profile;
    或者,所述终端通过所述LPA从至少一个provisioning profile中选择归属于所述终端所在地的国家码的优先级最高的provisioning profile作为所述目标provisioning profile。Alternatively, the terminal selects, by using the LPA, the provisioning profile with the highest priority attributed to the country code of the location of the terminal from the at least one provisioning profile as the target provisioning profile.
  11. 根据权利要求1-9任一项所述的方法,其特征在于,在所述终端激活目标provisioning profile之前,还包括:The method according to any one of claims 1 to 9, wherein before the terminal activates the target provisioning profile, the method further includes:
    所述终端通过所述终端上的eUICC获取所述终端所在地的国家码;The terminal acquires a country code of the location of the terminal by using an eUICC on the terminal;
    所述终端根据provisioning profile与国家码的对应关系,通过所述eUICC从至少一个provisioning profile中选择所述终端所在地的国家码对应的provisioning profile作为所述目标provisioning profile;The terminal selects a provisioning profile corresponding to the country code of the location of the terminal from the at least one provisioning profile as the target provisioning profile by using the eUICC according to the correspondence between the provisioning profile and the country code;
    或者,所述终端通过所述eUICC从至少一个provisioning profile中选择归属于所述终端所在地的国家码的provisioning profile作为所述目标provisioning profile;Or the terminal selects a provisioning profile of the country code attributed to the location of the terminal from the at least one provisioning profile by using the eUICC as the target provisioning profile;
    或者,所述终端通过所述eUICC从至少一个provisioning profile中选择归属于所述终端所在地的国家码的优先级最高的provisioning profile作为所述目标provisioning profile。Alternatively, the terminal selects, by using the eUICC, a provisioning profile with the highest priority attributed to the country code of the location of the terminal from the at least one provisioning profile as the target provisioning profile.
  12. 根据权利要求11所述的方法,其特征在于,所述终端通过所述终端上的eUICC获取所述终端所在地的国家码,包括:The method according to claim 11, wherein the terminal acquires the country code of the location of the terminal by using the eUICC on the terminal, including:
    所述终端通过所述eUICC向所述终端的modem发送本地信息获取请求,所述本地信息获取请求用于请求获取所述终端所在地的国家码,以使得所述modem获取所述国家码,并向所述eUICC发送所述国家码,以使得所述eUICC接收所述modem发送的所述国家码;The terminal sends a local information acquisition request to the modem of the terminal by using the eUICC, where the local information acquisition request is used to request to acquire a country code of the location of the terminal, so that the modem acquires the country code, and Sending, by the eUICC, the country code, so that the eUICC receives the country code sent by the modem;
    或者,所述终端通过所述LPA获取所述终端所在地的国家码,并向所述eUICC发送所述国家码,以使得所述eUICC接收所述LPA发送的所述国家码。 Or the terminal acquires the country code of the location of the terminal by using the LPA, and sends the country code to the eUICC, so that the eUICC receives the country code sent by the LPA.
  13. 根据权利要求1-9任一项所述的方法,其特征在于,在所述终端激活目标provisioning profile之前,还包括:The method according to any one of claims 1 to 9, wherein before the terminal activates the target provisioning profile, the method further includes:
    所述终端通过所述LPA获取所述终端所在地的运营商码;The terminal acquires an operator code of the location of the terminal by using the LPA;
    所述终端根据provisioning profile与运营商码的对应关系,通过所述LPA从至少一个provisioning profile中选择所述终端所在地的运营商码对应的provisioning profile作为所述目标provisioning profile;The terminal selects, by the LPA, a provisioning profile corresponding to an operator code of the location of the terminal from the at least one provisioning profile as the target provisioning profile, according to the correspondence between the provisioning profile and the operator code;
    或者,所述终端通过所述LPA从至少一个provisioning profile中选择归属于所述终端所在地的运营商码的provisioning profile作为所述目标provisioning profile;Or the terminal selects, by the LPA, a provisioning profile of an operator code attributed to the location of the terminal from the at least one provisioning profile as the target provisioning profile;
    或者,所述终端通过所述LPA从至少一个provisioning profile中选择归属于所述终端所在地的运营商码的优先级最高的provisioning profile作为所述目标provisioning profile。Alternatively, the terminal selects, by using the LPA, the provisioning profile with the highest priority attributed to the carrier code of the location of the terminal from the at least one provisioning profile as the target provisioning profile.
  14. 根据权利要求1-9任一项所述的方法,其特征在于,在所述终端激活目标provisioning profile之前,还包括:The method according to any one of claims 1 to 9, wherein before the terminal activates the target provisioning profile, the method further includes:
    所述终端通过所述终端上的eUICC获取所述终端所在地的运营商码;The terminal acquires an operator code of the location of the terminal by using an eUICC on the terminal;
    所述终端根据provisioning profile与运营商码的对应关系,通过所述eUICC从至少一个provisioning profile中选择所述终端所在地的运营商码对应的provisioning profile作为所述目标provisioning profile;The terminal selects, by the eUICC, a provisioning profile corresponding to the carrier code of the location of the terminal as the target provisioning profile by using the eUICC according to the correspondence between the provisioning profile and the carrier code.
    或者,所述终端通过所述eUICC从至少一个provisioning profile中选择归属于所述终端所在地的运营商码的provisioning profile作为所述目标provisioning profile;Or the terminal selects, by the eUICC, a provisioning profile of an operator code attributed to the location of the terminal from the at least one provisioning profile as the target provisioning profile;
    或者,所述终端通过所述eUICC从至少一个provisioning profile中选择归属于所述终端所在地的运营商码的优先级最高的provisioning profile作为所述目标provisioning profile。Alternatively, the terminal selects, by using the eUICC, a provisioning profile with the highest priority attributed to the carrier code of the location of the terminal from the at least one provisioning profile as the target provisioning profile.
  15. 根据权利要求14所述的方法,其特征在于,所述终端通过所述终端上的eUICC获取所述终端所在地的运营商码,包括:The method according to claim 14, wherein the terminal acquires an operator code of the location of the terminal by using an eUICC on the terminal, including:
    所述终端通过所述eUICC向所述终端的modem发送本地信息获取请求,所述本地信息获取请求用于请求获取所述终端所在地的运营商码,以使得所述modem获取所述运营商码,并向所述eUICC发送所述运营商码,以使得所述eUICC接收所述modem发送的所述运营商码;The terminal sends a local information acquisition request to the modem of the terminal by using the eUICC, where the local information acquisition request is used to request to obtain an operator code of the terminal location, so that the modem acquires the carrier code. And sending the carrier code to the eUICC, so that the eUICC receives the operator code sent by the modem;
    或者,所述终端通过所述LPA获取所述终端所在地的运营商码,并向所述eUICC发送所述运营商码,以使得所述eUICC接收所述LPA发送的所述运营商码。Or the terminal acquires the carrier code of the location of the terminal by using the LPA, and sends the carrier code to the eUICC, so that the eUICC receives the carrier code sent by the LPA.
  16. 一种终端,其特征在于,所述终端包括激活模块和设置模块;A terminal, wherein the terminal comprises an activation module and a setting module;
    所述激活模块,用于激活目标预置签约信息集provisioning profile,其中,所述目标provisioning profile用于为所述终端提供下载可执行签约信息集operational profile的网络连接;The activation module is configured to activate a target provisioning information set provisioning profile, where the target provisioning profile is used to provide the terminal with a network connection for downloading an executable subscription information set operational profile;
    所述设置模块,用于在所述终端的操作系统OS中设置当前的网络模式为受限网络连接模式,其中,所述受限网络连接模式为仅允许本地文件助手LPA使用网络连接的网络模式,以使得所述LPA通过所述网络连接下载所述operational  profile。The setting module is configured to set a current network mode to a limited network connection mode in an operating system OS of the terminal, where the restricted network connection mode is a network mode that only allows a local file assistant LPA to use a network connection. So that the LPA downloads the operational through the network connection Profile.
  17. 根据权利要求16所述的终端,其特征在于,所述设置模块具体用于:The terminal according to claim 16, wherein the setting module is specifically configured to:
    通过所述LPA在所述终端的OS中设置当前的网络模式为所述受限网络连接模式。Setting, by the LPA, a current network mode in the OS of the terminal is the restricted network connection mode.
  18. 根据权利要求17所述的终端,其特征在于,所述设置模块具体用于:The terminal according to claim 17, wherein the setting module is specifically configured to:
    通过所述终端的OS验证请求设置当前的网络模式为所述受限网络连接模式的第一应用是否是所述LPA;Setting, by the OS verification request of the terminal, whether the current network mode is the first application of the restricted network connection mode is the LPA;
    若是,通过所述LPA在所述OS中设置当前的网络模式为所述受限网络连接模式。If so, the current network mode is set in the OS by the LPA to the restricted network connection mode.
  19. 根据权利要求16所述的终端,其特征在于,所述设置模块具体用于:The terminal according to claim 16, wherein the setting module is specifically configured to:
    通过所述eUICC触发在所述终端的OS中设置当前的网络模式为所述受限网络连接模式。The current network mode is set in the OS of the terminal by the eUICC to be the restricted network connection mode.
  20. 根据权利要求19所述的终端,其特征在于,所述设置模块具体用于:The terminal according to claim 19, wherein the setting module is specifically configured to:
    通过所述eUICC向所述终端的调制解调器modem发送refresh消息,以指示所述modem所述目标provisioning profile被激活,以使得所述modem在所述终端的OS层设置当前的网络模式为所述受限网络连接模式。Sending a refresh message to the modem modem of the terminal by the eUICC to indicate that the target provisioning profile of the modem is activated, so that the modem sets a current network mode at the OS layer of the terminal to be the restricted Network connection mode.
  21. 根据权利要求16-20任一项所述的终端,其特征在于,所述终端还包括接收模块和发送模块;The terminal according to any one of claims 16 to 20, wherein the terminal further comprises a receiving module and a sending module;
    所述接收模块,用于在所述设置模块在所述终端的OS中设置当前的网络模式为受限网络连接模式之后,通过所述OS接收第二应用的请求消息,所述请求消息用于查询当前的网络连接状态;The receiving module is configured to receive, by the OS, a request message of a second application after the setting module sets a current network mode in a restricted network connection mode in an OS of the terminal, where the request message is used Query the current network connection status;
    所述发送模块,用于若所述第二应用是所述LPA,通过所述OS向所述LPA发送第一指示,所述第一指示用于指示当前的网络连接可用或者所述第一指示用于指示当前的所述受限网络连接模式可用。The sending module is configured to send, by the OS, a first indication to the LPA by using the OS, where the first indication is used to indicate that a current network connection is available or the first indication is Used to indicate that the current restricted network connection mode is available.
  22. 根据权利要求21所述的终端,其特征在于,The terminal according to claim 21, characterized in that
    所述发送模块,还用于在所述接收模块通过所述OS接收第二应用的请求消息之后,若所述第二应用不是所述LPA,通过所述OS向所述第二应用发送第二指示,所述第二指示用于指示当前的网络连接不可用。The sending module is further configured to: after the receiving module receives the request message of the second application by using the OS, if the second application is not the LPA, send the second to the second application by using the OS The second indication is used to indicate that the current network connection is unavailable.
  23. 根据权利要求16-20任一项所述的终端,其特征在于,所述终端还包括发送模块;The terminal according to any one of claims 16 to 20, wherein the terminal further comprises a sending module;
    所述发送模块,用于在所述设置模块在所述终端的OS中设置当前的网络模式为受限网络连接模式之后,通过所述OS向所述LPA发送第一指示,所述第一指示用于指示当前的网络连接可用或者所述第一指示用于指示当前受限的网络可用。The sending module is configured to send, by the OS, a first indication, by the OS, to the LPA after the setting module sets a current network mode to a restricted network connection mode in an OS of the terminal, where the first indication is Used to indicate that a current network connection is available or the first indication is used to indicate that a currently restricted network is available.
  24. 根据权利要求23所述的终端,其特征在于,The terminal according to claim 23, characterized in that
    所述发送模块,还用于在所述设置模块在所述终端的OS中设置当前的网络模式为受限网络连接模式之后,通过所述OS向所述LPA之外的应用发送第二指示,所述第二指示用于指示当前的网络连接不可用。The sending module is further configured to: after the setting module sets the current network mode to the restricted network connection mode in the OS of the terminal, send, by using the OS, a second indication to an application other than the LPA, The second indication is for indicating that the current network connection is unavailable.
  25. 根据权利要求16-24任一项所述的终端,其特征在于,所述终端还包括 了获取模块和选择模块;The terminal according to any one of claims 16 to 24, wherein the terminal further comprises Obtaining a module and selecting a module;
    所述获取模块,用于在所述激活模块激活目标provisioning profile之前,通过所述LPA获取所述终端所在地的国家码;The obtaining module is configured to acquire, by using the LPA, a country code of a location of the terminal before the activation module activates a target provisioning profile;
    所述选择模块,用于根据provisioning profile与国家码的对应关系,通过所述LPA从至少一个provisioning profile中选择所述终端所在地的国家码对应的provisioning profile作为所述目标provisioning profile;The selection module is configured to select, by the LPA, a provisioning profile corresponding to the country code of the location of the terminal from the at least one provisioning profile as the target provisioning profile according to the correspondence between the provisioning profile and the country code;
    或者,所述选择模块,用于通过所述LPA从至少一个provisioning profile中选择归属于所述终端所在地的国家码的provisioning profile作为所述目标provisioning profile;Alternatively, the selecting module is configured to select, by using the LPA, a provisioning profile of a country code attributed to the location of the terminal from the at least one provisioning profile as the target provisioning profile;
    或者,所述选择模块,用于通过所述LPA从至少一个provisioning profile中选择归属于所述终端所在地的国家码的优先级最高的provisioning profile作为所述目标provisioning profile。Alternatively, the selecting module is configured to select, by using the LPA, a provisioning profile with the highest priority attributed to the country code of the location of the terminal from the at least one provisioning profile as the target provisioning profile.
  26. 根据权利要求16-24任一项所述的终端,其特征在于,所述终端还包括了获取模块和选择模块;The terminal according to any one of claims 16 to 24, wherein the terminal further comprises an obtaining module and a selecting module;
    所述获取模块,用于在所述激活模块激活目标provisioning profile之前,通过所述终端上的eUICC获取所述终端所在地的国家码;The obtaining module is configured to acquire, by using an eUICC on the terminal, a country code of the location of the terminal, before the activation module activates the target provisioning profile;
    所述选择模块,用于根据provisioning profile与国家码的对应关系,通过所述eUICC从至少一个provisioning profile中选择所述终端所在地的国家码对应的provisioning profile作为所述目标provisioning profile;The selecting module is configured to select, by the eUICC, a provisioning profile corresponding to the country code of the location of the terminal as the target provisioning profile by using the eUICC according to the correspondence between the provisioning profile and the country code;
    或者,所述选择模块,用于通过所述eUICC从至少一个provisioning profile中选择归属于所述终端所在地的国家码的provisioning profile作为所述目标provisioning profile;Or the selection module, configured to select, by using the eUICC, a provisioning profile of a country code attributed to the location of the terminal from the at least one provisioning profile as the target provisioning profile;
    或者,所述选择模块,用于通过所述eUICC从至少一个provisioning profile中选择归属于所述终端所在地的国家码的优先级最高的provisioning profile作为所述目标provisioning profile。Alternatively, the selecting module is configured to select, by using the eUICC, a provisioning profile with the highest priority attributed to the country code of the terminal location from the at least one provisioning profile as the target provisioning profile.
  27. 根据权利要求26所述的终端,其特征在于,所述获取模块具体用于:The terminal according to claim 26, wherein the obtaining module is specifically configured to:
    通过所述eUICC向所述终端的modem发送本地信息获取请求,所述本地信息获取请求用于请求获取所述终端所在地的国家码,以使得所述modem获取所述国家码,并向所述eUICC发送所述国家码,以使得所述eUICC接收所述modem发送的所述国家码;Sending, by the eUICC, a local information acquisition request to the modem of the terminal, where the local information acquisition request is used to request to acquire a country code of the location of the terminal, so that the modem acquires the country code, and sends the country code to the eUICC. Transmitting the country code, so that the eUICC receives the country code sent by the modem;
    或者,通过所述LPA获取所述终端所在地的国家码,并向所述eUICC发送所述国家码,以使得所述eUICC接收所述LPA发送的所述国家码。Or acquiring, by the LPA, a country code of the location of the terminal, and sending the country code to the eUICC, so that the eUICC receives the country code sent by the LPA.
  28. 根据权利要求16-24任一项所述的终端,其特征在于,所述终端还包括了获取模块和选择模块;The terminal according to any one of claims 16 to 24, wherein the terminal further comprises an obtaining module and a selecting module;
    所述获取模块,用于在所述激活模块激活目标provisioning profile之前,通过所述LPA获取所述终端所在地的运营商码;The acquiring module is configured to acquire, by using the LPA, an operator code of the location of the terminal, before the activation module activates the target provisioning profile;
    所述选择模块,用于根据provisioning profile与运营商码的对应关系,通过所述LPA从至少一个provisioning profile中选择所述终端所在地的运营商码对应的provisioning profile作为所述目标provisioning profile; The selection module is configured to select, by the LPA, a provisioning profile corresponding to an operator code of the location of the terminal from the at least one provisioning profile as the target provisioning profile according to the correspondence between the provisioning profile and the operator code;
    或者,所述选择模块,用于通过所述LPA从至少一个provisioning profile中选择归属于所述终端所在地的运营商码的provisioning profile作为所述目标provisioning profile;Or the selection module, configured to select, by the LPA, a provisioning profile of an operator code attributed to the location of the terminal from the at least one provisioning profile as the target provisioning profile;
    或者,所述选择模块,用于通过所述LPA从至少一个provisioning profile中选择归属于所述终端所在地的运营商码的优先级最高的provisioning profile作为所述目标provisioning profile。Alternatively, the selecting module is configured to select, by using the LPA, a provisioning profile with the highest priority attributed to the carrier code of the location of the terminal from the at least one provisioning profile as the target provisioning profile.
  29. 根据权利要求16-24任一项所述的终端,其特征在于,所述终端还包括了获取模块和选择模块;The terminal according to any one of claims 16 to 24, wherein the terminal further comprises an obtaining module and a selecting module;
    所述获取模块,用于在所述激活模块激活目标provisioning profile之前,通过所述终端上的eUICC获取所述终端所在地的运营商码;The acquiring module is configured to acquire, by using an eUICC on the terminal, an operator code of the location of the terminal, before the activation module activates the target provisioning profile;
    所述选择模块,用于根据provisioning profile与运营商码的对应关系,通过所述eUICC从至少一个provisioning profile中选择所述终端所在地的运营商码对应的provisioning profile作为所述目标provisioning profile;The selection module is configured to select, by the eUICC, a provisioning profile corresponding to an operator code of the location of the terminal as the target provisioning profile by using the eUICC according to a correspondence between a provisioning profile and an operator code;
    或者,所述选择模块,用于通过所述eUICC从至少一个provisioning profile中选择归属于所述终端所在地的运营商码的provisioning profile作为所述目标provisioning profile;Or the selection module, configured to select, by using the eUICC, a provisioning profile of an operator code attributed to the location of the terminal from the at least one provisioning profile as the target provisioning profile;
    或者,所述选择模块,用于通过所述eUICC从至少一个provisioning profile中选择归属于所述终端所在地的运营商码的优先级最高的provisioning profile作为所述目标provisioning profile。Alternatively, the selecting module is configured to select, by using the eUICC, a provisioning profile with the highest priority attributed to the carrier code of the location of the terminal from the at least one provisioning profile as the target provisioning profile.
  30. 根据权利要求29所述的终端,其特征在于,所述获取模块具体用于:The terminal according to claim 29, wherein the obtaining module is specifically configured to:
    通过所述eUICC向所述终端的modem发送本地信息获取请求,所述本地信息获取请求用于请求获取所述终端所在地的运营商码,以使得所述modem获取所述运营商码,并向所述eUICC发送所述运营商码,以使得所述eUICC接收所述modem发送的所述运营商码;Sending, by the eUICC, a local information acquisition request to the modem of the terminal, where the local information acquisition request is used to request to obtain an operator code of the location of the terminal, so that the modem acquires the carrier code, and Transmitting the carrier code by the eUICC, so that the eUICC receives the operator code sent by the modem;
    或者,通过所述LPA获取所述终端所在地的运营商码,并向所述eUICC发送所述运营商码,以使得所述eUICC接收所述LPA发送的所述运营商码。Or obtaining, by the LPA, an operator code of the location of the terminal, and sending the carrier code to the eUICC, so that the eUICC receives the carrier code sent by the LPA.
  31. 一种终端,其特征在于,包括:处理器、存储器、总线和通信接口;A terminal, comprising: a processor, a memory, a bus, and a communication interface;
    所述存储器用于存储计算机执行指令,所述处理器与所述存储器通过所述总线连接,当所述终端运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述终端执行如权利要求1-15中任意一项所述的网络配置方法。 The memory is configured to store a computer execution instruction, the processor is connected to the memory through the bus, and when the terminal is running, the processor executes the computer execution instruction stored in the memory to make The terminal performs the network configuration method according to any one of claims 1-15.
PCT/CN2017/086716 2017-03-01 2017-05-31 Network configuration method and terminal WO2018157484A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201780086679.2A CN110301146B (en) 2017-03-01 2017-05-31 Network configuration method and terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710117511 2017-03-01
CN201710117511.5 2017-03-01

Publications (1)

Publication Number Publication Date
WO2018157484A1 true WO2018157484A1 (en) 2018-09-07

Family

ID=63369687

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/086716 WO2018157484A1 (en) 2017-03-01 2017-05-31 Network configuration method and terminal

Country Status (2)

Country Link
CN (1) CN110301146B (en)
WO (1) WO2018157484A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111556015B (en) * 2020-03-25 2022-01-21 深圳市广和通无线股份有限公司 Embedded user identification card development platform and embedded user identification card configuration method
CN113676894B (en) * 2020-05-14 2023-06-13 成都鼎桥通信技术有限公司 Service processing method and equipment
CN112839325B (en) * 2020-12-29 2024-08-09 北京握奇智能科技有限公司 Method for realizing machine-card binding by card end application

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014038874A2 (en) * 2012-09-07 2014-03-13 주식회사 케이티 Subscriber identity module using provisioning profile and method for accessing network using same
CN104185161A (en) * 2014-09-11 2014-12-03 中国联合网络通信集团有限公司 Embedded universal integrated circuit card, and user subscription information switching method and system
CN104469737A (en) * 2014-11-17 2015-03-25 中国联合网络通信集团有限公司 Embedded universal integrated circuit card and user subscription information activation method thereof
CN105916134A (en) * 2015-02-23 2016-08-31 苹果公司 METHOD AND APPARATUS FOR SELECTING BOOTSTRAP Esims

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100586218C (en) * 2006-04-20 2010-01-27 大唐移动通信设备有限公司 A mobile communication terminal position updating method
CN101272298A (en) * 2007-03-20 2008-09-24 华为技术有限公司 Method and equipment for managing, measuring and reporting limited network user
CN101610588A (en) * 2008-06-20 2009-12-23 华为技术有限公司 The searching method of limited network, device and system
CN101848449B (en) * 2009-03-24 2013-12-04 华为技术有限公司 Method, device and system for user management and state maintenance
CN102271382B (en) * 2010-06-07 2014-08-20 电信科学技术研究院 Access control method and equipment for machine type communication (MTC) equipment
CN101888705B (en) * 2010-07-28 2014-12-17 中兴通讯股份有限公司 Business establishment control method and system in long-term evolution network and terminal device
CN102480799B (en) * 2010-11-24 2015-12-16 中兴通讯股份有限公司 A kind of method of cordless communication network and notice equipment for machine type communication off-line thereof
CN103731821B (en) * 2012-10-12 2017-04-19 华为终端有限公司 Data privacy method and device based on embedded universal integrated circuit card
US9313650B2 (en) * 2012-10-22 2016-04-12 Ntt Docomo, Inc. Communications system, mobile communications device, transition control device, transition control method, and transition control program
CN104703199B (en) * 2013-12-05 2018-05-11 华为终端(东莞)有限公司 Management method, relevant device and the system of universal embedded integrated circuit card
KR102311027B1 (en) * 2014-08-14 2021-10-08 삼성전자 주식회사 A method and apparatus for profile downloading of group devices
EP3562184B1 (en) * 2015-04-13 2020-08-12 Samsung Electronics Co., Ltd. Technique for managing profile in communication system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014038874A2 (en) * 2012-09-07 2014-03-13 주식회사 케이티 Subscriber identity module using provisioning profile and method for accessing network using same
CN104185161A (en) * 2014-09-11 2014-12-03 中国联合网络通信集团有限公司 Embedded universal integrated circuit card, and user subscription information switching method and system
CN104469737A (en) * 2014-11-17 2015-03-25 中国联合网络通信集团有限公司 Embedded universal integrated circuit card and user subscription information activation method thereof
CN105916134A (en) * 2015-02-23 2016-08-31 苹果公司 METHOD AND APPARATUS FOR SELECTING BOOTSTRAP Esims

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
YANG, JIAN ET AL.: "Analysis and Suggestions on Key Problems of Telecom Operators eUICC Development", MOBILE COMMUNICATIONS, 31 December 2015 (2015-12-31) *

Also Published As

Publication number Publication date
CN110301146A (en) 2019-10-01
CN110301146B (en) 2021-02-26

Similar Documents

Publication Publication Date Title
KR102224760B1 (en) Automatic application updates
KR102308611B1 (en) Policy Control Methods, Network Elements, and Systems
WO2020259652A1 (en) Method and apparatus for managing network slice of application
US10819592B2 (en) Slice instance management method and apparatus
US20140289413A1 (en) Automatic resource balancing for multi-device applications
US11252020B2 (en) Service region management method and apparatus
WO2020164290A1 (en) Policy control method, apparatus, and system
WO2018166398A1 (en) System for managing license in nfv network
WO2019033967A1 (en) Secure access method, device and system
WO2018076976A1 (en) Method, device, and system for reporting location change
US20160366541A1 (en) Electronic device and method for providing function in electronic device
KR102294040B1 (en) Method and apparatus for transmitting and receiving data
WO2018157484A1 (en) Network configuration method and terminal
WO2019174437A1 (en) Address management method, device and system
WO2019120073A1 (en) Data transmission method, device and system
US10284614B2 (en) Method for downloading contents of electronic device and electronic device thereof
WO2017193810A1 (en) Software loading method, device and system
WO2018042313A2 (en) Techniques for implementing universal commands in a welding or cutting system
JP2021010164A (en) Method and apparatus for processing notification using notification preset
US9065829B2 (en) Automatic resource balancing for multi-device applications
CN108028851B (en) Equipment group management method, device and system
WO2019192439A1 (en) Communication capability reporting method, device and system
US20240031136A1 (en) System and method for bluetooth group pairing and connectivity
CN105827430A (en) Service request processing platform
WO2019062591A1 (en) Method, device, and system for resolving network adjustment conflict

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: 17899151

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17899151

Country of ref document: EP

Kind code of ref document: A1