CN104503791A - Intelligent remote upgrading and maintaining method for remote self-contained equipment - Google Patents

Intelligent remote upgrading and maintaining method for remote self-contained equipment Download PDF

Info

Publication number
CN104503791A
CN104503791A CN 201410794888 CN201410794888A CN104503791A CN 104503791 A CN104503791 A CN 104503791A CN 201410794888 CN201410794888 CN 201410794888 CN 201410794888 A CN201410794888 A CN 201410794888A CN 104503791 A CN104503791 A CN 104503791A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
unit
upgrade
remote
update
upgrading
Prior art date
Application number
CN 201410794888
Other languages
Chinese (zh)
Inventor
娄蔚
王岩
Original Assignee
天津市天安怡和信息技术有限公司
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

Links

Abstract

An intelligent remote upgrading and maintaining method for remote self-contained equipment comprises the following steps of transmitting an upgrading command to far-end equipment by using a remote transaction terminal management system; judging whether a load surface unit and a basic business service unit are in a working state or not by using a foundation guarding unit; downloading an upgrade patch by using the foundation guarding unit and starting an upgrading procedure; loading the upgrade patch from the basic guarding unit by using the upgrading procedure, backing up a local version, decompressing the upgrade patch and covering records of a local procedure; upgrading a load machine unit or the foundation business service unit by using the upgrading procedure; transmitting upgrading success information to the remote transaction terminal management system if an upgrading process is finished normally, and updating a local state file so that upgrading of the far-end equipment of which a system is updated is finished; and transmitting upgrading failure information if upgrading fails, and restoring the local back-up version so that normal running of a transaction terminal is guaranteed. By the intelligent remote upgrading and maintaining method, states of software and hardware of remote load equipment in an unattended operation environment are remotely monitored, managed and maintained, and the maintenance cost of the system is greatly increased.

Description

远程自主设备的智能远程升级维护方法 Remote autonomous intelligent remote upgrade equipment maintenance methods

技术领域 FIELD

[0001] 本发明涉及一种远程自主设备升级维护方法。 [0001] The present invention relates to a remote maintenance method autonomous equipment upgrades. 特别是涉及一种远程自主设备的智能远程升级维护方法。 Particularly to a remote device independent, intelligent remote upgrade and maintenance methods.

背景技术 Background technique

[0002] 随着互联网技术的广泛应用和功能的日益成熟,人们越来越多依赖于互联网处理日常工作和生活中的各种活动,对于高速公路电子支付领域出现了大量远程自助电子交易终端,这些远程设备长期处于无人值守且面向社会大众使用频繁的环境中,这些远程设备面临着为公众提供稳定、安全、高效的电子交易服务的考验,为了迎接这些严峻的考验,对设备有效的监控和维护就成了首当其冲要解决的问题。 [0002] With the development of a wide range of applications and functions of Internet technology, more and more people rely on the Internet deal with various activities of daily life and work, for the electronic payment of highway areas there has been a large number of remote self-service electronic transaction terminals, these long-term unattended remote devices and for the public-usage environment, these remote devices facing challenges to provide a stable, safe and efficient electronic transaction services for the public, in order to meet these severe test of effective monitoring equipment and maintenance becomes the brunt of the problem to be solved.

发明内容 SUMMARY

[0003] 本发明所要解决的技术问题是,提供一种能够对远程圈存设备的软硬件状态进行远程监控和维护的远程自主设备的智能远程升级维护方法。 [0003] The present invention solves the technical problem is to provide a remote upgrade intelligent remote monitoring and maintenance of the hardware and software of the remote device independent credit loading status of the remote device maintenance method.

[0004] 本发明所采用的技术方案是:一种远程自主设备的智能远程升级维护方法,包括如下步骤: [0004] The technical proposal of the present invention is: A remote autonomous intelligent remote device upgrade and maintenance method, comprising the steps of:

[0005] I)由远程交易终端管理系统选择要进行系统更新的远端设备,并发送远端设备升级指令; [0005] I) selected by the remote management system to perform the transaction terminal system updates the remote device, the remote device and transmitting upgrade instructions;

[0006] 2)远端设备中的基础守护单元接收升级指令,并对远端设备中的圈存机单元和基础业务服务单元进行监测,判断圈存面单元和基础业务服务单元是否处于工作状态,如果处于工作状态,要等待处于空闲状态时,会自动切换到系统维护状态,并将状态修改为升级中,准备开始进行升级; [0006] 2) in a remote device based daemon upgrading instruction receiving unit, and the distal end of the device and the base unit transfer machine monitoring service serving unit, and the base unit is determined through transfer surfaces service serving unit is in operation state when, if in working condition, to wait in an idle state, the system will automatically switch to maintenance status, and the status changed to upgrade, ready to begin the upgrade;

[0007] 3)基础守护单元根据远程交易终端管理系统的升级指令中所包含的升级包路径下载升级包,并启动升级程序,升级程序会先启动模拟的系统维护界面,然后关闭交易终端软件; [0007] 3) base daemon unit with the upgrade kit path upgrading instruction remote transaction terminal management system included in download the updates, and start the upgrade, the upgrade program to start the simulation system maintenance interface, and then close the transaction terminal software;

[0008] 4)升级程序从基础守护单元下载升级包后自动检测升级包版本是否与本地版本冲突,检测通过后,先对本地版本进行备份,然后解压升级包并覆盖本地程序的目录; [0008] 4) the upgrade from the base version upgrade package daemon automatically detects whether a conflict with the local version of the upgrade package download unit, detected by the first local version of the backup, and then extract the upgrade package cover directory of the local program;

[0009] 5)升级程序对圈存机单元或基础业务服务单元进行升级; [0009] 5) for the transfer machine upgrade service unit or base unit to upgrade service;

[0010] 6)正常完成升级过程,则发送升级成功消息到远程交易终端管理系统,并更新本地状态文件,进行系统更新的远端设备升级完成。 [0010] 6) the upgrade process is normally completed, update success message is sent to the remote management system transaction terminal, and updates the local state file system update remotely upgrade the device is completed.

[0011] 7)升级失败,则发送升级失败消息到远程交易终端管理系统,并还原还本地备份版本,保证交易终端正常运行。 [0011] 7) upgrade fails, the upgrade fails to send a message to the remote terminal transaction management system, and also to restore a local backup versions to ensure the normal operation of the trading terminal.

[0012] 在步骤I)中发送远端设备升级指令后,在远程交易终端管理系统中记录远端设备状态为升级中,并且禁止其他远程指令发布,避免功能发生冲突。 [0012] After sending the remote device upgrade instructions, recorded in a remote transaction terminal management system in step I) the status of the remote device upgrade, and prohibit other remote instruction issue, conflict avoidance function.

[0013] 在步骤I)中所述的远端设备包括有基础业务服务单元和圈存机单元。 [0013] In the step I), the remote device comprising a base unit and a transfer machine business service unit.

[0014] 步骤2)包括如下过程: [0014] Step 2) comprises the following procedure:

[0015] (I)基础守护单元判断圈存机单元是否运行,运行,则开始监控圈存机单元的更新标记,然后进入过程(3),未运行,则运行圈存机单元后,开始监控圈存机单元的更新标记,然后进入过程(3); [0015] After the (I) daemon base unit determines whether the operation unit transfer machine, running, starts monitoring unit update flag transfer machine, and then enters the process (3), is not running, the transfer machine operation unit starts monitoring update marker transfer machine unit, and then enters the process (3);

[0016] (2)基础守护单元检测基础业务服务单元是否安装,已安装,则开始监控基础业务服务单元的更新记录,然后进入过程(3),未安装,则安装并启动基础业务服务单元后,开始监控基础业务服务单元的更新记录,然后进入过程(3); After [0016] (2) Basic guardian means detects underlying business service unit is installed, is installed, starts monitoring update records based business service unit, and then enters the process (3), is not installed, the installation and start the underlying business service unit , update records began monitoring the underlying business service unit, then into the process (3);

[0017] (3)判断更新记录,已更新,则启动升级程序,否则继续监控圈存机单元和基础业务服务单元。 [0017] (3) to determine update records have been updated, then start the upgrade program, or continue to monitor the transfer machine units and basic business services unit.

[0018] 在步骤4)和步骤5)中升级程序运行如下过程: [0018] In step 4) and step 5) upgrade procedure the following procedure:

[0019] (I)判断是进行圈存机单元的更新,还是进行基础业务服务单元的更新,如果是进行圈存机单元的更新进入过程(2),如果是进行基础业务服务单元的更新进入步骤(6); [0019] (I) is determined transfer machine updating unit updates the underlying business or service unit, if the transfer machine is updated into the process unit (2), if it is updated into the underlying business service unit step (6);

[0020] (2)备份当前部署目录后,关闭圈存机单元; [0020] (2) the current backup directory is deployed, closed cell transfer machine;

[0021] (3)复制更新包到圈存机单元的部署目录,然后重启圈存机单元; [0021] (3) Copy directory update package to the deployment unit transfer machine, and then restart the transfer machine unit;

[0022] (4)判断重启是否成功,是则设置更新标记为已升级后进入步骤(10),否则,设置更新标记为失败; [0022] (4) determines whether the restart is successful, an update flag is set after the upgraded proceeds to step (10), otherwise it is set to Failed update flag;

[0023] (5)将备份的部署包重新覆盖到部署目录,重启圈存机单元后进入步骤(10); [0023] (5) The deployment package to re-cover the backup directory deployment, transfer machine reboot unit proceeds to step (10);

[0024] (6)备份当前部署目录后,关闭基础业务服务单元; [0024] (6) the current backup directory is deployed, closing the underlying business service unit;

[0025] (7)复制更新包到基础业务服务单元的部署目录,然后重启基础业务服务单元; [0025] (7) Copy directory update package to the underlying business service deployment unit, and then restart the service serving unit basis;

[0026] (8)判断重启是否成功,是则设置更新标记为已升级后进入步骤(10),否则,设置更新标记为失败; [0026] (8) determines whether the restart is successful, an update flag is set after the upgraded proceeds to step (10), otherwise it is set to Failed update flag;

[0027] (9)将备份的部署包重新覆盖到部署目录,重启基础业务服务单元后进入步骤 [0027] (9) The deployment package to re-cover the backup directory deployment, restart underlying business service unit proceeds to step

(10); (10);

[0028] (10)关闭升级程序。 [0028] (10) closing the upgrade procedure.

[0029] 在升级过程中,所述的基础业务服务单元分别进行监听远程交易终端管理系统指令,以及检查程序的更新标记, [0029] During the upgrade process, the underlying business service remote units are listening transaction terminal management system instructions, and the update flag checking procedure,

[0030] 在监听远程交易终端管理系统指令中,当收到基础业务单元更新指令时,下载更新包到守护服务目录下的指定目录,然后设置更新标记为预升级; [0030] In the remote monitor terminal management system transaction instruction, when receiving the update instruction unit based service, download the update package to the specified directory daemon service directory, and then to set the pre-update update flag;

[0031] 在监听远程交易终端管理系统指令中,当收到圈存机单元更新指令时,下载更新包到指定目录,然后设置更新标记为预升级; [0031] In the remote monitor command transaction terminal management system, when receiving an update instruction unit transfer machine, download the update package to the specified directory, and then to set the pre-update update flag;

[0032] 在监听远程交易终端管理系统指令中,当收到升级程序更新指令时,首先判断升级程序是否运行,是则继续执行正常业务逻辑,否则,下载更新包到指定目录,然后设置更新标记为预升级; [0032] In the remote monitor terminal transaction management system of instruction, upon receipt of the upgrade program update instruction, first determine whether the upgrade program is running, it is continue with normal business logic. Otherwise, download the update package to the specified directory, and then set the update flag pre-upgrade;

[0033] 在检查程序的更新标记时,当更新标记为更新失败时,通知远程交易终端管理系统;当更新标记为已升级时,设置更新状态为正常,并通知远程交易终端管理系统;当更新标记为基础业务服务单元为预升级时,暂停基础业务监控,并设置基础业务服务单元为升级。 [0033] When the update check procedure mark, when the update flag update fails to notify the remote transaction terminal management system; when the update flag is upgraded, set update state to normal, and notifies the remote transaction terminal management system; when update mark-based business services unit is pre-upgrade, suspend basic service monitoring, and set the foundation for the business services unit upgrade.

[0034] 在升级过程中,所述的圈存机单元运行如下过程: [0034] During the upgrade process, the transfer machine unit operation procedure is as follows:

[0035] (I)在圈存机单元运行状态设置的方法中检测更新标记; [0035] (I) in the process of transfer machine operation state setting unit detecting update flag;

[0036] (2)判断圈存机单元运行状态是否为空闲,是进入下一步骤,否则为忙碌状态,不修改更新标记; [0036] (2) determining whether the running state transfer machine unit is idle, is the next step, otherwise busy, does not modify the update flag;

[0037] (3)判断更新标记是否为预升级,是进入下一步骤,否则继续执行正常业务逻辑; [0037] (3) determines whether the update is a pre-upgrade flag, is the next step, otherwise continue normal business logic;

[0038] (4)暂停圈存机单元运行,切换到友好界面; [0038] (4) suspended transfer machine unit operation, switching to the friendly interface;

[0039] (5)设置更新标记为更新。 [0039] (5) arranged to update the update flag.

[0040] 本发明的远程自主设备的智能远程升级维护方法,通过“远程交易终端”的本地状态管理和“远程管理系统”的远程状态、信息管理和远程指令发布实现了无人值守环境中对远程圈存设备的软硬件状态进行远程监控、管理和维护,大大提高了系统维护成本,保证了用户使用过程更加安全顺畅。 [0040] remote autonomous intelligent remote device of the present invention upgrade and maintenance methods, by "remote transaction terminal," the local state administration and "Remote Management System" remote status, information management and remote commands issued achieve unattended environment for software and hardware status remotely through transfer device for remote monitoring, management and maintenance, greatly improving the system maintenance costs, to ensure that the users use more safe and smooth.

附图说明 BRIEF DESCRIPTION

[0041] 图1是本发明中各单元之间的总体关系图; [0041] FIG. 1 is a general diagram of the present invention, among the units;

[0042] 图2是本发明中基础守护单元的整体流程图; [0042] FIG 2 is a flowchart illustrating the present invention, the whole guard base unit;

[0043] 图3是本发明中远程升级程序整体工作流程图; [0043] FIG. 3 is a flowchart illustrating overall operation of the present invention, the remote upgrade program;

[0044] 图4是本发明中基础业务服务单元整体工作流程图; [0044] FIG. 4 is a base of the present invention, a flowchart of the overall business service unit;

[0045] 图5是本发明中圈存机单元整体工作流程图。 [0045] FIG. 5 is a transfer machine of the present invention, a flowchart of the overall unit.

具体实施方式 detailed description

[0046] 下面结合实施例和附图对本发明的一种远程自主设备的智能远程升级维护方法做出详细说明。 [0046] The following Examples and detailed description of the drawings made upgrade A remote intelligent remote autonomous apparatus maintenance method of the present invention.

[0047] 本发明的一种远程自主设备的智能远程升级维护方法,首先客户端本地基础守护单元通过多线程技术和设备监控指令同时监控在远程终端设备中一种或多种软硬件设备,实时更新状态文件并及时发送远程指令通知远程交易终端管理系统,远程交易终端管理系统会根据接收到的状态进行相关处理,同时如果远程交易终端管理系统需要对远程设备进行控制,也可以直接发送指令给远程设备,远程设备上的基础守护单元会根据具体的指令信息通知具体应用执行相关操作。 [0047] The intelligent remote maintenance method for a remote upgrade of the autonomous apparatus according to the present invention, first the local client daemon base unit via multi-threading techniques and equipment while monitoring the monitor instruction A remote terminal device or more hardware devices, real-time status file are updated and timely delivery of remote command notifies the remote transaction terminal management system, a remote transaction terminal management system related processing according to the received status, and if the remote transaction terminal management system needs to control the remote device, you may also send commands to direct guard unit based on a remote device, the remote device based on the instruction information notification particular specific application execution related operations.

[0048] 由于远程设备网点较为分散,从网络安全角度考虑网络环境要求内部网络环境,同时考虑有限网络搭建成本较高,所以本发明采取3g无线方案搭建网络环境,兼顾了安全、便捷、成本3方面的考虑。 [0048] Since the remote network device more dispersed, from the viewpoint of network security network environment intranet environment, taking into account the high cost of building the network is limited, the present invention takes the program structures 3g wireless network environment, taking into account the safety, convenience, cost 3 considerations.

[0049] 远程状态监控主要是以交易终端本地监控方案和远程指令控制方案相结合的方式完成,交易终端本地主要通过多线程技术多系统进行状态监控和关,同时调用终端设备本身的状态监控接口达到准确有效的控制,远程监控主要通过webservice技术发送远程指令,在交易终端和远程管理系统之间建立统一的报文打包和解析接口。 [0049] The remote transaction terminal status monitoring mainly the local and remote monitoring program commands a combination of the control scheme is completed, the local transaction terminal status monitoring and off by the main multi-multi-threading systems, call while the terminal device itself to monitor the state of the interface to achieve accurate and effective control, remote monitoring, remote command sent by the main webservice technology, establish a unified message package and resolve the interface between the trading terminal and remote management systems.

[0050] 如图1所示,本发明的一种远程自主设备的智能远程升级维护方法,包括如下步骤: [0050] 1, the autonomous intelligent remote upgrade A remote maintenance apparatus of the present invention is a method, comprising the steps of:

[0051] I)由远程交易终端管理系统选择要进行系统更新的远端设备,并发送远端设备升级指令,发送远端设备升级指令后,在远程交易终端管理系统中记录远端设备状态为升级中,并且禁止其他远程指令发布,避免功能发生冲突。 [0051] I) selected by the remote management system to perform the transaction terminal system updates the remote device, the remote device and transmitting upgrade instructions, the upgrading instruction transmitting remote device, the remote device state recorded in the remote management system to the transaction terminal upgrade, and prohibit other remote instruction issue, avoidance conflict. 这里所述的远端设备包括有基础业务服务单元和圈存机单元; The distal end of the apparatus herein comprising a base unit and a transfer machine business service unit;

[0052] 2)远端设备中的基础守护单元接收升级指令,并对远端设备中的圈存机单元和基础业务服务单元进行监测,判断圈存机单元和基础业务服务单元是否处于工作状态,如果处于工作状态,要等待处于空闲状态时,会自动切换到系统维护状态,并将状态修改为升级中,准备开始进行升级; [0052] 2) in a remote device based daemon upgrading instruction receiving unit, and the distal end of the device and the base unit transfer machine monitoring service serving unit, determination unit, and a transfer machine base service serving unit is in operation state when, if in working condition, to wait in an idle state, the system will automatically switch to maintenance status, and the status changed to upgrade, ready to begin the upgrade;

[0053] 如图2所示,该步骤包括如下过程: [0053] As shown in FIG. 2, the process comprising the steps of:

[0054] (I)基础守护单元判断圈存机单元是否运行,运行,则开始监控圈存机单元的更新标记,然后进入过程(3),未运行,则运行圈存机单元后,开始监控圈存机单元的更新标记,然后进入过程(3); [0054] After the (I) daemon base unit determines whether the operation unit transfer machine, running, starts monitoring unit update flag transfer machine, and then enters the process (3), is not running, the transfer machine operation unit starts monitoring update marker transfer machine unit, and then enters the process (3);

[0055] (2)基础守护单元检测基础业务服务单元是否安装,已安装,则开始监控基础业务服务单元的更新记录,然后进入过程(3),未安装,则安装并启动基础业务服务单元后,开始监控基础业务服务单元的更新记录,然后进入过程(3); After [0055] (2) Basic guardian means detects underlying business service unit is installed, is installed, starts monitoring update records based business service unit, and then enters the process (3), is not installed, the installation and start the underlying business service unit , update records began monitoring the underlying business service unit, then into the process (3);

[0056] (3)判断更新记录,已更新,则启动升级程序,否则继续监控圈存机单元和基础业务服务单元。 [0056] (3) to determine update records have been updated, then start the upgrade program, or continue to monitor the transfer machine units and basic business services unit.

[0057] 3)基础守护单元根据远程交易终端管理系统的升级指令中所包含的升级包路径下载升级包,并启动升级程序,升级程序会先启动模拟的系统维护界面,然后关闭交易终端软件; [0057] 3) base daemon unit with the upgrade kit path upgrading instruction remote transaction terminal management system included in download the updates, and start the upgrade, the upgrade program to start the simulation system maintenance interface, and then close the transaction terminal software;

[0058] 4)升级程序从基础守护单元下载升级包后自动检测升级包版本是否与本地版本冲突,检测通过后,先对本地程序进行备份,然后解压升级包并覆盖本地程序的目录; [0058] 4) the upgrade from the base version upgrade package daemon automatically detects whether a conflict with the local version of the upgrade package download unit, detected by the first backup of the local program, and then extract the update package and covering the directory of the local program;

[0059] 5)升级程序对圈存机单元或基础业务服务单元进行升级; [0059] 5) for the transfer machine upgrade service unit or base unit to upgrade service;

[0060] 如图3所示,在步骤4)和步骤5)中升级程序运行如下过程: [0060] As shown in FIG. 3, step 4) and step 5) upgrade procedure the following procedure:

[0061] (I)判断是进行圈存机单元的更新,还是进行基础业务服务单元的更新,如果是进行圈存机单元的更新进入过程(2),如果是进行基础业务服务单元的更新进入步骤(6); [0061] (I) is determined transfer machine updating unit updates the underlying business or service unit, if the transfer machine is updated into the process unit (2), if it is updated into the underlying business service unit step (6);

[0062] (2)备份当前部署目录后,关闭圈存机单元; [0062] (2) the current backup directory is deployed, closed cell transfer machine;

[0063] (3)复制更新包到圈存机单元的部署目录,然后重启圈存机单元; [0063] (3) Copy directory update package to the deployment unit transfer machine, and then restart the transfer machine unit;

[0064] (4)判断重启是否成功,是则设置更新标记为已升级后进入步骤(10),否则,设置更新标记为失败; [0064] (4) determines whether the restart is successful, an update flag is set after the upgraded proceeds to step (10), otherwise it is set to Failed update flag;

[0065] (5)将备份的部署包重新覆盖到部署目录,重启圈存机单元后进入步骤(10); [0065] (5) The deployment package to re-cover the backup directory deployment, transfer machine reboot unit proceeds to step (10);

[0066] (6)备份当前部署目录后,关闭基础业务服务单元; [0066] (6) the current backup directory is deployed, closing the underlying business service unit;

[0067] (7)复制更新包到基础业务服务单元的部署目录,然后重启基础业务服务单元; [0067] (7) Copy directory update package to the underlying business service deployment unit, and then restart the service serving unit basis;

[0068] (8)判断重启是否成功,是则设置更新标记为已升级后进入步骤(10),否则,设置更新标记为失败; [0068] (8) determines whether the restart is successful, an update flag is set after the upgraded proceeds to step (10), otherwise it is set to Failed update flag;

[0069] (9)将备份的部署包重新覆盖到部署目录,重启基础业务服务单元后进入步骤 [0069] (9) The deployment package to re-cover the backup directory deployment, restart underlying business service unit proceeds to step

(10); (10);

[0070] (10)关闭升级程序。 [0070] (10) closing the upgrade procedure.

[0071] 6)正常完成升级过程,则发送升级成功消息到远程交易终端管理系统,并更新本地状态文件,进行系统更新的远端设备升级完成。 [0071] 6) the upgrade process is normally completed, update success message is sent to the remote management system transaction terminal, and updates the local state file system update remotely upgrade the device is completed.

[0072] 7)升级失败,则发送升级失败消息到远程交易终端管理系统,并还原还本地备份版本,保证交易终端正常运行。 [0072] 7) upgrade fails, the upgrade fails to send a message to the remote terminal transaction management system, and also to restore a local backup versions to ensure the normal operation of the trading terminal.

[0073] 如图4所示,在升级过程中,所述的基础业务服务单元分别进行监听远程交易终端管理系统指令,以及检查程序的更新标记, [0073] As shown, during the upgrade process, the underlying business service remote units are listening transaction terminal management system instructions, and the update flag checker 4,

[0074] 在监听远程交易终端管理系统指令中,当收到基础业务单元更新指令时,下载更新包到守护服务目录下的指定目录,然后设置更新标记为预升级; [0074] In the remote monitor terminal management system transaction instruction, when receiving the update instruction unit based service, download the update package to the specified directory daemon service directory, and then to set the pre-update update flag;

[0075] 在监听远程交易终端管理系统指令中,当收到圈存机单元更新指令时,下载更新包到指定目录,然后设置更新标记为预升级; [0075] In the remote monitor command transaction terminal management system, when receiving an update instruction unit transfer machine, download the update package to the specified directory, and then to set the pre-update update flag;

[0076] 在监听远程交易终端管理系统指令中,当收到升级程序更新指令时,首先判断升级程序是否运行,是则继续执行正常业务逻辑,否则,下载更新包到指定目录,然后设置更新标记为预升级; [0076] In the remote monitor terminal transaction management system of instruction, upon receipt of the upgrade program update instruction, first determine whether the upgrade program is running, it is continue with normal business logic. Otherwise, download the update package to the specified directory, and then set the update flag pre-upgrade;

[0077] 在检查程序的更新标记时,当更新标记为更新失败时,通知远程交易终端管理系统;当更新标记为已升级时,设置更新状态为正常,并通知远程交易终端管理系统;当更新标记为基础业务服务单元为预升级时,暂停基础业务监控,并设置基础业务服务单元为升级。 [0077] When the update check procedure mark, when the update flag update fails to notify the remote transaction terminal management system; when the update flag is upgraded, set update state to normal, and notifies the remote transaction terminal management system; when update mark-based business services unit is pre-upgrade, suspend basic service monitoring, and set the foundation for the business services unit upgrade.

[0078] 如图5所示,在升级过程中,所述的圈存机单元运行如下过程: [0078] shown in Figure 5, during the upgrade process, the transfer machine unit operation procedure is as follows:

[0079] (I)在圈存机单元运行状态设置的方法中检测更新标记; [0079] (I) in the process of transfer machine operation state setting unit detecting update flag;

[0080] (2)判断圈存机单元运行状态是否为空闲,是进入下一步骤,否则为忙碌状态,不修改更新标记; [0080] (2) determining whether the running state transfer machine unit is idle, is the next step, otherwise busy, does not modify the update flag;

[0081] (3)判断更新标记是否为预升级,是进入下一步骤,否则继续执行正常业务逻辑; [0081] (3) determines whether the update is a pre-upgrade flag, is the next step, otherwise continue normal business logic;

[0082] (4)暂停圈存机单元运行,切换到友好界面; [0082] (4) suspended transfer machine unit operation, switching to the friendly interface;

[0083] (5)设置更新标记为更新。 [0083] (5) arranged to update the update flag.

Claims (7)

  1. 1.一种远程自主设备的智能远程升级维护方法,其特征在于,包括如下步骤: 1)由远程交易终端管理系统选择要进行系统更新的远端设备,并发送远端设备升级指令; 2)远端设备中的基础守护单元接收升级指令,并对远端设备中的圈存机单元和基础业务服务单元进行监测,判断圈存面单元和基础业务服务单元是否处于工作状态,如果处于工作状态,要等待处于空闲状态时,会自动切换到系统维护状态,并将状态修改为升级中,准备开始进行升级; 3)基础守护单元根据远程交易终端管理系统的升级指令中所包含的升级包路径下载升级包,并启动升级程序,升级程序会先启动模拟的系统维护界面,然后关闭交易终端软件; 4)升级程序从基础守护单元下载升级包后自动检测升级包版本是否与本地版本冲突,检测通过后,先对本地版本进行备份,然后解压升 An autonomous intelligent remote device upgrade remote maintenance method comprising the steps of: a) the transaction terminal by the remote management system to select the device for remote system updates, the remote device and transmitting upgrade instructions; 2) the remote device receives the upgrading instruction unit guard base, and the distal end of the device and the base unit transfer machine monitoring service serving unit, and the base unit is determined through transfer surfaces service serving unit is in operation state, if the operation state is when, to wait in an idle state, the system automatically switches to the maintenance state, to upgrade and modify the state ready to start the upgrade; 3) upgrade package path guard base unit remote transaction terminal according upgrading instruction management system contained Download the upgrade package, and start the upgrade process, the upgrade program will first start the simulation system maintenance interface, and then close the transaction terminal software; 4) upgrade program from the foundation guardian automatically detect the upgrade package version is in conflict with the local version of the unit to download the upgrade package, testing after the adoption, the first version of the local backup, and then extract the rise 包并覆盖本地程序的目录; 5)升级程序对圈存机单元或基础业务服务单元进行升级; 6)正常完成升级过程,则发送升级成功消息到远程交易终端管理系统,并更新本地状态文件,进行系统更新的远端设备升级完成; 7)升级失败,则发送升级失败消息到远程交易终端管理系统,并还原还本地备份版本,保证交易终端正常运行。 And covering the package directory of the local program; 5) of the transfer machine upgrade service unit or base unit to upgrade service; 6) normally completes the upgrade process, the upgrade successfully send messages to remote transaction terminal management system, and update the status of the local file, upgrading the system updates the remote device is completed; 7) the upgrade fails, a failure message is sent to the remote upgrade transaction terminal system management, backup and restore local version also to ensure the normal operation of the transaction terminal.
  2. 2.根据权利要求1所述的远程自主设备的智能远程升级维护方法,其特征在于,在步骤I)中发送远端设备升级指令后,在远程交易终端管理系统中记录远端设备状态为升级中,并且禁止其他远程指令发布,避免功能发生冲突。 2. The method of remote intelligent remote upgrade and maintenance of the autonomous apparatus according to claim 1, wherein the distal end of the device after transmitting the upgrade instructions in step I), the distal end of the device state recorded in the remote transaction terminal upgrade management system , and prohibit other remote instruction issue, avoidance conflict.
  3. 3.根据权利要求1所述的远程自主设备的智能远程升级维护方法,其特征在于,在步骤I)中所述的远端设备包括有基础业务服务单元和圈存机单元。 Smart remote upgrade remote maintenance method according to claim 1 of the autonomous apparatus, characterized in that, in said step I), the remote device comprising a base unit and a transfer machine business service unit.
  4. 4.根据权利要求1所述的远程自主设备的智能远程升级维护方法,其特征在于,步骤2)包括如下过程: (1)基础守护单元判断圈存机单元是否运行,运行,则开始监控圈存机单元的更新标记,然后进入过程(3),未运行,则运行圈存机单元后,开始监控圈存机单元的更新标记,然后进入过程⑶; (2)基础守护单元检测基础业务服务单元是否安装,已安装,则开始监控基础业务服务单元的更新记录,然后进入过程(3),未安装,则安装并启动基础业务服务单元后,开始监控基础业务服务单元的更新记录,然后进入过程(3); (3)判断更新记录,已更新,则启动升级程序,否则继续监控圈存机单元和基础业务服务单元。 Smart remote upgrade remote maintenance method according to claim 1, said apparatus independent claims, characterized in that step 2) comprises the following processes: (1) determining means guard base unit transfer machine is running, running, start monitoring ring machine update flag memory unit, and then enters the process (3), is not running, after the transfer machine running means starts updating flag monitoring unit transfer machine, and then enters the process ⑶; (2) the basis of the detection unit based business services daemon after the unit is installed, is installed, start monitoring update records in the underlying business service unit, then into the process (3), not installed, install and start the underlying business service unit begins to monitor update records in the underlying business service unit, then enter process (3); (3) to determine update records have been updated, then start the upgrade program, or continue to monitor the transfer machine units and basic business services unit.
  5. 5.根据权利要求1所述的远程自主设备的智能远程升级维护方法,其特征在于,在步骤4)和步骤5)中升级程序运行如下过程: (1)判断是进行圈存机单元的更新,还是进行基础业务服务单元的更新,如果是进行圈存机单元的更新进入过程(2),如果是进行基础业务服务单元的更新进入步骤(6); (2)备份当前部署目录后,关闭圈存机单元; (3)复制更新包到圈存机单元的部署目录,然后重启圈存机单元; (4)判断重启是否成功,是则设置更新标记为已升级后进入步骤(10),否则,设置更新标记为失败; (5)将备份的部署包重新覆盖到部署目录,重启圈存机单元后进入步骤(10); (6)备份当前部署目录后,关闭基础业务服务单元; (7)复制更新包到基础业务服务单元的部署目录,然后重启基础业务服务单元; (8)判断重启是否成功,是则设置更新标记为已升级后进入步骤(10), 5. The method of remote intelligent remote upgrade and maintenance of the autonomous apparatus according to claim 1, wherein the upgrade procedure in step 4) and step 5) in the following procedure: (1) determining means is updated transfer machine , basic service or service update unit, if the transfer machine is updated into the process unit (2), if the service is updated basic service unit proceeds to step (6); (2) currently deployed backup directory, closed transfer machine units; (3) copy directory update package to the deployment unit transfer machine, and then restart the transfer machine unit; if (4) is determined successful restart, the update flag is set after the upgraded proceeds to step (10), otherwise, a failure to set the update flag; (5) the deployment package to re-cover the backup directory deployment, transfer machine reboot unit proceeds to step (10); (6) the current backup directory is deployed, closing the underlying business service units; ( 7) copy directory update package to the underlying business service deployment unit, and then restart the service serving unit basis; if (8) determining the restart is successful, an update flag is set after the upgraded proceeds to step (10), 则,设置更新标记为失败; (9)将备份的部署包重新覆盖到部署目录,重启基础业务服务单元后进入步骤(10); (10)关闭升级程序。 Is set as failed update flag; (9) backed deployment package to re-cover the deployment directory, business service restart base unit enters a step (10); (10) closing the upgrade procedure.
  6. 6.根据权利要求1所述的远程自主设备的智能远程升级维护方法,其特征在于,在升级过程中,所述的基础业务服务单元分别进行监听远程交易终端管理系统指令,以及检查程序的更新标记, 在监听远程交易终端管理系统指令中,当收到基础业务单元更新指令时,下载更新包到守护服务目录下的指定目录,然后设置更新标记为预升级; 在监听远程交易终端管理系统指令中,当收到圈存机单元更新指令时,下载更新包到指定目录,然后设置更新标记为预升级; 在监听远程交易终端管理系统指令中,当收到升级程序更新指令时,首先判断升级程序是否运行,是则继续执行正常业务逻辑,否则,下载更新包到指定目录,然后设置更新标记为预升级; 在检查程序的更新标记时,当更新标记为更新失败时,通知远程交易终端管理系统;当更新标记为已升级时 6. The method of remote intelligent remote upgrade and maintenance of the autonomous apparatus according to claim 1, characterized in that, during the upgrade process, the underlying business service remote units are listening transaction terminal management system instructions, and the updating of the check program tag, the listening remote transaction terminal system management command, when receiving update instruction unit based service, download the update package to the specified directory under the directory daemon services and upgrading a pre-set update flag; listening remote transaction terminal management system commands , when the received update instruction unit transfer machine, download the update package to the specified directory, and then to set the pre-update update flag; listening remote transaction terminal system management command, when receiving upgrade program update instruction first determines upgrade the program is running, it is continue with normal business logic. otherwise, download the update package to the specified directory, and then set the update is marked as pre-upgrade; when updating checking program marks when updating mark if the update fails to notify the remote trading terminal management system; when the update is marked as upgraded ,设置更新状态为正常,并通知远程交易终端管理系统;当更新标记为基础业务服务单元为预升级时,暂停基础业务监控,并设置基础业务服务单元为升级。 , Set the update status to normal, and notify the remote terminal transaction management system; when the update is marked as the basis for the pre-upgrade business services unit, to suspend basic service monitoring, and set the foundation for the business services unit upgrade.
  7. 7.根据权利要求1所述的远程自主设备的智能远程升级维护方法,其特征在于,在升级过程中,所述的圈存机单元运行如下过程: (1)在圈存机单元运行状态设置的方法中检测更新标记; (2)判断圈存机单元运行状态是否为空闲,是进入下一步骤,否则为忙碌状态,不修改更新标记; (3)判断更新标记是否为预升级,是进入下一步骤,否则继续执行正常业务逻辑; (4)暂停圈存机单元运行,切换到友好界面; (5)设置更新标记为更新。 According to claim autonomous intelligent remote device upgrade remote maintenance method of claim 1, wherein, during the upgrade process, the process of transfer machine unit operates as follows: (1) disposed on the running state transfer machine a method of detecting an update flag; (2) determining whether the running state transfer machine unit is idle, is the next step, otherwise busy, does not modify the update flag; (3) determining whether the pre-update update flag is entered the next step, otherwise continue normal business logic; (4) suspended transfer machine unit operation, switching to the friendly interface; (5) arranged to update the update flag.
CN 201410794888 2014-12-18 2014-12-18 Intelligent remote upgrading and maintaining method for remote self-contained equipment CN104503791A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201410794888 CN104503791A (en) 2014-12-18 2014-12-18 Intelligent remote upgrading and maintaining method for remote self-contained equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201410794888 CN104503791A (en) 2014-12-18 2014-12-18 Intelligent remote upgrading and maintaining method for remote self-contained equipment

Publications (1)

Publication Number Publication Date
CN104503791A true true CN104503791A (en) 2015-04-08

Family

ID=52945192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201410794888 CN104503791A (en) 2014-12-18 2014-12-18 Intelligent remote upgrading and maintaining method for remote self-contained equipment

Country Status (1)

Country Link
CN (1) CN104503791A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106230620A (en) * 2016-07-22 2016-12-14 浪潮电子信息产业股份有限公司 Cloud platform smart upgrade method
CN107967145A (en) * 2017-11-16 2018-04-27 南京轩世琪源软件科技有限公司 Mobile payment terminal system on-line hot upgrading method
CN108063794A (en) * 2017-11-16 2018-05-22 南京轩世琪源软件科技有限公司 Sub-architecture software network online hot upgrade method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017441A (en) * 2007-02-27 2007-08-15 华为技术有限公司 Electric device, start method of electric and update method of BIOS
CN101694622A (en) * 2009-09-29 2010-04-14 中兴通讯股份有限公司; Remote firmware upgrading method of multi-device combination equipment and system thereof
CN102135895A (en) * 2010-12-29 2011-07-27 华为软件技术有限公司 System upgrading method and system
CN102635379A (en) * 2012-03-28 2012-08-15 太原理工大学 Online program updating method for hydraulic support controllers
CN103064715A (en) * 2013-01-09 2013-04-24 上海大唐移动通信设备有限公司 Remote upgrade method and system for automatic drive test systems
US20130283256A1 (en) * 2013-03-04 2013-10-24 Hello Inc. Telemetry system with remote firmware updates or repair for remote monitoring devices when the monitoring device is not in use by the user
US20130290947A1 (en) * 2012-04-27 2013-10-31 Hon Hai Precision Industry Co., Ltd. Termimal and method for updating firmware of baseboard management controller
CN103995721A (en) * 2014-05-22 2014-08-20 广州金山网络科技有限公司 Application program upgrading method, device and system
CN104182284A (en) * 2014-02-24 2014-12-03 无锡天脉聚源传媒科技有限公司 Batch data exchange method and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017441A (en) * 2007-02-27 2007-08-15 华为技术有限公司 Electric device, start method of electric and update method of BIOS
CN101694622A (en) * 2009-09-29 2010-04-14 中兴通讯股份有限公司; Remote firmware upgrading method of multi-device combination equipment and system thereof
CN102135895A (en) * 2010-12-29 2011-07-27 华为软件技术有限公司 System upgrading method and system
CN102635379A (en) * 2012-03-28 2012-08-15 太原理工大学 Online program updating method for hydraulic support controllers
US20130290947A1 (en) * 2012-04-27 2013-10-31 Hon Hai Precision Industry Co., Ltd. Termimal and method for updating firmware of baseboard management controller
CN103064715A (en) * 2013-01-09 2013-04-24 上海大唐移动通信设备有限公司 Remote upgrade method and system for automatic drive test systems
US20130283256A1 (en) * 2013-03-04 2013-10-24 Hello Inc. Telemetry system with remote firmware updates or repair for remote monitoring devices when the monitoring device is not in use by the user
CN104182284A (en) * 2014-02-24 2014-12-03 无锡天脉聚源传媒科技有限公司 Batch data exchange method and system
CN103995721A (en) * 2014-05-22 2014-08-20 广州金山网络科技有限公司 Application program upgrading method, device and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106230620A (en) * 2016-07-22 2016-12-14 浪潮电子信息产业股份有限公司 Cloud platform smart upgrade method
CN107967145A (en) * 2017-11-16 2018-04-27 南京轩世琪源软件科技有限公司 Mobile payment terminal system on-line hot upgrading method
CN108063794A (en) * 2017-11-16 2018-05-22 南京轩世琪源软件科技有限公司 Sub-architecture software network online hot upgrade method

Similar Documents

Publication Publication Date Title
KR100883208B1 (en) Mobile communication terminal available to update software based on virtualization technology and updating method thereof
US20030009752A1 (en) Automated content and software distribution system
US20100250499A1 (en) Cloning and Recovery of Data Volumes
US20080211670A1 (en) Security module having a secondary agent in coordination with a host agent
US20130227540A1 (en) Updating peripheral device firmware via a portable device
US20110099147A1 (en) Provisioning and managing replicated data instances
CN101616018A (en) Device and method for upgrading network management software
US20060143606A1 (en) Management of persistent software applications
US6971095B2 (en) Automatic firmware version upgrade system
US7953833B2 (en) Desktop delivery for a distributed enterprise
JP2001356912A (en) Install/update/uninstall system of software
CN1852534A (en) Data backing-up and recovering method and system
CN101931944A (en) Method, device and system for updating terminal patches on line
CN102204210A (en) Method, server, and system for starting application
CN102176775A (en) Intelligent configuration device and method
CN103152419A (en) High availability cluster management method for cloud computing platform
US6915449B2 (en) Method and apparatus for performing emergency shutdown of a malfunctioning computer system saving all open files, data, and work in progress to a remote data storage business entity
CN101227630A (en) Method for monitoring application program based on window platform
JP2002185579A (en) Backup method for application software of portable telephone terminal
CN101635640A (en) Method for automatically releasing terminal program version of WEB network station system server
CN101426077A (en) Method for on-line updating television set software through Internet
CN1852537A (en) Method and apparatus for processing fault task in apparatus management
CN1845077A (en) Remote detection and control method for computer
US20120233299A1 (en) Managing configurations of system management agents in a distributed environment
CN103518191A (en) Upgrade method, intelligent terminal and upgrade system

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
WD01