CN104469278A - Method and device for upgrading monitoring system - Google Patents

Method and device for upgrading monitoring system Download PDF

Info

Publication number
CN104469278A
CN104469278A CN201310442621.0A CN201310442621A CN104469278A CN 104469278 A CN104469278 A CN 104469278A CN 201310442621 A CN201310442621 A CN 201310442621A CN 104469278 A CN104469278 A CN 104469278A
Authority
CN
China
Prior art keywords
dog
watch
described watch
control system
supervisory control
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.)
Granted
Application number
CN201310442621.0A
Other languages
Chinese (zh)
Other versions
CN104469278B (en
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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201310442621.0A priority Critical patent/CN104469278B/en
Publication of CN104469278A publication Critical patent/CN104469278A/en
Application granted granted Critical
Publication of CN104469278B publication Critical patent/CN104469278B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method and device for upgrading a monitoring system. The method comprises the steps that when the monitoring system of monitoring equipment needs to be upgraded, whether the operating state of the monitoring equipment is a started state is judged; when the monitoring equipment is in the started state, the monitoring system used currently is upgraded through downloaded upgrading software of the monitoring system; when the monitoring equipment is not in the started state, the monitoring equipment is controlled to enter the started state, and the monitoring system used currently is upgraded through the downloaded upgrading software of the monitoring system. By adopting the scheme, compared with the prior art, time needed for upgrading the monitoring system is shortened, and the processing efficiency of upgrading the monitoring system of the monitoring equipment is improved.

Description

A kind of supervisory control system upgrade method and device
Technical field
The present invention relates to field of video monitoring, particularly relate to a kind of supervisory control system upgrade method and device.
Background technology
In video monitoring system, because the supervisory control system of the current use of watch-dog may exist system risk, thus cause watch-dog cisco unity malfunction, have impact on the monitor video quality to scene monitoring, therefore need to carry out renewal upgrading processing to supervisory control system in time.
At present, the supervisory control system upgrade method of existing watch-dog mainly adopts the mode of artificial upgrading, check that the supervisory control system of this watch-dog is the need of renewal upgrading by manually arriving watch-dog mounting points, or controlled by network remote, every platform watch-dog is signed in respectively by manually long-range, check that the supervisory control system of watch-dog is the need of upgrading by platform, when this supervisory control system needs upgrading, by manually downloading renewable upgrade software and installing, complete the upgrading to supervisory control system.
The supervisory control system upgrade method of above-mentioned existing watch-dog, staff is needed to check watch-dog by platform, supervisory control system is judged the need of upgrading, thus takes a large amount of time, because this reducing the treatment effeciency of the supervisory control system upgrading of watch-dog.
Summary of the invention
The embodiment of the present invention provides a kind of supervisory control system upgrade method, to upgrade inefficient problem in order to solve the supervisory control system of carrying out existed in prior art.
The embodiment of the present invention provides a kind of supervisory control system upgrade method, comprising:
When needing to upgrade to the supervisory control system of watch-dog, determine whether the running status of described watch-dog is starting state;
When described watch-dog is in starting state, upgraded by the supervisory control system of upgrade software to current use of the described supervisory control system downloaded;
When described watch-dog is not in starting state, controls described watch-dog and enter starting state, and upgraded by the supervisory control system of upgrade software to described current use of the described supervisory control system downloaded.
Adopt the said method that the embodiment of the present invention provides, due to when needing to upgrade to the supervisory control system of watch-dog, automatically for supervisory control system is upgraded by watch-dog self, do not need each supervisory control system of artificial judgment the need of upgrading and by manually upgrading to supervisory control system, therefore save the time needed for supervisory control system upgrading, improve the treatment effeciency of the supervisory control system upgrading of watch-dog.
Further, determine to need the supervisory control system to watch-dog to upgrade, specifically comprise:
After the upgrade notification of supervisory control system receiving watch-dog, when the current version of the supervisory control system of the latest version information of carrying in described upgrade notification and current use does not mate, determine to need to upgrade to the supervisory control system of described watch-dog; Or
After the upgrade notification of supervisory control system receiving watch-dog, when the current version of the supervisory control system of the latest version information of carrying in described upgrade notification and current use does not mate, and carry and represent that latest edition is when being the information of master version, determine to need to upgrade to the supervisory control system of described watch-dog.
Like this, by the information of carrying in the upgrade notification of supervisory control system, first can determining whether to need to upgrade to supervisory control system, performing follow-up step again when determining to need to upgrade to supervisory control system.
Further, determine to need the supervisory control system to watch-dog to upgrade, also comprise:
When the current version of the supervisory control system of the latest version information of carrying in described upgrade notification and current use does not mate, and carry when representing that latest edition is the information of insignificant version, the user to described watch-dog sends the scalable prompting of supervisory control system.
Like this, when the current version of the supervisory control system of the latest version information of carrying in upgrade notification and current use does not mate, represent that latest edition is the information of insignificant version by carrying in upgrade notification, can determine not need to upgrade to supervisory control system, continue the supervisory control system using current use, point out the user of this watch-dog to have upgradeable supervisory control system latest edition.
Further, when described watch-dog is not in starting state, controls described watch-dog and enter starting state, specifically comprise:
User to described watch-dog sends watch-dog Restart Request, for asking the time of restarting described watch-dog; Receive the Restart Request response that described user returns; Respond the reboot time carried according to described Restart Request, described watch-dog is restarted, make described watch-dog enter starting state; Or
When the current operating state of described watch-dog is default operating condition, after work at present terminates, described watch-dog is restarted, make described watch-dog enter starting state; Or
At Preset Time, described watch-dog is restarted, make described watch-dog enter starting state.
Like this, arbitrary above-mentioned three kinds of modes can be adopted to enter starting state to control this watch-dog.
Further, when described watch-dog is not in starting state, controls described watch-dog and enter starting state, specifically comprise:
User to described watch-dog sends watch-dog Restart Request, for asking the time of restarting described watch-dog;
When receiving the Restart Request response that described user returns within the default time for replying, responding the reboot time carried according to described Restart Request, described watch-dog is restarted, making described watch-dog enter starting state;
When not receiving the Restart Request response that described user returns within the default time for replying, determine whether the current operating state of described watch-dog is default operating condition;
If the current operating state of described watch-dog is default operating condition, after work at present terminates, described watch-dog is restarted, make described watch-dog enter starting state;
If the current operating state of described watch-dog is not default operating condition, described watch-dog is restarted, make described watch-dog enter starting state.
Further, when described watch-dog is not in starting state, controls described watch-dog and enter starting state, specifically comprise:
User to described watch-dog sends watch-dog Restart Request, for asking the time of restarting described watch-dog;
When receiving the Restart Request response that described user returns within the default time for replying, responding the reboot time carried according to described Restart Request, described watch-dog is restarted, making described watch-dog enter starting state;
When not receiving the Restart Request response that described user returns within the default time for replying, at Preset Time, described watch-dog being restarted, making described watch-dog enter starting state.
Further, when described watch-dog is not in starting state, controls described watch-dog and enter starting state, specifically comprise:
When the current operating state of described watch-dog is default operating condition, determine work at present terminate after time whether in Preset Time; If the time after described work at present terminates, in Preset Time, restarts described watch-dog, described watch-dog is made to enter starting state; If the time after described work at present terminates is not in Preset Time, the user to described watch-dog sends watch-dog Restart Request, for asking the time of restarting described watch-dog; Receive the Restart Request response that described user returns; Respond the reboot time carried according to described Restart Request, described watch-dog is restarted, make described watch-dog enter starting state;
When the current operating state of described watch-dog is not default operating condition, determine current time whether in Preset Time; If described current time is in Preset Time, described watch-dog is restarted, make described watch-dog enter starting state; If described current time is not in Preset Time, the user to described watch-dog sends watch-dog Restart Request, for asking the time of restarting described watch-dog; Receive the Restart Request response that described user returns; Respond the reboot time carried according to described Restart Request, described watch-dog is restarted, make described watch-dog enter starting state.
The embodiment of the present invention also provides a kind of supervisory control system update device, comprising:
Status determining unit, for when needing to upgrade to the supervisory control system of watch-dog, determines whether the running status of described watch-dog is starting state;
First upgrade unit, for when described watch-dog is in starting state, is upgraded by the supervisory control system of upgrade software to current use of the described supervisory control system downloaded;
Second upgrade unit, for when described watch-dog is not in starting state, controls described watch-dog and enters starting state, and is upgraded by the supervisory control system of upgrade software to described current use of the described supervisory control system downloaded.
Adopt the said apparatus that the embodiment of the present invention provides, due to when needing to upgrade to the supervisory control system of watch-dog, automatically for supervisory control system is upgraded by watch-dog self, do not need each supervisory control system of artificial judgment the need of upgrading and by manually upgrading to supervisory control system, therefore save the time needed for supervisory control system upgrading, improve the treatment effeciency of the supervisory control system upgrading of watch-dog.
Further, said apparatus, also comprises:
Upgrading determining unit, for after the upgrade notification of supervisory control system receiving watch-dog, when the current version of the supervisory control system of the latest version information of carrying in described upgrade notification and current use does not mate, determine to need to upgrade to the supervisory control system of described watch-dog; Or
After the upgrade notification of supervisory control system receiving watch-dog, when the current version of the supervisory control system of the latest version information of carrying in described upgrade notification and current use does not mate, and carry and represent that latest edition is when being the information of master version, determine to need to upgrade to the supervisory control system of described watch-dog.
Like this, by the information of carrying in the upgrade notification of supervisory control system, first can determining whether to need to upgrade to supervisory control system, performing follow-up step again when determining to need to upgrade to supervisory control system.
Further, described upgrading determining unit, current version also for the supervisory control system when the latest version information of carrying in described upgrade notification and current use does not mate, and carry and represent that latest edition is when being the information of insignificant version, the user to described watch-dog sends the scalable prompting of supervisory control system.
Like this, when the current version of the supervisory control system of the latest version information of carrying in upgrade notification and current use does not mate, represent that latest edition is the information of insignificant version by carrying in upgrade notification, can determine not need to upgrade to supervisory control system, continue the supervisory control system using current use, point out the user of this watch-dog to have upgradeable supervisory control system latest edition.
Further, described second upgrade unit, specifically for sending watch-dog Restart Request to the user of described watch-dog, for asking the time of restarting described watch-dog; Receive the Restart Request response that described user returns; Respond the reboot time carried according to described Restart Request, described watch-dog is restarted, make described watch-dog enter starting state; Or
When the current operating state of described watch-dog is default operating condition, after work at present terminates, described watch-dog is restarted, make described watch-dog enter starting state; Or
At Preset Time, described watch-dog is restarted, make described watch-dog enter starting state.
Like this, arbitrary above-mentioned three kinds of modes can be adopted to enter starting state to control this watch-dog.
Further, described second upgrade unit, specifically for sending watch-dog Restart Request to the user of described watch-dog, for asking the time of restarting described watch-dog; When receiving the Restart Request response that described user returns within the default time for replying, responding the reboot time carried according to described Restart Request, described watch-dog is restarted, making described watch-dog enter starting state; When not receiving the Restart Request response that described user returns within the default time for replying, determine whether the current operating state of described watch-dog is default operating condition; If when the current operating state of described watch-dog is default operating condition, after work at present terminates, described watch-dog is restarted, make described watch-dog enter starting state; If when the current operating state of described watch-dog is not default operating condition, restarted described watch-dog, described watch-dog is made to enter starting state.
Further, described second upgrade unit, specifically for sending watch-dog Restart Request to the user of described watch-dog, for asking the time of restarting described watch-dog; When receiving the Restart Request response that described user returns within the default time for replying, responding the reboot time carried according to described Restart Request, described watch-dog is restarted, making described watch-dog enter starting state; When not receiving the Restart Request response that described user returns within the default time for replying, at Preset Time, described watch-dog being restarted, making described watch-dog enter starting state.
Further, described second upgrade unit, specifically for when the current operating state of described watch-dog is default operating condition, determine work at present terminate after time whether in Preset Time; If the time after described work at present terminates, in Preset Time, restarts described watch-dog, described watch-dog is made to enter starting state; If the time after described work at present terminates is not in Preset Time, the user to described watch-dog sends watch-dog Restart Request, for asking the time of restarting described watch-dog; Receive the Restart Request response that described user returns; Respond the reboot time carried according to described Restart Request, described watch-dog is restarted, make described watch-dog enter starting state; When the current operating state of described watch-dog is not default operating condition, determine current time whether in Preset Time; If described current time is in Preset Time, described watch-dog is restarted, make described watch-dog enter starting state; If described current time is not in Preset Time, the user to described watch-dog sends watch-dog Restart Request, for asking the time of restarting described watch-dog; Receive the Restart Request response that described user returns; Respond the reboot time carried according to described Restart Request, described watch-dog is restarted, make described watch-dog enter starting state.
The further feature of the application and advantage will be set forth in the following description, and, partly become apparent from specification, or understand by implementing the application.The object of the application and other advantages realize by structure specifically noted in write specification, claims and accompanying drawing and obtain.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for specification, is used from explanation the present invention, is not construed as limiting the invention with the embodiment of the present invention one.In the accompanying drawings:
The supervisory control system upgrade method that Fig. 1 provides for the embodiment of the present invention;
The flow chart of the supervisory control system upgrade method that Fig. 2 provides for the embodiment of the present invention 1;
The flow chart of the supervisory control system upgrade method that Fig. 3 provides for the embodiment of the present invention 2;
Fig. 4 enters the flow chart of the handling process of the 4th kind of mode of starting state for control watch-dog that the embodiment of the present invention provides;
Fig. 5 enters the flow chart of the handling process of the 5th kind of mode of starting state for control watch-dog that the embodiment of the present invention provides;
Fig. 6 enters the flow chart of the handling process of the 6th kind of mode of starting state for control watch-dog that the embodiment of the present invention provides;
The structural representation of the supervisory control system update device that Fig. 7 provides for the embodiment of the present invention 3.
Embodiment
In order to provide the implementation of the treatment effeciency of the supervisory control system upgrading improving watch-dog, embodiments provide a kind of supervisory control system upgrade method and device, below in conjunction with Figure of description, the preferred embodiments of the present invention are described, be to be understood that, preferred embodiment described herein, only for instruction and explanation of the present invention, is not intended to limit the present invention.And when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.
The embodiment of the present invention provides a kind of supervisory control system upgrade method, as shown in Figure 1, comprising:
Step 101, when needing to upgrade to the supervisory control system of watch-dog, determine whether the running status of this watch-dog is starting state.
Step 102, when this watch-dog is in starting state, to be upgraded by the supervisory control system of upgrade software to current use of this supervisory control system downloaded.
Step 103, when this watch-dog is not in starting state, controls this watch-dog and enter starting state, and upgraded by the supervisory control system of upgrade software to this current use of this supervisory control system downloaded.
In method shown in above-mentioned Fig. 1 that the embodiment of the present invention provides, the running status of watch-dog comprises starting state and operating state, when watch-dog is in starting state, supervisory control system can be upgraded, therefore when upgrading to the supervisory control system of watch-dog, whether the running status first can determining this watch-dog is starting state, if be starting state, then directly upgrade, if be not in starting state, after then control monitoring enters starting state, then upgrade.
Below in conjunction with accompanying drawing, with specific embodiment, method provided by the invention and device are described in detail.
Embodiment 1:
The flow chart of a kind of supervisory control system upgrade method that Fig. 2 provides for the embodiment of the present invention 1, specifically comprises following treatment step:
The upgrade notification of the supervisory control system of step 201, reception watch-dog.
In this step, watch-dog is connected with far-end server by network, when the latest edition of the supervisory control system having this watch-dog is issued, this far-end server sends supervisory control system upgrade notification to this watch-dog, carries the latest version information of this supervisory control system in this upgrade notification.
Step 202, determine whether the current version of the supervisory control system of latest version information and the current use of carrying in this upgrade notification mates, and if so, enters step 203, if not, enters step 204.
Step 203, when the current version coupling of the supervisory control system of the latest version information of carrying in this upgrade notification and current use, determine not need the supervisory control system to this watch-dog to upgrade.
Step 204, when the current version of the supervisory control system of the latest version information of carrying in this upgrade notification and current use does not mate, determine to need to upgrade to the supervisory control system of this watch-dog.
Whether step 205, the running status determining this watch-dog are starting state, if so, enter step 206, if not, enter step 207.
Step 206, when this watch-dog is in starting state, to be upgraded by the supervisory control system of upgrade software to current use of this supervisory control system downloaded.
Whether wherein, the upgrade software of this supervisory control system can be downloaded immediately after determining to need to upgrade to the supervisory control system of this watch-dog, can be also download in the process of starting state in the running status determining this watch-dog.
Step 207, when this watch-dog is not in starting state, controls this watch-dog and enter starting state, and upgraded by the supervisory control system of upgrade software to this current use of this supervisory control system downloaded.
Whether wherein, the upgrade software of this supervisory control system can be downloaded immediately after determining to need to upgrade to the supervisory control system of this watch-dog, can be also download in the process of starting state in the running status determining this watch-dog.
Embodiment 2:
The flow chart of a kind of supervisory control system upgrade method that Fig. 3 provides for the embodiment of the present invention 2, specifically comprises following treatment step:
The upgrade notification of the supervisory control system of step 301, reception watch-dog.
In this step, watch-dog is connected with far-end server by network, when the latest edition of the supervisory control system having this watch-dog is issued, this far-end server sends supervisory control system upgrade notification to this watch-dog, carries the latest version information of this supervisory control system in this upgrade notification.
Step 302, determine whether the current version of the supervisory control system of latest version information and the current use of carrying in this upgrade notification mates, and if so, enters step 303, if not, enters step 304.
Step 303, when the current version coupling of the supervisory control system of the latest version information of carrying in this upgrade notification and current use, determine not need the supervisory control system to this watch-dog to upgrade.
Step 304, when the current version of the supervisory control system of the latest version information of carrying in this upgrade notification and current use does not mate, determine whether the latest version information of carrying in the upgrade notification of this supervisory control system is expressed as master version, if not, enter step 305, if so, step 306 is entered.
Step 305, carry represent that this latest edition is when being the information of insignificant version in the upgrade notification of this supervisory control system, the user to this watch-dog sends the scalable prompting of supervisory control system.
Step 306, carry in the upgrade notification of this supervisory control system and represent that this latest edition is when being the information of master version, determine to need to upgrade to the supervisory control system of this watch-dog.
Whether step 307, the running status determining this watch-dog are starting state, if so, enter step 308, if not, enter step 309.
Step 308, when this watch-dog is in starting state, to be upgraded by the supervisory control system of upgrade software to current use of this supervisory control system downloaded.
Whether wherein, the upgrade software of this supervisory control system can be downloaded immediately after determining to need to upgrade to the supervisory control system of this watch-dog, can be also download in the process of starting state in the running status determining this watch-dog.
Step 309, when this watch-dog is not in starting state, controls this watch-dog and enter starting state, and upgraded by the supervisory control system of upgrade software to this current use of this supervisory control system downloaded.
Whether wherein, the upgrade software of this supervisory control system can be downloaded immediately after determining to need to upgrade to the supervisory control system of this watch-dog, can be also download in the process of starting state in the running status determining this watch-dog.
Further, when this watch-dog is in starting state, after completing the supervisory control system upgrading to current use, this watch-dog does not need to restart, and the supervisory control system of this upgrading just can be used to carry out work.
By the method that the above embodiment of the present invention 1 and 2 provides, due to when needing to upgrade to the supervisory control system of watch-dog, automatically for supervisory control system is upgraded by watch-dog self, do not need each supervisory control system of artificial judgment the need of upgrading and by manually upgrading to supervisory control system, therefore save the time needed for supervisory control system upgrading, improve the treatment effeciency of the supervisory control system upgrading of watch-dog.
For step 207 and step 309 in the above embodiment of the present invention, this watch-dog can be controlled by following several mode and enter starting state;
First kind of way:
User to this watch-dog sends watch-dog Restart Request, for asking the time of restarting this watch-dog; Receive the Restart Request response that this user returns; Respond the reboot time carried according to this Restart Request, this watch-dog is restarted, make this watch-dog enter starting state.
The second way:
Whether the current operating state determining this watch-dog is default operating condition; If the current operating state of this watch-dog is default operating condition, after work at present terminates, described watch-dog is restarted, make this watch-dog enter starting state; If the current operating state of this watch-dog is not default operating condition, restart this watch-dog, make this watch-dog enter starting state, wherein, default operating condition can be set to this watch-dog in the operating state of carrying out recording.
The third mode:
At Preset Time, this watch-dog is restarted, this watch-dog is made to enter starting state, wherein, Preset Time can be arranged flexibly according to practical experience and needs, such as, being set to Preset Time when watch-dog can not done the important process such as recording, also the free time by adding up the watch-dog obtained can being set to Preset Time.
4th kind of mode:
Fig. 4 enters the flow chart of the handling process of the 4th kind of mode of starting state for control watch-dog that the embodiment of the present invention provides.
Step 401, send supervisory control system Restart Request to the user of this watch-dog, for asking the time of restarting this watch-dog.
In this step, this watch-dog can adopt the form of ejection dialog box or transmission mail to send watch-dog Restart Request to the user of this watch-dog, asks the time of restarting this watch-dog to this user.
Step 402, determine whether to receive within the default time for replying Restart Request response that this user returns, the time of restarting this watch-dog that this user returns is carried in the response of this Restart Request, if so, enters step 403, if not, step 404 is entered.
Step 403, when receiving the Restart Request response that this user returns within the default time for replying, responding the reboot time carried according to this Restart Request, this watch-dog is restarted, making this watch-dog enter starting state.
Step 404, when not receiving the Restart Request response that this user returns within the default time for replying, determining whether the current operating state of this watch-dog is default operating condition, if so, entering step 405, if not, enter step 406.
Wherein default operating condition can be set to this watch-dog in the operating state of carrying out recording.
Step 405, when the current operating state of this watch-dog is default operating condition, after work at present terminates, this watch-dog to be restarted, make this watch-dog enter starting state.
Step 406, when the current operating state of this watch-dog is not default operating condition, this watch-dog to be restarted, make this watch-dog enter starting state.
5th kind of mode:
Fig. 5 enters the flow chart of the handling process of the 5th kind of mode of starting state for control watch-dog that the embodiment of the present invention provides.
Step 501, send supervisory control system Restart Request to the user of this watch-dog, for asking the time of restarting this watch-dog.
In this step, this watch-dog can adopt the form of ejection dialog box or transmission mail to send watch-dog Restart Request to the user of this watch-dog, asks the time of restarting this watch-dog to this user.
Step 502, determine whether to receive within the default time for replying Restart Request response that this user returns, the time of restarting this watch-dog that this user returns is carried in the response of this Restart Request, if so, enters step 503, if not, step 504 is entered.
Step 503, when receiving the Restart Request response that this user returns within the default time for replying, restarting instruction and respond according to this reboot time carried, this watch-dog being restarted, makes this watch-dog enter starting state.
Step 504, when not receiving the Restart Request response that this user returns within the default time for replying, at Preset Time, this watch-dog is restarted, this watch-dog is made to enter starting state, wherein, Preset Time can be arranged flexibly according to practical experience and needs, such as, when watch-dog can not done the important process such as recording, being set to Preset Time, also the free time by adding up the watch-dog obtained can being set to Preset Time.
6th kind of mode:
Fig. 6 enters the flow chart of the handling process of the 6th kind of mode of starting state for control watch-dog that the embodiment of the present invention provides.
Whether step 601, the current operating state determining this watch-dog are default operating condition, if so, enter step 602, if not, enter step 607.
Wherein default operating condition can be set to this watch-dog in the operating state of carrying out recording.
Step 602, when the current operating state of this watch-dog is default operating condition, determine work at present terminate after time whether in Preset Time, if so, enter step 603, if not, enter step 604.
Wherein, Preset Time can be arranged flexibly according to practical experience and needs, such as, is set to Preset Time when watch-dog can not done the important process such as recording, also the free time by adding up the watch-dog obtained can be set to Preset Time.
Step 603, when the time after work at present terminates is in Preset Time, this watch-dog to be restarted, make this watch-dog enter starting state.
Step 604, when the time after work at present terminates is not in Preset Time, the user to this watch-dog sends supervisory control system Restart Request, for asking the time of restarting this watch-dog.
In this step, this watch-dog can adopt the form of ejection dialog box or transmission mail to send watch-dog Restart Request to the user of this watch-dog, asks the time of restarting this watch-dog to this user.
Step 605, determine whether to receive within the default time for replying Restart Request response that this user returns, the time of restarting this watch-dog that this user returns is carried in the response of this Restart Request, if so, enters step 606, if not, step 601 is returned.
Step 606, when receiving the Restart Request response that this user returns within the default time for replying, restarting instruction and respond according to this reboot time carried, this watch-dog being restarted, makes this watch-dog enter starting state.
Step 607, when the current operating state of this watch-dog is not default operating condition, determines current time whether in Preset Time, if so, enter step 608, if not, enter step 609.
Wherein, Preset Time can be arranged flexibly according to practical experience and needs, such as, is set to Preset Time when watch-dog can not done the important process such as recording, also the free time by adding up the watch-dog obtained can be set to Preset Time.
Step 608, when current time is in Preset Time, this watch-dog to be restarted, make this watch-dog enter starting state.
Step 609, when current time is not in Preset Time, the user to this watch-dog sends supervisory control system Restart Request, for asking the time of restarting this watch-dog.
In this step, this watch-dog can adopt the form of ejection dialog box or transmission mail to send watch-dog Restart Request to the user of this watch-dog, asks the time of restarting this watch-dog to this user.
Step 610, determine whether to receive within the default time for replying Restart Request response that this user returns, the time of restarting this watch-dog that this user returns is carried in the response of this Restart Request, if so, enters step 611, if not, step 601 is returned.
Step 611, when receiving the Restart Request response that this user returns within the default time for replying, restarting instruction and respond according to this reboot time carried, this watch-dog being restarted, makes this watch-dog enter starting state.
By the method that the above embodiment of the present invention provides, when the supervisory control system of the watch-dog in network needs to upgrade, supervisory control system upgrade notification can be sent to every platform watch-dog by far-end server, after watch-dog receives this upgrade notification, supervisory control system upgrade method provided by the invention is adopted to carry out mandatory upgrade to the supervisory control system of self, to carry out unified upgrading to the supervisory control system of all watch-dogs in network, and do not need manually to check that watch-dog judges that supervisory control system is the need of upgrading by platform, save the time needed for supervisory control system upgrading, and then the treatment effeciency that the supervisory control system that improve watch-dog is upgraded.
Embodiment 3:
Based on same inventive concept, according to the supervisory control system upgrade method that the above embodiment of the present invention provides, correspondingly, the embodiment of the present invention 3 additionally provides a kind of supervisory control system update device, and its structural representation as shown in Figure 7, specifically comprises:
Status determining unit 701, for when needing to upgrade to the supervisory control system of watch-dog, determines whether the running status of described watch-dog is starting state;
First upgrade unit 702, for when described watch-dog is in starting state, is upgraded by the supervisory control system of upgrade software to current use of the described supervisory control system downloaded;
Second upgrade unit 703, for when described watch-dog is not in starting state, controls described watch-dog and enters starting state, and is upgraded by the supervisory control system of upgrade software to described current use of the described supervisory control system downloaded.
Further, said apparatus, also comprises:
Upgrading determining unit 704, for after the upgrade notification of supervisory control system receiving watch-dog, when the current version of the supervisory control system of the latest version information of carrying in described upgrade notification and current use does not mate, determine to need to upgrade to the supervisory control system of described watch-dog; Or
After the upgrade notification of supervisory control system receiving watch-dog, when the current version of the supervisory control system of the latest version information of carrying in described upgrade notification and current use does not mate, and carry and represent that latest edition is when being the information of master version, determine to need to upgrade to the supervisory control system of described watch-dog.
Further, upgrading determining unit 704, current version also for the supervisory control system when the latest version information of carrying in described upgrade notification and current use does not mate, and carry and represent that latest edition is when being the information of insignificant version, the user to described watch-dog sends the scalable prompting of supervisory control system.
Further, the second upgrade unit 703, specifically for sending watch-dog Restart Request to the user of described watch-dog, for asking the time of restarting described watch-dog; Receive the Restart Request response that described user returns; Respond the reboot time carried according to described Restart Request, described watch-dog is restarted, make described watch-dog enter starting state; Or
When the current operating state of described watch-dog is default operating condition, after work at present terminates, described watch-dog is restarted, make described watch-dog enter starting state; Or
At Preset Time, described watch-dog is restarted, make described watch-dog enter starting state.
Further, the second upgrade unit 703, specifically for sending watch-dog Restart Request to the user of described watch-dog, for asking the time of restarting described watch-dog; When receiving the Restart Request response that described user returns within the default time for replying, responding the reboot time carried according to described Restart Request, described watch-dog is restarted, making described watch-dog enter starting state; When not receiving the Restart Request response that described user returns within the default time for replying, determine whether the current operating state of described watch-dog is default operating condition; If when the current operating state of described watch-dog is default operating condition, after work at present terminates, described watch-dog is restarted, make described watch-dog enter starting state; If when the current operating state of described watch-dog is not default operating condition, restarted described watch-dog, described watch-dog is made to enter starting state.
Further, the second upgrade unit 703, specifically for sending watch-dog Restart Request to the user of described watch-dog, for asking the time of restarting described watch-dog; When receiving the Restart Request response that described user returns within the default time for replying, responding the reboot time carried according to described Restart Request, described watch-dog is restarted, making described watch-dog enter starting state; When not receiving the Restart Request response that described user returns within the default time for replying, at Preset Time, described watch-dog being restarted, making described watch-dog enter starting state.
Further, the second upgrade unit 703, specifically for when the current operating state of described watch-dog is default operating condition, determine work at present terminate after time whether in Preset Time; If the time after described work at present terminates, in Preset Time, restarts described watch-dog, described watch-dog is made to enter starting state; If the time after described work at present terminates is not in Preset Time, the user to described watch-dog sends watch-dog Restart Request, for asking the time of restarting described watch-dog; Receive the Restart Request response that described user returns; Respond the reboot time carried according to described Restart Request, described watch-dog is restarted, make described watch-dog enter starting state; When the current operating state of described watch-dog is not default operating condition, determine current time whether in Preset Time; If described current time is in Preset Time, described watch-dog is restarted, make described watch-dog enter starting state; If described current time is not in Preset Time, the user to described watch-dog sends watch-dog Restart Request, for asking the time of restarting described watch-dog; Receive the Restart Request response that described user returns; Respond the reboot time carried according to described Restart Request, described watch-dog is restarted, make described watch-dog enter starting state.
The function of above-mentioned each unit may correspond to the respective handling step in flow process shown in Fig. 1-Fig. 6, does not repeat them here.
In sum, the scheme that the embodiment of the present invention provides, comprise: when needing to upgrade to the supervisory control system of watch-dog, whether the running status determining this watch-dog is starting state, when this watch-dog is in starting state, upgraded by the supervisory control system of upgrade software to current use of this supervisory control system downloaded, when this watch-dog is not in starting state, control this watch-dog and enter starting state, and upgraded by the supervisory control system of upgrade software to this current use of this supervisory control system downloaded.Adopt the scheme that the embodiment of the present invention provides, compared to existing technology, save the time needed for supervisory control system upgrading, improve the treatment effeciency of the supervisory control system upgrading of watch-dog.
The supervisory control system update device that the embodiment of the application provides realizes by computer program.Those skilled in the art should be understood that; above-mentioned Module Division mode is only the one in numerous Module Division mode; if be divided into other modules or do not divide module, as long as supervisory control system update device has above-mentioned functions, all should within the protection range of the application.
The application describes with reference to according to the flow chart of the method for the embodiment of the present application, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (14)

1. a supervisory control system upgrade method, is characterized in that, comprising:
When needing to upgrade to the supervisory control system of watch-dog, determine whether the running status of described watch-dog is starting state;
When described watch-dog is in starting state, upgraded by the supervisory control system of upgrade software to current use of the described supervisory control system downloaded;
When described watch-dog is not in starting state, controls described watch-dog and enter starting state, and upgraded by the supervisory control system of upgrade software to described current use of the described supervisory control system downloaded.
2. the method for claim 1, is characterized in that, determining needs the supervisory control system to watch-dog to upgrade, and specifically comprises:
After the upgrade notification of supervisory control system receiving watch-dog, when the current version of the supervisory control system of the latest version information of carrying in described upgrade notification and current use does not mate, determine to need to upgrade to the supervisory control system of described watch-dog; Or
After the upgrade notification of supervisory control system receiving watch-dog, when the current version of the supervisory control system of the latest version information of carrying in described upgrade notification and current use does not mate, and carry and represent that latest edition is when being the information of master version, determine to need to upgrade to the supervisory control system of described watch-dog.
3. method as claimed in claim 2, is characterized in that, also comprise:
When the current version of the supervisory control system of the latest version information of carrying in described upgrade notification and current use does not mate, and carry when representing that latest edition is the information of insignificant version, the user to described watch-dog sends the scalable prompting of supervisory control system.
4. the method for claim 1, is characterized in that, when described watch-dog is not in starting state, controls described watch-dog and enters starting state, specifically comprise:
User to described watch-dog sends watch-dog Restart Request, for asking the time of restarting described watch-dog; Receive the Restart Request response that described user returns; Respond the reboot time carried according to described Restart Request, described watch-dog is restarted, make described watch-dog enter starting state; Or
When the current operating state of described watch-dog is default operating condition, after work at present terminates, described watch-dog is restarted, make described watch-dog enter starting state; Or
At Preset Time, described watch-dog is restarted, make described watch-dog enter starting state.
5. the method for claim 1, is characterized in that, when described watch-dog is not in starting state, controls described watch-dog and enters starting state, specifically comprise:
User to described watch-dog sends watch-dog Restart Request, for asking the time of restarting described watch-dog;
When receiving the Restart Request response that described user returns within the default time for replying, responding the reboot time carried according to described Restart Request, described watch-dog is restarted, making described watch-dog enter starting state;
When not receiving the Restart Request response that described user returns within the default time for replying, determine whether the current operating state of described watch-dog is default operating condition;
If the current operating state of described watch-dog is default operating condition, after work at present terminates, described watch-dog is restarted, make described watch-dog enter starting state;
If the current operating state of described watch-dog is not default operating condition, described watch-dog is restarted, make described watch-dog enter starting state.
6. the method for claim 1, is characterized in that, when described watch-dog is not in starting state, controls described watch-dog and enters starting state, specifically comprise:
User to described watch-dog sends watch-dog Restart Request, for asking the time of restarting described watch-dog;
When receiving the Restart Request response that described user returns within the default time for replying, responding the reboot time carried according to described Restart Request, described watch-dog is restarted, making described watch-dog enter starting state;
When not receiving the Restart Request response that described user returns within the default time for replying, at Preset Time, described watch-dog being restarted, making described watch-dog enter starting state.
7. the method for claim 1, is characterized in that, when described watch-dog is not in starting state, controls described watch-dog and enters starting state, specifically comprise:
When the current operating state of described watch-dog is default operating condition, determine work at present terminate after time whether in Preset Time; If the time after described work at present terminates, in Preset Time, restarts described watch-dog, described watch-dog is made to enter starting state; If the time after described work at present terminates is not in Preset Time, the user to described watch-dog sends watch-dog Restart Request, for asking the time of restarting described watch-dog; Receive the Restart Request response that described user returns; Respond the reboot time carried according to described Restart Request, described watch-dog is restarted, make described watch-dog enter starting state;
When the current operating state of described watch-dog is not default operating condition, determine current time whether in Preset Time; If described current time is in Preset Time, described watch-dog is restarted, make described watch-dog enter starting state; If described current time is not in Preset Time, the user to described watch-dog sends watch-dog Restart Request, for asking the time of restarting described watch-dog; Receive the Restart Request response that described user returns; Respond the reboot time carried according to described Restart Request, described watch-dog is restarted, make described watch-dog enter starting state.
8. a supervisory control system update device, is characterized in that, comprising:
Status determining unit, for when needing to upgrade to the supervisory control system of watch-dog, determines whether the running status of described watch-dog is starting state;
First upgrade unit, for when described watch-dog is in starting state, is upgraded by the supervisory control system of upgrade software to current use of the described supervisory control system downloaded;
Second upgrade unit, for when described watch-dog is not in starting state, controls described watch-dog and enters starting state, and is upgraded by the supervisory control system of upgrade software to described current use of the described supervisory control system downloaded.
9. device as claimed in claim 8, is characterized in that, also comprise:
Upgrading determining unit, for after the upgrade notification of supervisory control system receiving watch-dog, when the current version of the supervisory control system of the latest version information of carrying in described upgrade notification and current use does not mate, determine to need to upgrade to the supervisory control system of described watch-dog; Or
After the upgrade notification of supervisory control system receiving watch-dog, when the current version of the supervisory control system of the latest version information of carrying in described upgrade notification and current use does not mate, and carry and represent that latest edition is when being the information of master version, determine to need to upgrade to the supervisory control system of described watch-dog.
10. device as claimed in claim 9, it is characterized in that, described upgrading determining unit, current version also for the supervisory control system when the latest version information of carrying in described upgrade notification and current use does not mate, and carry and represent that latest edition is when being the information of insignificant version, the user to described watch-dog sends the scalable prompting of supervisory control system.
11. devices as claimed in claim 8, is characterized in that, described second upgrade unit, specifically for sending watch-dog Restart Request to the user of described watch-dog, for asking the time of restarting described watch-dog; Receive the Restart Request response that described user returns; Respond the reboot time carried according to described Restart Request, described watch-dog is restarted, make described watch-dog enter starting state; Or
When the current operating state of described watch-dog is default operating condition, after work at present terminates, described watch-dog is restarted, make described watch-dog enter starting state; Or
At Preset Time, described watch-dog is restarted, make described watch-dog enter starting state.
12. devices as claimed in claim 8, is characterized in that, described second upgrade unit, specifically for sending watch-dog Restart Request to the user of described watch-dog, for asking the time of restarting described watch-dog; When receiving the Restart Request response that described user returns within the default time for replying, responding the reboot time carried according to described Restart Request, described watch-dog is restarted, making described watch-dog enter starting state; When not receiving the Restart Request response that described user returns within the default time for replying, determine whether the current operating state of described watch-dog is default operating condition; If when the current operating state of described watch-dog is default operating condition, after work at present terminates, described watch-dog is restarted, make described watch-dog enter starting state; If when the current operating state of described watch-dog is not default operating condition, restarted described watch-dog, described watch-dog is made to enter starting state.
13. devices as claimed in claim 8, is characterized in that, described second upgrade unit, specifically for sending watch-dog Restart Request to the user of described watch-dog, for asking the time of restarting described watch-dog; When receiving the Restart Request response that described user returns within the default time for replying, responding the reboot time carried according to described Restart Request, described watch-dog is restarted, making described watch-dog enter starting state; When not receiving the Restart Request response that described user returns within the default time for replying, at Preset Time, described watch-dog being restarted, making described watch-dog enter starting state.
14. devices as claimed in claim 8, is characterized in that, described second upgrade unit, specifically for when the current operating state of described watch-dog is default operating condition, determine work at present terminate after time whether in Preset Time; If the time after described work at present terminates, in Preset Time, restarts described watch-dog, described watch-dog is made to enter starting state; If the time after described work at present terminates is not in Preset Time, the user to described watch-dog sends watch-dog Restart Request, for asking the time of restarting described watch-dog; Receive the Restart Request response that described user returns; Respond the reboot time carried according to described Restart Request, described watch-dog is restarted, make described watch-dog enter starting state; When the current operating state of described watch-dog is not default operating condition, determine current time whether in Preset Time; If described current time is in Preset Time, described watch-dog is restarted, make described watch-dog enter starting state; If described current time is not in Preset Time, the user to described watch-dog sends watch-dog Restart Request, for asking the time of restarting described watch-dog; Receive the Restart Request response that described user returns; Respond the reboot time carried according to described Restart Request, described watch-dog is restarted, make described watch-dog enter starting state.
CN201310442621.0A 2013-09-25 2013-09-25 A kind of monitoring system upgrade method and device Active CN104469278B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310442621.0A CN104469278B (en) 2013-09-25 2013-09-25 A kind of monitoring system upgrade method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310442621.0A CN104469278B (en) 2013-09-25 2013-09-25 A kind of monitoring system upgrade method and device

Publications (2)

Publication Number Publication Date
CN104469278A true CN104469278A (en) 2015-03-25
CN104469278B CN104469278B (en) 2018-05-01

Family

ID=52914554

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310442621.0A Active CN104469278B (en) 2013-09-25 2013-09-25 A kind of monitoring system upgrade method and device

Country Status (1)

Country Link
CN (1) CN104469278B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106990948A (en) * 2016-10-14 2017-07-28 深圳大宇无限科技有限公司 Application upgrade treating method and apparatus
CN108572839A (en) * 2018-07-12 2018-09-25 四川虹美智能科技有限公司 Intelligent refrigerator system upgrade method, system, intelligent refrigerator and cloud server
CN108693865A (en) * 2017-04-03 2018-10-23 阿自倍尔株式会社 Monitoring system, device and engineering tools
CN110177022A (en) * 2019-06-28 2019-08-27 武汉虹信通信技术有限责任公司 Tree-like optical fiber distribution system the whole network upgrade control method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1464394A (en) * 2002-06-21 2003-12-31 深圳市中兴通讯股份有限公司 Software online updating process
CN1858707A (en) * 2006-03-28 2006-11-08 华为技术有限公司 Automatic loading method for movable terminal software
CN101184212A (en) * 2007-11-01 2008-05-21 中兴通讯股份有限公司 Method to update monitoring front end of video monitoring system
US20100122246A1 (en) * 2007-05-21 2010-05-13 Lieven Gesquiere Robust firmware upgrade in a network terminal
CN101778022A (en) * 2009-01-12 2010-07-14 华为终端有限公司 Method and device for software management of universal plug and play equipment
CN101827126A (en) * 2010-03-11 2010-09-08 青岛海信电器股份有限公司 Software upgrade method of television terminal, television terminal and software upgrade system
CN102184111A (en) * 2011-04-29 2011-09-14 杭州海康威视数字技术股份有限公司 Online upgrade method for operating system and device with operating system
CN102945177A (en) * 2012-11-16 2013-02-27 深圳市汇川控制技术有限公司 Programmable logic controller (PLC) firmware upgrading system and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1464394A (en) * 2002-06-21 2003-12-31 深圳市中兴通讯股份有限公司 Software online updating process
CN1858707A (en) * 2006-03-28 2006-11-08 华为技术有限公司 Automatic loading method for movable terminal software
US20100122246A1 (en) * 2007-05-21 2010-05-13 Lieven Gesquiere Robust firmware upgrade in a network terminal
CN101184212A (en) * 2007-11-01 2008-05-21 中兴通讯股份有限公司 Method to update monitoring front end of video monitoring system
CN101778022A (en) * 2009-01-12 2010-07-14 华为终端有限公司 Method and device for software management of universal plug and play equipment
CN101827126A (en) * 2010-03-11 2010-09-08 青岛海信电器股份有限公司 Software upgrade method of television terminal, television terminal and software upgrade system
CN102184111A (en) * 2011-04-29 2011-09-14 杭州海康威视数字技术股份有限公司 Online upgrade method for operating system and device with operating system
CN102945177A (en) * 2012-11-16 2013-02-27 深圳市汇川控制技术有限公司 Programmable logic controller (PLC) firmware upgrading system and method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106990948A (en) * 2016-10-14 2017-07-28 深圳大宇无限科技有限公司 Application upgrade treating method and apparatus
CN108693865A (en) * 2017-04-03 2018-10-23 阿自倍尔株式会社 Monitoring system, device and engineering tools
CN108572839A (en) * 2018-07-12 2018-09-25 四川虹美智能科技有限公司 Intelligent refrigerator system upgrade method, system, intelligent refrigerator and cloud server
CN110177022A (en) * 2019-06-28 2019-08-27 武汉虹信通信技术有限责任公司 Tree-like optical fiber distribution system the whole network upgrade control method and device
CN110177022B (en) * 2019-06-28 2022-05-20 武汉信科移动通信技术有限公司 Whole-network upgrading control method and device for tree-shaped optical fiber distribution system

Also Published As

Publication number Publication date
CN104469278B (en) 2018-05-01

Similar Documents

Publication Publication Date Title
US8978025B2 (en) Server and method for updating firmware of server
CN107066305B (en) Method and device for updating server firmware of server and server
CN112118318B (en) Vehicle upgrading method, terminal device, vehicle and computer storage medium
CN108170451B (en) Method and system for controlling BIOS version upgrading by server BMC
CN105517015A (en) Upgrading method, device of wifi product by over the air OTA and terminal
CN105763345A (en) Network element upgrade management method, device and system
CN113064619A (en) Firmware upgrading method, device, system, equipment and storage medium
CN104469278A (en) Method and device for upgrading monitoring system
CN104102501A (en) Mobile terminal and upgrading method thereof
CN112394957A (en) Server upgrading method and device, server and storage medium
CN106557362B (en) Task migration method and system applied to intelligent robot
US20170199733A1 (en) Method for terminal to update operating system, terminal and system
CN104506604A (en) Vehicle-mounted terminal automatic remote upgrading method
CN104811347A (en) Software updating method, monitoring module, rectifying module and system
CN104468671B (en) A kind of configuring information processing method, device and relevant device
KR102109125B1 (en) Method for managing state of ECU in vehicle based on automotive open system architecture
CN108011750B (en) Firmware upgrading method for communication module in centralized meter reading system
CN112152832B (en) Management object processing method and device, related equipment and storage medium
CN104348646A (en) Configuration data processing method, device and system
CN114124698A (en) Upgrading method, device and system of power distribution automation terminal operation system based on cloud master station
CN114610446A (en) Method, device and system for automatically injecting probe
CN114090050A (en) Robot software remote automatic updating method, system and related products
CN114442765A (en) Fan control method for computer equipment, baseboard management controller and storage medium
CN103488503B (en) Oftware updating method and device
CN108848182B (en) Updating method of BMC firmware, related equipment and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant