CN105813006B - A kind of information upgrade method, terminal device, network management device and system - Google Patents
A kind of information upgrade method, terminal device, network management device and system Download PDFInfo
- Publication number
- CN105813006B CN105813006B CN201410843833.4A CN201410843833A CN105813006B CN 105813006 B CN105813006 B CN 105813006B CN 201410843833 A CN201410843833 A CN 201410843833A CN 105813006 B CN105813006 B CN 105813006B
- Authority
- CN
- China
- Prior art keywords
- upgrade
- upgrade package
- information
- terminal device
- operating system
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000012795 verification Methods 0.000 claims description 162
- 238000004891 communication Methods 0.000 claims description 31
- 238000004364 calculation method Methods 0.000 claims description 22
- 239000002699 waste material Substances 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000007774 longterm Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
- Stored Programmes (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信领域的信息管理技术,尤其涉及一种信息升级方法、终端设备、网络管理设备及系统。The present invention relates to information management technology in the communication field, in particular to an information upgrade method, terminal equipment, network management equipment and system.
背景技术Background technique
目前,用户使用移动通信的相关业务,需要通过客户识别模块SIM(SubscriberIdentity Module)卡来支持通信业务。随着移动网络的不断升级,当用户需要使用升级之后的移动网络所对应的SIM卡才能够继续使用移动网络,例如,由于长期演进(LTE,LongTerm Evolution)网络要求终端设备中必须使用全球用户识别卡(USIM,UniversalSubscriber Identity Module)卡才能够使用LTE网络。但是,这样随着移动网络的升级更换对应的SIM卡的做法,给用户使用移动网络带来不便的同时,也造成了很大程度上的资源浪费。At present, a user needs to use a Subscriber Identity Module (SIM) card to support the communication service when using a related service of mobile communication. With the continuous upgrade of the mobile network, users can continue to use the mobile network only when they need to use the SIM card corresponding to the upgraded mobile network. For example, because the Long Term Evolution (LTE, Long Term Evolution) network requires that the terminal device must use the global subscriber identity Only a card (USIM, Universal Subscriber Identity Module) card can use the LTE network. However, the practice of replacing the corresponding SIM card with the upgrade of the mobile network brings inconvenience to the user in using the mobile network, and also causes a large waste of resources.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明的目的在于提供一种信息升级方法、终端设备、网络管理设备及系统,能至少解决现有技术存在的上述问题。In view of this, the purpose of the present invention is to provide an information upgrade method, a terminal device, a network management device and a system, which can at least solve the above problems existing in the prior art.
为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, the technical scheme of the present invention is achieved in this way:
本发明实施例提供了一种信息升级方法,应用于终端设备,所述方法包括:An embodiment of the present invention provides an information upgrade method, which is applied to a terminal device, and the method includes:
获取到所述终端设备中SIM卡的标识信息;Obtain the identification information of the SIM card in the terminal device;
利用所述SIM卡的标识信息生成芯片操作系统升级请求;Utilize the identification information of the SIM card to generate a chip operating system upgrade request;
发送所述芯片操作系统升级请求至网络管理设备,使得所述网络管理设备根据所述芯片操作系统升级请求获取对应的升级包;sending the chip operating system upgrade request to a network management device, so that the network management device obtains a corresponding upgrade package according to the chip operating system upgrade request;
接收到所述网络管理设备返回的升级包;receiving an upgrade package returned by the network management device;
利用所述升级包针对所述SIM卡的芯片操作系统进行升级。The chip operating system of the SIM card is upgraded by using the upgrade package.
上述方案中,所述利用所述升级包针对所述SIM卡的芯片操作系统进行升级,包括:In the above solution, the use of the upgrade package to upgrade the chip operating system of the SIM card includes:
根据所述升级包确定第一校验信息;determining the first verification information according to the upgrade package;
发送所述第一校验信息至所述网络管理设备,使得所述网络管理设备根据所述第一校验信息验证所述终端设备是否接收成功,当验证结果为接收成功时,返回验证成功的信息;Send the first verification information to the network management device, so that the network management device verifies whether the terminal device receives successfully according to the first verification information, and when the verification result is that the reception is successful, returns the verification success. information;
接收到所述网络管理设备返回的验证成功的信息后,根据所述升级包对所述SIM卡进行升级。After receiving the successful verification information returned by the network management device, the SIM card is upgraded according to the upgrade package.
上述方案中,所述根据所述升级包获取到第一校验信息,包括:In the above solution, the obtaining the first verification information according to the upgrade package includes:
利用密钥信息针对所述升级包进行校验计算,得到所述第一校验信息。The verification calculation is performed on the upgrade package by using the key information to obtain the first verification information.
上述方案中,发送所述芯片操作系统升级请求至网络管理设备,包括:In the above solution, sending the chip operating system upgrade request to the network management device includes:
接收到所述网络管理设备返回的升级包列表信息,所述升级包列表信息包括有至少一个升级包、以及所述升级包对应的版本;receiving the upgrade package list information returned by the network management device, where the upgrade package list information includes at least one upgrade package and a version corresponding to the upgrade package;
根据接收到的升级包列表信息选取升级包对应的版本,根据选取的所述升级包对应的版本向所述网络管理设备发出下载请求,使得所述网络管理设备根据所述芯片操作系统升级请求以及接收到的下载请求确定升级包。The version corresponding to the upgrade package is selected according to the received upgrade package list information, and a download request is sent to the network management device according to the selected version corresponding to the upgrade package, so that the network management device can upgrade the chip operating system according to the chip operating system upgrade request and The received download request identifies the upgrade package.
本发明实施例提供了一种信息升级方法,应用于网络管理设备,所述方法包括:An embodiment of the present invention provides an information upgrade method, which is applied to a network management device, and the method includes:
接收到终端设备发来的芯片操作系统升级请求,所述芯片操作系统升级请求包括有所述终端设备中SIM卡的标识信息;receiving a chip operating system upgrade request sent by the terminal device, where the chip operating system upgrade request includes identification information of the SIM card in the terminal device;
根据所述芯片操作系统升级请求选取对应的升级包;Select a corresponding upgrade package according to the chip operating system upgrade request;
发送所述升级包至所述终端设备,使得所述终端设备根据所述升级包针对所述SIM卡的芯片操作系统进行升级。Sending the upgrade package to the terminal device, so that the terminal device upgrades the chip operating system of the SIM card according to the upgrade package.
上述方案中,发送所述升级包至所述终端设备之前,所述方法还包括:In the above solution, before sending the upgrade package to the terminal device, the method further includes:
根据所述终端设备中SIM卡的标识信息选取对应的密钥信息;Select corresponding key information according to the identification information of the SIM card in the terminal device;
根据所述密钥信息对所述升级包进行校验计算,得到第二校验信息。The upgrade package is verified and calculated according to the key information to obtain second verification information.
上述方案中,所述发送所述升级包至所述终端设备之后,所述方法还包括:In the above solution, after sending the upgrade package to the terminal device, the method further includes:
接收到所述终端设备发来的第一校验信息;receiving the first verification information sent by the terminal device;
利用所述第二校验信息与所述第一校验信息验证所述终端设备是否接收成功,当验证结果为接收成功时,向所述终端设备返回验证成功的信息,使得所述终端设备根据所述升级包对所述SIM卡进行升级。Use the second verification information and the first verification information to verify whether the terminal device receives successfully, and when the verification result is that the reception is successful, return the verification success information to the terminal device, so that the terminal device according to The upgrade package upgrades the SIM card.
上述方案中,所述根据所述芯片操作系统升级请求选取对应的升级包,包括:In the above solution, selecting a corresponding upgrade package according to the chip operating system upgrade request includes:
根据所述芯片操作系统升级请求确定对应的升级包列表信息,所述升级包列表信息包括有至少一个升级包、以及所述升级包对应的版本;Determine corresponding upgrade package list information according to the chip operating system upgrade request, where the upgrade package list information includes at least one upgrade package and a version corresponding to the upgrade package;
发送所述升级包列表信息至所述终端设备;sending the upgrade package list information to the terminal device;
接收到所述终端设备发来的下载请求之后,根据所述芯片操作系统升级请求以及接收到的下载请求选取对应的升级包。After receiving the download request sent by the terminal device, select a corresponding upgrade package according to the chip operating system upgrade request and the received download request.
本发明实施例还提供了一种终端设备,所述终端设备包括:An embodiment of the present invention further provides a terminal device, where the terminal device includes:
系统升级单元,用于获取到所述终端设备中SIM卡的标识信息;利用所述SIM卡的标识信息生成芯片操作系统升级请求;发送所述芯片操作系统升级请求至网络管理设备,使得所述网络管理设备根据所述芯片操作系统升级请求获取对应的升级包;接收到所述网络管理设备返回的升级包;A system upgrade unit, configured to acquire the identification information of the SIM card in the terminal device; use the identification information of the SIM card to generate a chip operating system upgrade request; send the chip operating system upgrade request to a network management device, so that the The network management device obtains a corresponding upgrade package according to the chip operating system upgrade request; and receives the upgrade package returned by the network management device;
SIM卡管理单元,用于利用所述升级包针对所述SIM卡的芯片操作系统进行升级。The SIM card management unit is configured to use the upgrade package to upgrade the chip operating system of the SIM card.
上述方案中,所述SIM卡管理单元,具体用于根据所述升级包确定第一校验信息;发送所述第一校验信息至所述网络管理设备,使得所述网络管理设备根据所述第一校验信息验证所述终端设备是否接收成功,当验证结果为接收成功时,返回验证成功的信息;接收到所述网络管理设备返回的验证成功的信息后,根据所述升级包对所述SIM卡进行升级。In the above solution, the SIM card management unit is specifically configured to determine the first verification information according to the upgrade package; send the first verification information to the network management device, so that the network management device can determine the first verification information according to the The first verification information verifies whether the terminal device has received successfully, and when the verification result is that the reception is successful, returns the verification success information; after receiving the verification success information returned by the network management device, according to the upgrade package upgrade the SIM card.
上述方案中,所述SIM卡管理单元,具体用于利用密钥信息针对所述升级包进行校验计算,得到所述第一校验信息。In the above solution, the SIM card management unit is specifically configured to use the key information to perform verification calculation on the upgrade package to obtain the first verification information.
上述方案中,所述系统升级单元,具体用于接收到所述网络管理设备返回的升级包列表信息;根据接收到的升级包列表信息选取升级包对应的版本,根据选取的所述升级包对应的版本向所述网络管理设备发出下载请求,所述升级包列表信息包括有至少一个升级包、以及所述升级包对应的版本。In the above solution, the system upgrade unit is specifically configured to receive the upgrade package list information returned by the network management device; select the version corresponding to the upgrade package according to the received upgrade package list information, and select the corresponding version of the upgrade package according to the selected upgrade package. The version of the upgrade package sends a download request to the network management device, and the upgrade package list information includes at least one upgrade package and the version corresponding to the upgrade package.
本发明实施例提供了一种网络管理设备,所述网络管理设备包括:An embodiment of the present invention provides a network management device, and the network management device includes:
通信单元,用于接收到终端设备发来的芯片操作系统升级请求,所述芯片操作系统升级请求包括有所述终端设备中SIM卡的标识信息;发送所述升级包至所述终端设备,使得所述终端设备根据所述升级包针对所述SIM卡的芯片操作系统进行升级;A communication unit, configured to receive a chip operating system upgrade request sent by a terminal device, where the chip operating system upgrade request includes the identification information of the SIM card in the terminal device; send the upgrade package to the terminal device, so that The terminal device is upgraded for the chip operating system of the SIM card according to the upgrade package;
处理单元,用于根据所述芯片操作系统升级请求选取对应的升级包。The processing unit is configured to select a corresponding upgrade package according to the chip operating system upgrade request.
上述方案中,所述网络管理设备还包括:In the above solution, the network management device further includes:
校验单元,用于根据所述终端设备中SIM卡的标识信息选取对应的密钥信息;根据所述密钥信息对所述升级包进行校验计算,得到第二校验信息。The verification unit is configured to select corresponding key information according to the identification information of the SIM card in the terminal device; perform verification calculation on the upgrade package according to the key information to obtain second verification information.
上述方案中,所述通信单元,还用于接收到所述终端设备发来的第一校验信息;In the above solution, the communication unit is further configured to receive the first verification information sent by the terminal device;
相应的,所述校验单元,还用于利用所述第二校验信息与所述第一校验信息验证所述终端设备是否接收成功,当验证结果为接收成功时,通过所述通信单元向所述终端设备返回验证成功的信息。Correspondingly, the verification unit is further configured to use the second verification information and the first verification information to verify whether the terminal device has received successfully, and when the verification result is that the reception is successful, pass the communication unit. Return the information that the verification is successful to the terminal device.
上述方案中,所述处理单元,还用于根据所述芯片操作系统升级请求确定对应的升级包列表信息,所述升级包列表信息包括有至少一个升级包、以及所述升级包对应的版本;发送所述升级包列表信息至所述终端设备;接收到所述终端设备发来的下载请求之后,根据所述芯片操作系统升级请求以及接收到的下载请求选取对应的升级包。In the above solution, the processing unit is further configured to determine corresponding upgrade package list information according to the chip operating system upgrade request, where the upgrade package list information includes at least one upgrade package and a version corresponding to the upgrade package; Send the upgrade package list information to the terminal device; after receiving the download request sent by the terminal device, select a corresponding upgrade package according to the chip operating system upgrade request and the received download request.
本发明实施例提供了一种信息升级系统,所述系统包括:An embodiment of the present invention provides an information upgrade system, the system includes:
终端设备,用于获取到SIM卡的标识信息;利用所述SIM卡的标识信息生成芯片操作系统升级请求;发送所述芯片操作系统升级请求至网络管理设备,接收到所述网络管理设备返回的升级包;利用所述升级包针对所述SIM卡的芯片操作系统进行升级;The terminal device is used to obtain the identification information of the SIM card; use the identification information of the SIM card to generate a chip operating system upgrade request; send the chip operating system upgrade request to the network management device, and receive the returned information from the network management device. An upgrade package; using the upgrade package to upgrade the chip operating system of the SIM card;
网络管理设备,用于根据所述芯片操作系统升级请求获取对应的升级包;发送所述升级包至所述终端设备。A network management device, configured to acquire a corresponding upgrade package according to the chip operating system upgrade request; and send the upgrade package to the terminal device.
本发明所提供的信息升级方法、终端设备、网络管理设备及系统,能由终端设备根据SIM卡的标识信息生成芯片操作系统升级请求,并发送所述芯片操作系统升级请求至网络管理设备处,从网络管理设备处获取到升级包,并利用升级包对芯片操作系统进行升级操作。如此,就能够避免随着移动网络的升级更换对应的SIM卡,给用户使用移动网络带来不便的问题,提升了用户使用移动网络的便利性,避免了资源浪费。The information upgrade method, terminal device, network management device and system provided by the present invention can generate a chip operating system upgrade request by the terminal device according to the identification information of the SIM card, and send the chip operating system upgrade request to the network management device, Obtain the upgrade package from the network management device, and use the upgrade package to upgrade the chip operating system. In this way, it is possible to avoid the problem of inconvenience for the user to use the mobile network by replacing the corresponding SIM card with the upgrade of the mobile network, improve the convenience of the user to use the mobile network, and avoid the waste of resources.
附图说明Description of drawings
图1为本发明实施例信息升级方法流程示意图一;FIG. 1 is a schematic flowchart 1 of an information upgrade method according to an embodiment of the present invention;
图2为本发明实施例利用所述升级包针对操作系统进行升级流程示意图;FIG. 2 is a schematic diagram of an upgrade process for an operating system using the upgrade package according to an embodiment of the present invention;
图3为本发明实施例信息升级方法流程示意图二;3 is a second schematic flowchart of a method for updating information according to an embodiment of the present invention;
图4为本发明实施例终端设备组成结构示意图;FIG. 4 is a schematic diagram of a composition structure of a terminal device according to an embodiment of the present invention;
图5为本发明实施例网络管理设备组成结构示意图;FIG. 5 is a schematic structural diagram of a network management device according to an embodiment of the present invention;
图6为本发明实施例信息升级系统组成结构示意图;6 is a schematic structural diagram of the composition of an information upgrade system according to an embodiment of the present invention;
图7为本发明实施例系统组成工作示意图。FIG. 7 is a schematic diagram of the composition and operation of a system according to an embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图及具体实施例对本发明再作进一步详细的说明。The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
实施例一、Embodiment 1.
本实施例提供了一种信息升级方法,应用于终端设备,如图1所示,所述方法包括:This embodiment provides an information upgrade method, which is applied to a terminal device. As shown in FIG. 1 , the method includes:
步骤101:获取到所述终端设备中SIM卡的标识信息;Step 101: Obtain the identification information of the SIM card in the terminal device;
步骤102:利用所述SIM卡的标识信息生成芯片操作系统升级请求;Step 102: using the identification information of the SIM card to generate a chip operating system upgrade request;
步骤103:发送所述芯片操作系统升级请求至网络管理设备,使得所述网络管理设备根据所述芯片操作系统升级请求获取对应的升级包;Step 103: Send the chip operating system upgrade request to a network management device, so that the network management device obtains a corresponding upgrade package according to the chip operating system upgrade request;
步骤104:接收到所述网络管理设备返回的升级包;Step 104: Receive an upgrade package returned by the network management device;
步骤105:利用所述升级包针对所述SIM卡的芯片操作系统进行升级。Step 105: Use the upgrade package to upgrade the chip operating system of the SIM card.
这里,所述获取到所述终端设备中SIM卡的标识信息的实现方式可以包括:开启第一应用,检测到针对所述第一应用的第一操作,根据所述第一操作获取到所述终端设备的SIM卡的标识信息。Here, the implementation manner of obtaining the identification information of the SIM card in the terminal device may include: starting a first application, detecting a first operation for the first application, and obtaining the first operation according to the first operation. Identification information of the SIM card of the terminal device.
所述第一应用可以为根据实际情况设置于所述终端设备中的应用,当用户在终端设备中开启第一应用时,可以进入第一应用的操作界面。当用户通过第一应用的操作界面中选取升级SIM卡的芯片操作系统(COS,Chip Operating System)的选项时,获取SIM卡的标识信息。The first application may be an application set in the terminal device according to the actual situation, and when the user opens the first application in the terminal device, the user may enter an operation interface of the first application. When the user selects the option of upgrading the chip operating system (COS, Chip Operating System) of the SIM card through the operation interface of the first application, the identification information of the SIM card is acquired.
其中,所述SIM卡的标识信息可以包括以下至少一种:国际移动用户识别码(IMSI,International Mobile Subscriber Identification Number)、集成电路卡识别码(ICCID,Integrate Circuit Card IDentity);其中,ICCID为固化在SIM卡中的识别码。Wherein, the identification information of the SIM card may include at least one of the following: International Mobile Subscriber Identification Number (IMSI, International Mobile Subscriber Identification Number), Integrated Circuit Card Identification Number (ICCID, Integrate Circuit Card IDentity); wherein, ICCID is a solidified The identification code in the SIM card.
优选地,用户还可以通过终端设备选择所要下载的升级包,发送所述芯片操作系统升级请求至网络管理设备,包括:Preferably, the user can also select the upgrade package to be downloaded through the terminal device, and send the chip operating system upgrade request to the network management device, including:
接收到所述网络管理设备返回的升级包列表信息,所述升级包列表信息包括有至少一个升级包、以及所述升级包对应的版本;receiving the upgrade package list information returned by the network management device, where the upgrade package list information includes at least one upgrade package and a version corresponding to the upgrade package;
根据接收到的升级包列表信息选取升级包对应的版本,根据选取的所述升级包对应的版本向所述网络管理设备发出下载请求,使得所述网络管理设备根据所述芯片操作系统升级请求以及接收到的下载请求确定升级包。The version corresponding to the upgrade package is selected according to the received upgrade package list information, and a download request is sent to the network management device according to the selected version corresponding to the upgrade package, so that the network management device can upgrade the chip operating system according to the chip operating system upgrade request and The received download request identifies the upgrade package.
这里举出的示例为用户端选择所要下载的升级包,实际上还可以由网络管理设备端直接为终端设备的SIM卡选择高于所述SIM卡的芯片操作系统当前版本的升级包;比如:终端设备利用所述SIM卡的标识信息、以及SIM卡的芯片操作系统版本号生成芯片操作系统升级请求发送至网络管理设备;使得所述网络管理设备根据所述SIM卡的标识信息选取对应的升级包列表信息,再根据芯片操作系统版本号从所述升级包列表信息中选取高于所述芯片操作系统版本号的升级包。The example cited here is that the user terminal selects the upgrade package to be downloaded. In fact, the network management device side can also directly select an upgrade package higher than the current version of the chip operating system of the SIM card for the SIM card of the terminal device; such as: The terminal device uses the identification information of the SIM card and the version number of the chip operating system of the SIM card to generate a chip operating system upgrade request and send it to the network management device; so that the network management device selects a corresponding upgrade according to the identification information of the SIM card package list information, and then select an upgrade package higher than the chip operating system version number from the upgrade package list information according to the chip operating system version number.
所述密钥信息为根据实际情况预设在SIM卡中的密钥,可以为,当用户购买SIM卡之前,在每一个SIM卡中写入的一个或多个密钥。针对每一张SIM卡都会有特殊的密钥,具体生成密钥的方法可以为由SIM卡提供方使用专业的密钥生成设备针对每张SIM卡生成一个或多个密钥共同作为密钥信息。所述密钥除了在所述SIM卡中写入之外,所述密钥还会与所述SIM卡的标识信息关联之后保存在网络管理设备中。The key information is the key preset in the SIM card according to the actual situation, and may be one or more keys written in each SIM card before the user purchases the SIM card. There will be a special key for each SIM card. The specific key generation method can be for the SIM card provider to use a professional key generation device to generate one or more keys for each SIM card as key information. . In addition to being written in the SIM card, the key is also stored in the network management device after being associated with the identification information of the SIM card.
优选地,上述步骤105所述利用所述升级包针对所述SIM卡的芯片操作系统进行升级,如图2所示,具体包括:Preferably, in the above step 105, using the upgrade package to upgrade the chip operating system of the SIM card, as shown in FIG. 2, specifically includes:
步骤201:根据所述升级包确定第一校验信息;Step 201: Determine first verification information according to the upgrade package;
步骤202:发送所述第一校验信息至所述网络管理设备,使得所述网络管理设备根据所述第一校验信息验证所述终端设备是否接收成功,当验证结果为接收成功时,返回验证成功的信息;Step 202: Send the first verification information to the network management device, so that the network management device verifies whether the terminal device receives the reception successfully according to the first verification information, and when the verification result is that the reception is successful, return Information about successful verification;
步骤203:接收到所述网络管理设备返回的验证成功的信息后,根据所述升级包对所述SIM卡进行升级。Step 203: After receiving the successful verification information returned by the network management device, upgrade the SIM card according to the upgrade package.
其中,所述根据所述升级包获取到第一校验信息,包括:利用密钥信息针对所述升级包进行校验计算,得到所述第一校验信息。这里的场景可以理解为密钥信息中仅包含有一个密钥,使用该密钥进行校验计算得到第一校验信息。Wherein, the acquiring the first verification information according to the upgrade package includes: using key information to perform verification calculation on the upgrade package to obtain the first verification information. The scenario here can be understood that the key information only contains one key, and the first verification information is obtained by performing verification calculation using this key.
上述利用密钥信息针对所述升级包进行校验计算的方法可以有多种,比如可以为3DES的算法利用所述密钥信息针对所述升级包进行校验计算。如此,通过密钥信息进行校验计算获取到第一校验信息,能够通过第一校验信息在网络管理设备侧进行验证,从而确定终端设备是否正确的接收到了全部的升级包,保证用户的升级成功率,提升用户的使用体验。There may be various methods for performing the verification calculation on the upgrade package by using the key information, for example, a 3DES algorithm may use the key information to perform the verification calculation on the upgrade package. In this way, the first verification information is obtained by performing verification calculation on the key information, and the first verification information can be used for verification on the network management device side, so as to determine whether the terminal device has correctly received all the upgrade packages and ensure that the user's Upgrade success rate and improve user experience.
优选地,所述方法还包括:利用密钥信息建立与所述网络管理设备的通信连接。具体可以表现为所述终端设备在与所述网络管理设备之间发送信息的时候,均通过密钥信息对所要发送的信息进行加密操作;相应的,对每次接受到的网络管理设备发来的信息的时候均通过密钥信息进行解密操作。在本场景中可以将密钥信息理解为仅包含一个密钥,与计算得到第一校验信息的密钥是相同的。Preferably, the method further comprises: using the key information to establish a communication connection with the network management device. Specifically, when the terminal device sends information to the network management device, it encrypts the information to be sent through key information; When the information is encrypted, the decryption operation is performed through the key information. In this scenario, the key information can be understood as including only one key, which is the same as the key obtained by calculating the first verification information.
如此,能够保证每一次终端设备与网络管理设备之间的通信均具备私密性,并且还可以使得网络管理设备根据终端设备发来的信息确认连接是否正确,如果连接错误,即网络管理设备中没有保存终端设备的SIM卡相应信息的时候,会提示终端设备连接错误,那么终端设备能够向正确的网络管理设备再次建立连接,并执行后续的升级操作。In this way, it can be ensured that each communication between the terminal device and the network management device is private, and the network management device can also be made to confirm whether the connection is correct according to the information sent by the terminal device. When saving the corresponding information of the SIM card of the terminal device, it will prompt that the terminal device is connected incorrectly, then the terminal device can re-establish a connection to the correct network management device and perform subsequent upgrade operations.
优选地,由于上述密钥信息中可以包括有一个或多个密钥,那么通过分别在不同的步骤中使用密钥信息中的不同密钥,可以进一步的提升本方法的安全性;比如,假设密钥信息中包括有第一密钥和第二密钥;具体的操作可以为:Preferably, since the above key information may include one or more keys, the security of the method can be further improved by using different keys in the key information in different steps; for example, suppose that The key information includes the first key and the second key; the specific operations may be:
当使用升级包进行升级的时候,可以利用第一密钥计算得到升级包的第一校验信息;发送所述第一校验信息至所述网络管理设备,使得所述网络管理设备侧根据所述第一校验信息验证所述终端设备是否接收成功,当验证结果为接收成功时,返回验证成功的信息;接收到所述网络管理设备返回的验证成功的信息后,根据所述升级包对所述SIM卡进行升级。When the upgrade package is used for the upgrade, the first verification information of the upgrade package can be calculated by using the first key; the first verification information is sent to the network management device, so that the network management device side can obtain the first verification information according to the The first verification information verifies whether the terminal device has received successfully, and when the verification result is that the reception is successful, returns the verification success information; after receiving the verification success information returned by the network management device, according to the upgrade package The SIM card is upgraded.
当建立通信连接的时候,可以利用第二密钥建立与所述网络管理设备的通信连接。When establishing the communication connection, the second key may be used to establish the communication connection with the network management device.
可见,通过采用上述方案,就能够由终端设备根据SIM卡的标识信息生成芯片操作系统升级请求,并发送所述芯片操作系统升级请求至网络管理设备处,从网络管理设备处获取到升级包,并利用升级包对芯片操作系统进行升级操作。如此,就能够避免随着移动网络的升级更换对应的SIM卡,给用户使用移动网络带来不便的问题,提升了用户使用移动网络的便利性,还避免了资源浪费。It can be seen that by adopting the above scheme, the terminal device can generate a chip operating system upgrade request according to the identification information of the SIM card, and send the chip operating system upgrade request to the network management device, and obtain the upgrade package from the network management device, And use the upgrade package to upgrade the chip operating system. In this way, it is possible to avoid the problem of inconvenience for the user to use the mobile network by replacing the corresponding SIM card with the upgrade of the mobile network, to improve the convenience of the user to use the mobile network, and to avoid waste of resources.
实施例二、Embodiment two,
本实施例提供了一种信息升级方法,应用于网络管理设备,如图3所示,所述方法包括:This embodiment provides an information upgrade method, which is applied to a network management device. As shown in FIG. 3 , the method includes:
步骤301:接收到终端设备发来的芯片操作系统升级请求,所述芯片操作系统升级请求包括有所述终端设备中SIM卡的标识信息;Step 301: Receive a chip operating system upgrade request sent by a terminal device, where the chip operating system upgrade request includes identification information of a SIM card in the terminal device;
步骤302:根据所述芯片操作系统升级请求选取对应的升级包;Step 302: Select a corresponding upgrade package according to the chip operating system upgrade request;
步骤303:发送所述升级包至所述终端设备,使得所述终端设备根据所述升级包针对所述SIM卡的芯片操作系统进行升级。Step 303: Send the upgrade package to the terminal device, so that the terminal device upgrades the chip operating system of the SIM card according to the upgrade package.
这里,所述SIM卡的标识信息可以包括以下至少一种:国际移动用户识别码(IMSI,International Mobile Subscriber Identification Number)、集成电路卡识别码(ICCID,Integrate Circuit Card IDentity);其中,ICCID为固化在SIM卡中的识别码。Here, the identification information of the SIM card may include at least one of the following: International Mobile Subscriber Identification Number (IMSI, International Mobile Subscriber Identification Number), Integrated Circuit Card Identification Number (ICCID, Integrate Circuit Card IDentity); wherein, ICCID is a solidified The identification code in the SIM card.
所述密钥信息为根据实际情况预设在SIM卡中的密钥,可以为,当用户购买SIM卡之前,在每一个SIM卡中写入的一个或多个密钥。针对每一张SIM卡都会有特殊的密钥,具体生成密钥的方法可以为使用CryptoAPI生成。所述密钥除了在所述SIM卡中写入之外,所述密钥还会与所述SIM卡的标识信息关联之后保存在网络管理设备中。The key information is the key preset in the SIM card according to the actual situation, and may be one or more keys written in each SIM card before the user purchases the SIM card. There will be a special key for each SIM card, and the specific method of generating the key can be generated using CryptoAPI. In addition to being written in the SIM card, the key is also stored in the network management device after being associated with the identification information of the SIM card.
优选地,用户还可以通过终端设备选择所要下载的升级包,根据所述芯片操作系统升级请求选取对应的升级包,包括:Preferably, the user can also select the upgrade package to be downloaded through the terminal device, and select the corresponding upgrade package according to the chip operating system upgrade request, including:
根据所述芯片操作系统升级请求确定对应的升级包列表信息,所述升级包列表信息包括有至少一个升级包、以及所述升级包对应的版本;Determine corresponding upgrade package list information according to the chip operating system upgrade request, where the upgrade package list information includes at least one upgrade package and a version corresponding to the upgrade package;
发送所述升级包列表信息至所述终端设备;sending the upgrade package list information to the terminal device;
接收到所述终端设备发来的下载请求之后,根据所述芯片操作系统升级请求以及接收到的下载请求选取对应的升级包。After receiving the download request sent by the terminal device, select a corresponding upgrade package according to the chip operating system upgrade request and the received download request.
这里举出的示例为用户端选择所要下载的升级包,实际上还可以由网络管理设备端直接为终端设备的SIM卡选择高于所述SIM卡的芯片操作系统当前版本的升级包;比如:The example cited here is that the user terminal selects the upgrade package to be downloaded. In fact, the network management device side can also directly select an upgrade package higher than the current version of the chip operating system of the SIM card for the SIM card of the terminal device; such as:
终端设备利用所述SIM卡的标识信息、以及SIM卡的芯片操作系统版本号生成芯片操作系统升级请求发送至网络管理设备;The terminal device uses the identification information of the SIM card and the chip operating system version number of the SIM card to generate a chip operating system upgrade request and send it to the network management device;
所述网络管理设备根据所述SIM卡的标识信息选取对应的升级包列表信息,再根据芯片操作系统版本号从所述升级包列表信息中选取高于所述芯片操作系统版本号的升级包。The network management device selects the corresponding upgrade package list information according to the identification information of the SIM card, and then selects an upgrade package higher than the chip operating system version number from the upgrade package list information according to the chip operating system version number.
当所述升级包列表信息中具备至少一个高于所述芯片操作系统的版本的升级包的时候,可以为选取高于所述芯片操作系统的版本号的一个等级的升级包。When the upgrade package list information contains at least one upgrade package with a version higher than the chip operating system, an upgrade package of a level higher than the version number of the chip operating system may be selected.
或者,当确定当前SIM卡芯片操作系统为最高版本的时候,向终端设备返回已是最高版本的通知。Or, when it is determined that the current SIM card chip operating system is the highest version, a notification that the current version is the highest is returned to the terminal device.
优选地,发送所述升级包至所述终端设备之前,所述方法还包括:根据所述终端设备中SIM卡的标识信息选取对应的密钥信息;根据所述密钥信息对所述升级包进行校验计算,得到第二校验信息。这里的场景可以理解为密钥信息中仅包含有一个密钥,使用该密钥进行校验计算得到第二校验信息。Preferably, before sending the upgrade package to the terminal device, the method further includes: selecting corresponding key information according to the identification information of the SIM card in the terminal device; The verification calculation is performed to obtain the second verification information. The scenario here can be understood as only one key is included in the key information, and the second verification information is obtained by performing verification calculation using this key.
相应的,所述发送所述升级包至所述终端设备之后,所述方法还包括:接收到所述终端设备发来的第一校验信息;利用所述第二校验信息与所述第一校验信息验证所述终端设备是否接收成功,当验证结果为接收成功时,向所述终端设备返回验证成功的信息,使得所述终端设备根据所述升级包对所述SIM卡进行升级。Correspondingly, after the sending the upgrade package to the terminal device, the method further includes: receiving the first verification information sent by the terminal device; using the second verification information to communicate with the first verification information A verification message verifies whether the terminal device has received successfully, and when the verification result is that the reception is successful, the verification success information is returned to the terminal device, so that the terminal device can upgrade the SIM card according to the upgrade package.
其中,验证成功的鉴别方法可以为第一校验信息与所述第二校验信息相同即为验证成功。The authentication method for successful verification may be that the first verification information is the same as the second verification information, that is, the verification is successful.
进一步地,当所述验证结果为接收失败时,向所述终端设备返回验证失败的信息,终端设备确定升级失败。Further, when the verification result is that the reception fails, the verification failure information is returned to the terminal device, and the terminal device determines that the upgrade fails.
上述利用密钥信息针对所述升级包进行校验计算的方法可以有多种,比如可以为3DES的算法利用所述密钥信息针对所述升级包进行校验计算。如此,通过密钥信息进行校验计算获取到第一校验信息,能够通过第一校验信息在网络管理设备侧进行验证,从而确定终端设备是否正确的接收到了全部的升级包,保证用户的升级成功率,提升用户的使用体验。There may be various methods for performing the verification calculation on the upgrade package by using the key information, for example, a 3DES algorithm may use the key information to perform the verification calculation on the upgrade package. In this way, the first verification information is obtained by performing verification calculation on the key information, and the first verification information can be used for verification on the network management device side, so as to determine whether the terminal device has correctly received all the upgrade packages and ensure that the user's Upgrade success rate and improve user experience.
优选地,所述方法还包括:利用密钥信息建立与所述网络管理设备的通信连接。具体可以表现为所述终端设备在与所述网络管理设备之间发送信息的时候,均通过密钥信息对所要发送的信息进行加密操作;相应的,对每次接受到的网络管理设备发来的信息的时候均通过密钥信息进行解密操作;在本场景中可以将密钥信息理解为仅包含一个密钥,与计算得到第二校验信息的密钥是相同的。如此,能够保证每一次终端设备与网络管理设备之间的通信均具备私密性,并且还可以使得网络管理设备根据终端设备发来的信息确认连接是否正确,如果连接错误,即网络管理设备中没有保存终端设备的SIM卡相应信息的时候,会提示终端设备连接错误,那么终端设备能够向正确的网络管理设备再次建立连接,并执行后续的升级操作。Preferably, the method further comprises: using the key information to establish a communication connection with the network management device. Specifically, when the terminal device sends information to the network management device, it encrypts the information to be sent through key information; In this scenario, the key information can be understood as containing only one key, which is the same as the key used to obtain the second verification information. In this way, it can be ensured that each communication between the terminal device and the network management device is private, and the network management device can also be made to confirm whether the connection is correct according to the information sent by the terminal device. When saving the corresponding information of the SIM card of the terminal device, it will prompt the terminal device to connect incorrectly, then the terminal device can re-establish a connection to the correct network management device and perform subsequent upgrade operations.
优选地,由于上述密钥信息中可以包括有一个或多个密钥,那么通过分别在不同的步骤中使用密钥信息中的不同密钥,可以进一步的提升本方法的安全性;比如,假设密钥信息中包括有第一密钥和第二密钥;具体的操作可以为:Preferably, since the above key information may include one or more keys, the security of the method can be further improved by using different keys in the key information in different steps; for example, suppose that The key information includes the first key and the second key; the specific operations may be:
当下发升级包之前,可以利用第一密钥计算得到升级包的第二校验信息。Before the upgrade package is issued, the second verification information of the upgrade package may be obtained by calculating the first key.
当建立通信连接的时候,可以利用第二密钥建立与所述终端设备的通信连接。When establishing the communication connection, the second key may be used to establish the communication connection with the terminal device.
可见,通过采用上述方案,就能够由终端设备根据SIM卡的标识信息生成芯片操作系统升级请求,并发送所述芯片操作系统升级请求至网络管理设备处,从网络管理设备处获取到升级包,并利用升级包对芯片操作系统进行升级操作。如此,就能够避免随着移动网络的升级更换对应的SIM卡,给用户使用移动网络带来不便的问题,提升了用户使用移动网络的便利性,还避免了资源浪费。It can be seen that by adopting the above scheme, the terminal device can generate a chip operating system upgrade request according to the identification information of the SIM card, and send the chip operating system upgrade request to the network management device, and obtain the upgrade package from the network management device, And use the upgrade package to upgrade the chip operating system. In this way, it is possible to avoid the problem of inconvenience for the user to use the mobile network by replacing the corresponding SIM card with the upgrade of the mobile network, improve the convenience of the user to use the mobile network, and avoid waste of resources.
实施例三、Embodiment three,
本实施例提供了一种终端设备,如图4所示,所述终端设备包括:This embodiment provides a terminal device. As shown in FIG. 4 , the terminal device includes:
系统升级单元41,用于获取到所述终端设备中SIM卡的标识信息;利用所述SIM卡的标识信息生成芯片操作系统升级请求;发送所述芯片操作系统升级请求至网络管理设备,使得所述网络管理设备根据所述芯片操作系统升级请求获取对应的升级包;接收到所述网络管理设备返回的升级包;The system upgrade unit 41 is configured to obtain the identification information of the SIM card in the terminal device; use the identification information of the SIM card to generate a chip operating system upgrade request; send the chip operating system upgrade request to the network management device, so that all The network management device obtains a corresponding upgrade package according to the chip operating system upgrade request; and receives an upgrade package returned by the network management device;
SIM卡管理单元42,用于利用所述升级包针对所述SIM卡的芯片操作系统进行升级。The SIM card management unit 42 is configured to use the upgrade package to upgrade the chip operating system of the SIM card.
这里,所述系统升级单元,具体用于开启第一应用,检测到针对所述第一应用的第一操作,根据所述第一操作获取到所述终端设备的SIM卡的标识信息。Here, the system upgrade unit is specifically configured to start a first application, detect a first operation for the first application, and acquire identification information of the SIM card of the terminal device according to the first operation.
所述第一应用可以为根据实际情况设置于系统升级单元中的应用,当用户在终端设备中开启第一应用时,可以进入第一应用的操作界面。当用户通过第一应用的操作界面中选取升级SIM卡的芯片操作系统(COS,Chip Operating System)的选项时,获取SIM卡的标识信息。The first application may be an application set in the system upgrade unit according to the actual situation, and when the user starts the first application in the terminal device, the operation interface of the first application may be entered. When the user selects the option of upgrading the chip operating system (COS, Chip Operating System) of the SIM card through the operation interface of the first application, the identification information of the SIM card is acquired.
其中,所述SIM卡的标识信息可以包括以下至少一种:国际移动用户识别码(IMSI,International Mobile Subscriber Identification Number)、集成电路卡识别码(ICCID,Integrate Circuit Card IDentity);其中,ICCID为固化在SIM卡中的识别码。Wherein, the identification information of the SIM card may include at least one of the following: International Mobile Subscriber Identification Number (IMSI, International Mobile Subscriber Identification Number), Integrated Circuit Card Identification Number (ICCID, Integrate Circuit Card IDentity); wherein, ICCID is a solidified The identification code in the SIM card.
优选地,用户还可以通过终端设备选择所要下载的升级包,发送所述芯片操作系统升级请求至网络管理设备,包括:Preferably, the user can also select the upgrade package to be downloaded through the terminal device, and send the chip operating system upgrade request to the network management device, including:
系统升级单元41,具体用于接收到所述网络管理设备返回的升级包列表信息,所述升级包列表信息包括有至少一个升级包、以及所述升级包对应的版本;根据接收到的升级包列表信息选取升级包对应的版本,根据选取的所述升级包对应的版本向所述网络管理设备发出下载请求,使得所述网络管理设备根据所述芯片操作系统升级请求以及接收到的下载请求确定升级包。The system upgrade unit 41 is specifically configured to receive the upgrade package list information returned by the network management device, where the upgrade package list information includes at least one upgrade package and a version corresponding to the upgrade package; according to the received upgrade package The list information selects the version corresponding to the upgrade package, and sends a download request to the network management device according to the selected version corresponding to the upgrade package, so that the network management device determines according to the chip operating system upgrade request and the received download request. upgrade package.
这里举出的示例为用户端选择所要下载的升级包,实际上还可以由网络管理设备端直接为终端设备的SIM卡选择高于所述SIM卡的芯片操作系统当前版本的升级包;比如:终端设备利用所述SIM卡的标识信息、以及SIM卡的芯片操作系统版本号生成芯片操作系统升级请求发送至网络管理设备;使得所述网络管理设备根据所述SIM卡的标识信息选取对应的升级包列表信息,再根据芯片操作系统版本号从所述升级包列表信息中选取高于所述芯片操作系统版本号的升级包。The example cited here is that the user terminal selects the upgrade package to be downloaded. In fact, the network management device side can also directly select an upgrade package higher than the current version of the chip operating system of the SIM card for the SIM card of the terminal device; such as: The terminal device uses the identification information of the SIM card and the version number of the chip operating system of the SIM card to generate a chip operating system upgrade request and send it to the network management device; so that the network management device selects a corresponding upgrade according to the identification information of the SIM card package list information, and then select an upgrade package higher than the chip operating system version number from the upgrade package list information according to the chip operating system version number.
所述密钥信息为根据实际情况预设在SIM卡中的密钥,可以为,当用户购买SIM卡之前,在每一个SIM卡中写入的一个或多个密钥针对每一张SIM卡都会有特殊的密钥,具体生成密钥的方法可以为由SIM卡提供方使用专业的密钥生成设备针对每张SIM卡生成一个或多个密钥共同作为密钥信息。所述密钥除了在所述SIM卡中写入之外,所述密钥还会与所述SIM卡的标识信息关联之后保存在网络管理设备中。The key information is the key preset in the SIM card according to the actual situation, which may be, before the user purchases the SIM card, one or more keys written in each SIM card for each SIM card. There will be special keys, and the specific key generation method can be for the SIM card provider to use a professional key generation device to generate one or more keys for each SIM card together as key information. In addition to being written in the SIM card, the key is also stored in the network management device after being associated with the identification information of the SIM card.
优选地,所述SIM卡管理单元42,具体用于根据所述升级包确定第一校验信息;发送所述第一校验信息至所述网络管理设备,使得所述网络管理设备根据所述第一校验信息验证所述终端设备是否接收成功,当验证结果为接收成功时,返回验证成功的信息;接收到所述网络管理设备返回的验证成功的信息后,根据所述升级包对所述SIM卡进行升级。这里的场景可以理解为密钥信息中仅包含有一个密钥,使用该密钥进行校验计算得到第一校验信息。Preferably, the SIM card management unit 42 is specifically configured to determine the first verification information according to the upgrade package; send the first verification information to the network management device, so that the network management device can determine the first verification information according to the The first verification information verifies whether the terminal device has received successfully, and when the verification result is that the reception is successful, returns the verification success information; after receiving the verification success information returned by the network management device, according to the upgrade package upgrade the SIM card. The scenario here can be understood that the key information only contains one key, and the first verification information is obtained by performing verification calculation using this key.
其中,所述SIM卡管理单元42,具体用于利用密钥信息针对所述升级包进行校验计算,得到所述第一校验信息。The SIM card management unit 42 is specifically configured to use the key information to perform verification calculation on the upgrade package to obtain the first verification information.
上述利用密钥信息针对所述升级包进行校验计算的方法可以有多种,比如可以为3DES的算法利用所述密钥信息针对所述升级包进行校验计算。如此,通过密钥信息进行校验计算获取到第一校验信息,能够通过第一校验信息在网络管理设备侧进行验证,从而确定终端设备是否正确的接收到了全部的升级包,保证用户的升级成功率,提升用户的使用体验。There may be various methods for performing the verification calculation on the upgrade package by using the key information, for example, a 3DES algorithm may use the key information to perform the verification calculation on the upgrade package. In this way, the first verification information is obtained by performing verification calculation on the key information, and the first verification information can be used for verification on the network management device side, so as to determine whether the terminal device has correctly received all the upgrade packages and ensure that the user's Upgrade success rate and improve user experience.
优选地,所述SIM卡管理单元,具体用于利用密钥信息建立与所述网络管理设备的通信连接。具体可以表现为所述终端设备在与所述网络管理设备之间发送信息的时候,均通过密钥信息对所要发送的信息进行加密操作;相应的,对每次接受到的网络管理设备发来的信息的时候均通过密钥信息进行解密操作。在本场景中可以将密钥信息理解为仅包含一个密钥,与计算得到第一校验信息的密钥是相同的。如此,能够保证每一次终端设备与网络管理设备之间的通信均具备私密性,并且还可以使得网络管理设备根据终端设备发来的信息确认连接是否正确,如果连接错误,即网络管理设备中没有保存终端设备的SIM卡相应信息的时候,会提示终端设备连接错误,那么终端设备能够向正确的网络管理设备再次建立连接,并执行后续的升级操作。Preferably, the SIM card management unit is specifically configured to use the key information to establish a communication connection with the network management device. Specifically, when the terminal device sends information to the network management device, it encrypts the information to be sent through key information; When the information is encrypted, the decryption operation is performed through the key information. In this scenario, the key information can be understood as including only one key, which is the same as the key obtained by calculating the first verification information. In this way, it can be ensured that each communication between the terminal device and the network management device is private, and the network management device can also be made to confirm whether the connection is correct according to the information sent by the terminal device. When saving the corresponding information of the SIM card of the terminal device, it will prompt that the terminal device is connected incorrectly, then the terminal device can re-establish a connection to the correct network management device and perform subsequent upgrade operations.
优选地,由于上述密钥信息中可以包括有一个或多个密钥,那么通过分别在不同的步骤中使用密钥信息中的不同密钥,可以进一步的提升本方法的安全性;比如,假设密钥信息中包括有第一密钥和第二密钥;具体的操作可以为:Preferably, since the above key information may include one or more keys, the security of the method can be further improved by using different keys in the key information in different steps; for example, suppose that The key information includes the first key and the second key; the specific operations may be:
当使用升级包进行升级的时候,可以利用第一密钥计算得到升级包的第一校验信息;发送所述第一校验信息至所述网络管理设备,使得所述网络管理设备侧根据所述第一校验信息验证所述终端设备是否接收成功,当验证结果为接收成功时,返回验证成功的信息;接收到所述网络管理设备返回的验证成功的信息后,根据所述升级包对所述SIM卡进行升级。When the upgrade package is used for the upgrade, the first verification information of the upgrade package can be calculated by using the first key; the first verification information is sent to the network management device, so that the network management device side can obtain the first verification information according to the The first verification information verifies whether the terminal device has received successfully, and when the verification result is that the reception is successful, returns the verification success information; after receiving the verification success information returned by the network management device, according to the upgrade package The SIM card is upgraded.
当建立通信连接的时候,可以利用第二密钥建立与所述网络管理设备的通信连接。When establishing the communication connection, the second key may be used to establish the communication connection with the network management device.
可见,通过采用上述方案,就能够由终端设备根据SIM卡的标识信息生成芯片操作系统升级请求,并发送所述芯片操作系统升级请求至网络管理设备处,从网络管理设备处获取到升级包,并利用升级包对芯片操作系统进行升级操作。如此,就能够避免随着移动网络的升级更换对应的SIM卡,给用户使用移动网络带来不便的问题,提升了用户使用移动网络的便利性,还避免了资源浪费。It can be seen that by adopting the above scheme, the terminal device can generate a chip operating system upgrade request according to the identification information of the SIM card, and send the chip operating system upgrade request to the network management device, and obtain the upgrade package from the network management device, And use the upgrade package to upgrade the chip operating system. In this way, it is possible to avoid the problem of inconvenience for the user to use the mobile network by replacing the corresponding SIM card with the upgrade of the mobile network, to improve the convenience of the user to use the mobile network, and to avoid waste of resources.
实施例四、Embodiment four,
本实施例提供了一种网络管理设备,如图5所示,所述网络管理设备包括:This embodiment provides a network management device. As shown in FIG. 5 , the network management device includes:
通信单元51,用于接收到终端设备发来的芯片操作系统升级请求,所述芯片操作系统升级请求包括有所述终端设备中SIM卡的标识信息;发送所述升级包至所述终端设备,使得所述终端设备根据所述升级包针对所述SIM卡的芯片操作系统进行升级;The communication unit 51 is configured to receive a chip operating system upgrade request sent by a terminal device, where the chip operating system upgrade request includes the identification information of the SIM card in the terminal device; send the upgrade package to the terminal device, causing the terminal device to upgrade the chip operating system of the SIM card according to the upgrade package;
处理单元52,用于根据所述芯片操作系统升级请求选取对应的升级包。The processing unit 52 is configured to select a corresponding upgrade package according to the chip operating system upgrade request.
这里,所述SIM卡的标识信息可以包括以下至少一种:国际移动用户识别码(IMSI,International Mobile Subscriber Identification Number)、集成电路卡识别码(ICCID,Integrate Circuit Card IDentity);其中,ICCID为固化在SIM卡中的识别码。Here, the identification information of the SIM card may include at least one of the following: International Mobile Subscriber Identification Number (IMSI, International Mobile Subscriber Identification Number), Integrated Circuit Card Identification Number (ICCID, Integrate Circuit Card IDentity); wherein, ICCID is a solidified The identification code in the SIM card.
所述密钥信息为根据实际情况预设在SIM卡中的密钥,可以为,当用户购买SIM卡之前,在每一个SIM卡中写入的一个或多个密钥。针对每一张SIM卡都会有特殊的密钥,具体生成密钥的方法可以为使用CryptoAPI生成。所述密钥除了在所述SIM卡中写入之外,所述密钥还会与所述SIM卡的标识信息关联之后保存在网络管理设备中。The key information is the key preset in the SIM card according to the actual situation, and may be one or more keys written in each SIM card before the user purchases the SIM card. There will be a special key for each SIM card, and the specific method of generating the key can be generated using CryptoAPI. In addition to being written in the SIM card, the key is also stored in the network management device after being associated with the identification information of the SIM card.
优选地,所述处理单元,还用于通过通信单元接收到终端设备发送的利用所述SIM卡的标识信息、以及SIM卡的芯片操作系统版本号生成芯片操作系统升级请求;根据所述SIM卡的标识信息选取对应的升级包列表信息,再根据芯片操作系统版本号从所述升级包列表信息中选取高于所述芯片操作系统版本号的升级包。Preferably, the processing unit is further configured to receive, through the communication unit, the identification information of the SIM card and the version number of the chip operating system of the SIM card sent by the terminal device to generate a chip operating system upgrade request; according to the SIM card Select the corresponding upgrade package list information according to the identification information of the chip operating system, and then select an upgrade package higher than the chip operating system version number from the upgrade package list information according to the chip operating system version number.
当所述升级包列表信息中具备至少一个高于所述芯片操作系统的版本的升级包的时候,可以为选取高于所述芯片操作系统的版本号的一个等级的升级包。When the upgrade package list information contains at least one upgrade package with a version higher than the chip operating system, an upgrade package of a level higher than the version number of the chip operating system may be selected.
或者,当确定当前SIM卡芯片操作系统为最高版本的时候,向终端设备返回已是最高版本的通知。Or, when it is determined that the current SIM card chip operating system is the highest version, a notification that the current version is the highest is returned to the terminal device.
优选地,所述网络管理设备还包括:校验单元53,用于根据所述终端设备中SIM卡的标识信息选取对应的密钥信息;根据所述密钥信息对所述升级包进行校验计算,得到第二校验信息。Preferably, the network management device further includes: a verification unit 53, configured to select corresponding key information according to the identification information of the SIM card in the terminal device; verify the upgrade package according to the key information Calculate to obtain the second verification information.
所述通信单元51,还用于接收到所述终端设备发来的第一校验信息;The communication unit 51 is further configured to receive the first verification information sent by the terminal device;
相应的,所述校验单元53,还用于利用所述第二校验信息与所述第一校验信息验证所述终端设备是否接收成功,当验证结果为接收成功时,通过所述通信单元向所述终端设备返回验证成功的信息。这里的场景可以理解为密钥信息中仅包含有一个密钥,使用该密钥进行校验计算得到第二校验信息。Correspondingly, the verification unit 53 is further configured to use the second verification information and the first verification information to verify whether the terminal device has received successfully. The unit returns information that the verification is successful to the terminal device. The scenario here can be understood as only one key is included in the key information, and the second verification information is obtained by performing verification calculation using this key.
其中,验证成功的鉴别方法可以为第一校验信息与所述第二校验信息相同即为验证成功。The authentication method for successful verification may be that the first verification information is the same as the second verification information, that is, the verification is successful.
进一步地,当所述验证结果为接收失败时,向所述终端设备返回验证失败的信息,终端设备确定升级失败。Further, when the verification result is that the reception fails, the verification failure information is returned to the terminal device, and the terminal device determines that the upgrade fails.
优选地,所述通信单元51还用于利用密钥信息建立与所述网络管理设备的通信连接。具体可以表现为所述终端设备在与所述网络管理设备之间发送信息的时候,均通过密钥信息对所要发送的信息进行加密操作;相应的,对每次接受到的网络管理设备发来的信息的时候均通过密钥信息进行解密操作。在本场景中可以将密钥信息理解为仅包含一个密钥,与计算得到第二校验信息的密钥是相同的。如此,能够保证每一次终端设备与网络管理设备之间的通信均具备私密性,并且还可以使得网络管理设备根据终端设备发来的信息确认连接是否正确,如果连接错误,即网络管理设备中没有保存终端设备的SIM卡相应信息的时候,会提示终端设备连接错误,那么终端设备能够向正确的网络管理设备再次建立连接,并执行后续的升级操作。Preferably, the communication unit 51 is further configured to use the key information to establish a communication connection with the network management device. Specifically, when the terminal device sends information to the network management device, it encrypts the information to be sent through key information; When the information is encrypted, the decryption operation is performed through the key information. In this scenario, the key information can be understood as including only one key, which is the same as the key obtained by calculating the second verification information. In this way, it can be ensured that each communication between the terminal device and the network management device is private, and the network management device can also be made to confirm whether the connection is correct according to the information sent by the terminal device. When saving the corresponding information of the SIM card of the terminal device, it will prompt that the terminal device is connected incorrectly, then the terminal device can re-establish a connection to the correct network management device and perform subsequent upgrade operations.
优选地,由于上述密钥信息中可以包括有一个或多个密钥,那么通过分别在不同的步骤中使用密钥信息中的不同密钥,可以进一步的提升本方法的安全性;比如,假设密钥信息中包括有第一密钥和第二密钥;具体的操作可以为:Preferably, since the above key information may include one or more keys, the security of the method can be further improved by using different keys in the key information in different steps; for example, suppose that The key information includes the first key and the second key; the specific operations may be:
当下发升级包之前,可以利用第一密钥计算得到升级包的第二校验信息。Before the upgrade package is issued, the second verification information of the upgrade package may be obtained by calculating the first key.
当建立通信连接的时候,可以利用第二密钥建立与所述终端设备的通信连接。When establishing the communication connection, the second key may be used to establish the communication connection with the terminal device.
可见,通过采用上述方案,就能够由终端设备根据SIM卡的标识信息生成芯片操作系统升级请求,并发送所述芯片操作系统升级请求至网络管理设备处,从网络管理设备处获取到升级包,并利用升级包对芯片操作系统进行升级操作。如此,就能够避免随着移动网络的升级更换对应的SIM卡,给用户使用移动网络带来不便的问题,提升了用户使用移动网络的便利性,还避免了资源浪费。It can be seen that by adopting the above scheme, the terminal device can generate a chip operating system upgrade request according to the identification information of the SIM card, and send the chip operating system upgrade request to the network management device, and obtain the upgrade package from the network management device, And use the upgrade package to upgrade the chip operating system. In this way, it is possible to avoid the problem of inconvenience for the user to use the mobile network by replacing the corresponding SIM card with the upgrade of the mobile network, to improve the convenience of the user to use the mobile network, and to avoid waste of resources.
实施例五、Embodiment five,
本实施例提供了一种信息升级系统,如图6所示,包括:This embodiment provides an information upgrade system, as shown in FIG. 6 , including:
终端设备61,用于获取到SIM卡的标识信息;利用所述SIM卡的标识信息生成芯片操作系统升级请求;发送所述芯片操作系统升级请求至网络管理设备,接收到所述网络管理设备返回的升级包;利用所述升级包针对所述SIM卡的芯片操作系统进行升级;The terminal device 61 is used to obtain the identification information of the SIM card; use the identification information of the SIM card to generate a chip operating system upgrade request; send the chip operating system upgrade request to a network management device, and receive a response from the network management device The upgrade package; Utilize the upgrade package to upgrade the chip operating system of the SIM card;
网络管理设备62,用于根据所述芯片操作系统升级请求获取对应的升级包;发送所述升级包至所述终端设备61。The network management device 62 is configured to obtain a corresponding upgrade package according to the chip operating system upgrade request; and send the upgrade package to the terminal device 61 .
本实施例提供了一种终端设备,包括:This embodiment provides a terminal device, including:
系统升级单元,用于获取到所述终端设备中SIM卡的标识信息;利用所述SIM卡的标识信息生成芯片操作系统升级请求;发送所述芯片操作系统升级请求至网络管理设备,使得所述网络管理设备根据所述芯片操作系统升级请求获取对应的升级包;接收到所述网络管理设备返回的升级包;A system upgrade unit, configured to acquire the identification information of the SIM card in the terminal device; use the identification information of the SIM card to generate a chip operating system upgrade request; send the chip operating system upgrade request to a network management device, so that the The network management device obtains a corresponding upgrade package according to the chip operating system upgrade request; and receives the upgrade package returned by the network management device;
SIM卡管理单元,用于利用所述升级包针对所述SIM卡的芯片操作系统进行升级。The SIM card management unit is configured to use the upgrade package to upgrade the chip operating system of the SIM card.
本实施例提供的一种网络管理设备,包括:A network management device provided by this embodiment includes:
通信单元,用于接收到终端设备发来的芯片操作系统升级请求,所述芯片操作系统升级请求包括有所述终端设备中SIM卡的标识信息;发送所述升级包至所述终端设备,使得所述终端设备根据所述升级包针对所述SIM卡的芯片操作系统进行升级;A communication unit, configured to receive a chip operating system upgrade request sent by a terminal device, where the chip operating system upgrade request includes the identification information of the SIM card in the terminal device; send the upgrade package to the terminal device, so that The terminal device is upgraded for the chip operating system of the SIM card according to the upgrade package;
处理单元,用于根据所述芯片操作系统升级请求选取对应的升级包。下面,结合图7对本实施例提供的信息升级方法进行说明,假设终端设备为移动终端,系统升级单元中安装有COS升级客户端,SIM卡管理单元中具备SIM卡,网络管理设备为COS管理平台,具体包括:The processing unit is configured to select a corresponding upgrade package according to the chip operating system upgrade request. Next, the information upgrading method provided by this embodiment will be described with reference to FIG. 7 , assuming that the terminal device is a mobile terminal, a COS upgrade client is installed in the system upgrade unit, a SIM card is provided in the SIM card management unit, and the network management device is a COS management platform , including:
步骤701:用户打开移动终端中的SIM卡COS升级客户端;Step 701: the user opens the SIM card COS upgrade client in the mobile terminal;
步骤702:COS升级客户端通过向SIM卡发送相关指令获取SIM卡的标识信息;Step 702: the COS upgrade client obtains the identification information of the SIM card by sending relevant instructions to the SIM card;
步骤703:SIM卡发送自身的标识信息发送给COS升级客户端;Step 703: The SIM card sends its own identification information to the COS upgrade client;
步骤704:COS升级客户端通过COS管理平台获取此SIM卡COS升级包;Step 704: the COS upgrade client obtains the SIM card COS upgrade package through the COS management platform;
步骤705:COS管理平台将此SIM卡对应的升级包列表信息返回给COS升级客户端,若没有版本可以升级或用户没有选择升级则流程结束;Step 705: The COS management platform returns the upgrade package list information corresponding to the SIM card to the COS upgrade client. If there is no version that can be upgraded or the user does not choose to upgrade, the process ends;
步骤706:COS升级客户端在移动终端处显示升级包列表信息;Step 706: the COS upgrade client displays the upgrade package list information at the mobile terminal;
步骤707:用户通过COS升级客户端选择升级SIM卡COS;Step 707: The user selects to upgrade the SIM card COS through the COS upgrade client;
步骤708:COS升级客户端向COS管理平台请求升级此SIM卡的COS;Step 708: the COS upgrade client requests to the COS management platform to upgrade the COS of this SIM card;
步骤709:COS管理平台利用预置的COS升级密钥通过移动终端COS升级客户端与SIM卡建立安全通道;Step 709: The COS management platform uses the preset COS upgrade key to establish a secure channel with the SIM card through the mobile terminal COS upgrade client;
步骤710:SIM卡与COS管理平台建立安全通道;Step 710: establish a secure channel between the SIM card and the COS management platform;
步骤711:COS管理平台通过安全通道将COS下载到SIM卡中,同时计算COS的第二校验信息;Step 711: The COS management platform downloads the COS to the SIM card through the secure channel, and simultaneously calculates the second verification information of the COS;
步骤712:SIM卡下载COS后,通知COS管理平台下载完成;Step 712: After the SIM card downloads COS, notify the COS management platform that the download is complete;
步骤713:COS管理平台向SIM卡请求COS校验信息;Step 713: The COS management platform requests the SIM card for COS verification information;
步骤714:SIM卡利用COS升级密钥计算出COS的第一校验信息并返回给COS管理平台;Step 714: The SIM card uses the COS upgrade key to calculate the first verification information of the COS and returns it to the COS management platform;
步骤715:COS管理平台判断第一校验信息与第二校验信息是否一致,若一致则下载成功,否则失败;Step 715: The COS management platform determines whether the first verification information is consistent with the second verification information, and if they are consistent, the download is successful, otherwise it fails;
步骤716:将验证结果返回给移动终端。Step 716: Return the verification result to the mobile terminal.
可见,通过采用上述方案,就能够由终端设备根据SIM卡的标识信息生成芯片操作系统升级请求,并发送所述芯片操作系统升级请求至网络管理设备处,从网络管理设备处获取到升级包,并利用升级包对芯片操作系统进行升级操作。如此,就能够避免随着移动网络的升级更换对应的SIM卡,给用户使用移动网络带来不便的问题,提升了用户使用移动网络的便利性,还避免了资源浪费。It can be seen that by adopting the above scheme, the terminal device can generate a chip operating system upgrade request according to the identification information of the SIM card, and send the chip operating system upgrade request to the network management device, and obtain the upgrade package from the network management device, And use the upgrade package to upgrade the chip operating system. In this way, it is possible to avoid the problem of inconvenience for the user to use the mobile network by replacing the corresponding SIM card with the upgrade of the mobile network, to improve the convenience of the user to use the mobile network, and to avoid waste of resources.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored, or not implemented. In addition, the coupling, or direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical or other forms. of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The unit described above as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各实施例中的各功能单元可以全部集成在一个处理模块中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may all be integrated into one processing module, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integration The unit can be implemented either in the form of hardware or in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by program instructions related to hardware, the aforementioned program can be stored in a computer-readable storage medium, and when the program is executed, execute Including the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: a mobile storage device, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk and other various A medium on which program code can be stored.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (17)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410843833.4A CN105813006B (en) | 2014-12-30 | 2014-12-30 | A kind of information upgrade method, terminal device, network management device and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410843833.4A CN105813006B (en) | 2014-12-30 | 2014-12-30 | A kind of information upgrade method, terminal device, network management device and system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN105813006A CN105813006A (en) | 2016-07-27 |
| CN105813006B true CN105813006B (en) | 2019-06-25 |
Family
ID=56421084
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410843833.4A Active CN105813006B (en) | 2014-12-30 | 2014-12-30 | A kind of information upgrade method, terminal device, network management device and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105813006B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106713302B (en) * | 2016-12-19 | 2020-09-01 | 北京握奇智能科技有限公司 | Operating system updating method and device |
| CN110532002A (en) * | 2018-05-24 | 2019-12-03 | 中国电信股份有限公司 | Data update configuration method, system and embedded chip card configuration platform |
| CN116709295B (en) * | 2022-12-14 | 2024-04-09 | 荣耀终端有限公司 | Data acquisition method and terminal device |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101600205A (en) * | 2009-07-10 | 2009-12-09 | 华为技术有限公司 | Method for SIM card user equipment accessing evolved network and related equipment |
| CN102378174A (en) * | 2010-08-25 | 2012-03-14 | 大唐移动通信设备有限公司 | Access method, device and system of user terminal of SIM (Subscriber Identity Module) card |
| CN103987030A (en) * | 2014-05-28 | 2014-08-13 | 北京握奇数据系统有限公司 | Method, device and system for achieving number-portability upgrading network |
-
2014
- 2014-12-30 CN CN201410843833.4A patent/CN105813006B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101600205A (en) * | 2009-07-10 | 2009-12-09 | 华为技术有限公司 | Method for SIM card user equipment accessing evolved network and related equipment |
| CN102378174A (en) * | 2010-08-25 | 2012-03-14 | 大唐移动通信设备有限公司 | Access method, device and system of user terminal of SIM (Subscriber Identity Module) card |
| CN103987030A (en) * | 2014-05-28 | 2014-08-13 | 北京握奇数据系统有限公司 | Method, device and system for achieving number-portability upgrading network |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105813006A (en) | 2016-07-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10387134B2 (en) | Method and device for downloading profile of operator | |
| JP6321826B2 (en) | Provisioning an electronic subscriber identity module | |
| CN106714139B (en) | Pre-personalization of electronic subscriber identity modules | |
| US20170161721A1 (en) | Method and system for opening account based on euicc | |
| JP6170844B2 (en) | Authentication information management system | |
| CN103974250B (en) | Collocation method and equipment | |
| CN112559993B (en) | Identity authentication method, device and system and electronic equipment | |
| US9680841B2 (en) | Network authentication method for secure user identity verification using user positioning information | |
| CN109905312B (en) | Message pushing method, device and system | |
| US20180041893A1 (en) | Method and system of multi-terminal mapping to a virtual sim card | |
| US10349270B2 (en) | Method of establishing communications | |
| WO2015184064A1 (en) | Secure storage of an electronic subscriber identity module on a wireless communication device | |
| WO2011150782A1 (en) | Method, device and system for configuring wireless fidelity (wifi) parameter | |
| WO2018000834A1 (en) | Wifi hotspot information modification method and device | |
| WO2016201732A1 (en) | Virtual sim card parameter management method, mobile terminal, and server | |
| WO2015077993A1 (en) | Installation package authorization method and device | |
| CN111355723A (en) | Single sign-on method, device, equipment and readable storage medium | |
| CN113672887A (en) | Account management method, server, terminal and processor | |
| CN105577619B (en) | Client login method, client and system | |
| CN105813006B (en) | A kind of information upgrade method, terminal device, network management device and system | |
| CN109451483B (en) | eSIM data processing method, device and readable storage medium | |
| CN105792167A (en) | A method, device, and device for initializing a trusted execution environment | |
| CN106211203A (en) | Lock network data updating method and device | |
| EP2916510A1 (en) | Network authentication method for secure user identity verification using user positioning information | |
| CN109429225A (en) | Message sink, sending method and device, terminal, network functional entity |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |