WO2013143341A1 - 一种更新移动终端的应用信息的方法及装置 - Google Patents

一种更新移动终端的应用信息的方法及装置 Download PDF

Info

Publication number
WO2013143341A1
WO2013143341A1 PCT/CN2012/087638 CN2012087638W WO2013143341A1 WO 2013143341 A1 WO2013143341 A1 WO 2013143341A1 CN 2012087638 W CN2012087638 W CN 2012087638W WO 2013143341 A1 WO2013143341 A1 WO 2013143341A1
Authority
WO
WIPO (PCT)
Prior art keywords
application information
mobile terminal
sim card
information file
startup
Prior art date
Application number
PCT/CN2012/087638
Other languages
English (en)
French (fr)
Inventor
马玲
Original Assignee
惠州Tcl移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 惠州Tcl移动通信有限公司 filed Critical 惠州Tcl移动通信有限公司
Publication of WO2013143341A1 publication Critical patent/WO2013143341A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/60Subscription-based services using application servers or record carriers, e.g. SIM application toolkits

Definitions

  • the present invention relates to the field of mobile terminal devices, and in particular, to a method and an apparatus for updating application information of a mobile terminal.
  • application information needs to be updated between multiple mobile phones quickly and in time for user convenience, such as user profile, call settings, and other mobile phone settings.
  • Information such as Email, QQ, Weibo, Facebook and other popular mobile phone application account and user settings information, etc.
  • the application information frequently used by these users will not be brought into the new mobile phone with the SIM card, and the user needs to manually input again. Change the settings to make the new phone meet the user's usage habits.
  • users have a wide variety of applications. If they are set one by one, it will inevitably bring great inconvenience to users.
  • an object of the present invention is to provide a method and apparatus for updating application information of a mobile terminal, which aims to solve the problem that a user needs to manually update application information after replacing a SIM card.
  • a method for updating application information of a mobile terminal comprising the following steps:
  • the application information file of the mobile terminal is stored in the SIM card in advance;
  • step C the mobile terminal determines whether the SIM card is inserted, and when yes, step C is performed;
  • the mobile terminal determines whether the application information file is the same as the application information file in the SIM card; when no, the step is performed.
  • the method for updating application information of a mobile terminal wherein the application information file includes an application information file and an IMSI number.
  • step A specifically includes:
  • the mobile terminal determines whether the SIM card contains an application information file, when not, the application information file of the mobile terminal is stored in the SIM card, and when yes, proceeds to step A2;
  • A2 determining whether the application information file of the mobile terminal is the same as the application information file in the SIM card;
  • step B further includes:
  • the mobile terminal determines whether it is the first startup; when yes, performs the step D; when not, executes the step C.
  • the method for updating application information of a mobile terminal where the process of determining whether the mobile terminal is started for the first time specifically includes:
  • step B11 Finding whether the mobile terminal has the first startup file, if otherwise, the first startup file is established, and it is determined that the startup is the first startup, and the first startup flag is written in the first startup file; Then parsing the first startup file, and proceeds to step B12;
  • step C specifically includes:
  • the mobile terminal determines whether the IMSI number in the application information file is the same as the IMSI number of the SIM card.
  • step C2 when the IMSI number of the mobile terminal is different from the IMSI number of the SIM card, the mobile terminal determines that the SIM card is replaced, and performs step C3;
  • the mobile terminal determines whether the application information file is the same as the application information file in the SIM card, and if not, performs step D.
  • step D specifically includes:
  • the application information file in the SIM card is parsed, and according to the analysis result, it is determined whether the mobile terminal includes an application corresponding to the application information file, and sometimes the application information of the mobile terminal is updated.
  • An apparatus for updating application information of a mobile terminal wherein the apparatus includes:
  • a storage module configured to store the application information file of the mobile terminal into the SIM card
  • a SIM card identification module configured to determine, by the mobile terminal, whether a SIM card is inserted
  • the application information file comparison module is configured to determine whether the application information file of the mobile terminal is the same as the application information file in the SIM card;
  • the import module is configured to parse the application information file in the SIM card, and update the application information of the mobile terminal according to the parsing result.
  • the device for updating application information of a mobile terminal where the device further includes:
  • a setting module configured to prompt the user whether the application information of the mobile terminal needs to be updated
  • An encoding module configured to encode the mobile terminal application information into an application information file
  • a decoding module configured to decode an application information file in the SIM card.
  • the device for updating application information of a mobile terminal where the device further includes:
  • the identification module is activated for the first time, and is used by the mobile terminal to determine whether it is the first time to start.
  • the present invention compares an application information file of a mobile terminal with an application information file in a SIM card, and when the application information file of the mobile terminal is different from the application information file in the SIM card, the application information file in the SIM card is parsed. And updating the application information of the mobile terminal according to the analysis result.
  • the invention realizes the function of replacing the SIM card and simultaneously updating the application information of the mobile terminal. Even if the user frequently replaces the mobile terminal or the SIM card, the personal application information thereof is not affected, which is fast and convenient, and avoids the need for the user to manually The trouble of updating has greatly facilitated the user and the user experience has been greatly improved.
  • FIG. 1 is a flowchart of a method for updating application information of a mobile terminal according to an embodiment of the present invention.
  • FIG. 2 is a flow chart of a method for the mobile terminal to determine whether it is the first time to start.
  • FIG. 3 is a flowchart of a method for updating application information of a mobile terminal according to an embodiment of the present invention.
  • FIG. 4 is a flow chart of a method for the mobile terminal to determine whether a SIM card has been replaced.
  • FIG. 5 is a structural diagram of an apparatus for updating application information of a mobile terminal according to an embodiment of the present invention.
  • the present invention provides a method and an apparatus for updating application information of a mobile terminal.
  • the present invention will be further described in detail below. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
  • step S101 the application information file of the first mobile terminal is first stored in a SIM card
  • the application information file includes an application information file and an IMSI number of the mobile terminal.
  • the application information file may be a file including a user account and user setting information of the application. Because the manner in which the mobile terminal reads and writes files is different, the method for updating the application information of the mobile terminal by the present invention is not limited by the mobile terminal platform.
  • the present invention provides a coding and decoding mechanism, and specifically includes an encoding module and a decoding module.
  • the encoding module can encode and save the application information file of the mobile terminal into a binary file, such as a bin file, which is unreadable to the user. In case the user inadvertently modifies this file to ensure the normal operation of the application.
  • the IMSI number can be stored in a specified file in the nvram root directory, for example, in a SIMinfo file in the nvram root directory, and the specified file stores the SIM related information before the last shutdown, that is, the IMSI number.
  • the application information file of the first mobile terminal is collected and generated, and then provided to the user, and then the storage step is manually or automatically triggered, that is, the application information file of the mobile terminal is stored to the SIM card. in.
  • step S102 the second mobile terminal determines whether a SIM card is inserted
  • the process ends, that is, no update is needed; when the second mobile terminal inserts the SIM card, the application information file of the second mobile terminal and the application information stored in the SIM need to be compared. Whether the files are the same, that is, the next step is performed, but at this time, the application information file of the second mobile terminal has been collected and generated.
  • the SIM card may be a brand new SIM card, or may be a SIM card storing the first mobile terminal or other mobile terminal application information file. When it is a brand new SIM card, If the SIM card does not contain the application information file, the application information of the mobile terminal does not need to be updated; when the SIM card of the first mobile terminal or other mobile terminal is stored, the next comparison determination step is performed.
  • step S103 after the second mobile terminal inserts the SIM card, the application information file of the second mobile terminal can be compared with the application information file of the SIM card to determine whether they are the same;
  • the SIM card is the SIM card storing the first mobile terminal application information file
  • the step is to compare the application information file of the second mobile terminal with the application information file of the SIM card, when the two files are compared.
  • the application information file of the second mobile terminal is the same as the application information file of the first mobile terminal.
  • the application information of the second mobile terminal does not need to be updated; when the two are different, the following may be performed. step.
  • step S104 when the application information file of the second mobile terminal is different from the application information file of the SIM card, the application information of the first mobile terminal may be changed, and the user needs to use some application information of the first mobile terminal. Or the other information is synchronized to the second mobile terminal.
  • the application information file in the SIM card can be parsed, and the parsing result is synchronously updated to the second mobile terminal. Therefore, the second mobile terminal obtains the account or setting information of some applications frequently used by the user, without manually setting each application, which greatly reduces the operation of the user and improves the user experience.
  • the application information file in the SIM card is parsed, and according to the analysis result, it is determined whether the mobile terminal includes the application corresponding to the application information file, and when the application information of the mobile terminal is sometimes updated, that is, the first mobile terminal
  • the application with the second mobile terminal may be different, so there are three cases: 1. an application included in both the first mobile terminal and the second mobile terminal; 2. The first mobile terminal has and the second mobile terminal does not. An application; 3. The first mobile terminal does not have an application that the second mobile terminal has. For the second and third cases, the application information of the second mobile terminal does not need to be updated, and the present invention only updates the application information of the first case.
  • step S105 if the second mobile terminal does not insert the SIM card or the application information file of the second mobile terminal is the same as the application information file stored by the SIM card, the application information of the second mobile terminal does not need to be updated. At this point, the process can be directly exited; if the application information of the second mobile terminal is updated, the process can also be exited.
  • the application information file of the present invention includes an application information file, so that the application information file in the SIM card application information file can be parsed to obtain an analysis result when the update is performed, and the analysis result is updated into the application of the mobile terminal, wherein the The application information file includes the user's original application setting habits, account information, and the like.
  • the mobile terminal first decodes the application information file, such as the bin file, and the mobile terminal can read the content stored in the bin file, and then parse the parsed result, and then update the application information included in the parsing result to Go to the mobile terminal application.
  • this process first needs to ensure that the mobile terminal contains an application corresponding to the SIM card application information, and can only update such an application, otherwise the application cannot be updated. After the update is complete, you can exit the process directly.
  • the present invention can also not compare and compare the application information file of the mobile terminal with the application information file stored in the SIM card, and can also achieve the object of the present invention, because whether the application information file of the mobile terminal and the application information in the SIM card are used.
  • the file is the same, as long as the application information file of the mobile terminal is updated to the application information file in the SIM card, the mobile terminal can be the same as the application information file in the SIM card.
  • this step is omitted, sometimes some time for updating the application information is added. For example, when the application information in the SIM card is the same as the application information of the mobile terminal, the update is not required, but if the update is performed, this will waste some. Time, but also the purpose of updating the application information of the mobile terminal.
  • the second SIM card needs to store an application information file of a certain mobile terminal in advance;
  • the second SIM card On the mobile terminal that needs to be updated, it is first determined whether the second SIM card is inserted, and if it is not inserted, no update is needed; if the second SIM card is inserted, a comparison step may be performed;
  • the synchronization update is not required; if the two are different, the application information file on a mobile terminal carried on the second SIM card needs to be parsed, and the analysis result is synchronously updated to the mobile terminal that needs to be updated. In the above, the application information of the mobile terminal is updated.
  • the application information file on a certain mobile terminal needs to be stored in the SIM card because the SIM card does not contain the application before.
  • Information file so there is a storage step, and the specific process of storage includes:
  • the mobile terminal first determines whether the SIM card already contains the application information file, and may have stored other application information files in the SIM card. If the SIM card does not contain the application information file, the application on the mobile terminal may be directly used at this time.
  • the information file is stored in the SIM card; if the SIM card contains the application information file, it is necessary to determine whether the application information file of the mobile terminal is the same as the application information file in the SIM card; and the application information file of the mobile terminal and the SIM card
  • the application information file in the same is the same, and the application information file on the mobile terminal does not need to be updated to the SIM card repeatedly.
  • the application information file of the mobile terminal is different from the application information file in the SIM card, the mobile device needs to move the mobile device.
  • the application information file in the terminal is overwritten to the application information file in the SIM card.
  • the mobile terminal After inserting the SIM card on the mobile terminal, it may further determine whether the mobile terminal is started for the first time, and determine whether the first startup is performed for a more convenient and quick update step, when the mobile terminal is started for the first time.
  • the application information file of the SIM card can be directly parsed into the mobile terminal; when the mobile terminal is not started for the first time, the comparison step of the application information file is required, and then the update step is performed according to the comparison step, or no update is needed.
  • Figure 2 shows the specific judgment method for the first start
  • step S201 the mobile terminal is first turned on to find whether the mobile terminal has the first startup file
  • step S202 if the first startup file does not exist, the first startup file is established;
  • the first startup file is also called first The launch file, the first startup file can be stored in the root directory of the nvram, the first startup file records the information that the mobile terminal starts for the first time, and the mobile terminal will be in the root directory of the nvram when it is first started.
  • the first startup file is stored, and the first startup flag is written in the first startup file to facilitate the determination of the next startup.
  • the first startup flag is similar to an identifier. The first time the logo is activated, it can be determined that this startup is the first startup.
  • Nvram is a set of mechanisms on mobile terminals, and nvram generally exists in the file system area.
  • step S203 you can find the first startup file in the root directory of nvram. If you can't find it, you can directly determine that the startup is the first startup, and create the first startup file in the root directory of nvram. And writing the first startup flag in the first startup file, that is, entering the step; if the first startup file is found in the root directory of the nvram, it is necessary to determine whether the first startup file contains the first When the flag is started once, the process proceeds to step S203.
  • step S203 if there is a first startup file, the first startup file is parsed, and it is determined whether the first startup file contains the first startup flag, and if it exists, it is determined that the startup is not the first startup. Step S206; if not, it is determined that the startup is the first startup, and then proceeds to step S204.
  • step S204 the first startup flag is written in the first startup file
  • step S205 the first startup ends. After the first startup is completed, the mobile terminal is restarted later, because the first startup file including the first startup flag already exists in the mobile terminal, so the future Startup can be determined not to start for the first time.
  • the present invention determines whether the startup of the mobile terminal is the first startup, and sets the first startup flag in the first startup file, which greatly facilitates the subsequent startup recognition process, if it is determined to be the first time
  • the application information is directly updated, and the process of collecting the application information of the mobile terminal is omitted. If it is determined that it is not the first startup, the application information of the SIM card and the application information of the mobile terminal are compared, so that the design of the present invention is more perfect. By omitting a large amount of time by a simple judgment process, the efficiency of the present invention is improved.
  • step S301 the mobile terminal is turned on, determining whether the mobile terminal is started for the first time, if yes, proceeding to step S305; otherwise, proceeding to step S302; when the mobile terminal is first started, indicating that the application information of the mobile terminal is For the factory default, the application information file in the SIM card can be directly parsed at this time, and the application information of the mobile terminal is updated according to the analysis result; when the mobile terminal is not started for the first time, the application in the mobile terminal may be It already contains some application information such as account information and application settings. At this time, it is necessary to judge whether or not the SIM card is inserted and replaced, and the process proceeds to step S302.
  • step S302 it is determined whether the mobile terminal has inserted the SIM card, if the SIM card is not inserted, the process proceeds to step S306; if the SIM card is inserted, the application information file of the mobile terminal and the application information file in the SIM card can be compared;
  • step S103 if the SIM card is replaced, an application information file of the mobile terminal is generated;
  • step S304 comparing the application information file of the mobile terminal with the application information file in the SIM card, if the same, then proceeds to step S306; otherwise, proceeds to step S305;
  • step S305 the application information file in the SIM card is parsed, and the application information is updated according to the analysis result
  • step S306 if the mobile terminal does not replace the SIM card or the application information file of the mobile terminal is the same as the application information file stored in the SIM card, or has been updated, the process can be directly exited.
  • the application information file of the mobile terminal and the application information file of the SIM card need to be compared.
  • the IMSI number of the mobile terminal and the IMSI number stored on the SIM card may be compared first, that is, Determining whether the mobile terminal replaces the SIM card. If the IMSI number of the mobile terminal is different from the IMSI number stored on the SIM card, the mobile terminal replaces the SIM card, and the application information file and the SIM card of the mobile terminal are available at this time.
  • the application information file on the comparison is compared to complete the synchronization of the application information of the mobile terminal; if the IMSI number of the mobile terminal is the same as the IMSI number stored on the SIM card, the mobile terminal does not replace the SIM card, and no movement is required at this time.
  • the application information of the terminal is updated, and the process can be directly exited.
  • FIG. 4 shows a flow chart of a method of determining whether a mobile terminal has replaced a SIM card.
  • step S401 the mobile terminal is turned on, it is determined whether the mobile terminal is the first time to start, if yes, the IMSI number of the mobile terminal is directly written into the SIM card, then proceeds to step S304; otherwise, proceeds to step S402;
  • the IMSI number may be a specified file stored in the nvram root directory, for example, stored in a SIMinfo file in the nvram root directory, and the specified file stores SIM related information before the last shutdown, and the SIM related information refers to the The IMSI number in the invention.
  • the determining process of step S401 can be determined by using the foregoing method. After determining that the mobile terminal is started for the first time, the IMSI number of the mobile terminal can be directly written in the SIM card; if it is determined not to be the first time To start, the IMSI number of the mobile terminal needs to be obtained, and compared with the IMSI number stored in the SIM card to determine whether the SIM card is replaced, that is, the flow in step S402 and subsequent steps is performed.
  • step S402 acquiring an IMSI number of the mobile terminal
  • step S403 comparing the IMSI number of the mobile terminal with the IMSI number of the SIM card;
  • the comparison process between the two is to determine whether the SIM card is replaced. If the IMSI numbers of the two are different, the SIM card has been replaced. In this case, the IMSI number of the SIM card can be deleted directly, and the IMSI number of the mobile terminal is deleted. Write to the specified file of the SIM card, and store the specified file in the root directory of the nvram, that is, the process proceeds to step S404 and after; if the IMSI numbers of the two are the same, the SIM card is not replaced, and the SIM card is directly replaced. Exit the process.
  • step S404 the IMSI number of the SIM card is deleted, and the IMSI number of the mobile terminal is written into the SIM card;
  • This process is to update the IMSI number stored in the SIM card, so that the next time the SIM card is used, there is no need to update the IMSI number therein, thereby simplifying the flow of the present invention.
  • the SIM card is inserted into another mobile terminal next time, it is also necessary to update the IMSI number of the SIM card to match the IMSI number of the new mobile terminal;
  • step S405 after the IMSI number of the SIM card is updated, the flow can be ended.
  • the process of judging whether the SIM card is replaced by comparing the IMSI number of the mobile terminal with the IMSI number of the SIM card, and updating the IMSI number of the SIM card when the two are different, so as to update the IMSI number in the SIM card,
  • the judging process is simplified, and the process of updating the IMSI number of the SIM card after loading the same SIM card is avoided, and the method is simple and practical.
  • FIG. 5 shows a structure of an apparatus for updating mobile terminal application information according to an embodiment of the present invention.
  • the device includes: a setting module 21, an encoding module 22, a storage module 23, a SIM card identification module 24, an application information file comparison module 25, a decoding module 26, and an import module 27.
  • the setting module 21 prompts the user whether to update the application information of the mobile terminal; the setting module 21 can provide an interface for the user to prompt whether to update the application information of the mobile terminal.
  • a “synchronized user application” can be set in the mobile terminal.
  • the encoding module 22 encodes the mobile terminal application information to the application information file; because the current mobile terminal reads and writes files in different ways, in order to make the synchronization function not limited by the mobile terminal platform, a cross-platform codec mechanism can be designed.
  • the encoding module 22 encodes the collected application information of the mobile terminal and then saves it to the application information file, such as a bin file.
  • the storage module 23 saves the application information file to the SIM card; the storage module 23 stores the saved application information file, such as a bin file, in a specified directory in the SIM card, so that when the application information of the mobile terminal needs to be updated, The application information file in the specified directory of the SIM card is written to the mobile terminal. In this process, it is first determined whether the file with the same name has been saved in the specified directory of the SIM card. If not, the application information file can be saved to the SIM card; if it already exists, the saved application information file is compared. It is the same as the application information file of the SIM card. If it is the same, it does not need to be saved to the SIM card. If it is different, the original application information file in the SIM card is overwritten.
  • the saved application information file such as a bin file
  • the SIM card identification module 24 is configured to determine, by the mobile terminal, whether a SIM card is inserted. If the mobile terminal determines that the SIM card is inserted, it is also required to determine whether the SIM card is replaced, and the specific determination process has been detailed before. Said.
  • the function of the application information file comparison module 25 is to compare the application information file of the mobile terminal with the application information file in the SIM card to determine whether they are the same. The specific judgment process has been detailed before. When the application information file of the mobile terminal is different from the application information file in the SIM card, the decoding module 26 starts to work.
  • the decoding module 26 reads and parses the application information file in the SIM card; since the encoding module 22 has encoded the application information into a file, the decoding module 26 needs to decode the encoded application information file so that the mobile terminal can read the application. The content in the information file.
  • the import module 27 parses the application information file, and updates the mobile terminal application information according to the analysis result; after comparing the application information file of the mobile terminal with the application information file in the SIM card, if the update is required, the decoding result is decoded according to the decoding module 26
  • the application information in the application information file of the SIM card is imported into the application corresponding to the mobile terminal.
  • this is limited to the application that is owned by the original mobile terminal and the target mobile terminal, and the original mobile terminal does not have the target mobile terminal.
  • the application will not be updated, and its settings, account numbers, etc. will remain unchanged.
  • the apparatus also includes a first activation identification module.
  • the first activation of the identification module is used by the mobile terminal to determine whether the startup is the first time.
  • the determination process is the same as the first startup determination process and the principle in the method flow, and therefore will not be described again.
  • the embodiment of the present invention compares the application information file of the mobile terminal with the application information file of the SIM card, and when the application information file of the mobile terminal is different from the application information file of the SIM card, the application information file in the SIM card is parsed. And updating the application information of the mobile terminal according to the analysis result.
  • the invention realizes the function of replacing the SIM card and simultaneously updating the user application information. Even if the user frequently replaces the mobile terminal or the SIM card, the personal application information is not affected, which is fast and convenient, and avoids the need for the user to manually The trouble of updating has greatly facilitated the user and the user experience has been greatly improved.

Landscapes

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

Abstract

本发明公开一种更新移动终端的应用信息的方法及装置。本发明通过比较移动终端的应用信息文件与SIM卡中的应用信息文件,当移动终端的应用信息文件与SIM卡中的应用信息文件不相同时,则解析SIM卡中的应用信息文件,并根据解析结果更新移动终端的应用信息。本发明实现了更换SIM卡也能同时更新用户包括应用程序信息在内的应用信息的功能,即使用户经常更换移动终端或SIM卡,其个人的应用程序信息也不会受到影响,既快捷又方便,避免了以往需要用户手动更新的麻烦,为用户提供了极大的方便,其用户体验得到了很好的改善。

Description

一种更新移动终端的应用信息的方法及装置
技术领域
本发明涉及移动终端设备领域,尤其涉及一种更新移动终端的应用信息的方法及装置。
背景技术
随着手机等移动终端的日益普及以及其日趋低廉的价格,一个用户拥有多部手机或频繁更换手机已不是稀奇的事情。但是当用户更换手机时,用户的常用信息却不能快速的更新到手机中,虽然目前更换手机时部分信息可更新到手机中,例如通讯录或者部分重要的短信可以通过先存储到SIM卡中,再由SIM卡拷贝到手机中,这样可方便用户的使用。
但是在如今各种应用程序大爆炸的时代,包括应用程序信息在内的应用信息需要快速及时的在多个手机之间更新,以便方便用户的使用,如用户的情景模式、通话设置等手机设置信息,还有例如Email,QQ, 微博,Facebook等热门手机应用程序的账号和用户设置信息等等,在更换SIM卡后,这些用户经常使用的应用程序信息将不能随着SIM卡带入到新手机中,需要用户重新手动输入,改动设置,才能使新手机符合用户的使用习惯。如今用户的应用程序,种类繁多,如果逐一去设置,势必会给用户带来极大的不便。尤其是对一些特殊人员来说,例如从事手机产业人员,手机开发测试人员,因为职业要求,这些人员需要经常更换手机,更或者刷机,但一旦频繁进行这些操作,手机中原有的这些信息需要反复输入或设置,这给用户带来了极大的不便。
因此,现有技术还有待于改进和发展。
发明内容
鉴于上述现有技术的不足,本发明的目的在于提供一种更新移动终端的应用信息的方法及装置,旨在解决用户更换SIM卡后需要手动更新应用信息的问题。
本发明的技术方案如下:
一种更新移动终端的应用信息的方法,其中,所述方法包括以下步骤:
A、预先将移动终端的应用信息文件存储至SIM卡中;
B、移动终端判断是否插入了SIM卡,当是时执行步骤C;
C、移动终端判断其应用信息文件与SIM卡中的应用信息文件是否相同;当否时,则执行步骤
D、解析SIM卡中的应用信息文件,并根据解析结果更新移动终端的应用信息。
所述的更新移动终端的应用信息的方法,其中,所述应用信息文件包括应用程序信息文件和IMSI号。
所述的更新移动终端的应用信息的方法,其中,所述步骤A具体包括:
A1、移动终端判断SIM卡中是否含有应用信息文件,当否时将移动终端的应用信息文件存储至SIM卡中,当是时进入步骤A2;
A2、判断移动终端的应用信息文件与SIM卡中的应用信息文件是否相同;
A3、当移动终端的应用信息文件与SIM卡中的应用信息文件不相同时,将移动终端的应用信息文件覆盖至SIM卡中的应用信息文件。
所述的更新移动终端的应用信息的方法,其中,所述步骤B还包括:
B1、移动终端判断是否是第一次启动;当是时,执行所述步骤D;当否时执行所述步骤C。
所述的更新移动终端的应用信息的方法,其中,所述判断移动终端是否是第一次启动的过程具体包括:
B11、查找移动终端是否存在第一次启动文件,若否则建立第一次启动文件,并判定此次启动为第一次启动,并在第一次启动文件中写入第一次启动标志;若是则解析第一次启动文件,并进入步骤B12;
B12、判断第一次启动文件中是否含有第一次启动标志,若是则判定此次启动不是第一次启动;若否则判定此次启动为第一次启动,并在第一次启动文件中写入第一次启动标志。
所述的更新移动终端的应用信息的方法,其中,所述步骤C具体包括:
C1、移动终端判断其应用信息文件中的IMSI号与SIM卡的IMSI号是否相同;
C2、当移动终端的IMSI号与SIM卡的IMSI号不相同时,则移动终端判断为更换了SIM卡,并执行步骤C3;
C3、移动终端判断其应用程序信息文件与SIM卡中的应用程序信息文件是否相同,当不相同时则执行步骤D。
所述的更新移动终端的应用信息的方法,其中,所述步骤D具体包括:
解析SIM卡中的应用程序信息文件,并根据解析结果判断移动终端中是否含有该应用程序信息文件对应的应用程序,当有时更新移动终端的应用程序信息。
一种更新移动终端的应用信息的装置,其中,所述装置包括:
存储模块,用于将移动终端的应用信息文件存储至SIM卡中;
SIM卡识别模块,用于移动终端判断是否插入了SIM卡;
应用信息文件比较模块,用于判断移动终端的应用信息文件与SIM卡中的应用信息文件是否相同;
导入模块,用于解析SIM卡中的应用信息文件,并根据解析结果更新移动终端的应用信息。
所述的更新移动终端的应用信息的装置,其中,所述装置还包括:
设置模块,用于提示用户是否需要更新移动终端的应用信息;
编码模块,用于将移动终端应用信息编码为应用信息文件;
解码模块,用于解码SIM卡中的应用信息文件。
所述的更新移动终端的应用信息的装置,其中,所述装置还包括:
第一次启动识别模块,用于移动终端判断是否是第一次启动。
有益效果:本发明通过比较移动终端的应用信息文件与SIM卡中的应用信息文件,当移动终端的应用信息文件与SIM卡中的应用信息文件不相同时,则解析SIM卡中的应用信息文件,并根据解析结果更新移动终端的应用信息。本发明实现了更换SIM卡也能同时更新移动终端应用信息的功能,即使用户经常更换移动终端或SIM卡,其个人的应用信息也不会受到影响,既快捷又方便,避免了以往需要用户手动更新的麻烦,为用户提供了极大的方便,其用户体验得到了很好的改善。
附图说明
图1为本发明实施例更新移动终端的应用信息的方法流程图。
图2为移动终端判断是否是第一次启动的方法流程图。
图3为本发明实施例更新移动终端的应用程序信息的方法流程图。
图4为移动终端判断是否更换了SIM卡的方法流程图。
图5为本发明实施例更新移动终端的应用信息的装置结构图。
具体实施方式
本发明提供一种更新移动终端的应用信息的方法及装置,为使本发明的目的、技术方案及效果更加清楚、明确,以下对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
在本发明的第一个实施例是更换了移动终端的情况所做的具体说明,其具体的流程如图1所示:
在步骤S101中,先将第一移动终端的应用信息文件存储至一SIM卡中;
该应用信息文件包括了移动终端的应用程序信息文件和IMSI号。该应用程序信息文件可以是包括应用程序的用户账号和用户设置信息的文件,因为目前各移动终端读写文件方式不同,为了让本发明更新移动终端的应用信息的方法不受移动终端平台的限制,本发明设置一编解码的机制,具体可包括一编码模块及解码模块,编码模块可将移动终端的应用程序信息文件编码并保存至二进制文件中,如bin文件,该二进制文件对用户不可读,以防用户不慎修改此文件,从而确保应用程序的正常运行。该IMSI号可存储于nvram根目录下的指定文件中,例如存储在nvram根目录下的SIMinfo文件中,该指定文件存储了上次关机前的SIM相关信息,即为IMSI号。当然,在存储步骤之前,还需将收集并生成第一移动终端的应用信息文件,然后再提供给用户一个界面,然后再手动或自动触发存储步骤,即将移动终端的应用信息文件存储至SIM卡中。
在步骤S102中,第二移动终端判断是否插入了SIM卡;
当该第二移动终端未插入SIM卡,本流程随即结束,即无需更新;当该第二移动终端插入了SIM卡,则需要比较该第二移动终端的应用信息文件与SIM中存储的应用信息文件是否相同,即执行接下来的步骤,但此时第二移动终端的应用信息文件已经收集并生成完毕。本步骤中,若插入了SIM卡,该SIM卡可以是一个全新的SIM卡,也可以是存储有第一移动终端或其他移动终端应用信息文件的SIM卡,当为一个全新的SIM卡时,则说明该SIM卡不含有应用信息文件,则无需对移动终端的应用信息进行更新;当为存储有第一移动终端或其他移动终端的SIM卡时,才执行接下来的比较判断步骤。
在步骤S103中,当第二移动终端插入SIM卡后,则可将第二移动终端的应用信息文件与SIM卡的应用信息文件进行比较,判断是否相同;
本实施例中假设该SIM卡为上述存储有第一移动终端应用信息文件的SIM卡,则本步骤即将第二移动终端的应用信息文件与SIM卡的应用信息文件进行比较,当这两个文件相同时,则说明第二移动终端的应用信息文件与第一移动终端的应用信息文件相同,此时无需对第二移动终端的应用信息进行更新;当二者不相同时,则可进行下面的步骤。
在步骤S104中,当第二移动终端的应用信息文件与SIM卡的应用信息文件不相同时,说明第一移动终端的应用信息可能进行了改变,用户需要将第一移动终端的一些应用程序信息或其他信息同步到第二移动终端中去,此时,可解析该SIM卡中的应用信息文件,并且把解析结果同步更新至第二移动终端中。从而使第二移动终端获得用户经常使用的一些应用程序的账号或设置信息,而无需对每个应用程序进行手动设置,大大减少了用户的操作,提升了用户的体验效果。
在本步骤中,解析SIM卡中的应用程序信息文件,并根据解析结果判断移动终端中是否含有该应用程序信息文件对应的应用程序,当有时更新移动终端的应用程序信息,即第一移动终端与第二移动终端的应用程序可能不尽相同,所以会有三种情况:1、第一移动终端与第二移动终端都含有的应用程序;2、第一移动终端具有而第二移动终端没有的应用程序;3、第一移动终端没有而第二移动终端具有的应用程序。对于第二及第三中情况,则无需对第二移动终端的该应用程序信息进行更新,本发明只对第一种情况的应用程序信息进行更新。
在步骤S105中,若第二移动终端未插入所述SIM卡或者第二移动终端的应用信息文件与所述SIM卡存储的应用信息文件相同,则无需对第二移动终端的应用信息进行更新,此时可直接退出流程;若第二移动终端的应用信息更新完毕后,也可退出流程。
本发明的应用信息文件包括应用程序信息文件,所以在进行更新时可解析SIM卡应用信息文件中的应用程序信息文件得到解析结果,并将解析结果更新到移动终端的应用程序中,其中所述应用程序信息文件包括了用户原来的应用程序设置习惯、账号信息等内容。此过程中,移动终端会先对应用程序信息文件例如bin文件解码,移动终端便可读取bin文件中存储的内容,然后加以解析得到解析结果,再把该解析结果包含的应用程序信息更新到移动终端的应用程序中去。当然此过程首先需要保证移动终端中含有与SIM卡应用程序信息对应的应用程序,而且也只能更新这样的应用程序,否则无法对应用程序进行更新。在更新完成后,可直接退出流程。
当然本发明其实也可不对移动终端的应用信息文件与SIM卡中存储的应用信息文件进行比较判断,同样能实现本发明的目的,因为无论移动终端的应用信息文件是否与SIM卡中的应用信息文件相同,只要将移动终端的应用信息文件更新为SIM卡中的应用信息文件,即可保证移动终端与SIM卡中的应用信息文件相同。只是如果省去该步骤,有时会增加一些更新应用信息的时间,例如当SIM卡中的应用信息与移动终端的应用信息相同时,本来是不需要更新的,但如果进行更新,这样会浪费一些时间,但同样实现更新移动终端的应用程序信息的目的。
在本发明的另一个实施例中,若用户在同一移动终端上对SIM卡进行了更换,此时的流程如下:
用户在将第一SIM卡更换并使用第二SIM卡时,该第二SIM卡上需预先存储某个移动终端的应用信息文件;
在需要更新的移动终端上,先判断其是否插入了该第二SIM卡,若未插入,无需进行更新;若插入了第二SIM卡,则可进行比较步骤;
比较需要更新的移动终端所携带的应用信息文件与第二SIM卡上的应用信息文件是否相同;
若二者相同,则无需进行同步更新;若二者不同,则需解析该第二SIM卡上所携带的某个移动终端上的应用信息文件,并且把解析结果同步更新至需要更新的移动终端上,以对该移动终端的应用信息进行更新。
本发明中,在将SIM卡中的应用信息文件更新到想要更新的移动终端中之前,需先将某移动终端上的应用信息文件存储至SIM卡中,因为该SIM卡之前并不含有应用信息文件,所以需有一个存储的步骤,其存储的具体过程具体包括:
移动终端先要判断该SIM卡中是否已经含有应用信息文件,可能该SIM卡中已经存储了其他应用信息文件,如果该SIM卡中不含有应用信息文件,此时可直接将移动终端上的应用信息文件存储至SIM卡中;如果该SIM卡中含有应用信息文件,此时需要判断移动终端的应用信息文件与SIM卡中的应用信息文件是否相同;当移动终端的应用信息文件与该SIM卡中的应用信息文件完全相同,则无需再重复的将移动终端上的应用信息文件更新至SIM卡中,当移动终端的应用信息文件与SIM卡中的应用信息文件不相同,则需将该移动终端中的应用信息文件覆盖至SIM卡中的应用信息文件。
在移动终端上插入SIM卡后,还可进一步判断该移动终端是否是第一次启动,判断是否第一次启动的目的是为了更加方便快捷的进行更新步骤,当移动终端是第一次启动时,则可直接将SIM卡的应用信息文件解析至移动终端中;当移动终端不是第一次启动时,才需要进行应用信息文件的比较步骤,然后再根据比较步骤,进行更新或者无需进行更新。
图2示出了第一次启动的具体判断方法;
在步骤S201中,先开启移动终端,查找移动终端是否存在第一次启动文件;
在步骤S202中,若不存在第一次启动文件则建立第一次启动文件;
第一次启动文件也称first launch文件,该第一次启动文件可存储在nvram的根目录下,该第一次启动文件记录了移动终端第一次启动的信息,当移动终端在第一次启动时会在nvram的根目录下存储第一次启动文件,并且在第一次启动文件中写入第一次启动标志,便于下次启动的判定。当然并非存在第一次启动文件即可判定此次启动为第一次启动,此时还需要第一次启动文件内是否有第一次启动标志,该第一次启动标志类似一个标识,若存在第一次启动标志,才能判定此次启动为第一次启动。nvram是移动终端上的一套机制,nvram一般存在文件系统区内。
在具体实施过程中,可在nvram的根目录下查找第一次启动文件,若查找不到则可直接判定此次启动为第一次启动,并在nvram的根目录下建立第一次启动文件,并在该第一次启动文件内写入第一次启动标志,即进入步骤;若在nvram的根目录下查找到了第一次启动文件,则需要判断该第一次启动文件内是否含有第一次启动标志,即进入步骤S203。
在步骤S203中,若存在第一次启动文件则解析第一次启动文件,并判断第一次启动文件中是否含有第一次启动标志,若存在则判定此次启动不是第一次启动即为步骤S206;若不存在则判定此次启动为第一次启动,随即进入步骤S204。
在步骤S204中,在第一次启动文件中写入第一次启动标志;
在步骤S205中,第一次启动结束,在结束该第一次启动后,以后再启动移动终端,因为该移动终端内已经存在了包含第一次启动标志的第一次启动文件,所以以后的启动都可以判定为不是第一次启动。
本发明通过上述过程来判断移动终端的启动是否是第一次启动,并且在第一次启动文件内设置第一次启动标志,极大的方便了以后的启动识别过程,若判定为第一次启动,则直接更新应用信息,省去了收集移动终端应用信息的过程,若判定为不是第一次启动,才比较SIM卡的应用信息与移动终端的应用信息,这样使得本发明的设计更加完善,通过简单的判断过程省去了大量的时间,提高了本发明的效率。
从而,本发明实施例更新移动终端的应用程序信息的一个具体的流程可以是如图3所示;
在步骤S301中,开启移动终端,判断移动终端是否是第一次启动,若是则进入步骤S305;否则进入步骤S302;当移动终端是第一次启动时,则说明该移动终端的应用程序信息均为出厂默认的,此时可直接解析SIM卡中的应用程序信息文件,并根据解析结果更新移动终端的应用程序信息;当移动终端不是第一次启动时,则该移动终端中的应用程序可能已经含有一些例如账号信息、应用程序设置情况等应用程序信息。此时,需要判断是否插入并更换了SIM卡,即进入步骤S302。
在步骤S302中,判断移动终端是否插入了SIM卡,若未插入SIM卡,则进入步骤S306;若插入SIM卡,则可比较移动终端的应用信息文件与SIM卡中的应用信息文件;
在步骤S103中,若更换了SIM卡,则生成移动终端的应用程序信息文件;
在步骤S304中,比较移动终端的应用程序信息文件与SIM卡中的应用程序信息文件,若相同则进入步骤S306;否则进入步骤S305;
在步骤S305中,解析SIM卡中的应用程序信息文件,根据解析结果更新应用程序信息;
在步骤S306中,若移动终端并未更换SIM卡或移动终端的应用程序信息文件与SIM卡中存储的应用程序信息文件相同,或者已经更新完毕,则可直接退出流程。
本发明中,在移动终端插入SIM卡后,需比较移动终端的应用信息文件与SIM卡的应用信息文件,此时可先对移动终端的IMSI号与SIM卡上存储的IMSI号进行比较,即判断该移动终端是否更换了SIM卡,如果移动终端的IMSI号与SIM卡上存储的IMSI号不相同,则说明移动终端更换了SIM卡,此时可对移动终端的应用程序信息文件与SIM卡上的应用程序信息文件进行比较,以便完成移动终端的应用程序信息同步更新;如果移动终端的IMSI号与SIM卡上存储的IMSI号相同,则说明移动终端未更换SIM卡,这时无需对移动终端的应用程序信息进行更新,可直接退出流程。
图4示出了判断移动终端是否更换了SIM卡的方法流程图。
在步骤S401中,开启移动终端,判断移动终端是否是第一次启动,若是则直接将移动终端的IMSI号写入SIM卡中即进入步骤S304;否则进入步骤S402;
所述的IMSI号可以是存储在nvram根目录下的指定文件,例如存储在nvram根目录下的SIMinfo文件中,该指定文件存储了上次关机前的SIM相关信息,该SIM相关信息即指本发明中的IMSI号。
具体实施过程中,步骤S401的判断过程可采用上述方法进行判断,在判定移动终端是第一次启动后,则可直接在SIM卡中写入移动终端的IMSI号;若判定为不是第一次启动,则需要获取移动终端的IMSI号,并将其与SIM卡中存储的IMSI号进行比较,来判断是否更换了SIM卡,即进行步骤S402及之后的流程。
在步骤S402中,获取移动终端的IMSI号;
在步骤S403中,比较移动终端的IMSI号与SIM卡的IMSI号;
二者的比较过程即为判断是否更换了SIM卡的过程,如果二者的IMSI号不同,则说明已经更换了SIM卡,此时可以直接删除SIM卡的IMSI号,并将移动终端的IMSI号写入SIM卡的指定文件中,并将该指定文件存储在nvram的根目录下,即进入步骤S404及之后的流程;若二者的IMSI号相同,则说明未更换SIM卡,此时可直接退出流程。
在步骤S404中,删除SIM卡的IMSI号,将移动终端的IMSI号写入该SIM卡中;
此过程是为了更新SIM卡中存储的IMSI号,使得下次使用该SIM卡时,无需再更新其中的IMSI号,从而简化了本发明的流程。当然如果下次将该SIM卡插入至另外的移动终端中,则还需要更新SIM卡的IMSI号,使其与新的移动终端的IMSI号相匹配;
在步骤S405中,更新完了SIM卡的IMSI号后,可结束流程。
本发明中上述SIM卡是否更换的判断过程,通过比较移动终端的IMSI号与SIM卡的IMSI号,并在二者不相同时更新SIM卡的IMSI号,以便对SIM卡中的IMSI号更新,从而简化了判断过程,避免了如果装入相同的SIM卡后还需要更新SIM卡的IMSI号的过程,该方法既简单又实用。
图5示出了本发明实施例提供的更新移动终端应用程序信息的装置的结构。
所述装置包括:设置模块21、编码模块22、存储模块23、SIM卡识别模块24、应用信息文件比较模块25、解码模块26、导入模块27。
设置模块21提示用户是否需要更新移动终端的应用信息;该设置模块21可提供用户一个界面,提示是否需要更新移动终端的应用信息,具体实施过程中,可在移动终端中设置一“同步用户应用信息”的选项,如果用户选择此项,则可启动某线程来收集移动终端的应用信息,例如用户账户和用户设置信息。
编码模块22将移动终端应用信息编码保存至应用信息文件;因为目前各移动终端读写文件方式各不相同,为了使同步功能不受移动终端平台的限制,可设计一跨平台的编解码机制,本编码模块22就是将已收集好的移动终端的应用信息编码,然后保存至应用信息文件中,例如bin文件。
存储模块23将应用信息文件保存至SIM卡中;存储模块23是将已保存的应用信息文件例如bin文件存储到SIM卡中的指定目录下,以便在需要更新移动终端的应用信息时,可将SIM卡的指定目录下的应用信息文件写入到移动终端中。此过程中,会先判断SIM卡的指定目录下是否已经保存了同名的文件,如果没有,则可将该应用信息文件保存至SIM卡中;如果已经存在,则要比较已保存的应用信息文件与SIM卡的应用信息文件是否相同,如相同则无需保存至SIM卡中,如不同则覆盖SIM卡中原有的应用信息文件。
所述SIM卡识别模块24,用于移动终端判断是否插入了SIM卡,若移动终端判断为插入了SIM卡,还需要判断该SIM卡是否是进行了更换,其具体的判断过程前面已有详述。
应用信息文件比较模块25的作用即为将移动终端的应用信息文件与SIM卡中的应用信息文件进行比较,判断是否相同。其具体的判断过程前面已有详述,当移动终端的应用信息文件与SIM卡中的应用信息文件不相同时,则解码模块26开始工作。
解码模块26读取并解析SIM卡中的应用信息文件;因为上述编码模块22已经将应用信息编码成文件,此解码模块26就需要将已编码的应用信息文件解码,使移动终端可以读取应用信息文件中的内容。
导入模块27解析应用信息文件,并根据解析结果更新移动终端应用信息;在比较完移动终端的应用信息文件与SIM卡中的应用信息文件后,如需要更新,则根据解码模块26解码结果,将SIM卡中应用信息文件中的应用程序信息导入至移动终端对应的应用程序中,当然,这只限于原移动终端与目标移动终端都有的应用程序,而原移动终端没有、目标移动终端有的应用程序将不会更新,其设置、账号等信息保持不变。
所述装置还包括第一次启动识别模块。
所述第一次启动识别模块,用于移动终端判断其启动是否是第一次启动,该判断过程与上述方法流程中的第一次启动判断过程及原理相同,故不再赘述。
本发明实施例通过比较移动终端的应用信息文件与SIM卡中的应用信息文件,当移动终端的应用信息文件与SIM卡中的应用信息文件不相同时,则解析SIM卡中的应用信息文件,并根据解析结果更新移动终端的应用信息。本发明实现了更换SIM卡也能同时更新用户应用程序信息的功能,即使用户经常更换移动终端或SIM卡,其个人的应用信息也不会受到影响,既快捷又方便,避免了以往需要用户手动更新的麻烦,为用户提供了极大的方便,其用户体验得到了很好的改善。
应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本发明所附权利要求的保护范围。

Claims (15)

  1. 一种更新移动终端的应用信息的方法,其特征在于,所述方法包括以下步骤:
    A、预先将移动终端的应用信息文件存储至SIM卡中;
    B、移动终端判断是否插入了SIM卡,当是时执行步骤C;
    C、移动终端判断其应用信息文件与SIM卡中的应用信息文件是否相同;当否时,则执行步骤D;
    D、解析SIM卡中的应用信息文件,并根据解析结果更新移动终端的应用信息;
    所述步骤A具体包括:
    A1、移动终端判断SIM卡中是否含有应用信息文件,当否时将移动终端的应用信息文件存储至SIM卡中,当是时进入步骤A2;
    A2、判断移动终端的应用信息文件与SIM卡中的应用信息文件是否相同;
    A3、当移动终端的应用信息文件与SIM卡中的应用信息文件不相同时,将移动终端的应用信息文件覆盖至SIM卡中的应用信息文件。
  2. 根据权利要求1所述的更新移动终端的应用信息的方法,其特征在于,所述应用信息文件包括应用程序信息文件和IMSI号。
  3. 根据权利要求1所述的更新移动终端的应用信息的方法,其特征在于,所述步骤B还包括:
    B1、移动终端判断是否是第一次启动;当是时,执行所述步骤D;当否时执行所述步骤C。
  4. 根据权利要求3所述的更新移动终端的应用信息的方法,其特征在于,所述判断移动终端是否是第一次启动的过程具体包括:
    B11、查找移动终端是否存在第一次启动文件,若否则建立第一次启动文件,并判定此次启动为第一次启动,并在第一次启动文件中写入第一次启动标志;若是则解析第一次启动文件,并进入步骤B12;
    B12、判断第一次启动文件中是否含有第一次启动标志,若是则判定此次启动不是第一次启动;若否则判定此次启动为第一次启动,并在第一次启动文件中写入第一次启动标志。
  5. 根据权利要求2所述的更新移动终端的应用信息的方法,其特征在于,所述步骤C具体包括:
    C1、移动终端判断其应用信息文件中的IMSI号与SIM卡的IMSI号是否相同;
    C2、当移动终端的IMSI号与SIM卡的IMSI号不相同时,则移动终端判断为更换了SIM卡,并执行步骤C3;
    C3、移动终端判断其应用程序信息文件与SIM卡中的应用程序信息文件是否相同,当不相同时则执行步骤D。
  6. 根据权利要求5所述的更新移动终端的应用信息的方法,其特征在于,所述步骤D具体包括:
    解析SIM卡中的应用程序信息文件,并根据解析结果判断移动终端中是否含有该应用程序信息文件对应的应用程序,当有时更新移动终端的应用程序信息。
  7. 一种更新移动终端的应用信息的方法,其特征在于,所述方法包括以下步骤:
    A、预先将移动终端的应用信息文件存储至SIM卡中;
    B、移动终端判断是否插入了SIM卡,当是时执行步骤C;
    C、移动终端判断其应用信息文件与SIM卡中的应用信息文件是否相同;当否时,则执行步骤D;
    D、解析SIM卡中的应用信息文件,并根据解析结果更新移动终端的应用信息。
  8. 根据权利要求1所述的更新移动终端的应用信息的方法,其特征在于,所述应用信息文件包括应用程序信息文件和IMSI号。
  9. 根据权利要求7所述的更新移动终端的应用信息的方法,其特征在于,所述步骤B还包括:
    B1、移动终端判断是否是第一次启动;当是时,执行所述步骤D;当否时执行所述步骤C。
  10. 根据权利要求9所述的更新移动终端的应用信息的方法,其特征在于,所述判断移动终端是否是第一次启动的过程具体包括:
    B11、查找移动终端是否存在第一次启动文件,若否则建立第一次启动文件,并判定此次启动为第一次启动,并在第一次启动文件中写入第一次启动标志;若是则解析第一次启动文件,并进入步骤B12;
    B12、判断第一次启动文件中是否含有第一次启动标志,若是则判定此次启动不是第一次启动;若否则判定此次启动为第一次启动,并在第一次启动文件中写入第一次启动标志。
  11. 根据权利要求8所述的更新移动终端的应用信息的方法,其特征在于,所述步骤C具体包括:
    C1、移动终端判断其应用信息文件中的IMSI号与SIM卡的IMSI号是否相同;
    C2、当移动终端的IMSI号与SIM卡的IMSI号不相同时,则移动终端判断为更换了SIM卡,并执行步骤C3;
    C3、移动终端判断其应用程序信息文件与SIM卡中的应用程序信息文件是否相同,当不相同时则执行步骤D。
  12. 根据权利要求11所述的更新移动终端的应用信息的方法,其特征在于,所述步骤D具体包括:
    解析SIM卡中的应用程序信息文件,并根据解析结果判断移动终端中是否含有该应用程序信息文件对应的应用程序,当有时更新移动终端的应用程序信息。
  13. 一种更新移动终端的应用信息的装置,其特征在于,所述装置包括:
    存储模块,用于将移动终端的应用信息文件存储至SIM卡中;
    SIM卡识别模块,用于移动终端判断是否插入了SIM卡;
    应用信息文件比较模块,用于判断移动终端的应用信息文件与SIM卡中的应用信息文件是否相同;
    导入模块,用于解析SIM卡中的应用信息文件,并根据解析结果更新移动终端的应用信息。
  14. 根据权利要求13所述的更新移动终端的应用信息的装置,其特征在于,所述装置还包括:
    所述装置还包括:
    设置模块,用于提示用户是否需要更新移动终端的应用信息;
    编码模块,用于将移动终端应用信息编码为应用信息文件;
    解码模块,用于解码SIM卡中的应用信息文件。
  15. 根据权利要求13所述的更新移动终端的应用信息的装置,其特征在于,所述装置还包括:
    第一次启动识别模块,用于移动终端判断是否是第一次启动。
PCT/CN2012/087638 2012-03-28 2012-12-27 一种更新移动终端的应用信息的方法及装置 WO2013143341A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210086016.X 2012-03-28
CN201210086016.XA CN102647701B (zh) 2012-03-28 2012-03-28 一种更新移动终端的应用信息的方法及装置

Publications (1)

Publication Number Publication Date
WO2013143341A1 true WO2013143341A1 (zh) 2013-10-03

Family

ID=46660237

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/087638 WO2013143341A1 (zh) 2012-03-28 2012-12-27 一种更新移动终端的应用信息的方法及装置

Country Status (2)

Country Link
CN (1) CN102647701B (zh)
WO (1) WO2013143341A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579137A (zh) * 2019-09-29 2021-03-30 深圳Tcl数字技术有限公司 一种应用程序更新包的生成方法、智能终端及存储介质

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647701B (zh) * 2012-03-28 2016-02-10 惠州Tcl移动通信有限公司 一种更新移动终端的应用信息的方法及装置
CN103078670A (zh) * 2012-12-26 2013-05-01 东莞宇龙通信科技有限公司 信息获取的方法及电子设备
CN104144246A (zh) * 2013-05-08 2014-11-12 中兴通讯股份有限公司 Sd卡、移动终端以及移动终端间apk信息同步的方法
CN103559048B (zh) * 2013-09-27 2017-11-17 酷派软件技术(深圳)有限公司 一种保存数据的方法及装置
CN103795445B (zh) 2014-01-20 2017-02-08 惠州Tcl移动通信有限公司 一种基于蓝牙的通讯录信息转移的方法及系统
CN107465954B (zh) * 2014-12-04 2019-09-06 Oppo广东移动通信有限公司 动态缩略图的生成方法及相关产品
CN106303013A (zh) * 2016-08-10 2017-01-04 惠州Tcl移动通信有限公司 一种基于sim卡自动化设置移动终端的方法及系统
CN107094303B (zh) * 2017-06-09 2021-01-15 努比亚技术有限公司 终端网络注册方法、装置及计算机可读存储介质
CN108848497B (zh) * 2018-06-01 2022-05-20 中国联合网络通信集团有限公司 应用列表的获取方法、装置、终端及计算机可读存储介质
CN111132125A (zh) * 2019-11-25 2020-05-08 维沃移动通信(杭州)有限公司 一种账号清理方法及终端设备
CN114070927B (zh) * 2022-01-14 2022-07-08 荣耀终端有限公司 一种设置保留方法和终端

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1750709A (zh) * 2004-09-14 2006-03-22 乐金电子(中国)研究开发中心有限公司 管理移动通信终端的配置信息登录方法
CN101646261A (zh) * 2008-08-05 2010-02-10 广州盛华信息技术有限公司 用户识别卡及手持设备
CN101710918A (zh) * 2009-11-11 2010-05-19 上海赞禾电子产品有限公司 手机存储卡自动安装软件的方法及手机存储卡
CN102647701A (zh) * 2012-03-28 2012-08-22 惠州Tcl移动通信有限公司 一种更新移动终端的应用信息的方法及装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100505791C (zh) * 2004-03-16 2009-06-24 联想(北京)有限公司 解码方法及装置
CN101282540A (zh) * 2008-04-30 2008-10-08 飞图科技(北京)有限公司 一种用存储卡备份和恢复手机中信息的方法
CN101854426A (zh) * 2010-01-26 2010-10-06 宇龙计算机通信科技(深圳)有限公司 一种移动终端开机启动的方法、系统及移动终端
CN102110031A (zh) * 2011-02-23 2011-06-29 宇龙计算机通信科技(深圳)有限公司 基于android系统的应用程序备份与恢复的方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1750709A (zh) * 2004-09-14 2006-03-22 乐金电子(中国)研究开发中心有限公司 管理移动通信终端的配置信息登录方法
CN101646261A (zh) * 2008-08-05 2010-02-10 广州盛华信息技术有限公司 用户识别卡及手持设备
CN101710918A (zh) * 2009-11-11 2010-05-19 上海赞禾电子产品有限公司 手机存储卡自动安装软件的方法及手机存储卡
CN102647701A (zh) * 2012-03-28 2012-08-22 惠州Tcl移动通信有限公司 一种更新移动终端的应用信息的方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579137A (zh) * 2019-09-29 2021-03-30 深圳Tcl数字技术有限公司 一种应用程序更新包的生成方法、智能终端及存储介质

Also Published As

Publication number Publication date
CN102647701B (zh) 2016-02-10
CN102647701A (zh) 2012-08-22

Similar Documents

Publication Publication Date Title
WO2013143341A1 (zh) 一种更新移动终端的应用信息的方法及装置
WO2019165691A1 (zh) 自动生成测试案例的方法、装置、设备及可读存储介质
WO2017028601A1 (zh) 智能终端的语音控制方法、装置及电视机系统
WO2017152603A1 (zh) 显示方法及装置
WO2013131444A1 (zh) 分享内容的方法、终端、服务器及系统、计算机存储介质
WO2013143334A1 (zh) 一种更新移动终端nfc固件的方法及其移动终端
WO2017201913A1 (zh) 一种精准语音控制方法及装置
WO2019127837A1 (zh) 建表脚本生成方法、装置、设备及计算机可读存储介质
WO2017190450A1 (zh) 进程关闭方法及装置
WO2019161615A1 (zh) 账单录入方法、系统、光学字符识别服务器和存储介质
WO2019041832A1 (zh) 修改源数据库表结构的方法、服务器、系统及存储介质
WO2019174375A1 (zh) 接口测试方法、装置、设备及计算机可读存储介质
WO2017063366A1 (zh) 应用启动方法和系统
WO2012028079A1 (zh) 一种移动终端备份数据的导入方法及装置
WO2018028121A1 (zh) 数据分区的存储空间管理方法及装置
WO2017041538A1 (zh) 终端用户界面的受控显示方法及装置
WO2014000635A1 (zh) 阅读器提供服务的方法、阅读器、终端及计算机存储介质
WO2018233369A1 (zh) 基于写时复制的虚拟磁盘写入方法及装置、存储介质
WO2016173192A1 (zh) 电视稳定性测试方法及装置
WO2017197802A1 (zh) 字符串模糊匹配方法及装置
WO2017059686A1 (zh) 桌面显示方法及装置
WO2019080401A1 (zh) 脚本语句转换方法、装置及计算机可读存储介质
WO2016029502A1 (zh) 信号源的切换方法及装置
WO2015169209A1 (en) Animation data generating method, apparatus, and electronic device
WO2012028080A1 (zh) 一种移动终端数据信息的备份方法及装置

Legal Events

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

Ref document number: 12873183

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

Country of ref document: EP

Kind code of ref document: A1