CN114584539B - Cloud upgrading method and system for industrial field device - Google Patents

Cloud upgrading method and system for industrial field device Download PDF

Info

Publication number
CN114584539B
CN114584539B CN202111630785.7A CN202111630785A CN114584539B CN 114584539 B CN114584539 B CN 114584539B CN 202111630785 A CN202111630785 A CN 202111630785A CN 114584539 B CN114584539 B CN 114584539B
Authority
CN
China
Prior art keywords
upgrade
upgrading
equipment
judgment result
time
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.)
Active
Application number
CN202111630785.7A
Other languages
Chinese (zh)
Other versions
CN114584539A (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.)
Shanghai Flexem Technology Co ltd
Original Assignee
Shanghai Flexem 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 Shanghai Flexem Technology Co ltd filed Critical Shanghai Flexem Technology Co ltd
Priority to CN202111630785.7A priority Critical patent/CN114584539B/en
Publication of CN114584539A publication Critical patent/CN114584539A/en
Application granted granted Critical
Publication of CN114584539B publication Critical patent/CN114584539B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/658Incremental updates; Differential updates
    • 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to the technical field of industrial equipment management, in particular to a cloud upgrade method and a cloud upgrade system for industrial field equipment. In addition, different network environments can be satisfied as different upgrade package transmission modes are performed according to whether an upper computer exists. The upgrade package of a part of equipment is sent by the upper computer, compared with a mode of directly obtaining only from the cloud, the number of communication connections of the cloud can be reduced, the overall transmission efficiency of the upgrade package is improved, and therefore the effect that equipment upgrade can be conveniently, effectively and remotely performed on industrial field equipment is achieved.

Description

Cloud upgrading method and system for industrial field device
Technical Field
The application relates to the technical field of industrial equipment management, in particular to a cloud upgrade method and system for industrial field equipment.
Background
With the tremendous investment in national infrastructure and the development of the transportation industry, the networking of industrial equipment is increasingly being used, and equipment sold by equipment manufacturers is often distributed throughout the country and even around the world. However, as the number of devices increases and the range of applications increases, the need for individual device manufacturers to upgrade the industrial field devices accordingly is also forced to increase the effectiveness of the industrial field devices and extend their life cycle.
However, when industrial field devices need to be upgraded, especially when software or programs special for the devices need to be upgraded, the industrial field devices are generally solved on site by professional engineers, and the following processes are needed: the field personnel make a call to report the repair, the engineer is assigned to the field to upgrade the equipment through the man-machine interaction equipment, and the engineer returns after finishing the equipment. In addition, in the process that engineers rush to the field, the equipment is still in an un-upgraded state, so that operation or inconsistent effects caused by the before and after upgrading are avoided, the equipment needs to be stopped for waiting until the upgrading is finished, and the working efficiency of the industrial field equipment is affected.
The traditional manual field upgrading can not meet the requirements far, and the high labor cost and maintenance cost gradually become the pressure of enterprise development, so that the cloud upgrading method and system for the industrial field device, which are convenient, quick and effective and can remotely perform equipment upgrading, are the problems to be solved by the technical function of the technical staff in the field.
Disclosure of Invention
In order to be convenient and effective and remotely upgrade the industrial field device, the application provides a cloud upgrade method and a cloud upgrade system for the industrial field device.
The application provides a cloud upgrade method of industrial field equipment, which comprises the following steps:
acquiring a device list of the industrial field device;
acquiring equipment labels of all the equipment in the equipment list;
acquiring an upgrade list stored in a cloud;
judging whether the equipment label exists in the upgrading list or not as a first judging result;
if the first judgment result is yes, acquiring an upgrade version number corresponding to the equipment label from the upgrade list;
acquiring a current version number corresponding to the equipment label from the equipment list;
judging whether the upgrade version number is larger than the current version number or not, and taking the upgrade version number as a second judging result;
If the second judgment result is yes, judging whether the equipment label has a corresponding upper computer label or not as a third judgment result;
if the third judgment result is yes, acquiring an upgrade package corresponding to the upgrade version number from the cloud end and sending the upgrade package to an upper computer corresponding to the upper computer label;
the upgrade package is sent to industrial field equipment corresponding to the equipment label through the upper computer;
and if the third judging result is negative, acquiring an upgrade package corresponding to the upgrade version number from the cloud and sending the upgrade package to the industrial field device corresponding to the device label.
Through the technical scheme, the equipment labels in the upgrade list are used as pre-upgrade equipment, the upgrade version number corresponding to the pre-upgrade equipment and the current version number of the pre-upgrade equipment are judged, and the upgrade package corresponding to the upgrade version number greater than the current version number is used as an actual upgrade package, so that industrial field equipment needing to be upgraded can remotely acquire an effective new version upgrade package. In addition, different network environments can be satisfied as different upgrade package transmission modes are performed according to whether an upper computer exists. The upgrade package of a part of equipment is sent through the upper computer, compared with a mode of only directly obtaining from the cloud, the quantity of communication connection of the cloud can be reduced, the data transmission occupancy rate of the cloud is reduced, the short-distance direct advantage of the upper computer and the industrial field equipment can be effectively utilized, the overall transmission efficiency of the upgrade package is improved, and therefore the effect of conveniently, effectively and remotely upgrading the industrial field equipment is achieved.
Preferably, after the step of obtaining the upgrade list stored in the cloud end, the method further includes the following steps:
acquiring the upgrade request time in the upgrade list;
judging whether the difference between the upgrading request time and the current time is larger than a preset upgrading time threshold value or not, and taking the difference as a fourth judging result;
if the fourth judgment result is yes, acquiring the equipment label corresponding to the upgrading request time in the upgrading list;
loading the corresponding upgrade package from the upgrade server to the cloud according to the equipment label;
if the fourth judgment result is negative, updating the upgrading request times corresponding to the upgrading request time in the upgrading list;
and if the upgrade request times are greater than a preset request times threshold, outputting reminding information.
Through the technical scheme, whether the difference between the upgrading request time and the current time is larger than a preset upgrading time threshold value is judged, whether the upgrading package is loaded to the cloud is selected according to the judging result, the priority upgrading of each upgrading package is realized according to the upgrading request time, and for other upgrading requests which are not in the priority upgrading at this time, corresponding sorting is carried out according to the upgrading request times, so that upgrading priority sorting of another dimension is achieved, different upgrading requirements are met, and the quantity control of the upgrading packages loaded in the unit time of the cloud is further realized.
Preferably, the method further comprises the following steps:
if the first judgment result is negative, recording the generation time of the first judgment result as the upgrading request time;
acquiring upgrading time corresponding to the last upgrading of the equipment label from the equipment list;
judging whether the difference between the upgrading request time and the upgrading time is larger than the upgrading time threshold value or not as a fifth judging result;
if the fifth judging result is yes, adding the equipment label and the corresponding upgrading request time in the upgrading list.
According to the technical scheme, the industrial field devices which are not corresponding to the device labels in the upgrading list at this time are added into the upgrading list according to the judging result of whether the difference between the upgrading request time at this time and the last upgrading time is larger than the upgrading time threshold value or not, so that the upgrading conditions of all the industrial field devices are completely counted, and the condition record of the devices which are not involved in the upgrading is realized.
Preferably, the method further comprises the following steps:
acquiring a work schedule of industrial field equipment;
acquiring the gap time in the work schedule;
Forming a gap list which is arranged in sequence according to the difference degree between the interval time and the current time, wherein the sequence number is in direct proportion to the difference degree;
taking the interval time corresponding to the smallest sequence number in the gap list as comparison time;
judging whether the upgrading duration of the upgrading packet is smaller than the duration of the comparison time or not, and taking the upgrading duration of the upgrading packet as a sixth judging result;
if the sixth judgment result is yes, the upgrade package is operated in the interval time corresponding to the comparison time;
and if the sixth judgment result is negative, taking the interval time corresponding to the next sequence number as the new comparison time, and re-acquiring the sixth judgment result.
By means of the technical scheme, the upgrading duration is compared with the gap time in the working schedule, the fact that the time for running the upgrading package is corresponding to the gap time is guaranteed, the running upgrading package avoids the current work or other expected works in the working schedule, and the influence degree of upgrading on the work of the industrial field equipment is reduced.
Preferably, before the step of obtaining the gap time in the work schedule, the method further comprises the following steps:
acquiring the next planned work in the work schedule according to the current work of the industrial field device;
Acquiring an upgrade type corresponding to the upgrade package;
judging whether the upgrading type is matched with the work type of the planned work or not, and taking the upgrading type as a seventh judgment result;
if the seventh judgment result is yes, the upgrade package is operated after the current work is finished;
if the seventh judgment result is negative, the next step is carried out.
By the technical scheme, whether the upgrading type is matched with the working type of the planned work is judged, whether the upgrading package is operated after the current work is finished is determined according to the judging result, so that the industrial field device can finish corresponding upgrading before the working type corresponding to the upgrading package is carried out, the next corresponding working plan is ensured after the corresponding upgrading is finished, and the timeliness of upgrading the industrial field device is improved.
Preferably, the method further comprises the following steps:
acquiring a check code of the upgrade package on the industrial field device;
judging whether the check code is matched with a preset check code of the upgrade package or not, and taking the check code and the preset check code as an eighth judging result;
if the eighth judgment result is yes, the upgrade package is operated;
and if the eighth judging result is negative, re-acquiring the upgrade package according to the upgrade package acquisition path.
Through the technical scheme, whether the check code of the upgrade package is matched with the preset check code is judged, if so, the upgrade package is directly operated, and if not, the upgrade package is obtained again, so that the upgrade package operated by upgrade is ensured to be a complete upgrade package or a correct upgrade package, and upgrade failure or other adverse effects caused by error upgrade package formed by errors in the downloading or receiving process are avoided.
Preferably, the method further comprises the following steps:
backing up the current operating environment of the industrial field device as a backup system;
running the upgrade package on an industrial field device;
judging whether the upgrade package is loaded completely or not, and taking the upgrade package as a ninth judgment result;
if the ninth judgment result is yes, judging whether the working state of the industrial field device is normal or not, and taking the working state as a tenth judgment result;
if the tenth judgment result is yes, deleting the backup system;
if the tenth judgment result is negative, restoring the current running environment of the industrial field device according to the backup system;
if the ninth judgment result is negative, judging whether the upgrade package loading is suspended or not as an eleventh judgment result;
if the eleventh judgment result is yes, clearing the hung loading upgrading packet and rerun the upgrading packet;
And if the eleventh judgment result is negative, re-acquiring the upgrade package according to the upgrade package acquisition path, and re-acquiring the ninth judgment result.
By the technical scheme, whether the working state of the industrial field device is normal or not is judged, whether the loading of the upgrade package is suspended or not is judged, whether the operation environment before the upgrade is restored according to the backup system or the upgrade package is acquired again is selected according to different judging results, the restoration processing of the operation environment of the industrial field device during the abnormal upgrade is realized, and the equipment operation fault or the abnormal work plan caused by the failure of the upgrade is avoided.
Preferably, the backup of the current operating environment of the industrial field device as a backup system comprises the following steps:
judging the upgrade type of the upgrade package as a twelfth judgment result;
if the twelfth judgment result is incremental upgrade, acquiring an upgrade difference file of the upgrade package;
backing up the environment file corresponding to the upgrading difference file as the backup system;
and if the twelfth judging result is overall upgrade, backing up the current running environment as the backup system.
According to the technical scheme, the upgrade type of the upgrade package is judged, different files are selected as components of the backup system according to different upgrade types, the environmental files involved in backup and restoration can be reduced to a certain extent, and the processing efficiency of backup and restoration is improved.
Meanwhile, the application also provides a cloud upgrade system of the industrial field device, which comprises:
the device list acquisition module is used for acquiring a device list of the industrial field device;
the equipment label acquisition module is used for acquiring equipment labels of all the equipment in the equipment list;
the upgrade list acquisition module is used for acquiring an upgrade list stored in the cloud;
the first judging module is used for judging whether the equipment label exists in the upgrading list or not and is used as a first judging result;
the upgrade version acquisition module is used for acquiring an upgrade version number corresponding to the equipment label from the upgrade list if the first judgment result is yes;
a current version acquisition module, configured to acquire a current version number corresponding to the device number from the device list;
the second judging module is used for judging whether the upgrade version number is larger than the current version number or not and used as a second judging result;
The third judging module is used for judging whether the equipment label has a corresponding upper computer label or not if the second judging result is yes, and the equipment label is used as a third judging result;
the upgrade package acquisition module is used for acquiring an upgrade package corresponding to the upgrade version number from the cloud and sending the upgrade package to an upper computer corresponding to the upper computer label if the third judgment result is yes;
the upgrade package sending module is used for sending the upgrade package to the industrial field device corresponding to the device label through the upper computer;
and if the third judgment result is negative, the upgrade package sending module is further configured to obtain an upgrade package corresponding to the upgrade version number from the cloud end, and send the upgrade package to the industrial field device corresponding to the device label.
Through the technical scheme, the equipment labels in the upgrade list are used as pre-upgrade equipment, the upgrade version number corresponding to the pre-upgrade equipment and the current version number of the pre-upgrade equipment are judged, and the upgrade package corresponding to the upgrade version number greater than the current version number is used as an actual upgrade package, so that industrial field equipment needing to be upgraded can remotely acquire an effective new version upgrade package. In addition, different network environments can be satisfied as different upgrade package transmission modes are performed according to whether an upper computer exists. The upgrade package of a part of equipment is sent through the upper computer, compared with a mode of only directly obtaining from the cloud, the quantity of communication connection of the cloud can be reduced, the data transmission occupancy rate of the cloud is reduced, the short-distance direct advantage of the upper computer and the industrial field equipment can be effectively utilized, the overall transmission efficiency of the upgrade package is improved, and therefore the effect of conveniently, effectively and remotely upgrading the industrial field equipment is achieved.
Preferably, the method further comprises:
the upgrade request time module is used for acquiring the upgrade request time in the upgrade list;
a fourth judging module, configured to judge whether a difference between the upgrade request time and the current time is greater than a preset upgrade time threshold, as a fourth judging result;
if the fourth judgment result is yes, the equipment label obtaining module is further configured to obtain the equipment label corresponding to the upgrade request time in the upgrade list;
the cloud loading module is used for loading the corresponding upgrade package from the upgrade server to the cloud according to the equipment label;
the request number updating module is used for updating the update request number corresponding to the update request time in the update list if the fourth judging result is negative;
and the information output module is used for outputting reminding information if the upgrading request times are larger than a preset request times threshold value.
Through the technical scheme, whether the difference between the upgrading request time and the current time is larger than a preset upgrading time threshold value is judged, whether the upgrading package is loaded to the cloud is selected according to the judging result, the priority upgrading of each upgrading package is realized according to the upgrading request time, and for other upgrading requests which are not in the priority upgrading at this time, corresponding sorting is carried out according to the upgrading request times, so that upgrading priority sorting of another dimension is achieved, different upgrading requirements are met, and the quantity control of the upgrading packages loaded in the unit time of the cloud is further realized.
In summary, according to the cloud upgrade method and system for the industrial field device provided by the application, the upgrade package corresponding to the upgrade version number larger than the current version number is used as the actual upgrade package, so that the industrial field device to be upgraded can remotely acquire and acquire the effective new version upgrade package. Meanwhile, different upgrade package sending modes are carried out according to whether an upper computer exists or not, so that different network environments can be met. The upgrade package of a part of equipment is sent through the upper computer, compared with a mode of only directly obtaining from the cloud, the quantity of communication connection of the cloud can be reduced, the data transmission occupancy rate of the cloud is reduced, the short-distance direct advantage of the upper computer and the industrial field equipment can be effectively utilized, the overall transmission efficiency of the upgrade package is improved, and therefore the effect of conveniently, effectively and remotely upgrading the industrial field equipment is achieved.
Drawings
FIG. 1 is a flow chart of one implementation of a cloud upgrade method for an industrial field device according to an embodiment of the present application;
FIG. 2 is a flow chart of one implementation of a cloud upgrade method for an industrial field device according to an embodiment of the present application;
FIG. 3 is a flow chart of one implementation of a cloud upgrade method for an industrial field device according to an embodiment of the present application;
FIG. 4 is a flow chart of one implementation of a cloud upgrade method for an industrial field device according to an embodiment of the present application;
FIG. 5 is a flowchart of steps S61 to S64 in one implementation of a cloud upgrade method for industrial field devices according to an embodiment of the present application;
FIG. 6 is a flow chart of one implementation of a cloud upgrade method for an industrial field device according to an embodiment of the present application;
fig. 7 is a flow chart of one implementation of a cloud upgrade method of an industrial field device according to an embodiment of the present application.
Detailed Description
In order to make the technical solution of the present application better understood by those skilled in the art, the technical solution of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
The embodiment of the application provides a cloud upgrade method of industrial field equipment, which is shown in fig. 1 and comprises the following steps:
S1, acquiring a device list of industrial field devices;
s2, obtaining equipment labels of all the equipment in the equipment list;
s3, acquiring an upgrade list stored in a cloud;
s4, judging whether the equipment label exists in the upgrading list or not as a first judging result;
s5, if the first judgment result is yes, acquiring an upgrade version number corresponding to the equipment label from the upgrade list;
s6, acquiring a current version number corresponding to the equipment label from the equipment list;
s7, judging whether the upgrade version number is larger than the current version number or not, and taking the upgrade version number as a second judging result;
s8, if the second judgment result is yes, judging whether the equipment label has a corresponding upper computer label or not, and taking the equipment label as a third judgment result;
s9, if the third judgment result is yes, acquiring an upgrade package corresponding to the upgrade version number from the cloud end and sending the upgrade package to an upper computer corresponding to the upper computer label;
s10, sending an upgrade package to industrial field equipment corresponding to the equipment label through an upper computer;
s11, if the third judging result is negative, acquiring an upgrade package corresponding to the upgrade version number from the cloud and sending the upgrade package to industrial field equipment corresponding to the equipment label.
In practical use, the device list in step S1 refers to a list including the device number, the current version number, and other information of the industrial field device, where the device number, the current version number are in a corresponding relationship.
The upgrade list in step S3 refers to a list stored in the cloud and including the device number, upgrade version number and other information of the industrial field device related to the upgrade, where the device number and upgrade version number are corresponding relations.
The current version number and the upgrade version number refer to the version numbers of various programs such as a driver, a firmware program, an application program and the like of the industrial field device, and generally the upgrade version number is greater than or equal to the current version number, for example, the upgrade version number is 3.14, the current version number may be 3.14 or 3.10, and the like, and the step S7 of judging whether the upgrade version number is greater than the current version number can be understood as judging whether the value corresponding to the upgrade version number is greater than the value of the current version number.
Of course, one device number may correspond to multiple current version numbers or upgrade version numbers, that is, the driver, the firmware program, and the application program all have respective current version numbers or upgrade version numbers, or the driver, the firmware program, and the application program may share one current version number or upgrade version number, which may be specifically selected according to actual needs.
In step S4, whether the device label exists in the upgrade list is determined to be whether the device label is judged in the upgrade list, if the device label exists in the upgrade list, step S5 is executed, that is, an upgrade version number corresponding to the device label is obtained from the upgrade list, and then the upgrade version number is compared with the current version number obtained in step S6, that is, step S7. If the number is larger than the current version number, indicating that the industrial field equipment corresponding to the equipment label has a new upgrade version, at this time, performing step S8 to judge that the industrial field equipment has a corresponding upper computer label, if the industrial field equipment has a corresponding upper computer, executing step S9, acquiring a corresponding upgrade package from a cloud and sending the upgrade package to the upper computer corresponding to the upper computer label, and then sending the upgrade package to the corresponding industrial field equipment through the upper computer, namely, step S10; if no corresponding upper computer label exists, step S11 is executed, and a corresponding upgrade package is obtained from the cloud and directly sent to the industrial field device.
It should be noted that, the upper computer in this embodiment refers to an upper computer connected to one or more industrial field devices connected in a preset range, for example, a common local area network or a common network, where the upper computer may be a data server, a file server with a data transmission function, or even a router with a storage space, so long as the device can perform data transmission with the industrial field devices and can simultaneously communicate with the cloud, and the device is not particularly limited in practical use.
Therefore, as a plurality of industrial field devices are simultaneously connected with the upper computer, a common local area network or a common network is adopted between the industrial field devices, and the upper computer can be connected with the cloud through a high-speed optical fiber network or a virtual private network, but the two modes have high speed or high safety, but the cost of the industrial field devices is synchronously increased according to the increase of the bandwidth. Therefore, the upgrade package is obtained by the upper computer and then is sent to a plurality of industrial field devices through a common local area network or a common network connection with lower cost, so that the cost consumption can be reduced on the premise of obtaining the upgrade package by the cloud.
Through the technical scheme, the equipment labels in the upgrade list are used as the pre-upgrade equipment, the upgrade version number corresponding to the pre-upgrade equipment and the current version number of the pre-upgrade equipment are judged, and the upgrade version number is larger than the upgrade package corresponding to the current version number, so that the industrial field equipment needing to be upgraded can remotely acquire the effective new version upgrade package. In addition, different network environments can be satisfied as different upgrade package transmission modes are performed according to whether an upper computer exists. The upgrade package of a part of equipment is sent through the upper computer, compared with a mode of only directly obtaining from the cloud, the quantity of communication connection of the cloud can be reduced, the data transmission occupancy rate of the cloud is reduced, the short-distance direct advantage of the upper computer and the industrial field equipment can be effectively utilized, the overall transmission efficiency of the upgrade package is improved, and therefore the effect of conveniently, effectively and remotely upgrading the industrial field equipment is achieved.
In one implementation manner of this embodiment, as shown in fig. 2, after step S3, the step of obtaining the upgrade list stored in the cloud end further includes the following steps:
s21, acquiring upgrading request time in an upgrading list;
S22, judging whether the difference between the upgrading request time and the current time is larger than a preset upgrading time threshold value or not, and taking the difference as a fourth judging result;
s23, if the fourth judgment result is yes, acquiring the equipment label corresponding to the upgrade request time in the upgrade list;
s24, loading a corresponding upgrade package from an upgrade server to the cloud end according to the equipment label;
s25, if the fourth judgment result is negative, updating the upgrading request times corresponding to the upgrading request time in the upgrading list;
s26, outputting reminding information if the upgrade request times are larger than a preset request times threshold value.
In practical use, the upgrade request time in step S21 refers to the formation time of the upgrade package corresponding to each equipment label, and the formation time of each upgrade package may be different.
The current time in step S22 is the current specific time when step S22 is performed, the difference between the upgrade request time and the current time is the absolute value of the subtraction of the two, and the upgrade time threshold is preset.
The number of upgrade requests in step S25 is that when the difference between the upgrade request time of the corresponding industrial field device and the current time is less than or equal to the preset upgrade time threshold, one upgrade request is recorded.
As can be seen from the above, the upgrade request time and the upgrade request times corresponding to different device labels are different, when the difference between the upgrade request time and the current time is greater than the upgrade time threshold, the upgrade request time is used as the first priority level of upgrade, and when the other device labels with the upgrade request times greater than the preset request times threshold, the device labels can output reminding information, which indicates that the device labels are the second priority level after the first priority level. In addition to both, a third priority level may be used as needed.
The first priority level is to load the upgrade package from the upgrade server and send the upgrade package to the cloud end, and the second priority level is to output reminding information first, and subsequent processing can be selected according to actual conditions. For example, under the condition that the upgrade server or the cloud end is sufficient in resources and bandwidth, the upgrade package of the second priority level can be loaded after the upgrade package of the first priority level is loaded.
Through the technical scheme, whether the difference between the upgrading request time and the current time is larger than a preset upgrading time threshold value is judged, whether the upgrading package is loaded to the cloud is selected according to the judging result, the priority upgrading of each upgrading package is realized according to the upgrading request time, and for other upgrading requests which are not in the priority upgrading at this time, corresponding sorting is carried out according to the upgrading request times, so that upgrading priority sorting of another dimension is achieved, different upgrading requirements are met, and the quantity control of the upgrading packages loaded in the unit time of the cloud is further realized.
In one implementation manner of this embodiment, as shown in fig. 3, the method further includes the following steps:
s31, if the first judgment result is negative, recording the generation time of the first judgment result as the upgrade request time;
s32, acquiring upgrading time corresponding to the last upgrading of the equipment label from the equipment list;
s33, judging whether the difference value between the upgrading request time and the upgrading time is larger than a upgrading time threshold value or not, and taking the difference value as a fifth judging result;
s34, if the fifth judging result is yes, adding the equipment label and the corresponding upgrading request time into the upgrading list.
In practical application, step S31 is to take the generation time of the first determination result as the upgrade request time when the first determination structure is no, i.e. the equipment label does not exist in the upgrade list, and execute step S32 to obtain the last upgrade time of the equipment label, compare the difference between the last upgrade time and the upgrade request time with a preset upgrade time threshold, i.e. step S33, and if the difference is greater than the upgrade time threshold, it indicates that the industrial field equipment corresponding to the equipment label has not been effectively upgraded for a longer time, so that the upgrade request time and the corresponding equipment label need to be listed in the upgrade list, so that the determination sequence of the priority level can be entered.
According to the technical scheme, the industrial field devices which are not corresponding to the device labels in the upgrading list at this time are added into the upgrading list according to the judging result of whether the difference between the upgrading request time at this time and the last upgrading time is larger than the upgrading time threshold value or not, so that the upgrading conditions of all the industrial field devices are completely counted, and the condition record of the devices which are not involved in the upgrading at this time is realized.
In one implementation manner of this embodiment, as shown in fig. 4, the method further includes the following steps:
s41, acquiring equipment labels of all equipment in the equipment list to acquire a working schedule of industrial field equipment;
s42, acquiring the gap time in the work schedule;
s43, forming a gap list which is arranged in sequence according to the difference degree between the interval time and the current time, wherein the sequence number is in direct proportion to the difference degree;
s44, taking the interval time corresponding to the minimum sequence number in the gap list as comparison time;
s45, judging whether the upgrading duration of the upgrading packet is smaller than the duration of the comparison time or not, and taking the upgrading duration as a sixth judging result;
s46, if the sixth judgment result is yes, running the upgrade package in the interval time corresponding to the comparison time;
S47, if the sixth judgment result is negative, the interval time corresponding to the next sequence number is taken as a new comparison time, and the sixth judgment result is obtained again.
In practical application, the work schedule in step S41 refers to names and corresponding time periods corresponding to respective works pre-stored in the industrial field device within a certain time period, and there is a certain retention time between each corresponding time period, i.e. the gap time in step S42.
The gap list in step S43 is a gap list based on the difference between the time of each gap and the current time, and can be understood as the distance from the current time, so that the gap list is formed by arranging the gap list based on the interval time according to the sequence. The interval time corresponding to the smallest sequence number in step S44 is the interval time closest to the current time, and is taken as the comparison time of the present comparison.
The upgrade duration in step S45 refers to the time required for all operations related to the operation of the upgrade package, including loading, executing, replacing, exiting, and cleaning the memory or space occupation.
If the upgrade duration is less than the comparison time duration, the step S46 is executed after all operation-related operations of the upgrade package are completed in the corresponding gap time, so that the influence on the equipment work during upgrade is avoided; if the upgrade time is longer than or equal to the comparison time, in order to avoid the influence on the operation of the device during the upgrade, step S47 is performed, in which the interval time corresponding to the next sequence number next to the previous sequence number is taken as the next, i.e. new comparison time, and step S45 is returned to compare with the upgrade time again, so as to update the sixth determination result, and thus, the subsequent processing is determined according to the updated sixth determination result.
By means of the technical scheme, the upgrading duration is compared with the gap time in the working schedule, the fact that the time for running the upgrading package is corresponding to the gap time is guaranteed, the running upgrading package avoids the current work or other expected works in the working schedule, and the influence degree of upgrading on the work of the industrial field equipment is reduced.
In one implementation manner of this embodiment, as shown in fig. 4, before step S42, that is, before acquiring the gap time in the working schedule, the method further includes the following steps:
s51, acquiring the next planned work in the work schedule according to the current work of the industrial field device;
s52, obtaining an upgrade type corresponding to the upgrade package;
s53, judging whether the upgrading type is matched with the work type of the planned work or not, and taking the upgrading type as a seventh judgment result;
s54, if the seventh judgment result is yes, operating the upgrade package after the current work is finished;
s55, if the seventh judgment result is negative, entering the next step.
In actual use, in step S51, the next scheduled work is acquired according to the work schedule and the current work, and the work type and the upgrade type acquired in step S52 are determined, i.e. step S53.
If the two match, it is indicated that the work type affected by this upgrade package corresponds to the work type of the next planned work, so step S54 is performed so that the upgrade package is run after the end of the current work, otherwise step S55 is performed.
By the technical scheme, whether the upgrading type is matched with the working type of the planned work is judged, whether the upgrading package is operated after the current work is finished is determined according to the judging result, so that the industrial field device can finish corresponding upgrading before the working type corresponding to the upgrading package is carried out, the next corresponding working plan is ensured after the corresponding upgrading is finished, and the timeliness of upgrading the industrial field device is improved.
In one implementation manner of this embodiment, as shown in fig. 5, the method further includes the following steps:
s61, acquiring a check code of an upgrade package on the industrial field device;
s62, judging whether the check code is matched with a preset check code of the upgrade package or not, and taking the check code as an eighth judgment result;
s63, if the eighth judgment result is yes, running an upgrade package;
s64, if the eighth judgment result is negative, the upgrade package is re-acquired according to the upgrade package acquisition path.
In practical application, because various reasons, such as network fluctuation, communication errors, packet transmission and the like, damage or abnormality of the downloaded or acquired upgrade packet can be caused, the check code of the upgrade packet is acquired through step S61, and then is matched with the preset check code, namely step S62, so that different subsequent operations are selected according to the judgment result, the upgrade packet is normally operated, and otherwise, the upgrade packet is reacquired according to the original acquisition path.
The type of the check code, the calculation mode or the matching mode can be selected according to actual needs, for example, common MD5 check is selected, which is not described here.
Through the technical scheme, whether the check code of the upgrade package is matched with the preset check code is judged, if so, the upgrade package is directly operated, and if not, the upgrade package is obtained again, so that the upgrade package operated by upgrade is ensured to be a complete upgrade package or a correct upgrade package, and upgrade failure or other adverse effects caused by error upgrade package formed by errors in the downloading or receiving process are avoided.
In one implementation manner of this embodiment, as shown in fig. 6, the method further includes the following steps:
s71, backing up the current operation environment of the industrial field device as a backup system;
s72, operating an upgrade package on industrial field equipment;
s73, judging whether the upgrade package is loaded completely or not, and taking the upgrade package as a ninth judgment result;
s74, if the ninth judgment result is yes, judging whether the working state of the industrial field device is normal or not, and taking the working state as a tenth judgment result;
s75, if the tenth judgment result is yes, deleting the backup system;
s76, if the tenth judgment result is negative, restoring the current running environment of the industrial field device according to the backup system;
S77, if the ninth judgment result is negative, judging whether the loading of the upgrade package is suspended or not, and taking the upgrade package as an eleventh judgment result;
s78, if the eleventh judgment result is yes, the hung loading upgrading packet is cleared, and the upgrading packet is restarted;
s79, if the eleventh judgment result is negative, the upgrade package is re-acquired according to the upgrade package acquisition path, and the ninth judgment result is re-acquired.
In practical application, the current running environment in step S71 refers to various running-related environment files such as system files, software or programs, firmware, etc. corresponding to the running of the industrial field device, and the backup system packages or compresses these environment files for backup and restore. And the loading in step S72 is completed, which means that the upgrade program corresponding to the upgrade package is completed.
Whether the operation state in step S74 is normal or not only indicates whether the device can normally operate as normal or not, and then the subsequent execution step is selected according to the operation state. If the operation is normal, the step S75 is executed to delete the backup system, so that the storage space is not occupied, otherwise, the step S76 is executed to restore the current operation environment to the operation environment before the upgrade package is loaded by using the backup system, so that the effective restoration can be realized after the upgrade fails, and the normal working operation is not influenced.
In order to avoid abnormal working state caused by suspended loading of the upgrade package, it is also necessary to determine whether the upgrade package is suspended, if so, step S78 is executed to clear the suspended loading upgrade package and rerun the upgrade package, otherwise step S79 is executed to retrieve the upgrade package again.
By the technical scheme, whether the working state of the industrial field device is normal or not is judged, whether the loading of the upgrade package is suspended or not is judged, whether the operation environment before the upgrade is restored according to the backup system or the upgrade package is acquired again is selected according to different judging results, the restoration processing of the operation environment of the industrial field device during the abnormal upgrade is realized, and the equipment operation fault or the abnormal work plan caused by the failure of the upgrade is avoided.
In one implementation manner of this embodiment, as shown in fig. 7, step S71, that is, backing up the current operating environment of the industrial field device, includes the following steps as a backup system:
s81, judging the upgrade type of the upgrade package, and taking the upgrade type as a twelfth judgment result;
s82, if the twelfth judgment result is incremental upgrade, obtaining an upgrade difference file of an upgrade package;
s83, backing up the environment files corresponding to the upgrading difference files to serve as a backup system;
S84, if the twelfth judgment result is overall upgrade, the current running environment is backed up and used as a backup system.
In practical use, the upgrade types in step S81 include incremental upgrade and overall upgrade, which may also be referred to as complete upgrade, i.e. all program files or environment files are replaced with corresponding files in the upgrade package, whereas incremental upgrade means that only files contained in the upgrade package need to be replaced, and these files are not all program or environment files. Therefore, after the step S82 determines that the incremental upgrade is performed, the step S83 is performed to backup only a part of the environment files, so as to reduce the operation time and the occupied space of the backup system, whereas after the step S84 determines that the overall upgrade is performed, the current operating environment needs to be completely backed up.
According to the technical scheme, the upgrade type of the upgrade package is judged, different files are selected as components of the backup system according to different upgrade types, the environmental files involved in backup and restoration can be reduced to a certain extent, and the processing efficiency of backup and restoration is improved.
Meanwhile, the application also provides a cloud upgrade system of the industrial field device, which comprises:
the device list acquisition module is used for acquiring a device list of the industrial field device;
The device label acquisition module is used for acquiring the device labels of all the devices in the device list;
the upgrade list acquisition module is used for acquiring an upgrade list stored in the cloud;
the first judging module is used for judging whether the equipment label exists in the upgrading list or not and is used as a first judging result;
the upgrade version acquisition module is used for acquiring an upgrade version number corresponding to the equipment label from the upgrade list if the first judgment result is yes;
the current version acquisition module is used for acquiring a current version number corresponding to the equipment label from the equipment list;
the second judging module is used for judging whether the upgrade version number is larger than the current version number or not and used as a second judging result;
the third judging module is used for judging whether the equipment label has a corresponding upper computer label or not if the second judging result is yes, and the third judging result is used;
the upgrade package acquisition module is used for acquiring an upgrade package corresponding to the upgrade version number from the cloud and sending the upgrade package to an upper computer corresponding to the upper computer label if the third judgment result is yes;
the upgrade package sending module is used for sending the upgrade package to the industrial field device corresponding to the device label through the upper computer;
And if the third judgment result is negative, the upgrade package sending module is further used for obtaining an upgrade package corresponding to the upgrade version number from the cloud and sending the upgrade package to the industrial field device corresponding to the device label.
In actual use, the device list acquisition module sends the acquired device list to the device label acquisition module so as to acquire the device label; and the upgrade list acquisition module acquires the upgrade list from the cloud.
The first judging module compares the received equipment label with the upgrading list to generate a first judging result, if the first judging result is yes, the upgrading version obtaining module obtains an upgrading version number and sends the upgrading version number to the second judging module, and the current version obtaining module obtains the current version number and sends the current version number to the second judging module.
The second judging module compares the received upgrade version number with the current version number to generate a second judging result, and if the second judging result is yes, the third judging module judges whether the equipment label has a corresponding upper computer label or not to generate a third judging result.
If the third judgment result is yes, the upgrade package acquisition module acquires an upgrade package from the cloud end and sends the upgrade package to the upper computer, and the upgrade package sending module sends the upgrade package to the industrial field device through the upper computer; if the third judgment result is negative, the upgrade package sending module obtains the upgrade package from the cloud and sends the upgrade package to the industrial field device.
Through the technical scheme, the equipment labels in the upgrade list are used as pre-upgrade equipment, the upgrade version number corresponding to the pre-upgrade equipment and the current version number of the pre-upgrade equipment are judged, and the upgrade package corresponding to the upgrade version number greater than the current version number is used as an actual upgrade package, so that industrial field equipment needing to be upgraded can remotely acquire an effective new version upgrade package. In addition, different network environments can be satisfied as different upgrade package transmission modes are performed according to whether an upper computer exists. The upgrade package of a part of equipment is sent through the upper computer, compared with a mode of only directly obtaining from the cloud, the quantity of communication connection of the cloud can be reduced, the data transmission occupancy rate of the cloud is reduced, the short-distance direct advantage of the upper computer and the industrial field equipment can be effectively utilized, the overall transmission efficiency of the upgrade package is improved, and therefore the effect of conveniently, effectively and remotely upgrading the industrial field equipment is achieved.
In another embodiment, the method further comprises:
the upgrade request time module is used for acquiring the upgrade request time in the upgrade list;
the fourth judging module is used for judging whether the difference value between the upgrading request time and the current time is larger than a preset upgrading time threshold value or not, and taking the difference value as a fourth judging result;
If the fourth judgment result is yes, the equipment label obtaining module is further used for obtaining equipment labels corresponding to the upgrading request time in the upgrading list;
the cloud loading module is used for loading a corresponding upgrade package from the upgrade server to the cloud according to the equipment label;
the request number updating module is used for updating the update request number corresponding to the update request time in the update list if the fourth judging result is negative;
and the information output module is used for outputting reminding information if the upgrading request times are larger than a preset request times threshold value.
In practical application, the upgrade request time module acquires upgrade request time and sends the upgrade request time to the fourth judgment module, and the fourth judgment module judges whether the difference between the upgrade request time and the current time is larger than a preset upgrade time threshold value or not, so as to generate a fourth judgment result.
If the fourth judgment result is yes, the equipment label obtaining module sends the obtained equipment label to the cloud loading module, and the cloud loading module loads an upgrade package from the upgrade server to the cloud according to the equipment label; if the fourth judgment result is negative, the request number updating module updates the update request number in the update list. And if the upgrade request times are greater than a preset request times threshold value, the information output module outputs reminding information.
Through the technical scheme, whether the difference between the upgrading request time and the current time is larger than a preset upgrading time threshold value is judged, whether the upgrading package is loaded to the cloud is selected according to the judging result, the priority upgrading of each upgrading package is realized according to the upgrading request time, and for other upgrading requests which are not in the priority upgrading at this time, corresponding sorting is carried out according to the upgrading request times, so that upgrading priority sorting of another dimension is achieved, different upgrading requirements are met, and the quantity control of the upgrading packages loaded in the unit time of the cloud is further realized.
According to the cloud upgrading system for the industrial field device, the specific operation flow among the modules can refer to the specific steps of the cloud upgrading method, and the technical effects of the system embodiments corresponding to other embodiments in the cloud upgrading method are the same as those of the cloud upgrading method, so that the description is not repeated.
The memory or computer-readable storage medium according to embodiments of the present application includes Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
It is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. The cloud upgrade method of the industrial field device is characterized by comprising the following steps of:
acquiring a device list of the industrial field device;
acquiring equipment labels of all the equipment in the equipment list;
acquiring an upgrade list stored in a cloud;
judging whether the equipment label exists in the upgrading list or not as a first judging result;
if the first judgment result is yes, acquiring an upgrade version number corresponding to the equipment label from the upgrade list;
acquiring a current version number corresponding to the equipment label from the equipment list;
judging whether the upgrade version number is larger than the current version number or not, and taking the upgrade version number as a second judging result;
If the second judgment result is yes, judging whether the equipment label has a corresponding upper computer label or not as a third judgment result;
if the third judgment result is yes, acquiring an upgrade package corresponding to the upgrade version number from the cloud end and sending the upgrade package to an upper computer corresponding to the upper computer label;
the upgrade package is sent to industrial field equipment corresponding to the equipment label through the upper computer;
if the third judgment result is negative, acquiring an upgrade package corresponding to the upgrade version number from a cloud end and sending the upgrade package to industrial field equipment corresponding to the equipment label;
the step of acquiring the upgrade list stored in the cloud end further comprises the following steps:
acquiring the upgrade request time in the upgrade list;
judging whether the difference between the upgrading request time and the current time is larger than a preset upgrading time threshold value or not, and taking the difference as a fourth judging result;
if the fourth judgment result is yes, acquiring the equipment label corresponding to the upgrading request time in the upgrading list;
loading the corresponding upgrade package from the upgrade server to the cloud according to the equipment label;
if the fourth judgment result is negative, updating the upgrading request times corresponding to the upgrading request time in the upgrading list;
And if the upgrade request times are greater than a preset request times threshold, outputting reminding information.
2. The cloud upgrade method of industrial field devices of claim 1, further comprising the steps of:
if the first judgment result is negative, recording the generation time of the first judgment result as the upgrading request time;
acquiring upgrading time corresponding to the last upgrading of the equipment label from the equipment list;
judging whether the difference between the upgrading request time and the upgrading time is larger than the upgrading time threshold value or not as a fifth judging result;
if the fifth judging result is yes, adding the equipment label and the corresponding upgrading request time in the upgrading list.
3. The cloud upgrade method of industrial field devices of claim 1, further comprising the steps of:
acquiring a work schedule of industrial field equipment;
acquiring the gap time in the work schedule;
forming a gap list which is arranged in sequence according to the difference degree between the interval time and the current time, wherein the sequence number is in direct proportion to the difference degree;
taking the interval time corresponding to the smallest sequence number in the gap list as comparison time;
Judging whether the upgrading duration of the upgrading packet is smaller than the duration of the comparison time or not, and taking the upgrading duration of the upgrading packet as a sixth judging result;
if the sixth judgment result is yes, the upgrade package is operated in the interval time corresponding to the comparison time;
and if the sixth judgment result is negative, taking the interval time corresponding to the next sequence number as the new comparison time, and re-acquiring the sixth judgment result.
4. The method of cloud upgrade of industrial field devices of claim 3, further comprising the steps of, prior to obtaining the gap time in the work schedule:
acquiring the next planned work in the work schedule according to the current work of the industrial field device;
acquiring an upgrade type corresponding to the upgrade package;
judging whether the upgrading type is matched with the work type of the planned work or not, and taking the upgrading type as a seventh judgment result;
if the seventh judgment result is yes, the upgrade package is operated after the current work is finished;
if the seventh judgment result is negative, the next step is carried out.
5. The cloud upgrade method of industrial field devices of claim 1, further comprising the steps of:
Acquiring a check code of the upgrade package on the industrial field device;
judging whether the check code is matched with a preset check code of the upgrade package or not, and taking the check code and the preset check code as an eighth judging result;
if the eighth judgment result is yes, the upgrade package is operated;
and if the eighth judging result is negative, re-acquiring the upgrade package according to the upgrade package acquisition path.
6. The cloud upgrade method of industrial field devices of claim 1, further comprising the steps of:
backing up the current operating environment of the industrial field device as a backup system;
running the upgrade package on an industrial field device;
judging whether the upgrade package is loaded completely or not, and taking the upgrade package as a ninth judgment result;
if the ninth judgment result is yes, judging whether the working state of the industrial field device is normal or not, and taking the working state as a tenth judgment result;
if the tenth judgment result is yes, deleting the backup system;
if the tenth judgment result is negative, restoring the current running environment of the industrial field device according to the backup system;
if the ninth judgment result is negative, judging whether the upgrade package loading is suspended or not as an eleventh judgment result;
If the eleventh judgment result is yes, clearing the hung loading upgrading packet and rerun the upgrading packet;
and if the eleventh judgment result is negative, re-acquiring the upgrade package according to the upgrade package acquisition path, and re-acquiring the ninth judgment result.
7. The cloud upgrade method of industrial field devices according to claim 6, wherein the backing up the current operating environment of the industrial field devices as a backup system comprises the steps of:
judging the upgrade type of the upgrade package as a twelfth judgment result;
if the twelfth judgment result is incremental upgrade, acquiring an upgrade difference file of the upgrade package;
backing up the environment file corresponding to the upgrading difference file as the backup system;
and if the twelfth judging result is overall upgrade, backing up the current running environment as the backup system.
8. A cloud upgrade system for industrial field devices, comprising:
the device list acquisition module is used for acquiring a device list of the industrial field device;
the equipment label acquisition module is used for acquiring equipment labels of all the equipment in the equipment list;
The upgrade list acquisition module is used for acquiring an upgrade list stored in the cloud;
the first judging module is used for judging whether the equipment label exists in the upgrading list or not and is used as a first judging result;
the upgrade version acquisition module is used for acquiring an upgrade version number corresponding to the equipment label from the upgrade list if the first judgment result is yes;
a current version acquisition module, configured to acquire a current version number corresponding to the device number from the device list;
the second judging module is used for judging whether the upgrade version number is larger than the current version number or not and used as a second judging result;
the third judging module is used for judging whether the equipment label has a corresponding upper computer label or not if the second judging result is yes, and the equipment label is used as a third judging result;
the upgrade package acquisition module is used for acquiring an upgrade package corresponding to the upgrade version number from the cloud and sending the upgrade package to an upper computer corresponding to the upper computer label if the third judgment result is yes;
the upgrade package sending module is used for sending the upgrade package to the industrial field device corresponding to the device label through the upper computer;
If the third judgment result is negative, the upgrade package sending module is further configured to obtain an upgrade package corresponding to the upgrade version number from the cloud, and send the upgrade package to the industrial field device corresponding to the device label;
the upgrade request time module is used for acquiring the upgrade request time in the upgrade list;
the fourth judging module is used for judging whether the difference value between the upgrading request time and the current time is larger than a preset upgrading time threshold value or not, and taking the difference value as a fourth judging result;
if the fourth judgment result is yes, the equipment label obtaining module is further used for obtaining equipment labels corresponding to the upgrading request time in the upgrading list;
the cloud loading module is used for loading a corresponding upgrade package from the upgrade server to the cloud according to the equipment label;
the request number updating module is used for updating the update request number corresponding to the update request time in the update list if the fourth judging result is negative;
and the information output module is used for outputting reminding information if the upgrading request times are larger than a preset request times threshold value.
9. The cloud upgrade system of industrial field devices of claim 8, further comprising:
The upgrade request time module is used for acquiring the upgrade request time in the upgrade list;
a fourth judging module, configured to judge whether a difference between the upgrade request time and the current time is greater than a preset upgrade time threshold, as a fourth judging result;
if the fourth judgment result is yes, the equipment label obtaining module is further configured to obtain the equipment label corresponding to the upgrade request time in the upgrade list;
the cloud loading module is used for loading the corresponding upgrade package from the upgrade server to the cloud according to the equipment label;
the request number updating module is used for updating the update request number corresponding to the update request time in the update list if the fourth judging result is negative;
and the information output module is used for outputting reminding information if the upgrading request times are larger than a preset request times threshold value.
CN202111630785.7A 2021-12-28 2021-12-28 Cloud upgrading method and system for industrial field device Active CN114584539B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111630785.7A CN114584539B (en) 2021-12-28 2021-12-28 Cloud upgrading method and system for industrial field device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111630785.7A CN114584539B (en) 2021-12-28 2021-12-28 Cloud upgrading method and system for industrial field device

Publications (2)

Publication Number Publication Date
CN114584539A CN114584539A (en) 2022-06-03
CN114584539B true CN114584539B (en) 2023-08-18

Family

ID=81772218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111630785.7A Active CN114584539B (en) 2021-12-28 2021-12-28 Cloud upgrading method and system for industrial field device

Country Status (1)

Country Link
CN (1) CN114584539B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115051919A (en) * 2022-06-30 2022-09-13 深圳市云洲创新科技有限公司 OTA (over the air) upgrading system and OTA upgrading method
CN115314434A (en) * 2022-10-11 2022-11-08 北京九鼎颐和科技有限公司 Router upgrading method
CN116800821B (en) * 2023-08-23 2023-12-15 Tcl通讯科技(成都)有限公司 System upgrading method and device, storage medium and electronic equipment

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375870A (en) * 2014-12-03 2015-02-25 广州广电运通金融电子股份有限公司 Self-service terminal software remote upgrading method and system and upgrading package creation method
CN106873553A (en) * 2017-02-09 2017-06-20 北京东土科技股份有限公司 Field apparatus control management method and device based on industry internet operating system
CN208156647U (en) * 2018-05-18 2018-11-27 湖北楚航电子科技有限公司 A kind of auxiliary device for the upgrading of distribution apparatus program
CN109101261A (en) * 2018-08-06 2018-12-28 沈阳维尔环保工程有限公司 A kind of the remote online upgrade method and system of data acquisition transmission instrument terminal
CN109309592A (en) * 2018-11-14 2019-02-05 无锡信捷电气股份有限公司 The method and apparatus of remote upgrade PLC firmware
CN110413295A (en) * 2019-06-26 2019-11-05 上海电器科学研究所(集团)有限公司 A kind of embedded device remote firmware updating method
CN111367545A (en) * 2020-02-13 2020-07-03 北京三快在线科技有限公司 Terminal upgrading method and device, server, terminal equipment and readable storage medium
CN111625267A (en) * 2020-06-02 2020-09-04 中电科蓉威电子技术有限公司 Program online upgrading system and method based on UWB communication
CN112994955A (en) * 2021-04-21 2021-06-18 恒生电子股份有限公司 Upgrade package sending management method, incremental upgrade package preparation method and related device
CN113064619A (en) * 2021-04-02 2021-07-02 上海高仙自动化科技发展有限公司 Firmware upgrading method, device, system, equipment and storage medium
CN113157297A (en) * 2021-05-10 2021-07-23 成都特来电新能源有限公司 Charging station equipment remote upgrading method and system
US11093236B1 (en) * 2020-03-26 2021-08-17 Atlassian Pty Ltd. Systems and methods for delivering updates to client devices

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131164B (en) * 2016-07-01 2018-07-03 北京百度网讯科技有限公司 The data processing method and device of protocol analysis are carried out beyond the clouds
US11663084B2 (en) * 2017-08-08 2023-05-30 Rubrik, Inc. Auto-upgrade of remote data management connectors

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375870A (en) * 2014-12-03 2015-02-25 广州广电运通金融电子股份有限公司 Self-service terminal software remote upgrading method and system and upgrading package creation method
CN106873553A (en) * 2017-02-09 2017-06-20 北京东土科技股份有限公司 Field apparatus control management method and device based on industry internet operating system
CN208156647U (en) * 2018-05-18 2018-11-27 湖北楚航电子科技有限公司 A kind of auxiliary device for the upgrading of distribution apparatus program
CN109101261A (en) * 2018-08-06 2018-12-28 沈阳维尔环保工程有限公司 A kind of the remote online upgrade method and system of data acquisition transmission instrument terminal
CN109309592A (en) * 2018-11-14 2019-02-05 无锡信捷电气股份有限公司 The method and apparatus of remote upgrade PLC firmware
CN110413295A (en) * 2019-06-26 2019-11-05 上海电器科学研究所(集团)有限公司 A kind of embedded device remote firmware updating method
CN111367545A (en) * 2020-02-13 2020-07-03 北京三快在线科技有限公司 Terminal upgrading method and device, server, terminal equipment and readable storage medium
US11093236B1 (en) * 2020-03-26 2021-08-17 Atlassian Pty Ltd. Systems and methods for delivering updates to client devices
CN111625267A (en) * 2020-06-02 2020-09-04 中电科蓉威电子技术有限公司 Program online upgrading system and method based on UWB communication
CN113064619A (en) * 2021-04-02 2021-07-02 上海高仙自动化科技发展有限公司 Firmware upgrading method, device, system, equipment and storage medium
CN112994955A (en) * 2021-04-21 2021-06-18 恒生电子股份有限公司 Upgrade package sending management method, incremental upgrade package preparation method and related device
CN113157297A (en) * 2021-05-10 2021-07-23 成都特来电新能源有限公司 Charging station equipment remote upgrading method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
UWB通信的程序在线升级系统设计;郝逸轩;钟洋;敬世亮;何斌;;单片机与嵌入式系统应用(第08期);全文 *

Also Published As

Publication number Publication date
CN114584539A (en) 2022-06-03

Similar Documents

Publication Publication Date Title
CN114584539B (en) Cloud upgrading method and system for industrial field device
CN109787858B (en) Method and terminal for issuing services in batches
CN111818159A (en) Data processing node management method, device, equipment and storage medium
CN103221891A (en) Intelligent interface for a distributed control system
CN113946499A (en) Micro-service link tracking and performance analysis method, system, equipment and application
CN112486640A (en) Service processing method and device, electronic equipment and computer readable storage medium
CN111857777A (en) System updating method and device based on double-core intelligent electric meter and computer equipment
CN114265613B (en) Method and system for differentially upgrading firmware of all electric control units of whole vehicle
CN111399862A (en) Batch installation method and device of Windows missing driver and computer equipment
CN109150596B (en) SCADA system real-time data dump method and device
CN109116818B (en) Real-time data dump method and device during SCADA system upgrade
US20220012233A1 (en) Creation of a Blockchain with Blocks Comprising an Adjustable Number of Transaction Blocks and Multiple Intermediate Blocks
CN115686594A (en) Terminal automatic operation and maintenance management system and method
CN116028084A (en) Cross-version hot upgrading method, system and terminal based on OpenStack cloud platform
CN113419829B (en) Job scheduling method, device, scheduling platform and storage medium
CN113242147B (en) Automatic operation and maintenance deployment method, device, equipment and storage medium of multi-cloud environment
CN115017235A (en) Data synchronization method, electronic device and storage medium
CN109542841A (en) The method and terminal device of data snapshot are created in cluster
CN114578783B (en) Remote debugging method and system for industrial field device
CN109241029B (en) Method and device for realizing smooth migration of SCADA system database
CN110297860B (en) Data exchange method and device and related equipment
CN111949290A (en) Hot patch management method and device, electronic equipment and storage medium
CN112948065B (en) Kubernetes-based scheduling automation system management device
CN116149707B (en) Method and device for detecting and avoiding upgrading risk of distributed system
CN110389868B (en) Method and system for optimizing complete machine diagnosis process of server manufacturing factory

Legal Events

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