WO2017076147A1 - Remote upgrade system - Google Patents

Remote upgrade system Download PDF

Info

Publication number
WO2017076147A1
WO2017076147A1 PCT/CN2016/101375 CN2016101375W WO2017076147A1 WO 2017076147 A1 WO2017076147 A1 WO 2017076147A1 CN 2016101375 W CN2016101375 W CN 2016101375W WO 2017076147 A1 WO2017076147 A1 WO 2017076147A1
Authority
WO
WIPO (PCT)
Prior art keywords
client
upgrade
service program
server
unit
Prior art date
Application number
PCT/CN2016/101375
Other languages
French (fr)
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
Application filed by 上海斐讯数据通信技术有限公司 filed Critical 上海斐讯数据通信技术有限公司
Publication of WO2017076147A1 publication Critical patent/WO2017076147A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Definitions

  • a server configured to store a service program installation package, and output an upgrade message, where the service program installation package corresponds to a service program and a version number, and the server is further configured to store a registration account;
  • the client including the service program, and the client is configured to download, from the server, the application with the latest version number corresponding to the service program Program installation package for upgrade;
  • the second client is in one-to-one correspondence with the first client, and the second client and the first client corresponding to the one-to-one share one registered account, a second client connected to the server and the corresponding first client
  • the second client is configured to control, according to the received upgrade message, the service program upgrade of the first client, or
  • a third client is remotely connected to the server for transmitting the service program installation package to the server.
  • a third receiving unit configured to receive the service program installation package sent by the server
  • the first client further includes:
  • the power switching circuit comprises:
  • the processing unit is configured to send, according to the feedback message, the service program installation package corresponding to the current latest version number to the first client corresponding to the second client, to perform an upgrade, or
  • the remote upgrade system can implement the human-computer interaction between the user and the server through the second client, and the upgrade of the first client can be correspondingly set according to the actual needs of the user, and can be upgraded when the first client is upgraded.
  • the second client is used to supply power to prevent the service program from being damaged due to power failure during the upgrade process, and the device upgrade is guaranteed.
  • a plurality of first clients 1 are remotely connected to the server 2, the client includes a business program, and the client is used to download an application installation package of the latest version number corresponding to the business program from the server 2 for upgrading;
  • the method further includes:
  • the business program installation package can be uploaded to the server 2 through the third client 4, and the business program installation package is managed by the server 2.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

A remote upgrade system comprising: a server (2) used for storing a service program installation package and outputting an upgrade message, where the service program installation package corresponds to a service program and a version number, and the server (2) also is used for storing registered accounts; a plurality of first clients (1) remotely connected to the server (2), where the clients comprise a service program, the clients are used for downloading from the server (2) an application program installation package of the latest version number corresponding to the service program for upgrading; a plurality of second clients (3), where the second clients (3) correspond one-to-one to the first clients (1), the second clients (3) and the first client (1) that correspond one-to-one share one registered account, the second clients (3) are connected respectively to the server (2) and the corresponding first clients (1), the second clients (3) are used for controlling, on the basis of the upgrade message received, the upgrading of the service program of the first clients (1), or the second clients (3) are used for controlling, on the basis of the upgrade message received, the upgrading of the service program of the first clients (1) and supplying power to the first clients (1).

Description

一种远程升级系统Remote upgrade system
本申请要求2015年11月04日提交的申请号为:201510741005.4、发明名称为“一种远程升级系统”的中国专利申请的优先权,其全部内容合并在此。The present application claims priority to Chinese Patent Application No. 2015 No. No. No. No. No. No. No. No. No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No.
技术领域Technical field
本发明涉及设备升级技术领域,尤其涉及一种远程升级系统。The present invention relates to the field of device upgrade technologies, and in particular, to a remote upgrade system.
背景技术Background technique
目前,嵌入式设备由于具有低成本和高可靠性的特点,被广泛应用在网络通信、工业控制和安防系统等领域。嵌入式设备通常是一种面向特定应用而设计开发的设备,可包括一用于终端设备正常运行时所用到的操作系统以及应用程序的业务应用模块,该业务应用模块可实现终端设备的业务功能以及升级功能,其中,升级功能是指可在互联网上下载新的业务应用模块并烧写新的业务应用模块覆盖原来的业务应用模块的功能。在实际应用中,嵌入式设备需要升级更新业务应用模块,从而达到功能增强或者修正功能缺陷的目的。At present, embedded devices are widely used in network communication, industrial control and security systems due to their low cost and high reliability. An embedded device is usually a device designed and developed for a specific application, and may include a service application module for an operating system and an application used when the terminal device is in normal operation, and the service application module may implement a service function of the terminal device. And an upgrade function, wherein the upgrade function refers to a function of downloading a new business application module on the Internet and burning a new business application module to cover the original business application module. In practical applications, the embedded device needs to upgrade and update the business application module to achieve the purpose of enhancing functions or correcting functional defects.
在实现远程升级功能的过程中,可能遇到升级异常的情况,例如 在自动升级时若产生掉电或者用户晚上睡前断电,会导致终端设备升级失败,这时业务应用模块就会不完整或者被破坏,使得嵌入式设备无法正常运行。且在升级过程中由于系统暂停工作,在用户不知情的状况下网络中止使用,会影响用户的使用。现有技术中,一般采用业务应用模块冗余双备份的容错方法,即在设备中设置两个业务应用模块,当主用的业务应用模块损坏,则由备用的业务应用模块替代运行,以保证设备正常可用。但是在设备中保存两个业务应用模块,会使得储存空间成倍的增加,增加了设备的成本。In the process of implementing the remote upgrade function, you may encounter an upgrade exception, such as If the power is lost during the automatic upgrade or the user loses power before going to bed at night, the upgrade of the terminal device will fail. At this time, the service application module will be incomplete or damaged, and the embedded device will not operate normally. In the upgrade process, due to the suspension of the system, the network will be suspended without the user's knowledge, which will affect the user's use. In the prior art, a fault-tolerant method for redundant dual backup of a service application module is generally adopted, that is, two service application modules are set in the device. When the service application module of the primary service is damaged, the standby service application module is replaced by the operation to ensure the device. Normally available. However, saving two business application modules in the device will double the storage space and increase the cost of the device.
发明内容Summary of the invention
针对现有的嵌入式设备的业务应用模块升级存在的上述问题,现提供一种旨在实现防止业务程序在升级过程中因断电导致设备损坏无法正常工作,为设备升级提供保障的远程升级系统。Aiming at the above problems existing in the upgrade of the service application module of the existing embedded device, a remote upgrade system for preventing the service program from being damaged due to power failure due to power failure during the upgrade process is provided, and the device upgrade is guaranteed. .
具体技术方案如下:The specific technical solutions are as follows:
一种远程升级系统,包括:A remote upgrade system that includes:
一服务器,用以存储业务程序安装包,并输出升级消息,所述业务程序安装包对应业务程序及一版本号,所述服务器还用以存储注册账号;a server, configured to store a service program installation package, and output an upgrade message, where the service program installation package corresponds to a service program and a version number, and the server is further configured to store a registration account;
复数个第一客户端,与所述服务器远程连接,所述客户端包括所述业务程序,所述客户端用以从所述服务器中下载与所述业务程序对应的最新版本号的所述应用程序安装包,以进行升级;a plurality of first clients remotely connected to the server, the client including the service program, and the client is configured to download, from the server, the application with the latest version number corresponding to the service program Program installation package for upgrade;
复数个第二客户端,所述第二客户端与所述第一客户端一一对应,一一对应的所述第二客户端和所述第一客户端共用一个所述注册账号,所述第二客户端分别与所述服务器和对应的所述第一客户端连 接,所述第二客户端用以根据接收到的所述升级消息控制所述第一客户端的所述业务程序升级,或a plurality of second clients, the second client is in one-to-one correspondence with the first client, and the second client and the first client corresponding to the one-to-one share one registered account, a second client connected to the server and the corresponding first client The second client is configured to control, according to the received upgrade message, the service program upgrade of the first client, or
所述第二客户端用以根据接收到的所述升级消息控制所述第一客户端的所述业务程序升级,并为所述第一客户端供电。The second client is configured to control the service program upgrade of the first client according to the received upgrade message, and supply power to the first client.
优选的,还包括:Preferably, the method further includes:
一第三客户端,与所述服务器远程连接,用以将所述业务程序安装包发送至所述服务器。A third client is remotely connected to the server for transmitting the service program installation package to the server.
优选的,所述第二客户端包括:Preferably, the second client comprises:
一第一接收单元,用以接收所述升级消息;a first receiving unit, configured to receive the upgrade message;
一第二接收单元,用以接收用户输入的升级指令;a second receiving unit, configured to receive an upgrade instruction input by the user;
一控制单元,分别连接所述第一接收单元和所述第二接收单元,用以根据所述升级指令,生成相应的反馈消息;a control unit, configured to respectively connect the first receiving unit and the second receiving unit, to generate a corresponding feedback message according to the upgrade instruction;
一第一输出单元,连接所述控制单元,用以将所述反馈消息发送至所述服务器。A first output unit is coupled to the control unit for transmitting the feedback message to the server.
优选的,所述升级指令包括升级时间段和确认升级指令,或取消升级指令。Preferably, the upgrade instruction includes an upgrade time period and an acknowledgement upgrade instruction, or cancel an upgrade instruction.
优选的,所述第一客户端包括:Preferably, the first client includes:
一第三接收单元,用以接收所述服务器发送的所述业务程序安装包;a third receiving unit, configured to receive the service program installation package sent by the server;
一升级单元,连接所述第三接收单元,用以根据所述业务程序安装包对相应的所述业务程序进行升级;An upgrade unit, connected to the third receiving unit, for upgrading the corresponding service program according to the service program installation package;
一第二输出单元,连接所述升级单元,用以在升级成功后,将完成升级消息发送至所述服务器。A second output unit is connected to the upgrade unit to send a completion upgrade message to the server after the upgrade is successful.
优选的,所述第一客户端还包括:Preferably, the first client further includes:
一供电电源; a power supply;
一供电切换电路,分别连接所述供电电源、所述第三接收单元、所述升级单元、所述第二输出单元和所述第二客户端,用以采用所述供电电源为所述第三接收单元、所述升级单元和所述第二输出单元供电;或a power supply switching circuit, respectively connected to the power supply, the third receiving unit, the upgrading unit, the second output unit, and the second client, to use the power supply for the third Receiving power by the receiving unit, the upgrading unit, and the second output unit; or
所述供电切换电路采用所述第二客户端为所述第三接收单元、所述升级单元和所述第二输出单元供电。The power switching circuit uses the second client to supply power to the third receiving unit, the upgrading unit, and the second output unit.
优选的,所述供电切换电路包括:Preferably, the power switching circuit comprises:
一供电端;a power supply end;
一接地端;a ground terminal;
一第一接口,连接所述供电电源;a first interface connecting the power supply;
一第一二极管,所述第一二级管正极连接所述第一接口,所述第一二级管的负极连接所述供电端;a first diode, the first diode positive pole is connected to the first interface, and the cathode of the first diode is connected to the power supply end;
一第二接口,连接所述第二客户端;a second interface connecting the second client;
一第二二极管,所述第二二极管正极连接所述第二接口,所述第二二极管的负极连接所述第一二极管的负极;a second diode, the second diode is connected to the second interface, and the cathode of the second diode is connected to the cathode of the first diode;
一电容,串联于所述第二二极管的负极和所述接地端之间。A capacitor is connected in series between the cathode of the second diode and the ground.
优选的,所述第一二极管和所述第二二极管均为肖特基二极管。Preferably, the first diode and the second diode are both Schottky diodes.
优选的,所述电容为电解电容,所述电解电容的正极连接所述第二二极管的负极,所述电解电容的负极接所述接地端。Preferably, the capacitor is an electrolytic capacitor, a positive pole of the electrolytic capacitor is connected to a cathode of the second diode, and a cathode of the electrolytic capacitor is connected to the ground.
优选的,所述服务器包括:Preferably, the server comprises:
一第四接收单元,用以接收所述第三客户端发送的所述业务程序安装包、所述第二客户端发送的所述反馈消息和所述第一客户端发送的所述完成升级消息;a fourth receiving unit, configured to receive the service program installation package sent by the third client, the feedback message sent by the second client, and the completion upgrade message sent by the first client ;
一第一存储单元,用以存储所述业务程序安装包及相应的版本号; a first storage unit, configured to store the service program installation package and a corresponding version number;
一第二存储单元,用以存储所述注册账号及与所述注册账号对应的所述第一客户端的所述业务程序当前的版本号的表单;a second storage unit, configured to store the registration account and a form of a current version number of the business program of the first client corresponding to the registered account;
一处理单元,分别连接所述第四接收单元、所述第一存储单元和所述第二存储单元,用以遍历所述表单,获取所述业务程序当前的版本号不是最新版本号的所述第一客户端对应的所述注册账号,生成所述升级消息,并将所述升级消息发送至与所述第一客户端对应的所述第二客户端,或a processing unit, configured to respectively connect the fourth receiving unit, the first storage unit, and the second storage unit, to traverse the form, and obtain the current version number of the service program is not the latest version number Generating the upgrade message by the registration account corresponding to the first client, and sending the upgrade message to the second client corresponding to the first client, or
所述处理单元用以根据所述反馈消息将当前最新版本号对应的所述业务程序安装包发送至与所述第二客户端对应的所述第一客户端,以进行升级,或The processing unit is configured to send, according to the feedback message, the service program installation package corresponding to the current latest version number to the first client corresponding to the second client, to perform an upgrade, or
所述处理单元用以根据所述反馈消息取消对所述第二客户端对应的所述第一客户端的升级,或The processing unit is configured to cancel an upgrade of the first client corresponding to the second client according to the feedback message, or
所述处理单元用以根据所述完成升级消息更新所述第二存储单元中的所述表单。The processing unit is configured to update the form in the second storage unit according to the completion upgrade message.
上述技术方案的有益效果:The beneficial effects of the above technical solutions:
本技术方案中,远程升级系统通过第二客户端可实现用户与服务器进行人机交互,可根据用户的实际需要对第一客户端的升级进行相应的设置,且可在第一客户端升级时,采用第二客户端为其供电,以避免业务程序在升级过程中因断电导致设备损坏无法正常工作的情况,达到为设备升级提供保障的目的。In the technical solution, the remote upgrade system can implement the human-computer interaction between the user and the server through the second client, and the upgrade of the first client can be correspondingly set according to the actual needs of the user, and can be upgraded when the first client is upgraded. The second client is used to supply power to prevent the service program from being damaged due to power failure during the upgrade process, and the device upgrade is guaranteed.
附图说明DRAWINGS
图1为本发明所述的远程升级系统的一种实施例的模块图;1 is a block diagram of an embodiment of a remote upgrade system according to the present invention;
图2为本发明所述供电切换电路的一种实施例的电路图。 2 is a circuit diagram of an embodiment of the power supply switching circuit of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
需要说明的是,在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。It should be noted that the embodiments in the present invention and the features in the embodiments may be combined with each other without conflict.
下面结合附图和具体实施例对本发明作进一步说明,但不作为本发明的限定。The invention is further illustrated by the following figures and specific examples, but is not to be construed as limiting.
如图1所示,一种远程升级系统,包括:As shown in Figure 1, a remote upgrade system includes:
一服务器2,用以存储业务程序安装包,并输出升级消息,业务程序安装包对应业务程序及一版本号,服务器2还用以存储注册账号;a server 2, configured to store a business program installation package, and output an upgrade message, the business program installation package corresponds to a business program and a version number, and the server 2 is further configured to store the registered account;
复数个第一客户端1,与服务器2远程连接,客户端包括业务程序,客户端用以从服务器2中下载与业务程序对应的最新版本号的应用程序安装包,以进行升级;a plurality of first clients 1 are remotely connected to the server 2, the client includes a business program, and the client is used to download an application installation package of the latest version number corresponding to the business program from the server 2 for upgrading;
复数个第二客户端3,第二客户端3与第一客户端1一一对应,一一对应的第二客户端3和第一客户端1共用一个注册账号,第二客户端3分别与服务器2和对应的第一客户端1连接,第二客户端3用以根据接收到的升级消息控制第一客户端1的业务程序升级,或a plurality of second clients 3, the second client 3 and the first client 1 are in one-to-one correspondence, the one-to-one corresponding second client 3 and the first client 1 share a registered account, and the second client 3 respectively The server 2 is connected to the corresponding first client 1, and the second client 3 is configured to control the service upgrade of the first client 1 according to the received upgrade message, or
第二客户端3用以根据接收到的升级消息控制第一客户端1的业务程序升级,并为第一客户端1供电。The second client 3 is configured to control the service program upgrade of the first client 1 according to the received upgrade message, and supply power to the first client 1.
在本实施例中,远程升级系统通过第二客户端3可实现用户与服 务器2进行人机交互,可根据用户的实际需要对第一客户端1的升级进行相应的设置,且可在第一客户端1升级时,采用第二客户端3为其供电,以避免业务程序在升级过程中因断电导致设备损坏无法正常工作的情况,达到为设备升级提供保障的目的。In this embodiment, the remote upgrade system can implement the user and the service through the second client 3. The server 2 performs human-computer interaction, and the upgrade of the first client 1 can be correspondingly set according to the actual needs of the user, and can be powered by the second client 3 when the first client 1 is upgraded to avoid In the process of upgrading the business process, the device may not work properly due to power failure, and the purpose of providing protection for the device upgrade is achieved.
进一步地,在对第一客户端1进行升级之前,先与通过第二客户端3与用户进行对接和信息交互,让用户明确第一客户端1的升级需求,并参与升级的过程,整个升级过程透明化,提升了用户的价值体验。Further, before upgrading the first client 1, first interacting with the user through the second client 3, and letting the user clear the upgrade requirement of the first client 1, and participating in the upgrade process, the entire upgrade. The process is transparent and enhances the user's value experience.
在优选的实施例中,还包括:In a preferred embodiment, the method further includes:
一第三客户端4,与服务器2远程连接,用以将业务程序安装包发送至服务器2。A third client 4 is remotely connected to the server 2 for transmitting the business program installation package to the server 2.
在本实施例中,可通过第三客户端4将业务程序安装包上传至服务器2,由服务器2对业务程序安装包进行管理。In this embodiment, the business program installation package can be uploaded to the server 2 through the third client 4, and the business program installation package is managed by the server 2.
在优选的实施例中,第二客户端3包括:In a preferred embodiment, the second client 3 comprises:
一第一接收单元34,用以接收升级消息;a first receiving unit 34, configured to receive an upgrade message;
一第二接收单元31,用以接收用户输入的升级指令;a second receiving unit 31, configured to receive an upgrade instruction input by the user;
一控制单元32,分别连接第一接收单元34和第二接收单元31,用以根据升级指令,生成相应的反馈消息;a control unit 32 is connected to the first receiving unit 34 and the second receiving unit 31, respectively, for generating a corresponding feedback message according to the upgrade instruction;
一第一输出单元33,连接控制单元32,用以将反馈消息发送至服务器2。A first output unit 33 is connected to the control unit 32 for transmitting a feedback message to the server 2.
进一步地,第二客户端3可采用移动终端。Further, the second client 3 can employ a mobile terminal.
在本实施例中,当服务器2将升级消息发送至第二客户端3,以提示用户对业务程序进行升级,用户可根据实际情况通过第二接收单元31输入将相应的升级指令,升级指令可包括升级时间段和确认升级指令,或取消升级指令等,若确认升级时,可设置相应的升级时间, 并通过第一输出单元33将确认升级的反馈消息发送至服务器2,进行升级;若取消升级时,可通过第一输出单元33取消升级的反馈消息发送至服务器2。In this embodiment, when the server 2 sends an upgrade message to the second client 3 to prompt the user to upgrade the service program, the user may input a corresponding upgrade instruction through the second receiving unit 31 according to actual conditions, and the upgrade instruction may be Including the upgrade period and confirm the upgrade order, or cancel the upgrade order, etc. If you confirm the upgrade, you can set the corresponding upgrade time. And sending a feedback message confirming the upgrade to the server 2 through the first output unit 33 to perform the upgrade; if the upgrade is canceled, the feedback message that can be canceled by the first output unit 33 is sent to the server 2.
在优选的实施例中,第一客户端1包括:In a preferred embodiment, the first client 1 comprises:
一第三接收单元11,用以接收服务器2发送的业务程序安装包;a third receiving unit 11 is configured to receive a service program installation package sent by the server 2;
一升级单元12,连接第三接收单元11,用以根据业务程序安装包对相应的业务程序进行升级;An upgrade unit 12 is connected to the third receiving unit 11 for upgrading the corresponding service program according to the service program installation package;
一第二输出单元13,连接升级单元12,用以在升级成功后,将完成升级消息发送至服务器2。A second output unit 13 is connected to the upgrade unit 12 for sending a completion upgrade message to the server 2 after the upgrade is successful.
在本实施例中,当第一客户端1的业务程序需要升级时,通过第三接收单元11接收需升级的业务程序安装包,采用升级单元12对待升级的业务程序进行升级,在升级完成后,通过第二输出单元13将完成升级消息发送至服务器2,服务器2接收到消息后,将完成升级的消息转发至第二客户端3,以通知用户业务程序升级完毕。In this embodiment, when the service program of the first client 1 needs to be upgraded, the service program installation package to be upgraded is received by the third receiving unit 11, and the service program to be upgraded is upgraded by the upgrading unit 12, after the upgrade is completed. The completion upgrade message is sent to the server 2 through the second output unit 13. After receiving the message, the server 2 forwards the completed upgrade message to the second client 3 to notify the user that the service program is upgraded.
如图2所示,在优选的实施例中,第一客户端1还包括:As shown in FIG. 2, in a preferred embodiment, the first client 1 further includes:
一供电电源;a power supply;
一供电切换电路14,分别连接供电电源、第三接收单元11、升级单元12、第二输出单元13和第二客户端3,用以采用供电电源为第三接收单元11、升级单元12和第二输出单元13供电;或A power supply switching circuit 14 is connected to the power supply, the third receiving unit 11, the upgrading unit 12, the second output unit 13, and the second client 3, respectively, for using the power supply as the third receiving unit 11, the upgrading unit 12, and the Two output units 13 are powered; or
供电切换电路14采用第二客户端3为第三接收单元11、升级单元12和第二输出单元13供电。The power supply switching circuit 14 uses the second client 3 to supply power to the third receiving unit 11, the upgrading unit 12, and the second output unit 13.
进一步地,第一客户端1的供电电源为12V的直流电源,第二客户端3的供电电源为5V的直流电源。Further, the power supply of the first client 1 is a DC power supply of 12 V, and the power supply of the second client 3 is a DC power supply of 5 V.
在本实施例中,在第一客户端1进行业务程序升级的过程中,若第一客户端1的供电电源断电,可通过供电切换电路14将供电电压 切换至通过第二客户端3对第一客户端1进行供电,以避免业务程序在升级过程中因断电导致升级失败设备损坏无法正常工作的情况,为设备升级提供保障。通过供电切换电路14实现输入电源的不间断切换。解决升级过程中因断电导致系统升级失败的问题。In this embodiment, in the process of upgrading the service program of the first client 1, if the power supply of the first client 1 is powered off, the power supply voltage can be supplied through the power supply switching circuit 14. Switching to powering the first client 1 through the second client 3 to prevent the service program from being damaged due to power failure caused by the power failure during the upgrade process, and providing protection for the device upgrade. Uninterrupted switching of the input power source is achieved by the power supply switching circuit 14. Solve the problem that the system upgrade fails due to power failure during the upgrade process.
如图2所示,在优选的实施例中,供电切换电路14包括:As shown in FIG. 2, in a preferred embodiment, the power switching circuit 14 includes:
一供电端VCC;a power supply terminal VCC;
一接地端GND;a grounding terminal GND;
一第一接口141,连接第一客户端1自身的供电电源;a first interface 141, connected to the power supply of the first client 1 itself;
一第一二极管D1,第一二级管正极连接第一接口141,第一二级管的负极连接供电端VCC;a first diode D1, the first diode positive pole is connected to the first interface 141, the cathode of the first diode is connected to the power supply terminal VCC;
一第二接口142,连接第二客户端3;a second interface 142, connected to the second client 3;
一第二二极管D2,第二二极管D2正极连接第二接口142,第二二极管D2的负极连接第一二极管D1的负极;a second diode D2, the second diode D2 is connected to the second interface 142, and the cathode of the second diode D2 is connected to the cathode of the first diode D1;
一电容C1,串联于第二二极管D2的负极和接地端GND之间。A capacitor C1 is connected in series between the cathode of the second diode D2 and the ground GND.
在本实施例中,第一接口141为12V直流电源接口;第二接口142为USB接口输入5V直流电源;供电切换电路14上电正常运行是通过第一接口141提供的12V直流电源,串接第一二极管D1的作用是:防止12V输入反接导致短路,并防止断电时USB接口输入5V直流电源供电引起电流回流漏电。In this embodiment, the first interface 141 is a 12V DC power supply interface; the second interface 142 is a USB interface input 5V DC power supply; the power supply switching circuit 14 is powered by a 12V DC power supply provided by the first interface 141, and is connected in series. The function of the first diode D1 is to prevent the 12V input from being reversed to cause a short circuit, and to prevent the current from flowing back to the USB interface when the USB interface is input with a 5V DC power supply.
在优选的实施例中,第一二极管D1和第二二极管D2均为肖特基二极管。In a preferred embodiment, the first diode D1 and the second diode D2 are both Schottky diodes.
在本实施例中,第一二极管D1选用肖特基二极管,具有快速恢复的功能,即当12V直流电源断电后重新供电能保持快递开启。In this embodiment, the first diode D1 selects a Schottky diode and has a function of fast recovery, that is, when the 12V DC power supply is powered off, the power supply can be kept on.
在优选的实施例中,电容C1为电解电容,电解电容的正极连接第二二极管D2的负极,电解电容的负极接接地端GND。 In a preferred embodiment, the capacitor C1 is an electrolytic capacitor, the anode of the electrolytic capacitor is connected to the cathode of the second diode D2, and the cathode of the electrolytic capacitor is connected to the ground GND.
在本实施例中,电解电容是储能电容,用于对负载放电,当输入电压降低时,通过电解电容对负载放电,降低输入电压骤降引起电源欠压导致的系统不稳现象。当12V直流电源断电后12V电压会慢慢掉电影响供电电压,直到供电电压有趋势降到低于5V,由于USB接口输入5V直流电源使得第二二极管D2快速导通,当第二二极管D2的导通时,第一二极管D1进入反向截止状态,防止USB接口输入5V直流电源漏电;第二二极管D2导通后,对电解电容充电,使供电电压维持5V,终端设备仍能正常工作,达到在升级过程中不会因断电而受影响的目的。In this embodiment, the electrolytic capacitor is a storage capacitor for discharging the load. When the input voltage is lowered, the capacitor is discharged through the electrolytic capacitor to reduce the instability of the system caused by the undervoltage of the power supply caused by the sudden drop of the input voltage. When the 12V DC power supply is cut off, the 12V voltage will gradually lose power and affect the power supply voltage until the power supply voltage has a tendency to drop below 5V. Because the USB interface inputs 5V DC power, the second diode D2 turns on quickly, when the second When the diode D2 is turned on, the first diode D1 enters a reverse-off state to prevent the USB interface from inputting a 5V DC power supply leakage; after the second diode D2 is turned on, the electrolytic capacitor is charged to maintain the power supply voltage at 5V. The terminal equipment can still work normally, and it will not be affected by power failure during the upgrade process.
如图1所示,在优选的实施例中,服务器2包括:As shown in FIG. 1, in a preferred embodiment, the server 2 includes:
一第四接收单元21,用以接收第三客户端4发送的业务程序安装包、第二客户端3发送的反馈消息和第一客户端1发送的完成升级消息;a fourth receiving unit 21, configured to receive a service program installation package sent by the third client 4, a feedback message sent by the second client 3, and a completion upgrade message sent by the first client 1;
一第一存储单元22,用以存储业务程序安装包及相应的版本号;a first storage unit 22, configured to store a service program installation package and a corresponding version number;
一第二存储单元24,用以存储注册账号及与注册账号对应的第一客户端1的业务程序当前的版本号的表单;a second storage unit 24, configured to store a registration account and a form of a current version number of the business program of the first client 1 corresponding to the registered account;
一处理单元23,分别连接第四接收单元21、第一存储单元22和第二存储单元24,用以遍历表单,获取业务程序当前的版本号不是最新版本号的第一客户端1对应的注册账号,生成升级消息,并将升级消息发送至与第一客户端1对应的第二客户端3,或A processing unit 23 is connected to the fourth receiving unit 21, the first storage unit 22, and the second storage unit 24, respectively, for traversing the form, and obtaining the registration corresponding to the first client 1 whose current version number of the business program is not the latest version number. An account, generating an upgrade message, and sending the upgrade message to the second client 3 corresponding to the first client 1, or
处理单元23用以根据反馈消息将当前最新版本号对应的业务程序安装包发送至与第二客户端3对应的第一客户端1,以进行升级,或The processing unit 23 is configured to send, according to the feedback message, the service program installation package corresponding to the current latest version number to the first client 1 corresponding to the second client 3, to perform the upgrade, or
处理单元23用以根据反馈消息取消对第二客户端3对应的第一客户端1的升级,或 The processing unit 23 is configured to cancel the upgrade of the first client 1 corresponding to the second client 3 according to the feedback message, or
处理单元23用以根据完成升级消息更新第二存储单元24中的表单。The processing unit 23 is configured to update the form in the second storage unit 24 according to the completion upgrade message.
远程升级系统的升级方法的具体过程为:The specific process of upgrading the remote upgrade system is as follows:
第三客户端4提供商发布最新的业务程序安装包并上传至服务器2,该最新的业务程序可具有增加业务程序的功能,并解决原有的系统漏洞;The third client 4 provider publishes the latest business program installation package and uploads it to the server 2, and the latest business program can have the function of adding business programs and solving the original system vulnerabilities;
服务器2发送升级信息给第二客户端3。第二客户端3可通过安装供应商发布的APP应用程序进行注册服务器2以获取注册账户,以方便管理和监控第一客户端1;The server 2 sends the upgrade information to the second client 3. The second client 3 can register the server 2 by installing an APP application issued by the vendor to obtain a registered account, so as to facilitate management and monitoring of the first client 1;
第二客户端3弹出对话框,提示第一客户端1的升级项,用户确认进行本次升级并设定升级时间段;于第二客户端3再次弹出对话框,提醒用户将第二客户端3的USB接口接到第一客户端1(如笔记本电脑、PAD、移动电源等USB电源),通过第一客户端1的供电切换电路14实现电源的不间断切换。用户若认为不需要进行此次升级项,可通过第二客户端3将取消升级的消息发送至服务器2,服务器2将不对第一客户端1进行升级配置;The second client 3 pops up a dialog box, prompting the upgrade item of the first client 1, the user confirms to perform the upgrade and sets the upgrade time period; and the second client 3 pops up a dialog box again to remind the user to use the second client. The USB interface of 3 is connected to the first client 1 (such as a laptop, a PAD, a mobile power source, etc.), and the power supply switching circuit 14 of the first client 1 enables uninterrupted power switching. If the user does not need to perform the upgrade, the second client 3 may send a message to cancel the upgrade to the server 2, and the server 2 will not upgrade the first client 1;
服务器2向第一客户端1发送业务程序安装包,第一客户端1开始升级。若第一客户端1的供电正常,第一客户端1可正常升级,直至完成软件升级;若第一客户端1供电不正常出现断电的情形,则第一客户端1的供电切换电路14通过切换供电电源实现快速启动USB采用第二客户端3持续供电,以保障应用程序的升级;The server 2 sends the business program installation package to the first client 1, and the first client 1 starts the upgrade. If the power supply of the first client 1 is normal, the first client 1 can be upgraded normally until the software upgrade is completed; if the power supply of the first client 1 is abnormal, the power supply switching circuit 14 of the first client 1 is used. Quickly start the USB by switching the power supply. The second client 3 is continuously powered to ensure the application upgrade.
第一客户端1升级完成,并向服务器2发送最新的业务程序安装包信息;The first client 1 upgrade is completed, and the latest business program installation package information is sent to the server 2;
服务器2发送升级成功信息给相应的第二客户端3,提示升级完成。 The server 2 sends the upgrade success information to the corresponding second client 3, prompting that the upgrade is completed.
本发明解决了嵌入式终端设备在远程软件升级失败,导致系统无法正常运行的问题。采用人性化的软件升级体验,软件升级内容透明化和可选择性,增强了用户体验。同时,供电切换电路14可对输入电源的不间断切换,实现电源冗余低成本的效果。The invention solves the problem that the embedded terminal device fails in the remote software upgrade, and the system cannot operate normally. With a user-friendly software upgrade experience, the software upgrade content is transparent and optional, enhancing the user experience. At the same time, the power supply switching circuit 14 can continuously switch the input power source, thereby achieving the effect of low power supply redundancy.
以上所述仅为本发明较佳的实施例,并非因此限制本发明的实施方式及保护范围,对于本领域技术人员而言,应当能够意识到凡运用本发明说明书及图示内容所作出的等同替换和显而易见的变化所得到的方案,均应当包含在本发明的保护范围内。 The above is only a preferred embodiment of the present invention, and is not intended to limit the scope of the embodiments and the scope of the present invention, and those skilled in the art should be able to Alternatives and obvious variations are intended to be included within the scope of the invention.

Claims (10)

  1. 一种远程升级系统,其特征在于,包括:A remote upgrade system, comprising:
    一服务器,用以存储业务程序安装包,并输出升级消息,所述业务程序安装包对应业务程序及一版本号,所述服务器还用以存储注册账号;a server, configured to store a service program installation package, and output an upgrade message, where the service program installation package corresponds to a service program and a version number, and the server is further configured to store a registration account;
    复数个第一客户端,与所述服务器远程连接,所述客户端包括所述业务程序,所述客户端用以从所述服务器中下载与所述业务程序对应的最新版本号的所述应用程序安装包,以进行升级;a plurality of first clients remotely connected to the server, the client including the service program, and the client is configured to download, from the server, the application with the latest version number corresponding to the service program Program installation package for upgrade;
    复数个第二客户端,所述第二客户端与所述第一客户端一一对应,一一对应的所述第二客户端和所述第一客户端共用一个所述注册账号,所述第二客户端分别与所述服务器和对应的所述第一客户端连接,所述第二客户端用以根据接收到的所述升级消息控制所述第一客户端的所述业务程序升级,或a plurality of second clients, the second client is in one-to-one correspondence with the first client, and the second client and the first client corresponding to the one-to-one share one registered account, The second client is connected to the server and the corresponding first client, and the second client is configured to control, according to the received upgrade message, the service program upgrade of the first client, or
    所述第二客户端用以根据接收到的所述升级消息控制所述第一客户端的所述业务程序升级,并为所述第一客户端供电。The second client is configured to control the service program upgrade of the first client according to the received upgrade message, and supply power to the first client.
  2. 如权利要求1所述的远程升级系统,其特征在于,还包括:The remote upgrade system of claim 1 further comprising:
    一第三客户端,与所述服务器远程连接,用以将所述业务程序安装包发送至所述服务器。A third client is remotely connected to the server for transmitting the service program installation package to the server.
  3. 如权利要求2所述的远程升级系统,其特征在于,所述第二客户端包括:The remote upgrade system of claim 2, wherein the second client comprises:
    一第一接收单元,用以接收所述升级消息;a first receiving unit, configured to receive the upgrade message;
    一第二接收单元,用以接收用户输入的升级指令;a second receiving unit, configured to receive an upgrade instruction input by the user;
    一控制单元,分别连接所述第一接收单元和所述第二接收单元,用以根据所述升级指令,生成相应的反馈消息;a control unit, configured to respectively connect the first receiving unit and the second receiving unit, to generate a corresponding feedback message according to the upgrade instruction;
    一第一输出单元,连接所述控制单元,用以将所述反馈消息发送 至所述服务器。a first output unit, connected to the control unit, for sending the feedback message To the server.
  4. 如权利要求3所述的远程升级系统,其特征在于,所述升级指令包括升级时间段和确认升级指令,或取消升级指令。The remote upgrade system according to claim 3, wherein the upgrade instruction comprises an upgrade time period and an acknowledgement upgrade instruction, or cancel an upgrade instruction.
  5. 如权利要求3所述的远程升级系统,其特征在于,所述第一客户端包括:The remote upgrade system of claim 3, wherein the first client comprises:
    一第三接收单元,用以接收所述服务器发送的所述业务程序安装包;a third receiving unit, configured to receive the service program installation package sent by the server;
    一升级单元,连接所述第三接收单元,用以根据所述业务程序安装包对相应的所述业务程序进行升级;An upgrade unit, connected to the third receiving unit, for upgrading the corresponding service program according to the service program installation package;
    一第二输出单元,连接所述升级单元,用以在升级成功后,将完成升级消息发送至所述服务器。A second output unit is connected to the upgrade unit to send a completion upgrade message to the server after the upgrade is successful.
  6. 如权利要求5所述的远程升级系统,其特征在于,所述第一客户端还包括:The remote upgrade system of claim 5, wherein the first client further comprises:
    一供电电源;a power supply;
    一供电切换电路,分别连接所述供电电源、所述第三接收单元、所述升级单元、所述第二输出单元和所述第二客户端,用以采用所述供电电源为所述第三接收单元、所述升级单元和所述第二输出单元供电;或a power supply switching circuit, respectively connected to the power supply, the third receiving unit, the upgrading unit, the second output unit, and the second client, to use the power supply for the third Receiving power by the receiving unit, the upgrading unit, and the second output unit; or
    所述供电切换电路采用所述第二客户端为所述第三接收单元、所述升级单元和所述第二输出单元供电。The power switching circuit uses the second client to supply power to the third receiving unit, the upgrading unit, and the second output unit.
  7. 如权利要求6所述的远程升级系统,其特征在于,所述供电切换电路包括:The remote upgrade system of claim 6, wherein the power supply switching circuit comprises:
    一供电端;a power supply end;
    一接地端;a ground terminal;
    一第一接口,连接所述供电电源; a first interface connecting the power supply;
    一第一二极管,所述第一二级管正极连接所述第一接口,所述第一二级管的负极连接所述供电端;a first diode, the first diode positive pole is connected to the first interface, and the cathode of the first diode is connected to the power supply end;
    一第二接口,连接所述第二客户端;a second interface connecting the second client;
    一第二二极管,所述第二二极管正极连接所述第二接口,所述第二二极管的负极连接所述第一二极管的负极;a second diode, the second diode is connected to the second interface, and the cathode of the second diode is connected to the cathode of the first diode;
    一电容,串联于所述第二二极管的负极和所述接地端之间。A capacitor is connected in series between the cathode of the second diode and the ground.
  8. 如权利要求7所述的远程升级系统,其特征在于,所述第一二极管和所述第二二极管均为肖特基二极管。The remote upgrade system of claim 7 wherein said first diode and said second diode are both Schottky diodes.
  9. 如权利要求7所述的远程升级系统,其特征在于,所述电容为电解电容,所述电解电容的正极连接所述第二二极管的负极,所述电解电容的负极接所述接地端。The remote upgrade system according to claim 7, wherein the capacitor is an electrolytic capacitor, a cathode of the electrolytic capacitor is connected to a cathode of the second diode, and a cathode of the electrolytic capacitor is connected to the ground. .
  10. 如权利要求5所述的远程升级系统,其特征在于,所述服务器包括:The remote upgrade system of claim 5, wherein the server comprises:
    一第四接收单元,用以接收所述第三客户端发送的所述业务程序安装包、所述第二客户端发送的所述反馈消息和所述第一客户端发送的所述完成升级消息;a fourth receiving unit, configured to receive the service program installation package sent by the third client, the feedback message sent by the second client, and the completion upgrade message sent by the first client ;
    一第一存储单元,用以存储所述业务程序安装包及相应的版本号;a first storage unit, configured to store the service program installation package and a corresponding version number;
    一第二存储单元,用以存储所述注册账号及与所述注册账号对应的所述第一客户端的所述业务程序当前的版本号的表单;a second storage unit, configured to store the registration account and a form of a current version number of the business program of the first client corresponding to the registered account;
    一处理单元,分别连接所述第四接收单元、所述第一存储单元和所述第二存储单元,用以遍历所述表单,获取所述业务程序当前的版本号不是最新版本号的所述第一客户端对应的所述注册账号,生成所述升级消息,并将所述升级消息发送至与所述第一客户端对应的所述第二客户端,或 a processing unit, configured to respectively connect the fourth receiving unit, the first storage unit, and the second storage unit, to traverse the form, and obtain the current version number of the service program is not the latest version number Generating the upgrade message by the registration account corresponding to the first client, and sending the upgrade message to the second client corresponding to the first client, or
    所述处理单元用以根据所述反馈消息将当前最新版本号对应的所述业务程序安装包发送至与所述第二客户端对应的所述第一客户端,以进行升级,或The processing unit is configured to send, according to the feedback message, the service program installation package corresponding to the current latest version number to the first client corresponding to the second client, to perform an upgrade, or
    所述处理单元用以根据所述反馈消息取消对所述第二客户端对应的所述第一客户端的升级,或The processing unit is configured to cancel an upgrade of the first client corresponding to the second client according to the feedback message, or
    所述处理单元用以根据所述完成升级消息更新所述第二存储单元中的所述表单。 The processing unit is configured to update the form in the second storage unit according to the completion upgrade message.
PCT/CN2016/101375 2015-11-04 2016-09-30 Remote upgrade system WO2017076147A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510741005.4 2015-11-04
CN201510741005.4A CN105302607B (en) 2015-11-04 2015-11-04 A kind of remote update system

Publications (1)

Publication Number Publication Date
WO2017076147A1 true WO2017076147A1 (en) 2017-05-11

Family

ID=55199902

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/101375 WO2017076147A1 (en) 2015-11-04 2016-09-30 Remote upgrade system

Country Status (2)

Country Link
CN (1) CN105302607B (en)
WO (1) WO2017076147A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302607B (en) * 2015-11-04 2019-09-27 上海斐讯数据通信技术有限公司 A kind of remote update system
CN107204865A (en) * 2016-03-17 2017-09-26 福建华渔未来教育科技有限公司 The equipment of terminal system maintaining method, monitoring device and long distance monitoring
CN109088931A (en) * 2018-08-20 2018-12-25 北京粉笔蓝天科技有限公司 Data publication method, apparatus, system and the storage medium of Based on Distributed system
CN113110856A (en) * 2021-04-13 2021-07-13 深圳市合信自动化技术有限公司 Management system for self-service remote updating of PLC (programmable logic controller) program and HMI (human machine interface) engineering

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291424A (en) * 2011-05-31 2011-12-21 深圳市元征软件开发有限公司 Vehicle-mounted GPRS (general packet radio service) communication system with FTP (file transfer protocol) remote wireless upgrading function and method thereof
US20140196021A1 (en) * 2013-01-04 2014-07-10 Quanta Computer Inc. Remote upgrade servers and load balancing methods thereof
CN204515378U (en) * 2015-01-27 2015-07-29 郑州宇通客车股份有限公司 A kind of automobile-used program remote upgrading control circuit
CN104866333A (en) * 2014-09-29 2015-08-26 广东美的环境电器制造有限公司 Upgrading system and upgrading method for software in household appliances
CN105302607A (en) * 2015-11-04 2016-02-03 上海斐讯数据通信技术有限公司 Remote upgrade system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080058996A1 (en) * 2006-08-25 2008-03-06 Sukam Power Systems Limited UPS monitoring and controlling software embedded into a DSP-based online UPS equipment
CN102662709B (en) * 2012-04-01 2015-04-15 广州广电运通金融电子股份有限公司 Self-service terminal hardware-media remote upgrading device
CN103001315B (en) * 2012-12-26 2016-12-28 上海斐讯数据通信技术有限公司 A kind of power supply switch circuit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291424A (en) * 2011-05-31 2011-12-21 深圳市元征软件开发有限公司 Vehicle-mounted GPRS (general packet radio service) communication system with FTP (file transfer protocol) remote wireless upgrading function and method thereof
US20140196021A1 (en) * 2013-01-04 2014-07-10 Quanta Computer Inc. Remote upgrade servers and load balancing methods thereof
CN104866333A (en) * 2014-09-29 2015-08-26 广东美的环境电器制造有限公司 Upgrading system and upgrading method for software in household appliances
CN204515378U (en) * 2015-01-27 2015-07-29 郑州宇通客车股份有限公司 A kind of automobile-used program remote upgrading control circuit
CN105302607A (en) * 2015-11-04 2016-02-03 上海斐讯数据通信技术有限公司 Remote upgrade system

Also Published As

Publication number Publication date
CN105302607B (en) 2019-09-27
CN105302607A (en) 2016-02-03

Similar Documents

Publication Publication Date Title
WO2017076147A1 (en) Remote upgrade system
US9531551B2 (en) Dynamically configurable power-over-ethernet apparatus and method
JP6602782B2 (en) Apparatus and method for supplying uninterruptible power to PoE device
CN111045866B (en) BMC fault processing method and device, electronic equipment and storage medium
CN101867468B (en) Hot reboot processing method for power over Ethernet switch and power over Ethernet switch
US10218216B2 (en) System and method for supplying uninterruptible power to a POE device in a powered state
JP4155190B2 (en) Uninterruptible power supply, power supply control program, power supply control program recording medium, and power supply control method
CN102243594A (en) Method for safely and remotely upgrading embedded Linux system software
WO2016197856A2 (en) Method and device for managing active ethernet terminal power source
CN104317377A (en) Design method for controlling power state (active or standby) through BMC
JP5859562B2 (en) Computer system, remote maintenance configuration and remote maintenance method
CN111712776A (en) Power management for computing and communication systems during power surges and sudden power failure events
JP2006318394A (en) Management method for uninterruptible power supply device in network system
WO2016045363A1 (en) Method for cpu to control wifi module via hsic bus interface
CN114138567A (en) Substrate management control module maintenance method, device, equipment and storage medium
US20150346808A1 (en) Start-up architecture of redundant power supply system
JP2010039734A (en) Communication system, line concentrator and connection equipment
CN114401156A (en) Power supply control method and device of PSE (Power supply Equipment), PSE equipment and power supply system
JP2010206919A (en) Backup power supply device, backup power supply system, and power supply switching method
JP5012741B2 (en) Power supply device, power supply method, power supply control program, and power supply system
JP6514801B1 (en) Information processing system and communication connection switching method at power failure in information processing system
JP6687257B2 (en) Power supply device, power supply system, power supply device control method, and power supply device control program
CN106330480A (en) Business processing method and device based on main and standby power sources
JP2011008652A (en) Power link system between devices
CN108701095B (en) Management system and management method

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

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

Country of ref document: EP

Kind code of ref document: A1