CN104038538A - Method and system for local area network host software updating - Google Patents

Method and system for local area network host software updating Download PDF

Info

Publication number
CN104038538A
CN104038538A CN 201410235697 CN201410235697A CN104038538A CN 104038538 A CN104038538 A CN 104038538A CN 201410235697 CN201410235697 CN 201410235697 CN 201410235697 A CN201410235697 A CN 201410235697A CN 104038538 A CN104038538 A CN 104038538A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
host
lan
software upgrade
core
software
Prior art date
Application number
CN 201410235697
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

The invention provides a method and system for local area network host software updating. Some host is randomly selected in the local area network to serve as a core host, a software upgrading package is loaded to the core host, host information of the core host is pushed to the local area network, connection between the core host and other hosts is established, a version information protocol is sent to other hosts, other hosts judges whether to participate in software upgrading this time according to the version information protocol, the hosts which need to undergo software upgrading in other hosts are recognized according to feedback information, the software upgrading package is sent to the host needing to be upgraded, and after receiving the software upgrading package, other hosts analyze the software upgrading package and perform software upgrading. In the whole process, no other devices need to be depended on, only existing host devices in the local area network need selecting, efficiency is improved, and the cost is reduced; in addition, waste of network resources of the local area network is avoided by adopting an inquiry mechanism, and software upgrading efficiency is further improved.

Description

局域网主机软件升级方法与系统 LAN and host software upgrade system

技术领域 FIELD

[0001] 本发明涉及局域网通信技术领域,特别是涉及局域网主机软件升级方法与系统。 [0001] The present invention relates to local area network communication technologies, and particularly relates to a local area network and the host system software upgrade. 背景技术 Background technique

[0002] 随着科学技术的发展和人们对局域网通信越来越高的要求,目前,在同一局域网中会设置有大量主机。 [0002] With the development of science and technology and people's increasing demands LAN communications, at present, in the same LAN will be provided with a large number of hosts. 数量众多的主机提升了局域网通信的效率和质量,给人们生活带来了便利,同时为了与时俱进,局域网中众多主机的软件也需要根据时间和用户的需求进行升级更新,但是对众多的主机进行软件升级却是一件相当麻烦的事情。 The number of hosts numerous to enhance the efficiency and quality of the local area network communications, bringing convenience to people's lives, and in order to advance with the times, the LAN hosts numerous software needs to be upgraded and updated according to the needs of users time, but for many host software upgrade is a very troublesome thing.

[0003]目前常采用的方法主要分为两种,一种是采用最原始的方法,分别将升级软件加载到局域网中每一台主机,这种升级方法升级效率低,且严重影响局域网工作效率,另一种方法是,增设专门的无线终端设备,利用无线终端设备将升级软件分别加载到局域网的主机中,这种方法需要增设其它设备,在实际软件升级中不方便使用,且实施成本高昂。 [0003] Current methods often used are divided into two types, one is the most primitive methods, respectively, to upgrade the software loaded into the LAN each host, this upgrade method to upgrade the efficiency is low, and seriously affect the local area network efficiency another method is that special additional wireless terminal device, using the wireless terminal device are loaded into the host software upgrade LAN, this method requires other additional equipment, difficult to use in actual software upgrade, and costly to implement .

[0004] 可见现有的局域网主机软件升级方法升级效率低下,不方便在实际软件升级中使用,无法满足当前用户的需求。 [0004] visible existing LAN host software upgrade method to upgrade inefficient, inconvenient to use in actual software upgrade, you can not meet the needs of current users.

发明内容 SUMMARY

[0005] 基于此,有必要针对目前尚无一种高效、便捷的局域网主机软件升级方法的问题,提供一种高效、便捷的局域网主机软件升级方法与系统。 [0005] Based on this, there is no question it is necessary for an efficient and convenient method of LAN host software upgrade, provide an efficient and convenient local area network and host system software upgrade.

[0006] 一种局域网主机软件升级方法,包括步骤: [0006] A host LAN software upgrade method, comprising the steps of:

[0007] 遍历局域网中所有主机,任意选定某一主机为核心主机,加载软件升级包于所述核心主机; [0007] LAN traverse all the hosts, the selection of a host of any core-host, loading the software upgrade package to the host core;

[0008] 将所述核心主机的主机信息推送到局域网中,所述主机信息包括主机IP地址和主机名称; [0008] The host information of the host core is pushed to the LAN, the host information includes a host IP address and host name;

[0009] 建立局域网中其它主机与所述核心主机之间的连接,发送版本信息协议包至局域网中各个主机,以询问局域网中各个主机是否需要软件升级,其中,所述版本信息协议包包括软件升级包的版本信息; [0009] establishing a LAN connection, protocol version information transmission between the host and the other packet to the host computer core each host in the LAN, each host to inquire about whether the LAN software update, wherein the version information comprises a software protocol packet an upgraded version of the information package;

[0010] 根据局域网中各个主机解析版本信息协议包反馈的结果,识别局域网中需要软件升级的主机; [0010] The analytical results of each host version LAN protocol packet information feedback recognition LAN host needs a software upgrade;

[0011] 发送所述软件升级包至局域网中需要软件升级的主机,升级局域网中需要软件升级的主机。 [0011] sending the software upgrade software upgrade is needed LAN packet to the host, the host needs to update the local area network software upgrade.

[0012] 一种局域网主机软件升级系统,包括: [0012] A host LAN software to upgrade the system, including:

[0013] 核心主机选定模块,用于遍历局域网中所有主机,任意选定某一主机为核心主机,加载软件升级包于所述核心主机; [0013] The core selected host module, configured to traverse all the hosts in the local area network, a host core arbitrarily selected host, loading the software upgrade package to the host core;

[0014] 核心主机信息推送模块,用于将所述核心主机的主机信息推送到局域网中,所述主机信息包括主机IP地址和主机名称; [0014] Host information push the core module, configured to host information of the host core is pushed to the LAN, the host information includes a host IP address and host name;

[0015] 连接模块,用于建立局域网中其它主机与所述核心主机之间的连接,发送版本信息协议包至局域网中各个主机,以询问局域网中各个主机是否需要软件升级,其中,所述版本信息协议包包括软件升级包的版本信息; [0015] connecting module for establishing a connection, the protocol version information transmission between the host and the other LAN packet to the host computer core each host in the LAN, each host to inquire about whether the LAN software update, wherein the version information protocol packet includes version information about the software upgrade package;

[0016] 识别模块,用于根据局域网中各个主机解析版本信息协议包反馈的结果,识别局域网中需要软件升级的主机; [0016] The identification module, according to the results of each host LAN protocol packet parsed version information feedback recognition LAN host needs a software upgrade;

[0017] 升级模块,用于发送所述软件升级包至局域网中需要软件升级的主机,升级局域网中需要软件升级的主机。 [0017] upgrade module, configured to send the software upgrade package to the local area network the host software upgrade is needed, the host needs to update the local area network software upgrade.

[0018] 本发明局域网主机软件升级方法与系统,在局域网众多主机中任意选取其中某台主机为核心主机,加载软件升级包到该核心主机,之后将该核心主机的主机信息推送到局域网中,以便局域网中其它主机知晓,建立核心主机与其它主机之间的连接,核心主机发送版本信息协议包至其它主机,其它主机根据版本信息协议判断自身是否需要参与本次软件升级,反馈信息至核心主机,核心主机根据反馈的信息识别其它主机中需要软件升级的主机,发送软件升级包至需要升级的主机,需要升级的其它主机在接收到软件升级包后,解析该软件升级包,进行软件升级。 [0018] The present invention is a local area network and the host system software upgrade, the host in the LAN to any selected number of a host wherein the host core, loading the software upgrade package to the core of the host, then the host information of the host core push LAN, other hosts known to the LAN connection is established, the core-host transmission protocol version information between the core packet to the host with other hosts other hosts, other hosts judging whether a software upgrade needs to participate in the feedback information according to the version information of the host to the core protocol the core host according to the feedback information for identifying the other host host software upgrade is needed, transmits the software upgrade package to the need to upgrade the host, other hosts need to be upgraded after receiving the software upgrade package, parses the software upgrade, a software upgrade. 整个过程中,不需要借助其它设备,只需选定局域网中已有主机设备,提高了效率,降低了成本,另外,采用询问机制,询问局域网中需要升级的主机,只有当主机需要升级才发送软件升级包至该主机,从而避免局域网网络资源的浪费,进一步提高了软件升级的效率,所以本发明局域网主机软件升级方法是一种高效、便捷的软件升级方法。 Throughout the process, without the help of other devices, simply select an existing host LAN equipment to improve efficiency, reduce costs, in addition, the use of mechanisms of inquiry, asking the LAN need to upgrade the host, the host is sent only if you need to upgrade only software upgrade package to the host, so as to avoid wasting resources local area network, the software upgrade further improving the efficiency, the LAN host software upgrade method of the present invention is an efficient and convenient method for a software upgrade.

附图说明 BRIEF DESCRIPTION

[0019] 图1为本发明局域网主机软件升级方法第一个实施例的流程示意图; Method of upgrading a schematic embodiment example of the process LAN host software [0019] Figure 1 of the present invention;

[0020] 图2为本发明局域网主机软件升级方法第二个实施例的流程示意图; The second method for upgrading a schematic view of the procedure of Example LAN host software [0020] FIG. 2 of the present invention;

[0021]图3为本发明局域网主机软件升级系统第一个实施例的结构示意图; [0021] FIG. 3 is a schematic structural diagram of a first embodiment of the invention, the LAN host system software upgrade;

[0022]图4为本发明局域网主机软件升级系统第二个实施例的结构示意图。 [0022] FIG. 4 configuration diagram of a second embodiment of the host software upgrade LAN system of the present invention.

具体实施方式 detailed description

[0023] 为了使本发明的目的、技术方案及优点更加清楚明白,以下根据附图及实施例,对本发明进行进一步详细说明。 [0023] To make the objectives, technical solutions and advantages of the present invention will become more apparent, the following embodiments and the accompanying drawings, the present invention will be further described in detail. 应当理解,此处所描述的具体实施仅仅用以解释本发明,并不限定本发明。 It should be understood that the specific embodiments described herein are only intended to illustrate the present invention, the present invention is not limited.

[0024] 如图1所示,一种局域网主机软件升级方法,包括步骤: [0024] As shown in FIG 1 A LAN host software upgrade method, comprising the steps of:

[0025] SlOO:遍历局域网中所有主机,任意选定某一主机为核心主机,加载软件升级包于所述核心主机。 [0025] SlOO: traversing all the hosts in the local area network, a host core arbitrarily selected host, loading the software upgrade package to the host core.

[0026] 局域网中设置有大量主机,这些主机基本功能一般是相似的,在这里,随机选取任意一个主机作为核心主机,将本次升级的数据包直接加载到该核心主机中。 [0026] LAN is provided with a large number of hosts that are generally similar to the basic functions, where any randomly selected as a host central host, this upgrade data packet directly to the core loading host.

[0027] S200:将所述核心主机的主机信息推送到局域网中,所述主机信息包括主机IP地址和主机名称。 [0027] S200: The host information of the host core pushed to the LAN, the host information includes a host IP address and host name.

[0028] 在局域网中,每个主机都有自己的IP地址和主机名称,以便在局域网进行数据交互过程中,准确识别各个主机的身份以及数据传输的源地址和目的地址。 [0028] In the LAN, each host has its own IP address and host name, for the data interaction process in the LAN, to accurately identify the source and destination addresses and data transmission capacity of each host. 在这里,核心主机将自己的主机信息推送到局域网中,以便局域网中其它主机知晓是哪一台主机被选定为核心主机,以便在后续的操作中与其进行连接,与其进行数据交互。 Here, the core of their host pushing information to a host in the LAN, the LAN to which host to other hosts are its core is selected as the host, connected therewith in a subsequent operation, the data interaction therewith. [0029] S300:建立局域网中其它主机与所述核心主机之间的连接,发送版本信息协议包至局域网中各个主机,以询问局域网中各个主机是否需要软件升级,其中,所述版本信息协议包包括软件升级包的版本信息。 [0029] S300: establishing a LAN connection, protocol version information transmission between the host and the other packet to the host computer core each host in the LAN, each host to inquire about whether the LAN software update, wherein the version information protocol packet including software version upgrade package.

[0030] 局域网中其它主机根据核心主机的主机信息准确与核心主机建立连接,开始进行数据交互,核心主机发送本次软件升级包的版本信息至其它主机。 [0030] Other LAN hosts based on host accurately establish the core of the core mainframe host connectivity information to begin data exchange, the host sends the core of this version of the software upgrade package information to other hosts. 通常,相同的软件程序都会有不同的版本,在这里,发送版本信息协议包至局域网中各个主机,是为了表明本次软件升级包的身份,让各个主机知晓本次软件升级是对哪一款软件、以及该款软件的第几个版本进行升级。 In general, the same software program will have a different version, where version information protocol to send packets to each host LAN is to show that this software upgrade package of identity, so that each host know this is what a software upgrade software, as well as the first of several versions of the software upgrade.

[0031] S400:根据局域网中各个主机解析版本信息协议包反馈的结果,识别局域网中需要软件升级的主机。 [0031] S400: The analytical results of each host version LAN protocol packet information feedback recognition LAN host needs a software upgrade.

[0032] 局域网中不同主机处理数据的内容不相同,对于相同一个软件,可能有的主机需要升级,也有的主机不需要升级,或者不需要升级到当前这个版本。 [0032] content in different local area networks host processing data is not the same, for the same software, some hosts may need to be upgraded, and some hosts do not need to upgrade, or need to upgrade to the current version. 在这里,局域网中其它主机解析版本信息协议,自我识别判断是否需要参与此次软件升级,并将结果反馈,根据各个主机反馈回的数据,识别出局域网中需要软件升级的主机。 Here, the LAN protocol version information to resolve a host of other self-identification to determine whether to participate in the software upgrade, and the results fed, according to various hosts fed back data, identify the required software upgrade LAN hosts. 这样避免发送软件升级包至不需要升级的主机浪费局域网网络资源,提高了升级效率。 This avoids sending software upgrade package to host a waste of LAN network resources do not need to upgrade and improve the efficiency upgrade.

[0033] S500:发送所述软件升级包至局域网中需要软件升级的主机,升级局域网中需要软件升级的主机。 [0033] S500: sending the software upgrade package to the host in LAN software upgrade is needed, the host software upgrade needs to upgrade the LAN.

[0034] 核心主机将软件升级包发送到局域网中需要软件升级的主机,这些主机在接收到软件升级包后解析软件升级包,开始软件升级。 [0034] The core-host software upgrade package is sent to the LAN software upgrade is needed hosts that after receiving the software upgrade package analysis software upgrade package, start the software upgrade.

[0035] 本发明局域网主机软件升级方法,在局域网众多主机中任意选取其中某台主机为核心主机,加载软件升级包到该核心主机,之后将该核心主机的主机信息推送到局域网中,以便局域网中其它主机知晓,建立核心主机与其它主机之间的连接,核心主机发送版本信息协议包至其它主机,其它主机根据版本信息协议判断自身是否需要参与本次软件升级,反馈信息至核心主机,核心主机根据反馈的信息识别其它主机中需要软件升级的主机,发送软件升级包至需要升级的主机,需要升级的其它主机在接收到软件升级包后,解析该软件升级包,进行软件升级。 [0035] LAN host software upgrade method of the present invention, a number of hosts in the LAN arbitrarily selected as a host wherein the host core, loading the software upgrade package to the core of the host, then the host information of the host core push LAN to LAN in its other hosts to establish a connection, the core-host transmission protocol version information between the core packet to the host with other hosts other hosts, other hosts judging whether a software upgrade needs to participate in the feedback information according to the core-host protocol version information, the core host according to the feedback information for identifying the other host host software upgrade is needed, transmits to the need to upgrade the software upgrade package host, other hosts need to be upgraded after receiving the software upgrade package, parses the software upgrade, a software upgrade. 整个过程中,不需要借助其它设备,只需选定局域网中已有主机设备,提高了效率,降低了成本,另外,采用询问机制,询问局域网中需要升级的主机,只有当主机需要升级才发送软件升级包至该主机,从而避免局域网网络资源的浪费,进一步提高了软件升级的效率,所以本发明局域网主机软件升级方法是一种高效、便捷的软件升级方法。 Throughout the process, without the help of other devices, simply select an existing host LAN equipment to improve efficiency, reduce costs, in addition, the use of mechanisms of inquiry, asking the LAN need to upgrade the host, the host is sent only if you need to upgrade only software upgrade package to the host, so as to avoid wasting resources local area network, the software upgrade further improving the efficiency, the LAN host software upgrade method of the present invention is an efficient and convenient method for a software upgrade.

[0036] 如图2所示,在其中一个实施例中,所述S500之后还有步骤: [0036] As shown in FIG. 2, in one embodiment, also after the step S500:

[0037] S600:接收需要软件升级的主机在解析所述软件升级包后反馈的信息,判断主机是否升级成功,若未成功,则间隔预设时间,重新发送软件升级包至未成功升级的主机,若成功,则终止软件升级操作。 [0037] S600: the host receives a software upgrade requires feedback information after parsing the software upgrade package, the host determines whether the upgrade was successful, if not successful, the preset time interval, to resend the software upgrade package is not successfully upgraded host If successful, it terminates the software upgrade.

[0038] 在本实施例中,局域网中其它主机在接收到软件升级包进行软件升级后,还会生成一个反馈信息,表明自己此次软件升级是否成功。 After [0038] In the present embodiment, the LAN software upgrade package other hosts in the received update software also generates a feedback information indicating the own software upgrade was successful. 核心主机在接收到该反馈信息判断主机是否升级成功,若未成功,核心主机会在间隔预设时间后重新发送软件升级包至该主机,若成功,则终止软件升级操作,完成软件升级全过程。 In the core-host receives the feedback information to determine whether the host upgrade was successful, if not successful, the core-host resend the software upgrade package to the host after a predetermined time interval, if successful, the software update operation is terminated, the entire process of software upgrade . 在本实施例中,增设一个升级成功判断和软件升级包重传机制,确保了主机软件升级的准确性和可靠性。 In the present embodiment, the addition of a successful upgrade and software upgrade package is determined retransmission mechanism to ensure that the host software upgrades accuracy and reliability. [0039] 如图2所示,在其中一个实施例中,所述S400之后还有步骤: [0039] As shown in FIG. 2, in one embodiment, also after the step S400:

[0040] S420 :记录当前不需要软件升级的主机。 [0040] S420: The current record does not require a software upgrade hosts.

[0041] 局域网记录下本次不需要升级的主机,以便在后续操作中查验。 [0041] The local area network without upgrading the host record for identification in a subsequent operation.

[0042] 在其中一个实施例中,所述将所述核心主机的主机信息推送到局域网中具体为: [0042] In one embodiment, the host information to be pushed to the central host LAN is specifically:

[0043] 通过用户数据包协议方式将所述核心主机的主机信息推送到局域网中。 [0043] User Datagram Protocol by way of the host information of the host core push LAN.

[0044] 通过用户数据包协议方式传输数据确保了数据传输的准确、高效与安全。 [0044] ensure accurate data transmission, efficient and safe manner by a user datagram protocol to transmit data.

[0045] 在其中一个实施例中,所述建立局域网中其它主机与所述核心主机之间的连接具体为: [0045] In one embodiment, the LAN connection is established between the particular host and the other core host:

[0046] 建立局域网中其它主机与所述核心主机之间的TCP连接。 [0046] TCP connection is established between a host and the other core host LAN.

[0047] TCP连接是一种安全高效的连接,三次握手的传输方式确保了数据传输的准确。 [0047] TCP connection is a safe and efficient connectivity, three-way handshake to ensure the accurate transmission of data transmission.

[0048] 为了更进一步详细解释本发明局域网主机软件升级方法技术方案及其带来的效果,下面将采用一实例,详细说明每个步骤。 [0048] In order to further explain the effect of the LAN host software upgrade method aspect of the present invention and bring detail below using an example, detailed description of each step.

[0049] [01]配置重发机制,可配置i^peat. ini对重发次数,每一次的时间间隔,是否支持上线重发。 [0049] [01] arranged retransmission mechanism may be arranged i ^ peat. Ini retransmission times, each time interval, on-line support retransmission.

[0050] [02]配置UDP组播包Transport, ini,包含组播地址、组播端口号、PushInterval推送时间间隔、最大请求次数和超时时间。 [0050] [02] Configuring the UDP multicast packets Transport, ini, comprising a multicast address, the multicast port number, PushInterval push time interval, and the maximum number of requests timeout.

[0051] [03]配置TCP Message,包含监听端口号、最大并发数量和超时时间。 [0051] [03] configure TCP Message, includes listening port number, and the maximum number of concurrent timeout.

[0052] [04]配置TCP文件传输,包含监听端口号、最大并发数量、超时时间和文件块大小。 [0052] [04] TCP configuration file transfer, comprising a listening port number, the maximum number of concurrent, timeout, and file block size.

[0053] [05]发现核心主机,制定核心主机发现协议及数据包,然后通过UDP的方式将核心主机的IP地址、名称等信息推送到局域网中的其它主机。 [0053] [05] found that the core of the host, and develop core-host protocol discovery packets by the UDP and IP address of the core way host name and other information pushed to the other hosts in the LAN.

[0054] [06]核心主机和局域网中的其它主机建立TCP连接 [0054] [06] core and a host of other LAN hosts establish a TCP connection

[0055] [07]选择升级包,读取升级包中要升级的软件的版本信息,组装为升级信息协议包。 [0055] [07] select the upgrade package, read the version information in the upgrade package to upgrade the software upgrade information assembled protocol packets.

[0056] [08]利用线程管理中的通知一个或多个正在等待的线程已发生事件方法进行线程等待,并设置超时时间为5000ms。 [0056] [08] notice the use of thread management in one or more threads are waiting for an event has occurred to thread wait method, and set the timeout to 5000ms.

[0057] [09]局域网中的其它主机收到升级信息,检测软件版本号,根据软件版本号回复是否接受本次升级。 [0057] [09] other LAN hosts receive upgrade information, testing the software version number, reply whether to accept the upgrade based on the software version number.

[0058] [10]核心主机对接受升级包的主机发送升级包,设置ManualResetEvent事件状态为中止,同时,对没有收到回复的主机加入到失败主机列表中,用于后续重发。 [0058] [10] The core host acceptance upgrade package host sends the upgrade package, provided ManualResetEvent event status is aborted, no reply to the host is added to the list failed host, for subsequent retransmission.

[0059] [11]接受升级包完成后,自动启动安装,静默升级。 [0059] [11] After receiving the completion of the upgrade package, automatically start the installation, silent upgrade.

[0060] [12]查看失败主机列表是否有未成功发送的,如果有,则按照repeat, ini配置对任务进行重发处理。 [0060] [12] failed to check whether the host list has not sent successfully, and if so, in accordance with the repeat, ini configuration tasks retransmission process.

[0061] 如图3所示,一种局域网主机软件升级系统,包括: [0061] As shown in FIG 3 A LAN host system software upgrade, comprising:

[0062] 核心主机选定模块100,用于遍历局域网中所有主机,任意选定某一主机为核心主机,加载软件升级包于所述核心主机; [0062] The core selected host module 100, configured to traverse all the hosts in the local area network, a host core arbitrarily selected host, loading the software upgrade package to the host core;

[0063] 核心主机信息推送模块200,用于将所述核心主机的主机信息推送到局域网中,所述主机信息包括主机IP地址和主机名称; [0063] The core host information pushing module 200, configured to host information of the host core pushed to the LAN, the host information includes a host IP address and host name;

[0064] 连接模块300,用于建立局域网中其它主机与所述核心主机之间的连接,发送版本信息协议包至局域网中各个主机,以询问局域网中各个主机是否需要软件升级,其中,所述版本信息协议包包括软件升级包的版本信息; [0064] The connection module 300, a local area network for establishing a connection between the host and the other core master, transmits the version information of each LAN protocol packet to the host, to inquire about each host in LAN software upgrade is needed, wherein said version information protocol packet includes information about the software version upgrade package;

[0065] 识别模块400,用于根据局域网中各个主机解析版本信息协议包反馈的结果,识别局域网中需要软件升级的主机; [0065] The identification module 400, based on the results for each host LAN protocol packet parsed version information feedback recognition LAN host needs a software upgrade;

[0066] 升级模块500,用于发送所述软件升级包至局域网中需要软件升级的主机,升级局域网中需要软件升级的主机。 [0066] The upgrade module 500, configured to send the software upgrade package to the local area network the host software upgrade is needed, the local area network upgrade software upgrade is needed the host.

[0067] 本发明局域网主机软件升级系统,在局域网众多主机中任意选取其中某台主机为核心主机,加载软件升级包到该核心主机,之后将该核心主机的主机信息推送到局域网中,以便局域网中其它主机知晓,建立核心主机与其它主机之间的连接,核心主机发送版本信息协议包至其它主机,其它主机根据版本信息协议判断自身是否需要参与本次软件升级,反馈信息至核心主机,核心主机根据反馈的信息识别其它主机中需要软件升级的主机,发送软件升级包至需要升级的主机,需要升级的其它主机在接收到软件升级包后,解析该软件升级包,进行软件升级。 [0067] The present invention LAN host system software upgrade, the host in the LAN to any selected number of a host wherein the host core, loading the software upgrade package to the core of the host, then the host information of the host core push LAN to LAN in its other hosts to establish a connection, the core-host transmission protocol version information between the core packet to the host with other hosts other hosts, other hosts judging whether a software upgrade needs to participate in the feedback information according to the core-host protocol version information, the core host according to the feedback information for identifying the other host host software upgrade is needed, transmits to the need to upgrade the software upgrade package host, other hosts need to be upgraded after receiving the software upgrade package, parses the software upgrade, a software upgrade. 整个过程中,不需要借助其它设备,只需选定局域网中已有主机设备,提高了效率,降低了成本,另外,采用询问机制,询问局域网中需要升级的主机,只有当主机需要升级才发送软件升级包至该主机,从而避免局域网网络资源的浪费,进一步提高了软件升级的效率。 Throughout the process, without the help of other devices, simply select an existing host LAN equipment to improve efficiency, reduce costs, in addition, the use of mechanisms of inquiry, asking the LAN need to upgrade the host, the host is sent only if you need to upgrade only software upgrade package to the host, so as to avoid wasting resources of local area network, to further improve the efficiency of the software upgrade.

[0068] 如图4所示,在其中一个实施例中,所述局域网主机软件升级系统还包括: [0068] As shown in FIG. 4, in one embodiment, the host software upgrade LAN system further comprises:

[0069] 验证模块600,用于接收需要软件升级的主机在解析所述软件升级包后反馈的信息,判断主机是否升级成功,若未成功,则间隔预设时间,重新发送软件升级包至未成功升级的主机,若成功,则终止软件升级操作。 [0069] The verification module 600 for receiving information from the host software upgrade is needed after parsing the software upgrade package feedback, the host determines whether the upgrade is successful, if not successful, the preset time interval, to resend the software upgrade package is not successful upgrade of hosts, if successful, the software upgrade operation is terminated.

[0070] 如图4所示,在其中一个实施例中,所述局域网主机软件升级系统还包括: [0070] As shown in FIG. 4, in one embodiment, the host software upgrade LAN system further comprises:

[0071] 记录模块700,用于记录当前不需要软件升级的主机。 [0071] The recording module 700 for recording the currently required host software upgrade.

[0072] 在其中一个实施例中,所述将所述核心主机的主机信息推送到局域网中具体为: [0072] In one embodiment, the host information to be pushed to the central host LAN is specifically:

[0073] 通过用户数据包协议方式将所述核心主机的主机信息推送到局域网中。 [0073] User Datagram Protocol by way of the host information of the host core push LAN.

[0074] 在其中一个实施例中,所述建立局域网中其它主机与所述核心主机之间的连接具体为: [0074] In one embodiment, the LAN connection is established between the particular host and the other core host:

[0075] 建立局域网中其它主机与所述核心主机之间的TCP连接。 [0075] TCP connection is established between a host and the other core host LAN.

[0076] 以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。 [0076] The above embodiments are only expressed several embodiments of the present invention, and detailed description thereof is more specific, but can not therefore be understood as limiting the scope of the present invention. 应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。 It should be noted that those of ordinary skill in the art, without departing from the spirit of the present invention, can make various changes and modifications, which fall within the protection scope of the present invention. 因此,本发明专利的保护范围应以所附权利要求为准。 Therefore, the protection scope of the present invention should be subject to the appended claims.

Claims (10)

  1. 1.一种局域网主机软件升级方法,其特征在于,包括步骤: 遍历局域网中所有主机,任意选定某一主机为核心主机,加载软件升级包于所述核心主机; 将所述核心主机的主机信息推送到局域网中,其中,所述主机信息包括主机IP地址和主机名称; 建立局域网中其它主机与所述核心主机之间的连接,发送版本信息协议包至局域网中各个主机,以询问局域网中各个主机是否需要软件升级,其中,所述版本信息协议包包括软件升级包的版本信息; 根据局域网中各个主机解析版本信息协议包反馈的结果,识别局域网中需要软件升级的主机; 发送所述软件升级包至局域网中需要软件升级的主机,升级局域网中需要软件升级的主机。 A LAN host software upgrade method, characterized by comprising the steps of: traversing all the hosts in the local area network, a host core arbitrarily selected host, loading the software upgrade package to the host core; host of the host core pushing information to the LAN, wherein the host information includes a host IP address and host name; establishing a connection, the protocol version information transmission between the host and the other LAN packet to the host computer core each host in the LAN, to inquire the LAN whether each host software upgrade, wherein the version information includes version information of the protocol packet of the software upgrade package; the analytical results of each host version LAN protocol packet feedback information, the host software upgrades need to identify the LAN; transmission of the software upgrade package to your local network requires a software upgrade of the host, the host needs to upgrade the local area network software upgrades.
  2. 2.根据权利要求1所述的局域网主机软件升级方法,其特征在于,所述发送所述软件升级包至局域网中需要软件升级的主机,升级局域网中需要软件升级的主机之后还有步骤: 接收需要软件升级的主机在解析所述软件升级包后反馈的信息,判断主机是否升级成功,若未成功,则间隔预设时间,重新发送软件升级包至未成功升级的主机,若成功,则终止软件升级操作。 The hosts in the LAN software update method according to claim 1, wherein said transmission LAN software upgrade is needed to host the software upgrade package, after the host LAN upgrade software upgrade is needed as well as the steps of: receiving host software upgrade is needed after the feedback information analyzing said software upgrade package, the host determines whether the upgrade was successful, if not successful, the preset time interval, to resend the software upgrade package is not successfully upgraded host, if successful, is terminated software upgrade.
  3. 3.根据权利要求1或2所述的局域网主机软件升级方法,其特征在于,所述根据局域网中各个主机解析版本信息协议包反馈的结果,识别局域网中需要软件升级的主机之后还有步骤: 记录当前不需要软件升级的主机。 The LAN or host software upgrade method according to claim 1, characterized in that, according to the result of the parsed version of each host LAN protocol packet feedback information, the host software upgrade after the step of identifying the LAN also requires: records do not need to upgrade the host software.
  4. 4.根据权利要求1或2所述的局域网主机软件升级方法,其特征在于,所述将所述核心主机的主机信息推送到局域网中具体为: 通过用户数据包协议方式将所述核心主机的主机信息推送到局域网中。 The LAN or host software upgrade method according to claim 1, wherein the host information of the host core push LAN specifically: User Datagram Protocol manner by the host core host information pushed to the LAN.
  5. 5.根据权利要求1或2所述的局域网主机软件升级方法,其特征在于,所述建立局域网中其它主机与所述核心主机之间的连接具体为: 建立局域网中其它主机与所述核心主机之间的TCP连接。 The LAN or host software upgrade method according to claim 1, characterized in that the connection between the host and the other LAN core host specifically: establishing a local area network host and the other main core TCP connection between.
  6. 6.一种局域网主机软件升级系统,其特征在于,包括: 核心主机选定模块,用于遍历局域网中所有主机,任意选定某一主机为核心主机,加载软件升级包于所述核心主机; 核心主机信息推送模块,用于将所述核心主机的主机信息推送到局域网中,所述主机信息包括主机IP地址和主机名称; 连接模块,用于建立局域网中其它主机与所述核心主机之间的连接,发送版本信息协议包至局域网中各个主机,以询问局域网中各个主机是否需要软件升级,其中,所述版本信息协议包包括软件升级包的版本信息; 识别模块,用于根据局域网中各个主机解析版本信息协议包反馈的结果,识别局域网中需要软件升级的主机; 升级模块,用于发送所述软件升级包至局域网中需要软件升级的主机,升级局域网中需要软件升级的主机。 A LAN host system software upgrade, characterized by comprising: a core selected host module, configured to traverse all the hosts in the local area network, a host core arbitrarily selected host, loading the software upgrade package to the host core; the core host information push module, configured to host information of the host core is pushed to the LAN, the host information includes a host IP address and host name; a connector module, a local area network between the host and other hosts for establishing core connections, packet transmission protocol version information to each host in the LAN, each host to inquire about whether the LAN software update, wherein the version information includes version information of the protocol packet of the software upgrade package; identification module, according to various LAN results host resolution version information feedback protocol packet, the host software upgrades need to identify the LAN; upgrade module, configured to send the software upgrade package to the local area network the host software upgrade is needed, the local area network upgrade software upgrade is needed the host.
  7. 7.根据权利要求6所述的局域网主机软件升级系统,其特征在于,还包括: 验证模块,用于接收需要软件升级的主机在解析所述软件升级包后反馈的信息,判断主机是否升级成功,若未成功,则间隔预设时间,重新发送软件升级包至未成功升级的主机,若成功,则终止软件升级操作。 The host software upgrade LAN system according to claim 6, characterized in that, further comprising: a verifying module, configured to receive a software upgrade requires information after parsing the host software upgrade package feedback, the host determines whether the upgrade is successful , if not successful, the preset time interval, re-sending software upgrade package to upgrade the host is not successful, if successful, it terminates the software upgrade.
  8. 8.根据权利要求6或7所述的局域网主机软件升级系统,其特征在于,还包括: 记录模块,用于记录当前不需要软件升级的主机。 The LAN host system software upgrade 6 or claim 7, characterized in that, further comprising: recording means for recording the current host does not require a software upgrade.
  9. 9.根据权利要求6或7所述的局域网主机软件升级系统,其特征在于,所述将所述核心主机的主机信息推送到局域网中具体为: 通过用户数据包协议方式将所述核心主机的主机信息推送到局域网中。 9. The LAN host system software upgrade 6 or claim 7, wherein the host information of the host core push LAN specifically: User Datagram Protocol manner by the host core host information pushed to the LAN.
  10. 10.根据权利要求6或7所述的局域网主机软件升级系统,其特征在于,所述建立局域网中其它主机与所述核心主机之间的连接具体为: 建立局域网中其它主机与所述核心主机之间的TCP连接。 10. The host software upgrade LAN system of claim 6 or claim 7, characterized in that the connection between the host and the other LAN core host specifically: establishing a local area network host and the other main core TCP connection between.
CN 201410235697 2014-05-29 2014-05-29 Method and system for local area network host software updating CN104038538A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201410235697 CN104038538A (en) 2014-05-29 2014-05-29 Method and system for local area network host software updating

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201410235697 CN104038538A (en) 2014-05-29 2014-05-29 Method and system for local area network host software updating

Publications (1)

Publication Number Publication Date
CN104038538A true true CN104038538A (en) 2014-09-10

Family

ID=51469126

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201410235697 CN104038538A (en) 2014-05-29 2014-05-29 Method and system for local area network host software updating

Country Status (1)

Country Link
CN (1) CN104038538A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1584865A (en) * 2003-08-21 2005-02-23 珠海金山软件股份有限公司 Comptuer software updating method
CN101727338A (en) * 2008-08-15 2010-06-09 北京北大众志微系统科技有限责任公司;常州北大众志网络计算机有限公司 Parallel upgrade method and application system for network computer
CN102053844A (en) * 2009-10-28 2011-05-11 无锡华润上华半导体有限公司 Software upgrading method and software upgrading system using same
CN102546784A (en) * 2011-12-29 2012-07-04 深圳市迈进科技有限公司 Method based on controller area network (CAN) bus and used for conducting batch upgrading for device firmware
CN103716390A (en) * 2013-12-25 2014-04-09 广西大学 Method and terminal for data sharing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1584865A (en) * 2003-08-21 2005-02-23 珠海金山软件股份有限公司 Comptuer software updating method
CN101727338A (en) * 2008-08-15 2010-06-09 北京北大众志微系统科技有限责任公司;常州北大众志网络计算机有限公司 Parallel upgrade method and application system for network computer
CN102053844A (en) * 2009-10-28 2011-05-11 无锡华润上华半导体有限公司 Software upgrading method and software upgrading system using same
CN102546784A (en) * 2011-12-29 2012-07-04 深圳市迈进科技有限公司 Method based on controller area network (CAN) bus and used for conducting batch upgrading for device firmware
CN103716390A (en) * 2013-12-25 2014-04-09 广西大学 Method and terminal for data sharing

Similar Documents

Publication Publication Date Title
US6687817B1 (en) Configuration of a network device via the network
US20100281118A1 (en) Maintaining Connections Between Mobile Devices and Servers
CN101119517A (en) Method of automatic downloading software from network server
US20080229089A1 (en) Remote network device provisioning
CN102025535A (en) Virtual machine management method and device and network equipment
CN101216771A (en) Method, system and device for accomplishing mobile phones software upgrading through personal computer
US7502855B2 (en) Wireless classroom system allowing user to access a particular classroom by selecting corresponding network from a list of wireless networks
CN101217411A (en) A method, device and system realizing the upgrading of stacking device software
CN1584865A (en) Comptuer software updating method
CN103037312A (en) Message push method and message push device
US20130198266A1 (en) Facilitating communication between web-enabled devices
CN101145130A (en) Simple network management protocol software test device and test method
US20110066736A1 (en) Method and system for establishing connections between nodes in a communication network
CN103298147A (en) Method, device and system for realizing wireless management of mobile terminals on computing device side
CN104243576A (en) Intelligent home system and user terminal and device terminal binding method of intelligent home system
CN102629909A (en) Traffic counting method and system based on processes
US20110225230A1 (en) Method and apparatus for detecting active and orphan session-based connections
CN101951400A (en) Software installation and upgrading method of application terminal in home network and system thereof
CN103067943A (en) Method for confirming existence of WiFi (wireless fidelity) mobile terminal and counting number thereof
CN101453711A (en) Automatic test system and test method for mobile phone short message
CN101951369A (en) Batch terminal upgrading method and system based on automatic discovery
CN1753404A (en) Method of using communication apparatus to select communication protocol
CN102790812A (en) IP (internet protocol) address source tracing method, equipment and system based on mobile terminal
CN101727449A (en) System and method for processing local file by utilizing remote application
US20120102192A1 (en) Network system

Legal Events

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