CN102033517A - Software upgrading method and equipment for environmental monitoring unit - Google Patents

Software upgrading method and equipment for environmental monitoring unit Download PDF

Info

Publication number
CN102033517A
CN102033517A CN200910093970XA CN200910093970A CN102033517A CN 102033517 A CN102033517 A CN 102033517A CN 200910093970X A CN200910093970X A CN 200910093970XA CN 200910093970 A CN200910093970 A CN 200910093970A CN 102033517 A CN102033517 A CN 102033517A
Authority
CN
China
Prior art keywords
environment
host computer
monitor unit
software
environment monitor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN200910093970XA
Other languages
Chinese (zh)
Inventor
王傲雷
王利
危炜
赵天慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment Co Ltd
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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN200910093970XA priority Critical patent/CN102033517A/en
Publication of CN102033517A publication Critical patent/CN102033517A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention discloses a software upgrading method and software upgrading equipment for an environmental monitoring unit. The software upgrading method comprises the following steps that: an upper computer receives an instruction for downloading an environmental monitoring unit software package from a management channel between a management station and the upper computer; after receiving the instruction, the upper computer receives the environmental monitoring unit software package through a data channel between the management station and the upper computer; and the upper computer performs software upgrading installation on the environmental monitoring unit by using the environmental monitoring unit software package. In the software upgrading method, the environmental monitoring unit can be subjected to long-distance concentrated monitoring by the management station, the software version can be subjected to unified planning and unified management, the upgrading operation can be executed remotely in batches, the upgrading process can be monitored all the way, the upgrading efficiency is increased, and the upgrading cost is reduced.

Description

A kind of method for upgrading software of Environment Monitor Unit and equipment
Technical field
The present invention relates to communication equipment field, particularly a kind of method for upgrading software of Environment Monitor Unit and equipment.
Background technology
Power-equipment and environment centralized supervision system be used for to the various parameters of plurality of devices such as the power supply of the communication bureau's (station) that distributes, air-conditioning, oily machine, accumulator, high and low voltage electric distribution and environment, image, sound etc. take remote measurement, remote signalling and remote control, real-time monitoring its operational factor, diagnosis and handling failure, record and analysis related data, thereby realize few people of communication bureau's (station) or unattended purpose, and equipment is carried out Centralized Monitoring, centralized maintenance and centralized management.With wireless communication field, the covering of radiofrequency signal is normally by base station and RRU (Radio Remote Unit on a large scale, Remote Radio Unit) finishes, except some base station and RRU that satisfies the requirements and set up machine room to deposit, also have a large amount of outdoor version base station and RRU, these base stations and RRU generally are placed on and can't set up the outdoor of machine room, and normally some environment are more abominable, or the relatively more rare places such as mountain area of the signs of human habitation.Under this scene, the built-in environment control unit of base station and RRU comes watch-dog environment of living in, and the OM channel by the base station reports to management station, management station can also send instruction to ring control equipment by the base station, realization is to the monitoring and the remote control of equipment such as air-conditioning, power supply, accumulator, thereby the equipment that guarantees may operate in than in the adapt circumstance.
Along with improving constantly that the network optimization is required, also more and more higher to specification, the requirement of monitoring unit equipment.On the one hand, Environment Monitor Unit will be realized docking with host computer (being often referred to base station or RRU), realizes communication normally; On the other hand, need to collect the state of various sensors, and the instruction of response host computer is controlled to peripherals.This function that certainly will cause monitoring software from strength to strength, complexity is more and more higher, has inevitably increased the software probability of errors.Because Environment Monitor Unit is one of necessaries of outdoor version equipment, directly have influence on the normal operation of equipment, so Environment Monitor Unit software need be supported to expand, scalable just becoming must.
Fig. 1 is the environmental monitoring near-end mutual synoptic diagram of upgrading, and for one of main mode of the upgrading of present Environment Monitor Unit, the staff upgrades by serial ports or the direct-connected equipment of USB mouth at near-end by PC, as shown in the figure, mainly comprises the steps:
It enters upgrade mode by the direct-connected environmental monitoring device command of near-end for step 101, PC;
Step 102, watch-dog enter upgrade mode;
Step 103, watch-dog begin the transfer files to PC;
Redaction on step 104, the PC activation monitor equipment.
Fig. 2 passes through GPRS (General Packet Radio Service for the environmental monitoring far-end, GPRS) upgrading connected mode synoptic diagram, the mode that also has some remote upgrades, as shown in Figure 2, Environment Monitor Unit is connected with Surveillance center by wired MODEM, set up data channel, perhaps by wireless modem (MOdulator-DEModulator, modulator-demodular unit) dialing is landed GPRS network foundation and is set up TCP/IP (Transmission Control Protocol/InternetProtocol, transmission control protocol/Internet Protocol) connection with Surveillance center.The direct downloaded software of passage to environmental monitoring equipment is realized the mode of remote batch upgrading thus.This mode need additionally be purchased MODEM equipment, also needs to connect separately in wired connection.Moreover Dui Ying environment dummy cell need increase extra software module and hardware module support aforesaid operations, and this has more increased the complicacy of Environment Monitor Unit hardware and software, and this certainly will increase the cost of operator and the error probability of Environment Monitor Unit.
In summary, mainly there is following shortcoming in existing watch-dog upgrading mode:
1), software updating efficiency is low, can't realize batch upgrade.Can carry out updating operation by the machine room attending personnel for indoor type equipment.For outdoor equipment and unattended equipment room, need to go upgrading before the configuration personnel, but outdoor version equipment operated by rotary motion is in the mountain area or the abominable place of environment, also may be arranged on the place that some manpowers are difficult to arrival, as places such as mountain tops, no matter for these equipment is that configuration minority personnel upgrade one by one to it, still disposes a large amount of personnel it is upgraded simultaneously.Cost is all higher in general.Owing to be the distributing upgrading, therefore also can't realize the upgrading of examination in batches.
2), higher to the on-the-spot environmental requirement of upgrading.Generally all possess for indoor type device upgrade environment, for outdoor version equipment, lack relevant resource, power supply for example, cable and so on.Will not cause and to upgrade if these resources do not possess.
3), the software version of Environment Monitor Unit is uncontrollable.Because be the distributing upgrading, the software version of each website may be not quite similar, and can't realize unified management.Monitoring software takes the outfield to by the upgrading personnel, and the process of upgrading also can't be monitored and be controlled.
4), higher to upgrading personnel's competency profiling, the upgrading personnel not only will understand watch-dog, and need to understand its host computer.Watch-dog can normally be connected and communicate by letter with host computer after guaranteeing upgrading.Need these type of a large amount of personnel when watch-dog is upgraded, more a step has increased operation cost for this.
5), increase acquisition cost and maintenance cost.Purchase extra equipment such as MODEM equipment as needs, under wired situation, also need to increase extra communication link, will certainly increase the purchase cost of operator like this.And increased safeguard the cost of the equipment of purchasing or link.
Summary of the invention
Technical matters solved by the invention has been to provide a kind of method for upgrading software and equipment of Environment Monitor Unit.
A kind of method for upgrading software of Environment Monitor Unit is provided in the embodiment of the invention, has comprised the steps:
Host computer receives the indication of download environment monitoring unit software package from the management channels between management station and the host computer;
After receiving described indication, host computer is by the data channel reception environment monitoring unit software package between management station and the host computer;
Host computer environment for use monitoring unit software package carries out software upgrading to Environment Monitor Unit and installs.
Preferably, when host computer environment for use monitoring unit software package carries out the software upgrading installation to Environment Monitor Unit, further comprise:
Host computer obtains the version number of installation environment monitoring unit software on the Environment Monitor Unit to Environment Monitor Unit;
Carrying out software upgrading when the version number that returns according to Environment Monitor Unit determines the software upgrading of Environment Monitor Unit needs installs.
Preferably, when host computer environment for use monitoring unit software package carries out the software upgrading installation to Environment Monitor Unit, further comprise:
Host computer sends check code to Environment Monitor Unit;
After Environment Monitor Unit is by the check code checking, begins that Environment Monitor Unit is carried out software upgrading and install.
Preferably, host computer environment for use monitoring unit software package carries out the software upgrading installation to Environment Monitor Unit after, further comprise:
Host computer inquiry Environment Monitor Unit is whether true(-)running after carrying out software upgrading and installing.
Preferably, when host computer environment for use monitoring unit software package carries out the software upgrading installation to Environment Monitor Unit, host computer is selected host-host protocol according to connecting interface by with connecting path transmission the carrying out software upgrading of Environment Monitor Unit required file being installed when transmission.
A kind of host computer of Environment Monitor Unit also is provided in the embodiment of the invention, has comprised:
The indication receiver module is used for receiving from the management channels between management station and the host computer indication of download environment monitoring unit software package;
The software receiver module is used for after receiving described indication, by the data channel reception environment monitoring unit software package between management station and the host computer;
Installed module is used for environment for use monitoring unit software package Environment Monitor Unit is carried out the software upgrading installation.
Preferably, further comprise:
The version acquisition module is used for obtaining the version number of installation environment monitoring unit software on the Environment Monitor Unit to Environment Monitor Unit when environment for use monitoring unit software package carries out the software upgrading installation to Environment Monitor Unit;
Described installed module carries out software upgrading and installs when being further used for determining the software upgrading of Environment Monitor Unit needs in the version number that returns according to Environment Monitor Unit.
Preferably, further comprise:
The verification module is used for sending check code to Environment Monitor Unit when environment for use monitoring unit software package carries out the software upgrading installation to Environment Monitor Unit;
Described installed module is further used for after Environment Monitor Unit is by the check code checking, begins that Environment Monitor Unit is carried out software upgrading and installs.
Preferably, further comprise:
Enquiry module is used for environment for use monitoring unit software package carries out software upgrading and installs to Environment Monitor Unit after, and the inquiry Environment Monitor Unit is whether true(-)running after carrying out software upgrading and installing.
Preferably, described installed module is further used for when host computer environment for use monitoring unit software package carries out the software upgrading installation to Environment Monitor Unit, host computer is selected host-host protocol according to connecting interface by with connecting path transmission the carrying out software upgrading of Environment Monitor Unit required file being installed when transmission.
A kind of management station also is provided in the embodiment of the invention, has comprised:
The indication sending module is used for sending from the management channels between management station and the host computer indication of download environment monitoring unit software package;
The software sending module is used for sending the Environment Monitor Unit software package by the data channel between management station and the host computer.
A kind of software update system of Environment Monitor Unit also is provided in the embodiment of the invention, has comprised:
Management station is used for sending from the management channels between management station and the host computer indication of download environment monitoring unit software package, and sends the Environment Monitor Unit software package by the data channel between management station and the host computer;
Host computer, be used for receiving the indication of download environment monitoring unit software package from the management channels between management station and the host computer, after receiving described indication, by the data channel reception environment monitoring unit software package between management station and the host computer, and environment for use monitoring unit software package carries out the software upgrading installation to Environment Monitor Unit.
Beneficial effect of the present invention is as follows:
In the invention process process, management station utilizes the existing passage of Environment Monitor Unit host computer to carry out the transmission of software version and to the monitoring and the control of escalation process; The utilization of environment control unit host computer based on the control signaling of ring control agreement to the Environment Monitor Unit control of upgrading; The environment control unit host computer carries out auto-update according to updating result to Environment Monitor Unit.Because in technical scheme provided by the invention, utilize management station to carry out remote centralized control, software version can carry out unified planning, unified management, as long as management station establishes host computer with environmental monitoring and is connected normally, just can carry out updating operation long-range, in batches, management station can complete monitoring the upgrading flow process, increased upgrading efficient, reduce upgrade cost.
Description of drawings
Fig. 1 is the mutual synoptic diagram of upgrading of environmental monitoring near-end in the background technology;
Fig. 2 be in the background technology environmental monitoring far-end by GPRS upgrading connected mode synoptic diagram;
Fig. 3 is the method for upgrading software implementing procedure synoptic diagram of Environment Monitor Unit in the embodiment of the invention;
Fig. 4 A, B are Environment Monitor Unit remote upgrade implementing procedure synoptic diagram in the embodiment of the invention;
Fig. 5 is the software update system structural representation of Environment Monitor Unit in the embodiment of the invention;
Fig. 6 is the host computer structural representation of Environment Monitor Unit in the embodiment of the invention;
Fig. 7 is management station's structural representation in the embodiment of the invention.
Embodiment
The technical scheme that the front end smart machine is carried out software upgrading that the technical scheme that provides in the embodiment of the invention is based on that ring control agreement proposes can realize environment control unit is carried out remote software upgrade.Below in conjunction with accompanying drawing the specific embodiment of the present invention is described.
Fig. 3 is the method for upgrading software implementing procedure synoptic diagram of Environment Monitor Unit, as shown in the figure, can comprise the steps: when Environment Monitor Unit is carried out software upgrading
Step 301, host computer receive the indication of download environment monitoring unit software package from the management channels between management station and the host computer;
Step 302, after receiving described indication, host computer is by the data channel reception environment monitoring unit software package between management station and the host computer;
Step 303, host computer environment for use monitoring unit software package carry out software upgrading to Environment Monitor Unit and install.
In the enforcement, host computer environment for use monitoring unit software package carries out the software upgrading installation to Environment Monitor Unit after, can further include:
Host computer inquiry Environment Monitor Unit is whether true(-)running after carrying out software upgrading and installing.
The technical scheme that provides in the embodiment of the invention is utilized the OM channel between existing management station and the host computer; the software version of environment control unit is downloaded to the environment control unit host computer; in ring control agreement, increase the control signaling between host computer and the environment control unit then; by management station's operating environment control module host computer Environment Monitor Unit is carried out software upgrading; thereby realization remote side administration station is monitored and is controlled whole upgrade process; if upgrading failure; host computer can carry out the version rollback automatically or according to the instruction of management station, to guarantee the Environment Monitor Unit reliability of operation.By Centralized Monitoring, the maintenance and management of management station, thereby realization is to the far-end batch upgrade of Environment Monitor Unit.
In the enforcement, when host computer environment for use monitoring unit software package carries out the software upgrading installation to Environment Monitor Unit, can further include:
Host computer obtains the version number of installation environment monitoring unit software on the Environment Monitor Unit to Environment Monitor Unit;
Carrying out software upgrading when the version number that returns according to Environment Monitor Unit determines the software upgrading of Environment Monitor Unit needs installs.
In the enforcement, when host computer environment for use monitoring unit software package carries out the software upgrading installation to Environment Monitor Unit, can further include:
Host computer sends check code to Environment Monitor Unit;
After Environment Monitor Unit is by the check code checking, begins that Environment Monitor Unit is carried out software upgrading and install.
In the enforcement, when host computer environment for use monitoring unit software package carries out the software upgrading installation to Environment Monitor Unit, host computer can also be selected host-host protocol according to connecting interface by with connecting path transmission the carrying out software upgrading of Environment Monitor Unit required file being installed when transmission.
Describe with example below.
Fig. 4 is an Environment Monitor Unit remote upgrade implementing procedure synoptic diagram, wherein, Fig. 4 A be step 401 to step 410, Fig. 4 B is that step 411 is to step 423, as shown in the figure, the concrete interaction flow between management station, Environment Monitor Unit host computer and the Environment Monitor Unit can be as follows:
Step 401, the needed software of download environment monitoring unit;
Specifically can be, management station by and the host computer of Environment Monitor Unit between management channels issue " instruction of download environment monitoring unit software package " to host computer, management station again by with the data channel transmission environment monitoring unit software package of host computer to host computer;
Transfer files between step 402, management station and the host computer;
Step 403, return the download result;
Step 404, begin to carry out the Environment Monitor Unit device upgrade;
Specifically can be that management station issues " upgrading Environment Monitor Unit software package instruction " by the management channels with host computer to host computer, host computer begins to carry out the Environment Monitor Unit device upgrade after receiving indication after transmission is finished;
Step 405, host computer send " obtaining equipment vendors' information command " to Environment Monitor Unit;
Step 406, Environment Monitor Unit return manufacturer and version information;
Step 407, host computer are selected software version according to manufacturer's information;
Specifically can be, producer that host computer returns according to Environment Monitor Unit and version information and compare from producer's version information of management station's downloaded software bag, if identical then do not carry out updating operation, if difference then begin to carry out updating operation;
Step 408, host computer send instruction and " remote environment supervisory system upgrading preparation instruction are set " to Environment Monitor Unit;
Step 409, Environment Monitor Unit enter upgrade mode;
Specifically can be, if can entering upgrade mode, Environment Monitor Unit returns success response instruction, if enter upgrade mode failure then return failure response, host computer can notify management station's upgrading failure to wait for next step processing during failure, also retry upgrading is once more voluntarily decided according to demand;
Step 410, Environment Monitor Unit return " system upgrade preparation instruction " response to host computer;
Step 411, host computer send " system begins upgrade " to Environment Monitor Unit;
Specifically can be that host computer sends self-defined " the remote environment supervisory system begins upgrade " to Environment Monitor Unit, can carry software version number and check code in the instruction;
Step 412, Environment Monitor Unit verification version information enter the file transfer pattern;
Specifically can be, Environment Monitor Unit receives whether instruction back checking version number and check code be correct, then enters the file transfer pattern if the verification passes and return response instruction, and if the transmission of beginning pending file incorrect then return other values, finishes the flow process of upgrading;
Step 413, Environment Monitor Unit return " system begins upgrade " response to host computer;
Host computer begins transfer files by the connecting path with environmental monitoring, can select different host-host protocols according to the difference of connecting interface, such as the XMODEM agreement;
Step 414, the file transfer of carrying out;
Specifically can be to adopt the XMODEM agreement to carry out file transfer;
After step 415, file transfer finished, host computer sent " instruction of system software end of transmission (EOT) " to Environment Monitor Unit;
Step 416, Environment Monitor Unit receive that affirmation file transfer in instruction back finishes, and withdraws from the file transfer pattern;
Step 417, Environment Monitor Unit return " instruction of system software end of transmission (EOT) " response to host computer;
Step 418, host computer send self-defined " system activates the redaction instruction " to Environment Monitor Unit;
Step 419, Environment Monitor Unit return " system activates the redaction instruction " response to host computer;
Step 420, Environment Monitor Unit withdraw from the upgrade mode redaction that brings into operation;
Step 421, host computer constantly attempt sending " system software status poll instruction " inquire about the new software of Environment Monitor Unit whether can true(-)running;
Step 422, Environment Monitor Unit return " system software status poll instruction " response to host computer;
Specifically can be, Environment Monitor Unit returns correct response and represents that software version correctly can move, and returns failure response and represents that version error can't move, and wait management station or host computer are further handled;
After step 423, software upgrading finished, host computer was according to updating result is notified to management station.
In above-mentioned implementation process, can also be in the following ways:
1, host computer can be arranged to the auto-update mode, at upgrading retry several times automatically after the failure once.
2, the RTN of the response of any instruction (return code of response message) is not 00 and can restarts the flow process of upgrading in the escalation process.
3, upgrading failure several times then stop the flow process of upgrading automatically continuously, restart upgrading no longer automatically.
Embodiment to instruction related in the above-mentioned enforcement describes below.Also can adopt the instruction of other modes in force, perhaps order format, following instruction only is used to instruct those skilled in the art specifically how to implement the present invention, but does not mean and only can use to give an order or order format, can need come to determine corresponding instruction in conjunction with practice in the implementation process.
At present, the message format that defines in ring control agreement is as shown in table 1.
Table 1 basic format is explained
Figure B200910093970XD0000101
Figure B200910093970XD0000111
Wherein, CID1=80H is the value of the Environment Monitor Unit of ring control protocol definition.LENGTH is totally 2 bytes, is made up of LENID and LCHKSUM, and LENID represents the ASCII character byte number of INFO item, and when LENID=0, INFO is empty, does not promptly have this.Pass high byte in the LENGTH transmission earlier, pass low byte again, divide four ASCII character to transmit.
Being calculated as follows of check code: D11D10D9D8+D7D6D5D4+D3D2D1D0, the mould 16 remainder negates of summation back add 1.
Example:
The ASCII character byte number of INFO item is 18, i.e. LENID=0000 0001 0010B.
D11D10D9D8+D7D6D5D4+D3D2D1D0=0000B+0001B+0010B=0011B, mould 16 remainders are 0011B, and it is exactly 1101B that the 0011B negate adds 1, and promptly LCHKSUM is 1101B.
Can get: LENGTH is 1,101 0,000 0001 0010B, i.e. D012H.
" system upgrade preparation instruction " and " response of system upgrade preparation instruction " message definition can be respectively shown in table 2 and table 3:
Table 2 system upgrade preparation instruction
Sequence number ?1 2 ?3 ?4 6 7 8 9
Byte number ?1 1 ?1 ?1 2 LENID/2 2 1
Form ?SOI VER ?ADR ?80H ?B0H LENGTH CHKSUM EOI
Annotate: LENID=00H, wherein CID2=B0 is a recommended value.
The response of table 3 system upgrade preparation instruction
Sequence number ?1 2 ?3 ?4 5 6 7 8 ?9
Byte number ?1 1 ?1 ?1 1 2 LENID/2 2 ?1
Form ?SOI VER ?ADR ?80H RTN LENGTH CHKSUM ?EOI
Annotate: RTN=00H, the expression environmental monitoring system enters the upgrade status success.
" system begins upgrade " and " system begin upgrade response " message definition respectively can be shown in table 4 and table 6:
Table 4 system begins upgrade
Sequence number ?1 2 ?3 ?4 ?5 6 7 8 ?9
Byte number ?1 1 ?1 ?1 ?1 2 LENID/2 2 ?1
Form ?SOI VER ?ADR ?80H ?B1H LENGTH COMMAND?INFO CHKSUM ?EOI
Annotate: LENID=08H, wherein CID2=B1 is a recommended value, the composition of COMMAND INFO sees Table 5.
Table 5 system begins the COMMAND INFO field in the upgrade
Sequence number Content Byte
1 The manufacturer software version 2
2 The manufacturer software check code 2
Table 6 system begins the upgrade response
Sequence number 1 2 3 4 5 6 7 8 9
Byte number 1 1 1 1 1 2 LENID/2 2 1
Form SOI VER ADR 80H RTN LENGTH CHKSUM EOI
Annotate: RTN=00H, the expression environmental monitoring system is received the information of software version, begins to enter the file transfer state.
The definition of " instruction of system software end of transmission (EOT) " and " software transmission END instruction response " can be shown in table 7 and table 8.
The END instruction of table 7 software transmission
Sequence number 1 2 3 4 5 6 7 8 9
Byte number 1 1 1 1 1 2 LENID/2 2 1
Form SOI VER ADR 80H B2H LENGTH CHKSUM EOI
Annotate: LENID=00H, wherein CID2=B2 is a recommended value.
Table 8 software transmission END instruction response
Sequence number 1 2 3 4 5 6 7 8 9
Byte number 1 1 1 1 1 2 LENID/2 2 1
Form SOI VER ADR 80H RTN LENGTH CHKSUM EOI
Annotate: RTN=00H, the success of expression environmental monitoring system receiving software.
" instruction of activating software redaction " and " activating software redaction commanded response " definition can be respectively shown in table 9 and table 10:
The instruction of table 9 activating software redaction
Sequence number 1 2 3 4 5 6 7 8 9
Byte number 1 1 1 1 1 2 LENID/2 2 1
Form SOI VER ADR 80H B3H LENGTH CHKSUM EOI
Annotate: LENID=00H, wherein CID2=B3 is a recommended value.
Table 10 activating software redaction commanded response
Sequence number 1 2 3 4 5 6 7 8 9
Byte number 1 1 1 1 1 2 LENID/2 2 1
Form SOI VER ADR 80H RTN LENGTH CHKSUM EOI
Annotate: RTN=00H, expression begins to carry out the activation of redaction.
" system software status poll instruction " and " system software status poll commanded response " definition can be respectively shown in table 11 and table 12:
Table 11 system software status poll instruction
Sequence number 1 2 3 4 5 6 7 8 9
Byte number 1 1 1 1 1 2 LENID/2 2 1
Form SOI VER ADR 80H B4H LENGTH CHKSUM EOI
Annotate: LENID=00H, wherein CID2=B4 is a recommended value.
Table 12 system software status poll commanded response
Sequence number 1 2 3 4 5 6 7 8 9
Byte number 1 1 1 1 1 2 LENID/2 2 1
Form SOI VER ADR 80H RTN LENGTH CHKSUM EOI
Annotate: RTN=00H, the operation of expression environment monitor system software is normal.
Based on same inventive concept, a kind of host computer, and management station of software update system, Environment Monitor Unit of Environment Monitor Unit also are provided in the embodiment of the invention, because the principle that these equipment are dealt with problems is similar to the method for upgrading software of Environment Monitor Unit, therefore the enforcement of these equipment can repeat part and not give unnecessary details referring to the enforcement of method.
Fig. 5 is the software update system structural representation of Environment Monitor Unit, as shown in the figure, comprises in the system:
Management station 501 is used for sending from the management channels between management station and the host computer indication of download environment monitoring unit software package, and sends the Environment Monitor Unit software package by the data channel between management station and the host computer;
Host computer 502, be used for receiving the indication of download environment monitoring unit software package from the management channels between management station and the host computer, after receiving described indication, by the data channel reception environment monitoring unit software package between management station and the host computer, and environment for use monitoring unit software package carries out the software upgrading installation to Environment Monitor Unit.
In the enforcement, host computer 502 receives the indication of download environment monitoring unit software package from the management channels between management station 501 and the host computer, after receiving indication, by the data channel reception environment monitoring unit software package between management station and the host computer, and environment for use monitoring unit software package carries out the software upgrading installation to Environment Monitor Unit.Environment Monitor Unit is installed according to the requirement response of host computer and is got final product.
Fig. 6 is the host computer structural representation of Environment Monitor Unit, as shown in the figure, can comprise in the host computer:
Indication receiver module 601 is used for receiving from the management channels between management station and the host computer indication of download environment monitoring unit software package;
Software receiver module 602 is used for after receiving described indication, by the data channel reception environment monitoring unit software package between management station and the host computer;
Installed module 603 is used for environment for use monitoring unit software package Environment Monitor Unit is carried out the software upgrading installation.
In the enforcement, indication receiver module 601 receives the indication of download environment monitoring unit software package from the management channels between management station and the host computer; Software receiver module 602 is after receiving described indication, by the data channel reception environment monitoring unit software package between management station and the host computer; Installed module 603 then, and environment for use monitoring unit software package carries out software upgrading to Environment Monitor Unit and installs.
Can further include in the host computer:
Version acquisition module 604 is used for obtaining the version number of installation environment monitoring unit software on the Environment Monitor Unit to Environment Monitor Unit when environment for use monitoring unit software package carries out the software upgrading installation to Environment Monitor Unit;
Carrying out software upgrading when then, installed module can be further used for determining the software upgrading of Environment Monitor Unit needs in the version number that returns according to Environment Monitor Unit installs.
Can further include in the host computer:
Verification module 605 is used for sending check code to Environment Monitor Unit when environment for use monitoring unit software package carries out the software upgrading installation to Environment Monitor Unit;
Then, installed module can be further used for after Environment Monitor Unit is by the check code checking, begins that Environment Monitor Unit is carried out software upgrading and installs.
In the enforcement, can further include in the host computer:
Enquiry module 606 is used for environment for use monitoring unit software package carries out software upgrading and installs to Environment Monitor Unit after, and the inquiry Environment Monitor Unit is whether true(-)running after carrying out software upgrading and installing.
In the enforcement, installed module can also be further used for when host computer environment for use monitoring unit software package carries out the software upgrading installation to Environment Monitor Unit, host computer is selected host-host protocol according to connecting interface by with connecting path transmission the carrying out software upgrading of Environment Monitor Unit required file being installed when transmission.
Fig. 7 is management station's structural representation, as shown in the figure, can comprise in management station:
Indication sending module 701 is used for sending from the management channels between management station and the host computer indication of download environment monitoring unit software package;
Software sending module 702 is used for sending the Environment Monitor Unit software package by the data channel between management station and the host computer.
In the enforcement, indication sending module 701 sends the indication of download environment monitoring unit software package from the management channels between management station and the host computer; Software sending module 702 sends the Environment Monitor Unit software package by the data channel between management station and the host computer.
For the convenience of describing, the each several part of the above device is divided into various modules with function or the unit is described respectively.Certainly, when enforcement is of the present invention, can in same or a plurality of softwares or hardware, realize the function of each module or unit.
By above-mentioned embodiment as can be known, technical scheme provided by the invention is based on ring control agreement, the general technical scheme that Environment Monitor Unit is carried out software upgrading has been proposed, in the enforcement, management station utilizes the existing passage of Environment Monitor Unit host computer to carry out the transmission of software version and to the monitoring and the control of escalation process; The utilization of environment control unit host computer based on the control signaling of ring control agreement to the Environment Monitor Unit control of upgrading; The environment control unit host computer carries out auto-update according to updating result to Environment Monitor Unit.
Further, give embodiment with the relevant order format of upgrading among the embodiment.
Because in technical scheme provided by the invention, utilize management station to carry out remote centralized control, software version can carry out unified planning, unified management, as long as management station establishes host computer with environmental monitoring and is connected normally, just can carry out updating operation long-range, in batches, management station can complete monitoring the upgrading flow process, increased upgrading efficient, reduce upgrade cost;
Utilize the link management of existing management station and environmental monitoring host computer, do not need to increase extra hardware resources such as GPRS;
Further, on the host computer that environmental monitoring is established, can preserve many cover versions,, increase the reliability of Environment Monitor Unit if the situation of upgrading failure can be carried out the version rollback;
The scheme that proposes is followed " YD/T 1363.3-2005 communication bureau (station) power supply air-conditioning and environment centralized supervision management system the 3rd part: front end intelligent equipment protocol ", Environment Monitor Unit only needs minor modifications can support the remote upgrade function, cost is lower, and environment control unit is had certain universal significance.
Those skilled in the art should understand that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware embodiment, complete software implementation example or in conjunction with the form of the embodiment of software and hardware aspect.And the present invention can adopt the form that goes up the computer program of implementing in one or more computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) that wherein include computer usable program code.
The present invention is that reference is described according to the process flow diagram and/or the block scheme of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block scheme and/or square frame and process flow diagram and/or the block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out by the processor of computing machine or other programmable data processing device produce to be used for the device of the function that is implemented in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
These computer program instructions also can be loaded on computing machine or other programmable data processing device, make on computing machine or other programmable devices and to carry out the sequence of operations step producing computer implemented processing, thereby the instruction of carrying out on computing machine or other programmable devices is provided for being implemented in the step of the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
Although described the preferred embodiments of the present invention, in a single day those skilled in the art get the basic creative notion of cicada, then can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (12)

1. the method for upgrading software of an Environment Monitor Unit is characterized in that, comprises the steps:
Host computer receives the indication of download environment monitoring unit software package from the management channels between management station and the host computer;
After receiving described indication, host computer is by the data channel reception environment monitoring unit software package between management station and the host computer;
Host computer environment for use monitoring unit software package carries out software upgrading to Environment Monitor Unit and installs.
2. the method for claim 1 is characterized in that, when host computer environment for use monitoring unit software package carries out the software upgrading installation to Environment Monitor Unit, further comprises:
Host computer obtains the version number of installation environment monitoring unit software on the Environment Monitor Unit to Environment Monitor Unit;
Carrying out software upgrading when the version number that returns according to Environment Monitor Unit determines the software upgrading of Environment Monitor Unit needs installs.
3. the method for claim 1 is characterized in that, when host computer environment for use monitoring unit software package carries out the software upgrading installation to Environment Monitor Unit, further comprises:
Host computer sends check code to Environment Monitor Unit;
After Environment Monitor Unit is by the check code checking, begins that Environment Monitor Unit is carried out software upgrading and install.
4. the method for claim 1 is characterized in that, host computer environment for use monitoring unit software package carries out the software upgrading installation to Environment Monitor Unit after, further comprises:
Host computer inquiry Environment Monitor Unit is whether true(-)running after carrying out software upgrading and installing.
5. as the arbitrary described method of claim 1 to 4, it is characterized in that, when host computer environment for use monitoring unit software package carries out the software upgrading installation to Environment Monitor Unit, host computer is selected host-host protocol according to connecting interface by with connecting path transmission the carrying out software upgrading of Environment Monitor Unit required file being installed when transmission.
6. the host computer of an Environment Monitor Unit is characterized in that, comprising:
The indication receiver module is used for receiving from the management channels between management station and the host computer indication of download environment monitoring unit software package;
The software receiver module is used for after receiving described indication, by the data channel reception environment monitoring unit software package between management station and the host computer;
Installed module is used for environment for use monitoring unit software package Environment Monitor Unit is carried out the software upgrading installation.
7. host computer as claimed in claim 6 is characterized in that, further comprises:
The version acquisition module is used for obtaining the version number of installation environment monitoring unit software on the Environment Monitor Unit to Environment Monitor Unit when environment for use monitoring unit software package carries out the software upgrading installation to Environment Monitor Unit;
Described installed module carries out software upgrading and installs when being further used for determining the software upgrading of Environment Monitor Unit needs in the version number that returns according to Environment Monitor Unit.
8. host computer as claimed in claim 6 is characterized in that, further comprises:
The verification module is used for sending check code to Environment Monitor Unit when environment for use monitoring unit software package carries out the software upgrading installation to Environment Monitor Unit;
Described installed module is further used for after Environment Monitor Unit is by the check code checking, begins that Environment Monitor Unit is carried out software upgrading and installs.
9. host computer as claimed in claim 6 is characterized in that, further comprises:
Enquiry module is used for environment for use monitoring unit software package carries out software upgrading and installs to Environment Monitor Unit after, and the inquiry Environment Monitor Unit is whether true(-)running after carrying out software upgrading and installing.
10. as the arbitrary described host computer of claim 6 to 9, it is characterized in that, described installed module is further used for when host computer environment for use monitoring unit software package carries out the software upgrading installation to Environment Monitor Unit, host computer is selected host-host protocol according to connecting interface by with connecting path transmission the carrying out software upgrading of Environment Monitor Unit required file being installed when transmission.
11. a management station is characterized in that, comprising:
The indication sending module is used for sending from the management channels between management station and the host computer indication of download environment monitoring unit software package;
The software sending module is used for sending the Environment Monitor Unit software package by the data channel between management station and the host computer.
12. the software update system of an Environment Monitor Unit is characterized in that, comprising:
Management station is used for sending from the management channels between management station and the host computer indication of download environment monitoring unit software package, and sends the Environment Monitor Unit software package by the data channel between management station and the host computer;
Host computer, be used for receiving the indication of download environment monitoring unit software package from the management channels between management station and the host computer, after receiving described indication, by the data channel reception environment monitoring unit software package between management station and the host computer, and environment for use monitoring unit software package carries out the software upgrading installation to Environment Monitor Unit.
CN200910093970XA 2009-09-25 2009-09-25 Software upgrading method and equipment for environmental monitoring unit Pending CN102033517A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910093970XA CN102033517A (en) 2009-09-25 2009-09-25 Software upgrading method and equipment for environmental monitoring unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910093970XA CN102033517A (en) 2009-09-25 2009-09-25 Software upgrading method and equipment for environmental monitoring unit

Publications (1)

Publication Number Publication Date
CN102033517A true CN102033517A (en) 2011-04-27

Family

ID=43886531

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910093970XA Pending CN102033517A (en) 2009-09-25 2009-09-25 Software upgrading method and equipment for environmental monitoring unit

Country Status (1)

Country Link
CN (1) CN102033517A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999350A (en) * 2012-10-24 2013-03-27 绵阳市维博电子有限责任公司 FPGA (field-programmable gate array) program upgrading and online downloading method in digital signal processing platform
CN103218235A (en) * 2012-01-19 2013-07-24 宇龙计算机通信科技(深圳)有限公司 Terminal and software installation method
CN103605547A (en) * 2013-11-25 2014-02-26 北京象开科技有限公司 Method for online upgrading bar-code image scanning system software
CN103902313A (en) * 2012-12-27 2014-07-02 中国航空工业集团公司第六三一研究所 Software loading method of avionics system
CN103914012A (en) * 2014-03-19 2014-07-09 农业部规划设计研究院 Monitoring device for potato storage environment
CN108933963A (en) * 2017-05-25 2018-12-04 中兴通讯股份有限公司 Method for upgrading software and device
CN113132494A (en) * 2021-04-29 2021-07-16 陕西天基通信科技有限责任公司 Remote upgrading method and system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103218235A (en) * 2012-01-19 2013-07-24 宇龙计算机通信科技(深圳)有限公司 Terminal and software installation method
CN102999350A (en) * 2012-10-24 2013-03-27 绵阳市维博电子有限责任公司 FPGA (field-programmable gate array) program upgrading and online downloading method in digital signal processing platform
CN103902313A (en) * 2012-12-27 2014-07-02 中国航空工业集团公司第六三一研究所 Software loading method of avionics system
CN103605547A (en) * 2013-11-25 2014-02-26 北京象开科技有限公司 Method for online upgrading bar-code image scanning system software
CN103914012A (en) * 2014-03-19 2014-07-09 农业部规划设计研究院 Monitoring device for potato storage environment
CN108933963A (en) * 2017-05-25 2018-12-04 中兴通讯股份有限公司 Method for upgrading software and device
CN113132494A (en) * 2021-04-29 2021-07-16 陕西天基通信科技有限责任公司 Remote upgrading method and system

Similar Documents

Publication Publication Date Title
CN102033517A (en) Software upgrading method and equipment for environmental monitoring unit
CN103179210B (en) The Internet of Things high in the clouds cut-in method of a kind of sing on web Service and system
CN101321364B (en) Method for centralized analysis of far-end equipment data flow
CN104301151A (en) Movement operation and maintenance system and method of power communication network
CN106646641A (en) Detection method and detection system based on multiple detectors
KR101971259B1 (en) Operation Management Device and Method to Upgrade Program installed Internet of Things Communication Module
CN104050920B (en) LED display control system and asynchronous control card
CN102508473A (en) Intelligent home control system, method and device
CN112187922A (en) Intelligent Internet of things shutdown machine based on MQTT communication protocol
CN105183452A (en) Spring AOP based remote protocol service middleware for monitoring power distribution device
CN103516735A (en) Method and apparatus for upgrading network node
CN102752396B (en) Built-in sensing server and data control method thereof
CN104753130A (en) Mobile equipment charging device and software mounting method thereof
CN202873069U (en) Test and verification device for Internet of things (IOT)
CN100450248C (en) Method of radio frequency remoto module management maintenance
CN110380775B (en) Large-scale multi-service satellite constellation operation and management system and working method thereof
US8965333B1 (en) Remote monitoring system and method utilizing wireless network
CN205427671U (en) Environmental information automatic monitoring device based on thing networking
CN110398985A (en) A kind of distributed self-adaption Telemetry System of UAV and method
CN103313428A (en) Wi-Fi (wireless fidelity) communication system and Wi-Fi communication method for smartphone and upper computer in computer five-prevention system
CN105336146A (en) Coal mine underground multi-system data acquisition and transmission method and apparatus
CN210804735U (en) Intelligent electric meter
CN101257696A (en) Method for managing and maintaining radio frequency pull far module
CN104063350A (en) Satellite-borne CAN (controller area network) bus plug and play method
CN101795513B (en) Wireless urban lighting monitoring technique supporting multiple channels and multiple protocols

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110427