CN111857770A - Synchronous upgrading method of parallel operation system - Google Patents

Synchronous upgrading method of parallel operation system Download PDF

Info

Publication number
CN111857770A
CN111857770A CN202010605297.XA CN202010605297A CN111857770A CN 111857770 A CN111857770 A CN 111857770A CN 202010605297 A CN202010605297 A CN 202010605297A CN 111857770 A CN111857770 A CN 111857770A
Authority
CN
China
Prior art keywords
information
module
controller
upgrading
check
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010605297.XA
Other languages
Chinese (zh)
Inventor
陈威龙
卢雄伟
陈培钦
梁惠雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Kehua Hengsheng Co Ltd
Zhangzhou Kehua Technology Co Ltd
Kehua Hengsheng Co Ltd
Original Assignee
Xiamen Kehua Hengsheng Co Ltd
Zhangzhou Kehua 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 Xiamen Kehua Hengsheng Co Ltd, Zhangzhou Kehua Technology Co Ltd filed Critical Xiamen Kehua Hengsheng Co Ltd
Priority to CN202010605297.XA priority Critical patent/CN111857770A/en
Publication of CN111857770A publication Critical patent/CN111857770A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The invention discloses a synchronous upgrading method of a parallel system, wherein the parallel system comprises a controller and at least two modules which are arranged in parallel; which comprises the following steps: the controller divides the stored preset upgrading information into a plurality of sections of upgrading information according to the preset length, and then broadcasts the upgrading information to each module section by section in a grading manner; each module receives each section of upgrading information according to frames, and different check codes are marked for each information frame which is successfully or unsuccessfully received; after the updating information is broadcast, the controller broadcasts a checking instruction to each module; after each module receives the check instruction, the check string code controller which consists of the check codes corresponding to each information frame is fed back to the controller to decode each received check string code, and each information frame which fails to be received is rebroadcast to each module according to the decoding result; and broadcasting the next section of upgrading information until all the modules successfully receive the whole section of upgrading information. The method ensures that each module synchronously receives the upgrading information, and the upgrading process is reliable and efficient.

Description

Synchronous upgrading method of parallel operation system
Technical Field
The invention relates to the electrical field, in particular to a synchronous upgrading method of a parallel operation system.
Background
At present, the parallel operation of a plurality of modules or electrical equipment is widely applied in various fields, for example, an uninterruptible power supply is a system in which a plurality of modules are arranged to operate in parallel, so as to improve the stability of the system operation, that is, a controller and a plurality of parallel modules are used to realize multi-level function control.
However, due to various requirements such as hardware maintenance and software security update, the programs of the modules need to be updated or upgraded frequently. However, due to the fact that multiple modules are arranged, various problems such as asynchronous update information and slow transmission of update information among the modules are prone to occur, and in the actual use process, instantaneity and stability in the update process of the modules cannot be guaranteed.
The existing multi-module synchronous upgrading generally adopts a serial upgrading mode, namely, a controller only can transmit upgrading information to a single module every time, and verification detection is generally required after all upgrading information is transmitted. Therefore, under the condition that a plurality of modules need to be upgraded, the modules after being sequenced have the problem of upgrading delay due to long-time queuing; moreover, if all the received information needs to be verified uniformly, the controller is easy to make mistakes due to the fact that the verification workload is too large and the accuracy is low; in addition, the calibration period is too long, so that the high timeliness of the upgrading operation cannot be ensured; if the situation of receiving missing frames or error frames is detected once, all the upgrading information needs to be retransmitted to each module, which not only generates a large amount of redundant information but also can not meet the actual use requirement of synchronous and rapid upgrading among the modules,
Disclosure of Invention
The invention aims to overcome the defects or problems in the background art and provides a synchronous upgrading method of a parallel system, which enables each parallel module to synchronously receive upgrading information so as to improve the overall upgrading efficiency; and the module is checked in time in a sectional checking mode, so that the false detection rate is reduced, and each module can be reliably upgraded.
In order to achieve the purpose, the invention adopts the following technical scheme:
a synchronous upgrading method of a parallel machine system is marked as a technical scheme I, wherein the parallel machine system comprises a controller and at least two modules which are arranged in parallel; the controller stores preset upgrading information and establishes a communication relation with each module through a CAN bus; which comprises the following steps: the controller divides the stored preset upgrading information into a plurality of sections of upgrading information according to the preset length, and then broadcasts the upgrading information to each module section by section in a grading manner; each module receives each section of upgrading information according to frames, and different check codes are marked for each information frame which is successfully or unsuccessfully received; after the updating information is broadcast, the controller broadcasts a checking instruction to each module; after receiving the check instruction, each module feeds back a check string code consisting of check codes corresponding to each information frame to the controller; the controller decodes each received check string code and rebroadcasts each information frame failed to receive to each module according to the decoding result; and broadcasting the next section of upgrading information until all the modules successfully receive the whole section of upgrading information.
Based on the first technical solution, a second technical solution is further provided, in the second technical solution, when the number of retransmissions of any frame with failed reception exceeds a preset number, the controller determines a module with failed reception according to a decoding result, and stops sending information to the module
Based on the technical scheme I, a technical scheme III is further provided, and in the technical scheme III, the controller sends a fault instruction to the determined receiving failure module; and the failure receiving module gives an alarm after receiving the fault instruction.
Based on the first technical scheme, a fourth technical scheme is further provided, wherein in the fourth technical scheme, the controller performs and logic processing on check string codes received by each module to form check group codes corresponding to all reception failure frames; and decoding the check group code, and rebroadcasting the information frame with failed reception to each module according to the decoding result.
Based on the technical scheme I, a technical scheme V is further provided, and in the technical scheme V, the controller is provided with a check instruction between two sections of continuous upgrading information.
Based on the first technical scheme, a sixth technical scheme is also provided, wherein in the sixth technical scheme, each module is communicated with the corresponding RAM area storage unit through an external interface, and each RAM area storage unit is communicated with the corresponding Flash storage unit; and during the period that each module transmits each piece of upgrading information successfully received by each module to the RAM area storage unit through the external interface, the RAM area storage unit transmits the upgrading information received by each module to the Flash storage unit, and the upgrading information is stored by the Flash storage unit.
Based on the sixth technical scheme, a seventh technical scheme is further provided, wherein in the seventh technical scheme, before the controller starts broadcasting the upgrade information to each module, a handshake instruction is broadcast to each module; after receiving the handshake instruction, each module confirms that the RAM area storage unit and the Flash storage unit which are communicated with the modules are in a recordable state, and feeds back handshake success information to the controller; and after receiving the handshake success information fed back by each module, the controller broadcasts the upgrade information to each module with successful handshake.
Based on the seventh technical scheme, the intelligent control system is further provided with an eighth technical scheme, wherein in the eighth technical scheme, the controller is provided with a control screen for manual operation; after each module needing to be upgraded is selected by a person, the control screen broadcasts handshake commands to each selected module by the controller.
Based on the technical scheme one, a technical scheme nine is further provided, and in the technical scheme nine, the controller is connected with a USB flash disk for storing preset upgrading information through a USB interface; and the U disk transmits the preset upgrading information stored in the U disk to the controller and the controller stores the preset upgrading information.
Based on any one of the first to ninth technical solutions, a technical solution tenth is further provided, in the technical solution tenth, each module receives each segment of upgrade information according to a frame, sets the check code of the information frame which is successfully received to 1, and sets the check code of the information frame which is failed to receive to 0.
As can be seen from the above description of the present invention, the present invention has the following advantages over the prior art:
1. the parallel machine system comprises a controller and at least two parallel modules, namely, the controller and each parallel module are used for realizing multi-level function control so as to ensure the stability of the whole system. The controller and each module establish a communication relationship through the CAN bus, namely, the stored preset upgrading information is quickly transmitted to each module through the CAN bus.
The controller broadcasts the stored preset upgrading information to each module section by section in a grading manner, so that each module can simultaneously receive each section of upgrading information in parallel. And moreover, the upgrade information sent to each module in a broadcast mode is not limited to the number of each module, so that the parallel operation system can further expand the number of the modules according to the actual function requirement.
When each module receives each section of upgrading information according to a frame, namely, the check codes with different identifications for the successfully received information frame and the unsuccessfully received information frame are identified according to the information receiving state of each frame, the controller can carry out check detection work after the section of upgrading information is sent, and the operation of waiting for identification of each module is not needed, so that the time length of check detection is shortened.
The controller broadcasts a check instruction to each module after the update information is broadcast, so that each module feeds back a check string code corresponding to the broadcast receiving condition; the controller decodes each check string code, correspondingly determines each information frame with failed reception according to the decoding result, namely, according to each check code with the identification as the failed reception, and rebroadcasts each information frame with failed reception to be sent to each module again.
Compared with a conventional detection mode of full information segment verification, the technical scheme adopts a detection mode of segmented verification, namely, the amount of information to be verified and detected each time is less, and the difficulty of information verification and reissue is reduced; the accuracy of verification and analysis is relatively improved, and all reception failure information frames needing to be sent again can be accurately selected to be sent back to each module, so that the condition of frame missing or frame error receiving can be gradually reduced after each sending back of each module; and broadcasting the next section of upgrading information until all the modules successfully receive the whole section of upgrading information, namely ensuring that each section of upgrading information of all the modules can be successfully received so as to improve the overall upgrading success rate of each module.
In addition, the controller also adopts a broadcasting mode to transmit each reception failure information frame again, and the transmission supplementing efficiency is high; and each module still identifies the check code to each received information frame in the process of receiving the complementary transmission information in parallel so that the controller can check again after broadcasting the complementary transmission each time. I.e., through multiple reissue checks to verify that all modules have completely received the piece of upgrade information.
2. When the retransmission times exceed the preset times, the controller can determine the module which can not be successfully received continuously, namely the module which fails to receive according to the fed back check string codes so as to stop sending information to the module, thereby ensuring that the other modules which successfully receive can continuously receive the next section of upgrading information; the problem that the normal receiving progress of other modules is influenced due to the receiving fault of a single module is avoided, and the overall upgrading efficiency of the parallel operation system is improved.
3. And each receiving module gives an alarm after receiving the fault instruction, so that an operator can conveniently perform on-site investigation, and the time for reconfirming and checking the fault machine is reduced.
4. The controller makes logical process to the check string code received by each module, that is, integrates all the current receiving failure information frames which need to be reissued by all the modules; and after the controller decodes the check group code, the check group code is broadcasted and sent to each module in a unified way. Compared with the operation of performing one-time complementary transmission when the controller decodes one check string code, the technical scheme performs the operation of performing unified complementary transmission after the integrated decoding, thereby reducing the times of complementary transmission operation, improving the complementary transmission efficiency and avoiding the situation of repeatedly transmitting the same receiving failure frame.
5. The controller divides the stored preset upgrading information into a plurality of sections of upgrading information according to the preset length, and a check instruction is arranged between two sections of continuous upgrading information, namely the check instruction is arranged between each section of upgrading information and the next section of upgrading information, so that the check instruction is automatically broadcast to each module after each section of upgrading information is broadcast, namely the controller can broadcast the check instruction without judging that the section of upgrading information is sent and completed, the time for judging waiting is shortened, and the whole upgrading efficiency is improved. And secondly, the check instruction arranged between the sections is also used for identifying the dividing position of each section of upgrading information so as to position each section of upgrading information and reduce the information error transmission rate.
6. Because the storage speed of the RAM area storage unit is higher than that of the Flash storage unit, the RAM area storage unit can quickly receive the upgrading information sent by each module through the external interface and timely synchronously send the received upgrading information to the Flash storage unit, so that the two storage units realize parallel storage, and the whole time of storage operation is shortened.
Compared with a storage mode that the upgrading information is completely received by the RAM area memory unit and then transmitted to the Flash storage unit, the technical scheme adopts a parallel storage mode of double storage units, so that the whole information transmission time is saved, the idle time of the Flash storage unit is reduced, and the whole efficiency of information storage is improved.
7. After receiving the handshake instruction broadcast by the controller, each module confirms whether the current states of the RAM area memory unit and the Flash storage unit which are communicated with each module are suitable for receiving the upgrading information; if the RAM area memory unit and the Flash memory unit can be in a recordable state, namely in a receiving state, the handshake success information is fed back to the controller; the controller only needs to broadcast the upgrading information to each module which is successful in handshaking, so that the workload of broadcasting information is reduced; and when confirming that each module is in an upgradable state, sending upgrade information to each module so as to ensure that each module can stably and completely receive the upgrade information and avoid information mistransmission to improve upgrade success rate.
8. The controller is provided with a control screen for manual touch operation, each module needing to be upgraded can be selected by operating the control screen, and then the controller broadcasts handshake instructions to each selected module to confirm the current state of each selected module. If the parallel operation system comprises a plurality of modules, each module needing to be upgraded can be selected in a targeted manner through a manual selection mode so as to reduce the broadcasting workload of the controller, and the parallel operation system is suitable for carrying out targeted upgrading on each module according to the actual situation.
9. In the technical scheme, the preset upgrading information is stored in the USB flash disk and is sent to the controller by the USB flash disk, compared with the conventional mode that the upgrading information is directly stored in the controller, the preset upgrading information is easier to modify by the USB flash disk, and the USB flash disk is suitable for actual operation requirements.
10. In the technical scheme, each module sets the check code of the information frame which is successfully received to 1, sets the check code of the information frame which is failed to receive to 0, namely, the check codes which identify different information frames which are successfully received or failed to receive are set, and then the check codes which are composed of 0 and 1 numbers are fed back to the controller. After decoding each check string code, the controller can correspondingly confirm each reception failure information frame of each module in the section of upgrading information according to the corresponding position of each check code being 0, and then broadcasts each reception failure frame to each module. In the technical scheme, the two types of check codes respectively corresponding to successful receiving or failed receiving are clear and easy to identify by a machine so as to ensure the accuracy of check detection.
Further, each check string code is subjected to AND logic processing to form a check group code corresponding to all the reception failure frames; specifically, the check string codes of 0 and 1 fed back by each module are subjected to and logic processing, and if any check code in each check string code is identified as 0, the corresponding position of the check code in the check group code formed after the and logic processing is also identified as 0; if the check code identifiers at the same position of all the check string codes are all 1, the corresponding position of the check code is also identified as 1 in the check group code formed after the logical processing. And decoding the check codes with the identifiers of 0 in the check group code, so that all the reception failure frames needing to be reissued in the section of upgrading information can be integrated and confirmed.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic connection diagram of a parallel operation system according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is to be understood that the described embodiments are presently preferred embodiments of the invention and are not to be taken as an exclusion of other embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
In the claims, the specification and the drawings of the present invention, unless otherwise expressly limited, the terms "first", "second" or "third", etc. are used for distinguishing between different items and not for describing a particular sequence.
In the claims, the specification and the drawings of the present invention, unless otherwise expressly limited, all directional or positional relationships indicated by the terms "center," "lateral," "longitudinal," "horizontal," "vertical," "top," "bottom," "inner," "outer," "upper," "lower," "front," "rear," "left," "right," "clockwise," "counterclockwise," and the like are based on the directional or positional relationships indicated in the drawings and are used for convenience in describing the present invention and for simplicity in description, but do not indicate or imply that the device or element so indicated must have a particular orientation or be constructed and operated in a particular orientation, and therefore should not be construed as limiting the scope of the present invention.
In the claims, the description and the drawings of the present application, unless otherwise expressly limited, the terms "fixedly connected" or "fixedly connected" should be interpreted broadly, that is, any connection between the two that does not have a relative rotational or translational relationship, that is, non-detachably fixed, integrally connected, and fixedly connected by other devices or elements.
In the claims, the specification and the drawings of the present invention, the terms "including", "having" and their variants, if used, are intended to be inclusive and not limiting.
Referring to fig. 1, fig. 1 shows a connection relationship of a parallel operation system in an embodiment of the present invention. In this embodiment, a synchronous upgrade method for a parallel operation system is provided, where the synchronous upgrade method is applied to the parallel operation system; the parallel machine system comprises a controller, a U disk, at least two modules arranged in parallel, and an RAM area storage unit and a Flash storage unit which correspond to the modules. In this embodiment, the parallel operation system includes 30 modules arranged in parallel; of course, the number of modules can be increased or decreased according to actual use requirements.
The controller stores preset upgrading information; in this embodiment, the usb disk stores preset upgrade information; the USB flash disk is connected with the controller through the USB interface, so that the stored preset upgrading information is transmitted to the controller through the USB flash disk and is stored by the controller. And the controller is provided with a control screen for manual operation, namely, each module needing to be upgraded is manually selected after touch operation.
As shown in fig. 1, in the present embodiment, the connection relationship of the parallel system is as follows:
The USB flash disk is connected with the controller through a USB interface; the controller establishes a communication relation with each module through a CAN bus; all modules are arranged in parallel; and each module is communicated with the corresponding RAM area storage unit through an external interface XINFT, and each RAM area storage unit is communicated with the corresponding Flash storage unit.
The parallel system synchronously upgrades each module through the controller, in this embodiment, the following synchronous upgrade method is adopted, which includes the following steps:
after each module needing to be upgraded is artificially selected on the control screen, the controller broadcasts handshake commands to each selected module. The modules needing to be upgraded are selected in a targeted mode through a manual selection mode, so that the broadcasting workload of the controller is reduced, and the targeted upgrading method is suitable for directionally upgrading the modules according to actual conditions.
After receiving the handshake instruction, each module confirms the current states of the RAM area storage unit and the Flash storage unit which are communicated with the modules; if the RAM area memory unit and the Flash memory unit which are communicated with the controller are both in a recordable state, the handshake success information is fed back to the controller; and if any one of the RAM area memory unit and the Flash storage unit which are communicated with the RAM area memory unit is in a non-recordable state and is considered to be in a handshake failure, no handshake success information is fed back to the controller.
Preferably, if any one of the connected RAM area memory unit and the Flash storage unit of each module is in a non-recordable state, handshake failure information can be fed back to the controller; the information of the handshake failure can include the reason of the handshake failure, and the information is displayed by the control screen after being processed by the controller, so that the operator can conveniently perform on-site troubleshooting and detection one by one.
And after receiving the handshake success information fed back by each module, the controller broadcasts the upgrade information to each module with successful handshake. In this embodiment, the controller only needs to broadcast the upgrade information to each module that has successfully performed handshake, so as to reduce the workload of broadcasting information; and when confirming that each module is in an upgradable state, sending upgrade information to each module so as to ensure that each module can stably and completely receive the upgrade information and avoid information mistransmission to improve upgrade success rate.
Specifically, before broadcasting the upgrade information to each module, the controller divides the stored preset upgrade information into a plurality of segments of upgrade information according to a preset length, and then broadcasts the segments of upgrade information to each module with successful handshake. In this embodiment, the controller divides the preset upgrade information stored therein into a plurality of pieces of upgrade information, with each piece being 48 bits; a check instruction is arranged between two sections of continuous upgrading information; namely, a check instruction is arranged between the segment tail of each segment of the upgrading information and the segment head of the next segment of the upgrading information connected with the segment tail.
Each module receives each section of upgrading information according to frames, and different check codes are marked for each information frame which is successfully or unsuccessfully received. In this embodiment, each module sets the check code of the information frame with success to 1, and sets the check code of the information frame with failure to receive to 0.
In the embodiment, the controller sends the upgrade information in a broadcast mode, so that compared with a conventional serial sending mode, the time for information transmission is greatly shortened, and the information transmission efficiency is improved; and the idle time of each module is reduced, so that each module can receive the upgrading information in parallel, and the actual use requirement of synchronous and rapid upgrading among the modules is met.
And after the updating information is broadcast, the controller broadcasts a verification instruction to each module.
In this embodiment, a check instruction is arranged between two sections of continuous upgrade information, that is, a check instruction is arranged between each section of upgrade information and the next section of upgrade information; after the broadcast of each section of upgrading information is finished, the controller automatically broadcasts the verification instruction to each module. Namely, the controller can broadcast the check instruction without judging that the upgrade information of the section is sent, so that the waiting time for judgment is reduced, and the overall upgrade efficiency is improved. And secondly, the check instruction arranged between the sections is also used for identifying the dividing position of each section of upgrading information so as to position each section of upgrading information and reduce the information error transmission rate.
After receiving the check instruction, each module feeds back a check string code consisting of check codes corresponding to each information frame to the controller. In this embodiment, each module feeds back, to the controller, each check code corresponding to each information frame in the information segment of the current broadcast, and the check string code is composed of the check codes corresponding to each information frame. The check code marked as 1, namely the information frame corresponding to the check code, is successfully received without being reissued; the check code marked as 0, i.e. the information frame corresponding to the check code, needs to be reissued when the receiving fails.
The controller decodes each received check string code and rebroadcasts each information frame with failed reception to each module according to the decoding result. In this embodiment, the controller performs and logic processing on the check string codes received by the modules to form check group codes corresponding to all the reception failure information frames, and then decodes the check group codes to rebroadcast the reception failure information frames to the modules according to the decoding result.
The controller performs and logic processing on the check string codes received by the modules, namely, integrates all reception failure information frames which need to be reissued currently by all the modules; and after the controller decodes the check group code, the check group code is broadcasted and sent to each module in a unified way. Compared with the operation of performing one-time complementary transmission when the controller decodes one check string code, the technical scheme performs the operation of performing unified complementary transmission after the integrated decoding, thereby reducing the times of complementary transmission operation, improving the complementary transmission efficiency and avoiding the situation of repeatedly transmitting the same receiving failure frame.
In this embodiment, the 0 and 1 check string codes fed back by each module are subjected to and logic processing, and if any check code in each check string code is identified as 0, the corresponding position of the check code in the check group code formed after the and logic processing is also identified as 0; if the check code identifiers at the same position of all the check string codes are all 1, the corresponding position of the check code is also identified as 1 in the check group code formed after the logical processing. And decoding each check code with the identifier of 0 in the check group code to integrate and confirm all reception failure frames needing to be retransmitted in the section of upgrading information.
Similarly, the controller broadcasts the check instruction to each module after rebroadcasting each reception failure information frame each time. And each module still identifies the check code for each received information frame in the process of receiving the complementary transmission information in parallel so that the controller can check again after broadcasting the complementary transmission each time. The controller also adopts a broadcasting mode to reissue each reception failure information frame, and the reissue efficiency is high; and pass multiple reissue check operations to verify that all modules have completely received the segment of upgrade information. And broadcasting the next section of upgrading information by the controller again until all the check codes in the check string codes received by the modules by the controller are marked as 1, namely after all the modules successfully receive the whole section of upgrading information.
If the number of times of retransmission of any frame with reception failure exceeds the preset number of times, the controller determines a module with reception failure according to the decoding result and stops sending information to the module. Specifically, the controller can determine a module which cannot be successfully received for many times according to the check string code fed back by each module so as to stop sending information to the module; the controller only broadcasts the next section of upgrade information to the other modules which can normally receive, and the processes of broadcasting, receiving and checking are all carried out as usual as explained above. The problem that the normal receiving progress of other modules is influenced due to the receiving fault of a single module is avoided, and the overall upgrading efficiency of the parallel operation system is improved.
In this embodiment, since the check string codes are subjected to the and logic processing to form the check group codes, the check group codes need to be further decoded to determine the modules with failed reception. Specifically, the controller also sends a failure instruction to the determined reception failure module; the failure receiving module gives an alarm after receiving the fault instruction, so that an operator can conveniently conduct on-site investigation, and the time for reconfirming and checking the fault machine is reduced. Preferably, an external warning lamp or a buzzer can be turned on to play a warning role.
Further, during the period that each module transmits each piece of upgrade information successfully received by each module to the RAM area storage unit through the external interface XINFT, the RAM area storage unit transmits the upgrade information received by each module to the Flash storage unit, and the Flash storage unit stores the upgrade information. Namely, the storage unit in the RAM area has a higher storage speed than the storage unit in the Flash memory, so that the storage unit in the RAM area can quickly receive the upgrade information sent by each module through the external interface and can synchronously send the received upgrade information to the Flash memory in time, so that the two memory units realize parallel storage, and the whole time of the storage operation is shortened.
The process of the controller broadcasting the subsequent upgrade information is as above, and all the upgrade operations are finished until all the modules successfully receive all the upgrade information.
In summary, the present embodiment provides a synchronous upgrade method for a parallel system, where the synchronous upgrade method enables each parallel module to receive upgrade information synchronously, so as to improve the overall upgrade efficiency; and the module is checked in time in a sectional checking mode, so that the false detection rate is reduced, and each module can be reliably upgraded.
The description of the above specification and examples is intended to be illustrative of the scope of the present invention and is not intended to be limiting. Modifications, equivalents and other improvements which may occur to those skilled in the art and which may be made to the embodiments of the invention or portions thereof through a reasonable analysis, inference or limited experimentation, in light of the common general knowledge, the common general knowledge in the art and/or the prior art, are intended to be within the scope of the invention.

Claims (10)

1. A synchronous upgrading method of a parallel machine system is characterized in that: the parallel machine system comprises a controller and at least two modules which are arranged in parallel; the controller stores preset upgrading information and establishes a communication relation with each module through a CAN bus; which comprises the following steps:
the controller divides the stored preset upgrading information into a plurality of sections of upgrading information according to the preset length, and then broadcasts the upgrading information to each module section by section in a grading manner; each module receives each section of upgrading information according to frames, and different check codes are marked for each information frame which is successfully or unsuccessfully received;
after the updating information is broadcast, the controller broadcasts a checking instruction to each module; after receiving the check instruction, each module feeds back a check string code consisting of check codes corresponding to each information frame to the controller;
the controller decodes each received check string code and rebroadcasts each information frame failed to receive to each module according to the decoding result; and broadcasting the next section of upgrading information until all the modules successfully receive the whole section of upgrading information.
2. The synchronous upgrading method of the parallel machine system according to claim 1, characterized in that: and when the retransmission times of any frame with failed reception exceed the preset times, the controller determines a module with failed reception according to the decoding result and stops sending information to the module.
3. The synchronous upgrading method of the parallel machine system according to claim 2, characterized in that: the controller sends a fault instruction to the determined receiving failure module; and the failure receiving module gives an alarm after receiving the fault instruction.
4. The synchronous upgrading method of the parallel machine system according to claim 1, characterized in that: the controller performs AND logic processing on the check string codes received by the modules to form check group codes corresponding to all the reception failure frames; and decoding the check group code, and rebroadcasting the information frame with failed reception to each module according to the decoding result.
5. The synchronous upgrading method of the parallel machine system according to claim 1, characterized in that: the controller is provided with a check instruction between two sections of continuous upgrading information.
6. The synchronous upgrading method of the parallel machine system according to claim 1, characterized in that: each module is communicated with the corresponding RAM area storage unit through an external interface, and each RAM area storage unit is communicated with the corresponding Flash storage unit;
and during the period that each module transmits each piece of upgrading information successfully received by each module to the RAM area storage unit through the external interface, the RAM area storage unit transmits the upgrading information received by the corresponding module to the Flash storage unit, and the upgrading information is stored by the Flash storage unit.
7. The synchronous upgrading method of the parallel machine system according to claim 6, characterized in that: before the controller starts to broadcast the upgrading information to each module, a handshake instruction is broadcast to each module;
after receiving the handshake instruction, each module confirms that the RAM area storage unit and the Flash storage unit which are communicated with the modules are in a recordable state, and feeds back handshake success information to the controller; and after receiving the handshake success information fed back by each module, the controller broadcasts the upgrade information to each module with successful handshake.
8. The synchronous upgrading method of the parallel machine system according to claim 7, characterized in that: the controller is provided with a control screen for manual operation; after each module needing to be upgraded is selected by a person, the control screen broadcasts handshake commands to each selected module by the controller.
9. The synchronous upgrading method of the parallel machine system according to claim 1, characterized in that: the controller is connected with a USB flash disk for storing preset upgrading information through a USB interface; and the U disk transmits the preset upgrading information stored in the U disk to the controller and the controller stores the preset upgrading information.
10. The synchronous upgrading method of the parallel system according to any one of claims 1 to 9, characterized by: and each module receives each section of upgrading information according to frames, sets the check code of the information frame which is successfully received to 1 and sets the check code of the information frame which is failed to be received to 0.
CN202010605297.XA 2020-06-29 2020-06-29 Synchronous upgrading method of parallel operation system Pending CN111857770A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010605297.XA CN111857770A (en) 2020-06-29 2020-06-29 Synchronous upgrading method of parallel operation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010605297.XA CN111857770A (en) 2020-06-29 2020-06-29 Synchronous upgrading method of parallel operation system

Publications (1)

Publication Number Publication Date
CN111857770A true CN111857770A (en) 2020-10-30

Family

ID=72989576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010605297.XA Pending CN111857770A (en) 2020-06-29 2020-06-29 Synchronous upgrading method of parallel operation system

Country Status (1)

Country Link
CN (1) CN111857770A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040193998A1 (en) * 2003-03-25 2004-09-30 Wegener Communications, Inc. Software download control system, apparatus and method
CN101515967A (en) * 2009-03-18 2009-08-26 中兴通讯股份有限公司 Over-the-air downloader of terminal firmware and method thereof
CN104949288A (en) * 2015-07-13 2015-09-30 珠海格力电器股份有限公司 Multi-connected air conditioning unit, program upgrading system and method thereof as well as program upgrading device
CN106843958A (en) * 2017-01-18 2017-06-13 成都黑盒子电子技术有限公司 A kind of embedded firmware upgrading method
CN110515637A (en) * 2019-07-12 2019-11-29 湖南新云网科技有限公司 A kind of programme upgrade method, system and terminal device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040193998A1 (en) * 2003-03-25 2004-09-30 Wegener Communications, Inc. Software download control system, apparatus and method
CN101515967A (en) * 2009-03-18 2009-08-26 中兴通讯股份有限公司 Over-the-air downloader of terminal firmware and method thereof
CN104949288A (en) * 2015-07-13 2015-09-30 珠海格力电器股份有限公司 Multi-connected air conditioning unit, program upgrading system and method thereof as well as program upgrading device
CN106843958A (en) * 2017-01-18 2017-06-13 成都黑盒子电子技术有限公司 A kind of embedded firmware upgrading method
CN110515637A (en) * 2019-07-12 2019-11-29 湖南新云网科技有限公司 A kind of programme upgrade method, system and terminal device

Similar Documents

Publication Publication Date Title
CN111145523B (en) Method for upgrading micropower wireless communication module in electricity consumption information acquisition system
CN106293786A (en) A kind of FPGA configuration file update method and equipment
EP3828055A1 (en) Train control dmi data redundancy control method and system
CN202818374U (en) Remote batch collector terminal upgrading system
CN111309351B (en) Data upgrading method and system
CN104780064A (en) Fault detection method of dual-redundancy-channel hot-switching CAN bus
CN101686139A (en) Method, device and system of multicast upgrading
CN112583646A (en) Remote upgrading method for intelligent electric meter
CN111338329A (en) Robot servo system, fault debugging method and device thereof, and electronic equipment
CN111459522B (en) Air conditioner and communication module upgrading method thereof
CN111857770A (en) Synchronous upgrading method of parallel operation system
CN110809002A (en) Method for protocol conversion between robot and welding equipment and protocol conversion module
CN114151933B (en) Multi-split air conditioning unit upgrading system, upgrading controller and upgrading method
CN112600787A (en) Communication system and communication method
CN110868448A (en) Vehicle-mounted data updating system and method
CN112732306A (en) Remote software upgrading method and system for outdoor acquisition equipment
CN106642590B (en) A kind of air-conditioner control method and bidirectional protocol converter
CN102331066A (en) Method for investigating indoor and outdoor communication fault points of VRV (Vacuum Reducer Valve) multi-connected air-condition unit
CN113301182B (en) Networking communication system based on PLC bus
EP4180702A1 (en) Industrial rechargeable wireless solenoid valve system
CN113551363A (en) Upgrading method of main program of air conditioner external unit, operation control device and air conditioner
CN1078025C (en) Data transmission control device of radio selection call receiver
CN112235085A (en) Breakpoint continuous transmission method for image transmission of DLMS electric energy meter
WO2024050752A1 (en) Multi-controller system, coding method, electronic device, and storage medium
CN113592230A (en) Train parameter adjusting method and device

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 361000 Ma Long Road 457, Torch Garden, Xiamen Torch High-tech Zone, Xiamen City, Fujian Province

Applicant after: Kehua Data Co.,Ltd.

Applicant after: ZHANGZHOU KEHUA TECHNOLOGY Co.,Ltd.

Address before: 361000 Ma Long Road 457, Torch Garden, Xiamen Torch High-tech Zone, Xiamen City, Fujian Province

Applicant before: XIAMEN KEHUAHENGSHENG LIMITED BY SHARE Ltd.

Applicant before: ZHANGZHOU KEHUA TECHNOLOGY Co.,Ltd.