[go: up one dir, main page]

CN113950045B - Download method and electronic device of contract data - Google Patents

Download method and electronic device of contract data Download PDF

Info

Publication number
CN113950045B
CN113950045B CN202010694678.XA CN202010694678A CN113950045B CN 113950045 B CN113950045 B CN 113950045B CN 202010694678 A CN202010694678 A CN 202010694678A CN 113950045 B CN113950045 B CN 113950045B
Authority
CN
China
Prior art keywords
electronic device
download server
download
esim
operator
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010694678.XA
Other languages
Chinese (zh)
Other versions
CN113950045A (en
Inventor
黄金晶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202010694678.XA priority Critical patent/CN113950045B/en
Publication of CN113950045A publication Critical patent/CN113950045A/en
Application granted granted Critical
Publication of CN113950045B publication Critical patent/CN113950045B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H04W8/205Transfer to or from user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • H04W8/245Transfer of terminal data from a network towards a terminal

Landscapes

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

Abstract

The embodiment of the application provides a method and electronic equipment for downloading subscription data, wherein in the method, after starting up, operator network search is started; if the operator network is searched, acquiring an operator network identifier of the operator network; searching for the obtained download server address corresponding to the operator network identifier from the corresponding relation between the preset operator network identifier and the download server address; and if the address of the download server corresponding to the acquired operator network identifier is found, downloading the subscription data required by the eSIM from the found address of the download server according to the identification information of the eSIM built in the electronic equipment, so that the method does not need to build a Bluetooth module in the electronic equipment, the cost and the power consumption are relatively low, and the downloading process is relatively simple.

Description

签约数据的下载方法和电子设备Contract Data Downloading Method and Electronic Device

技术领域technical field

本申请涉及智能终端技术领域,特别涉及签约数据的下载方法和电子设备。The present application relates to the technical field of smart terminals, in particular to a method for downloading subscription data and electronic equipment.

背景技术Background technique

嵌入式用户识别模块(eSIM,embedded subscriber identity module)是SIM的演进形态,它以芯片的形式直接集成在电子设备内部,用户在购买电子设备后可以直接使用eSIM进行电子设备与其他设备的通信,无需再插入物理的实体SIM。Embedded subscriber identity module (eSIM, embedded subscriber identity module) is the evolution form of SIM, which is directly integrated in the electronic device in the form of a chip. After purchasing the electronic device, the user can directly use the eSIM to communicate between the electronic device and other devices. There is no need to insert a physical physical SIM anymore.

由于eSIM集成在电子设备内部,因此,电子设备出厂后,eSIM内部一般是没有任何用户和运营商之间的签约数据(Profile)的。内置eSIM的电子设备,在用户开机后,需要将Profile在线下载到电子设备的eSIM,之后,电子设备内置的eSIM才能够正常工作。对于具有显示屏且方便用户进行界面操作的电子设备,用户可以在电子设备上通过界面操作完成Profile下载,而对于不具有显示屏或者显示屏较小从而导致用户的界面操作受限的电子设备例如可穿戴设备或者形态简单的物联网(IOT,internet of things)设备而言,由于界面操作受限,用户无法通过在电子设备本体上进行界面操作下载Profile,使得Profile下载较为困难。对现有技术中电子设备从运营商下载签约数据(Profile)的方案介绍如下。Since the eSIM is integrated inside the electronic device, after the electronic device leaves the factory, there is generally no contract data (Profile) between the user and the operator inside the eSIM. For electronic devices with built-in eSIM, after the user turns on the device, the profile needs to be downloaded online to the eSIM of the electronic device, and then the built-in eSIM of the electronic device can work normally. For an electronic device with a display screen that is convenient for the user to perform interface operations, the user can complete the profile download through an interface operation on the electronic device, while for an electronic device that does not have a display screen or has a small display screen, the user's interface operations are limited, such as For wearable devices or simple Internet of Things (IOT, internet of things) devices, due to limited interface operations, users cannot download Profiles through interface operations on the electronic device body, making it difficult to download Profiles. The solution of downloading subscription data (Profile) by an electronic device from an operator in the prior art is introduced as follows.

参见图1所示,是手机、平板电脑(PAD,portable android device)等带有显示屏且方便用户进行界面操作的电子设备的Profile下载过程的系统框架以及流程示意图。主要包括:用户通过运营商门店或运营商App和运营商签约;运营商服务端生成Profile,并将Profile存储至指示订阅管理器数据准备增强(SM-DP+,subscription manager datapreparation plus),并且,运营商服务端生成上述Profile对应的激活码,将激活码传输至电子设备,激活码中包含SM-DP+地址,上述SM-DP+是用于支持Profile下载的服务器;电子设备从激活码中识别出SM-DP+地址,向SM-DP+发送Profile下载请求;SM-DP+收到Profile下载请求后,启动Profile数据下载。通过以上流程,电子设备即可以将Profile下载到电子设备的eSIM内部。Referring to FIG. 1 , it is a system framework and a schematic flow diagram of the Profile downloading process of electronic devices such as mobile phones and tablet computers (PAD, portable android device) that have display screens and are convenient for users to perform interface operations. It mainly includes: the user signs a contract with the operator through the operator's store or the operator's App; the operator's server generates a Profile, and stores the Profile to instruct the subscription manager data preparation plus (SM-DP+, subscription manager data preparation plus), and the operation The merchant server generates the activation code corresponding to the above Profile, and transmits the activation code to the electronic device. The activation code contains the address of SM-DP+, and the above SM-DP+ is a server for supporting Profile download; the electronic device recognizes the SM from the activation code. -DP+ address, send a Profile download request to SM-DP+; SM-DP+ starts Profile data download after receiving the Profile download request. Through the above process, the electronic device can download the Profile into the eSIM of the electronic device.

参见图2所示,是可穿戴设备、IOT设备等用户进行界面操作受限的电子设备的Profile下载过程的系统框架以及流程示意图,相比于图1所示的流程增加了辅助设备,这里的辅助设备一般是手机、PAD等带有显示屏且方便用户进行界面操作的电子设备。主要包括:用户通过运营商门店或运营商App和运营商签约;运营商服务端生成Profile,并将Profile存储至SM-DP+,并且,运营商服务端生成上述Profile对应的激活码,将激活码传输至辅助设备;辅助设备通过蓝牙将激活码传输至主设备,这里的主设备也即是上述可穿戴设备、IOT设备等用户进行界面操作受限的电子设备;主设备从激活码中识别出SM-DP+地址,向SM-DP+发送Profile下载请求;SM-DP+收到Profile下载请求后,启动Profile数据下载。通过以上流程,主设备即可以将Profile下载到主设备的eSIM内部。需要说明的是,主设备与SM-DP+之间的数据传输是通过辅助设备转发的,也即:主设备向辅助设备发送Profile下载请求,辅助设备将Profile下载请求转发至SM-DP+,同样的,SM-DP+发送Profile至辅助设备,由辅助设备将Profile通过蓝牙转发至主设备。See Figure 2, which is a system framework and flow diagram of the Profile download process for electronic devices such as wearable devices and IOT devices with limited interface operations. Compared with the process shown in Figure 1, auxiliary equipment is added, here Auxiliary devices are generally mobile phones, PADs and other electronic devices with display screens that are convenient for users to perform interface operations. It mainly includes: the user signs a contract with the operator through the operator's store or the operator's App; the operator's server generates a Profile and stores the Profile in SM-DP+, and the operator's server generates the activation code corresponding to the above Profile, and the activation code Transmission to the auxiliary device; the auxiliary device transmits the activation code to the main device through Bluetooth, where the main device is the above-mentioned wearable device, IOT device and other electronic devices with limited user interface operations; the main device recognizes the activation code from the activation code. SM-DP+ address, send a Profile download request to SM-DP+; SM-DP+ starts Profile data download after receiving the Profile download request. Through the above process, the main device can download the profile to the eSIM of the main device. It should be noted that the data transmission between the main device and SM-DP+ is forwarded by the auxiliary device, that is: the main device sends a Profile download request to the auxiliary device, and the auxiliary device forwards the Profile download request to the SM-DP+, the same , SM-DP+ sends the Profile to the auxiliary device, and the auxiliary device forwards the Profile to the main device via Bluetooth.

现有技术中的Profile下载方法,对于用户进行界面操作受限的电子设备例如可穿戴设备以及IOT设备尤其是IOT设备而言,为了从辅助设备获取激活码和Profile,Profile下载之前用户必须先操作电子设备和辅助设备进行蓝牙配对、连接,如果面对海量的IOT设备,用户对每台IOT设备都要执行重复的蓝牙配对、连接操作,过程繁琐且耗时过多;而且,为了能够在电子设备与辅助设备之间传输激活码和Profile时满足速率要求,电子设备必须内置传统蓝牙模块,而不能内置BLE,导致电子设备的成本和功耗上升,如果电子设备的主要业务对蓝牙没有应用场景,还会导致电子设备中内置的蓝牙模块的浪费。In the Profile download method in the prior art, for electronic devices such as wearable devices and IOT devices, especially IOT devices, for which the user has limited interface operations, in order to obtain the activation code and Profile from the auxiliary device, the user must first operate the Bluetooth pairing and connection between electronic devices and auxiliary devices, if faced with a large number of IOT devices, users have to perform repeated Bluetooth pairing and connection operations for each IOT device, the process is cumbersome and time-consuming; moreover, in order to be able to When the activation code and profile are transmitted between the device and the auxiliary device, the speed requirement is met. The electronic device must have a built-in traditional Bluetooth module instead of a built-in BLE, which will lead to an increase in the cost and power consumption of the electronic device. If the main business of the electronic device does not have an application scenario for Bluetooth , It also leads to the waste of the built-in bluetooth module in the electronic equipment.

发明内容Contents of the invention

本申请提供了一种签约数据的下载方法和电子设备,无需在电子设备中内置蓝牙模块,成本和功耗相对较低,且下载过程相对简单。The present application provides a method for downloading contract data and an electronic device, without a built-in Bluetooth module in the electronic device, relatively low cost and power consumption, and a relatively simple downloading process.

第一方面,本申请提供了一种签约数据的下载方法,应用于内置嵌入式用户识别模块eSIM的电子设备,包括:In the first aspect, the present application provides a method for downloading subscription data, which is applied to an electronic device with a built-in embedded subscriber identification module eSIM, including:

开机后启动运营商网络搜索;Start the carrier network search after booting;

如果搜索到运营商网络,获取运营商网络的运营商网络标识;If the operator network is found, obtain the operator network identifier of the operator network;

从预设的运营商网络标识与下载服务器地址之间的对应关系中查找获取的运营商网络标识对应的下载服务器地址;Searching for the obtained download server address corresponding to the operator network identifier from the preset correspondence between the operator network identifier and the download server address;

如果查找到获取的运营商网络标识对应的下载服务器地址,根据电子设备内置的eSIM的标识信息从查找到的下载服务器地址下载eSIM所需的签约数据。If the download server address corresponding to the obtained operator network identifier is found, download the subscription data required by the eSIM from the found download server address according to the identification information of the eSIM built in the electronic device.

该方法中,把运营商网络标识和下载服务器地址之间的对应关系预设于电子设备中,通过运营商网络搜索中获取到的运营商网络标识智能匹配下载服务器地址,进行Profile下载,相较于现有技术中必须依赖签约过程中的激活码获取下载服务器地址、通过辅助设备传递给主设备(对于IOT设备场景),简化了电子设备的Profile下载流程;而且,电子设备无需设置传统蓝牙模块,无需和辅助设备进行蓝牙配对、连接,也无需和辅助设备进行数据交互,进一步简化了Profile的下载流程。In this method, the corresponding relationship between the operator's network identifier and the download server address is preset in the electronic device, and the operator's network identifier obtained in the operator's network search is intelligently matched with the download server address, and the Profile is downloaded. In the existing technology, it is necessary to rely on the activation code in the signing process to obtain the download server address, and pass it to the main device through the auxiliary device (for the IOT device scenario), which simplifies the profile download process of the electronic device; moreover, the electronic device does not need to be equipped with a traditional Bluetooth module , there is no need for Bluetooth pairing and connection with the auxiliary device, and there is no need for data interaction with the auxiliary device, which further simplifies the download process of the Profile.

在一种可能的实现方式中,根据电子设备内置的eSIM的标识信息从查找到的下载服务器地址下载eSIM所需的签约数据,包括:In a possible implementation, the subscription data required by the eSIM is downloaded from the found download server address according to the identification information of the eSIM built in the electronic device, including:

向查找到的下载服务器地址指示的下载服务器发送签约数据下载请求消息,签约数据下载请求消息中包括电子设备内置的eSIM的标识信息;Send a subscription data download request message to the download server indicated by the found download server address, and the subscription data download request message includes the identification information of the eSIM built in the electronic device;

接收下载服务器发送的标识信息对应的签约数据,签约数据在下载服务器根据标识信息查找到对应的签约数据时发送。The contract data corresponding to the identification information sent by the download server is received, and the contract data is sent when the download server finds the corresponding contract data according to the identification information.

在一种可能的实现方式中,根据电子设备内置的eSIM的标识信息从查找到的下载服务器地址下载eSIM所需的签约数据,包括:In a possible implementation, the subscription data required by the eSIM is downloaded from the found download server address according to the identification information of the eSIM built in the electronic device, including:

向查找到的下载服务器地址指示的下载服务器发送签约数据下载请求消息,签约数据下载请求消息中包括电子设备内置的eSIM的标识信息;Send a subscription data download request message to the download server indicated by the found download server address, and the subscription data download request message includes the identification information of the eSIM built in the electronic device;

接收下载服务器发送的签约数据请求失败消息,签约数据请求失败消息在下载服务器根据标识信息未查找到对应的签约数据时发送。The subscription data request failure message sent by the download server is received, and the subscription data request failure message is sent when the download server fails to find the corresponding subscription data according to the identification information.

在一种可能的实现方式中,从预设的运营商网络标识与下载服务器地址之间的对应关系中查找获取的运营商网络标识对应的下载服务器地址之前,还包括:In a possible implementation manner, before searching for the obtained download server address corresponding to the operator network identifier from the preset correspondence between the operator network identifier and the download server address, the method further includes:

判断获取到的运营商网络标识与预设的目标运营商网络标识一致。It is determined that the obtained operator network identifier is consistent with the preset target operator network identifier.

第二方面,本申请实施例提供一种签约数据的下载方法,应用于内置嵌入式用户识别模块eSIM的电子设备,包括:In the second aspect, the embodiment of the present application provides a method for downloading subscription data, which is applied to an electronic device with a built-in embedded subscriber identification module eSIM, including:

开机后启动运营商网络搜索;Start the carrier network search after booting;

如果搜索到运营商网络,获取运营商网络的运营商网络标识;If the operator network is found, obtain the operator network identifier of the operator network;

如果获取到的运营商网络标识与预设的目标运营商网络标识一致,根据电子设备内置的eSIM的标识信息从目标下载服务器地址下载eSIM所需的签约数据;目标下载服务器地址是目标运营商的下载服务器地址。If the obtained operator network identification is consistent with the preset target operator network identification, download the subscription data required by the eSIM from the target download server address according to the identification information of the built-in eSIM of the electronic device; the target download server address is the target operator's Download server address.

该方法中,电子设备预设需要搜索的目标运营商网络标识,在电子设备开机后立即搜索目标运营商网络、进行Profile下载和使用,相较于第一方面的方法,简化电子设备多次尝试查找其他非目标运营商网络对应的下载服务器地址的过程,进一步简化电子设备的Profile下载流程,提升用户的Profile下载体验。In this method, the electronic device presets the network identifier of the target operator that needs to be searched, searches the target operator network immediately after the electronic device is turned on, and downloads and uses the Profile. Compared with the method of the first aspect, the electronic device simplifies multiple attempts The process of finding the download server address corresponding to the network of other non-target operators further simplifies the profile download process of the electronic device and improves the user's profile download experience.

在一种可能的实现方式中,根据电子设备内置的eSIM的标识信息从目标下载服务器地址下载eSIM所需的签约数据,包括:In a possible implementation, the subscription data required by the eSIM is downloaded from the address of the target download server according to the identification information of the eSIM built in the electronic device, including:

向目标下载服务器地址指示的下载服务器发送签约数据下载请求消息,签约数据下载请求消息中包括电子设备内置的eSIM的标识信息;Send a subscription data download request message to the download server indicated by the target download server address, where the subscription data download request message includes the identification information of the eSIM built in the electronic device;

接收下载服务器发送的标识信息对应的签约数据,签约数据在下载服务器根据标识信息查找到对应的签约数据时发送。The contract data corresponding to the identification information sent by the download server is received, and the contract data is sent when the download server finds the corresponding contract data according to the identification information.

在一种可能的实现方式中,根据电子设备内置的eSIM的标识信息从目标下载服务器地址下载eSIM所需的签约数据,包括:In a possible implementation, the subscription data required by the eSIM is downloaded from the address of the target download server according to the identification information of the eSIM built in the electronic device, including:

向目标下载服务器地址指示的下载服务器发送签约数据下载请求消息,签约数据下载请求消息中包括电子设备内置的eSIM的标识信息;Send a subscription data download request message to the download server indicated by the target download server address, where the subscription data download request message includes the identification information of the eSIM built in the electronic device;

接收下载服务器发送的签约数据请求失败消息,签约数据请求失败消息在下载服务器根据标识信息未查找到对应的签约数据时发送。The subscription data request failure message sent by the download server is received, and the subscription data request failure message is sent when the download server fails to find the corresponding subscription data according to the identification information.

第三方面,本申请实施例提供一种电子设备,包括:In a third aspect, the embodiment of the present application provides an electronic device, including:

嵌入式通用集成电路卡eSIM,一个或多个处理器;存储器;以及一个或多个计算机程序,其中一个或多个计算机程序被存储在存储器中,一个或多个计算机程序包括指令,当指令被设备执行时,使得设备执行以下步骤:Embedded universal integrated circuit card eSIM, one or more processors; memory; and one or more computer programs, wherein one or more computer programs are stored in the memory, one or more computer programs include instructions, when the instructions are When the device executes, it causes the device to perform the following steps:

开机后启动运营商网络搜索;Start the carrier network search after booting;

如果搜索到运营商网络,获取运营商网络的运营商网络标识;If the operator network is found, obtain the operator network identifier of the operator network;

从预设的运营商网络标识与下载服务器地址之间的对应关系中查找获取的运营商网络标识对应的下载服务器地址;Searching for the obtained download server address corresponding to the operator network identifier from the preset correspondence between the operator network identifier and the download server address;

如果查找到获取的运营商网络标识对应的下载服务器地址,根据电子设备内置的eSIM的标识信息从查找到的下载服务器地址下载eSIM所需的签约数据。If the download server address corresponding to the obtained operator network identifier is found, download the subscription data required by the eSIM from the found download server address according to the identification information of the eSIM built in the electronic device.

第四方面,本申请实施例提供一种电子设备,包括:In a fourth aspect, the embodiment of the present application provides an electronic device, including:

嵌入式通用集成电路卡eSIM,一个或多个处理器;存储器;以及一个或多个计算机程序,其中一个或多个计算机程序被存储在存储器中,一个或多个计算机程序包括指令,当指令被设备执行时,使得设备执行以下步骤:Embedded universal integrated circuit card eSIM, one or more processors; memory; and one or more computer programs, wherein one or more computer programs are stored in the memory, one or more computer programs include instructions, when the instructions are When the device executes, it causes the device to perform the following steps:

开机后启动运营商网络搜索;Start the carrier network search after booting;

如果搜索到运营商网络,获取运营商网络的运营商网络标识;If the operator network is found, obtain the operator network identifier of the operator network;

如果获取到的运营商网络标识与预设的目标运营商网络标识一致,根据电子设备内置的eSIM的标识信息从目标下载服务器地址下载eSIM所需的签约数据;目标下载服务器地址是目标运营商的下载服务器地址。If the obtained operator network identification is consistent with the preset target operator network identification, download the subscription data required by the eSIM from the target download server address according to the identification information of the built-in eSIM of the electronic device; the target download server address is the target operator's Download server address.

第五方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行第一方面任一项的方法。In the fifth aspect, the embodiments of the present application provide a computer-readable storage medium, in which a computer program is stored, and when the computer program is run on a computer, the computer executes the method of any one of the first aspect.

第六方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行第二方面任一项的方法。In a sixth aspect, the embodiments of the present application provide a computer-readable storage medium, in which a computer program is stored, and when running on a computer, the computer executes the method of any one of the second aspect.

第七方面,本申请提供一种计算机程序,当计算机程序被计算机执行时,用于执行第一方面或第二方面任一项的方法。In a seventh aspect, the present application provides a computer program for performing the method of any one of the first aspect or the second aspect when the computer program is executed by a computer.

在一种可能的设计中,第七方面中的程序可以全部或者部分存储在与处理器封装在一起的存储介质上,也可以部分或者全部存储在不与处理器封装在一起的存储器上。In a possible design, all or part of the program in the seventh aspect may be stored on a storage medium packaged with the processor, or may be partially or fully stored on a memory not packaged with the processor.

附图说明Description of drawings

图1为现有技术Profile一种下载方法流程图;Fig. 1 is a flow chart of a method for downloading Profile in the prior art;

图2为现有技术Profile另一种下载方法流程图;Fig. 2 is the flow chart of another downloading method of Profile in the prior art;

图3为本申请签约数据下载方法一个实例的流程图;Fig. 3 is the flowchart of an example of the contract data downloading method of the present application;

图4为本申请签约数据下载方法另一个实例的流程图;Fig. 4 is the flowchart of another example of the contract data downloading method of the present application;

图5为本申请实施例电子设备的结构示意图;FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application;

图6为本申请实施例电子设备的软件结构框图;Fig. 6 is a software structural block diagram of the electronic device of the embodiment of the present application;

图7为本申请签约数据下载方法适用的一种系统架构图;FIG. 7 is a system architecture diagram applicable to the contract data downloading method of the present application;

图8为本申请签约数据下载方法一个实施例的流程图;Fig. 8 is a flowchart of an embodiment of the contract data downloading method of the present application;

图9为本申请签约数据下载方法另一个实施例的流程图;Fig. 9 is a flow chart of another embodiment of the contract data downloading method of the present application;

图10为本申请签约数据下载方法又一个实施例的流程图;FIG. 10 is a flow chart of another embodiment of the method for downloading subscription data of the present application;

图11为本申请签约数据下载方法又一个实施例的流程图;FIG. 11 is a flowchart of another embodiment of the method for downloading subscription data of the present application;

图12为本申请签约数据下载装置一个实施例的结构图;FIG. 12 is a structural diagram of an embodiment of the contract data downloading device of the present application;

图13为本申请签约数据下载装置另一个实施例的结构图。Fig. 13 is a structural diagram of another embodiment of the subscription data downloading device of the present application.

具体实施方式Detailed ways

本申请的实施方式部分使用的术语仅用于对本申请的具体实施例进行解释,而非旨在限定本申请。The terms used in the embodiments of the present application are only used to explain specific embodiments of the present application, and are not intended to limit the present application.

为了解决现有技术中在用户界面操作受限的电子设备尤其是IOT设备中设置蓝牙模块导致的成本和功耗高,以及电子设备下载Profile流程繁琐的问题,在本申请一个实例中,引入了更自动化的流程,也即利用SM-DS服务器辅助电子设备进行Profile下载,通过在SM-DS服务器上注册下载事件,电子设备定期查询的方式,使得电子设备能够获取到SM-DP+地址。具体的:In order to solve the problem of high cost and power consumption caused by setting the Bluetooth module in electronic devices with limited user interface operations in the prior art, especially IOT devices, and the cumbersome process of downloading Profiles for electronic devices, in an example of this application, the introduction of The more automated process is to use the SM-DS server to assist the electronic device to download the Profile. By registering the download event on the SM-DS server, the electronic device periodically inquires, so that the electronic device can obtain the SM-DP+ address. specific:

参见图3所示,是手机、PAD等带有显示屏且方便用户进行界面操作的电子设备的Profile下载过程的系统框架以及流程示意图。主要包括:Referring to FIG. 3 , it is a system framework and a schematic flow diagram of the profile downloading process of an electronic device such as a mobile phone and a PAD that has a display screen and is convenient for users to perform interface operations. mainly include:

用户通过运营商门店或电子设备上的APP和运营商签约,并上传电子设备内置的eSIM的电子身份标识(EID,electronic identity);运营商服务端基于EID生成Profile并存储至SM-DP+;SM-DP+在SM-DS服务器上注册Profile下载事件,事件内容包括:EID、以及SM-DP+地址;电子设备在任意时刻开机后,开始基于内置的eSIM的EID定期的向SM-DS服务器发起下载事件查询,如果查询到下载事件,从下载事件中获取到SM-DP+地址;电子设备根据SM-DP+地址向SM-DP+发送Profile下载请求,下载请求中携带EID;SM-DP+收到Profile下载请求后,启动Profile数据下载。The user signs a contract with the operator through the operator store or the APP on the electronic device, and uploads the electronic identity (EID, electronic identity) of the eSIM built in the electronic device; the operator server generates a Profile based on the EID and stores it in SM-DP+; -DP+ registers the Profile download event on the SM-DS server. The event content includes: EID and SM-DP+ address; after the electronic device is turned on at any time, it starts to periodically initiate a download event to the SM-DS server based on the EID of the built-in eSIM Query, if the download event is found, the SM-DP+ address is obtained from the download event; the electronic device sends a Profile download request to SM-DP+ according to the SM-DP+ address, and the download request carries EID; after SM-DP+ receives the Profile download request to start the profile data download.

参见图6所示,是可穿戴设备、IOT设备等用户进行界面操作受限的电子设备的Profile下载过程的系统框架以及流程示意图。主要包括:Referring to FIG. 6 , it is a system framework and a schematic flow diagram of a profile download process for electronic devices such as wearable devices and IOT devices with limited interface operations. mainly include:

用户通过运营商门店或辅助设备上的APP和运营商签约,并上传电子设备内置的eSIM的EID;运营商服务端基于EID生成Profile并存储至SM-DP+;SM-DP+在SM-DS服务器上注册Profile下载事件,事件内容包括:EID、以及SM-DP+地址;电子设备在任意时刻开机后,开始基于内置的eSIM的EID定期的向SM-DS服务器发起下载事件查询,如果查询到下载事件,从下载事件中获取到SM-DP+地址;电子设备根据SM-DP+地址向SM-DP+发送Profile下载请求,下载请求中携带EID;SM-DP+收到Profile下载请求后,启动Profile数据下载。The user signs a contract with the operator through the APP on the operator's store or auxiliary equipment, and uploads the EID of the eSIM built in the electronic device; the operator server generates a Profile based on the EID and stores it in SM-DP+; SM-DP+ is on the SM-DS server Register the profile download event, the event content includes: EID, and SM-DP+ address; after the electronic device is turned on at any time, it starts to periodically initiate a download event query to the SM-DS server based on the EID of the built-in eSIM. If the download event is found, The SM-DP+ address is obtained from the download event; the electronic device sends a Profile download request to the SM-DP+ according to the SM-DP+ address, and the download request carries the EID; after receiving the Profile download request, the SM-DP+ starts the Profile data download.

图3和图4所示实例的签约数据下载方法中,在用户界面操作受限的电子设备尤其是IOT设备中无需设置蓝牙模块,成本和功耗降低,而且取消了电子设备与辅助设备之间的蓝牙配对、连接过程,简化了Profile下载流程,但是,SM-DS服务器搭建的预期是可以让全球所有运营商的SM-DP+均可以接入,这样势必带来海量的接入,SM-DS服务器必须由专门的跨运营商机构运营,也会给运营商带来额外的费用,而且,还有部分运营商出于用户数据安全考虑拒绝接入,因此,SM-DS服务器的商业前景并不理想。In the contract data download method of the example shown in Figure 3 and Figure 4, there is no need to set up a Bluetooth module in an electronic device with limited user interface operations, especially in an IOT device, the cost and power consumption are reduced, and the connection between the electronic device and the auxiliary device is eliminated. The Bluetooth pairing and connection process simplifies the profile download process. However, the SM-DS server is expected to allow SM-DP+ of all operators in the world to access, which will inevitably bring massive access. SM-DS The server must be operated by a special cross-operator organization, which will also bring additional costs to the operator. Moreover, some operators refuse access due to user data security considerations. Therefore, the commercial prospects of SM-DS servers are not ideal.

为此,本申请实施例提出一种签约数据的下载方法和电子设备,无需在电子设备中设置蓝牙模块,成本和功耗相对较低,且下载过程简单。而且,相对于图3和图4所示的实例而言,无需设置SM-DS服务器,进一步简化了电子设备的Profile下载流程。For this reason, the embodiment of the present application proposes a method for downloading subscription data and an electronic device, which does not require a Bluetooth module in the electronic device, and has relatively low cost and power consumption, and the downloading process is simple. Moreover, compared with the examples shown in FIG. 3 and FIG. 4 , there is no need to set up an SM-DS server, which further simplifies the profile downloading process of the electronic device.

本申请实施例提供的方法可以应用于电子设备,例如:手机,平板电脑(Pad,portable android device),个人电脑(PC,person computer),可穿戴设备例如智能眼镜、智能手表,IOT设备,智慧屏,智能网联车(Intelligent Connected Vehicle;以下简称:ICV),智能(汽)车(smart/intelligent car)或车载设备等。The method provided by the embodiment of the present application can be applied to electronic devices, such as: mobile phones, tablet computers (Pad, portable android device), personal computers (PC, person computer), wearable devices such as smart glasses, smart watches, IOT devices, smart screen, intelligent connected vehicle (Intelligent Connected Vehicle; hereinafter referred to as ICV), smart (auto) car (smart/intelligent car) or on-board equipment, etc.

示例性的,图5示出了电子设备500的结构示意图。电子设备500可以包括处理器510,外部存储器接口520,内部存储器521,通用串行总线(universal serial bus,USB)接口530,充电管理模块540,电源管理模块541,电池542,天线1,天线2,移动通信模块550,无线通信模块560,音频模块570,扬声器570A,受话器570B,麦克风570C,耳机接口570D,传感器模块580,按键590,马达591,指示器592,摄像头593,显示屏594,以及用户标识模块(subscriber identification module,SIM)卡接口595等。其中传感器模块580可以包括压力传感器580A,陀螺仪传感器580B,气压传感器580C,磁传感器580D,加速度传感器580E,距离传感器580F,接近光传感器580G,指纹传感器580H,温度传感器580J,触摸传感器580K,环境光传感器580L,骨传导传感器580M等。Exemplarily, FIG. 5 shows a schematic structural diagram of an electronic device 500 . The electronic device 500 may include a processor 510, an external memory interface 520, an internal memory 521, a universal serial bus (universal serial bus, USB) interface 530, a charging management module 540, a power management module 541, a battery 542, an antenna 1, and an antenna 2 , mobile communication module 550, wireless communication module 560, audio module 570, speaker 570A, receiver 570B, microphone 570C, earphone jack 570D, sensor module 580, button 590, motor 591, indicator 592, camera 593, display screen 594, and A subscriber identification module (subscriber identification module, SIM) card interface 595 and the like. The sensor module 580 may include a pressure sensor 580A, a gyroscope sensor 580B, an air pressure sensor 580C, a magnetic sensor 580D, an acceleration sensor 580E, a distance sensor 580F, a proximity light sensor 580G, a fingerprint sensor 580H, a temperature sensor 580J, a touch sensor 580K, and ambient light Sensor 580L, bone conduction sensor 580M, etc.

可以理解的是,本发明实施例示意的结构并不构成对电子设备500的具体限定。在本申请另一些实施例中,电子设备500可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that, the structure shown in the embodiment of the present invention does not constitute a specific limitation on the electronic device 500 . In other embodiments of the present application, the electronic device 500 may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components. The illustrated components can be realized in hardware, software or a combination of software and hardware.

处理器510可以包括一个或多个处理单元,例如:处理器510可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processingunit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 510 may include one or more processing units, for example: the processor 510 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor ( image signal processor (ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.

控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.

处理器510中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器510中的存储器为高速缓冲存储器。该存储器可以保存处理器510刚用过或循环使用的指令或数据。如果处理器510需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器510的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 510 for storing instructions and data. In some embodiments, the memory in processor 510 is a cache memory. The memory may hold instructions or data that the processor 510 has just used or recycled. If the processor 510 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 510 is reduced, thus improving the efficiency of the system.

在一些实施例中,处理器510可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuitsound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purposeinput/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, processor 510 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuitsound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver (universal asynchronous receiver) /transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and/or A universal serial bus (universal serial bus, USB) interface, etc.

I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器510可以包含多组I2C总线。处理器510可以通过不同的I2C总线接口分别耦合触摸传感器580K,充电器,闪光灯,摄像头593等。例如:处理器510可以通过I2C接口耦合触摸传感器580K,使处理器510与触摸传感器580K通过I2C总线接口通信,实现电子设备500的触摸功能。The I2C interface is a bidirectional synchronous serial bus, including a serial data line (serial data line, SDA) and a serial clock line (derail clock line, SCL). In some embodiments, processor 510 may include multiple sets of I2C buses. The processor 510 can be respectively coupled to the touch sensor 580K, the charger, the flashlight, the camera 593 and the like through different I2C bus interfaces. For example, the processor 510 may be coupled to the touch sensor 580K through the I2C interface, so that the processor 510 and the touch sensor 580K communicate through the I2C bus interface to realize the touch function of the electronic device 500 .

I2S接口可以用于音频通信。在一些实施例中,处理器510可以包含多组I2S总线。处理器510可以通过I2S总线与音频模块570耦合,实现处理器510与音频模块570之间的通信。在一些实施例中,音频模块570可以通过I2S接口向无线通信模块560传递音频信号,实现通过蓝牙耳机接听电话的功能。The I2S interface can be used for audio communication. In some embodiments, processor 510 may include multiple sets of I2S buses. The processor 510 may be coupled to the audio module 570 through an I2S bus to implement communication between the processor 510 and the audio module 570 . In some embodiments, the audio module 570 can transmit audio signals to the wireless communication module 560 through the I2S interface, so as to realize the function of answering calls through the Bluetooth headset.

PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块570与无线通信模块560可以通过PCM总线接口耦合。在一些实施例中,音频模块570也可以通过PCM接口向无线通信模块560传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。The PCM interface can also be used for audio communication, sampling, quantizing and encoding the analog signal. In some embodiments, the audio module 570 and the wireless communication module 560 may be coupled through a PCM bus interface. In some embodiments, the audio module 570 can also transmit audio signals to the wireless communication module 560 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器510与无线通信模块560。例如:处理器510通过UART接口与无线通信模块560中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块570可以通过UART接口向无线通信模块560传递音频信号,实现通过蓝牙耳机播放音乐的功能。The UART interface is a universal serial data bus used for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 510 and the wireless communication module 560 . For example: the processor 510 communicates with the Bluetooth module in the wireless communication module 560 through the UART interface to realize the Bluetooth function. In some embodiments, the audio module 570 can transmit audio signals to the wireless communication module 560 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.

MIPI接口可以被用于连接处理器510与显示屏594,摄像头593等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(displayserial interface,DSI)等。在一些实施例中,处理器510和摄像头593通过CSI接口通信,实现电子设备500的拍摄功能。处理器510和显示屏594通过DSI接口通信,实现电子设备500的显示功能。The MIPI interface can be used to connect the processor 510 with peripheral devices such as a display screen 594 and a camera 593 . The MIPI interface includes a camera serial interface (camera serial interface, CSI), a display serial interface (displayserial interface, DSI), and the like. In some embodiments, the processor 510 communicates with the camera 593 through the CSI interface to realize the shooting function of the electronic device 500 . The processor 510 communicates with the display screen 594 through the DSI interface to realize the display function of the electronic device 500 .

GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器510与摄像头593,显示屏594,无线通信模块560,音频模块570,传感器模块580等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 510 with the camera 593 , the display screen 594 , the wireless communication module 560 , the audio module 570 , the sensor module 580 and so on. The GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.

USB接口530是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口530可以用于连接充电器为电子设备500充电,也可以用于电子设备500与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。The USB interface 530 is an interface conforming to the USB standard specification, specifically, it may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like. The USB interface 530 can be used to connect a charger to charge the electronic device 500, and can also be used to transmit data between the electronic device 500 and peripheral devices. It can also be used to connect headphones and play audio through them. This interface can also be used to connect other electronic devices, such as AR devices.

可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备500的结构限定。在本申请另一些实施例中,电子设备500也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules shown in the embodiment of the present invention is only a schematic illustration, and does not constitute a structural limitation of the electronic device 500 . In other embodiments of the present application, the electronic device 500 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.

充电管理模块540用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块540可以通过USB接口530接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块540可以通过电子设备500的无线充电线圈接收无线充电输入。充电管理模块540为电池542充电的同时,还可以通过电源管理模块541为电子设备供电。The charging management module 540 is used for receiving charging input from the charger. Wherein, the charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 540 can receive charging input from a wired charger through the USB interface 530 . In some wireless charging embodiments, the charging management module 540 may receive wireless charging input through a wireless charging coil of the electronic device 500 . While the charging management module 540 is charging the battery 542 , it can also supply power to the electronic device through the power management module 541 .

电源管理模块541用于连接电池542,充电管理模块540与处理器510。电源管理模块541接收电池542和/或充电管理模块540的输入,为处理器510,内部存储器521,显示屏594,摄像头593,和无线通信模块560等供电。电源管理模块541还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块541也可以设置于处理器510中。在另一些实施例中,电源管理模块541和充电管理模块540也可以设置于同一个器件中。The power management module 541 is used for connecting the battery 542 , the charging management module 540 and the processor 510 . The power management module 541 receives the input of the battery 542 and/or the charging management module 540 to supply power for the processor 510 , the internal memory 521 , the display screen 594 , the camera 593 , and the wireless communication module 560 . The power management module 541 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance). In some other embodiments, the power management module 541 may also be set in the processor 510 . In some other embodiments, the power management module 541 and the charging management module 540 may also be set in the same device.

电子设备500的无线通信功能可以通过天线1,天线2,移动通信模块550,无线通信模块560,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 500 can be realized by the antenna 1, the antenna 2, the mobile communication module 550, the wireless communication module 560, the modem processor and the baseband processor.

天线1和天线2用于发射和接收电磁波信号。电子设备500中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 500 may be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.

移动通信模块550可以提供应用在电子设备500上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块550可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块550可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块550还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块550的至少部分功能模块可以被设置于处理器510中。在一些实施例中,移动通信模块550的至少部分功能模块可以与处理器510的至少部分模块被设置在同一个器件中。The mobile communication module 550 can provide wireless communication solutions including 2G/3G/4G/5G applied on the electronic device 500 . The mobile communication module 550 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like. The mobile communication module 550 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation. The mobile communication module 550 can also amplify the signal modulated by the modem processor, convert it into electromagnetic wave and radiate it through the antenna 1 . In some embodiments, at least part of the functional modules of the mobile communication module 550 may be set in the processor 510 . In some embodiments, at least part of the functional modules of the mobile communication module 550 and at least part of the modules of the processor 510 may be set in the same device.

调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器570A,受话器570B等)输出声音信号,或通过显示屏594显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器510,与移动通信模块550或其他功能模块设置在同一个器件中。A modem processor may include a modulator and a demodulator. Wherein, the modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator sends the demodulated low-frequency baseband signal to the baseband processor for processing. The low-frequency baseband signal is passed to the application processor after being processed by the baseband processor. The application processor outputs sound signals through audio equipment (not limited to speaker 570A, receiver 570B, etc.), or displays images or videos through display screen 594 . In some embodiments, the modem processor may be a stand-alone device. In some other embodiments, the modem processor may be independent of the processor 510, and be set in the same device as the mobile communication module 550 or other functional modules.

无线通信模块560可以提供应用在电子设备500上的包括无线局域网(wirelesslocal area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块560可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块560经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器510。无线通信模块560还可以从处理器510接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 560 can provide applications on the electronic device 500 including wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (wireless fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 560 may be one or more devices integrating at least one communication processing module. The wireless communication module 560 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 510 . The wireless communication module 560 can also receive the signal to be transmitted from the processor 510 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.

在一些实施例中,电子设备500的天线1和移动通信模块550耦合,天线2和无线通信模块560耦合,使得电子设备500可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(codedivision multiple access,CDMA),宽带码分多址(wideband code division multipleaccess,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidounavigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellitesystem,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device 500 is coupled to the mobile communication module 550, and the antenna 2 is coupled to the wireless communication module 560, so that the electronic device 500 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (codedivision multiple access, CDMA), wideband code Wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM , and/or IR technology, etc. The GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou satellite navigation system (beidounavigation satellite system, BDS), a quasi-zenith satellite system (quasi- zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).

电子设备500通过GPU,显示屏594,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏594和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器510可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 500 implements a display function through a GPU, a display screen 594, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 594 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering. Processor 510 may include one or more GPUs that execute program instructions to generate or alter display information.

显示屏594用于显示图像,视频等。显示屏594包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emittingdiode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrixorganic light emitting diode的,AMOLED),柔性发光二极管(flex light-emittingdiode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot lightemitting diodes,QLED)等。在一些实施例中,电子设备500可以包括1个或N个显示屏594,N为大于1的正整数。The display screen 594 is used to display images, videos and the like. Display 594 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light emitting diode). AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (quantum dot light emitting diodes, QLED), etc. In some embodiments, the electronic device 500 may include 1 or N display screens 594, where N is a positive integer greater than 1.

电子设备500可以通过ISP,摄像头593,视频编解码器,GPU,显示屏594以及应用处理器等实现拍摄功能。The electronic device 500 can realize the shooting function through an ISP, a camera 593 , a video codec, a GPU, a display screen 594 , and an application processor.

ISP用于处理摄像头593反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头593中。The ISP is used for processing the data fed back by the camera 593 . For example, when taking a picture, open the shutter, the light is transmitted to the photosensitive element of the camera through the lens, and the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be located in the camera 593 .

摄像头593用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备500可以包括1个或N个摄像头593,N为大于1的正整数。Camera 593 is used to capture still images or video. The object generates an optical image through the lens and projects it to the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a complementary metal-oxide-semiconductor (complementary metal-oxide-semiconductor, CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other image signals. In some embodiments, the electronic device 500 may include 1 or N cameras 593, where N is a positive integer greater than 1.

数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备500在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 500 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.

视频编解码器用于对数字视频压缩或解压缩。电子设备500可以支持一种或多种视频编解码器。这样,电子设备500可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. The electronic device 500 may support one or more video codecs. In this way, the electronic device 500 can play or record videos in various encoding formats, for example: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.

NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备500的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。The NPU is a neural-network (NN) computing processor. By referring to the structure of biological neural networks, such as the transfer mode between neurons in the human brain, it can quickly process input information and continuously learn by itself. Applications such as intelligent cognition of the electronic device 500 can be realized through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.

外部存储器接口520可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备500的存储能力。外部存储卡通过外部存储器接口520与处理器510通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 520 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 500 . The external memory card communicates with the processor 510 through the external memory interface 520 to implement a data storage function. Such as saving music, video and other files in the external memory card.

内部存储器521可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器521可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备500使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器521可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器510通过运行存储在内部存储器521的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备500的各种功能应用以及数据处理。The internal memory 521 may be used to store computer-executable program codes including instructions. The internal memory 521 may include an area for storing programs and an area for storing data. Wherein, the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like. The storage data area can store data created during the use of the electronic device 500 (such as audio data, phonebook, etc.) and the like. In addition, the internal memory 521 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like. The processor 510 executes various functional applications and data processing of the electronic device 500 by executing instructions stored in the internal memory 521 and/or instructions stored in a memory provided in the processor.

电子设备500可以通过音频模块570,扬声器570A,受话器570B,麦克风570C,耳机接口570D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 500 can implement audio functions through an audio module 570 , a speaker 570A, a receiver 570B, a microphone 570C, an earphone interface 570D, and an application processor. Such as music playback, recording, etc.

音频模块570用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块570还可以用于对音频信号编码和解码。在一些实施例中,音频模块570可以设置于处理器510中,或将音频模块570的部分功能模块设置于处理器510中。The audio module 570 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal. The audio module 570 may also be used to encode and decode audio signals. In some embodiments, the audio module 570 may be set in the processor 510 , or some functional modules of the audio module 570 may be set in the processor 510 .

扬声器570A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备500可以通过扬声器570A收听音乐,或收听免提通话。The speaker 570A, also called "horn", is used to convert audio electrical signals into sound signals. Electronic device 500 can listen to music through speaker 570A, or listen to hands-free calls.

受话器570B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备500接听电话或语音信息时,可以通过将受话器570B靠近人耳接听语音。Receiver 570B, also called "earpiece", is used to convert audio electrical signals into audio signals. When the electronic device 500 receives a call or a voice message, the receiver 570B can be placed close to the human ear to receive the voice.

麦克风570C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风570C发声,将声音信号输入到麦克风570C。电子设备500可以设置至少一个麦克风570C。在另一些实施例中,电子设备500可以设置两个麦克风570C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备500还可以设置三个,四个或更多麦克风570C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。Microphone 570C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can approach the microphone 570C to make a sound through the human mouth, and input the sound signal to the microphone 570C. The electronic device 500 may be provided with at least one microphone 570C. In some other embodiments, the electronic device 500 may be provided with two microphones 570C, which may also implement a noise reduction function in addition to collecting sound signals. In some other embodiments, the electronic device 500 can also be provided with three, four or more microphones 570C, so as to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions, etc.

耳机接口570D用于连接有线耳机。耳机接口570D可以是USB接口530,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The earphone interface 570D is used for connecting wired earphones. The earphone interface 570D may be the USB interface 530, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.

压力传感器580A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器580A可以设置于显示屏594。压力传感器580A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器580A,电极之间的电容改变。电子设备500根据电容的变化确定压力的强度。当有触摸操作作用于显示屏594,电子设备500根据压力传感器580A检测所述触摸操作强度。电子设备500也可以根据压力传感器580A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。The pressure sensor 580A is used to sense the pressure signal and convert the pressure signal into an electrical signal. In some embodiments, pressure sensor 580A may be located on display screen 594 . There are many types of pressure sensors 580A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may be comprised of at least two parallel plates with conductive material. When a force is applied to pressure sensor 580A, the capacitance between the electrodes changes. The electronic device 500 determines the intensity of pressure according to the change in capacitance. When a touch operation acts on the display screen 594, the electronic device 500 detects the intensity of the touch operation according to the pressure sensor 580A. The electronic device 500 may also calculate the touched position according to the detection signal of the pressure sensor 580A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view short messages is executed. When a touch operation whose intensity is greater than or equal to the first pressure threshold acts on the icon of the short message application, the instruction of creating a new short message is executed.

陀螺仪传感器580B可以用于确定电子设备500的运动姿态。在一些实施例中,可以通过陀螺仪传感器580B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器580B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器580B检测电子设备500抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备500的抖动,实现防抖。陀螺仪传感器580B还可以用于导航,体感游戏场景。The gyro sensor 580B can be used to determine the motion posture of the electronic device 500 . In some embodiments, the angular velocity of the electronic device 100 about three axes (ie, x, y and z axes) can be determined by the gyro sensor 580B. The gyro sensor 580B can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor 580B detects the shaking angle of the electronic device 500, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shaking of the electronic device 500 through reverse movement to achieve anti-shake. The gyroscope sensor 580B can also be used for navigation and somatosensory game scenes.

气压传感器580C用于测量气压。在一些实施例中,电子设备500通过气压传感器580C测得的气压值计算海拔高度,辅助定位和导航。The air pressure sensor 580C is used to measure air pressure. In some embodiments, the electronic device 500 calculates the altitude based on the air pressure value measured by the air pressure sensor 580C to assist positioning and navigation.

磁传感器580D包括霍尔传感器。电子设备500可以利用磁传感器580D检测翻盖皮套的开合。在一些实施例中,当电子设备500是翻盖机时,电子设备500可以根据磁传感器580D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。The magnetic sensor 580D includes a Hall sensor. The electronic device 500 may use the magnetic sensor 580D to detect the opening and closing of the flip leather case. In some embodiments, when the electronic device 500 is a flip machine, the electronic device 500 may detect opening and closing of the flip according to the magnetic sensor 580D. Furthermore, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, features such as automatic unlocking of the flip cover are set.

加速度传感器580E可检测电子设备500在各个方向上(一般为三轴)加速度的大小。当电子设备500静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。The acceleration sensor 580E can detect the acceleration of the electronic device 500 in various directions (generally three axes). The magnitude and direction of gravity can be detected when the electronic device 500 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.

距离传感器580F,用于测量距离。电子设备500可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备500可以利用距离传感器580F测距以实现快速对焦。Distance sensor 580F, used to measure distance. The electronic device 500 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 500 can use the distance sensor 580F for distance measurement to achieve fast focusing.

接近光传感器580G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备500通过发光二极管向外发射红外光。电子设备500使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备500附近有物体。当检测到不充分的反射光时,电子设备500可以确定电子设备500附近没有物体。电子设备500可以利用接近光传感器580G检测用户手持电子设备500贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器580G也可用于皮套模式,口袋模式自动解锁与锁屏。Proximity light sensor 580G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes. The light emitting diodes may be infrared light emitting diodes. The electronic device 500 emits infrared light through the light emitting diode. Electronic device 500 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it may be determined that there is an object near the electronic device 500 . When insufficient reflected light is detected, the electronic device 500 may determine that there is no object near the electronic device 500 . The electronic device 500 can use the proximity light sensor 580G to detect that the user holds the electronic device 500 close to the ear to make a call, so as to automatically turn off the screen to save power. Proximity light sensor 580G can also be used in leather case mode, automatic unlock and lock screen in pocket mode.

环境光传感器580L用于感知环境光亮度。电子设备500可以根据感知的环境光亮度自适应调节显示屏594亮度。环境光传感器580L也可用于拍照时自动调节白平衡。环境光传感器580L还可以与接近光传感器580G配合,检测电子设备500是否在口袋里,以防误触。The ambient light sensor 580L is used for sensing ambient light brightness. The electronic device 500 can adaptively adjust the brightness of the display screen 594 according to the perceived ambient light brightness. The ambient light sensor 580L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 580L can also cooperate with the proximity light sensor 580G to detect whether the electronic device 500 is in the pocket, so as to prevent accidental touch.

指纹传感器580H用于采集指纹。电子设备500可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor 580H is used to collect fingerprints. The electronic device 500 can use the collected fingerprint characteristics to implement fingerprint unlocking, access to application locks, fingerprint photography, and fingerprint answering of incoming calls.

温度传感器580J用于检测温度。在一些实施例中,电子设备500利用温度传感器580J检测的温度,执行温度处理策略。例如,当温度传感器580J上报的温度超过阈值,电子设备500执行降低位于温度传感器580J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备500对电池542加热,以避免低温导致电子设备500异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备500对电池542的输出电压执行升压,以避免低温导致的异常关机。The temperature sensor 580J is used to detect temperature. In some embodiments, the electronic device 500 uses the temperature detected by the temperature sensor 580J to implement a temperature treatment strategy. For example, when the temperature reported by the temperature sensor 580J exceeds the threshold, the electronic device 500 may reduce the performance of the processor located near the temperature sensor 580J, so as to reduce power consumption and implement thermal protection. In some other embodiments, when the temperature is lower than another threshold, the electronic device 500 heats the battery 542 to avoid abnormal shutdown of the electronic device 500 caused by the low temperature. In some other embodiments, when the temperature is lower than another threshold, the electronic device 500 boosts the output voltage of the battery 542 to avoid abnormal shutdown caused by low temperature.

触摸传感器580K,也称“触控器件”。触摸传感器580K可以设置于显示屏594,由触摸传感器580K与显示屏594组成触摸屏,也称“触控屏”。触摸传感器580K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏594提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器580K也可以设置于电子设备500的表面,与显示屏594所处的位置不同。Touch sensor 580K, also known as "touch device". The touch sensor 580K can be arranged on the display screen 594, and the touch sensor 580K and the display screen 594 form a touch screen, also called “touch screen”. The touch sensor 580K is used to detect a touch operation on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to touch operations can be provided through the display screen 594 . In some other embodiments, the touch sensor 580K may also be disposed on the surface of the electronic device 500 , which is different from the position of the display screen 594 .

骨传导传感器580M可以获取振动信号。在一些实施例中,骨传导传感器580M可以获取人体声部振动骨块的振动信号。骨传导传感器580M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器580M也可以设置于耳机中,结合成骨传导耳机。音频模块570可以基于所述骨传导传感器580M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器580M获取的血压跳动信号解析心率信息,实现心率检测功能。The bone conduction sensor 580M can acquire vibration signals. In some embodiments, the bone conduction sensor 580M can acquire the vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 580M can also touch the human pulse and receive the blood pressure beating signal. In some embodiments, the bone conduction sensor 580M can also be disposed in the earphone, combined into a bone conduction earphone. The audio module 570 can analyze the voice signal based on the vibration signal of the vibrating bone mass of the vocal part acquired by the bone conduction sensor 580M, so as to realize the voice function. The application processor can analyze the heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 580M, so as to realize the heart rate detection function.

按键590包括开机键,音量键等。按键590可以是机械按键。也可以是触摸式按键。电子设备500可以接收按键输入,产生与电子设备500的用户设置以及功能控制有关的键信号输入。The keys 590 include a power key, a volume key and the like. The key 590 may be a mechanical key. It can also be a touch button. The electronic device 500 may receive key input and generate key signal input related to user settings and function control of the electronic device 500 .

马达591可以产生振动提示。马达591可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏594不同区域的触摸操作,马达591也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。The motor 591 can generate a vibrating reminder. The motor 591 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations applied to different applications (such as taking pictures, playing audio, etc.) may correspond to different vibration feedback effects. The motor 591 can also correspond to different vibration feedback effects for touch operations acting on different areas of the display screen 594 . Different application scenarios (for example: time reminder, receiving information, alarm clock, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

指示器592可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The indicator 592 can be an indicator light, which can be used to indicate the charging status, the change of the battery capacity, and can also be used to indicate messages, missed calls, notifications and so on.

电子设备500可以包括eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备500中,不能和电子设备500分离,电子设备500可以通过eSIM和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备500还可以包括SIM卡接口595,SIM卡接口595用于连接SIM卡。SIM卡可以通过插入SIM卡接口595,或从SIM卡接口595拔出,实现和电子设备500的接触和分离。电子设备500可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口595可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口595可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口595也可以兼容不同类型的SIM卡。SIM卡接口595也可以兼容外部存储卡。电子设备500可以通过SIM卡和网络交互,实现通话以及数据通信等功能。The electronic device 500 may include an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the electronic device 500 and cannot be separated from the electronic device 500. The electronic device 500 can interact with the network through the eSIM to realize functions such as calling and data communication. In some embodiments, the electronic device 500 may further include a SIM card interface 595, and the SIM card interface 595 is used for connecting a SIM card. The SIM card can be connected and separated from the electronic device 500 by inserting it into the SIM card interface 595 or pulling it out from the SIM card interface 595 . The electronic device 500 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1. SIM card interface 595 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 595 at the same time. The types of the multiple cards may be the same or different. The SIM card interface 595 is also compatible with different types of SIM cards. The SIM card interface 595 is also compatible with external memory cards. The electronic device 500 can interact with the network through the SIM card to implement functions such as calling and data communication.

电子设备500的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本发明实施例以分层架构的Android系统为例,示例性说明电子设备500的软件结构。The software system of the electronic device 500 may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present invention, the software structure of the electronic device 500 is exemplarily described by taking an Android system with a layered architecture as an example.

图6是本发明实施例的电子设备500的软件结构框图。FIG. 6 is a block diagram of a software structure of an electronic device 500 according to an embodiment of the present invention.

分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate through software interfaces. In some embodiments, the Android system is divided into four layers, which are, from top to bottom, the application program layer, the application program framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer.

应用程序层可以包括一系列应用程序包。The application layer can consist of a series of application packages.

如图6所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。As shown in FIG. 6, the application package may include application programs such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short message.

应用程序框架层为应用程序层的应用程序提供应用编程接口(applicationprogramming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.

如图6所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。As shown in Figure 6, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.

窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。A window manager is used to manage window programs. The window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc.

内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。Content providers are used to store and retrieve data and make it accessible to applications. Said data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebook, etc.

视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. The view system can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.

电话管理器用于提供电子设备500的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide communication functions of the electronic device 500 . For example, the management of call status (including connected, hung up, etc.).

资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.

通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify the download completion, message reminder, etc. The notification manager can also be a notification that appears on the top status bar of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, issuing a prompt sound, vibrating the electronic device, and flashing the indicator light, etc.

Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。Android Runtime includes core library and virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.

核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one part is the function function that the java language needs to call, and the other part is the core library of Android.

应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in virtual machines. The virtual machine executes the java files of the application program layer and the application program framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。A system library can include multiple function modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.

表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.

媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of various commonly used audio and video formats, as well as still image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing, etc.

2D图形引擎是2D绘图的绘图引擎。2D graphics engine is a drawing engine for 2D drawing.

内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer includes at least a display driver, a camera driver, an audio driver, and a sensor driver.

为了便于理解,本申请以下实施例将以具有图5和图6所示结构的电子设备为例,结合附图和应用场景,对本申请实施例提供的方法进行具体说明。For ease of understanding, the following embodiments of the present application will take the electronic device with the structure shown in FIG. 5 and FIG. 6 as an example, and describe the methods provided in the embodiments of the present application in detail in combination with the drawings and application scenarios.

参见图7,是本申请签约数据下载方法所应用的系统架构示意图,主要包括:Referring to Figure 7, it is a schematic diagram of the system architecture applied to the contract data download method of this application, mainly including:

第一运营商服务端,是第一运营商为用户提供服务的服务器或服务器集群;The server of the first operator is a server or server cluster that the first operator provides services to users;

第一下载服务器,是第一运营商提供Profile下载的服务器或服务器集群,第一下载服务器与第一运营商服务端连接,存储在第一运营商服务端完成签约的电子设备的Profile,Profile可以由第一运营商服务器生成,也可以由第一下载服务器生成,本申请实施例不作限定;The first download server is a server or server cluster that the first operator provides for Profile download. The first download server is connected to the first operator server and stores the Profile of the electronic device that has completed the contract at the first operator server. The Profile can be Generated by the server of the first operator, or generated by the first download server, which is not limited in the embodiment of this application;

第一基站,是第一运营商为用户提供通信服务的一个基站。The first base station is a base station provided by the first operator to provide communication services for users.

第二运营商服务端,是第二运营商为用户提供服务的服务器或服务器集群;The server of the second operator is a server or server cluster that the second operator provides services to users;

第二下载服务器,是第二运营商提供Profile下载的服务器或服务器集群,第二下载服务器与第二运营商服务端连接,存储在第二运营商服务端完成签约的电子设备的Profile,Profile可以由第二运营商服务器生成,也可以由第二下载服务器生成,本申请实施例不作限定;The second download server is a server or server cluster that the second operator provides for Profile download. The second download server is connected to the second operator's server and stores the Profile of the electronic device that has completed the contract at the second operator's server. The Profile can be Generated by the server of the second operator, or generated by the second download server, which is not limited in the embodiment of this application;

第二基站,是第二运营商为用户提供通信服务的基站。The second base station is a base station for the second operator to provide communication services for users.

上述第一下载服务器和第二下载服务器可以是图1~图4中的SM-DP+。The above-mentioned first download server and second download server may be the SM-DP+ shown in Fig. 1 to Fig. 4 .

电子设备,内置有eSIM卡,电子设备可以是上述的手机、PAD等带有显示屏且方便用户进行界面操作的电子设备,也可以是可穿戴设备、IOT设备等用户的界面操作受限的电子设备等;电子设备处于第一基站和第二基站的辐射范围内。电子设备启动后可以具有数据业务接入能力,该数据业务接入能力可以是无线保真(WiFi)接入,或者电子设备内置的eSIM中预置能力限制的Profile(Provisioning Profile)等数据业务解决方案,本申请实施例不作限定,eSIM中预置的能力限制的Profile用于支持eSIM进行运营商的下载服务器接入。The electronic device has a built-in eSIM card. The electronic device can be the above-mentioned electronic device with a display screen such as a mobile phone and a PAD that is convenient for the user to operate the interface, or it can be an electronic device such as a wearable device and an IOT device with limited user interface operations. Equipment, etc.; the electronic equipment is within the radiation range of the first base station and the second base station. After the electronic device is started, it can have data service access capability, and the data service access capability can be wireless fidelity (WiFi) access, or data service solutions such as Profile (Provisioning Profile) with preset capacity restrictions in the eSIM built in the electronic device. The solution is not limited in this embodiment of the present application. The profile with limited capabilities preset in the eSIM is used to support the eSIM to access the operator's download server.

参见图7,假设用户基于电子设备内置的eSIM的标识信息例如EID在第一运营商服务端完成签约(也称为开户),第一运营商服务端基于eSIM的标识信息生成对应的Profile,将Profile发送至第一下载服务器进行存储,电子设备可以基于第一下载服务器的地址访问第一下载服务器,基于eSIM的标识信息进行Profile的下载。eSIM的标识信息用于标识eSIM。Referring to FIG. 7 , assuming that the user completes a contract (also called account opening) at the first operator server based on the identification information of the eSIM built in the electronic device, such as EID, the first operator server generates a corresponding Profile based on the identification information of the eSIM. The Profile is sent to the first download server for storage, and the electronic device can access the first download server based on the address of the first download server, and download the Profile based on the identification information of the eSIM. The identification information of the eSIM is used to identify the eSIM.

同样的,假设用户基于电子设备内置的eSIM的标识信息例如EID在第二运营商服务端完成签约(也称为开户),第二运营商服务端基于eSIM的标识信息生成对应的Profile,将Profile发送至第二下载服务器进行存储,电子设备可以基于第二下载服务器的地址访问第二下载服务器,基于eSIM的标识信息进行Profile的下载。Similarly, assuming that the user completes the contract (also called account opening) at the second operator server based on the identification information of the eSIM built in the electronic device, such as EID, the second operator server generates a corresponding Profile based on the identification information of the eSIM, and the Profile The electronic device can access the second download server based on the address of the second download server, and download the Profile based on the identification information of the eSIM.

与上述图1~2中电子设备从运营商服务端获取SM-DP+地址、图3~4中电子设备从SM-DS服务器获取SM-DP+地址不同,图7所示的电子设备中存储有至少一个运营商网络标识与下载服务器地址之间的对应关系。运营商网络标识可以是运营商的公共陆地移动网(PLMN,public land mobile network)编号,下载服务器地址也即上述第一下载服务器、第二下载服务器等提供Profile下载的服务器的地址,这种对应关系可以通过类似下表1的方式存储于电子设备中。在表1中运营商网络标识以PLMN编号为例。需要说明的是,表1中以电子设备中存储了3个运营商网络标识与下载服务器地址之间的对应关系为例,在实际应用中,表1中存储的对应关系的数量可以更多或更少,本申请实施例不作限定。Different from the electronic equipment obtaining the SM-DP+ address from the operator server in Figures 1-2 above and the electronic equipment obtaining the SM-DP+ address from the SM-DS server in Figures 3-4, the electronic equipment shown in Figure 7 stores at least A corresponding relationship between an operator network identifier and a download server address. The operator's network identifier can be the number of the operator's public land mobile network (PLMN, public land mobile network), and the download server address is also the address of the server that provides the Profile download, such as the above-mentioned first download server and second download server. The relationship can be stored in the electronic device in a manner similar to Table 1 below. In Table 1, the operator network identifier takes the PLMN number as an example. It should be noted that in Table 1, the corresponding relationship between three operator network identifiers and download server addresses is stored in the electronic device as an example. In practical applications, the number of corresponding relationships stored in Table 1 can be more or more. Less, the embodiment of this application is not limited.

表1Table 1

Figure BDA0002590540540000141
Figure BDA0002590540540000141

在图1~2所示的技术方案中,运营商的下载服务器地址是携带在激活码中传输至需要下载Profile的电子设备例如手机、PAD、可穿戴设置、IOT设备等;图3~4所示的技术方案中,运营商的下载服务器地址保存于SM-DS服务器中,电子设备需要先从SM-DS服务器获取到签约的运营商的下载服务器地址,之后,才能基于获取到的下载服务器地址访问下载服务器,从而实现Profile的下载;而图7所示的本申请实施例中,将至少一个运营商的下载服务器地址存储于电子设备中,从而电子设备无需通过蓝牙、数据通信等方式获取下载服务器地址,减少了电子设备与其他设备之间的基于下载服务器地址的数据交互。In the technical solution shown in Figures 1-2, the operator's download server address is carried in the activation code and transmitted to the electronic device that needs to download the Profile, such as mobile phones, PADs, wearable devices, IOT devices, etc.; Figures 3-4 In the technical solution shown, the operator's download server address is stored in the SM-DS server, and the electronic device needs to obtain the contracted operator's download server address from the SM-DS server first, and then the download server address can be obtained based on the obtained download server address. Visit the download server to realize the download of the Profile; and in the embodiment of the application shown in Figure 7, the download server address of at least one operator is stored in the electronic device, so that the electronic device does not need to obtain the download via Bluetooth, data communication, etc. The server address reduces the data exchange based on the download server address between the electronic device and other devices.

结合图7所示的系统架构和数据交互关系,通过图8所示的实施例对本申请实施例签约数据下载方法进行说明。图8所示的实施例中,以电子设备中预设表1所示的对应关系、用户选择第二运营商进行签约为例说明。图8所示本申请实施例的签约数据下载方法可以分为两个阶段,分别是:签约阶段和下载阶段。In combination with the system architecture and data interaction relationship shown in FIG. 7 , the method for downloading subscription data in this embodiment of the present application will be described through the embodiment shown in FIG. 8 . In the embodiment shown in FIG. 8 , the corresponding relationship shown in Table 1 is preset in the electronic device, and the user selects a second operator to sign a contract as an example. The method for downloading subscription data in the embodiment of the present application shown in FIG. 8 can be divided into two stages, namely: a subscription stage and a download stage.

在签约阶段,包括以下的步骤801~803:In the signing stage, the following steps 801-803 are included:

步骤801:用户获取需要签约的电子设备内置的eSIM的标识信息。Step 801: The user acquires the identification information of the built-in eSIM of the electronic device that needs to subscribe.

具体的,用户可以在购买电子设备之后的任意时刻基于电子设备内置的eSIM的标识信息与运营商签约,也即在运营商处开户,签约途径可以是用户前往运营商门店完成签约流程,或者用户使用辅助设备访问运营商的网页、运营商的APP等执行签约流程。需要说明的是,如果需要签约的电子设备是具有显示屏且方便用户界面操作的电子设备,上述辅助设备可以是需要签约的电子设备或者其他的电子设备,如果需要签约的电子设备是用户界面操作受限的电子设备,上述辅助设备可以是需要签约的电子设备之外的电子设备。Specifically, the user can sign a contract with the operator based on the identification information of the eSIM built in the electronic device at any time after purchasing the electronic device, that is, open an account with the operator. The signing method can be that the user goes to the operator's store to complete the signing process, or the user Use an auxiliary device to access the operator's web page, operator's APP, etc. to execute the contract process. It should be noted that if the electronic device that needs to be signed is an electronic device that has a display screen and is convenient for user interface operation, the above-mentioned auxiliary device can be the electronic device that needs to be signed or other electronic devices. If the electronic device that needs to be signed is a user interface operation Restricted electronic equipment, the above-mentioned auxiliary equipment may be electronic equipment other than the electronic equipment that needs to be signed.

在进行签约之前,用户可以通过辅助设备获取电子设备内置的eSIM的标识信息,标识信息用于唯一标识eSIM,可选地,标识信息可以是eSIM的EID。用户可以手动输入、二维码扫描等方式获取到电子设备的eSIM的标识信息。当一次需要针对较大数量的电子设备进行签约时,用户也可以由需要签约的电子设备的提供商(例如销售商或者生产厂商等)一次性批量提供用户需要签约的电子设备内置eSIM的标识信息例如EID。Before signing the contract, the user can obtain the identification information of the eSIM built in the electronic device through the auxiliary device, and the identification information is used to uniquely identify the eSIM. Optionally, the identification information can be the EID of the eSIM. The user can obtain the identification information of the eSIM of the electronic device through manual input, scanning a two-dimensional code, and the like. When a large number of electronic devices need to be signed at one time, the user can also provide the identification information of the built-in eSIM of the electronic device that the user needs to sign up for in batches at one time by the provider of the electronic device that needs to be signed (such as a seller or manufacturer, etc.) For example EID.

步骤802:用户将获取的电子设备内置的eSIM的标识信息上传至目标运营商服务端,在目标运营商服务端完成签约流程。Step 802: The user uploads the obtained identification information of the built-in eSIM of the electronic device to the server of the target operator, and completes the signing process on the server of the target operator.

其中上述目标运营商服务端是用户从众多运营商中选择的想要进行签约的运营商(以下称为目标运营商)的运营商服务端,例如,在图8中以第二运营商是目标运营商,第二运营商服务端是目标运营商服务端为例。Wherein the above-mentioned target operator service end is the operator service end of the operator (hereinafter referred to as the target operator) that the user selects from many operators and wants to sign a contract. For example, in FIG. 8, the second operator is the target operator For an operator, the server of the second operator is the server of the target operator as an example.

步骤803:目标运营商服务端根据用户上传的eSIM的标识信息生成Profile,将Profile存储于目标下载服务器。Step 803: The target operator server generates a Profile according to the identification information of the eSIM uploaded by the user, and stores the Profile in the target download server.

需要说明的是,Profile也可以由目标下载服务器根据eSIM的标识信息生成,本申请实施例不作限定。It should be noted that the Profile may also be generated by the target download server according to the identification information of the eSIM, which is not limited in this embodiment of the present application.

上述目标下载服务器是指存储有电子设备的Profile的服务器,也即目标运营商为用户提供的下载Profile的服务器,在图8中以第二下载服务器是Profile下载目标服务器为例。The above-mentioned target download server refers to the server storing the profile of the electronic device, that is, the server provided by the target operator to download the profile for the user. In FIG. 8 , the second download server is the profile download target server as an example.

在Profile下载阶段,包括以下的步骤804~步骤810:In the Profile download stage, the following steps 804 to 810 are included:

步骤804:电子设备开机。Step 804: The electronic device is turned on.

需要说明的是,图8所示实施例在电子设备开机之前,用户最好已经在至少一个运营商处为电子设备完成了签约,也即步骤804最好在步骤803之后执行,否则,如果电子设备在开机时尚未签约,电子设备将无法下载到Profile,直到步骤803执行完毕,电子设备才可能下载到Profile。It should be noted that, in the embodiment shown in FIG. 8, before the electronic device is turned on, the user has preferably signed up for the electronic device with at least one operator, that is, step 804 is preferably performed after step 803, otherwise, if the electronic device If the device has not signed a contract when it is turned on, the electronic device will not be able to download the Profile, and the electronic device will not be able to download the Profile until step 803 is completed.

电子设备开机后,可以进行运营商网络搜索,在图8中以以下几种可能的Profile下载流程为例,说明电子设备开机后可能执行的步骤,以下以电子设备中预设表1所示的对应关系为例。After the electronic device is turned on, the carrier network search can be performed. In Figure 8, the following possible Profile download processes are taken as examples to illustrate the steps that the electronic device may perform after the electronic device is turned on. The following is the preset table 1 in the electronic device. Correspondence as an example.

失败尝试1:Failed attempt 1:

步骤805a:电子设备进行运营商网络搜索。Step 805a: The electronic device searches the operator's network.

在本申请实施例中,电子设备进行运营商网络搜索一般基于电子设备中内置的基带芯片实现。基带芯片可以对应着图5中所述的基带处理器。In the embodiment of the present application, the electronic device searches the operator's network generally based on the built-in baseband chip in the electronic device. The baseband chip may correspond to the baseband processor described in FIG. 5 .

步骤806a:电子设备搜索到第四运营商网络,获取第四运营商网络的广播消息中的第四运营商网络标识例如PLMN D。Step 806a: The electronic device searches for the fourth operator's network, and acquires the fourth operator's network identifier such as PLMN D in the broadcast message of the fourth operator's network.

参见图8,以电子设备接收到第四运营商提供通信服务的第四基站发送的广播消息为例,第四基站在图7中未示出。Referring to FIG. 8 , it is taken that the electronic device receives a broadcast message sent by a fourth base station that provides communication services of a fourth operator as an example, and the fourth base station is not shown in FIG. 7 .

步骤807a:电子设备从预设的运营商网络标识与下载服务器地址之间的对应关系(也即表1)中查找运营商网络标识PLMN D对应的下载服务器地址,如果未查找到对应的下载服务器地址,该分支流程结束。Step 807a: The electronic device searches for the download server address corresponding to the operator network identifier PLMN D from the preset correspondence between the operator network identifier and the download server address (that is, Table 1), if no corresponding download server is found address, the branch process ends.

由于表1中未存储第四运营商网络标识PLMN D对应的下载服务器地址,因此,电子设备无法查找到对应的下载服务器地址,Profile下载尝试失败。Since the download server address corresponding to the fourth operator network identifier PLMN D is not stored in Table 1, the electronic device cannot find the corresponding download server address, and the Profile download attempt fails.

失败尝试2:Failed attempt 2:

步骤805b:电子设备进行运营商网络搜索。Step 805b: The electronic device searches the operator's network.

步骤806b:电子设备搜索到第一运营商网络,获取第一运营商网络的广播消息中的第一运营商网络标识PLMN A。Step 806b: The electronic device searches for the first operator's network, and acquires the first operator's network identifier PLMN A in the broadcast message of the first operator's network.

参见图8,以电子设备接收到第一基站发送的广播消息为例。Referring to FIG. 8 , it is taken that an electronic device receives a broadcast message sent by a first base station as an example.

步骤807b:电子设备从预设的运营商网络标识与下载服务器地址之间的对应关系(也即表1)中查找第一运营商网络标识PLMN A对应的下载服务器地址,得到下载服务器地址A。Step 807b: The electronic device searches for the download server address corresponding to the first operator network identifier PLMN A from the preset correspondence between the operator network identifier and the download server address (that is, Table 1), and obtains the download server address A.

步骤808b:电子设备根据下载服务器地址A访问第一下载服务器,向第一下载服务器发送Profile下载请求,请求中携带电子设备内置eSIM的标识信息;Step 808b: The electronic device accesses the first download server according to the address A of the download server, and sends a Profile download request to the first download server, and the request carries the identification information of the built-in eSIM of the electronic device;

步骤809b:电子设备接收到第一下载服务器反馈的Profile请求失败消息。Step 809b: The electronic device receives a profile request failure message fed back by the first download server.

由于用户未在第一运营商服务端签约,第一下载服务器中未存储电子设备内置eSIM的标识信息对应的Profile,第一下载服务器向电子设备反馈Profile请求失败消息,Profile下载尝试失败。Since the user has not signed a contract with the server of the first operator, and the first download server does not store the profile corresponding to the identification information of the eSIM built in the electronic device, the first download server feeds back a profile request failure message to the electronic device, and the profile download attempt fails.

成功尝试:Successful attempts:

步骤805c:电子设备进行运营商网络搜索。Step 805c: The electronic device searches the operator's network.

步骤806c:电子设备搜索到第二运营商网络,获取第二运营商网络广播消息中的第二运营商网络标识PLMN B。Step 806c: The electronic device searches for the second operator's network, and acquires the second operator's network identifier PLMN B in the broadcast message of the second operator's network.

参见图8,以电子设备接收到第二基站发送的广播消息为例。Referring to FIG. 8 , it is taken that the electronic device receives the broadcast message sent by the second base station as an example.

步骤807c:电子设备从预设的运营商网络标识与下载服务器地址之间的对应关系(也即表1)中查找第二运营商网络标识PLMN B对应的下载服务器地址,得到下载服务器地址B。Step 807c: The electronic device searches for the download server address corresponding to the second operator network identifier PLMN B from the preset correspondence between the operator network identifier and the download server address (that is, Table 1), and obtains the download server address B.

步骤808c:电子设备根据下载服务器地址B访问第二下载服务器,向第二下载服务器发送Profile下载请求,请求中携带电子设备内置eSIM的标识信息;Step 808c: The electronic device accesses the second download server according to the address B of the download server, and sends a Profile download request to the second download server, and the request carries the identification information of the built-in eSIM of the electronic device;

步骤809c:电子设备接收到第二下载服务器反馈的Profile请求成功消息,从第一下载服务器下载Profile至内置的eSIM中。Step 809c: The electronic device receives the Profile request success message fed back by the second download server, and downloads the Profile from the first download server to the built-in eSIM.

步骤810c:电子设备基于下载的Profile使用第二运营商网络进行通信。Step 810c: The electronic device communicates using the second operator's network based on the downloaded Profile.

其中,在步骤808b和步骤808c中,电子设备需要根据下载服务器地址访问对应的下载服务器,因此,要求电子设备启动后便有数据业务接入能力,该数据业务接入能力可以是WiFi接入,或者电子设备内置的eSIM中预置能力限制的Profile(ProvisioningProfile)等数据业务解决方案,本申请实施例不作限定。其中,eSIM中预置的能力限制的Profile用于支持eSIM进行下载服务器接入,从下载服务器下载Profile。Wherein, in step 808b and step 808c, the electronic device needs to access the corresponding download server according to the address of the download server, therefore, the electronic device is required to have data service access capability after startup, and the data service access capability may be WiFi access, Or a data service solution such as a Profile (Provisioning Profile) with preset capability restrictions in the eSIM built in the electronic device, which is not limited in this embodiment of the present application. Wherein, the profile with limited capabilities preset in the eSIM is used to support the eSIM to access the download server, and download the profile from the download server.

需要说明的是,如果电子设备开机后,在预设时长内进行一轮运营商网络搜索后,没有搜索到签约的第二运营商网络,均执行的是类似失败尝试1和失败尝试2的流程,则,电子设备在执行完一轮运营商网络搜索后,可以以一定的周期进行定期定时的运营商网络搜索,直到执行步骤805c~步骤810c,完成Profile下载,使用第二运营商网络进行通信。It should be noted that if the electronic device is turned on, after a round of carrier network search within a preset period of time, the contracted second carrier network is not searched, and a process similar to failed attempt 1 and failed attempt 2 is executed. , then, after performing a round of operator network search, the electronic device can perform regular operator network search in a certain period until step 805c to step 810c are executed to complete the profile download and use the second operator network for communication .

需要说明的是,图8中以用户在一个运营商处为电子设备签约为例,可选地,用户也可以去两个或多个运营商为电子设备进行签约,但是签约的运营商一般是表1中记录有运营商网络标识的运营商,以便电子设备能够通过表1查找到对应的下载服务器地址,进行Profile下载。如果用户在两个或多个运营商进行签约,电子设备可以先从哪个运营商的下载服务器下载到Profile,就用哪个运营商网络进行通信,例如用户在第一运营商和第二运营商均为电子设备进行了签约,则假设电子设备首先搜索到第一运营商网络,并从第一运营商的第一下载服务器下载到Profile,则电子设备之后就可以使用第一运营商的网络进行通信。It should be noted that, in Figure 8, the user signs an electronic device at one operator as an example. Optionally, the user can also go to two or more operators to sign an electronic device, but the signed operator is generally Table 1 records the operator with the operator network identifier, so that the electronic device can find the corresponding download server address through Table 1, and download the Profile. If the user signs contracts with two or more operators, the electronic device can first download the profile from the download server of which operator, and use which operator's network to communicate. After signing the contract for the electronic device, assuming that the electronic device first searches the network of the first operator and downloads the profile from the first download server of the first operator, the electronic device can then use the network of the first operator to communicate .

需要说明的是,图8所示的实施例可以适用于以下的场景中:It should be noted that the embodiment shown in FIG. 8 may be applicable to the following scenarios:

电子设备厂商生产至少两个运营商通用的电子设备,在电子设备中预设至少两个运营商网络标识与下载服务器地址之间的对应关系,用户在电子设备预设的对应关系记录的运营商中自行决定签约的运营商,例如假设电子设备中预设表1所示的对应关系,用户就可以从第一运营商~第三运营商中选择一个或多个运营商进行签约。或者,The electronic device manufacturer produces electronic devices that are common to at least two operators, and presets the corresponding relationship between the network identification of at least two operators and the download server address in the electronic device, and the operator recorded in the corresponding relationship preset by the user in the electronic device Operators who decide to sign on their own. For example, assuming that the corresponding relationship shown in Table 1 is preset in the electronic device, the user can select one or more operators from the first operator to the third operator to sign. or,

电子设备厂商生产某一运营商专用的电子设备,例如第二运营商专用的电子设备,则可以在电子设备中预设第二运营商网络标识与第二运营商的下载服务器地址(例如表1中的下载服务器地址B)之间的对应关系,用户只能去第二运营商为电子设备签约。When an electronic equipment manufacturer produces electronic equipment dedicated to a certain operator, such as electronic equipment dedicated to a second operator, the electronic equipment may preset the network identifier of the second operator and the download server address of the second operator (for example, Table 1 According to the corresponding relationship between the download server address B) in , the user can only go to the second operator to sign a contract for the electronic device.

图8所示的实施例中,把运营商网络标识和下载服务器地址之间的对应关系内置在电子设备中,并通过搜网过程中解析出来的运营商网络标识智能匹配下载服务器地址,相对于图1和图2所示的技术方案中必须依赖签约过程中的激活码获取下载服务器地址、通过辅助设备传递给主设备(对于IOT设备场景),以及图3和图4所示的技术方案中必须依赖SM-DS服务器获取下载服务器地址,可以做到既不依赖辅助设备的传递,也不依赖网络侧新增的SM-DS服务器;而且,只要用户在运营商服务端完成签约,用户在任意时刻启动电子设备,电子设备就会自行完成Profile下载和入网的动作,无需用户进行操作,简化用户下载Profile的体验。特别的,对于企业用户等需要为海量的IOT设备下载Profile的场景来说,完全可以做到无人工干预下,电子设备开机自动完成Profile下载和使用,极大的降低人力成本。In the embodiment shown in FIG. 8 , the corresponding relationship between the network identifier of the operator and the address of the download server is built into the electronic device, and the address of the download server is intelligently matched through the network identifier of the operator analyzed during the network search process. In the technical solution shown in Figure 1 and Figure 2, the activation code in the signing process must be relied on to obtain the download server address, and pass it to the main device through the auxiliary device (for the IOT device scenario), and in the technical solution shown in Figure 3 and Figure 4 It must rely on the SM-DS server to obtain the address of the download server, which can neither rely on the delivery of auxiliary equipment nor rely on the newly added SM-DS server on the network side; moreover, as long as the user completes the contract on the operator's server, the user can Start the electronic device at any time, and the electronic device will complete the actions of profile download and network access by itself, without the user's operation, which simplifies the user's experience of downloading the profile. In particular, for enterprise users and other scenarios that need to download profiles for a large number of IOT devices, it is completely possible to download and use profiles automatically when electronic devices are turned on without manual intervention, which greatly reduces labor costs.

而且,本申请实施例签约数据的下载方法,对于可穿戴设备和IOT设备等用户界面操作受限的电子设备尤其是IOT设备,无需内置传统蓝牙模块,无需和辅助设备进行蓝牙配对、连接,也无需和辅助设备进行数据交互,简化了Profile的下载流程,而且,对于用户界面操作不受限的电子设备例如手机、PAD而言,也简化了Profile的下载流程;而且,相对于图3和图4所示的实例,无需另外搭建SM-DS服务器,有效降低Profile下载操作复杂度,减少电子设备和运营商的运营成本。Moreover, the method for downloading contract data in the embodiment of the present application, for wearable devices and IOT devices and other electronic devices with limited user interface operations, especially IOT devices, does not need to have a built-in traditional Bluetooth module, and does not need to perform Bluetooth pairing and connection with auxiliary devices. There is no need to perform data interaction with auxiliary equipment, which simplifies the download process of Profile, and also simplifies the download process of Profile for electronic devices such as mobile phones and PADs with unlimited user interface operations; moreover, compared to Figure 3 and Figure 3 In the example shown in 4, there is no need to build an additional SM-DS server, which effectively reduces the complexity of the Profile download operation, and reduces the operating costs of electronic equipment and operators.

结合图7所示的系统架构和数据交互关系,通过图9所示的实施例对本申请实施例签约数据下载方法进行说明。区别于图8中用户基于购买的电子设备内置运营商网络标识和下载服务器地址之间的对应关系的情况选择运营商进行签约,图9所示的实施例中,电子设备厂商生产电子设备前,用户例如某一企业已经和目标运营商签约签约,并要求电子设备厂商针对目标运营商进行电子设备的定制;或者,运营商也可以要求电子设备厂商针对该运营商进行电子设备的定制。图9中假设电子设备签约的目标运营商是第二运营商。图9所示的实施例中,电子设备中内置有目标运营商网络标识与目标运营商的下载服务器地址也即目标下载服务器地址之间的对应关系。图9中,以目标运营商是第二运营商为例,相应的,目标运营商网络标识为第二运营商网络标识,目标下载服务器是第二下载服务器,目标下载服务器地址是第二下载服务器地址。In combination with the system architecture and data interaction relationship shown in FIG. 7 , the method for downloading subscription data in this embodiment of the present application will be described through the embodiment shown in FIG. 9 . Different from the situation in Figure 8 where the user selects an operator to sign a contract based on the corresponding relationship between the built-in operator network identifier and the download server address of the purchased electronic device, in the embodiment shown in Figure 9, before the electronic equipment manufacturer produces the electronic equipment, A user such as an enterprise has signed a contract with a target operator and requires the electronic equipment manufacturer to customize the electronic equipment for the target operator; or, the operator may also require the electronic equipment manufacturer to customize the electronic equipment for the operator. In FIG. 9 , it is assumed that the target operator signed by the electronic device is the second operator. In the embodiment shown in FIG. 9 , the corresponding relationship between the target operator's network identifier and the target operator's download server address, that is, the target download server address, is built into the electronic device. In FIG. 9, taking the target operator as an example of the second operator, correspondingly, the network identifier of the target operator is the network identifier of the second operator, the target download server is the second download server, and the address of the target download server is the second download server address.

参见图9所示,该实施例包括三个阶段,分别为签约阶段、生产阶段和下载阶段。具体的:Referring to Fig. 9, this embodiment includes three phases, which are the signing phase, the production phase and the downloading phase. specific:

在签约阶段,包括以下的步骤901~902:In the signing stage, the following steps 901-902 are included:

步骤901:用户获取需要签约的电子设备内置的eSIM的标识信息,将获取的标识信息上传至第二运营商服务端(也即目标运营商服务端),在第二运营商服务端执行签约流程。Step 901: The user obtains the identification information of the built-in eSIM of the electronic device that needs to be subscribed, uploads the obtained identification information to the server of the second operator (that is, the server of the target operator), and executes the signing process on the server of the second operator .

步骤902:第二运营商服务端根据用户上传的标识信息生成Profile,将Profile存储于第二下载服务器(也即目标下载服务器)。Step 902: The second operator server generates a Profile according to the identification information uploaded by the user, and stores the Profile in the second download server (ie, the target download server).

在生产阶段,包括以下的步骤903~904:In the production stage, the following steps 903-904 are included:

步骤903:用户将电子设备内置的eSIM的标识信息提交给电子设备厂商,或者用户直接向eSIM卡商采购带有已经签约的标识信息的eSIM卡交给电子设备厂商;Step 903: The user submits the identification information of the eSIM built in the electronic device to the electronic device manufacturer, or the user directly purchases an eSIM card with signed identification information from the eSIM card manufacturer and hands it to the electronic device manufacturer;

步骤904:电子设备厂商根据用户提供的eSIM的标识信息或用户交付的eSIM卡生产电子设备,并配置电子设备开机后仅搜索目标运营商网络标识。Step 904: The electronic device manufacturer produces the electronic device according to the identification information of the eSIM provided by the user or the eSIM card delivered by the user, and configures the electronic device to only search for the network identification of the target operator after starting up.

图9中的目标运营商网络标识是第二运营商网络标识,假设为PLMN B。The target operator's network identifier in FIG. 9 is the second operator's network identifier, which is assumed to be PLMN B.

在Profile下载阶段,包括以下的步骤905~911:In the profile download stage, the following steps 905-911 are included:

步骤905:电子设备开机。Step 905: The electronic device is turned on.

电子设备开机后,进行第二运营商网络(也即目标运营商网络)搜索,电子设备中可以内置第二运营商网络标识(也即目标运营商网络标识),电子设备在运营商网络搜索过程中,判断搜索到的运营商网络的运营商网络标识是否与内置的第二运营商网络标识一致,如果一致,则搜网成功,否则搜网失败。基于搜网成功和失败两种情况,分别说明电子设备在开机后可能执行的步骤流程:After the electronic device is turned on, search for the second operator network (that is, the target operator network), and the electronic device can have a built-in second operator network identifier (that is, the target operator network identifier), and the electronic device searches the operator network. In the process, it is judged whether the operator network identifier of the searched operator network is consistent with the built-in second operator network identifier. If they are consistent, the network search is successful, otherwise the network search fails. Based on the success and failure of searching the Internet, the steps that the electronic device may execute after starting up are described respectively:

失败尝试1:Failed attempt 1:

步骤906a:电子设备进行第二运营商网络(也即目标运营商网络)搜索。Step 906a: the electronic device searches for the second operator's network (that is, the target operator's network).

步骤907a:如果电子设备未搜索到运营商网络,或者搜索到的运营商网络标识与电子设备内置的第二运营商网络标识(也即目标运营商网络标识)不一致,电子设备搜索第二运营商网络失败,启动定期重试;上述定期重试是指电子设备基于某一预设周期或者某一指定时刻重新进行第二运营商网络搜索,上述的预设周期或者指定时刻本申请实施例不作限定。Step 907a: If the electronic device does not find the operator's network, or the searched operator's network ID is inconsistent with the second operator's network ID (that is, the target operator's network ID) built into the electronic device, the electronic device searches for the second operator's network ID If the network fails, start a periodic retry; the above-mentioned periodic retry means that the electronic device re-searches the network of the second operator based on a certain preset period or a certain specified time, and the above-mentioned preset period or specified time is not limited by the embodiment of this application .

成功尝试:Successful attempts:

步骤906b:电子设备进行第二运营商网络(也即目标运营商网络)搜索。Step 906b: The electronic device searches for the second operator network (that is, the target operator network).

步骤907b:电子设备搜索到第二运营商网络,获取到广播消息中的运营商网络标识,判断其与电子设备内置的第二运营商网络标识(也即目标运营商网络标识)一致,搜索第二运营商网络(也即目标运营商网络)成功。Step 907b: The electronic device searches for the second operator's network, obtains the operator's network identifier in the broadcast message, determines that it is consistent with the second operator's network identifier (that is, the target operator's network identifier) built into the electronic device, and searches for the second operator's network identifier. The second operator's network (that is, the target operator's network) succeeds.

步骤908b:电子设备查找到第二运营商网络标识对应的第二下载服务器地址(也即目标下载服务器地址);Step 908b: The electronic device finds the second download server address (that is, the target download server address) corresponding to the network identifier of the second operator;

步骤909b:电子设备根据第二下载服务器地址访问第二下载服务器,向第二下载服务器发送Profile下载请求,请求中携带电子设备内置eSIM的标识信息;Step 909b: The electronic device accesses the second download server according to the address of the second download server, and sends a Profile download request to the second download server, and the request carries the identification information of the built-in eSIM of the electronic device;

步骤910b:电子设备接收到第一下载服务器反馈的Profile请求成功消息,从第一下载服务器下载Profile至内置的eSIM中。Step 910b: The electronic device receives the Profile request success message fed back by the first download server, and downloads the Profile from the first download server to the built-in eSIM.

步骤911b:电子设备基于下载的Profile使用第二运营商网络进行通信。Step 911b: The electronic device communicates using the second operator's network based on the downloaded Profile.

图9所示的实施例中,用户可以在电子设备生产之前就完成和运营商的签约,并指定了电子设备搜索的目标运营商网络,在厂商交付电子设备、用户将电子设备开机后,电子设备可以立即搜索目标运营商网络、进行Profile下载和使用,进一步简化电子设备的使用体验;相对于图8所示的实施例,可以进一步简化图8所示实施例中电子设备多次尝试查找其他非目标运营商网络对应的下载服务器地址的过程,减少电子设备下载Profile的时间。In the embodiment shown in Figure 9, the user can complete the contract with the operator before the electronic device is produced, and specify the target operator network for the electronic device to search. After the manufacturer delivers the electronic device and the user turns on the electronic device, the electronic The device can immediately search the network of the target operator, download and use the Profile, and further simplify the experience of using the electronic device; compared with the embodiment shown in Figure 8, it can further simplify the multiple attempts of the electronic device to find other profiles in the embodiment shown in Figure 8. The process of downloading the server address corresponding to the network of the non-target operator reduces the time for the electronic device to download the Profile.

需要说明的是,图9所示的实施例中,以电子设备中预设目标运营商网络标识与目标下载服务器之间的对应关系,电子设备执行步骤908b获取到目标下载服务器地址为例,可选地,电子设备中也可以不预设目标运营商网络标识与目标下载服务器之间的对应关系,仅预设目标下载服务器地址,相应的,电子设备执行步骤907b后,直接执行步骤909b,根据预设的目标下载服务器地址访问目标下载服务器即可。It should be noted that, in the embodiment shown in FIG. 9 , taking the preset corresponding relationship between the network identifier of the target operator and the target download server in the electronic device, the electronic device executes step 908b to obtain the address of the target download server as an example. Optionally, the corresponding relationship between the network identifier of the target operator and the target download server may not be preset in the electronic device, and only the address of the target download server is preset. Correspondingly, after the electronic device executes step 907b, it directly executes step 909b, according to The preset target download server address can be used to access the target download server.

需要说明的是,图9中以目标运营商网络是一个运营商网络为例,可选地,图9中目标运营商网络也可以扩展至2个或多个运营商网络,相应的,电子设备中预设每个目标运营商网络标识与下载服务器地址之间的对应关系,电子设备在进行目标运营商网络搜索时,判断搜索到的运营商网络的网络标识是否与预设的目标运营商网络标识中的一个目标运营商网络标识一致,如果一致,则从预设的每个目标运营商网络标识与下载服务器地址之间的对应关系查找到对应的下载服务器地址,进行Profile下载,这里不赘述。It should be noted that in FIG. 9, the target operator network is an example of an operator network. Optionally, the target operator network in FIG. 9 may also be extended to two or more operator networks. Correspondingly, the electronic device The corresponding relationship between the network identifier of each target operator and the address of the download server is preset in the network, and when the electronic device searches the network of the target operator, it judges whether the network identifier of the searched operator network is consistent with the preset target operator network. One of the target operator network identifiers in the identification is consistent. If they are consistent, the corresponding download server address is found from the preset correspondence between each target operator network identifier and the download server address, and the Profile is downloaded. No details are given here. .

基于图8和图9所示的实施例,本申请实施例还提供一种签约数据的下载方法,应用于内置eSIM的电子设备,如图10所示,该方法可以包括:Based on the embodiments shown in FIG. 8 and FIG. 9, this embodiment of the present application also provides a method for downloading subscription data, which is applied to an electronic device with a built-in eSIM. As shown in FIG. 10, the method may include:

步骤1001:开机后启动运营商网络搜索;Step 1001: Start operator network search after booting;

步骤1002:如果搜索到运营商网络,获取运营商网络的运营商网络标识;Step 1002: If an operator network is found, obtain the operator network identifier of the operator network;

步骤1003:从预设的运营商网络标识与下载服务器地址之间的对应关系中查找获取的运营商网络标识对应的下载服务器地址;Step 1003: Find the obtained download server address corresponding to the operator network identifier from the preset correspondence between the operator network identifier and the download server address;

步骤1004:如果查找到获取的运营商网络标识对应的下载服务器地址,根据电子设备内置的eSIM的标识信息从查找到的下载服务器地址下载eSIM所需的Profile。Step 1004: If the download server address corresponding to the obtained operator network identifier is found, download the profile required by the eSIM from the found download server address according to the identification information of the eSIM built in the electronic device.

可选地,步骤1004可以包括:向查找到的下载服务器地址指示的下载服务器发送签约数据下载请求消息,签约数据下载请求消息中包括电子设备内置的eSIM的标识信息;接收下载服务器发送的标识信息对应的Profile,Profile在下载服务器根据标识信息查找到对应的Profile时发送。Optionally, step 1004 may include: sending a subscription data download request message to the download server indicated by the found download server address, where the subscription data download request message includes the identification information of the eSIM built in the electronic device; receiving the identification information sent by the download server The corresponding Profile is sent when the download server finds the corresponding Profile according to the identification information.

可选地,步骤1004可以包括:向查找到的下载服务器地址指示的下载服务器发送签约数据下载请求消息,签约数据下载请求消息中包括电子设备内置的eSIM的标识信息;接收下载服务器发送的签约数据请求失败消息,签约数据请求失败消息在下载服务器根据标识信息未查找到对应的Profile时发送。Optionally, step 1004 may include: sending a subscription data download request message to the download server indicated by the found download server address, the subscription data download request message including the identification information of the eSIM built in the electronic device; receiving the subscription data sent by the download server The request failure message, the subscription data request failure message is sent when the download server fails to find the corresponding Profile according to the identification information.

步骤1001和步骤1002之间还可以包括:Between step 1001 and step 1002 may also include:

判断获取到的运营商网络标识与预设的目标运营商网络标识一致。It is determined that the obtained operator network identifier is consistent with the preset target operator network identifier.

其中,目标运营商网络标识可以为一个或多个,如果是多个,判断获取到的运营商网络标识与预设的目标运营商网络标识一致可以为:判断获取到的运营商网络标识与预设的多个目标运营商网络标识中的一个目标运营商网络标识一致。Wherein, there may be one or more target operator network identifiers, and if there are more than one, judging that the obtained operator network identifier is consistent with the preset target operator network identifier may be: judging that the acquired operator network identifier is consistent with the preset target operator network identifier A target operator network identifier among multiple target operator network identifiers is consistent.

图10所示的方法中,把运营商网络标识和下载服务器地址之间的对应关系预设于电子设备中,通过运营商网络搜索过程中获取到的运营商网络标识智能匹配下载服务器地址,进行Profile下载,相对于图1和图2所示的技术方案中必须依赖签约过程中的激活码获取下载服务器地址、通过辅助设备传递给主设备(对于IOT设备场景),简化了电子设备的Profile下载流程;而且,相对于图2所示的技术方案,图10所示的方法中电子设备无需设置传统蓝牙模块,无需和辅助设备进行蓝牙配对、连接,也无需和辅助设备进行数据交互,简化了Profile的下载流程;相对于图3和图4所示的技术方案,图10所示的方法中无需依赖SM-DS服务器获取下载服务器地址,同样简化了Profile下载流程,而且,降低了电子设备和运营商的运营成本。In the method shown in Figure 10, the corresponding relationship between the operator's network identifier and the download server address is preset in the electronic device, and the operator's network identifier obtained during the operator's network search process is intelligently matched with the download server address to perform Profile download, compared to the technical solution shown in Figure 1 and Figure 2, must rely on the activation code in the signing process to obtain the download server address, and pass it to the main device through the auxiliary device (for IOT device scenarios), which simplifies the profile download of electronic devices process; moreover, compared to the technical solution shown in Figure 2, the electronic device in the method shown in Figure 10 does not need to be equipped with a traditional Bluetooth module, and does not need to perform Bluetooth pairing and connection with the auxiliary device, nor does it need to perform data interaction with the auxiliary device, which simplifies The download process of Profile; Compared with the technical solutions shown in Figure 3 and Figure 4, the method shown in Figure 10 does not need to rely on the SM-DS server to obtain the download server address, which also simplifies the Profile download process, and reduces the cost of electronic equipment and Operator's operating costs.

基于图8和图9所示的实施例,本申请实施例还提供一种签约数据的下载方法,应用于内置eSIM的电子设备,如图11所示,该方法可以包括:Based on the embodiments shown in FIG. 8 and FIG. 9, this embodiment of the present application also provides a method for downloading subscription data, which is applied to electronic devices with built-in eSIM. As shown in FIG. 11, the method may include:

步骤1101:开机后启动运营商网络搜索;Step 1101: Start operator network search after booting;

步骤1102:如果搜索到运营商网络,获取运营商网络的运营商网络标识;Step 1102: If the operator network is found, obtain the operator network identifier of the operator network;

步骤1103:如果获取到的运营商网络标识与预设的目标运营商网络标识一致,根据电子设备内置的eSIM的标识信息从目标下载服务器地址下载eSIM所需的Profile;目标下载服务器地址是目标运营商的下载服务器地址。Step 1103: If the obtained operator network identifier is consistent with the preset target operator network identifier, download the profile required by the eSIM from the address of the target download server according to the identification information of the eSIM built in the electronic device; the address of the target download server is the address of the target operator The provider's download server address.

可选地,步骤1103可以包括:向目标下载服务器地址指示的下载服务器发送签约数据下载请求消息,签约数据下载请求消息中包括电子设备内置的eSIM的标识信息;接收下载服务器发送的标识信息对应的Profile,Profile在下载服务器根据标识信息查找到对应的Profile时发送。Optionally, step 1103 may include: sending a subscription data download request message to the download server indicated by the address of the target download server, where the subscription data download request message includes the identification information of the eSIM built in the electronic device; receiving the eSIM corresponding to the identification information sent by the download server Profile, the profile is sent when the download server finds the corresponding profile according to the identification information.

可选地,步骤1103可以包括:向目标下载服务器地址指示的下载服务器发送签约数据下载请求消息,签约数据下载请求消息中包括电子设备内置的eSIM的标识信息;接收下载服务器发送的签约数据请求失败消息,签约数据请求失败消息在下载服务器根据标识信息未查找到对应的Profile时发送。Optionally, step 1103 may include: sending a subscription data download request message to the download server indicated by the address of the target download server, the subscription data download request message including the identification information of the eSIM built in the electronic device; failing to receive the subscription data request sent by the download server message, the subscription data request failure message is sent when the download server fails to find the corresponding Profile according to the identification information.

图11所示的方法中,电子设备预设需要搜索的目标运营商网络,在电子设备开机后立即搜索目标运营商网络、进行Profile下载和使用,相对于图10所示的方法,简化电子设备多次尝试查找其他非目标运营商网络对应的下载服务器地址的过程,进一步简化电子设备的Profile下载流程,提升用户的Profile下载体验。In the method shown in FIG. 11 , the electronic device presets the target operator network to be searched, searches the target operator network immediately after the electronic device is turned on, and downloads and uses the Profile. Compared with the method shown in FIG. 10 , the electronic device is simplified. The process of repeatedly trying to find the download server addresses corresponding to other non-target operator networks further simplifies the profile download process of electronic devices and improves the user's profile download experience.

可以理解的是,上述实施例中的部分或全部步骤骤或操作仅是示例,本申请实施例还可以执行其它操作或者各种操作的变形。此外,各个步骤可以按照上述实施例呈现的不同的顺序来执行,并且有可能并非要执行上述实施例中的全部操作。It can be understood that some or all of the steps or operations in the foregoing embodiments are only examples, and other operations or modifications of various operations may also be performed in the embodiments of the present application. In addition, various steps may be performed in different orders presented in the above embodiments, and it may not be necessary to perform all operations in the above embodiments.

图12为本申请签约数据的下载装置一个实施例的结构示意图,可以应用于内置eSIM的电子设备,如图12所示,该装置120可以包括:FIG. 12 is a schematic structural diagram of an embodiment of an apparatus for downloading contract data in this application, which can be applied to electronic devices with built-in eSIM. As shown in FIG. 12, the apparatus 120 may include:

搜索单元121,用于开机后启动运营商网络搜索;The search unit 121 is used to start the operator's network search after booting;

获取单元122,用于如果搜索到运营商网络,获取运营商网络的运营商网络标识;The acquiring unit 122 is configured to acquire the operator network identifier of the operator network if the operator network is found;

查找单元123,用于从预设的运营商网络标识与下载服务器地址之间的对应关系中查找获取的运营商网络标识对应的下载服务器地址;A search unit 123, configured to search for the obtained download server address corresponding to the operator network identifier from the preset correspondence between the operator network identifier and the download server address;

下载单元124,用于如果查找到获取的运营商网络标识对应的下载服务器地址,根据电子设备内置的eSIM的标识信息从查找到的下载服务器地址下载eSIM所需的Profile。The download unit 124 is configured to download the profile required by the eSIM from the found download server address according to the identification information of the eSIM built in the electronic device, if the download server address corresponding to the obtained operator network identifier is found.

可选地,下载单元124具体可以用于:向查找到的下载服务器地址指示的下载服务器发送签约数据下载请求消息,签约数据下载请求消息中包括电子设备内置的eSIM的标识信息;接收下载服务器发送的标识信息对应的Profile,Profile在下载服务器根据标识信息查找到对应的Profile时发送。Optionally, the download unit 124 may be specifically configured to: send a subscription data download request message to the download server indicated by the found download server address, where the subscription data download request message includes the identification information of the eSIM built in the electronic device; The Profile corresponding to the identification information, and the Profile is sent when the download server finds the corresponding Profile according to the identification information.

可选地,下载单元124具体可以用于:向查找到的下载服务器地址指示的下载服务器发送签约数据下载请求消息,签约数据下载请求消息中包括电子设备内置的eSIM的标识信息;接收下载服务器发送的签约数据请求失败消息,签约数据请求失败消息在下载服务器根据标识信息未查找到对应的Profile时发送。Optionally, the download unit 124 may be specifically configured to: send a subscription data download request message to the download server indicated by the found download server address, where the subscription data download request message includes the identification information of the eSIM built in the electronic device; The subscription data request failure message of the subscription data request failure message is sent when the download server fails to find the corresponding Profile according to the identification information.

可选地,获取单元122和查找单元123之间还可以包括:Optionally, between the obtaining unit 122 and the searching unit 123 may also include:

判断单元,用于判断获取单元122获取到的运营商网络标识与预设的目标运营商网络标识一致。The judging unit is configured to judge that the operator network identifier acquired by the acquiring unit 122 is consistent with the preset target operator network identifier.

图13为本申请签约数据的下载装置另一个实施例的结构示意图,可以应用于内置eSIM的电子设备,如图13所示,该装置130可以包括:Figure 13 is a schematic structural diagram of another embodiment of the device for downloading subscription data in this application, which can be applied to electronic devices with built-in eSIM, as shown in Figure 13, the device 130 may include:

搜索单元131,用于开机后启动运营商网络搜索;The search unit 131 is used to start the operator's network search after booting;

获取单元132,用于如果搜索到运营商网络,获取运营商网络的运营商网络标识;The acquiring unit 132 is configured to acquire the operator network identifier of the operator network if the operator network is found;

下载单元133,用于如果获取到的运营商网络标识与预设的目标运营商网络标识一致,根据电子设备内置的eSIM的标识信息从目标下载服务器地址下载eSIM所需的Profile;目标下载服务器地址是目标运营商的下载服务器地址。The download unit 133 is used to download the Profile required by the eSIM from the target download server address according to the identification information of the built-in eSIM of the electronic device if the obtained operator network identification is consistent with the preset target operator network identification; the target download server address is the download server address of the target operator.

可选地,下载单元133具体可以用于:向目标下载服务器地址指示的下载服务器发送签约数据下载请求消息,签约数据下载请求消息中包括电子设备内置的eSIM的标识信息;接收下载服务器发送的标识信息对应的Profile,Profile在下载服务器根据标识信息查找到对应的Profile时发送。Optionally, the download unit 133 may be specifically configured to: send a subscription data download request message to the download server indicated by the target download server address, where the subscription data download request message includes the identification information of the eSIM built in the electronic device; receive the identification information sent by the download server. The profile corresponding to the information, and the profile is sent when the download server finds the corresponding profile according to the identification information.

可选地,下载单元133具体可以用于:向目标下载服务器地址指示的下载服务器发送签约数据下载请求消息,签约数据下载请求消息中包括电子设备内置的eSIM的标识信息;接收下载服务器发送的签约数据请求失败消息,签约数据请求失败消息在下载服务器根据标识信息未查找到对应的Profile时发送。Optionally, the download unit 133 may be specifically configured to: send a subscription data download request message to the download server indicated by the target download server address, where the subscription data download request message includes the identification information of the eSIM built in the electronic device; receive the subscription data sent by the download server. The data request failure message, the subscription data request failure message is sent when the download server fails to find the corresponding Profile according to the identification information.

图12~13所示实施例提供的装置可用于执行本申请图7~图11所示方法实施例的技术方案,其实现原理和技术效果可以进一步参考方法实施例中的相关描述。The devices provided by the embodiments shown in Figures 12 to 13 can be used to implement the technical solutions of the method embodiments shown in Figures 7 to 11 of this application, and the implementation principles and technical effects can further refer to the relevant descriptions in the method embodiments.

应理解以上图12~13所示装置的各个单元的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。且这些单元可以全部以软件通过处理元件调用的形式实现;也可以全部以硬件的形式实现;还可以部分单元以软件通过处理元件调用的形式实现,部分单元通过硬件的形式实现。例如,获取单元可以为单独设立的处理元件,也可以集成在电子设备的某一个芯片中实现。其它单元的实现与之类似。此外这些单元全部或部分可以集成在一起,也可以独立实现。在实现过程中,上述方法的各步骤或以上各个单元可以通过处理器元件中的硬件的集成逻辑电路或者软件形式的指令完成。It should be understood that the division of each unit of the device shown in Figures 12-13 above is only a division of logical functions, and may be fully or partially integrated into one physical entity or physically separated during actual implementation. And these units can be implemented in the form of software calling through the processing element; all can be implemented in the form of hardware; some units can also be implemented in the form of software calling through the processing element, and some units can be implemented in the form of hardware. For example, the acquiring unit may be a separate processing element, or may be integrated into a certain chip of the electronic device. The implementation of other units is similar. In addition, all or part of these units can be integrated together, or implemented independently. In the implementation process, each step of the above-mentioned method or each of the above-mentioned units can be completed by an integrated logic circuit of hardware in the processor element or an instruction in the form of software.

本申请实施例还提供一种电子设备,包括:The embodiment of the present application also provides an electronic device, including:

eSIM,一个或多个处理器;存储器;以及一个或多个计算机程序,其中一个或多个计算机程序被存储在存储器中,一个或多个计算机程序包括指令,当指令被设备执行时,使得设备执行图7~图11所示的方法。eSIM, one or more processors; memory; and one or more computer programs, where the one or more computer programs are stored in the memory, the one or more computer programs including instructions that, when executed by the device, cause the device Execute the methods shown in FIGS. 7 to 11 .

本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行本申请图7~图11所示实施例提供的方法。The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program. When it is run on a computer, the computer executes the program provided by the embodiments shown in FIGS. 7 to 11 of the present application. method.

本申请实施例还提供一种计算机程序产品,该计算机程序产品包括计算机程序,当其在计算机上运行时,使得计算机执行本申请图7~图11所示实施例提供的方法。The embodiment of the present application also provides a computer program product, the computer program product includes a computer program, and when it is run on a computer, the computer executes the method provided in the embodiments shown in FIGS. 7 to 11 of the present application.

本申请实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示单独存在A、同时存在A和B、单独存在B的情况。其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项”及其类似表达,是指的这些项中的任意组合,包括单项或复数项的任意组合。例如,a,b和c中的至少一项可以表示:a,b,c,a和b,a和c,b和c或a和b和c,其中a,b,c可以是单个,也可以是多个。In the embodiments of the present application, "at least one" means one or more, and "multiple" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three kinds of relationships, for example, A and/or B may indicate that A exists alone, A and B exist simultaneously, or B exists alone. Among them, A and B can be singular or plural. The character "/" generally indicates that the contextual objects are an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, and c can represent: a, b, c, a and b, a and c, b and c or a and b and c, where a, b, c can be single, or Can be multiple.

本领域普通技术人员可以意识到,本文中公开的实施例中描述的各单元及算法步骤,能够以电子硬件、计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can appreciate that each unit and algorithm steps described in the embodiments disclosed herein can be realized by a combination of electronic hardware, computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的几个实施例中,任一功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory;以下简称:ROM)、随机存取存储器(Random Access Memory;以下简称:RAM)、磁碟或者光盘等各种可以存储程序代码的介质。In several embodiments provided in this application, if any function is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory; hereinafter referred to as ROM), random access memory (Random Access Memory; hereinafter referred to as RAM), magnetic disk or optical disc, etc. A medium on which program code can be stored.

以上所述,仅为本申请的具体实施方式,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。本申请的保护范围应以所述权利要求的保护范围为准。The foregoing is only a specific implementation of the present application. Any person skilled in the art within the technical scope disclosed in the present application can easily think of changes or substitutions, which should be covered by the protection scope of the present application. The protection scope of the present application shall be based on the protection scope of the claims.

Claims (11)

1.一种签约数据的下载方法,应用于内置嵌入式用户识别模块eSIM的电子设备,其特征在于,包括:1. A method for downloading contract data, applied to electronic equipment with built-in embedded subscriber identification module eSIM, characterized in that, comprising: 开机后启动运营商网络搜索;Start the carrier network search after booting; 如果搜索到运营商网络,获取所述运营商网络的运营商网络标识;If an operator network is found, obtain the operator network identifier of the operator network; 从预设的运营商网络标识与下载服务器地址之间的对应关系中查找获取的所述运营商网络标识对应的下载服务器地址;所述预设的运营商网络标识与下载服务器地址之间的对应关系存储于所述电子设备中;所述下载服务器地址是提供签约数据下载的服务器的地址;Find the obtained download server address corresponding to the operator network identifier from the corresponding relationship between the preset operator network identifier and the download server address; the correspondence between the preset operator network identifier and the download server address The relationship is stored in the electronic device; the download server address is the address of the server providing subscription data download; 如果查找到获取的所述运营商网络标识对应的下载服务器地址,根据所述电子设备内置的eSIM的标识信息从查找到的下载服务器地址下载所述eSIM所需的签约数据。If the obtained download server address corresponding to the operator network identifier is found, download the subscription data required by the eSIM from the found download server address according to the identification information of the built-in eSIM of the electronic device. 2.根据权利要求1所述的方法,其特征在于,所述根据所述电子设备内置的eSIM的标识信息从查找到的下载服务器地址下载所述eSIM所需的签约数据,包括:2. The method according to claim 1, wherein the downloading of the subscription data required by the eSIM from the found download server address according to the identification information of the eSIM built in the electronic device includes: 向查找到的下载服务器地址指示的下载服务器发送签约数据下载请求消息,所述签约数据下载请求消息中包括所述电子设备内置的eSIM的标识信息;Sending a subscription data download request message to the download server indicated by the found download server address, the subscription data download request message including the identification information of the eSIM built in the electronic device; 接收所述下载服务器发送的所述标识信息对应的签约数据,所述签约数据在所述下载服务器根据所述标识信息查找到对应的签约数据时发送。receiving contract data corresponding to the identification information sent by the download server, where the contract data is sent when the download server finds corresponding contract data according to the identification information. 3.根据权利要求1所述的方法,其特征在于,所述根据所述电子设备内置的eSIM的标识信息从查找到的下载服务器地址下载所述eSIM所需的签约数据,包括:3. The method according to claim 1, wherein the downloading of the subscription data required by the eSIM from the found download server address according to the identification information of the eSIM built in the electronic device includes: 向查找到的下载服务器地址指示的下载服务器发送签约数据下载请求消息,所述签约数据下载请求消息中包括所述电子设备内置的eSIM的标识信息;Sending a subscription data download request message to the download server indicated by the found download server address, the subscription data download request message including the identification information of the eSIM built in the electronic device; 接收所述下载服务器发送的签约数据请求失败消息,所述签约数据请求失败消息在所述下载服务器根据所述标识信息未查找到对应的签约数据时发送。receiving a subscription data request failure message sent by the download server, where the subscription data request failure message is sent when the download server fails to find corresponding subscription data according to the identification information. 4.根据权利要求1至3任一项所述的方法,其特征在于,所述从预设的运营商网络标识与下载服务器地址之间的对应关系中查找获取的所述运营商网络标识对应的下载服务器地址之前,还包括:4. The method according to any one of claims 1 to 3, characterized in that, the operator network identifier obtained from the preset correspondence between the operator network identifier and the download server address corresponds to Before the download server address, also include: 判断获取到的所述运营商网络标识与预设的目标运营商网络标识一致。It is judged that the obtained operator network identifier is consistent with the preset target operator network identifier. 5.一种签约数据的下载方法,应用于内置嵌入式用户识别模块eSIM的电子设备,其特征在于,包括:5. A method for downloading subscription data, applied to an electronic device with a built-in embedded subscriber identification module eSIM, characterized in that, comprising: 开机后启动运营商网络搜索;Start the carrier network search after booting; 如果搜索到运营商网络,获取所述运营商网络的运营商网络标识;If an operator network is found, obtain the operator network identifier of the operator network; 如果获取到的所述运营商网络标识与预设的目标运营商网络标识一致,根据所述电子设备内置的eSIM的标识信息从目标下载服务器地址下载所述eSIM所需的签约数据;所述目标下载服务器地址是所述目标运营商的下载服务器地址;所述目标运营商网络标识和所述目标下载服务器地址存储于所述电子设备中;所述下载服务器地址是提供签约数据下载的服务器的地址。If the obtained operator network identifier is consistent with the preset target operator network identifier, download the subscription data required by the eSIM from the address of the target download server according to the identification information of the eSIM built in the electronic device; the target The download server address is the download server address of the target operator; the network identifier of the target operator and the target download server address are stored in the electronic device; the download server address is the address of the server providing subscription data download . 6.根据权利要求5所述的方法,其特征在于,所述根据所述电子设备内置的eSIM的标识信息从目标下载服务器地址下载所述eSIM所需的签约数据,包括:6. The method according to claim 5, wherein the downloading of the subscription data required by the eSIM from the target download server address according to the identification information of the eSIM built in the electronic device comprises: 向所述目标下载服务器地址指示的下载服务器发送签约数据下载请求消息,所述签约数据下载请求消息中包括所述电子设备内置的eSIM的标识信息;Sending a subscription data download request message to the download server indicated by the address of the target download server, where the subscription data download request message includes the identification information of the eSIM built in the electronic device; 接收所述下载服务器发送的所述标识信息对应的签约数据,所述签约数据在所述下载服务器根据所述标识信息查找到对应的签约数据时发送。receiving contract data corresponding to the identification information sent by the download server, where the contract data is sent when the download server finds corresponding contract data according to the identification information. 7.根据权利要求5所述的方法,其特征在于,所述根据所述电子设备内置的eSIM的标识信息从目标下载服务器地址下载所述eSIM所需的签约数据,包括:7. The method according to claim 5, wherein downloading the subscription data required by the eSIM from the target download server address according to the identification information of the eSIM built in the electronic device comprises: 向所述目标下载服务器地址指示的下载服务器发送签约数据下载请求消息,所述签约数据下载请求消息中包括所述电子设备内置的eSIM的标识信息;Sending a subscription data download request message to the download server indicated by the address of the target download server, where the subscription data download request message includes the identification information of the eSIM built in the electronic device; 接收所述下载服务器发送的签约数据请求失败消息,所述签约数据请求失败消息在所述下载服务器根据所述标识信息未查找到对应的签约数据时发送。receiving a subscription data request failure message sent by the download server, where the subscription data request failure message is sent when the download server fails to find corresponding subscription data according to the identification information. 8.一种电子设备,其特征在于,包括:8. An electronic device, characterized in that it comprises: 嵌入式通用集成电路卡eSIM,一个或多个处理器;存储器;以及一个或多个计算机程序,其中所述一个或多个计算机程序被存储在所述存储器中,所述一个或多个计算机程序包括指令,当所述指令被所述设备执行时,使得所述设备执行以下步骤:Embedded universal integrated circuit card eSIM, one or more processors; memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs including instructions that, when executed by the device, cause the device to perform the following steps: 开机后启动运营商网络搜索;Start the carrier network search after booting; 如果搜索到运营商网络,获取所述运营商网络的运营商网络标识;If an operator network is found, obtain the operator network identifier of the operator network; 从预设的运营商网络标识与下载服务器地址之间的对应关系中查找获取的所述运营商网络标识对应的下载服务器地址;所述预设的运营商网络标识与下载服务器地址之间的对应关系存储于所述电子设备中;所述下载服务器地址是提供签约数据下载的服务器的地址Find the obtained download server address corresponding to the operator network identifier from the corresponding relationship between the preset operator network identifier and the download server address; the correspondence between the preset operator network identifier and the download server address The relationship is stored in the electronic device; the download server address is the address of the server providing subscription data download 如果查找到获取的所述运营商网络标识对应的下载服务器地址,根据所述电子设备内置的eSIM的标识信息从查找到的下载服务器地址下载所述eSIM所需的签约数据。If the obtained download server address corresponding to the operator network identifier is found, download the subscription data required by the eSIM from the found download server address according to the identification information of the built-in eSIM of the electronic device. 9.一种电子设备,其特征在于,包括:9. An electronic device, characterized in that it comprises: 嵌入式通用集成电路卡eSIM,一个或多个处理器;存储器;以及一个或多个计算机程序,其中所述一个或多个计算机程序被存储在所述存储器中,所述一个或多个计算机程序包括指令,当所述指令被所述设备执行时,使得所述设备执行以下步骤:Embedded universal integrated circuit card eSIM, one or more processors; memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs including instructions that, when executed by the device, cause the device to perform the following steps: 开机后启动运营商网络搜索;Start the carrier network search after booting; 如果搜索到运营商网络,获取所述运营商网络的运营商网络标识;If an operator network is found, obtain the operator network identifier of the operator network; 如果获取到的所述运营商网络标识与预设的目标运营商网络标识一致,根据所述电子设备内置的eSIM的标识信息从目标下载服务器地址下载所述eSIM所需的签约数据;所述目标下载服务器地址是所述目标运营商的下载服务器地址;所述目标运营商网络标识和所述目标下载服务器地址存储于所述电子设备中;所述下载服务器地址是提供签约数据下载的服务器的地址。If the obtained operator network identifier is consistent with the preset target operator network identifier, download the subscription data required by the eSIM from the address of the target download server according to the identification information of the eSIM built in the electronic device; the target The download server address is the download server address of the target operator; the network identifier of the target operator and the target download server address are stored in the electronic device; the download server address is the address of the server providing subscription data download . 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行如权利要求1至4任一项所述的方法。10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, and when it is run on a computer, the computer executes the program according to any one of claims 1 to 4. method. 11.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行如权利要求5至7任一项所述的方法。11. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, and when it is run on a computer, the computer executes the program according to any one of claims 5 to 7. method.
CN202010694678.XA 2020-07-17 2020-07-17 Download method and electronic device of contract data Active CN113950045B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010694678.XA CN113950045B (en) 2020-07-17 2020-07-17 Download method and electronic device of contract data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010694678.XA CN113950045B (en) 2020-07-17 2020-07-17 Download method and electronic device of contract data

Publications (2)

Publication Number Publication Date
CN113950045A CN113950045A (en) 2022-01-18
CN113950045B true CN113950045B (en) 2022-11-11

Family

ID=79326790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010694678.XA Active CN113950045B (en) 2020-07-17 2020-07-17 Download method and electronic device of contract data

Country Status (1)

Country Link
CN (1) CN113950045B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116980876A (en) * 2022-04-22 2023-10-31 维沃移动通信有限公司 Signing method, signing device, communication equipment, internet of things equipment and network element

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106535167A (en) * 2016-11-28 2017-03-22 北京小米移动软件有限公司 Method, apparatus and device for processing long term evolution voice service
CN108668270A (en) * 2017-04-01 2018-10-16 展讯通信(上海)有限公司 Burn chucking method, device and user equipment
CN108810123A (en) * 2018-06-01 2018-11-13 中国联合网络通信集团有限公司 The method and apparatus for opening mobile cellular network service
WO2019178869A1 (en) * 2018-03-23 2019-09-26 华为技术有限公司 Method for opening esim card account, and terminal
EP3651408A1 (en) * 2015-11-23 2020-05-13 Orange Method for anonymous identification of a security module

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3651408A1 (en) * 2015-11-23 2020-05-13 Orange Method for anonymous identification of a security module
CN106535167A (en) * 2016-11-28 2017-03-22 北京小米移动软件有限公司 Method, apparatus and device for processing long term evolution voice service
CN108668270A (en) * 2017-04-01 2018-10-16 展讯通信(上海)有限公司 Burn chucking method, device and user equipment
WO2019178869A1 (en) * 2018-03-23 2019-09-26 华为技术有限公司 Method for opening esim card account, and terminal
CN108810123A (en) * 2018-06-01 2018-11-13 中国联合网络通信集团有限公司 The method and apparatus for opening mobile cellular network service

Also Published As

Publication number Publication date
CN113950045A (en) 2022-01-18

Similar Documents

Publication Publication Date Title
CN114816210B (en) A full-screen display method and device for a mobile terminal
CN111752443B (en) Method, related device and system for controlling page of display equipment
US11385857B2 (en) Method for displaying UI component and electronic device
CN114397979B (en) Application display method and electronic equipment
WO2020000448A1 (en) Flexible screen display method and terminal
CN114125130B (en) Method for controlling communication service state, terminal device and readable storage medium
WO2020088633A1 (en) Payment method, device, and user equipment unit
CN113691842A (en) A cross-device content projection method and electronic device
US11843712B2 (en) Address book-based device discovery method, audio and video communication method, and electronic device
US20230070358A1 (en) File Sharing Method, System, and Related Device
US12032938B2 (en) Plug-in installation method, apparatus, and storage medium
CN113821767A (en) Application program authority management method and device and electronic equipment
US20240370537A1 (en) Cross-Device Authentication Method and Apparatus
CN113950045B (en) Download method and electronic device of contract data
CN114064160A (en) Application icon layout method and related device
CN116048629B (en) System service switching method and control device, electronic device and storage medium
CN111339513A (en) Data sharing method and device
WO2022242412A1 (en) Method for killing application, and related device
WO2023142869A1 (en) Application synchronization method and electronic device
CN114338642B (en) File transmission method and electronic equipment
CN113645595B (en) Equipment interaction method and device
CN117707562B (en) Parameter updating method and terminal device
CN114168115B (en) Communication system, application downloading method and device
CN118646821A (en) Card display method and electronic device
CN116382728A (en) Propagation name display method and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Honor Terminal Co.,Ltd.

Country or region after: China

Address before: 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong

Patentee before: Honor Device Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address