WO2012034327A1 - Method and terminal for version update - Google Patents
Method and terminal for version update Download PDFInfo
- Publication number
- WO2012034327A1 WO2012034327A1 PCT/CN2010/079480 CN2010079480W WO2012034327A1 WO 2012034327 A1 WO2012034327 A1 WO 2012034327A1 CN 2010079480 W CN2010079480 W CN 2010079480W WO 2012034327 A1 WO2012034327 A1 WO 2012034327A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- version
- terminal
- information
- new version
- module
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
- H04W8/245—Transfer of terminal data from a network towards a terminal
Definitions
- the present invention relates to the field of communications, and in particular to a version update method and a terminal.
- 3G 3rd generation
- terminals especially mobile phones and wireless access fixed-class communication products
- BACKGROUND With the development of communication technologies, especially 3rd generation (3G) networks, terminals, especially mobile phones and wireless access fixed-class communication products, are becoming more and more popular.
- 3G 3rd generation
- operators usually combine preferential sales of specific terminals with tariff preferential policies.
- operators often want to lock the terminal, that is, the terminal sold in a specific region can only use the corresponding Subscriber Identity Module (SIM) card for communication.
- SIM Subscriber Identity Module
- the present invention has been made in view of the problem that a user evades an operator's lock protection by performing a version update on a terminal.
- the main object of the present invention is to provide a version update method and a terminal to solve the above problem.
- a version update method is provided.
- the method for updating the version according to the present invention includes: in the process of updating the terminal from the original version to the new version, the terminal obtains the version information of the original version, the version information of the new version to be downloaded, and the configuration information in the configuration file to be downloaded.
- the version information of the original version of the terminal, the version information of the new version, and the configuration information determine the download of the new version and the configuration file; the terminal downloads the new version and the configuration file, and uses the downloaded new version and the downloaded configuration file. new version update. Further, before the terminal determines to download the new version and the configuration file according to the information of the original version, the version information of the new version, and the configuration information, the method further includes: the terminal setting the customized information database, and saving the original in the customized information database Correspondence between version information, new version information, and configuration information.
- the terminal determines, according to the information of the original version, the version information of the new version, and the configuration information, that the downloading of the new version and the configuration file includes: determining whether the information of the original version, the version information of the new version, and the correspondence between the configuration information are The correspondence stored in the customized information database is the same; if the judgment result is yes, it is determined to download the new version and the configuration file. Further, after the terminal-based downloading the new version and the downloaded configuration file for version update, the method further includes: the terminal starts the lock protection, wherein the lock protection is used to restrict the terminal from using the corresponding customer identification module SIM card for communication.
- limiting the terminal to use the corresponding SIM card for communication comprises: the terminal pre-setting an IMSI number segment database, where one or more IMSI number segments for allowing communication are stored; the terminal reading the IMSI number segment in the SIM card; Whether the read IMSI number segment exists in the IMSI number segment database; if the judgment result is no, the terminal is restricted from using the SIM card for communication.
- the configuration file further includes an IMSI update number segment; in the process of the terminal performing the version update, the terminal updates the IMSI number segment database by using the IMSI update number segment in the configuration file.
- the terminal includes: an obtaining module, configured to obtain version information of an original version, version information of a new version to be downloaded, and a configuration file to be downloaded in a process in which the terminal is updated from the original version to the new version.
- a configuration module configured to: download a new version and a configuration file according to version information of the original version, version information of the new version, and configuration information; and download a module for downloading the new version and the configuration file; , used to update the version with the downloaded new version and the downloaded configuration file.
- the terminal further includes a first setting module, configured to set a customized information database, and save a correspondence between the original version information, the new version information, and the configuration information in the customized information database;
- the determining module includes: the determining submodule, Determining whether the correspondence between the information of the original version, the version information of the new version, and the configuration information is the same as the correspondence stored in the customized information database; determining a sub-module for determining the new version and the case that the determination result is yes
- the configuration file is downloaded.
- the terminal further includes: a startup module, configured to start locking protection of the terminal, wherein the locking protection is used to restrict the terminal from using the corresponding customer identification module SIM card for communication.
- the terminal further includes: a second setting module, configured to preset an IMSI number segment a database, wherein one or more IMSI number segments are allowed to be communicated; a reading module is configured to read an IMSI number segment in the SIM card; and a determining module is configured to determine whether the read IMSI number segment exists in the IMSI number In the segment database, the communication module is configured to restrict the terminal from using the SIM card for communication if the determination result is negative.
- the terminal downloads and updates the new version according to the information of the original version, the version information of the new version, and the configuration information, and solves the problem that the user in the related art evades the lock protection of the operator by updating the version of the terminal. The problem can thus avoid the loss of the operator.
- FIG. 1 is a flow chart of a version update method in accordance with an embodiment of the present invention
- FIG. 2 is an interaction flow chart of a version update method according to a preferred embodiment 1 of the present invention
- FIG. 3 is a flowchart of the present invention.
- Figure 4 is a block diagram showing the structure of a terminal according to an embodiment of the present invention
- Figure 5 is a block diagram showing the structure of a terminal according to a preferred embodiment of the present invention
- Step S102 In the process of updating the terminal from the original version to the new version, the terminal acquires the version information of the original version, the version information of the new version to be downloaded, and the configuration information in the configuration file to be downloaded.
- Step S104 the terminal is based on the version information of the original version, the version information of the new version, and the configuration letter. Interest, be sure to download the new version and configuration file.
- Step S106 the terminal downloads the new version and the configuration file, and updates the version by using the downloaded new version and the downloaded configuration file.
- the user evades the lock protection of the operator by performing version update on the terminal.
- the terminal downloads and updates the new version according to the information of the original version, the version information of the new version, and the configuration information, and the user may be restricted from escaping the lock protection of the operator, thereby avoiding the operator. Loss.
- each version in the embodiment of the present invention uniformly uses the version plus the configuration file, that is, each version must be combined with the configuration file to be used normally.
- the configuration file stores ID information corresponding to a specific function of the terminal.
- the terminal sets the customized information database, and saves the original version information and the new information in the customized information database, before the terminal version information, the new version version information, and the configuration information are determined to be downloaded.
- the terminal determines, according to the information of the original version, the version information of the new version, and the configuration information, that the downloading of the new version and the configuration file includes: determining whether the information of the original version, the version information of the new version, and the correspondence between the configuration information are The correspondence stored in the customized information database is the same; if the judgment result is yes, it is determined to download the new version and the configuration file.
- the correspondence relationship may be used for comparing and determining by the terminal. In this way, the terminal determines to download the new version and the configuration file according to the correspondence, and the implementation manner is simple and reliable.
- the terminal initiates a lock protection, wherein the lock protection is used to restrict the terminal from using the corresponding SIM card for communication.
- the lock protection is immediately activated, which prevents the user from using other SIM cards for communication, thereby avoiding the loss of the operator.
- the limiting the terminal to use the corresponding SIM card for communication comprises: the terminal pre-setting an International Mobie Subscriber Identity (IMSI) number segment database, where one or more IMSI number segments that allow communication are saved.
- IMSI International Mobie Subscriber Identity
- the terminal reads the IMSI number segment in the SIM card; the terminal determines whether the read IMSI number segment exists in the IMSI number segment database; if the determination result is no, the terminal is restricted to use the SIM card for communication.
- the preferred embodiment specifically describes the process by which the terminal performs lock protection.
- a salesperson is required to perform manual activation; and, after the terminal subsequently replaces the SIM card, the after-sales personnel are required to perform the setting again.
- an IMSI number segment database storing one or more IMSI number segments that allow communication is provided, such that, whether it is a newly purchased terminal or a terminal that subsequently replaces the SIM card, the user only needs to purchase the corresponding one.
- the SIM card in one or more IMSI segments can be used for normal communication. Therefore, the preferred embodiment is simple to implement and can improve the user experience. It should be noted that, if the foregoing determination result is no, the operation of the terminal includes, but is not limited to, prompting the user, and does not start the normal boot process.
- the above IMSI number segment database may be saved in a specific area in the terminal, and even if the terminal performs version update, the content stored in the specific area is not erased.
- the configuration file further includes an IMSI update number segment; in the process of the terminal performing the version update, the terminal updates the IMSI number segment database by using the IMSI update number segment in the configuration file.
- the preferred embodiment specifically describes the process of updating the IMSI number segment database.
- this expansion may be utilized by some users to achieve the purpose of incorporating an illegal SIM card into the IMSI number segment database for communication.
- the terminal only when the version information of the original version, the version information of the new version, and the corresponding relationship of the configuration information match, the terminal can download and update the new version and configuration information, and perform the IMSI number in the update process. Update of the segment database. In this way, it is possible to avoid the illegal SIM card being included in the IMSI number segment database, thereby avoiding the loss of the operator. Therefore, the present invention has the following beneficial effects:
- the program has no effect on the after-sales customer service card change, no need to unlock, use the local issued commercial card to change the card.
- the content and related resources in the following embodiments of the present invention include an operator-customized terminal, a PC-side downloading tool, a base version (corresponding to the new version described above), and a configuration file.
- PREFERRED EMBODIMENT One preferred embodiment 1 describes the flow of interaction between sub-modules that are determined by the lock-up at boot time.
- 2 is an interaction flowchart of a version update method according to a preferred embodiment 1 of the present invention, which includes the following steps S202 to S210.
- Step S202 the terminal is powered on, initialized; detecting the inserted SIM card, issuing an inquiry command to access the IMSI number of the card.
- Step S204 After receiving the query command of the terminal, the SIM card returns the current IMSI number of the terminal.
- Step S206 the terminal invokes the IMSI number segment database matching module, and traverses the IMSI number one by one in the preset IMSI number segment database.
- Step S208 the terminal side according to the IMSI data matching result, the IMSI number of the current SIM card exists in the database, is considered to be a valid card, and continues the normal booting process.
- Step S210 The terminal side according to the IMSI data matching result, the IMSI number of the current SIM card does not exist in the database, and is considered to be an invalid card (for example, a card in another area), prompting the user to terminate the normal booting process.
- the terminal may be a terminal such as a GSM, a TD-SCDMA mobile phone, or a wireless access fixed station, and is not limited to a specific type; similarly, the card used by the terminal may also be a USIM card.
- Preferred Embodiment 2 This preferred embodiment 2 describes the flow of interaction between sub-modules of the version download operation.
- Step S302 the downloading tool accesses the basic version file to be downloaded, and extracts the identification information from the specific area.
- Step S304 the downloading tool accesses the configuration file to be downloaded, and extracts the identification information from the specific area.
- Step S306 the downloading tool accesses the terminal through the USB mode, and the terminal extracts the version information from the specific area according to the agreed communication protocol, and returns the information to the downloading tool.
- Step S308 the downloading tool combines the three pieces of identification information, and whether there is an existing combination in the customized information database, to detect whether the combination of the current version and the configuration file corresponds to the existing version of the terminal, and prevents the wrong basic version from being downloaded or Wrong configuration file.
- the design of the customized information database mainly includes the existing version identification field (the version information that has been downloaded in the terminal), the information combination of the downloadable basic version and the downloadable configuration file, and the new information after downloading. Version Information.
- Step S310 according to the database matching result, if the current combination is valid, the normal download is started, otherwise the download is not performed, and the user is prompted.
- Step S312 if the download is successful, the download tool software updates the terminal side version information according to the current basic version and the configuration file.
- the obtaining module 41 is configured to obtain version information of the original version, version information of the new version to be downloaded, and configuration information in the configuration file to be downloaded in the process of updating the terminal from the original version to the new version; determining module 42 and connecting The obtaining module 41 is configured to determine, according to the version information of the original version acquired by the obtaining module 41, the version information of the new version, and the configuration information, to determine the new version and the configuration file.
- the downloading module 43 is connected to the determining module 42 for downloading the new version and configuration file determined by the determining module 42; the updating module 44 is connected to the downloading module 43 for downloading the new version and using the download module 43.
- the configuration file downloaded by the download module 43 is updated.
- the user evades the lock protection of the operator by performing version update on the terminal.
- the downloading module 43 downloads the original version information, the new version version information, and the configuration information to perform the download of the new version
- the update module 44 uses the new version downloaded by the download module 43 and the configuration file downloaded by the download module 43.
- the version is updated, and the user can be restricted to avoid the operator's lock protection, thereby avoiding the loss of the operator.
- the terminal further includes a first setting module 45, configured to set a customized information database, and save the original version information, the new version information, and the configuration information corresponding relationship in the customized information database.
- the above determining module 42 includes a determining sub-module 421 and a determining sub-module 422. This will be described in detail below.
- the determining sub-module 421 is connected to the obtaining module 41 and the first setting module 45, and is configured to determine whether the information of the original version acquired by the obtaining module 41, the version information of the new version, and the correspondence between the configuration information are set with the first setting module 45.
- the corresponding relationship stored in the customized information database is the same; the determining sub-module 422 is connected to the determining sub-module 421 for determining to download the new version and the configuration file if the determining sub-module 421 determines that the result is yes.
- the correspondence relationship may be used for comparing and determining by the terminal. In this way, the determining sub-module 422 determines to download the new version and the configuration file according to the correspondence, and the implementation manner is simple and reliable.
- Figure 6 is a block diagram showing the structure of a terminal in the second preferred embodiment of the present invention.
- the terminal further includes a startup module 46, and is connected to the update module 44, for starting the lock protection of the terminal after the update module 44 performs the version update, wherein the lock protection is used to restrict the terminal from using the corresponding SIM card for communication.
- the startup module 46 immediately initiates the lock protection, which can prevent the user from using other SIM cards for communication, thereby avoiding the loss of the operator.
- the terminal further includes a second setting module 47, a reading module 48, and a determining module 49. And a communication module 410. The structure is described in detail below.
- the second setting module 47 is configured to preset an IMSI number segment database, where one or more IMSI number segments that are allowed to communicate are saved, and the reading module 48 is connected to the startup module 46 for starting the terminal at the startup module 46. After the lock protection, the IMSI number segment in the SIM card is read; the determining module 49 is connected to the second setting module 47 and the reading module 48 for determining whether the IMSI number segment read by the reading module 48 exists in the second setting.
- the module 47 is preset in the IMSI number segment database; the communication module 410 is connected to the judging module 49 for communicating with the SIM card if the judgment result of the judging module 49 is YES.
- the IMSI number segment database storing one or more IMSI number segments that allow communication is provided by the second setting module 47, such that whether it is a newly purchased terminal or a terminal that subsequently replaces the SIM card, only The user needs to purchase the SIM card in the one or more IMSI segments to perform normal communication. Therefore, the preferred embodiment is simple to implement and can improve user body risk.
- a version update method and a terminal are provided.
- the terminal downloads and updates the new version according to the information of the original version, the version information of the new version, and the configuration information, and solves the problem that the user in the related technology evades the lock protection of the operator by updating the version of the terminal, thereby avoiding operation. The loss of business.
- modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or they may be Multiple modules or steps are made into a single integrated circuit module.
- the invention is not limited to any specific combination of hardware and software.
- the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Where in the invention ⁇ " God and Within the principles, any modifications, equivalent substitutions, improvements, etc., are intended to be included within the scope of the present invention.
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
A method and terminal for version update are provided in the present invention. The method includes the following steps: in the process that the terminal is updated from the original version to the new version, the terminal acquires the version information of the original version, the version information of the new version to be downloaded and the configuration information in the configuration document to be downloaded (S102); the terminal determines to download the new version and the configuration document according to the version information of the original version, the version information of the new version and the configuration information (S104); the terminal downloads the new version and the configuration document, and updates the version using the downloaded new version and the downloaded configuration document (S106). The present invention solves the problem in the related art that the user may update the version by the terminal to escape the lock protection of the operator, thus the loss of the operator can be avoided.
Description
版本更新方法及终端 技术领域 本发明涉及通信领域, 具体而言, 涉及一种版本更新方法及终端。 背景技术 随着通信技术尤其是第三代 (3rd Generation, 简称为 3G ) 网络的发展, 终端尤其是手机、 无线接入固定台类通信产品应用越来越普及。 实际应用中, 运营商通常将特定终端的优惠销售与资费优惠政策进行结 合。 同时, 运营商往往希望对终端进行锁定保护, 即, 特定地区销售的终端 只能使用对应的客户识别模块 ( Subscriber Identity Module, 简称为 SIM )卡 进行通信。 但是如今, 部分用户可能通过对终端进行版本更新来逃避运营商的锁定 保护, 这将对运营商造成损失。 发明内容 针对相关技术中用户通过对终端进行版本更新来逃避运营商的锁定保护 的问题而提出本发明, 为此, 本发明的主要目的在于提供一种版本更新方法 及终端, 以解决上述问题。 为了实现上述目的,根据本发明的一个方面,提供了一种版本更新方法。 才艮据本发明的版本更新方法包括: 在终端由原版本更新为新版本的过程 中, 终端获取原版本的版本信息、 待下载的新版本的版本信息以及待下载的 配置文件中的配置信息; 终端 居原版本的版本信息、 新版本的版本信息以 及配置信息, 确定对新版本和配置文件进行下载; 终端对新版本和配置文件 进行下载, 并使用下载的新版本和下载的配置文件进行版本更新。 进一步地,在终端根据原版本的信息、新版本的版本信息以及配置信息, 确定对新版本和配置文件进行下载之前, 上述方法还包括: 终端设置定制信 息数据库, 并在定制信息数据库中保存原版本的信息、 新版本的信息以及配 置信息的对应关系。
进一步地, 终端根据原版本的信息、 新版本的版本信息以及配置信息, 确定对新版本和配置文件进行下载包括: 终端判断原版本的信息、 新版本的 版本信息以及配置信息的对应关系是否与定制信息数据库中保存的对应关系 相同; 如果判断结果为是, 则确定对新版本和配置文件进行下载。 进一步地, 在终端 -据下载的新版本和下载的配置文件进行版本更新之 后, 上述方法还包括: 终端启动锁定保护, 其中锁定保护用于限制终端使用 对应的客户识别模块 SIM卡进行通信。 进一步地, 限制终端使用对应的 SIM 卡进行通信包括: 终端预先设置 IMSI号段数据库, 其中保存有允许进行通信的一个或多个 IMSI号段; 终端 读取 SIM卡中的 IMSI号段; 终端判断读取的 IMSI号段是否存在于 IMSI号 段数据库中; 如果判断结果为否, 则限制终端使用 SIM卡进行通信。 进一步地, 配置文件中还包括 IMSI 更新号段; 在终端进行版本更新的 过程中, 终端使用配置文件中的 IMSI更新号段, 更新 IMSI号段数据库。 为了实现上述目的, 居本发明的另一个方面, 提供了一种终端。 才艮据本发明的终端包括: 获取模块, 用于在终端由原版本更新为新版本 的过程中, 获取原版本的版本信息、 待下载的新版本的版本信息以及待下载 的配置文件中的配置信息; 确定模块, 用于根据原版本的版本信息、 新版本 的版本信息以及配置信息, 确定对新版本和配置文件进行下载; 下载模块, 用于对新版本和配置文件进行下载; 更新模块, 用于使用下载的新版本和下 载的配置文件进行版本更新。 进一步地, 上述终端还包括第一设置模块, 用于设置定制信息数据库, 在定制信息数据库中保存原版本的信息、 新版本的信息以及配置信息的对应 关系; 确定模块包括: 判断子模块, 用于判断原版本的信息、 新版本的版本 信息以及配置信息的对应关系是否与定制信息数据库中保存的对应关系相 同; 确定子模块, 用于在判断结果为是的情况下, 确定对新版本和配置文件 进行下载。 进一步地, 上述终端还包括: 启动模块, 用于启动终端的锁定保护, 其 中锁定保护用于限制终端使用对应的客户识别模块 SIM卡进行通信。 进一步地, 上述终端还包括: 第二设置模块, 用于预先设置 IMSI 号段
数据库, 其中保存有允许进行通信的一个或多个 IMSI 号段; 读取模块, 用 于读取 SIM卡中的 IMSI号段; 判断模块, 用于判断读取的 IMSI号段是否 存在于 IMSI 号段数据库中; 通信模块, 用于在判断结果为否的情况下, 限 制终端使用 SIM卡进行通信。 通过本发明, 通过终端才艮据原版本的信息、 新版本的版本信息以及配置 信息进行新版本的下载与更新, 解决了相关技术中用户通过对终端进行版本 更新来逃避运营商的锁定保护的问题, 从而可以避免运营商的损失。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中: 图 1是 居本发明实施例的版本更新方法的流程图; 图 2是才艮据本发明优选实施例一的版本更新方法的交互流程图; 图 3是才艮据本发明优选实施例二的版本更新方法的交互流程图; 图 4是才艮据本发明实施例的终端的结构框图; 图 5是 居本发明优选实施例一的终端的结构框图; 图 6是 居本发明优选实施例二的终端的结构框图。 具体实施方式 需要说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中的特 征可以相互组合。 下面将参考附图并结合实施例来详细说明本发明。 图 1 是才艮据本发明实施例的版本更新方法的流程图, 包括如下的步骤 S 102至步骤 S 106。 步骤 S 102, 在终端由原版本更新为新版本的过程中, 终端获取原版本的 版本信息、待下载的新版本的版本信息以及待下载的配置文件中的配置信息。 步骤 S 104, 终端根据原版本的版本信息、 新版本的版本信息以及配置信
息, 确定对新版本和配置文件进行下载。 步骤 S 106, 终端对新版本和配置文件进行下载, 并使用下载的新版本和 下载的配置文件进行版本更新。 相关技术中, 用户通过对终端进行版本更新来逃避运营商的锁定保护。 本发明实施例中, 终端根据原版本的信息、 新版本的版本信息以及配置信息 进行新版本的下载与更新, 可以对该部分用户进行限制, 避免其逃避运营商 的锁定保护, 从而避免运营商的损失。 需要说明的是, 本发明实施例中的各版本统一使用版本加配置文件的方 式, 即, 各版本必须结合配置文件才能够正常使用。 并且, 上述配置文件中 保存有 ID信息, 其对应着终端的特定功能。 优选地, 在终端 居原版本的信息、 新版本的版本信息以及配置信息, 确定对新版本和配置文件进行下载之前, 终端设置定制信息数据库, 并在定 制信息数据库中保存原版本的信息、新版本的信息以及配置信息的对应关系。 优选地, 终端根据原版本的信息、 新版本的版本信息以及配置信息, 确 定对新版本和配置文件进行下载包括: 终端判断原版本的信息、 新版本的版 本信息以及配置信息的对应关系是否与定制信息数据库中保存的对应关系相 同; 如果判断结果为是, 则确定对新版本和配置文件进行下载。 本优选实施例中, 对应关系可以用于终端进行比较、 判断。 这样, 终端 才艮据该对应关系确定对新版本和配置文件进行下载, 实现方式简便、 可靠。 优选地,在终端 居下载的新版本和下载的配置文件进行版本更新之后 , 终端启动锁定保护, 其中锁定保护用于限制终端使用对应的 SIM 卡进行通 信。 本优选实施例中, 终端进行版本更新之后, 立即启动锁定保护, 可以避 免用户使用其它的 SIM卡进行通信, 从而避免了运营商的损失。 优选地, 限制终端使用对应的 SIM卡进行通信包括: 终端预先设置国际 移动用户识别码( International Mobie Subscriber Identity, 简称为 IMSI )号段 数据库, 其中保存有允许进行通信的一个或多个 IMSI号段; 终端读取 SIM 卡中的 IMSI号段; 终端判断读取的 IMSI号段是否存在于 IMSI号段数据库 中; 如果判断结果为否, 则限制终端使用 SIM卡进行通信。
本优选实施例具体描述了终端进行锁定保护的过程。 相关技术中, 在新购买的终端使用某 SIM卡之前, 需要销售人员进行手 动激活; 并且,在该终端后续更换 SIM卡之前, 需要售后人员重新进行设置。 本优选实施例中, 提供了保存有允许进行通信的一个或多个 IMSI 号段的 IMSI号段数据库, 这样, 不管是新购买的终端还是后续更换 SIM卡的终端, 只需要用户相应的购买该一个或多个 IMSI号段中的 SIM卡, 即可进行正常 通信。 因此, 本优选实施例实现方式简单, 并且能够提高用户体验。 需要说明的是, 如果上述判断结果为否, 则终端的操作包括但不限于提 示用户, 不启动正常开机流程。 优选地, 可以将上述 IMSI号段数据库保存在终端中的特定区域, 并且, 即便终端进行版本更新, 保存在该特定区域中的内容也不被擦除。 优选地, 配置文件中还包括 IMSI 更新号段; 在终端进行版本更新的过 程中, 终端使用配置文件中的 IMSI更新号段, 更新 IMSI号段数据库。 本优选实施例具体描述了对 IMSI号段数据库进行更新的过程。 实际应用中, 存在对 IMSI 号段数据库进行扩容的可能性。 同时, 这种 扩容可能被部分用户利用, 以实现将非法的 SIM卡纳入 IMSI号段数据库从 而进行通信的目的。 本优选实施例中, 只有原版本的版本信息、 新版本的版 本信息以及配置信息的对应关系均匹配的情况下, 终端才能进行新版本和配 置信息下载、 更新, 并且在更新过程中进行 IMSI号段数据库的更新。 这样, 可以避免将非法的 SIM卡纳入 IMSI号段数据库, 从而避免运营商的损失。 因此, 本发明具备如下的有益效果: TECHNICAL FIELD The present invention relates to the field of communications, and in particular to a version update method and a terminal. BACKGROUND With the development of communication technologies, especially 3rd generation (3G) networks, terminals, especially mobile phones and wireless access fixed-class communication products, are becoming more and more popular. In practical applications, operators usually combine preferential sales of specific terminals with tariff preferential policies. At the same time, operators often want to lock the terminal, that is, the terminal sold in a specific region can only use the corresponding Subscriber Identity Module (SIM) card for communication. But nowadays, some users may evade the operator's lock protection by updating the terminal version, which will cause losses to the operator. SUMMARY OF THE INVENTION The present invention has been made in view of the problem that a user evades an operator's lock protection by performing a version update on a terminal. To this end, the main object of the present invention is to provide a version update method and a terminal to solve the above problem. In order to achieve the above object, according to an aspect of the present invention, a version update method is provided. The method for updating the version according to the present invention includes: in the process of updating the terminal from the original version to the new version, the terminal obtains the version information of the original version, the version information of the new version to be downloaded, and the configuration information in the configuration file to be downloaded. The version information of the original version of the terminal, the version information of the new version, and the configuration information determine the download of the new version and the configuration file; the terminal downloads the new version and the configuration file, and uses the downloaded new version and the downloaded configuration file. new version update. Further, before the terminal determines to download the new version and the configuration file according to the information of the original version, the version information of the new version, and the configuration information, the method further includes: the terminal setting the customized information database, and saving the original in the customized information database Correspondence between version information, new version information, and configuration information. Further, the terminal determines, according to the information of the original version, the version information of the new version, and the configuration information, that the downloading of the new version and the configuration file includes: determining whether the information of the original version, the version information of the new version, and the correspondence between the configuration information are The correspondence stored in the customized information database is the same; if the judgment result is yes, it is determined to download the new version and the configuration file. Further, after the terminal-based downloading the new version and the downloaded configuration file for version update, the method further includes: the terminal starts the lock protection, wherein the lock protection is used to restrict the terminal from using the corresponding customer identification module SIM card for communication. Further, limiting the terminal to use the corresponding SIM card for communication comprises: the terminal pre-setting an IMSI number segment database, where one or more IMSI number segments for allowing communication are stored; the terminal reading the IMSI number segment in the SIM card; Whether the read IMSI number segment exists in the IMSI number segment database; if the judgment result is no, the terminal is restricted from using the SIM card for communication. Further, the configuration file further includes an IMSI update number segment; in the process of the terminal performing the version update, the terminal updates the IMSI number segment database by using the IMSI update number segment in the configuration file. In order to achieve the above object, in another aspect of the invention, a terminal is provided. The terminal according to the present invention includes: an obtaining module, configured to obtain version information of an original version, version information of a new version to be downloaded, and a configuration file to be downloaded in a process in which the terminal is updated from the original version to the new version. a configuration module, configured to: download a new version and a configuration file according to version information of the original version, version information of the new version, and configuration information; and download a module for downloading the new version and the configuration file; , used to update the version with the downloaded new version and the downloaded configuration file. Further, the terminal further includes a first setting module, configured to set a customized information database, and save a correspondence between the original version information, the new version information, and the configuration information in the customized information database; the determining module includes: the determining submodule, Determining whether the correspondence between the information of the original version, the version information of the new version, and the configuration information is the same as the correspondence stored in the customized information database; determining a sub-module for determining the new version and the case that the determination result is yes The configuration file is downloaded. Further, the terminal further includes: a startup module, configured to start locking protection of the terminal, wherein the locking protection is used to restrict the terminal from using the corresponding customer identification module SIM card for communication. Further, the terminal further includes: a second setting module, configured to preset an IMSI number segment a database, wherein one or more IMSI number segments are allowed to be communicated; a reading module is configured to read an IMSI number segment in the SIM card; and a determining module is configured to determine whether the read IMSI number segment exists in the IMSI number In the segment database, the communication module is configured to restrict the terminal from using the SIM card for communication if the determination result is negative. Through the invention, the terminal downloads and updates the new version according to the information of the original version, the version information of the new version, and the configuration information, and solves the problem that the user in the related art evades the lock protection of the operator by updating the version of the terminal. The problem can thus avoid the loss of the operator. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 1 is a flow chart of a version update method in accordance with an embodiment of the present invention; FIG. 2 is an interaction flow chart of a version update method according to a preferred embodiment 1 of the present invention; FIG. 3 is a flowchart of the present invention. Figure 4 is a block diagram showing the structure of a terminal according to an embodiment of the present invention; Figure 5 is a block diagram showing the structure of a terminal according to a preferred embodiment of the present invention; A block diagram of a terminal of the preferred embodiment 2 of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. 1 is a flowchart of a version update method according to an embodiment of the present invention, including the following steps S102 to S106. Step S102: In the process of updating the terminal from the original version to the new version, the terminal acquires the version information of the original version, the version information of the new version to be downloaded, and the configuration information in the configuration file to be downloaded. Step S104, the terminal is based on the version information of the original version, the version information of the new version, and the configuration letter. Interest, be sure to download the new version and configuration file. Step S106, the terminal downloads the new version and the configuration file, and updates the version by using the downloaded new version and the downloaded configuration file. In the related art, the user evades the lock protection of the operator by performing version update on the terminal. In the embodiment of the present invention, the terminal downloads and updates the new version according to the information of the original version, the version information of the new version, and the configuration information, and the user may be restricted from escaping the lock protection of the operator, thereby avoiding the operator. Loss. It should be noted that each version in the embodiment of the present invention uniformly uses the version plus the configuration file, that is, each version must be combined with the configuration file to be used normally. Further, the configuration file stores ID information corresponding to a specific function of the terminal. Preferably, before the downloading of the new version and the configuration file, the terminal sets the customized information database, and saves the original version information and the new information in the customized information database, before the terminal version information, the new version version information, and the configuration information are determined to be downloaded. The relationship between the version information and the configuration information. Preferably, the terminal determines, according to the information of the original version, the version information of the new version, and the configuration information, that the downloading of the new version and the configuration file includes: determining whether the information of the original version, the version information of the new version, and the correspondence between the configuration information are The correspondence stored in the customized information database is the same; if the judgment result is yes, it is determined to download the new version and the configuration file. In the preferred embodiment, the correspondence relationship may be used for comparing and determining by the terminal. In this way, the terminal determines to download the new version and the configuration file according to the correspondence, and the implementation manner is simple and reliable. Preferably, after the new version downloaded by the terminal and the downloaded configuration file are updated, the terminal initiates a lock protection, wherein the lock protection is used to restrict the terminal from using the corresponding SIM card for communication. In the preferred embodiment, after the terminal performs the version update, the lock protection is immediately activated, which prevents the user from using other SIM cards for communication, thereby avoiding the loss of the operator. Preferably, the limiting the terminal to use the corresponding SIM card for communication comprises: the terminal pre-setting an International Mobie Subscriber Identity (IMSI) number segment database, where one or more IMSI number segments that allow communication are saved. The terminal reads the IMSI number segment in the SIM card; the terminal determines whether the read IMSI number segment exists in the IMSI number segment database; if the determination result is no, the terminal is restricted to use the SIM card for communication. The preferred embodiment specifically describes the process by which the terminal performs lock protection. In the related art, before a newly purchased terminal uses a SIM card, a salesperson is required to perform manual activation; and, after the terminal subsequently replaces the SIM card, the after-sales personnel are required to perform the setting again. In the preferred embodiment, an IMSI number segment database storing one or more IMSI number segments that allow communication is provided, such that, whether it is a newly purchased terminal or a terminal that subsequently replaces the SIM card, the user only needs to purchase the corresponding one. The SIM card in one or more IMSI segments can be used for normal communication. Therefore, the preferred embodiment is simple to implement and can improve the user experience. It should be noted that, if the foregoing determination result is no, the operation of the terminal includes, but is not limited to, prompting the user, and does not start the normal boot process. Preferably, the above IMSI number segment database may be saved in a specific area in the terminal, and even if the terminal performs version update, the content stored in the specific area is not erased. Preferably, the configuration file further includes an IMSI update number segment; in the process of the terminal performing the version update, the terminal updates the IMSI number segment database by using the IMSI update number segment in the configuration file. The preferred embodiment specifically describes the process of updating the IMSI number segment database. In practical applications, there is a possibility of expanding the IMSI number segment database. At the same time, this expansion may be utilized by some users to achieve the purpose of incorporating an illegal SIM card into the IMSI number segment database for communication. In the preferred embodiment, only when the version information of the original version, the version information of the new version, and the corresponding relationship of the configuration information match, the terminal can download and update the new version and configuration information, and perform the IMSI number in the update process. Update of the segment database. In this way, it is possible to avoid the illegal SIM card being included in the IMSI number segment database, thereby avoiding the loss of the operator. Therefore, the present invention has the following beneficial effects:
①、 有效防范运营商定制的终端被套机、 串货到其他地区使用, 减少资 费优惠方面带来的损失。 1. Effectively prevent operators from customizing the terminal quilt cover and string cargo to other areas to reduce the losses caused by the tariff concessions.
②、 该方案对售后客服换卡没有影响, 无需解锁, 使用当地发行的商用 卡换卡即可。 2. The program has no effect on the after-sales customer service card change, no need to unlock, use the local issued commercial card to change the card.
③、 卡侧和网络侧不需要进行改动, 综合实施成本较低。 下面将结合实例对本发明实施例的实现过程进行详细描述。
下述本发明实施例中的内容与相关资源包括运营商定制的终端、 PC侧下 载工具、 基础版本 (相当于上述的新版本)、 配置文件。 优选实施例一 本优选实施例一描述了开机时锁机判断的子模块之间的交互流程。 图 2 是 居本发明优选实施例一的版本更新方法的交互流程图, 包括如下的步骤 S202至步骤 S210。 步骤 S202, 终端开机, 初始化; 检测插入的 SIM卡, 发出查询命令访 问卡的 IMSI号。 步骤 S204 , SIM卡接收到终端的查询命令后,返回给终端当前 IMSI号。 步骤 S206, 终端调用 IMSI号段数据库匹配模块, 将该 IMSI号在预置 的 IMSI号段数据库中逐个遍历查找。 步骤 S208, 终端侧根据 IMSI数据匹配结果, 当前 SIM卡的 IMSI号在 数据库存在, 认为是有效卡, 继续正常开机流程。 步骤 S210, 终端侧根据 IMSI数据匹配结果, 当前 SIM卡的 IMSI号在 数据库不存在, 认为是无效卡(例如其他地区的卡), 提示用户, 终止正常开 机流程。 需要说明的是, 上述终端可以是 GSM、 TD-SCDMA手机、 无线接入固 定台等终端, 不限于特定类型; 类似的, 其中终端使用的卡也可以是 USIM 卡。 优选实施例二 本优选实施例二描述了版本下载操作的子模块之间交互流程。 图 3是根 据本发明优选实施例二的版本更新方法的交互流程图, 包括如下的步 4聚 S302 至步 4聚 S312。 步骤 S302, 下载工具访问待下载的基础版本文件, 从特定区域提取标识 信息。 步骤 S304,下载工具访问待下载的配置文件,从特定区域提取标识信息。
步骤 S306, 下载工具通过 USB方式访问终端, 终端 艮据约定的通信协 议, 从特定区域提取版本信息, 返回给下载工具。 步骤 S308, 下载工具对上述 3个标识信息进行组合, 在定制信息数据库 匹配是否存在已有组合, 以检测当前版本与配置文件的组合和终端已有的版 本是否对应, 防止下载错误的基础版本或者错误的配置文件。 下载版本时, 如上所述, 遍历每一条记录, 通过前 3个字段的组合进行 匹配, 如果存在相同组合, 则可以下载, 并在下载成功后, 将对应记录的新 版本标识字段信息写入终端指定区域。 需要说明的是, 对于定制信息数据库的设计, 主要是包括已有版本标识 字段(终端内已经下载的版本信息)、可下载的基础版本与可下载的配置文件 的信息组合, 以及下载后的新版本信息。 通过数据库记录辅助下载工具判断处理, 对不同的定制版本下载进行控 制, 同时考虑方便非定制功能的升级(在基础版本体现, 例如 bug改进、 性 能提升等)。 实施方案如下表 1所示, 其中各字段名称为示意参考。
3. No changes are required on the card side and the network side, and the comprehensive implementation cost is low. The implementation process of the embodiment of the present invention will be described in detail below with reference to examples. The content and related resources in the following embodiments of the present invention include an operator-customized terminal, a PC-side downloading tool, a base version (corresponding to the new version described above), and a configuration file. PREFERRED EMBODIMENT One preferred embodiment 1 describes the flow of interaction between sub-modules that are determined by the lock-up at boot time. 2 is an interaction flowchart of a version update method according to a preferred embodiment 1 of the present invention, which includes the following steps S202 to S210. Step S202, the terminal is powered on, initialized; detecting the inserted SIM card, issuing an inquiry command to access the IMSI number of the card. Step S204: After receiving the query command of the terminal, the SIM card returns the current IMSI number of the terminal. Step S206, the terminal invokes the IMSI number segment database matching module, and traverses the IMSI number one by one in the preset IMSI number segment database. Step S208, the terminal side according to the IMSI data matching result, the IMSI number of the current SIM card exists in the database, is considered to be a valid card, and continues the normal booting process. Step S210: The terminal side according to the IMSI data matching result, the IMSI number of the current SIM card does not exist in the database, and is considered to be an invalid card (for example, a card in another area), prompting the user to terminate the normal booting process. It should be noted that the terminal may be a terminal such as a GSM, a TD-SCDMA mobile phone, or a wireless access fixed station, and is not limited to a specific type; similarly, the card used by the terminal may also be a USIM card. Preferred Embodiment 2 This preferred embodiment 2 describes the flow of interaction between sub-modules of the version download operation. 3 is an interaction flowchart of a version update method according to a preferred embodiment 2 of the present invention, including the following step 4: S302 to step 4: S312. Step S302, the downloading tool accesses the basic version file to be downloaded, and extracts the identification information from the specific area. Step S304, the downloading tool accesses the configuration file to be downloaded, and extracts the identification information from the specific area. Step S306, the downloading tool accesses the terminal through the USB mode, and the terminal extracts the version information from the specific area according to the agreed communication protocol, and returns the information to the downloading tool. Step S308, the downloading tool combines the three pieces of identification information, and whether there is an existing combination in the customized information database, to detect whether the combination of the current version and the configuration file corresponds to the existing version of the terminal, and prevents the wrong basic version from being downloaded or Wrong configuration file. When downloading the version, as described above, traversing each record, matching by the combination of the first three fields, if there is the same combination, it can be downloaded, and after the download is successful, the new version identification field information of the corresponding record is written into the terminal. specific area. It should be noted that the design of the customized information database mainly includes the existing version identification field (the version information that has been downloaded in the terminal), the information combination of the downloadable basic version and the downloadable configuration file, and the new information after downloading. Version Information. Through the database record auxiliary download tool judgment processing, control the download of different customized versions, and consider the upgrade of non-customized functions (in the basic version, such as bug improvement, performance improvement, etc.). The implementation scheme is shown in Table 1 below, wherein each field name is a schematic reference.
表 1 数据库记录示意表 Table 1 Database record diagram
步骤 S310,根据数据库匹配结果,如果当前组合有效, 则开始正常下载, 否则不进行下载、 提示用户。 步骤 S312,如果下载成功,下载工具软件才艮据当前基础版本和配置文件, 更新终端侧版本信息。 需要说明的是, 在附图的流程图示出的步骤可以在诸如一组计算机可执 行指令的计算机系统中执行, 并且, 虽然在流程图中示出了逻辑顺序, 但是 在某些情况下, 可以以不同于此处的顺序执行所示出或描述的步骤。 本发明实施例提供了一种终端,该终端可以用于实现上述版本更新方法。 图 4 是根据本发明实施例的终端的结构框图, 包括获取模块 41 , 确定模块 42 , 下载模块 43和更新模块 44。 下面对其结构进行详细描述。 获取模块 41 , 用于在终端由原版本更新为新版本的过程中, 获取原版本 的版本信息、 待下载的新版本的版本信息以及待下载的配置文件中的配置信 息; 确定模块 42 , 连接至获取模块 41 , 用于根据获取模块 41获取的原版本 的版本信息、 新版本的版本信息以及配置信息, 确定对新版本和配置文件进
行下载; 下载模块 43 , 连接至确定模块 42 , 用于对确定模块 42确定的新版 本和配置文件进行下载; 更新模块 44 , 连接至下载模块 43 , 用于使用下载 模块 43下载的新版本和下载模块 43下载的配置文件进行版本更新。 相关技术中, 用户通过对终端进行版本更新来逃避运营商的锁定保护。 本发明实施例中, 通过下载模块 43 居原版本的信息、 新版本的版本信息 以及配置信息进行新版本的下载, 更新模块 44使用下载模块 43下载的新版 本和下载模块 43 下载的配置文件进行版本更新, 可以对该部分用户进行限 制, 避免其逃避运营商的锁定保护, 从而避免运营商的损失。 图 5是 居本发明优选实施例一的终端的结构框图。 优选地, 上述终端还包括第一设置模块 45 , 用于设置定制信息数据库, 并在定制信息数据库中保存原版本的信息、 新版本的信息以及配置信息的对 应关系。 上述确定模块 42包括判断子模块 421和确定子模块 422。 下面对其 进行详细描述。 判断子模块 421 , 连接至获取模块 41 和第一设置模块 45 , 用于判断获 取模块 41 获取的原版本的信息、 新版本的版本信息以及配置信息的对应关 系是否与第一设置模块 45 设置的定制信息数据库中保存的对应关系相同; 确定子模块 422 , 连接至判断子模块 421 , 用于在判断子模块 421 判断结果 为是的情况下, 确定对新版本和配置文件进行下载。 本优选实施例中, 对应关系可以用于终端进行比较、 判断。 这样, 确定 子模块 422根据该对应关系确定对新版本和配置文件进行下载, 其实现方式 简便、 可靠。 图 6是 居本发明优选实施例二的终端的结构框图。 优选地, 上述终端还包括启动模块 46 , 连接至更新模块 44 , 用于在更 新模块 44 进行版本更新之后启动终端的锁定保护, 其中锁定保护用于限制 终端使用对应的 SIM卡进行通信。 本优选实施例中, 在更新模块 44进行版本更新之后, 启动模块 46立即 启动锁定保护, 可以避免用户使用其它的 SIM卡进行通信, 从而避免了运营 商的损失。 优选地, 上述终端还包括第二设置模块 47 , 读取模块 48 , 判断模块 49
和通信模块 410。 下面对其结构进行详细描述。 第二设置模块 47, 用于预先设置 IMSI号段数据库, 其中保存有允许进 行通信的一个或多个 IMSI号段; 读取模块 48, 连接至启动模块 46, 用于在 启动模块 46启动终端的锁定保护之后, 读取 SIM卡中的 IMSI号段; 判断模 块 49, 连接至第二设置模块 47和读取模块 48, 用于判断读取模块 48读取 的 IMSI号段是否存在于第二设置模块 47预先设置的 IMSI号段数据库中; 通信模块 410, 连接至判断模块 49, 用于在判断模块 49的判断结果为是的 情况下, 使用 SIM卡进行通信。 相关技术中, 在新购买的终端使用某 SIM卡之前, 需要销售人员进行手 动激活; 并且,在该终端后续更换 SIM卡之前, 需要售后人员重新进行设置。 本优选实施例中, 通过第二设置模块 47 提供了保存有允许进行通信的一个 或多个 IMSI号段的 IMSI号段数据库, 这样, 不管是新购买的终端还是后续 更换 SIM卡的终端,只需要用户相应的购买该一个或多个 IMSI号段中的 SIM 卡, 即可进行正常通信。 因此, 本优选实施例实现方式简单, 并且能够提高 用户体 -险。 需要说明的是, 装置实施例中描述的终端对应于上述的方法实施例, 其 具体的实现过程在方法实施例中已经进行过详细说明, 在此不再赞述。 综上所述, 居本发明的上述实施例,提供了一种版本更新方法及终端。 通过终端根据原版本的信息、 新版本的版本信息以及配置信息进行新版本的 下载与更新, 解决了相关技术中用户通过对终端进行版本更新来逃避运营商 的锁定保护的问题, 从而可以避免运营商的损失。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可 以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布 在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程 序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 或 者将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制 作成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软 件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的^"神和
原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。
Step S310, according to the database matching result, if the current combination is valid, the normal download is started, otherwise the download is not performed, and the user is prompted. Step S312, if the download is successful, the download tool software updates the terminal side version information according to the current basic version and the configuration file. It should be noted that the steps shown in the flowchart of the accompanying drawings may be performed in a computer system such as a set of computer executable instructions, and, although the logical order is shown in the flowchart, in some cases, The steps shown or described may be performed in an order different than that herein. The embodiment of the invention provides a terminal, which can be used to implement the above version update method. 4 is a structural block diagram of a terminal according to an embodiment of the present invention, including an obtaining module 41, a determining module 42, a downloading module 43, and an updating module 44. The structure is described in detail below. The obtaining module 41 is configured to obtain version information of the original version, version information of the new version to be downloaded, and configuration information in the configuration file to be downloaded in the process of updating the terminal from the original version to the new version; determining module 42 and connecting The obtaining module 41 is configured to determine, according to the version information of the original version acquired by the obtaining module 41, the version information of the new version, and the configuration information, to determine the new version and the configuration file. The downloading module 43 is connected to the determining module 42 for downloading the new version and configuration file determined by the determining module 42; the updating module 44 is connected to the downloading module 43 for downloading the new version and using the download module 43. The configuration file downloaded by the download module 43 is updated. In the related art, the user evades the lock protection of the operator by performing version update on the terminal. In the embodiment of the present invention, the downloading module 43 downloads the original version information, the new version version information, and the configuration information to perform the download of the new version, and the update module 44 uses the new version downloaded by the download module 43 and the configuration file downloaded by the download module 43. The version is updated, and the user can be restricted to avoid the operator's lock protection, thereby avoiding the loss of the operator. FIG. 5 is a structural block diagram of a terminal in a preferred embodiment 1 of the present invention. Preferably, the terminal further includes a first setting module 45, configured to set a customized information database, and save the original version information, the new version information, and the configuration information corresponding relationship in the customized information database. The above determining module 42 includes a determining sub-module 421 and a determining sub-module 422. This will be described in detail below. The determining sub-module 421 is connected to the obtaining module 41 and the first setting module 45, and is configured to determine whether the information of the original version acquired by the obtaining module 41, the version information of the new version, and the correspondence between the configuration information are set with the first setting module 45. The corresponding relationship stored in the customized information database is the same; the determining sub-module 422 is connected to the determining sub-module 421 for determining to download the new version and the configuration file if the determining sub-module 421 determines that the result is yes. In the preferred embodiment, the correspondence relationship may be used for comparing and determining by the terminal. In this way, the determining sub-module 422 determines to download the new version and the configuration file according to the correspondence, and the implementation manner is simple and reliable. Figure 6 is a block diagram showing the structure of a terminal in the second preferred embodiment of the present invention. Preferably, the terminal further includes a startup module 46, and is connected to the update module 44, for starting the lock protection of the terminal after the update module 44 performs the version update, wherein the lock protection is used to restrict the terminal from using the corresponding SIM card for communication. In the preferred embodiment, after the update module 44 performs the version update, the startup module 46 immediately initiates the lock protection, which can prevent the user from using other SIM cards for communication, thereby avoiding the loss of the operator. Preferably, the terminal further includes a second setting module 47, a reading module 48, and a determining module 49. And a communication module 410. The structure is described in detail below. The second setting module 47 is configured to preset an IMSI number segment database, where one or more IMSI number segments that are allowed to communicate are saved, and the reading module 48 is connected to the startup module 46 for starting the terminal at the startup module 46. After the lock protection, the IMSI number segment in the SIM card is read; the determining module 49 is connected to the second setting module 47 and the reading module 48 for determining whether the IMSI number segment read by the reading module 48 exists in the second setting. The module 47 is preset in the IMSI number segment database; the communication module 410 is connected to the judging module 49 for communicating with the SIM card if the judgment result of the judging module 49 is YES. In the related art, before a newly purchased terminal uses a SIM card, a salesperson is required to perform manual activation; and, after the terminal subsequently replaces the SIM card, the after-sales personnel are required to perform the setting again. In the preferred embodiment, the IMSI number segment database storing one or more IMSI number segments that allow communication is provided by the second setting module 47, such that whether it is a newly purchased terminal or a terminal that subsequently replaces the SIM card, only The user needs to purchase the SIM card in the one or more IMSI segments to perform normal communication. Therefore, the preferred embodiment is simple to implement and can improve user body risk. It should be noted that the terminal described in the device embodiment corresponds to the foregoing method embodiment, and the specific implementation process has been described in detail in the method embodiment, and is not described herein. In summary, in the above embodiment of the present invention, a version update method and a terminal are provided. The terminal downloads and updates the new version according to the information of the original version, the version information of the new version, and the configuration information, and solves the problem that the user in the related technology evades the lock protection of the operator by updating the version of the terminal, thereby avoiding operation. The loss of business. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or they may be Multiple modules or steps are made into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Where in the invention ^" God and Within the principles, any modifications, equivalent substitutions, improvements, etc., are intended to be included within the scope of the present invention.
Claims
权 利 要 求 书 Claims
1. 一种版本更新方法, 其特征在于, 包括: A version update method, comprising:
在终端由原版本更新为新版本的过程中, 所述终端获取所述原版本 的版本信息、 待下载的新版本的版本信息以及待下载的配置文件中的配 置信息; In the process of updating the terminal from the original version to the new version, the terminal acquires the version information of the original version, the version information of the new version to be downloaded, and the configuration information in the configuration file to be downloaded;
所述终端 -据所述原版本的版本信息、 所述新版本的版本信息以及 所述配置信息, 确定对所述新版本和所述配置文件进行下载; Determining, by the terminal, downloading the new version and the configuration file according to the version information of the original version, the version information of the new version, and the configuration information;
所述终端对所述新版本和所述配置文件进行下载, 并使用下载的所 述新版本和下载的所述配置文件进行版本更新。 The terminal downloads the new version and the configuration file, and updates the version using the downloaded new version and the downloaded configuration file.
2. 居权利要求 1所述的方法, 其特征在于, 在所述终端 居所述原版本 的信息、 所述新版本的版本信息以及所述配置信息, 确定对所述新版本 和所述配置文件进行下载之前, 所述方法还包括: 所述终端设置定制信息数据库, 并在所述定制信息数据库中保存所 述原版本的信息、 所述新版本的信息以及所述配置信息的对应关系。 2. The method of claim 1, wherein the information of the original version, the version information of the new version, and the configuration information are determined at the terminal, and the new version and the configuration are determined. Before the file is downloaded, the method further includes: the terminal setting a customized information database, and storing the information of the original version, the information of the new version, and the correspondence between the configuration information in the customized information database.
3 居权利要求 2所述的方法, 其特征在于, 所述终端 -据所述原版本的 信息、 所述新版本的版本信息以及所述配置信息, 确定对所述新版本和 所述配置文件进行下载包括: The method of claim 2, wherein the terminal determines the new version and the configuration file according to the information of the original version, the version information of the new version, and the configuration information. Downloading includes:
所述终端判断所述原版本的信息、 所述新版本的版本信息以及所述 配置信息的对应关系是否与所述定制信息数据库中保存的对应关系相 同; Determining, by the terminal, the information about the original version, the version information of the new version, and the correspondence between the configuration information and the corresponding relationship saved in the customized information database;
如果判断结果为是,则确定对所述新版本和所述配置文件进行下载。 If the result of the determination is yes, it is determined that the new version and the configuration file are downloaded.
4. 根据权利要求 1至 3中任一项所述的方法, 其特征在于, 在所述终端根 据下载的所述新版本和下载的所述配置文件进行版本更新之后, 所述方 法还包括: The method according to any one of claims 1 to 3, wherein after the terminal performs version update according to the downloaded new version and the downloaded configuration file, the method further includes:
所述终端启动锁定保护, 其中所述锁定保护用于限制所述终端使用 对应的客户识别模块 SIM卡进行通信。
才艮据权利要求 4所述的方法,其特征在于,限制所述终端使用对应的 SIM 卡进行通信包括: The terminal initiates lock protection, wherein the lock protection is used to restrict the terminal from communicating using a corresponding customer identification module SIM card. The method of claim 4, wherein restricting the terminal to communicate using the corresponding SIM card comprises:
所述终端预先设置国际移动用户识别码 IMSI 号段数据库, 其中保 存有允许进行通信的一个或多个 IMSI号段; The terminal presets an international mobile subscriber identity code IMSI number segment database in which one or more IMSI number segments that allow communication are stored;
所述终端读取 SIM卡中的 IMSI号段; The terminal reads an IMSI number segment in the SIM card;
所述终端判断所述读取的 IMSI号段是否存在于所述 IMSI号段数据 库中; Determining, by the terminal, whether the read IMSI number segment exists in the IMSI number segment database;
如果判断结果为否, 则限制所述终端使用所述 SIM卡进行通信。 根据权利要求 5所述的方法, 其特征在于, If the result of the determination is no, the terminal is restricted from communicating using the SIM card. The method of claim 5, wherein
所述配置文件中还包括 IMSI更新号段; The configuration file further includes an IMSI update number segment;
在所述终端进行版本更新的过程中, 所述终端使用所述配置文件中 的所述 IMSI更新号段, 更新所述 IMSI号段数据库。 一种终端, 其特征在于, 包括: In the process of the version update of the terminal, the terminal updates the IMSI number segment database by using the IMSI update number segment in the configuration file. A terminal, comprising:
获取模块, 用于在终端由原版本更新为新版本的过程中, 获取所述 原版本的版本信息、 待下载的新版本的版本信息以及待下载的配置文件 中的配置信息; An obtaining module, configured to obtain version information of the original version, version information of a new version to be downloaded, and configuration information in a configuration file to be downloaded, in the process of updating the terminal from the original version to the new version;
确定模块, 用于才艮据所述原版本的版本信息、 所述新版本的版本信 息以及所述配置信息, 确定对所述新版本和所述配置文件进行下载; 下载模块, 用于对所述新版本和所述配置文件进行下载; 更新模块, 用于使用下载的所述新版本和下载的所述配置文件进行 版本更新。 才艮据权利要求 7所述的终端, 其特征在于, 还包括 a determining module, configured to determine, according to the version information of the original version, the version information of the new version, and the configuration information, downloading the new version and the configuration file; and downloading a module, The new version and the configuration file are downloaded; an update module is configured to perform version update using the downloaded new version and the downloaded configuration file. The terminal according to claim 7, characterized in that it further comprises
第一设置模块, 用于设置定制信息数据库, 并在所述定制信息数据 库中保存所述原版本的信息、 所述新版本的信息以及所述配置信息的对 应关系; a first setting module, configured to set a customized information database, and save the information of the original version, the information of the new version, and the corresponding relationship of the configuration information in the customized information database;
所述确定模块包括: 判断子模块, 用于判断所述原版本的信息、 所述新版本的版本 信息以及所述配置信息的对应关系是否与所述定制信息数据库中保 存的对应关系相同;
确定子模块, 用于在判断结果为是的情况下, 确定对所述新版 本和所述配置文件进行下载。 The determining module includes: a determining submodule, configured to determine whether the information of the original version, the version information of the new version, and the correspondence between the configuration information are the same as the corresponding relationship stored in the customized information database; Determining a sub-module, configured to determine to download the new version and the configuration file if the determination result is yes.
9. 根据权利要求 7或 8所述的终端, 其特征在于, 还包括: 启动模块, 用 于启动所述终端的锁定保护, 其中所述锁定保护用于限制所述终端使用 对应的客户识别模块 SIM卡进行通信。 The terminal according to claim 7 or 8, further comprising: a startup module, configured to start locking protection of the terminal, wherein the locking protection is used to restrict the terminal from using a corresponding customer identification module The SIM card communicates.
10. 根据权利要求 9所述的终端, 其特征在于, 还包括: The terminal according to claim 9, further comprising:
第二设置模块, 用于预先设置国际移动用户识别码 IMSI 号段数据 库, 其中保存有允许进行通信的一个或多个 IMSI号段; a second setting module, configured to pre-set an international mobile subscriber identity code IMSI number segment database, where one or more IMSI number segments that allow communication are stored;
读取模块, 用于读取 SIM卡中的 IMSI号段; 判断模块, 用于判断所述读取的 IMSI号段是否存在于所述 IMSI号 段数据库中; a reading module, configured to read an IMSI number segment in the SIM card, and a determining module, configured to determine whether the read IMSI number segment exists in the IMSI number segment database;
通信模块, 用于在判断结果为否的情况下, 限制所述终端使用所述 SIM卡进行通信。
And a communication module, configured to restrict the terminal from using the SIM card to communicate if the determination result is no.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010286304.0 | 2010-09-15 | ||
CN201010286304.0A CN101938737B (en) | 2010-09-15 | 2010-09-15 | Version updating method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2012034327A1 true WO2012034327A1 (en) | 2012-03-22 |
Family
ID=43391820
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2010/079480 WO2012034327A1 (en) | 2010-09-15 | 2010-12-06 | Method and terminal for version update |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101938737B (en) |
WO (1) | WO2012034327A1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2988014A1 (en) * | 2015-06-03 | 2016-12-08 | Deutsche Telekom Ag | Method for transmitting parameter data between a telecommunications network and a telecommunications terminal and for activating and/or changing and/or deactivating a communication profile on the telecommunications terminal, which communication profile is defined or denoted by the parameter data, system for transmitting parameter data, telecommunications ... |
CN109218054B (en) * | 2017-07-03 | 2022-08-09 | 腾讯科技(深圳)有限公司 | Terminal dynamic configuration, corresponding server implementation method, device and storage medium |
CN107277271A (en) * | 2017-07-20 | 2017-10-20 | 青岛海信移动通信技术股份有限公司 | Upgrade method and device based on customization software version in mobile terminal |
CN112399452B (en) * | 2021-01-21 | 2021-06-22 | 中兴通讯股份有限公司 | Version configuration method, device, equipment, system and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2638376Y (en) * | 2003-07-10 | 2004-09-01 | 光宝科技股份有限公司 | Locking device using radio communication device |
CN101017435A (en) * | 2006-04-14 | 2007-08-15 | 北京瑞星国际软件有限公司 | Method and apparatus used for upgrading software |
EP2224761A1 (en) * | 2009-02-27 | 2010-09-01 | Research In Motion Limited | System and method for locking and branding a mobile communication device to a network |
-
2010
- 2010-09-15 CN CN201010286304.0A patent/CN101938737B/en not_active Expired - Fee Related
- 2010-12-06 WO PCT/CN2010/079480 patent/WO2012034327A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2638376Y (en) * | 2003-07-10 | 2004-09-01 | 光宝科技股份有限公司 | Locking device using radio communication device |
CN101017435A (en) * | 2006-04-14 | 2007-08-15 | 北京瑞星国际软件有限公司 | Method and apparatus used for upgrading software |
EP2224761A1 (en) * | 2009-02-27 | 2010-09-01 | Research In Motion Limited | System and method for locking and branding a mobile communication device to a network |
Also Published As
Publication number | Publication date |
---|---|
CN101938737A (en) | 2011-01-05 |
CN101938737B (en) | 2015-06-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3716656B1 (en) | Profile generation method, profile acquisition method, and related device and storage medium | |
US20230328509A1 (en) | Profile Download Method and Device | |
RU2391796C2 (en) | Limited access to functional sets of mobile terminal | |
EP2735180B1 (en) | Application selection for multi-sim environment | |
US6591095B1 (en) | Method and apparatus for designating administrative responsibilities in a mobile communications device | |
JP4227986B2 (en) | Mobile communication terminal initialization apparatus and method | |
KR102334501B1 (en) | Profile transmission method, related device and storage medium | |
CN102308561B (en) | ME network parameters configuration by UICC | |
CN105338515B (en) | Data service transmission method and mobile communication equipment | |
US8989663B2 (en) | Portable terminal system using a contactless communication unit to enable access to application programs | |
JP2000059440A (en) | Verification of data transfer based on specific id code | |
WO2012055194A1 (en) | Method and mobile terminal for setting language through mobile terminal | |
CN101163290A (en) | Method of limiting use of mobile terminal through machine-card mutual authentication | |
US10433156B1 (en) | Adapting subscriber identity module (SIM) card | |
EP1733580A1 (en) | Updating of the preferred roaming list (prl) in a sim (subscriber identity module) / ruim (removable user identity module) card. | |
CN101895883B (en) | Smart card supporting authentication arithmetic update and method for updating authentication arithmetic | |
WO2012034327A1 (en) | Method and terminal for version update | |
WO2012055192A1 (en) | Method and apparatus for terminal updating network locking | |
KR100646359B1 (en) | Method and system for performing code signing for application by using mobile communication terminal | |
KR100628048B1 (en) | Method for Changing SIM Lock Information in Wireless Communication Device | |
CN103152724B (en) | A kind of method and system of hardware lock SIM | |
US20120231763A1 (en) | Method and system for antivirus on a mobile device by sim card | |
US6810245B1 (en) | Intelligent remote software loading method for wireless portable communication device | |
US8621191B2 (en) | Methods, apparatuses, and computer program products for providing a secure predefined boot sequence | |
KR102037556B1 (en) | Method and device for upgrading telephone number in wireless terminal self-adaptive network upgrade |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 10857183 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 10857183 Country of ref document: EP Kind code of ref document: A1 |