An SVG remote upgrading method, an SVG system, a control device and a storage medium
By using the SVG remote upgrade method, the upgrade of SVG submodules is automatically controlled, which solves the problems of cumbersome upgrade process and stability in the existing technology and realizes an efficient and stable upgrade process.
Patent Information
- Application Number
- CN202411607513.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-12
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2044-11-12
AI Technical Summary
The existing SVG submodule upgrade process is cumbersome and requires manual intervention, resulting in long upgrade times and impacting power grid stability.
The SVG remote upgrade method is adopted. The upgrade steps are confirmed with the main controller through the monitoring platform. The main controller controls the submodule to enter the network state, sends the upgrade bitstream data in packets and performs verification, and automatically loads the upgrade or backup bitstream data to ensure stable operation.
It enables automated upgrades without requiring submodule shutdowns, reducing labor costs, improving upgrade quality, and ensuring power grid stability.
Smart Images

Figure CN119629053B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of SVG device computer management and control, and particularly relates to an SVG remote upgrading method, an SVG system, a control device and a storage medium. BACKGROUND
[0002] With the continuous growth of domestic power demand, especially in the process of urbanization and industrialization. This leads to greater challenges for the power system, which needs to have better reactive power control capability and voltage stability. SVG as one of the key devices to meet these needs, the requirement of its operation stability and maintenance efficiency also correspondingly increases, thus, the upgrading frequency of the sub-modules of the power module in the SVG also correspondingly increases.
[0003] At present, the program upgrading of the sub-modules is usually completed manually by the maintenance personnel. Before upgrading the program, the maintenance personnel needs to control each sub-module, and the sub-module needs to apply for scheduling to the monitoring platform to make the SVG stop running. The process is cumbersome, and the program upgrading of each sub-module needs to be performed one by one. After the upgrading is completed, each sub-module also needs to be checked and debugged. The more the number of sub-modules is, the longer the program upgrading time is. SUMMARY
[0004] The present application aims to at least solve one of the technical problems existing in the prior art. To this end, the present application provides an SVG remote upgrading method, an SVG system, a control device and a storage medium, which automatically and efficiently realize the upgrading of each sub-module, reduce the labor cost, improve the upgrading quality, and meet the demand of improving the operation stability.
[0005] According to the SVG remote upgrading method of the first aspect of the present application, the SVG system comprises a monitoring background, a main controller and a power module, the power module comprises a plurality of sequentially connected sub-modules, the main controller is connected with the monitoring background and the plurality of sub-modules respectively, each of the sub-modules is connected with a storage unit, the storage unit comprises an application bit stream area and a backup bit stream area, the SVG remote upgrading method comprises the following steps: the monitoring platform and the main controller confirm whether to enter an upgrading step, after confirming to enter the upgrading step; the main controller controls the SVG system to enter a network hanging state; the monitoring platform sends upgrading bit stream data to the main controller in packets; the main controller sends the upgrading bit stream data to the application bit stream area of the storage unit of each sub-module; the monitoring platform sends upgrading verification data to the main controller, the main controller sends the upgrading verification data to each sub-module, the sub-module verifies the upgrading bit stream data in the application bit stream area according to the upgrading verification data, and judges whether the sub-module passes the verification; if all the sub-modules pass the verification, the sub-module loads the upgrading bit stream data to run; if at least part of the sub-modules fail to pass the verification, the sub-module feeds back upgrading failure information to the monitoring platform through the main controller, and the sub-module loads backup bit stream data in the backup bit stream area to run.
[0006] According to the SVG remote upgrading method of the present application, at least the following beneficial effects are achieved:
[0007] The SVG remote upgrading method of the present application, when the monitoring platform wants to remotely upgrade the sub-modules of the SVG, the monitoring platform can first confirm with the main controller, after confirming to enter the upgrading step, the main controller controls the sub-modules to enter the network hanging state first, without stopping the sub-modules, but also ensures that the sub-modules do not affect the power grid during the upgrading process, the monitoring platform sends the upgrading bit stream data corresponding to each sub-module to the main controller in packets, and then the main controller sends the upgrading bit stream data to each sub-module, wherein the storage unit of the sub-module comprises an application bit stream area and a backup bit stream area, the backup bit stream area stores backup bit stream data, and the upgrading bit stream data is only stored in the application bit stream area, after sending the upgrading bit stream data, the main controller sends upgrading verification data to each sub-module, the sub-module verifies the upgrading bit stream data by using the upgrading verification data, and only when all the sub-modules pass the verification, the sub-module loads the upgrading bit stream data to run, as long as at least part of the sub-modules fail to pass the verification, the sub-module loads the backup bit stream data in the backup bit stream area to run, which ensures that each sub-module can run normally by using the backup bit stream data when the upgrading fails, the design automatically and efficiently upgrades each sub-module, reduces the labor cost, improves the upgrading quality, and meets the demand for improving the running stability.
[0008] According to some embodiments of the present application, the mutual confirmation of the monitoring platform and the main controller whether to enter the upgrade step comprises: the monitoring platform sends an upgrade request to the main controller; the main controller receives the upgrade request, acquires the running state of the power module and forms an upgrade permission instruction according to the running state; when the upgrade permission instruction represents that the upgrade is allowed, the main controller sends the upgrade permission instruction to the monitoring platform and each sub-module to drive the monitoring platform and each sub-module to enter the upgrade step; when the upgrade permission instruction represents that the upgrade is prohibited, the main controller sends the upgrade permission instruction to the monitoring platform to prohibit the upgrade.
[0009] According to some embodiments of the present application, the sending of the upgrade check data by the monitoring platform to the main controller, the sending of the upgrade check data by the main controller to each sub-module, the checking of the upgrade bit stream data in the application bit stream area by each sub-module according to the upgrade check data, and the judgment of whether the checking of each sub-module is passed comprise: each sub-module receives the upgrade check data; each sub-module reads the upgrade bit stream data in the application bit stream area, checks the upgrade bit stream data by using the upgrade check data; when the checking is passed, the sub-module feeds back checking passed mark information to the main controller; when the checking fails, the sub-module feeds back checking failed mark information to the main controller; the main controller counts the checking passed mark information or the checking failed mark information fed back by each sub-module to form upgrade feedback information, wherein the upgrade feedback information is one of upgrade success information and upgrade failure information.
[0010] According to some embodiments of the present application, the loading of the upgrade bit stream data by each sub-module for running when all the sub-modules are checked to be passed comprises: the main controller sends the upgrade success information to the monitoring platform to cancel the upgrade permission instruction; the main controller sends the upgrade success information to each sub-module, and each sub-module loads the upgrade bit stream data for running.
[0011] According to some embodiments of the present application, the loading of the backup bit stream data by each sub-module for running when at least part of the sub-modules are checked to be failed comprises: the main controller sends the upgrade failure information to the monitoring platform to cancel the upgrade permission instruction; the main controller sends the upgrade failure information to each sub-module, and each sub-module loads the backup bit stream data for running.
[0012] According to some embodiments of the present application, the sending of the upgrade bit stream data by the main controller to the application bit stream area of the storage unit of each sub-module comprises: the main controller alternately sends an instruction data packet and an upgrade bit stream data packet to each sub-module, wherein the instruction data packet comprises instruction data, and the upgrade bit stream data packet comprises upgrade bit stream data.
[0013] According to some embodiments of the present application, the instruction data packet further comprises a first packet header, the first packet header and the instruction data are sequentially arranged, the upgrade bit stream data packet further comprises a second packet header, the second packet header and the upgrade bit stream data are sequentially arranged, in one unit transmission period, the main controller only transmits one instruction data packet or one upgrade bit stream data packet, in multiple continuous unit transmission periods, the instruction data packet and the upgrade bit stream data packet are alternately transmitted, the instruction data is separated from the front upgrade bit stream data by the first packet header, and the upgrade bit stream data is separated from the front instruction data by the second packet header.
[0014] According to the SVG system of the second aspect of the embodiments of the present application, the SVG system comprises a monitoring background, a main controller and a power module, the power module comprises a plurality of sequentially connected sub-modules, the main controller is connected with the monitoring background and the plurality of sub-modules respectively, a storage unit is connected in each of the sub-modules, the storage unit comprises an application bit stream area and a standby bit stream area, and the SVG system executes the SVG remote upgrade method disclosed in any of the embodiments to upgrade each sub-module.
[0015] According to the SVG system of the embodiments of the present application, at least the following beneficial effects are achieved:
[0016] The SVG system of the present application executes the SVG remote upgrade method disclosed in any of the embodiments to upgrade each sub-module, so that the upgrade of each sub-module is automatically and efficiently realized, the labor cost is reduced, the upgrade quality is improved, and the demand for improving the operation stability is met.
[0017] According to the control device of the third aspect of the embodiments of the present application, the control device comprises a memory and a processor, the memory stores a computer program, and the processor realizes the SVG remote upgrade method disclosed in any of the embodiments when executing the computer program.
[0018] According to the computer readable storage medium of the fourth aspect of the embodiments of the present application, the computer readable storage medium stores a computer program, and the computer program realizes the SVG remote upgrade method disclosed in any of the embodiments when executed by a processor.
[0019] Additional aspects and advantages of the present application will be in part apparent and in part pointed out hereinafter. BRIEF DESCRIPTION OF DRAWINGS
[0020] The above and / or additional aspects and advantages of the present application will become apparent and be readily appreciated from the following description, taken in conjunction with the accompanying drawings, in which:
[0021] Figure 1 It is a schematic block diagram of the principle structure of one of the embodiments of the SVG system of the present application;
[0022] Figure 2 The schematic diagram of the principle structure of the sub-module of one embodiment of the SVG system of the present application;
[0023] Figure 3 The main flowchart of one embodiment of the SVG remote upgrading method of the present application;
[0024] Figure 4 The specific flowchart of step S410 of one embodiment of the SVG remote upgrading method of the present application;
[0025] Figure 5 The specific flowchart of step S450 of one embodiment of the SVG remote upgrading method of the present application;
[0026] Figure 6 The schematic diagram of the program structure of the main controller issuing data to the sub-module;
[0027] Figure 7 The schematic diagram of the storage area division structure of the storage unit;
[0028] Figure 8 The principle structure block diagram of one embodiment of the control device of the present application.
[0029] Reference signs:
[0030] Monitoring background 100; main controller 200; power module 300; sub-module 310; control unit 311; power unit 312; storage unit 313; application bit stream area 314; backup bit stream area 315; processor 710; memory 720; input / output interface 730; communication interface 740; bus 750. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical scheme and advantages of the present application more clear, the present application is further described in detail below in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, and are not used to limit the present application.
[0032] It should be noted that although the functional modules are divided in the device schematic diagram, and the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order from the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the description, claims and above drawings are used to distinguish similar objects, and do not necessarily describe a specific order or sequence.
[0033] In the description of the present application, one or more is meant to be one or more, more than two is meant to be two or more, greater than, less than, more than, etc. are understood to not include the number, above, below, within, etc. are understood to include the number.
[0034] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to be limiting of this application.
[0035] As shown in Figure 1 Figure 7 According to the SVG remote upgrading method of the first aspect embodiment of the present application, the SVG system comprises a monitoring background 100, a main controller 200 and a power module 300, the power module 300 comprises a plurality of sequentially connected sub-modules 310, the main controller 200 is connected with the monitoring background 100 and the plurality of sub-modules 310 respectively, a storage unit 313 is connected in each of the sub-modules 310, and the storage unit 313 comprises an application bitstream area 314 and a backup bitstream area 315.
[0036] The monitoring background 100 can be a central monitoring computer, and the monitoring background 100 can obtain updated upgrading bitstream data from a cloud platform or a superior control device. The main controller 200 is a controller of the power module 300, is connected with each of the sub-modules 310 respectively, can output control instructions to control the sub-modules 310 to run, so as to realize the corresponding functions of the SVG (static var generator) in the power grid, and the main controller 200 can be selected from an MCU or a CPU and the like and the attached circuit thereof.
[0037] Specifically, the sub-modules 310 can be multiple, as shown in Figure 1 2 The sub-modules 310 further comprise a control unit 311 and a power unit 312. The control unit 311 can be selected from an FPGA control chip and the attached circuit thereof, and the power unit 312 can be composed of a plurality of semiconductor switching tubes, resistors and capacitors. The control unit 311 is connected with the switching tubes in the power unit 312 to control the on-off operation of the switching tubes. The control unit 311 is connected with the main controller 200 and the storage unit 313 respectively. The control unit 311 can receive the control instructions of the main controller 200 to control the power unit 312, and can also receive the upgrading bitstream data issued by the main controller 200 to store in the storage unit 313. The storage unit 313 can adopt a FLASH chip, which can be any one of an SPI FLASH and a BPI FLASH.
[0038] As shown in Figure 3 The SVG remote upgrading method comprises the following steps.
[0039] S410, the monitoring platform and the main controller confirm whether to enter the upgrade step, and after confirming to enter the upgrade step;
[0040] S420, the main controller controls the SVG system to enter the network hanging state;
[0041] S430, the monitoring platform sends the upgrade bit stream data to the main controller in packets;
[0042] S440, the main controller sends the upgrade bit stream data to the application bit stream area of the storage unit of each sub-module;
[0043] S450, the monitoring platform sends the upgrade check data to the main controller, the main controller sends the upgrade check data to each sub-module, the sub-module checks the upgrade bit stream data in the application bit stream area according to the upgrade check data, and judges whether the sub-module passes the check;
[0044] S460, if all the sub-modules pass the check, the sub-module loads the upgrade bit stream data and runs;
[0045] S470, if at least part of the sub-modules fail to pass the check, the sub-module feeds back the upgrade failure information to the monitoring platform through the main controller, and the sub-module loads the backup bit stream data in the backup bit stream area and runs.
[0046] It should be noted that, as shown in Figure 7 The backup bit stream data stored in the backup bit stream area can be understood as a kind of correct backup data, which has sufficient integrity and executability, but the data version is lower.
[0047] In S420, the main controller controls the SVG system to enter the network hanging state, and in the network hanging state, the SVG device is still in the high-voltage closing state, wherein the difference between the network hanging state and the working state is that in the charging process, the energy storage voltage of part of the sub-modules is greater than the charging voltage threshold, and then it can be cut out at any time, while in the working state, the switching of the sub-modules needs to be controlled according to the control instruction, because in the network hanging state, the switching speed of the sub-modules is slow, and the real-time requirement of the control instruction is reduced, therefore, in the network hanging state, the instruction data packet and the upgrade bit stream data packet can be sent alternately, and this process does not affect the network running of the SVG system;
[0048] The SVG remote upgrading method, when the monitoring platform wants to remotely upgrade the sub-modules of the SVG, the monitoring platform can first mutually confirm with the main controller, after confirming to enter the upgrading step, the main controller first controls the sub-modules to enter the network hanging state, without stopping the sub-modules, but also ensures that the sub-modules do not affect the power grid during the upgrading process, the monitoring platform sends the upgrading bit stream data corresponding to each sub-module to the main controller, and then the main controller sends the upgrading bit stream data to each sub-module, wherein the storage unit of the sub-module includes an application bit stream area and a backup bit stream area, the backup bit stream area stores backup bit stream data, and the upgrading bit stream data is only stored in the application bit stream area, after sending the upgrading bit stream data, the main controller sends upgrading check data to each sub-module, the sub-module checks the upgrading bit stream data by using the upgrading check data, and only when all the sub-modules are checked, the sub-module loads the upgrading bit stream data to run, as long as at least part of the sub-modules are not checked, the sub-module loads the backup bit stream data in the backup bit stream area to run, so that the sub-modules can also realize normal operation by using the backup bit stream data when the upgrading fails, the design automatically and efficiently realizes the upgrading of each sub-module, reduces the labor cost, improves the upgrading quality, and meets the demand for improving the operation stability.
[0049] In some embodiments of the application, as shown in Figure 4 The mutual confirmation of the monitoring platform and the main controller in step S410 includes:
[0050] S510, the monitoring platform sends an upgrading request to the main controller;
[0051] S520, the main controller receives the upgrading request, the main controller obtains the running state of the power module and forms an upgrading permission instruction according to the running state;
[0052] S530, when the upgrading permission instruction represents that the upgrading is allowed, the main controller sends the upgrading permission instruction to the monitoring platform and each sub-module respectively to drive the monitoring platform and each sub-module to enter the upgrading step;
[0053] S540, when the upgrading permission instruction represents that the upgrading is prohibited, the main controller sends the upgrading permission instruction to the monitoring platform to prohibit the upgrading.
[0054] When having the upgrade bitstream data with the new version, the monitoring platform sends an upgrade request to the main controller, the main controller can judge whether it is suitable to upgrade according to the running state of the power module, and form an upgrade permission instruction or an upgrade prohibition instruction, when allowing upgrade, the main controller sends the upgrade permission instruction to the monitoring platform and each sub-module, so as to drive the monitoring platform and each sub-module to make upgrade preparation, and enter the upgrade execution step, if not allowing upgrade, the main controller feeds back the upgrade prohibition to the monitoring platform, and can also send the upgrade permission instruction indicating the upgrade prohibition to the sub-module.
[0055] In some embodiments of the application, as shown in Figure 5 The monitoring platform sends the upgrade check data to the main controller in step S450, the main controller sends the upgrade check data to each sub-module, the sub-module checks the upgrade bitstream data in the application bitstream area according to the upgrade check data, and judges whether the sub-module passes the check, and the method comprises the steps of:
[0056] S610, each sub-module receives the upgrade check data;
[0057] S620, each sub-module reads the upgrade bitstream data in the application bitstream area, and checks the upgrade bitstream data by using the upgrade check data;
[0058] S630, when the check passes, the sub-module feeds back check pass marker information to the main controller;
[0059] S640, when the check fails, the sub-module feeds back check failure marker information to the main controller;
[0060] S650, the main controller counts the check pass marker information or the check failure marker information fed back by each sub-module to form upgrade feedback information, wherein the upgrade feedback information is one of upgrade success information and upgrade failure information.
[0061] After the upgrade bitstream data is sent out, the monitoring platform sends a bitstream data end instruction to the main controller; after receiving the bitstream data end instruction, the main controller sends a bitstream end instruction to the sub-module, and the control unit in the sub-module stops writing data to the storage unit.
[0062] The upgrade check data can be a CRC check value, and whether the CRC check value and the CRC check code of the upgrade bitstream data cached in the application bitstream area are consistent is checked by using the CRC algorithm, if consistent, the check passes, the sub-module feeds back check pass marker information to the main controller, if inconsistent, the sub-module feeds back check failure marker information to the main controller, and the main controller counts the information fed back by all sub-modules, thereby forming the upgrade feedback information.
[0063] In some embodiments of the present application, if all the sub-modules pass the check, the sub-modules load the upgrade bitstream data and run in the following steps:
[0064] The main controller sends the upgrade success information to the monitoring platform to cancel the upgrade permission instruction.
[0065] The main controller sends the upgrade success information to each sub-module, and the sub-modules load the upgrade bitstream data and run.
[0066] In some embodiments of the present application, if at least part of the sub-modules fail the check, the sub-modules feed back the upgrade failure information to the monitoring platform through the main controller, and the sub-modules load the backup bitstream data in the backup bitstream area and run in the following steps:
[0067] The main controller sends the upgrade failure information to the monitoring platform to cancel the upgrade permission instruction.
[0068] The main controller sends the upgrade failure information to each sub-module, and the sub-modules load the backup bitstream data and run.
[0069] Regardless of whether the upgrade is successful or failed, the main controller sends the upgrade success information or the upgrade failure information to the monitoring platform to cancel the upgrade permission instruction formed in step S520, so as to prevent the upgrade permission instruction from remaining in the monitoring platform and causing control disorder after the upgrade is completed.
[0070] In some embodiments of the present application, as shown in FIG. 5B, the main controller sends the upgrade bitstream data to the application bitstream area of the storage unit of each sub-module in the following steps: Figure 6
[0071] The main controller alternately sends instruction data packets and upgrade bitstream data packets to the sub-modules, wherein the instruction data packets include instruction data, and the upgrade bitstream data packets include upgrade bitstream data.
[0072] Since the main controller still needs to control each sub-module during the upgrade, the sub-modules need to receive both the instruction data for controlling the operation of the sub-modules and the upgrade bitstream data, and therefore, the instruction data packets and the upgrade bitstream data packets are alternately sent during the data transmission, so that the sub-modules can execute the control required by the main controller and complete the upgrade.
[0073] In some embodiments of the present application, the instruction data packet further comprises a first packet header, the first packet header and the instruction data are sequentially arranged, the upgrade bitstream data packet further comprises a second packet header, the second packet header and the upgrade bitstream data are sequentially arranged, in one unit transmission period, the main controller only transmits one instruction data packet or one upgrade bitstream data packet, in multiple continuous unit transmission periods, the instruction data packet and the upgrade bitstream data packet are alternately transmitted, the instruction data is separated from the front upgrade bitstream data by the first packet header, and the upgrade bitstream data is separated from the front instruction data by the second packet header.
[0074] The instruction data of the instruction data packet and the upgrade bitstream data of the upgrade bitstream data packet are distinguished by the first packet header and the second packet header, the main controller alternately transmits the instruction data packet and the upgrade bitstream data packet in each unit transmission period, so that the instruction data packet and the upgrade bitstream data packet are distinguished and transmitted in a reasonable and orderly manner.
[0075] According to the SVG system of the second aspect of the embodiments of the present application, as shown in Figure 1 、 2 , 7, the SVG system comprises a monitoring background 100, a main controller 200 and a power module 300, the power module 300 comprises a plurality of sequentially connected sub-modules 310, the main controller 200 is connected with the monitoring background 100 and the plurality of sub-modules 310 respectively, a storage unit 313 is connected in each of the sub-modules 310, the storage unit 313 comprises an application bitstream area 314 and a standby bitstream area 315, and the SVG system executes the SVG remote upgrade method disclosed in any of the above embodiments to upgrade each of the sub-modules 310.
[0076] The SVG system can refer to the system structure of the SVG remote upgrade method disclosed in any of the above embodiments.
[0077] The SVG system of the present application executes the SVG remote upgrade method disclosed in any of the above embodiments to upgrade each of the sub-modules 310, automatically and efficiently upgrades each of the sub-modules 310, reduces the labor cost, improves the upgrade quality, and meets the demand for improving the operation stability.
[0078] According to the control device of the third aspect of the embodiments of the present application, the control device comprises a memory and a processor, the memory stores a computer program, and the processor realizes the SVG remote upgrade method disclosed in any of the above embodiments when executing the computer program.
[0079] The control device can be any intelligent terminal, such as a central computer, a remote device terminal computer and the like.
[0080] As shown in Figure 8 , as shown in Figure 8 , the hardware structure of the control device of another embodiment is also shown, the control device comprises:
[0081] The processor 710 can be implemented by a general central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits, and is configured to execute related programs to implement the technical solutions provided by the embodiments of the present application.
[0082] The memory 720 can be implemented by a read only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM), and the like. The memory 720 can store an operating system and other application programs. When the technical solutions provided by the embodiments of the present application are implemented by software or firmware, the related program codes are stored in the memory 720 and are called and executed by the processor 710 to implement the SVG remote upgrading method of the embodiments of the present application.
[0083] The input / output interface 730 is configured to implement information input and output.
[0084] The communication interface 740 is configured to implement the communication interaction between the device and other devices. The communication can be realized by a wired manner (for example, a USB, a network cable, or the like) or a wireless manner (for example, a mobile network, WIFI, Bluetooth, or the like).
[0085] The bus 750 is configured to transmit information between various components (for example, the processor 710, the memory 720, the input / output interface 730, and the communication interface 740) of the device, and can also access the smart Internet of Things through the bus.
[0086] The processor 710, the memory 720, the input / output interface 730, and the communication interface 740 are connected to each other through the bus 750 to realize the communication connection between the device.
[0087] According to the computer readable storage medium of the fourth aspect of the embodiments of the present application, the computer readable storage medium stores a computer program. When the computer program is executed by the processor, the SVG remote upgrading method disclosed in any of the above embodiments is implemented.
[0088] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. In addition, the memory can include a high-speed random access memory and can also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state memory device. In some embodiments, the memory can optionally include a memory disposed remotely with respect to the processor, which can be connected to the processor through a network. Examples of the above network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0089] The embodiments described in the embodiments of the present application are used to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those skilled in the art can know that, with the evolution of technology and the appearance of new application scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.
[0090] Those skilled in the art can understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and can include more or fewer steps than shown in the figures, or combine certain steps, or different steps.
[0091] The device embodiments described above are only schematic, and the units described as separate components can or can not be physically separate, i.e., can be located in one place, or can be distributed on multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the embodiments of the present application.
[0092] Those skilled in the art can understand that all or some of the steps in the above disclosed method, the functional modules / units in the system and the device can be implemented as software, firmware, hardware and their appropriate combinations.
[0093] The terms "first", "second", "third", "fourth" and the like used in the specification of the present application and the above-described drawings, if any, are used to distinguish similar objects, and do not necessarily have to describe a particular order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not have to be limited to only those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0094] The preferred embodiments of the present application are described above with reference to the accompanying drawings, and are not intended to limit the scope of the present application. Any modification, equivalent replacement and improvement made by those skilled in the art without departing from the scope and spirit of the present application shall fall within the scope of the present application.
[0095] Any technical features of the above-described embodiments can be combined, and for the sake of brevity, not all possible combinations are described, however, any combination of these technical features should be considered within the scope of the present application.
[0096] Although the embodiments of the present application have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made thereto without departing from the principles and spirit of the present application, the scope of which is defined by the appended claims and their equivalents.
Claims
1. A remote upgrade method for SVG, applied to an SVG system, the SVG system comprising a monitoring backend, a main controller, and a power module, the power module comprising multiple sub-modules connected in sequence, the main controller being connected to the monitoring backend and the multiple sub-modules respectively, each sub-module being connected to a storage unit, the storage unit comprising an application bitstream area and a backup bitstream area, characterized in that, The SVG remote upgrade method includes: The monitoring platform and the main controller confirm with each other whether to proceed with the upgrade process. After confirming that the upgrade process has begun; The main controller controls the SVG system to enter the network connection state; The monitoring platform sends upgrade bitstream data to the main controller in packets; The main controller sends upgrade bitstream data to the application bitstream area of the storage unit of each submodule; The monitoring platform sends upgrade verification data to the main controller, the main controller sends upgrade verification data to each sub-module, and the sub-module verifies the upgrade bitstream data in the application bitstream area according to the upgrade verification data, and determines whether the sub-module has passed the verification. If all submodules pass the verification, the submodules load and upgrade the bitstream data and run. If at least some of the sub-modules fail the verification, the sub-modules report the upgrade failure information to the monitoring platform through the main controller, and the sub-modules load the backup bit stream data in the backup bit stream area to run; The process of the main controller sending upgrade bitstream data to the application bitstream area of the storage unit of each submodule includes: The main controller alternately sends instruction data packets and upgrade bitstream data packets to the submodules. The instruction data packets include instruction data, and the upgrade bitstream data packets include upgrade bitstream data.
2. The SVG remote upgrade method according to claim 1, characterized in that, The process of the monitoring platform and the main controller mutually confirming whether to proceed with the upgrade includes: The monitoring platform sends an upgrade request to the main controller; The main controller receives the upgrade request, obtains the operating status of the power module, and generates an upgrade permission instruction based on the operating status. When the upgrade permission command indicates that the upgrade is allowed, the main controller sends upgrade permission commands to the monitoring platform and each sub-module to drive the monitoring platform and each sub-module to enter the upgrade process. When the upgrade permission command indicates that the upgrade is prohibited, the main controller sends an upgrade permission command to the monitoring platform to prohibit the upgrade.
3. The SVG remote upgrade method according to claim 2, characterized in that, The monitoring platform sends upgrade verification data to the main controller, the main controller sends upgrade verification data to each submodule, and the submodule verifies the upgrade bitstream data in the application bitstream area according to the upgrade verification data, and determines whether the submodule's verification passes, including: Each submodule receives upgrade verification data; Each submodule reads the upgrade bitstream data from the application bitstream area and uses the upgrade verification data to verify the upgrade bitstream data; When the verification passes, the submodule sends a verification pass flag to the main controller; When the verification fails, the submodule sends a verification failure flag to the main controller. The main controller compiles the verification feedback from each submodule and forms upgrade feedback information through either verification failure flags or verification failure flags. The upgrade feedback information is either an upgrade success message or an upgrade failure message.
4. The SVG remote upgrade method according to claim 3, characterized in that, If all submodules pass the verification, the submodule loading and upgrading bitstream data execution includes: The main controller will send an upgrade success message to the monitoring platform to revoke the upgrade approval command; The main controller sends the upgrade success message to each sub-module, and the sub-modules load the upgrade bitstream data and run it.
5. The SVG remote upgrade method according to claim 3, characterized in that, If at least some of the submodules fail the verification, the submodules report the upgrade failure information to the monitoring platform through the main controller. The submodule loading of backup bitstream data from the backup bitstream area includes the following steps: The main controller will send an upgrade failure message to the monitoring platform to revoke the upgrade approval / disapproval instruction; The main controller sends upgrade failure information to each submodule, and the submodules load backup bitstream data to run.
6. The SVG remote upgrade method according to claim 1, characterized in that, The instruction data packet also includes a first header, and the first header and instruction data are ordered sequentially. The upgrade bitstream data packet also includes a second header, and the second header and upgrade bitstream data are ordered sequentially. In one unit transmission cycle, the main controller sends only one instruction data packet or upgrade bitstream data packet. In multiple consecutive unit transmission cycles, the instruction data packet and upgrade bitstream data packet are sent alternately. The instruction data is separated from the preceding upgrade bitstream data by the first header, and the upgrade bitstream data is separated from the preceding instruction data by the second header.
7. An SVG system, characterized in that, The system includes a monitoring backend, a main controller, and a power module. The power module includes multiple sub-modules connected in sequence. The main controller is connected to the monitoring backend and the multiple sub-modules respectively. Each sub-module is connected to a storage unit, which includes an application bitstream area and a backup bitstream area. The SVG system executes the SVG remote upgrade method as described in any one of claims 1 to 6 to upgrade each sub-module.
8. A control device, characterized in that, The control device includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the SVG remote upgrade method according to any one of claims 1 to 6.
9. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements an SVG remote upgrade method according to any one of claims 1 to 6.
Citation Information
Patent Citations
High-reliability upgrading method for single embedded device composed of multiple modules
CN113238779A
FPGA remote upgrading method and system and storage medium
CN113835735A