Data upgrading processing method, upgradable device and data upgrading system

By adopting the data upgrade processing method of industrial fieldbus communication in the equipment group, the problem of low firmware upgrade efficiency in the prior art is solved, and the simultaneous upgrade of multiple devices is achieved, and the overall upgrade efficiency is improved.

CN119883331APending Publication Date: 2025-04-25SHENGXU HYDRAULIC (CHINA) CO LTD DONGGUAN BRANCH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510012906.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-03
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

The equipment firmware upgrade method in the existing equipment group is single, with low efficiency, and it is impossible to upgrade multiple devices at the same time.

Method used

The data upgrade processing method is adopted for the device group that communicates through the industrial fieldbus. After receiving the firmware upgrade data, any device determines whether it can be used for the device. If not, the processing method will be determined based on the reception method, including forwarding to other devices or discarding.

Benefits of technology

Improves the efficiency of firmware upgrades, allowing other devices to upgrade operations based on the received firmware upgrade data, and overcomes the limitations of individual device upgrades.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119883331A_ABST
    Figure CN119883331A_ABST
Patent Text Reader

Abstract

A data upgrade processing method, an upgradable device and a data upgrade system.The method is applied to a device group communicating through an industrial field bus, and the method comprises the steps that any device in the device group receives firmware upgrade data; for the equipment receiving the firmware upgrading data, under the condition that the firmware upgrading data can be used for firmware of the equipment, upgrading the equipment by utilizing the firmware upgrading data; under the condition that the firmware upgrading data cannot be used for firmware of the device, according to a receiving mode of the firmware upgrading data, a processing mode of the firmware upgrading data is determined, and the processing mode comprises forwarding the firmware upgrading data to other devices in the device group through the industrial field bus or forwarding the firmware upgrading data to other devices in the device group through the industrial field bus. And discarding the firmware upgrading data to improve the upgrading efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to equipment upgrade technology, and more particularly to a data upgrade processing method, an upgradeable equipment and a data upgrade system. Background Art

[0002] In the field of bathroom and SPA, most of the devices are connected together through wired RS485 bus and CAN bus to form a device group, such as Figure 1 shown.

[0003] The method of performing firmware upgrade on the devices in the device group is relatively simple, and the common upgrade method is point-to-point upgrade, that is, obtaining the firmware upgrade program through point-to-point communication between the serial port or wireless interface installed on the device and the upgrade tool. This upgrade method can only upgrade the firmware of one device at a time, which is inefficient. Summary of the invention

[0004] The embodiments of the present application provide a data upgrade processing method, an upgradeable device and a data upgrade system, which can improve the upgrade efficiency.

[0005] The data upgrade processing method provided in the embodiment of the present application is applied to a device group communicating via an industrial field bus, and the method includes: Any device in the device group receives firmware upgrade data; For a device that has received the firmware upgrade data, if the firmware upgrade data can be used for the firmware of the device, the firmware upgrade data is used to upgrade the device; if the firmware upgrade data cannot be used for the firmware of the device, a processing method for the firmware upgrade data is determined based on the receiving method of the firmware upgrade data, and the processing method includes: forwarding the firmware upgrade data to other devices in the device group through the industrial field bus, or discarding the firmware upgrade data.

[0006] As an exemplary embodiment, the method further includes: In the case that the firmware upgrade data can be used for the firmware of the device, after the device is upgraded using the firmware upgrade data, the processing method of the firmware upgrade data is determined according to the receiving method of the firmware upgrade data.

[0007] As an exemplary embodiment, determining a processing method for the firmware upgrade data according to a receiving method of the firmware upgrade data includes: In the case where the firmware upgrade data is received via unicast, the firmware upgrade data is broadcast to other devices in the device group via the industrial field bus; the unicast method includes: at least one of wireless point-to-point transmission, point-to-point transmission via the industrial field bus, and point-to-point transmission via a serial port.

[0008] As an exemplary embodiment, determining a processing method for the firmware upgrade data according to a receiving method of the firmware upgrade data includes: In the case where the firmware upgrade data is received via broadcasting, the firmware upgrade data is discarded; the broadcasting method includes at least one of broadcasting via the industrial field bus and broadcasting via wireless.

[0009] As an exemplary embodiment, the firmware upgrade data includes: the type of device to which the firmware belongs and the upgrade firmware version number; The method for determining whether the firmware upgrade data can be used for the firmware of the device includes: In the case where it is determined that the device type in the firmware upgrade data is the type of the present device, and the upgrade firmware version number in the firmware upgrade data is higher than the current version number of the firmware of the present device, determining that the firmware upgrade data can be used for the firmware of the present device; When it is determined that the device type in the firmware upgrade data does not match the type of the current device, and that the upgraded firmware version number in the firmware upgrade data is equal to or lower than the current version number of the firmware of the current device, it is determined that the firmware upgrade data cannot be used for the firmware of the current device.

[0010] The embodiment of the present application also provides a data upgrade processing method, which is applied to a device group communicating through an industrial field bus, and a control device communicating with the device group, the method comprising: The control device sends the firmware upgrade data to at least one upgradeable device in the device group; Any upgradeable device in the device group processes the firmware upgrade data according to the data upgrade processing method described in any of the previous embodiments.

[0011] As an exemplary embodiment, the method further includes: Before the control device sends the firmware upgrade data to at least one upgradeable device in the device group, any upgradeable device sends its own device type and current firmware version number to the control device in a broadcasting manner, wherein the broadcasting manner includes at least one of broadcasting via the industrial field bus and broadcasting via wireless; The control device saves the received device type and the current firmware version number corresponding to the device type.

[0012] As an exemplary embodiment, the method further includes: In the case where the control device communicates with the control group by wireless means, before the control device sends firmware upgrade data to at least one upgradeable device in the device group, any upgradeable device broadcasts its own device type and current firmware version number through the industrial field bus, and saves the received device type and the current firmware version number corresponding to the device type through the industrial field bus; When the preset conditions are met, any of the upgradeable devices sends the saved device type and the current firmware version number corresponding to the device type to the control device via wireless mode; The control device saves the received device type and the current firmware version number corresponding to the device type.

[0013] As an exemplary embodiment, the control device saves the received device type and the current firmware version number corresponding to the device type, including: When there are multiple current firmware version numbers corresponding to the device type, the control device saves the lowest firmware version number.

[0014] An embodiment of the present application provides an upgradeable device, wherein the upgradeable device is a device that communicates via an industrial field bus, and the device includes: A data receiving module, configured to receive firmware upgrade data; The data upgrade module includes: a storage unit and a processing unit; The storage unit is configured to store computer program instructions executable on the processing unit; The processing unit is configured to execute the computer program instructions to process the firmware upgrade data through the data upgrade processing method as described in any of the previous embodiments.

[0015] The present application provides a data upgrade system, the system comprising: A plurality of upgradeable devices as described in the previous embodiment connected via an industrial field bus; A control device in communication with the upgradeable devices is configured to send firmware upgrade data to at least one of the upgradeable devices.

[0016] As an exemplary embodiment, the plurality of upgradeable devices are further configured to send their own device types and current firmware version numbers to the control device; The control device is further configured to save the received device type and the current firmware version number corresponding to the device type.

[0017] As an exemplary embodiment, the control device saves the received device type and the current firmware version number corresponding to the device type, including: If there are multiple current firmware version numbers corresponding to the device type, the lowest firmware version number is saved.

[0018] As an exemplary embodiment, the plurality of upgradeable devices send their own device types and current firmware version numbers to the control device, including: The device type and the current firmware version number are sent via broadcasting, wherein the broadcasting method includes at least one of broadcasting via the industrial field bus and broadcasting via wireless.

[0019] The technical solution recorded in the embodiment of the present application supports, for any device in the device group, after receiving firmware upgrade data, forwarding the firmware upgrade data to other devices in the device group through a connection bus when the firmware upgrade data cannot be used for the firmware of the device itself, thereby facilitating other devices to perform upgrade operations according to the firmware upgrade data, overcoming the deficiency that only one device can be upgraded by performing one upgrade processing operation, and improving the upgrade efficiency.

[0020] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by implementing the present application. Other advantages of the present application can be realized and obtained by the schemes described in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings are used to provide an understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.

[0022] Figure 1 A schematic diagram of a device group in the related art; Figure 2 A flow chart of a data upgrade processing method provided in an embodiment of the present application; Figure 3 A schematic diagram of a data packet format provided in an embodiment of the present application; Figure 4 Another data upgrade processing method flow chart provided in the embodiment of the present application; Figure 5 A flow chart of a data upgrade processing method provided for the application example of this application; Figure 6 Another data upgrade processing method flow chart provided for the application example of this application; Figure 7 A diagram of an upgradeable device module provided in an embodiment of the present application; Figure 8 A diagram of the composition of a data upgrade system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0023] The present application describes multiple embodiments, but the description is exemplary rather than restrictive, and it is obvious to those skilled in the art that there may be more embodiments and implementations within the scope of the embodiments described in the present application. Although many possible feature combinations are shown in the drawings and discussed in the specific embodiments, many other combinations of the disclosed features are also possible. Unless specifically limited, any feature or element of any embodiment may be used in combination with any other feature or element in any other embodiment, or may replace any other feature or element in any other embodiment.

[0024] The present application includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The embodiments, features and elements disclosed in the present application may also be combined with any conventional features or elements to form a unique invention scheme. Any features or elements of any embodiment may also be combined with features or elements from other invention schemes to form another unique invention scheme. Therefore, it should be understood that any feature shown and / or discussed in the present application may be implemented individually or in any appropriate combination. Therefore, except for the limitations made according to the attached claims and their equivalents, the embodiments are not subject to other restrictions. In addition, various modifications and changes may be made within the scope of protection of the attached claims.

[0025] In addition, when describing representative embodiments, the specification may have presented the method and / or process as a specific sequence of steps. However, to the extent that the method or process does not rely on the specific order of the steps described herein, the method or process should not be limited to the steps of the specific order described. As will be understood by those of ordinary skill in the art, other sequences of steps are also possible. Therefore, the specific sequence of the steps set forth in the specification should not be interpreted as a limitation to the claims. In addition, the claims for the method and / or process should not be limited to the steps of performing them in the order written, and those skilled in the art can easily understand that these sequences can be changed and still remain within the spirit and scope of the embodiments of the present application.

[0026] The embodiment of the present application provides a data upgrade processing method, which can be applied to a device group that communicates via an industrial field bus, wherein the industrial field bus can be an RS485 bus, a CAN bus, or a Profibus bus, etc. Figure 2 As shown, the method includes: Step S201: Any device in the device group receives firmware upgrade data; Device firmware refers to programs embedded in hardware devices, usually stored in non-volatile memory (such as ROM, EPROM, EEPROM or Flash Memory). The main function of firmware is to provide the basic instruction set required for the hardware device to start and run, and to realize the communication between the device and the operating system; The way in which any one of the devices receives the firmware upgrade data includes: receiving in a unicast manner or receiving in a broadcast manner; the unicast manner means that the firmware upgrade data is sent to a specific device; the broadcast manner means that the firmware upgrade data is sent to all devices in the device group; Step S202: For the device that receives the firmware upgrade data: In the case where the firmware upgrade data can be used for the firmware of the present device, the firmware upgrade data is used to upgrade the present device; in the case where the firmware upgrade data cannot be used for the firmware of the present device, a processing method for the firmware upgrade data is determined based on a receiving method of the firmware upgrade data; wherein the processing method includes: forwarding the firmware upgrade data to other devices in the device group via the industrial field bus, or discarding the firmware upgrade data.

[0027] The data upgrade processing method recorded in the embodiment of the present application supports, for any device in the device group, after receiving firmware upgrade data, forwarding the firmware upgrade data to other devices in the device group through a connection bus when the firmware upgrade data cannot be used for the firmware of the device itself, thereby facilitating other devices to perform upgrade operations based on the firmware upgrade data, overcoming the deficiency that only one device can be upgraded by performing one upgrade processing operation, and improving upgrade efficiency.

[0028] In an exemplary embodiment, the method further comprises: In the case that the firmware upgrade data can be used for the firmware of the device, after the device is upgraded using the firmware upgrade data, a processing method for the firmware upgrade data is further determined according to a receiving method of the firmware upgrade data.

[0029] In an exemplary embodiment, determining a processing method for the firmware upgrade data according to a receiving method of the firmware upgrade data may include: In the case where the firmware upgrade data is received via unicast, the firmware upgrade data is broadcast to other devices in the device group via the industrial field bus, wherein the unicast method includes at least one of: point-to-point transmission via wireless, point-to-point transmission via the industrial field bus, and point-to-point transmission via a serial port.

[0030] In this embodiment, when a device (represented by device A) in the device group receives the firmware upgrade data in a unicast manner, if the firmware upgrade data cannot be used for device A, device A forwards the firmware upgrade data to other devices in the device group, which is beneficial for other devices in the device group that need the upgrade data to perform firmware upgrade. If the firmware upgrade data can be used for device A, device A still forwards the firmware upgrade data to other devices in the device group, which is beneficial for other devices of the same type as device A in the device group to also use the upgrade data for firmware upgrade.

[0031] In another exemplary embodiment, determining a processing method for the firmware upgrade data according to a receiving method of the firmware upgrade data may include: In the case where the firmware upgrade data is received via broadcast, the firmware upgrade data is discarded; the broadcast mode includes: receiving via the industrial field bus broadcast and receiving via wireless broadcast. Exemplarily, the device with a Bluetooth communication module receives the broadcasted firmware upgrade data via a Mesh network.

[0032] In this embodiment, when a device in the device group (represented by device A) receives the firmware upgrade data by broadcasting, considering that other devices in the device group will also receive the firmware upgrade data, device A may subsequently discard the received firmware upgrade data.

[0033] In an exemplary embodiment, the firmware upgrade data includes: the type of device to which the firmware belongs and the upgrade firmware version number, Figure 3 A data packet format of firmware upgrade data is shown. Taking the bathroom field as an example, the type of equipment can be a panel (corresponding size, whether it is a touch panel, etc.), a controller, an amplifier, a light controller, etc.

[0034] Correspondingly, the method for determining whether the firmware upgrade data can be used for the firmware of the device includes: In the case where it is determined that the device type in the firmware upgrade data is the type of the present device, and the upgrade firmware version number in the firmware upgrade data is higher than the current version number of the firmware of the present device, determining that the firmware upgrade data can be used for the firmware of the present device; In the case where it is determined that the device type in the firmware upgrade data does not match the type of the device, and the upgrade firmware version number in the firmware upgrade data is equal to or lower than the current version number of the firmware of the device, it is determined that the firmware upgrade data cannot be used for the firmware of the device; Exemplarily, the type of device 1 and device 2 are both panel A, the current version number of device 1 is V10, and the current version number of device 2 is V11; device 1 receives firmware upgrade data containing panel A and version number V11 through the bus, and determines that the device type in the firmware upgrade data is consistent with the type of the current device and the version number is higher than the current version number of the current device, and then upgrades to version V11 according to the firmware upgrade data; device 2 also receives the firmware upgrade data through the bus. Although the device type in the firmware upgrade data is the same as the type of the current device, the version number is equal to the current version number of the current device, and then the firmware upgrade data will not be used for upgrading.

[0035] The embodiment of the present application also provides a data upgrade processing method, which is applied to a device group communicating through an industrial field bus, and a control device communicating with the device group, such as Figure 4 As shown, the method may include: Step S401: Control the device to send firmware upgrade data to at least one upgradeable device in the device group; The control device may send the firmware upgrade data to the upgradeable device through a preset communication mode, wherein the preset communication mode includes: at least one of industrial field bus communication and wireless communication; in each preset communication mode, the control device may select unicast or broadcast mode to send the firmware upgrade data; Step S402: Any upgradeable device in the device group processes the firmware upgrade data according to the data upgrade processing method described in any of the above embodiments.

[0036] The data upgrade processing method recorded in the embodiment of the present application supports, for any upgradeable device in the device group, after receiving firmware upgrade data, forwarding the firmware upgrade data to other upgradeable devices in the device group through a connection bus when the firmware upgrade data cannot be used for the firmware of the device, thereby facilitating other upgradeable devices to perform upgrade operations according to the firmware upgrade data, overcoming the deficiency that only one device can be upgraded by performing one upgrade processing operation, and improving upgrade efficiency.

[0037] In an exemplary embodiment, the method further comprises: Before the control device sends the firmware upgrade data to at least one upgradeable device in the device group, any upgradeable device sends its own device type and current firmware version number to the control device via broadcasting, wherein the broadcasting method includes at least one of broadcasting via the industrial field bus and broadcasting via wireless. The format of the data packet broadcasted by the upgradeable device can refer to Figure 3; Exemplarily, the data packet can be distinguished as a broadcast data packet or a unicast data packet by other data parts in the data packet, and the source of the data packet is an upgradeable device or a control device; The control device saves the received device type and the current firmware version number corresponding to the device type.

[0038] Through the scheme recorded in this embodiment, the control device can obtain the type and current version number of the upgradeable device, providing a reference for subsequently providing firmware upgrade data to the upgradeable device. If the control device obtains that the version number of a type of device recorded in the firmware upgrade data is smaller than the version number of the device of the same type recorded in itself, the control device can choose to ignore the obtained firmware upgrade data.

[0039] In another exemplary embodiment, when the control device communicates with the control group wirelessly, the method further includes: Before the control device sends the firmware upgrade data to at least one upgradeable device in the device group, any upgradeable device broadcasts its own device type and current firmware version number through the industrial field bus, and saves the received device type and the current firmware version number corresponding to the device type through the industrial field bus; if there are 3 upgradeable devices in the device group, each upgradeable device broadcasts its own device type and current firmware version number through the industrial field bus, then each upgradeable device can receive and save the device type and current firmware version number of the other 2 upgradeable devices; Under the condition that the preset conditions are met, any of the upgradeable devices sends the saved device type and the current firmware version number corresponding to the device type to the control device by wireless means; the preset conditions include: each time the upgradeable device establishes a link with the control device, or one or more of the following: each time the upgradeable device establishes a link with the control device, or each time the upgradeable device establishes a link with the control device; The control device saves the received device type and the current firmware version number corresponding to the device type.

[0040] Through the solution described in this embodiment, the control device can also understand the current version of the firmware of the upgradeable device in the device group, which provides a reference for subsequently providing firmware upgrade data to the upgradeable device in the device group.

[0041] In an exemplary embodiment, the storing of the received device type and the current firmware version number corresponding to the device type includes: if there are multiple current firmware version numbers corresponding to the device type, storing the lowest firmware version number. For example, if the stored current firmware version number of the upgradeable device A is V10, if the received current firmware version number of the upgradeable device A is V11, the stored current firmware version number of the upgradeable device A is still V10; if the received current firmware version number of the upgradeable device A is V9, the stored current firmware version number of the upgradeable device A is replaced with V9.

[0042] By saving the type of upgradeable device and the current firmware version number corresponding to the type, a reference can be provided for the firmware upgrade of the device. This saving method can also ensure that the firmware version numbers of the same type of upgradeable devices in the device group are basically the same after the upgrade operation, thereby making the functions of the same type of devices in the device group consistent.

[0043] In combination with the above-described embodiments, specific application examples are given below.

[0044] Application Example 1 The upgradeable device A in the device group receives the firmware upgrade data sent by the control device through a wireless interface or through an industrial field bus (such as a CAN bus or an RS485 bus) in a point-to-point manner; The upgradeable device A determines whether the firmware upgrade data can be used for the device; When the upgradeable device A determines that the received firmware upgrade data can be used for the device, the upgradeable device A performs a firmware upgrade operation on the device according to the firmware upgrade data; after performing the upgrade operation, the upgradeable device A broadcasts the firmware upgrade data through a CAN bus or an RS485 bus, so that other upgradeable devices in the device group receive the firmware upgrade data through the CAN bus or the RS485 bus; When the upgradeable device A determines that the received firmware upgrade data cannot be used for the device, the upgradeable device A broadcasts the firmware upgrade data through the CAN bus or RS485 bus, so that other upgradeable devices in the device group receive the firmware upgrade data through the CAN bus or RS485 bus.

[0045] The upgradeable device B in the device group receives the firmware upgrade data via a CAN bus or an RS485 bus; The upgradeable device B determines whether the firmware upgrade data can be used for the device; When the upgradeable device B determines that the received firmware upgrade data can be used for the device, it performs a firmware upgrade operation on the device according to the firmware upgrade data; after performing the upgrade operation; When the upgradeable device B determines that the received firmware upgrade data cannot be used for the device, the upgradeable device B discards the firmware upgrade data.

[0046] The implementation process of this application example can be found in the attached Figure 5 .

[0047] Application Example 2 The upgradeable device A in the device group receives the firmware upgrade data sent by the control device in a broadcasting manner through a wireless interface or through an industrial field bus (such as a CAN bus or an RS485 bus); The upgradeable device A determines whether the firmware upgrade data can be used for the device; The upgradeable device A, when determining that the received firmware upgrade data can be used for the device, performs a firmware upgrade operation of the device according to the firmware upgrade data; When the upgradeable device A determines that the received firmware upgrade data cannot be used for the device, the upgradeable device A discards the firmware upgrade data.

[0048] The implementation process of this application example can be found in the attached Figure 6 .

[0049] The present application also provides an upgradeable device, which is a device that communicates via an industrial field bus, such as Figure 7 As shown, the upgradeable device includes: A data receiving module 701 is configured to receive firmware upgrade data; the data receiving module may be one or more of a wireless communication module, a serial communication module, and a communication module matching the industrial field bus type; The data upgrade module 702 includes: a storage unit 7020 and a processing unit 7021; The storage unit 7020 is configured to store computer program instructions that can be executed on the processing unit 7021; The processing unit 7021 is configured to execute the computer program instructions to process the firmware upgrade data through the data upgrade processing method described in any of the previous embodiments.

[0050] The present application also provides a data upgrade system. Figure 8 As shown, the system comprises: A plurality of upgradeable devices 801 as described in the previous embodiment connected via an industrial field bus; The control device 802 communicating with the upgradeable device 801 is configured to send firmware upgrade data to at least one of the upgradeable devices 801. The control device 802 can communicate with the upgradeable device via at least one of an industrial field bus and wireless.

[0051] In an exemplary embodiment, the plurality of upgradeable devices 801 are further configured to send their own device types and current firmware version numbers to the control device 802; The control device 802 is further configured to save the received device type and the current firmware version number corresponding to the device type.

[0052] In an exemplary embodiment, the control device 802 saves the received device type and the current firmware version number corresponding to the device type, including: when there are multiple current firmware version numbers corresponding to the device type, saving the lowest firmware version number.

[0053] In an exemplary embodiment, the multiple upgradeable devices 801 send their own device type and current firmware version number to the control device 802, including: sending their own device type and current firmware version number via broadcasting, and the broadcasting method includes: at least one of broadcasting via the industrial field bus and broadcasting via wireless.

[0054] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all components may be implemented as software executed by a processor, such as a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transient medium). As is known to those skilled in the art, the term "computer storage medium" includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

Claims

1. A data upgrade processing method, applied to a device group communicating via an industrial field bus, the method comprising: Any device in the device group receives firmware upgrade data; For a device that has received the firmware upgrade data, if the firmware upgrade data can be used for the firmware of the device, using the firmware upgrade data to upgrade the device; In the case that the firmware upgrade data cannot be used for the firmware of this device, a processing method for the firmware upgrade data is determined based on a receiving method of the firmware upgrade data, and the processing method includes: forwarding the firmware upgrade data to other devices in the device group via the industrial field bus, or discarding the firmware upgrade data.

2. The data upgrade processing method according to claim 1, characterized in that: The method further comprises: In the case that the firmware upgrade data can be used for the firmware of the device, after the device is upgraded using the firmware upgrade data, the processing method of the firmware upgrade data is determined according to the receiving method of the firmware upgrade data.

3. The data upgrade processing method according to claim 1 or 2, characterized in that: The determining, according to the receiving method of the firmware upgrade data, a processing method of the firmware upgrade data comprises: In the case where the firmware upgrade data is received via unicast, the firmware upgrade data is broadcast to other devices in the device group via the industrial field bus; the unicast method includes: at least one of wireless point-to-point transmission, point-to-point transmission via the industrial field bus, and point-to-point transmission via a serial port.

4. The data upgrade processing method according to claim 1 or 2, characterized in that: The determining, according to the receiving method of the firmware upgrade data, a processing method of the firmware upgrade data comprises: In the case where the firmware upgrade data is received via broadcasting, the firmware upgrade data is discarded; the broadcasting method includes at least one of broadcasting via the industrial field bus and broadcasting via wireless.

5. The data upgrade processing method according to claim 1, characterized in that: The firmware upgrade data includes: the type of device to which the firmware belongs and the upgrade firmware version number; The method for determining whether the firmware upgrade data can be used for the firmware of the device includes: In the case where it is determined that the device type in the firmware upgrade data is the type of the present device, and the upgrade firmware version number in the firmware upgrade data is higher than the current version number of the firmware of the present device, determining that the firmware upgrade data can be used for the firmware of the present device; When it is determined that the device type in the firmware upgrade data does not match the type of the current device, and that the upgraded firmware version number in the firmware upgrade data is equal to or lower than the current version number of the firmware of the current device, it is determined that the firmware upgrade data cannot be used for the firmware of the current device.

6. A data upgrade processing method, applied to a device group communicating via an industrial field bus, and a control device communicating with the device group, the method comprising: The control device sends the firmware upgrade data to at least one upgradeable device in the device group; Any upgradeable device in the device group processes the firmware upgrade data according to the data upgrade processing method according to any one of claims 1 to 5.

7. The data upgrade processing method according to claim 6, characterized in that: The method further comprises: Before the control device sends the firmware upgrade data to at least one upgradeable device in the device group, any upgradeable device sends its own device type and current firmware version number to the control device in a broadcasting manner, wherein the broadcasting manner includes at least one of broadcasting via the industrial field bus and broadcasting via wireless; The control device saves the received device type and the current firmware version number corresponding to the device type.

8. The data upgrade processing method according to claim 6, characterized in that: The method further comprises: In the case where the control device communicates with the control group by wireless means, before the control device sends firmware upgrade data to at least one upgradeable device in the device group, any upgradeable device broadcasts its own device type and current firmware version number through the industrial field bus, and saves the received device type and the current firmware version number corresponding to the device type through the industrial field bus; When the preset conditions are met, any of the upgradeable devices sends the saved device type and the current firmware version number corresponding to the device type to the control device via wireless mode; The control device saves the received device type and the current firmware version number corresponding to the device type.

9. The data upgrade processing method according to claim 7, characterized in that: The control device saves the received device type and the current firmware version number corresponding to the device type, including: When there are multiple current firmware version numbers corresponding to the device type, the control device saves the lowest firmware version number.

10. An upgradeable device, the upgradeable device is a device that communicates via an industrial field bus, characterized in that: The upgradeable device includes: A data receiving module, configured to receive firmware upgrade data; The data upgrade module includes: a storage unit and a processing unit; The storage unit is configured to store computer program instructions executable on the processing unit; The processing unit is configured to execute the computer program instructions to process the firmware upgrade data through the data upgrade processing method according to any one of claims 1 to 5.

11. A data upgrade system, characterized in that: The system comprises: A plurality of upgradeable devices according to claim 10 connected via an industrial field bus; A control device in communication with the upgradeable devices is configured to send firmware upgrade data to at least one of the upgradeable devices.

12. The system according to claim 11, characterized in that The plurality of upgradeable devices are further configured to send their own device types and current firmware version numbers to the control device; The control device is further configured to save the received device type and the current firmware version number corresponding to the device type.

13. The system according to claim 12, characterized in that The control device saves the received device type and the current firmware version number corresponding to the device type, including: If there are multiple current firmware version numbers corresponding to the device type, the lowest firmware version number is saved.

14. The system according to claim 12, characterized in that The multiple upgradeable devices send their own device types and current firmware version numbers to the control device, including: The device type and the current firmware version number are sent via broadcasting, wherein the broadcasting method includes at least one of broadcasting via the industrial field bus and broadcasting via wireless.