Upgrading method, equipment and device of HPLC module and storage medium
By acquiring and identifying the initial common configuration information and mirror information of HPLC modules, determining the working mode and generating adaptive mirror information, the problem of low upgrade efficiency of traditional HPLC modules is solved, realizing automated upgrades to adapt to different modules and improving production operation and maintenance efficiency.
Patent Information
- Application Number
- CN202511034502.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-25
- Publication Date
- 2025-11-11
AI Technical Summary
Traditional HPLC upgrade tooling modules use fixed and single versions, resulting in low efficiency in the automation of module production and maintenance upgrades, making it difficult to meet the current technical requirements for automated and flexible upgrade production.
By obtaining the initial common configuration information and image information issued by the host computer, the working mode is determined to be either batch upgrade mode or single-item upgrade mode. Version identification is performed, adaptive image information is generated, and it is sent to the HPLC module to be upgraded for upgrade. It supports adaptive upgrades in both offline and online modes.
It improves the automation efficiency of HPLC module upgrades, can adapt to the upgrade needs of different modules and customized versions in the power and industrial markets, and realizes automated upgrades in both batch and single-piece upgrade modes.
Smart Images

Figure CN120929102A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communications, specifically to a method, apparatus, device, and computer-readable storage medium for upgrading an HPLC module. Background Technology
[0002] HPLC (High-Speed Power Line Communication) is a high-speed power line communication technology. Power line communication technology refers to a communication technology that uses power lines as the communication medium for data transmission, enabling functions such as high-frequency data acquisition, phase topology identification, automatic transformer area identification, and automatic file synchronization. With the digital transformation of smart city power grids, multi-core HPLC modules refer to HPLC modules that support multi-core connections. During the production and maintenance of finished multi-core HPLC modules (with casings), upgrades to various types of HPLC MCU (Microprogrammed Control Unit) communication modules are frequently required. Finished HPLC MCU modules need better, more efficient, intelligent, flexible, and on-demand upgrade control methods and equipment to meet the growing supply demands and cost reduction requirements of the HPLC market.
[0003] Currently, traditional power industry equipment manufacturers use standard outer shells to package HPLC finished modules and employ pin header peripheral interfaces such as high-voltage power supply, I / O, and serial communication. HPLC carrier module manufacturers primarily upgrade production and maintenance through offline, low-cost MCU tooling (this patented tooling refers specifically to finished tooling, hereinafter referred to as tooling) to press pin header fixtures. Traditional HPLC upgrade tooling modules use fixed and single versions, which cannot accommodate customized versions of different HPLC modules in the power and industrial markets. This results in low automation efficiency for actual module production and maintenance upgrades, making it difficult to meet the current technical requirements for automated and flexible upgrade production. Summary of the Invention
[0004] This application provides an upgrade, apparatus, device, and computer-readable storage medium for an HPLC module, which can solve the technical problem in the prior art where the traditional HPLC upgrade tooling module uses a fixed and single version, resulting in low efficiency of automation in the actual production and maintenance of the module.
[0005] In a first aspect, embodiments of this application provide a method for upgrading an HPLC module, characterized in that the method for upgrading the HPLC module includes: Obtain initial common configuration information and image information issued by the host computer, wherein the initial common configuration information includes initial batch common configuration information and initial single-item common configuration information; Based on the initial common configuration information, the working mode is determined, which includes batch upgrade mode and single-item upgrade mode; Based on the determined working mode, the version of the HPLC module to be upgraded is identified, and adaptive mirror information of the HPLC module to be upgraded is generated based on the initial common configuration information and the mirror information. The adaptive mirror information is sent to the HPLC module to be upgraded, so that the HPLC module to be upgraded can perform the upgrade based on the adaptive mirror information and obtain the upgrade result.
[0006] In conjunction with the first aspect, in one implementation, the step of identifying the version of the HPLC module to be upgraded according to the determined operating mode, and generating adaptive mirror information of the HPLC module to be upgraded based on the initial common configuration information and the mirror information, includes: If the working mode is determined to be batch upgrade mode, then the version of the HPLC module to be upgraded is identified to obtain the identification result; If the identification result is a match, the batch upgrade mode is determined to be the offline-batch upgrade mode, and the first adaptive mirror information of the HPLC module to be upgraded is generated based on the initial online common configuration information and the mirror information.
[0007] In conjunction with the first aspect, in one implementation, after obtaining the recognition result, the method further includes: If the identification result is a mismatch, the batch upgrade mode is determined to be the online-batch upgrade mode, and the obtained version information of the HPLC module to be upgraded is uploaded to the host computer to obtain the iterative initial batch common configuration information and the first target image information issued by the host computer based on the version information of the HPLC module to be upgraded. A capability level analysis was performed on the HPLC module to be upgraded to obtain the upgrade information of the HPLC module to be upgraded. Based on the common configuration information of the initial batch of the iteration, the first target mirror information, and the upgrade information, the first adaptive mirror information of the HPLC module to be upgraded is generated.
[0008] In conjunction with the first aspect, in one implementation, the step of identifying the version of the HPLC module to be upgraded according to the determined operating mode, and generating adaptive mirror information of the HPLC module to be upgraded based on the initial common configuration information and the mirror information, includes: If the working mode is determined to be a single-item upgrade mode, then the version of the HPLC module to be upgraded is identified to obtain the identification result; If the identification result is a match, then the second adaptive mirror information of the HPLC module to be upgraded is determined based on the initial single-component common configuration information and the mirror information.
[0009] In conjunction with the first aspect, in one implementation, after obtaining the recognition result, the method further includes: If the identification result is a mismatch, the obtained version information of the HPLC module to be upgraded is uploaded to the host computer, so that the host computer performs dynamic analysis and capability set analysis based on the version information of the HPLC module to be upgraded, and obtains the second adaptive mirror information sent by the host computer. When acquiring the second adaptive image information sent by the host computer, the caching of the second adaptive image information is interrupted, the second adaptive image information is forwarded to the HPLC module to be upgraded for upgrade, and the upgrade result is obtained.
[0010] In conjunction with the first aspect, in one implementation, generating the first adaptive mirror information of the HPLC module to be upgraded based on the iterative initial batch common configuration information, the first target mirror information, and the upgrade information includes: The initial online common configuration information of the iteration includes the offline-batch upgrade mode, the capability priority information of the HPLC module to be upgraded, the image version information, and the forced and adaptive strategy table. The capability priority information of the HPLC module to be upgraded includes the upgrade mode, upgrade image category, upgrade protocol family category, and I / O attributes. Based on the common configuration information of the initial online connection and the information to be upgraded, the target upgrade mode, target upgrade mirror category, target upgrade protocol family category, and target I / O attributes of the HPLC module to be upgraded are determined. Based on the target upgrade mode, the target upgrade mirror category, the target upgrade protocol cluster category, and the mirror information, the first adaptive mirror information of the HPLC module to be upgraded is generated.
[0011] In conjunction with the first aspect, in one implementation, after obtaining the upgrade result, the method further includes: Determine whether the upgrade result is a successful upgrade; If the upgrade result is determined to be an unsuccessful upgrade, the HPLC module to be upgraded is upgraded again, and the upgrade result is obtained again. If the upgrade result is determined to be a successful upgrade, then the next HPLC module to be upgraded is identified; Based on the identification result of the next HPLC module to be upgraded, the adaptive mirror information of the next HPLC module to be upgraded is determined; The adaptive mirror information of the next HPLC product module to be upgraded is sent to the next HPLC product module to be upgraded, so that the next HPLC module to be upgraded can be upgraded based on the adaptive mirror information of the next HPLC module to be upgraded, and the upgrade result of the next HPLC module to be upgraded can be obtained.
[0012] Secondly, embodiments of this application provide an upgrade device for an HPLC module, the upgrade device comprising: The acquisition module is used to acquire initial common configuration information and image information issued by the host computer, wherein the initial common configuration information includes initial batch common configuration information and initial single-item common configuration information; The first determining module is used to determine the working mode based on the initial common configuration information, wherein the working mode includes batch upgrade mode and single-item upgrade mode; The second determining module is used to identify the version of the HPLC module to be upgraded according to the determined working mode, so as to generate adaptive mirror information of the HPLC module to be upgraded based on the initial common configuration information and the mirror information. The upgrade and acquisition module is used to send the adaptive mirror information to the HPLC module to be upgraded, so that the HPLC module to be upgraded can upgrade based on the adaptive mirror information and acquire the upgrade result.
[0013] Thirdly, embodiments of this application provide an HPLC module upgrade device, which includes a processor, a memory, and an HPLC module upgrade program stored in the memory and executable by the processor. When the HPLC module upgrade program is executed by the processor, it implements the steps of the HPLC module upgrade method described above.
[0014] Fourthly, embodiments of this application provide a computer-readable storage medium storing an upgrade program for an HPLC module, wherein when the upgrade program for the HPLC module is executed by a processor, the steps of the HPLC module upgrade method described above are implemented.
[0015] The beneficial effects of the technical solutions provided in this application include: By acquiring initial common configuration information and image information issued by the host computer, wherein the initial common configuration information includes initial batch common configuration information and initial single-item common configuration information; determining the working mode based on the initial common configuration information, the working mode includes batch upgrade mode and single-item upgrade mode; identifying the version of the HPLC module to be upgraded under the determined working mode, and generating adaptive image information of the HPLC module to be upgraded based on the initial common configuration information and the image information; sending the adaptive image information to the HPLC module to be upgraded, so that the HPLC module to be upgraded can be upgraded based on the adaptive image information and obtain the upgrade result, this solves the technical problem in related technologies that traditional HPLC upgrade tooling modules use fixed and single versions and are mainly offline, while facing different HPLC modules and many provincial or customized versions in the power and industrial markets, the actual module production and maintenance upgrade automation efficiency is not high. This achieves improved HPLC module upgrade automation efficiency through batch upgrade mode and single-item upgrade mode. Attached Figure Description
[0016] Figure 1 This is a schematic flowchart of the first embodiment of the HPLC module upgrade method of this application; Figure 2 This is a schematic flowchart of the second embodiment of the HPLC module upgrade method of this application; Figure 3 This is a functional module schematic diagram of an embodiment of the HPLC module upgrade device of this application; Figure 4 This is a schematic diagram of the hardware structure of the upgraded HPLC module involved in the embodiments of this application. Detailed Implementation
[0017] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.
[0018] First, some of the technical terms used in this application will be explained to help those skilled in the art understand this application.
[0019] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0020] In a first aspect, embodiments of this application provide a method for upgrading an HPLC module.
[0021] In one embodiment, reference is made to Figure 1 , Figure 1 This is a schematic flowchart of the first embodiment of the HPLC module upgrade method of this application. Figure 1 As shown, the upgrade methods for the HPLC module include: Step S10: Obtain the initial common configuration information and image information issued by the host computer, wherein the initial common configuration information includes initial batch common configuration information and initial single-item common configuration information; As an example, the tooling equipment is connected to a host computer. The host computer determines whether the access to the tooling equipment is legitimate and dynamically identifies the type of tooling equipment, which includes dedicated tooling equipment and general-purpose tooling equipment. For example, the host computer obtains tooling equipment identification information, tooling GPS location information, or tooling administrator ID code information to determine whether the access to the tooling equipment is legitimate. If the access to the tooling equipment is determined to be legitimate, the host computer obtains the type of tooling equipment. When the type of tooling equipment is obtained, the host computer issues corresponding initial common configuration information and image information based on the type of tooling equipment. For example, when the type of tooling equipment is general-purpose tooling equipment, initial batch common configuration information and image information are issued to the tooling equipment; if the tooling equipment is dedicated tooling equipment, initial single-piece common configuration information and image information are issued to the tooling equipment. Among them, the initial batch common configuration information and image information include batch upgrade mode, capability priority information of the HPLC module to be upgraded, image version information, and forced and adaptive strategy tables. Batch upgrade modes include offline-batch upgrade mode and online-batch upgrade mode. The capability priority information of the HPLC module to be upgraded includes the upgrade mode, image category, protocol family, and priority configuration order of I / O attributes. Image version information includes the image version number and image category number. The forced and adaptive strategy table includes forced upgrade strategies and adaptive strategies. The upgrade modes of the HPLC module to be upgraded include online upgrade and boot upgrade (Bootloader for device booting). The image categories of the HPLC module to be upgraded include original merged package, single package, multi-in-one, full package, compressed, and encrypted. The protocol families of the HPLC module to be upgraded include YMODEM, Q / GDW376.2, DL / T645, DL / T698.45, and proprietary communication. The initial single-component common configuration information and image information include the single-component upgrade mode, capability priority information of the HPLC module to be upgraded, image version information, and forced and adaptive strategy table. The capability priority information for the HPLC module to be upgraded includes the upgrade mode, mirror type, protocol family, and priority configuration order of I / O attributes. Mirror version information includes the mirror version number and mirror type number. The forced and adaptive strategy table includes forced upgrade strategies and adaptive strategies. The upgrade modes for the HPLC module to be upgraded include online upgrade and boot upgrade (Bootloader for device booting). The mirror types for the HPLC module to be upgraded include original merged packages, single packages, multi-in-one packages, full packages, compressed packages, and encrypted packages. The protocol families for the HPLC module to be upgraded include YMODEM, Q / GDW 376.2, DL / T645, DL / T698.45, and proprietary communication.
[0022] Step S20: Determine the working mode based on the initial common configuration information, wherein the working mode includes batch upgrade mode and single-item upgrade mode; As an example, if the initial common configuration information obtained is the initial batch common configuration information, then the working mode of the tooling equipment is determined to be the batch upgrade mode; if the initial common configuration information obtained is the initial single-piece common configuration information, then the working mode of the tooling equipment is determined to be the single-piece upgrade mode.
[0023] Step S30: Based on the determined working mode, identify the version of the HPLC module to be upgraded, and determine the adaptive mirror information of the HPLC module to be upgraded based on the initial common configuration information and the mirror information; As an example, the tooling equipment automatically scans the shell ID of the HPLC module to be upgraded using a barcode scanner in the corresponding operating mode to obtain the version number of the HPLC module to be upgraded. The obtained version number of the HPLC module to be upgraded is matched with the target version number cached locally in the tooling equipment. If they match, the adaptive image information of the HPLC module to be upgraded is determined through initial common configuration information and image information. This adaptive image information includes the upgrade mode, image package, protocol family, I / O attributes, and upgrade strategy of the HPLC module to be upgraded, i.e., a forced upgrade strategy or an adaptive strategy.
[0024] Specifically, the step of identifying the version of the HPLC module to be upgraded under the determined working mode, and generating adaptive mirror information of the HPLC module to be upgraded based on the initial common configuration information and the mirror information, includes: if the working mode is determined to be a batch upgrade mode, then the HPLC module to be upgraded is identified to obtain the identification result; if the identification result is a match, then the batch upgrade mode is determined to be an offline-batch upgrade mode, and the first adaptive mirror information of the HPLC module to be upgraded is generated based on the initial online common configuration information and the mirror information.
[0025] As an example, if the working mode is determined to be batch upgrade mode, the version identification of the HPLC module to be upgraded is performed by automatically scanning the shell ID of the HPLC module to be upgraded with a barcode scanner to obtain the version number of the HPLC module to be upgraded. The obtained version number of the HPLC module to be upgraded is matched with the target version number cached locally in the tooling device. If the identification result is a match, the batch upgrade mode is determined to be offline-batch upgrade mode. Dynamic analysis is performed on the target version number cached locally in the tooling device to obtain the upgrade information of the HPLC module to be upgraded. The upgrade information includes the upgrade mode, the upgrade image category, the upgrade protocol family category, and the I / O attribute to be upgraded. If the upgrade information includes multiple upgrade modes, multiple upgrade image categories, multiple upgrade protocol family categories, and multiple I / O attributes, the target upgrade mode, target upgrade image category, target upgrade protocol family category, and target I / O attribute of the HPLC module to be upgraded are determined by the capability priority information of the HPLC module to be upgraded in the initial online common configuration information. If the target upgrade image category is all-inclusive, a forced upgrade strategy is determined for the HPLC module to be upgraded. If the target upgrade mirror category is not comprehensive, an adaptive upgrade strategy is determined for the HPLC module to be upgraded. The first adaptive mirror information for the HPLC module to be upgraded is determined based on the target upgrade mode, target upgrade mirror category, target upgrade protocol cluster category, target I / O attributes, and mirror information. For example, the target upgrade mirror category, target upgrade protocol cluster category, and target I / O attributes are obtained from the mirror information, and the first adaptive mirror information for the HPLC module to be upgraded is generated by combining these three factors.
[0026] Specifically, after obtaining the identification result, the process further includes: if the identification result is a mismatch, determining that the batch upgrade mode is an online-batch upgrade mode, and uploading the obtained version information of the HPLC module to be upgraded to the host computer to obtain the iterative initial batch common configuration information and the first target mirror information issued by the host computer based on the version information of the HPLC module to be upgraded; performing capability level analysis on the HPLC module to be upgraded to obtain the upgrade information of the HPLC module to be upgraded; and generating the first adaptive mirror information of the HPLC module to be upgraded based on the iterative initial batch common configuration information, the first target mirror information, and the upgrade information.
[0027] As an example, if the identification result is a mismatch, the batch upgrade mode is determined to be online-batch upgrade mode, and the obtained version information of the HPLC module to be upgraded is uploaded to the host computer. When the host computer obtains the version information of the HPLC module to be upgraded, it sends the iterative initial batch common configuration information and the first target image information to the tooling equipment. Among them, the iterative initial batch common configuration information includes the online batch upgrade mode, the capability priority information of the HPLC module to be upgraded, the image version information, and the forced and adaptive strategy table. Capability set analysis is performed on the HPLC module to be upgraded by checking the serial port, and the upgrade information of the HPLC module to be upgraded is obtained. The upgrade information includes the upgrade mode, the image category, the protocol family category, and the I / O attributes to be upgraded. If the upgrade information includes multiple upgrade modes, multiple upgrade image categories, multiple upgrade protocol cluster categories, and multiple upgrade I / O attributes, the target upgrade mode, target upgrade image category, target upgrade protocol cluster category, and target I / O attribute of the HPLC module to be upgraded are determined by iterating through the capability priority information of the HPLC module to be upgraded in the initial common configuration information. If the target upgrade image category is all-encompassing, a mandatory upgrade strategy is determined for the HPLC module to be upgraded. If the target upgrade image category is not all-encompassing, an adaptive upgrade strategy is determined for the HPLC module to be upgraded. The first adaptive image information of the HPLC module to be upgraded is generated using the target upgrade mode, target upgrade image category, target upgrade protocol cluster category, target I / O attribute, and the first image information. For example, the target upgrade image category, target upgrade protocol cluster category, and target I / O attribute are obtained from the image information, and the target upgrade mode, target upgrade image category, target upgrade protocol cluster category, and target I / O attribute are used to generate the first adaptive image information of the HPLC module to be upgraded.
[0028] Specifically, the step of identifying the version of the HPLC module to be upgraded under the determined working mode, and generating adaptive mirror information of the HPLC module to be upgraded based on the initial common configuration information and the mirror information, includes: if the working mode is determined to be a single-piece upgrade mode, then identifying the version of the HPLC module to be upgraded to obtain the identification result; if the identification result is a match, then determining the second adaptive mirror information of the HPLC module to be upgraded based on the initial single-piece common configuration information and the mirror information.
[0029] As an example, if the working mode is determined to be a single-item upgrade mode, the version of the HPLC module to be upgraded is identified. This involves automatically scanning the casing ID of the HPLC module to be upgraded using a barcode scanner to obtain its version number. The obtained version number is then matched against the target version number cached locally in the tooling. If a match is found, dynamic analysis is performed using the target version number cached locally in the tooling to obtain the upgrade information for the HPLC module. This upgrade information includes the upgrade mode, the upgrade image category, the upgrade protocol family category, and the I / O attributes. If the upgrade information includes multiple upgrade modes, multiple upgrade image categories, multiple upgrade protocol family categories, and multiple I / O attributes, the target upgrade mode, target upgrade image category, target upgrade protocol family category, and target I / O attributes are determined using the capability priority information of the HPLC module to be upgraded in the initial single-item common configuration information. If the target upgrade image category is all-inclusive, a mandatory upgrade strategy is implemented for the HPLC module to be upgraded. If the target upgrade mirror category is not comprehensive, an adaptive upgrade strategy is determined for the HPLC module to be upgraded. The second adaptive mirror information for the HPLC module to be upgraded is determined using the target upgrade mode, target upgrade mirror category, target upgrade protocol cluster category, target I / O attributes, and mirror information. For example, the target upgrade mirror category, target upgrade protocol cluster category, and target I / O attributes are obtained from the mirror information, and the target upgrade mode, target upgrade mirror category, target upgrade protocol cluster category, and target I / O attributes are then used to generate the first adaptive mirror information for the HPLC module to be upgraded.
[0030] Specifically, after obtaining the identification result, the method further includes: if the identification result is a mismatch, uploading the obtained version information of the HPLC module to be upgraded to the host computer, so that the host computer performs dynamic analysis and capability set analysis based on the version information of the HPLC module to be upgraded, and obtains the second adaptive mirror information sent by the host computer; when obtaining the second adaptive mirror information sent by the host computer, interrupting the caching of the second adaptive mirror information, forwarding the second adaptive mirror information to the HPLC module to be upgraded for upgrade, and obtaining the upgrade result.
[0031] As an example, if the identification result is a mismatch, the version information of the HPLC module to be upgraded is obtained and uploaded to the host computer. When the host computer obtains the version information of the HPLC module to be upgraded, it performs dynamic analysis and capability set analysis based on the version information of the HPLC module to be upgraded, obtains the upgrade information of the HPLC module to be upgraded, determines the target upgrade mode, target upgrade mirror category, target upgrade protocol cluster category and target I / O attributes of the HPLC module to be upgraded, generates second adaptive mirror information, and sends the second adaptive mirror information to the tooling equipment. The tooling equipment includes a northbound information database and a southbound information database. When the northbound information database of the tooling equipment receives the second adaptive mirror information sent by the host computer, it directly sends the second adaptive mirror information to the HPLC module to be upgraded through the southbound information database, thereby reducing the FLASH erasure and writing of the tooling equipment and improving the service life of the tooling equipment.
[0032] Step S40: Send the adaptive mirror information to the HPLC module to be upgraded, so that the HPLC module to be upgraded can upgrade based on the adaptive mirror information and obtain the upgrade result.
[0033] As an example, the adaptive mirror information issued by the tooling equipment is sent to the HPLC module to be upgraded, so that the HPLC module to be upgraded can upgrade based on the adaptive mirror information, thereby obtaining the upgrade result sent by the HPLC module to be upgraded.
[0034] In this embodiment, initial common configuration information and image information issued by the host computer are obtained. The initial common configuration information includes initial batch common configuration information and initial single-unit common configuration information. Based on the initial common configuration information, a working mode is determined, including a batch upgrade mode and a single-unit upgrade mode. Under the determined working mode, the version of the HPLC module to be upgraded is identified to generate adaptive image information for the HPLC module to be upgraded based on the initial common configuration information and the image information. The adaptive image information is sent to the HPLC module to be upgraded, enabling the HPLC module to be upgraded to perform an upgrade based on the adaptive image information and obtain the upgrade result. This solves the technical problem in related technologies where traditional HPLC upgrade tooling modules use fixed and single versions and are mainly offline. However, facing different HPLC modules and numerous provincial or customized versions in the power and industrial markets, the actual automation efficiency of module production and maintenance upgrades is low. This embodiment improves the automation efficiency of HPLC module upgrades through batch upgrade mode and single-unit upgrade mode.
[0035] In one embodiment, reference is made to Figure 2 , Figure 2 This is a schematic flowchart of the second embodiment of the HPLC module upgrade method of this application. Figure 2 As shown, the upgrade method for the HPLC module includes: Step S10: Obtain the initial common configuration information and image information issued by the host computer, wherein the initial common configuration information includes initial batch common configuration information and initial single-item common configuration information; Step S20: Determine the working mode based on the initial common configuration information, wherein the working mode includes batch upgrade mode and single-item upgrade mode; Step S30: Based on the determined working mode, identify the version of the HPLC module to be upgraded, and generate adaptive mirror information of the HPLC module to be upgraded based on the initial common configuration information and the mirror information; Step S40: Send the adaptive mirror information to the HPLC module to be upgraded, so that the HPLC module to be upgraded can upgrade based on the adaptive mirror information and obtain the upgrade result.
[0036] Step S50: Determine whether the upgrade result is a successful upgrade; Step S60: If the upgrade result is determined to be an unsuccessful upgrade, the HPLC module to be upgraded is upgraded again, and the upgrade result is obtained again; Step S70: If the upgrade result is determined to be a successful upgrade, then identify the next HPLC module to be upgraded; Step S80: Based on the obtained identification result of the next HPLC module to be upgraded, determine the adaptive mirror information of the next HPLC module to be upgraded; Step S90: Send the adaptive mirror information of the next HPLC product module to be upgraded to the next HPLC product module to be upgraded, so that the next HPLC module to be upgraded can be upgraded based on the adaptive mirror information of the next HPLC module to be upgraded, and obtain the upgrade result of the next HPLC module to be upgraded.
[0037] As an example, determine whether the upgrade result is a successful upgrade. When the first preset indicator light is on, the upgrade result is confirmed as a successful upgrade. At this time, the tooling equipment lifts the lever to exit the upgrade business of the current HPLC module to be upgraded, and determines whether to continue to lift the pressure for the next module upgrade. If it is determined to continue to lift the pressure for the next module upgrade, then the next multi-core HPLC finished product module to be upgraded is upgraded, and the upgrade result of the next multi-core HPLC finished product module to be upgraded is obtained.
[0038] When the second preset indicator light is on, it indicates that the upgrade was not successful. In this case, the multi-core HPLC module to be upgraded is upgraded again, and the upgrade result is obtained again.
[0039] In this embodiment, initial common configuration information and mirror information issued by the host computer are obtained. The initial common configuration information includes initial batch common configuration information and initial single-unit common configuration information. Based on the initial common configuration information, a working mode is determined, including a batch upgrade mode and a single-unit upgrade mode. Under the determined working mode, version identification is performed on the HPLC module to be upgraded to generate adaptive mirror information for the HPLC module to be upgraded based on the initial common configuration information and the mirror information. The adaptive mirror information is then sent to the HPLC module to be upgraded to enable the HPLC module to be upgraded to... The module upgrades based on the adaptive mirror information and obtains the upgrade result. If the upgrade result is unsuccessful, the HPLC module to be upgraded is upgraded again. This solves the technical problem in related technologies where traditional HPLC upgrade tooling modules use fixed and single versions and are mainly offline. However, facing different HPLC modules and numerous provincial or customized versions in the power and industrial markets, the actual automation efficiency of module production and maintenance upgrades is low. It also avoids the failure of the upgrade business of the HPLC module to be upgraded. It realizes the improvement of the automation efficiency of HPLC module upgrades and the guarantee of the success of the upgrade business of the HPLC module to be upgraded through batch upgrade mode and single-item upgrade mode.
[0040] Secondly, embodiments of this application also provide an upgrade device for an HPLC module.
[0041] In one embodiment, reference is made to Figure 3 , Figure 3 This is a functional module schematic diagram of an embodiment of the HPLC module upgrade device of this application. Figure 3 As shown, the upgrade device for the HPLC module includes: The acquisition module 10 is used to acquire the initial common configuration information and image information issued by the host computer, wherein the initial common configuration information includes initial batch common configuration information and initial single-item common configuration information; The first determining module 20 is used to determine the working mode based on the initial common configuration information, wherein the working mode includes a batch upgrade mode and a single-item upgrade mode; The second determining module 30 is used to identify the version of the HPLC module to be upgraded according to the determined working mode, so as to generate adaptive mirror information of the HPLC module to be upgraded based on the initial common configuration information and the mirror information. The upgrade and acquisition module 40 is used to send the adaptive mirror information to the HPLC module to be upgraded, so that the HPLC module to be upgraded can upgrade based on the adaptive mirror information and acquire the upgrade result.
[0042] Furthermore, in one embodiment, the second determining module 30 is used for: If the working mode is determined to be batch upgrade mode, then the version of the HPLC module to be upgraded is identified to obtain the identification result; If the identification result is a match, the batch upgrade mode is determined to be the offline-batch upgrade mode, and the first adaptive mirror information of the HPLC module to be upgraded is generated based on the initial online common configuration information and the mirror information.
[0043] Furthermore, in one embodiment, the upgrade device for the HPLC module further includes a new module for: If the identification result is a mismatch, the batch upgrade mode is determined to be the online-batch upgrade mode, and the obtained version information of the HPLC module to be upgraded is uploaded to the host computer to obtain the iterative initial batch common configuration information and the first target image information issued by the host computer based on the version information of the HPLC module to be upgraded. A capability level analysis was performed on the HPLC module to be upgraded to obtain the upgrade information of the HPLC module to be upgraded. Based on the common configuration information of the initial batch of the iteration, the first target mirror information, and the upgrade information, the first adaptive mirror information of the HPLC module to be upgraded is generated.
[0044] Furthermore, in one embodiment, the second determining module 30 is used for: If the working mode is determined to be a single-item upgrade mode, then the version of the HPLC module to be upgraded is identified to obtain the identification result; If the identification result is a match, then the second adaptive mirror information of the HPLC module to be upgraded is determined based on the initial single-component common configuration information and the mirror information.
[0045] Furthermore, in one embodiment, the upgrade device for the HPLC module further includes a new module for: If the identification result is a mismatch, the obtained version information of the HPLC module to be upgraded is uploaded to the host computer, so that the host computer performs dynamic analysis and capability set analysis based on the version information of the HPLC module to be upgraded, and obtains the second adaptive mirror information sent by the host computer. When acquiring the second adaptive image information sent by the host computer, the caching of the second adaptive image information is interrupted, the second adaptive image information is forwarded to the HPLC module to be upgraded for upgrade, and the upgrade result is obtained.
[0046] Furthermore, in one embodiment, the upgrade device for the HPLC module further includes a new module for: The initial online common configuration information of the iteration includes the offline-batch upgrade mode, the capability priority information of the HPLC module to be upgraded, the image version information, and the forced and adaptive strategy table. The capability priority information of the HPLC module to be upgraded includes the upgrade mode, upgrade image category, upgrade protocol family category, and I / O attributes. Based on the common configuration information of the initial online connection and the information to be upgraded, the target upgrade mode, target upgrade mirror category, target upgrade protocol family category, and target I / O attributes of the HPLC module to be upgraded are determined. Based on the target upgrade mode, the target upgrade mirror category, the target upgrade protocol cluster category, and the mirror information, the first adaptive mirror information of the HPLC module to be upgraded is generated.
[0047] Furthermore, in one embodiment, the upgrade device for the HPLC module further includes a new module for: Determine whether the upgrade result is a successful upgrade; If the upgrade result is determined to be an unsuccessful upgrade, the HPLC module to be upgraded is upgraded again, and the upgrade result is obtained again. If the upgrade result is determined to be a successful upgrade, then the next HPLC module to be upgraded is identified; Based on the identification result of the next HPLC module to be upgraded, the adaptive mirror information of the next HPLC module to be upgraded is determined; The adaptive mirror information of the next HPLC product module to be upgraded is sent to the next HPLC product module to be upgraded, so that the next HPLC module to be upgraded can be upgraded based on the adaptive mirror information of the next HPLC module to be upgraded, and the upgrade result of the next HPLC module to be upgraded can be obtained.
[0048] The functions of each module in the above-mentioned HPLC module upgrade device correspond to the steps in the above-mentioned HPLC module upgrade method embodiment, and their functions and implementation processes will not be described in detail here.
[0049] Thirdly, embodiments of this application provide an upgrade device for an HPLC module, which is a tooling device.
[0050] Reference Figure 4 , Figure 4 This is a schematic diagram of the hardware structure of the HPLC module upgrade device involved in the embodiments of this application. In the embodiments of this application, the HPLC module upgrade device may include a processor, a memory, a communication interface, and a communication bus.
[0051] The communication bus can be of any type and is used to interconnect the processor, memory, and communication interface.
[0052] The communication interface includes input / output (I / O) interfaces, physical interfaces, and logical interfaces used for interconnecting internal devices within the HPLC module upgrade device, as well as interfaces used for interconnecting the HPLC module upgrade device with other devices (such as other computing devices or user devices). Physical interfaces can be Ethernet interfaces, fiber optic interfaces, ATM interfaces, etc.; user devices can be displays, keyboards, etc.
[0053] Memory can be various types of storage media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), flash memory, optical storage, hard disk, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), etc.
[0054] The processor can be a general-purpose processor, which can call the HPLC module upgrade program stored in the memory and execute the HPLC module upgrade method provided in the embodiments of this application. For example, the general-purpose processor can be a central processing unit (CPU). The method executed when the HPLC module upgrade program is called can be referred to in the various embodiments of the HPLC module upgrade method of this application, and will not be repeated here.
[0055] Those skilled in the art will understand that Figure 4 The hardware structure shown does not constitute a limitation of this application and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0056] Fourthly, embodiments of this application also provide a computer-readable storage medium.
[0057] The present application has a computer-readable storage medium storing an upgrade program for an HPLC module, wherein when the upgrade program for the HPLC module is executed by a processor, the steps of the HPLC module upgrade method as described above are implemented.
[0058] The method implemented when the HPLC module upgrade procedure is executed can be referred to in the various embodiments of the HPLC module upgrade method of this application, and will not be repeated here.
[0059] It should be noted that the sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0060] The terms "comprising" and "having," and any variations thereof, in the specification, claims, and accompanying drawings of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to such process, method, product, or apparatus. The terms "first," "second," and "third," etc., are used to distinguish different objects, etc., and do not indicate a sequence, nor do they limit "first," "second," and "third" to different types.
[0061] In the description of the embodiments of this application, terms such as "exemplary," "for example," or "for instance" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplary," "for example," or "for instance" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary," "for example," or "for instance" is intended to present the relevant concepts in a concrete manner.
[0062] In the description of the embodiments of this application, unless otherwise stated, " / " means "or". For example, A / B can mean A or B. The "and / or" in the text is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of this application, "multiple" means two or more.
[0063] In some processes described in the embodiments of this application, multiple operations or steps are included in a specific order. However, it should be understood that these operations or steps may not be executed in the order they appear in the embodiments of this application, or they may be executed in parallel. The sequence number of the operation is only used to distinguish different operations, and the sequence number itself does not represent any execution order. In addition, these processes may include more or fewer operations, and these operations or steps may be executed sequentially or in parallel, and these operations or steps may be combined.
[0064] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device to execute the methods described in the various embodiments of this application.
[0065] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A method for upgrading an HPLC module, characterized in that, The upgrade method for the HPLC module includes: Obtain initial common configuration information and image information issued by the host computer, wherein the initial common configuration information includes initial batch common configuration information and initial single-item common configuration information; Based on the initial common configuration information, the working mode is determined, which includes batch upgrade mode and single-item upgrade mode; Based on the determined working mode, the version of the HPLC module to be upgraded is identified, and adaptive mirror information of the HPLC module to be upgraded is generated based on the initial common configuration information and the mirror information. The adaptive mirror information is sent to the HPLC module to be upgraded, so that the HPLC module to be upgraded can perform the upgrade based on the adaptive mirror information and obtain the upgrade result.
2. The method for upgrading the HPLC module as described in claim 1, characterized in that, The step of identifying the version of the HPLC module to be upgraded under the determined working mode, and generating adaptive mirror information for the HPLC module to be upgraded based on the initial common configuration information and the mirror information, includes: If the working mode is determined to be batch upgrade mode, then the version of the HPLC module to be upgraded is identified to obtain the identification result; If the identification result is a match, the batch upgrade mode is determined to be the offline-batch upgrade mode, and the first adaptive mirror information of the HPLC module to be upgraded is generated based on the initial online common configuration information and the mirror information.
3. The method for upgrading the HPLC module as described in claim 1, characterized in that, After obtaining the recognition result, the process also includes: If the identification result is a mismatch, the batch upgrade mode is determined to be the online-batch upgrade mode, and the obtained version information of the HPLC module to be upgraded is uploaded to the host computer to obtain the iterative initial batch common configuration information and the first target image information issued by the host computer based on the version information of the HPLC module to be upgraded. A capability level analysis was performed on the HPLC module to be upgraded to obtain the upgrade information of the HPLC module to be upgraded. Based on the common configuration information of the initial batch of the iteration, the first target mirror information, and the upgrade information, the first adaptive mirror information of the HPLC module to be upgraded is generated.
4. The method for upgrading the HPLC module as described in claim 1, characterized in that, The step of identifying the version of the HPLC module to be upgraded under the determined working mode, and generating adaptive mirror information for the HPLC module to be upgraded based on the initial common configuration information and the mirror information, includes: If the working mode is determined to be a single-item upgrade mode, then the version of the HPLC module to be upgraded is identified to obtain the identification result; If the identification result is a match, then the second adaptive mirror information of the HPLC module to be upgraded is determined based on the initial single-component common configuration information and the mirror information.
5. The method for upgrading the HPLC module as described in claim 4, characterized in that, After obtaining the recognition result, the process also includes: If the identification result is a mismatch, the obtained version information of the HPLC module to be upgraded is uploaded to the host computer, so that the host computer performs dynamic analysis and capability set analysis based on the version information of the HPLC module to be upgraded, and obtains the second adaptive mirror information sent by the host computer. When acquiring the second adaptive image information sent by the host computer, the caching of the second adaptive image information is interrupted, the second adaptive image information is forwarded to the HPLC module to be upgraded for upgrade, and the upgrade result is obtained.
6. The method for upgrading the HPLC module as described in claim 2, characterized in that, The step of generating the first adaptive mirror information of the HPLC module to be upgraded based on the common configuration information of the initial batch, the first target mirror information, and the upgrade information includes: The initial online common configuration information of the iteration includes the offline-batch upgrade mode, the capability priority information of the HPLC module to be upgraded, the image version information, and the forced and adaptive strategy table. The capability priority information of the HPLC module to be upgraded includes the upgrade mode, upgrade image category, upgrade protocol family category, and I / O attributes. Based on the common configuration information of the initial online connection and the information to be upgraded, the target upgrade mode, target upgrade mirror category, target upgrade protocol family category, and target I / O attributes of the HPLC module to be upgraded are determined. Based on the target upgrade mode, the target upgrade mirror category, the target upgrade protocol cluster category, and the mirror information, the first adaptive mirror information of the HPLC module to be upgraded is generated.
7. The method for upgrading the HPLC module as described in claim 1, characterized in that, After obtaining the upgrade result, the process also includes: Determine whether the upgrade result is a successful upgrade; If the upgrade result is determined to be an unsuccessful upgrade, the HPLC module to be upgraded is upgraded again, and the upgrade result is obtained again. If the upgrade result is determined to be a successful upgrade, then the next HPLC module to be upgraded is identified; Based on the identification result of the next HPLC module to be upgraded, the adaptive mirror information of the next HPLC module to be upgraded is determined; The adaptive mirror information of the next HPLC product module to be upgraded is sent to the next HPLC product module to be upgraded, so that the next HPLC module to be upgraded can be upgraded based on the adaptive mirror information of the next HPLC module to be upgraded, and the upgrade result of the next HPLC module to be upgraded can be obtained.
8. An upgrade device for an HPLC module, characterized in that, The upgrade device for the HPLC module includes: The acquisition module is used to acquire initial common configuration information and image information issued by the host computer, wherein the initial common configuration information includes initial batch common configuration information and initial single-item common configuration information; The first determining module is used to determine the working mode based on the initial common configuration information, wherein the working mode includes batch upgrade mode and single-item upgrade mode; The second determining module is used to identify the version of the HPLC module to be upgraded according to the determined working mode, so as to generate adaptive mirror information of the HPLC module to be upgraded based on the initial common configuration information and the mirror information. The upgrade and acquisition module is used to send the adaptive mirror information to the HPLC module to be upgraded, so that the HPLC module to be upgraded can upgrade based on the adaptive mirror information and acquire the upgrade result.
9. An upgrade device for an HPLC module, characterized in that, The HPLC module upgrade device includes a processor, a memory, and an HPLC module upgrade program stored in the memory and executable by the processor, wherein when the HPLC module upgrade program is executed by the processor, it implements the steps of the HPLC module upgrade method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores an upgrade program for an HPLC module, wherein when the upgrade program for the HPLC module is executed by a processor, it implements the steps of the upgrade method for the HPLC module as described in any one of claims 1 to 7.