[go: up one dir, main page]

CN101221511A - A method for automatically installing and upgrading terminal equipment application software - Google Patents

A method for automatically installing and upgrading terminal equipment application software Download PDF

Info

Publication number
CN101221511A
CN101221511A CNA2008100569125A CN200810056912A CN101221511A CN 101221511 A CN101221511 A CN 101221511A CN A2008100569125 A CNA2008100569125 A CN A2008100569125A CN 200810056912 A CN200810056912 A CN 200810056912A CN 101221511 A CN101221511 A CN 101221511A
Authority
CN
China
Prior art keywords
application software
terminal device
host
program
boot program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2008100569125A
Other languages
Chinese (zh)
Inventor
周晓明
叶建盟
靳军红
张旭辉
舒娟媚
蹇海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNA2008100569125A priority Critical patent/CN101221511A/en
Publication of CN101221511A publication Critical patent/CN101221511A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

本发明公开了一种终端设备应用软件的自动安装及升级方法,通过在终端设备内设置存储器,将终端设备正常工作所需的应用软件存储在所述存储器内,当终端设备连接主机时,通过使用引导程序调用并执行安装程序或修复程序等应用软件内的功能程序,为终端设备准备好应用环境;同时,终端设备通过主机下载设备厂商所提供的新版本的软件完成应用软件安装文件的更新。使用本发明自动安装及升级方法,克服了现有技术中终端设备的应用软件以光盘为载体的各种缺点,提高了用户使用终端设备的方便感,降低了设备生产厂商的额外成本。

Figure 200810056912

The invention discloses a method for automatically installing and upgrading application software of a terminal device. By setting a memory in the terminal device, the application software required for the normal operation of the terminal device is stored in the memory. When the terminal device is connected to a host computer, through Use the boot program to call and execute the functional programs in the application software such as the installer or repair program to prepare the application environment for the terminal device; at the same time, the terminal device downloads the new version of the software provided by the device manufacturer through the host to complete the update of the application software installation file . Using the automatic installation and upgrading method of the present invention overcomes various shortcomings in the prior art that the application software of the terminal equipment uses a CD as a carrier, improves the user's sense of convenience in using the terminal equipment, and reduces the additional cost of the equipment manufacturer.

Figure 200810056912

Description

一种终端设备应用软件的自动安装及升级方法 A method for automatically installing and upgrading terminal equipment application software

技术领域technical field

本发明涉及终端设备的软件支撑技术,尤其涉及一种终端设备应用软件的自动安装及升级方法。The invention relates to the software support technology of terminal equipment, in particular to an automatic installation and upgrading method of application software of terminal equipment.

背景技术Background technique

为了便于安装和使用终端设备,生产厂商通常会随终端设备附送一张或几张带有安装终端设备应用软件的光盘,用户在首次使用终端设备时需要将光盘中的应用软件安装到计算机中。In order to facilitate the installation and use of terminal equipment, the manufacturer usually provides one or several CDs with terminal equipment application software with the terminal equipment. Users need to install the application software in the CD to the computer when using the terminal equipment for the first time.

图1为现有终端设备应用软件的安装过程示意图,如图1所示,启动应用软件后,系统首先检查是否已经安装过此软件,如果没有安装过,则显示软件安装界面,用户根据界面的提示进行操作,直至完成应用软件的安装,最后,启动应用软件运行界面,使用终端设备所提供的功能;如果该计算机中已经安装过该应用软件,则在软件安装界面显示更改/修复等提示内容,用户可以根据自己的需要对应用软件的功能进行增减,相应地选择更改或修复操作,待操作执行完毕,再启动应用软件的运行界面,对软件进行操作从而实现终端设备所提供的功能。Figure 1 is a schematic diagram of the installation process of the existing terminal equipment application software, as shown in Figure 1, after starting the application software, the system first checks whether the software has been installed, if not, the software installation interface will be displayed, and the user will follow the instructions on the interface Prompt to operate until the installation of the application software is completed, and finally, start the application software running interface to use the functions provided by the terminal device; if the application software has already been installed in the computer, the prompt content such as change/repair will be displayed on the software installation interface , the user can increase or decrease the functions of the application software according to their own needs, and choose to change or repair the operation accordingly. After the operation is completed, start the running interface of the application software, and operate the software to realize the functions provided by the terminal device.

如上所述的这种利用光盘安装应用软件的方式,对于用户而言,存在如下不足:如果在另外的计算机上使用该终端设备时或更换了计算机的操作系统后,就需要使用光盘重新以手动的方式进行应用软件的安装,安装成功后才能正式开始使用;当光盘丢失或损坏的时候,有可能造成用户无法使用该终端设备;在实际使用中,光盘携带起来很不方便;存储在光盘中的应用软件不能进行版本更新;这些都给用户体验该终端设备带来了很多不便,尤其对于类似于手机、无线数据卡等这些追求时尚和创新的产品,会降低用户的满意度。对于终端设备的厂商而言,为了提供与终端设备配套的应用软件,需要同时生产光盘,使用起来很不灵活,这不但增加了厂商的额外生产成本、而且延长了终端设备的生产周期。As mentioned above, the method of installing application software using a CD has the following disadvantages for users: if the terminal device is used on another computer or after the operating system of the computer is replaced, it is necessary to use the CD to re-install the application software manually. The installation of the application software can only be started after the installation is successful; when the CD is lost or damaged, the user may not be able to use the terminal device; in actual use, the CD is very inconvenient to carry; stored in the CD The application software cannot be updated; these bring a lot of inconvenience to the user experience of the terminal equipment, especially for fashion and innovation products such as mobile phones and wireless data cards, which will reduce user satisfaction. For terminal equipment manufacturers, in order to provide application software matching terminal equipment, CDs need to be produced at the same time, which is very inflexible to use, which not only increases the manufacturer's additional production costs, but also prolongs the production cycle of terminal equipment.

发明内容Contents of the invention

有鉴于此,本发明的主要目的在于提供一种终端设备应用软件的自动安装方法,能够使用户使用终端设备变得更方便,降低终端设备厂商的额外生产成本。In view of this, the main purpose of the present invention is to provide an automatic installation method for terminal equipment application software, which can make it more convenient for users to use terminal equipment and reduce additional production costs for terminal equipment manufacturers.

本发明的另一目的在于提供一种终端设备应用软件的自动升级方法,能够实现终端设备应用软件的版本自动更新。Another object of the present invention is to provide a method for automatically updating application software of a terminal device, which can automatically update the version of the application software of the terminal device.

为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, technical solution of the present invention is achieved in that way:

一种终端设备应用软件的自动安装方法,在终端设备中设置用于存放应用软件的存储器,并在所述存储器中设置引导程序,该方法还包括:A method for automatically installing application software in a terminal device. A memory for storing application software is set in the terminal device, and a boot program is set in the memory. The method also includes:

a、终端设备连接至主机后,引导程序自动运行,若引导程序判断出主机中未安装终端设备工作所需的应用软件,则执行步骤b;a. After the terminal device is connected to the host, the boot program runs automatically. If the boot program determines that the application software required for the terminal device to work is not installed in the host, execute step b;

b、引导程序在系统中建立下发指令的服务,然后运行所述应用软件的安装程序将应用软件安装到默认的主机文件目录下;b. The boot program establishes a service for issuing instructions in the system, and then runs the installation program of the application software to install the application software into the default host file directory;

c、主机通过所述服务所建立的任务向终端设备下发端口切换指令,将所述终端设备切换到正常使用模式;c. The host issues a port switching instruction to the terminal device through the task established by the service, and switches the terminal device to a normal use mode;

d、退出引导程序,启动并运行应用软件。d. Exit the boot program, start and run the application software.

步骤a进一步包括:Step a further includes:

a1、若主机中已安装过所述应用软件,则执行步骤a2;a1. If the application software has been installed in the host, then perform step a2;

a2、判断主机系统中的应用软件与终端设备中待安装的应用软件是否一致,若一致,则建立下发指令的服务,并返回步骤c;否则执行步骤a3;a2. Determine whether the application software in the host system is consistent with the application software to be installed in the terminal device. If they are consistent, establish a service for issuing instructions and return to step c; otherwise, execute step a3;

a3、判断主机中的应用软件能否修复,若能修复则执行更改/修复程序,将终端设备的应用软件中的文件复制到主机中默认的安装目录中,并退出引导程序;否则,运行卸载程序,卸载主机中的应用软件,并退出引导程序。a3. Determine whether the application software in the host can be repaired, if it can be repaired, execute the change/repair program, copy the files in the application software of the terminal device to the default installation directory in the host, and exit the boot program; otherwise, run the uninstall program, uninstall the application software in the host, and exit the boot program.

步骤a中所述引导程序判断主机中是否安装有终端设备工作所需的应用软件为:检查系统注册表中有无相应的产品标识,如果有,则主机中安装有终端设备工作所需的应用软件;否则主机中未安装终端设备工作所需的应用软件。The guide program described in step a judges whether the application software required for terminal equipment work is installed in the host computer: check whether there is a corresponding product identification in the system registry, if there is, the application software required for terminal equipment work is installed in the host computer software; otherwise, the application software required for the terminal device to work is not installed in the host.

步骤b中所述建立下发指令的服务为:在主机的系统管理程序中建立一个自动启动的任务。In the step b, the service of establishing and issuing instructions is: establishing an automatically started task in the system management program of the host.

步骤c中所述主机通过所述服务所建立的任务向终端设备下发端口切换指令为:调用应用编程接口API函数,关闭系统中当前访问终端设备存储器的端口,然后打开与终端设备进行通信的模式。In step c, the host sends a port switching instruction to the terminal device through the task established by the service: call the application programming interface API function, close the port currently accessing the terminal device memory in the system, and then open the port for communicating with the terminal device. model.

一种终端设备应用软件的升级方法,在终端设备中设置用于存放应用软件的存储器,并在所述存储器中设置引导程序,该方法还包括:A method for upgrading application software of a terminal device. A memory for storing application software is set in the terminal device, and a boot program is set in the memory. The method also includes:

A、终端设备处于正常使用模式下,若主机接入互联网,则应用软件通过访问预置的网址自动下载所述终端设备的应用软件的升级文件;A. The terminal device is in normal use mode, if the host is connected to the Internet, the application software will automatically download the upgrade file of the application software of the terminal device by accessing the preset URL;

B、引导程序卸载主机内的旧版本应用软件,并将所述终端设备中应用软件的升级文件安装在主机内。B. The boot program uninstalls the old version of the application software in the host, and installs the upgrade file of the application software in the terminal device in the host.

本发明所提供的终端设备应用软件的自动安装及升级方法,具有以下优点:The automatic installation and upgrading method of terminal equipment application software provided by the present invention has the following advantages:

1)本发明方法中,通过在终端设备中设置存储器存放应用软件,代替了由设备生产厂商以光盘为介质供应应用软件的方式,为用户使用终端设备提供了新的便捷方式;摒弃了光盘,因此也为终端设备厂商节省了开支。1) In the method of the present invention, by setting the memory in the terminal device to store the application software, instead of supplying the application software with the CD as the medium by the device manufacturer, a new convenient way is provided for the user to use the terminal device; the CD is discarded, Therefore, it also saves expenses for terminal equipment manufacturers.

2)本发明方法通过使用引导程序,在不同的使用环境下,引导程序能够分别调用终端设备中应用软件的安装程序、修复程序以及卸载程序,并且在安装或修复结束后,可实现端口的灵活切换,保证了应用软件的可使用性。2) The method of the present invention uses a boot program. Under different usage environments, the boot program can call the installation program, repair program and uninstallation program of the application software in the terminal device respectively, and after the installation or repair is completed, the flexibility of the port can be realized. Switching ensures the usability of the application software.

3)本发明通过应用软件自动下载并保存应用软件的升级文件,在终端设备再次连接主机时,可实现应用软件的自动卸载及自动升级,提高了使用终端设备的灵活性。3) The present invention automatically downloads and saves the upgrade file of the application software through the application software, and when the terminal device is connected to the host computer again, the automatic uninstallation and automatic upgrade of the application software can be realized, which improves the flexibility of using the terminal device.

附图说明Description of drawings

图1为现有终端设备应用软件的安装过程示意图;FIG. 1 is a schematic diagram of an installation process of an existing terminal device application software;

图2为本发明实施例中终端设备应用软件的自动安装过程示意图。FIG. 2 is a schematic diagram of an automatic installation process of terminal device application software in an embodiment of the present invention.

具体实施方式Detailed ways

下面结合附图及本发明的实施例对本发明的方法作进一步详细的说明。The method of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments of the present invention.

本发明终端设备应用软件的自动安装及升级方法,需要终端设备和主机的支持,所述终端设备,包括无线网卡、移动终端等;所述主机,包括个人计算机、笔记本电脑等。通过在终端设备中设置存储器,并将所述终端设备工作所需的应用软件写入存储器中,然后设置引导程序autorun.exe,引导程序中包括识别所述终端设备是否插入主机的功能、启动应用软件中的各种功能程序,如:安装程序、更改/修复程序、卸载程序等、切换主机与终端设备间的连接端口以及启动应用软件等功能。所述存储器,是指闪存芯片,由于闪存具有体积小、存储密度高及掉电后存储的数据不丢失的特点,而且随着技术门槛的降低,中小容量的闪存芯片的市场价格已经很低,用闪存芯片代替光盘备份应用软件是种可行的选择。The automatic installation and upgrading method of the terminal equipment application software of the present invention requires the support of the terminal equipment and the host computer. The terminal equipment includes a wireless network card, a mobile terminal, etc.; the host computer includes a personal computer, a notebook computer, and the like. By setting the memory in the terminal device, and writing the application software required for the operation of the terminal device into the memory, and then setting the boot program autorun.exe, the boot program includes the function of identifying whether the terminal device is plugged into the host, and starting the application Various functional programs in the software, such as: installing programs, changing/repairing programs, uninstalling programs, etc., switching the connection port between the host and the terminal device, and starting application software. The memory refers to a flash memory chip. Because flash memory has the characteristics of small size, high storage density, and data stored after power failure, and with the reduction of technical thresholds, the market price of small and medium-capacity flash memory chips is already very low. Replacing CD-ROM backup applications with flash memory chips is a viable option.

将应用软件的安装程序转换为.iso格式的文件,然后与引导程序一起存放到终端设备的存储器内,当终端设备与主机相连时,在终端设备的配合下,系统在主机硬盘中虚拟出来一个光盘只读存储器(CD-ROM)设备,操作系统会自动执行虚拟CD-ROM上添加的文件autorun.inf所指定路径中的引导程序autorun.exe。基于这样的机制,可以通过autorun.exe来控制终端设备应用软件的自动安装、已安装应用软件的启动、终端设备的端口切换等任务。Convert the installation program of the application software into a file in .iso format, and then store it in the memory of the terminal device together with the boot program. When the terminal device is connected to the host, with the cooperation of the terminal device, the system creates a virtual image in the hard disk of the host. CD-ROM device, the operating system will automatically execute the boot program autorun.exe in the path specified by the file autorun.inf added on the virtual CD-ROM. Based on such a mechanism, tasks such as automatic installation of terminal device application software, startup of installed application software, and port switching of the terminal device can be controlled through autorun.exe.

若autorun.exe检测到主机中已经安装应用软件,则直接运行应用软件,并下发端口切换指令给终端设备或根据实际情况执行其他操作;若主机中没有安装终端设备的应用软件,则调用应用软件的安装程序,待安装完成后运行应用软件,然后再下发端口切换指令给终端设备,此时该终端设备即可正常使用了。If autorun.exe detects that the application software has been installed in the host, it will run the application software directly, and issue a port switching command to the terminal device or perform other operations according to the actual situation; if the application software of the terminal device is not installed in the host, then call the application The software installation program runs the application software after the installation is completed, and then sends the port switching command to the terminal device, and the terminal device can be used normally at this time.

较佳地,也可以选择将终端设备的应用软件与引导程序直接存放在终端设备的存储器中的方式,在安装应用软件时,若主机中未安装过所述应用软件,则通过引导程序中的设置自动执行安装程序,安装过程与以上所述通过虚拟光驱的方式类似;若引导程序检测到主机中已经安装过所述应用软件,后续的处理过程与使用虚拟光驱的方式完全相同。Preferably, it is also possible to choose to directly store the application software and the boot program of the terminal device in the memory of the terminal device. When installing the application software, if the application software has not been installed in the host computer, then through the Set to automatically execute the installation program, the installation process is similar to the above-mentioned way through the virtual CD-ROM; if the boot program detects that the application software has been installed in the host, the subsequent processing is exactly the same as using the virtual CD-ROM.

图2为本发明实施例中终端设备应用软件的自动安装过程示意图。如图2所示,该过程包括:FIG. 2 is a schematic diagram of an automatic installation process of terminal device application software in an embodiment of the present invention. As shown in Figure 2, the process includes:

步骤201:连接终端设备与主机,运行引导程序判断主机中是否已经安装了终端设备工作所需的应用软件,若未安装,则执行步骤202;否则,执行步骤206。Step 201: Connect the terminal device to the host, run the boot program to determine whether the application software required for the terminal device has been installed in the host, if not, go to step 202; otherwise, go to step 206.

对于windows系列操作系统软件,如:windows9x、windows2000、windowsNT、windows XP、windows Vista等而言,所述判断主机中是否已经安装终端设备的应用软件,是通过检测注册表项[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\]中有无该应用软件的产品标识(Product ID)来判定的,若不存在标识,则当前主机中没有安装过该应用软件;否则,当前主机中已存在该应用软件。For windows series operating system software, such as: windows9x, windows2000, windowsNT, windows XP, windows Vista, etc., the above-mentioned judging whether the application software of the terminal device has been installed in the host is by detecting the registry key [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft \Windows\CurrentVersion\Uninstall\] to determine whether there is a product ID (Product ID) of the application software, if there is no identification, the application software has not been installed in the current host; otherwise, the application already exists in the current host software.

对于Linux等操作系统软件而言,判断主机内是否安装过终端设备的应用软件的过程类似,这里不再赘述。For operating system software such as Linux, the process of judging whether the application software of the terminal device has been installed in the host is similar, and will not be repeated here.

步骤202:引导程序在系统中建立下发指令的服务。Step 202: The bootstrap program establishes a service for issuing instructions in the system.

这里,以windoWS XP环境下的应用为例,所述建立下发指令的服务,具体过程为:在操作系统的【控制面板】内【管理工具】的【服务】程序下建立一个任务,规定所述任务的名称、启动类型等内容;所述启动类型,可以根据需要选择禁用、手动或自动启动,本发明中设置为自动。Here, taking the application in the window WS XP environment as an example, the specific process of establishing the service for issuing instructions is as follows: create a task under the [Service] program of the [Management Tool] in the [Control Panel] of the operating system, and specify the required The title of the task, the startup type, etc.; the startup type can be selected to disable, manual or automatic startup as required, and it is set to automatic in the present invention.

步骤203:运行应用软件的安装程序,安装成功后执行步骤204。Step 203: run the installation program of the application software, and execute step 204 after the installation is successful.

弹出应用软件的安装界面,并自动运行安装程序,按照应用软件设定的默认路径将终端设备工作所需的软件安装在主机中。The installation interface of the application software will pop up, and the installation program will run automatically, and the software required for the terminal device to work will be installed in the host computer according to the default path set by the application software.

步骤204:主机通过所建立的任务向终端设备下发端口切换指令,使所述终端设备切换到正常使用模式,执行步骤205。Step 204: The host issues a port switching command to the terminal device through the created task, so that the terminal device switches to the normal use mode, and then step 205 is executed.

所述向终端设备下发端口切换指令,具体为:通过调用应用编程接口(API)函数,将系统中当前访问终端设备存储器的端口关闭,然后打开与终端设备进行通信的模式即正常使用模式。The sending port switching instruction to the terminal device is specifically: by calling the application programming interface (API) function, the port currently accessing the terminal device memory in the system is closed, and then the mode of communicating with the terminal device is opened, that is, the normal use mode.

步骤205:退出引导程序,启动并运行应用软件。Step 205: Exit the boot program, start and run the application software.

此时,应用软件安装结束,用户即可正常使用所述终端设备了。At this point, the installation of the application software is completed, and the user can use the terminal device normally.

为了解决终端设备中应用软件的版本自动更新问题,在所述终端设备中或已安装在主机内的应用软件中,还预设有设备厂商所提供的指向应用软件版本升级的统一资源定位符(URL)地址,当用户通过主机访问互联网时,若此时终端设备与主机相连,则可自动下载所需的升级文件并保存在终端设备的存储器中。In order to solve the problem of automatically updating the version of the application software in the terminal device, in the terminal device or the application software installed in the host, there is also preset a Uniform Resource Locator ( URL) address, when the user accesses the Internet through the host, if the terminal device is connected to the host at this time, the required upgrade file can be automatically downloaded and stored in the memory of the terminal device.

所述终端设备通过访问互联网自动下载升级文件,可以通过应用软件的运行界面选择关闭或打开。若该项选择为关闭,还可以通过手动的方式将终端设备中的升级文件进行更新。The terminal device automatically downloads the upgrade file by accessing the Internet, and can be selected to be closed or opened through the running interface of the application software. If this item is selected as off, the upgrade file in the terminal device can also be updated manually.

步骤206:判断主机系统中的应用软件与终端设备中待安装的应用软件是否一致,若一致,则建立下发指令的服务,并返回步骤204;否则,执行步骤207。Step 206: Determine whether the application software in the host system is consistent with the application software to be installed in the terminal device. If they are consistent, establish a service for issuing instructions and return to step 204; otherwise, execute step 207.

所述判断应用软件是否一致,是指主机中已安装过的应用软件的版本号与终端设备中的应用软件的版本号是否一致,同时对主机中应用软件的文件进行完整性校验,如果版本号完全一致且文件完整,则认为是一致的;否则,认为两者不一致。Said judging whether the application software is consistent refers to whether the version number of the application software installed in the host computer is consistent with the version number of the application software in the terminal device, and at the same time, the integrity check is performed on the file of the application software in the host computer. If the number is exactly the same and the file is complete, it is considered to be consistent; otherwise, the two are considered to be inconsistent.

步骤207:判断主机中的应用软件能否修复,如果能修复,则执行步骤208;否则,执行步骤209。Step 207: Determine whether the application software in the host can be repaired, if it can be repaired, go to step 208; otherwise, go to step 209.

所述判断主机中的应用软件能否修复,是依据安装在主机内应用软件中的核心文件的属性而定,具体地说:如果是重要的系统文件损坏、缺失或执行应用软件时所指向的文件版本与终端设备中的文件不一致,则认为不可修复;如果是应用软件中的配置文件等非核心文件丢失,则认为可以修复。The judgment of whether the application software in the host can be repaired depends on the attributes of the core files installed in the application software in the host, specifically: if important system files are damaged, missing, or the If the file version is inconsistent with the file in the terminal device, it is considered irreparable; if the non-core files such as configuration files in the application software are lost, it is considered repairable.

步骤208:执行更改/修复程序,将终端设备的应用软件中的文件复制到主机中默认的安装目录中,并退出引导程序。Step 208: Execute the change/repair program, copy the files in the application software of the terminal device to the default installation directory in the host, and exit the boot program.

此时,所述终端设备的应用软件的文件已经修复,只需重新连接终端设备与主机即可启动并运行相应的应用软件,正常使用终端设备了。At this time, the file of the application software of the terminal device has been repaired, and the corresponding application software can be started and run only by reconnecting the terminal device and the host, and the terminal device can be used normally.

步骤209:运行卸载程序,卸载主机中的应用软件,并退出引导程序,等待再次重新安装应用软件。Step 209: Run the uninstall program, uninstall the application software in the host, exit the boot program, and wait for the application software to be reinstalled again.

这里,在卸载主机中的应用软件时,除了删除安装在主机中的默认目录下的所有文件外,还包括卸载注册表中终端设备的应用软件的版本号以及产品标识等信息,以避免重新安装应用软件时出现版本号混乱的情况。Here, when uninstalling the application software in the host, in addition to deleting all the files installed in the default directory of the host, it also includes information such as the version number and product identification of the application software of the terminal device in the uninstallation registry, so as to avoid reinstallation The version number confusion occurs when applying software.

在终端设备的使用过程中,当遇到终端设备的应用软件需要更新的情况,用户除了通过主机访问互联网进行自动更新外,还可以将新版本的应用软件转换为.iso格式的文件,将原来的旧版本.iso格式的文件替换掉即可,克服了以光盘为载体存储应用软件的方式不能更新应用软件的缺陷。During the use of terminal equipment, when the application software of the terminal equipment needs to be updated, in addition to accessing the Internet through the host computer for automatic update, the user can also convert the new version of the application software into an .iso format file, and convert the original The old version of the .iso format file can be replaced, which overcomes the defect that the application software cannot be updated by using the CD as the carrier to store the application software.

当更新了应用软件后的终端设备正常连接主机时,即可按照图2所述的自动安装应用软件的方法进行升级了。When the terminal device after updating the application software is normally connected to the host, it can be upgraded according to the method of automatically installing the application software described in Figure 2 .

以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.

Claims (6)

1.一种终端设备应用软件的自动安装方法,其特征在于,在终端设备中设置用于存放应用软件的存储器,并在所述存储器中设置引导程序,该方法还包括:1. an automatic installation method of terminal equipment application software, it is characterized in that, the memory that is used to deposit application software is set in terminal equipment, and guide program is set in described memory, this method also includes: a、终端设备连接至主机后,引导程序自动运行,若引导程序判断出主机中未安装终端设备工作所需的应用软件,则执行步骤b;a. After the terminal device is connected to the host, the boot program runs automatically. If the boot program determines that the application software required for the terminal device to work is not installed in the host, execute step b; b、引导程序在系统中建立下发指令的服务,然后运行所述应用软件的安装程序将应用软件安装到默认的主机文件目录下;b. The boot program establishes a service for issuing instructions in the system, and then runs the installation program of the application software to install the application software into the default host file directory; c、主机通过所述服务所建立的任务向终端设备下发端口切换指令,将所述终端设备切换到正常使用模式;c. The host issues a port switching instruction to the terminal device through the task established by the service, and switches the terminal device to a normal use mode; d、退出引导程序,启动并运行应用软件。d. Exit the boot program, start and run the application software. 2.根据权利要求1所述的方法,其特征在于,步骤a进一步包括:2. The method according to claim 1, wherein step a further comprises: a1、若主机中已安装过所述应用软件,则执行步骤a2;a1. If the application software has been installed in the host, then perform step a2; a2、判断主机系统中的应用软件与终端设备中待安装的应用软件是否一致,若一致,则建立下发指令的服务,并返回步骤c;否则执行步骤a3;a2. Determine whether the application software in the host system is consistent with the application software to be installed in the terminal device. If they are consistent, establish a service for issuing instructions and return to step c; otherwise, execute step a3; a3、判断主机中的应用软件能否修复,若能修复则执行更改/修复程序,将终端设备的应用软件中的文件复制到主机中默认的安装目录中,并退出引导程序;否则,运行卸载程序,卸载主机中的应用软件,并退出引导程序。a3. Determine whether the application software in the host can be repaired, if it can be repaired, execute the change/repair program, copy the files in the application software of the terminal device to the default installation directory in the host, and exit the boot program; otherwise, run the uninstall program, uninstall the application software in the host, and exit the boot program. 3.根据权利要求1所述的方法,其特征在于,步骤a中所述引导程序判断主机中是否安装有终端设备工作所需的应用软件为:检查系统注册表中有无相应的产品标识,如果有,则主机中安装有终端设备工作所需的应用软件;否则主机中未安装终端设备工作所需的应用软件。3. The method according to claim 1, wherein the guide program in the step a judges whether the required application software for terminal equipment work is installed in the host computer as follows: check whether there is a corresponding product identification in the system registry, If so, the host computer has installed the application software required for the terminal device to work; otherwise, the host computer has not installed the application software required for the terminal device to work. 4.根据权利要求1所述的方法,其特征在于,步骤b中所述建立下发指令的服务为:在主机的系统管理程序中建立一个自动启动的任务。4. The method according to claim 1, characterized in that, in step b, establishing the service for issuing instructions is: establishing an automatically started task in the system management program of the host. 5.根据权利要求1所述的方法,其特征在于,步骤c中所述主机通过所述服务所建立的任务向终端设备下发端口切换指令为:调用应用编程接口API函数,关闭系统中当前访问终端设备存储器的端口,然后打开与终端设备进行通信的模式。5. The method according to claim 1, characterized in that, in step c, the host sends a port switching instruction to the terminal device through the task established by the service as follows: call the application programming interface API function, close the current Access the port of the terminal device's memory and open the mode for communicating with the terminal device. 6.一种终端设备应用软件的升级方法,其特征在于,在终端设备中设置用于存放应用软件的存储器,并在所述存储器中设置引导程序,该方法还包括:6. A method for upgrading terminal equipment application software, characterized in that, a memory for storing application software is set in the terminal equipment, and a boot program is set in the memory, the method also includes: A、终端设备处于正常使用模式下,若主机接入互联网,则应用软件通过访问预置的网址自动下载所述终端设备的应用软件的升级文件;A. The terminal device is in normal use mode, if the host is connected to the Internet, the application software will automatically download the upgrade file of the application software of the terminal device by accessing the preset URL; B、引导程序卸载主机内的旧版本应用软件,并将所述终端设备中应用软件的升级文件安装在主机内。B. The boot program uninstalls the old version of the application software in the host, and installs the upgrade file of the application software in the terminal device in the host.
CNA2008100569125A 2008-01-25 2008-01-25 A method for automatically installing and upgrading terminal equipment application software Pending CN101221511A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008100569125A CN101221511A (en) 2008-01-25 2008-01-25 A method for automatically installing and upgrading terminal equipment application software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008100569125A CN101221511A (en) 2008-01-25 2008-01-25 A method for automatically installing and upgrading terminal equipment application software

Publications (1)

Publication Number Publication Date
CN101221511A true CN101221511A (en) 2008-07-16

Family

ID=39631371

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008100569125A Pending CN101221511A (en) 2008-01-25 2008-01-25 A method for automatically installing and upgrading terminal equipment application software

Country Status (1)

Country Link
CN (1) CN101221511A (en)

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101742503A (en) * 2008-11-18 2010-06-16 英华达(上海)电子有限公司 Method, device and system for decoding terminals
CN101901157A (en) * 2010-07-26 2010-12-01 中兴通讯股份有限公司 A method and system for managing software self-starting installation
WO2010139223A1 (en) * 2009-06-02 2010-12-09 中兴通讯股份有限公司 Data download method and device for wireless terminal
CN101951400A (en) * 2010-09-13 2011-01-19 烽火通信科技股份有限公司 Software installation and upgrading method of application terminal in home network and system thereof
CN101511040B (en) * 2009-02-25 2011-05-11 福建捷联电子有限公司 Method for automatically detecting display usage mode
CN101572852B (en) * 2009-06-18 2011-07-20 浙江大学 Dynamic service management method in TD-SCDMA (Time Division Synchronous Code Division Multiple Access) terminals
CN102231880A (en) * 2011-07-04 2011-11-02 中兴通讯股份有限公司 Version upgrade method and terminal, and version upgrade system
CN102331944A (en) * 2011-09-16 2012-01-25 北京思创银联科技股份有限公司 Application adding method based on electronic store
CN101789888B (en) * 2010-01-12 2012-04-11 腾讯科技(深圳)有限公司 Software installation detection method and device
CN101382904B (en) * 2008-09-28 2012-04-18 飞天诚信科技股份有限公司 A method and system for realizing automatic installation of a smart key device
CN101382903B (en) * 2008-09-28 2012-04-18 飞天诚信科技股份有限公司 Method and system for realizing automatic installation of intelligent secret key equipment
CN102436402A (en) * 2011-03-29 2012-05-02 奇智软件(北京)有限公司 Module repairing method in software and software equipment
CN101719821B (en) * 2008-10-09 2012-06-13 爱思开电讯投资(中国)有限公司 System for managing application program of intelligent card and method thereof
CN103049287A (en) * 2012-12-10 2013-04-17 东莞宇龙通信科技有限公司 Mobile terminal and method for installing mobile terminal applications
CN103064708A (en) * 2012-12-25 2013-04-24 广东欧珀移动通信有限公司 Application program installation method and system
CN103116509A (en) * 2013-01-18 2013-05-22 上海新华解放数字阅读传媒有限公司 Self-function and manufacturing method of electronic book files and system of electronic book files
CN103324507A (en) * 2013-06-25 2013-09-25 宇龙计算机通信科技(深圳)有限公司 Method and apparatus for updating terminal preset application program
CN103473657A (en) * 2013-09-30 2013-12-25 四川航天金穗高技术有限公司 Hotel information collecting system and information collecting method thereof
CN103514006A (en) * 2012-07-24 2014-01-15 Tcl集团股份有限公司 Method and system of upgrade of pre-installed applications of Android system
CN103546563A (en) * 2013-10-28 2014-01-29 北京奇虎科技有限公司 Terminal software intelligent update method and system
WO2014086173A1 (en) * 2012-12-03 2014-06-12 中兴通讯股份有限公司 Installation method and device for terminal software
CN104125245A (en) * 2013-04-23 2014-10-29 华为终端有限公司 Method, device and system for automatic software downloading
CN104166565A (en) * 2014-08-11 2014-11-26 成都瑞博慧窗信息技术有限公司 Intelligent display terminal firmware updating method
CN104603851A (en) * 2012-10-10 2015-05-06 精工爱普生株式会社 Receipt issuing device, and receipt issuing device control method
CN104836843A (en) * 2015-03-31 2015-08-12 北京奇虎科技有限公司 Client application program updating method and device
CN105094862A (en) * 2014-05-07 2015-11-25 阿里巴巴集团控股有限公司 Method for detecting whether application program is installed or not and browser
CN105989108A (en) * 2015-02-12 2016-10-05 广东欧珀移动通信有限公司 Information recommendation method and device
CN107179918A (en) * 2016-03-09 2017-09-19 华为软件技术有限公司 Software processing method, apparatus and system
CN112068872A (en) * 2020-09-11 2020-12-11 上海湃睿信息科技有限公司 Cloud management platform based on intranet software
TWI790505B (en) * 2020-07-10 2023-01-21 凌通科技股份有限公司 Os-independent peripheral plug-and-play and driver update method for embedded systems and development system for embedded system using the same

Cited By (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101382903B (en) * 2008-09-28 2012-04-18 飞天诚信科技股份有限公司 Method and system for realizing automatic installation of intelligent secret key equipment
CN101382904B (en) * 2008-09-28 2012-04-18 飞天诚信科技股份有限公司 A method and system for realizing automatic installation of a smart key device
CN101719821B (en) * 2008-10-09 2012-06-13 爱思开电讯投资(中国)有限公司 System for managing application program of intelligent card and method thereof
CN101742503A (en) * 2008-11-18 2010-06-16 英华达(上海)电子有限公司 Method, device and system for decoding terminals
CN101511040B (en) * 2009-02-25 2011-05-11 福建捷联电子有限公司 Method for automatically detecting display usage mode
WO2010139223A1 (en) * 2009-06-02 2010-12-09 中兴通讯股份有限公司 Data download method and device for wireless terminal
CN101572852B (en) * 2009-06-18 2011-07-20 浙江大学 Dynamic service management method in TD-SCDMA (Time Division Synchronous Code Division Multiple Access) terminals
CN101789888B (en) * 2010-01-12 2012-04-11 腾讯科技(深圳)有限公司 Software installation detection method and device
WO2012012970A1 (en) * 2010-07-26 2012-02-02 中兴通讯股份有限公司 Self-starting installation method, system and device of management software
CN101901157A (en) * 2010-07-26 2010-12-01 中兴通讯股份有限公司 A method and system for managing software self-starting installation
CN101901157B (en) * 2010-07-26 2015-01-28 中兴通讯股份有限公司 Management software self-starting installation method and system
CN101951400B (en) * 2010-09-13 2013-01-02 烽火通信科技股份有限公司 Software installation and upgrading method of application terminal in home network and system thereof
CN101951400A (en) * 2010-09-13 2011-01-19 烽火通信科技股份有限公司 Software installation and upgrading method of application terminal in home network and system thereof
CN102436402A (en) * 2011-03-29 2012-05-02 奇智软件(北京)有限公司 Module repairing method in software and software equipment
CN102231880A (en) * 2011-07-04 2011-11-02 中兴通讯股份有限公司 Version upgrade method and terminal, and version upgrade system
CN102331944A (en) * 2011-09-16 2012-01-25 北京思创银联科技股份有限公司 Application adding method based on electronic store
CN103514006A (en) * 2012-07-24 2014-01-15 Tcl集团股份有限公司 Method and system of upgrade of pre-installed applications of Android system
US9824345B2 (en) 2012-10-10 2017-11-21 Seiko Epson Corporation Receipt generating device, and control method of a receipt generating device
CN104603851B (en) * 2012-10-10 2017-07-14 精工爱普生株式会社 Receipt issuing device, control method of receipt issuing device
CN104603851A (en) * 2012-10-10 2015-05-06 精工爱普生株式会社 Receipt issuing device, and receipt issuing device control method
WO2014086173A1 (en) * 2012-12-03 2014-06-12 中兴通讯股份有限公司 Installation method and device for terminal software
CN103049287A (en) * 2012-12-10 2013-04-17 东莞宇龙通信科技有限公司 Mobile terminal and method for installing mobile terminal applications
CN103064708A (en) * 2012-12-25 2013-04-24 广东欧珀移动通信有限公司 Application program installation method and system
CN103116509A (en) * 2013-01-18 2013-05-22 上海新华解放数字阅读传媒有限公司 Self-function and manufacturing method of electronic book files and system of electronic book files
CN104125245A (en) * 2013-04-23 2014-10-29 华为终端有限公司 Method, device and system for automatic software downloading
CN103324507A (en) * 2013-06-25 2013-09-25 宇龙计算机通信科技(深圳)有限公司 Method and apparatus for updating terminal preset application program
CN103473657A (en) * 2013-09-30 2013-12-25 四川航天金穗高技术有限公司 Hotel information collecting system and information collecting method thereof
CN103546563B (en) * 2013-10-28 2016-09-28 北京奇虎科技有限公司 terminal software intelligent updating method and system
CN103546563A (en) * 2013-10-28 2014-01-29 北京奇虎科技有限公司 Terminal software intelligent update method and system
CN105094862A (en) * 2014-05-07 2015-11-25 阿里巴巴集团控股有限公司 Method for detecting whether application program is installed or not and browser
CN105094862B (en) * 2014-05-07 2019-04-09 阿里巴巴集团控股有限公司 The method and browser whether detection application program is installed
CN104166565A (en) * 2014-08-11 2014-11-26 成都瑞博慧窗信息技术有限公司 Intelligent display terminal firmware updating method
CN104166565B (en) * 2014-08-11 2017-10-17 成都瑞博慧窗信息技术有限公司 A kind of intelligent display terminal firmware upgrade method
CN105989108A (en) * 2015-02-12 2016-10-05 广东欧珀移动通信有限公司 Information recommendation method and device
CN104836843A (en) * 2015-03-31 2015-08-12 北京奇虎科技有限公司 Client application program updating method and device
CN107179918A (en) * 2016-03-09 2017-09-19 华为软件技术有限公司 Software processing method, apparatus and system
TWI790505B (en) * 2020-07-10 2023-01-21 凌通科技股份有限公司 Os-independent peripheral plug-and-play and driver update method for embedded systems and development system for embedded system using the same
CN112068872A (en) * 2020-09-11 2020-12-11 上海湃睿信息科技有限公司 Cloud management platform based on intranet software

Similar Documents

Publication Publication Date Title
CN101221511A (en) A method for automatically installing and upgrading terminal equipment application software
US7237238B2 (en) Method and apparatus for automated operating systems upgrade
US8856723B2 (en) Apparatus and method for network driver injection into target image
CN100424644C (en) Firmware program on-line upgrading method and hardware equipment
CN101110039B (en) Terminal unit self-installing and self-starting system and method thereof
US20020073304A1 (en) System and method for updating firmware
CZ25397A3 (en) Computer system
CN101163313A (en) A method and device for automatically upgrading near-end software
CN1675628A (en) System and method for automating firmware maintenance
CN102436383A (en) Firmware program processing method and equipment
CN102171668A (en) A storage device for mounting to a host
CN106020861A (en) FOTA upgrading method and system for smart watch
CN102609290B (en) The method for upgrading software of electronic product
CN106649098A (en) Method and device for achieving version-release-software debugging on terminal device
CN106155713B (en) Startup information management method and device
CN113741940A (en) Method for upgrading whole electric vehicle controller bootloader on line
CN116009921A (en) Embedded operating system upgrade method, device and medium thereof
CN101901157B (en) Management software self-starting installation method and system
US20040221024A1 (en) Apparatus and method for setting environment of client in client / server system, and program recording medium therefor
US20100162234A1 (en) Method for installing application and computer system thereof
CN100375959C (en) Device and method capable of automatically updating system software of embedded system
US20050257218A1 (en) Method for automatically downloading and installing driver of peripheral
CN103995717A (en) Method for upgrading software in embedded device
CN114816491B (en) System upgrade method, device and terminal for multi-system mobile terminal
CN103729261A (en) Method for updating operating system and handheld electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20080716