软件升级方法、装置及系统制造方法及图纸

技术编号:6070135 阅读:204 留言:0更新日期:2012-04-11 18:40
本发明专利技术实施例公开了软件升级方法、装置及系统,本发明专利技术实施例方法包括:当检测到主区中的软件需要升级时,通知主区处理完当前正在处理的消息后向备区发送主区中的第一待处理消息;通知主区退出工作状态;当接收到主区处理完当前正在处理的消息后回复的主区退出工作状态响应时,通知备区进入工作状态;激活主区对需要升级的软件进行升级。本发明专利技术实施例可以在不中断业务的情况下实现对所有的软件更新升级。

Software upgrading method, device and system

The embodiment of the invention discloses a software upgrade method, device and system and method of the embodiment of the invention includes: when detect the main area of the software needs to be upgraded, notify the main area processed currently being processed after the message to the first message sent to be processed by the main area of the district; notify the main area from the working state; when the main region receives processed is currently processing the message to the main area after the reply from the working state response, notice areas into the work of the state; to activate the main area to upgrade the software needs to be upgraded. The embodiment of the invention can realize the updating and upgrading of all software without interrupting the service.

【技术实现步骤摘要】

本专利技术涉及计算机
,尤其涉及软件升级方法、装置及系统
技术介绍
在软件的使用过程中,为了修补软件出现的漏洞或为软件提供更多的功能,软件 提供商会不断地更新升级其各种软件,现有的软件升级绝大多数采用使用更新的程序文件 替换原来程序文件的方式,但是在升级完成之前或者之后需要重启系统或者应用程序,此 类升级过程需要中断正在运行的业务,不能实现不中断业务的情况下对软件的更新升级。随着计算机技术在社会生活中的广泛应用,对于一些软件如电子商务中的后台 交易程序,通讯设备中的网络控制程序,工程应用中的控制程序等需要不间断的运行,这就 使得软件在连续运行情况下的升级和修改成为一种需要。目前,出现了热补丁技术,热补丁用于在系统运行时动态修改程序,如进行系统测 试、修补软件的缺陷或修改函数的内部算法等,而不影响正常业务的运行。该技术的主要流 程包括首先将补丁函数写在一个源文件中,编译成一个目标文件,通过读取目标文件中的 符号表获得被补丁函数和补丁函数的执行地址,进行重定位并生成一个补丁文件,当内存 执行到被补丁函数时,把这个补丁文件加载到被补丁函数运行的系统地址空间中,最后在 补丁激活生本文档来自技高网...

【技术保护点】
1.一种软件升级方法,其特征在于,包括:当检测到主区中的软件需要升级时,通知所述主区处理完当前正在处理的消息后向备区发送所述主区中的第一待处理消息;通知所述主区退出工作状态;当接收到所述主区处理完当前正在处理的消息后回复的所述主区退出工作状态响应时,通知所述备区进入工作状态;激活所述主区对需要升级的软件进行升级。

【技术特征摘要】

【专利技术属性】
技术研发人员:黄晓辉李蔚海
申请(专利权)人:上海华为技术有限公司
类型:发明
国别省市:31

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1