Double-mainboard upgrading method and device, equipment and medium
Software upgrades are achieved in dual motherboard systems through wireless networks and internal buses, which solves the problem of equipment disassembly and upgrades in the existing technology, improves stability and function expansion capabilities, simplifies operation and reduces failure rates.
Patent Information
- Application Number
- CN202410942736.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-11-12
AI Technical Summary
The existing dual motherboard system needs to be disassembled during the software upgrade process. The operation is complicated and may affect the stability and waterproof and dustproof performance of the equipment. It is impossible to upgrade software from the corresponding interfaces of the two motherboards, which limits the functional expansion of the equipment. and upgrade.
The upgraded data packets are obtained and transmitted through the wireless network interface and the battery pack interface, and the software upgrade of the two motherboards is realized. The data encryption and verification mechanism are used to ensure the stability and security of data transmission, and the automatic upgrade is achieved through cloud push.
Simplifies the software upgrade process, saves time and labor costs, avoids the potential damage to the device by physical connections, improves the stability and reliability of the device, supports software upgrades from the corresponding interfaces of the two motherboards, and promotes the device's Feature expansion and upgrade.
Smart Images

Figure CN118939289A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of electronic technology, and in particular, relates to a dual-motherboard upgrade method, device, equipment and medium. Background Art
[0002] With the development of science and technology, various intelligent devices have sprung up. Among them, floor scrubbers, as a common cleaning equipment, are also becoming more intelligent. Floor scrubbers usually use a dual-motherboard system to improve the performance and stability of the equipment. However, this design also brings about the problem of software upgrades, that is, how to upgrade the software of the two motherboards without disassembling the equipment. Since floor scrubbers usually work in complex environments, the software upgrade process needs to ensure the stability and security of data transmission.
[0003] The existing solutions mainly use physical connections, such as USB ports, serial ports, and JLink ports to transfer upgrade data to the device and then perform software upgrades. Although this method can achieve software upgrades, it requires the device to be disassembled, which is complicated, time-consuming, and labor-intensive, and may affect the stability and reliability of the device, so it is not conducive to large-scale production and maintenance. At the same time, since a physical connection is required, it may affect the waterproof and dustproof performance of the device and increase the failure rate of the device. Finally, the existing software upgrade method cannot achieve software upgrades from the corresponding interfaces of the two mainboards, which to a certain extent limits the functional expansion and upgrade of the device. Summary of the invention
[0004] In order to solve the problems of the prior art, the present application provides a dual-mainboard upgrade method, device, equipment and medium, the method comprising: obtaining an upgrade data packet through the wireless network interface; upgrading the first mainboard through the upgrade data packet, sending the upgrade data packet to the second mainboard, and then upgrading the second mainboard; obtaining an upgrade data packet through the battery pack interface; upgrading the second mainboard through the upgrade data packet, sending the upgrade data packet to the first mainboard, and then upgrading the first mainboard. The present application realizes that the software can be upgraded from the corresponding interfaces of the two mainboards through a wireless network and an internal bus, which greatly simplifies the software upgrade process. At the same time, there is no need to disassemble the machine equipment, saving time and labor costs for software upgrades.
[0005] The technical solution is as follows:
[0006] In a first aspect, the present application provides a dual-mainboard upgrade method, the method being applied to a dual-mainboard upgrade system, the system comprising a first mainboard, a second mainboard, a wireless network interface, and a battery pack interface, the output end of the first mainboard being connected to the input end of the second mainboard, the output end of the wireless network interface being connected to the input end of the first mainboard, the output end of the second mainboard being connected to the input end of the battery pack interface, the method comprising:
[0007] Acquire an upgraded data packet through the wireless network interface;
[0008] Upgrading the first mainboard through the upgraded data packet, sending the upgraded data packet to the second mainboard, and then upgrading the second mainboard;
[0009] Acquire an upgraded data packet through the battery pack interface;
[0010] The second mainboard is upgraded through the upgraded data packet, and the upgraded data packet is sent to the first mainboard, and then the first mainboard is upgraded.
[0011] In some embodiments, the method comprises:
[0012] Performing software upgrade on the mainboard by means of data encryption;
[0013] The mainboard software is upgraded by means of data verification.
[0014] In some embodiments, the software upgrade of the mainboard by means of data encryption includes:
[0015] Get the latest motherboard firmware update file from the motherboard manufacturer's official website;
[0016] Verifying the integrity of the latest motherboard firmware update file through a verification package;
[0017] In response to the latest motherboard firmware update file being complete, backing up the current motherboard system setting content and obtaining a boot disk creation tool from the motherboard manufacturer;
[0018] The software of the mainboard is upgraded by using the boot disk making tool of the mainboard manufacturer.
[0019] In some embodiments, the software upgrade of the mainboard by means of data verification includes:
[0020] Get the latest motherboard firmware update file from the motherboard manufacturer's official website;
[0021] Calculate the hash value of the latest motherboard firmware update file by using a checksum tool;
[0022] Compare the calculated hash value of the latest motherboard firmware update file with the hash value provided by the motherboard manufacturer's official website;
[0023] In response to the calculated hash value of the latest motherboard firmware update file being the same as the hash value provided by the motherboard manufacturer's official website, verifying the digital signature of the latest motherboard firmware update file;
[0024] The verifying of the digital signature of the latest mainboard firmware update file includes:
[0025] Verify the digital signature of the latest motherboard firmware update file through the S i gntool command line tool;
[0026] In response to the digital signature of the latest mainboard firmware update file being complete, the mainboard is software upgraded.
[0027] In some embodiments, the method comprises:
[0028] Pushing the upgraded data packet to the wireless network interface via the cloud;
[0029] Installing remote control software on the dual-motherboard upgrade system;
[0030] Performing software upgrade on the first mainboard and the second mainboard via the wireless network interface;
[0031] Monitor the system mainboard software upgrade process through the remote control interface.
[0032] In some embodiments, the method comprises:
[0033] In response to an upgrade error message appearing on any main board, the main board appearing the upgrade error message is re-upgraded, and the number of times the main board appearing the upgrade error message is re-upgraded is determined;
[0034] The determining of the number of times the mainboard is re-upgraded when the upgrade error message is generated includes:
[0035] Determine whether the number of times the mainboard is re-upgraded when the upgrade error message appears is greater than a first preset value;
[0036] If yes, the system will issue a motherboard upgrade error warning log and prompt the customer to manually intervene in the upgrade; if no, the motherboard upgrade is successful.
[0037] In some embodiments, the step of upgrading the first mainboard and upgrading the second mainboard includes:
[0038] Determine whether the motherboard upgrade content has been correctly installed and used;
[0039] The determining whether the mainboard upgrade contents have been correctly installed and used includes:
[0040] Determine whether the motherboard upgrade content has been correctly installed and used;
[0041] If yes, restart the device to activate the installed motherboard upgrade content; if no, re-upgrade the first motherboard and the second motherboard.
[0042] In a second aspect, the present application further provides a dual-mainboard upgrade device, the device comprising:
[0043] An acquisition module, used to acquire an upgraded data packet through the wireless network interface; and acquire an upgraded data packet through the battery pack interface;
[0044] An upgrade module, used to upgrade the first mainboard through the upgrade data packet, and then upgrade the second mainboard; upgrade the second mainboard through the upgrade data packet, and then upgrade the first mainboard;
[0045] A sending module is used to send the upgraded data packet to the second mainboard; and send the upgraded data packet to the first mainboard.
[0046] In a third aspect, a dual-mainboard upgrade device is also provided, comprising:
[0047] one or more processors;
[0048] A storage device for storing one or more programs;
[0049] When the one or more programs are executed by the one or more processors, the one or more processors implement the dual-mainboard upgrade method as described in any one of the first aspects.
[0050] In a fourth aspect, the present application further provides a computer device, the device comprising:
[0051] A memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the dual-mainboard upgrade method as described in any one of the first aspects.
[0052] In a fifth aspect, the present application further provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of any dual-mainboard upgrade method described in the first aspect.
[0053] In a sixth aspect, the present application further provides a computer storage medium, the medium comprising:
[0054] A computer program is stored thereon, and when the computer program is executed by a processor, the steps of the dual-mainboard upgrading method described in any one of the first aspects are implemented.
[0055] The beneficial effects brought by the technical solution disclosed in the embodiments of the present application are:
[0056] The present application provides a dual-mainboard upgrade method, device, equipment and medium, the method comprising: obtaining an upgrade data packet through the wireless network interface; upgrading the first mainboard through the upgrade data packet, sending the upgrade data packet to the second mainboard, and then upgrading the second mainboard; obtaining an upgrade data packet through the battery pack interface; upgrading the second mainboard through the upgrade data packet, sending the upgrade data packet to the first mainboard, and then upgrading the first mainboard. The present application realizes that the software can be upgraded from the corresponding interfaces of the two mainboards through a wireless network and an internal bus, which greatly simplifies the software upgrade process. At the same time, there is no need to disassemble the machine equipment, saving time and labor costs for software upgrades.
[0057] The technical solution disclosed in the embodiment of the present application avoids problems that may affect the waterproof and dustproof performance of the equipment because it does not require physical connection, thereby reducing the failure rate of the equipment and improving the stability and reliability of the equipment; since there is no need to disassemble the machine equipment, the production and maintenance process is greatly simplified, which is conducive to large-scale production and maintenance.
[0058] Since the technical solution disclosed in the embodiment of the present application can upgrade the software from the corresponding interfaces of the two main boards, it is possible to more flexibly expand and upgrade the functions of the device, thereby improving the use value of the device; at the same time, data is pushed to the WIFI module through the cloud to achieve automatic upgrades, thereby reducing the user's operating difficulty and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] After reading the detailed description of the embodiments of the present disclosure in conjunction with the following drawings, the above-mentioned features and advantages of the present application can be better understood. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
[0060] Figure 1 A structural diagram of a dual-motherboard upgrade system described in the present application is shown;
[0061] Figure 2 A first flow chart of the dual motherboard upgrade method described in the present application is shown;
[0062] Figure 3A second flow chart of the dual motherboard upgrade method described in the present application is shown;
[0063] Figure 4 A structural diagram of the dual-mainboard upgrade device described in the present application is shown;
[0064] Figure 5 An exemplary system provided for this application can be used to implement the various embodiments described in this application. DETAILED DESCRIPTION
[0065] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0066] It should be noted that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. In the description of this application, "multiple" or "several" means more than two, unless otherwise clearly and specifically defined.
[0067] Embodiment 1
[0068] The present application embodiment provides a dual motherboard upgrade method, such as Figure 1 , 2 As shown, the method is applied to a dual-mainboard upgrade system, the system includes a first mainboard, a second mainboard, a wireless network interface and a battery pack interface, the output end of the first mainboard is connected to the input end of the second mainboard, the output end of the wireless network interface is connected to the input end of the first mainboard, and the output end of the second mainboard is connected to the input end of the battery pack interface, the method includes:
[0069] Acquire an upgraded data packet through the wireless network interface;
[0070] Upgrading the first mainboard through the upgraded data packet, sending the upgraded data packet to the second mainboard, and then upgrading the second mainboard;
[0071] Acquire an upgraded data packet through the battery pack interface;
[0072] The second mainboard is upgraded through the upgraded data packet, and the upgraded data packet is sent to the first mainboard, and then the first mainboard is upgraded.
[0073] Specifically, the whole machine (floor scrubber) is composed of two main boards, namely the first main board A and the second main board B. The first main board includes a WI FI chip (wireless network interface), and the second main board includes a battery pack interface. The first main board and the second main board are connected through a CAN bus interface to transmit data. The WI FI chip on the first main board can obtain an upgraded data packet from the cloud. After receiving the upgraded data packet, the first main board is upgraded, and then the data is transparently transmitted to the second main board through the CAN bus to upgrade the second main board.
[0074] There is a battery pack interface on the second main board, and the battery pack and the second main board transmit data through the serial port; the upgraded data packet can be transmitted to the system through this port, that is, the second main board receives the upgrade data of the host computer, and then after the second main board is upgraded, the data is transparently transmitted to the first main board through the CAN bus to upgrade the first main board.
[0075] The beneficial effects brought by the technical solution disclosed in the embodiments of the present application are:
[0076] The present application realizes that the software can be upgraded from the corresponding interfaces of the two main boards through the wireless network and the internal bus, which greatly simplifies the software upgrade process. At the same time, there is no need to disassemble the machine equipment, saving time and labor costs for software upgrades.
[0077] The technical solution disclosed in the embodiment of the present application avoids problems that may affect the waterproof and dustproof performance of the equipment because it does not require physical connection, thereby reducing the failure rate of the equipment and improving the stability and reliability of the equipment; since there is no need to disassemble the machine equipment, the production and maintenance process is greatly simplified, which is conducive to large-scale production and maintenance.
[0078] Embodiment 2
[0079] This application provides a dual motherboard upgrade method, such as Figure 3 As shown, the method includes:
[0080] Step S1, obtaining an upgraded data packet through the wireless network interface;
[0081] Upgrading the first mainboard through the upgraded data packet, sending the upgraded data packet to the second mainboard, and then upgrading the second mainboard;
[0082] Acquire an upgraded data packet through the battery pack interface;
[0083] The second mainboard is upgraded through the upgraded data packet, and the upgraded data packet is sent to the first mainboard, and then the first mainboard is upgraded.
[0084] Specifically, the present application adopts a dual-mainboard system design. The entire system consists of two mainboards A and B. The two mainboards are connected via a CAN bus interface to transmit data. This design allows the software of the two mainboards to be upgraded without disassembling the device, thereby improving the functional expansion and upgrade capabilities of the device.
[0085] This application uses wireless communication technology to perform software upgrades: there is a WIFI chip on board A, which can obtain upgrade data packets from the cloud. After receiving them, board A upgrades itself and then transparently transmits data to board B through the CAN bus to upgrade board B. This method can avoid the tediousness of traditional wired upgrade methods and improve the convenience of upgrades.
[0086] This application performs software upgrades through the battery pack interface: there is a battery pack interface on the B board, and the battery pack and the B board transmit data through the serial port. The upgraded data packet can be transmitted to the system through this port, that is, the B board receives the upgrade data from the upper computer, and then after the B board is upgraded, the data is transparently transmitted to the A board through the CAN bus to upgrade A; this method makes it possible to upgrade the software of the two main boards without disassembling the device, thereby improving the convenience of using the device.
[0087] Step S2, performing software upgrade on the mainboard by means of data encryption;
[0088] The mainboard software is upgraded by means of data verification.
[0089] Specifically, the present application adopts a secure data transmission mechanism: during the software upgrade process, encryption and verification are used to ensure the stability and security of data transmission and prevent data from being tampered with or lost during transmission.
[0090] Step S2 also includes:
[0091] Step S21, obtaining the latest motherboard firmware update file from the motherboard manufacturer's official website;
[0092] Verifying the integrity of the latest motherboard firmware update file through a verification package;
[0093] In response to the latest motherboard firmware update file being complete, backing up the current motherboard system settings and obtaining a boot disk creation tool from the motherboard manufacturer;
[0094] The software of the mainboard is upgraded by using the boot disk making tool of the mainboard manufacturer.
[0095] Specifically, get the official upgrade file: First, download the latest BIOS or UEFI firmware update file from the motherboard manufacturer's official website;
[0096] Verify file integrity: Use a checksum tool such as MD5, SHA-1, or SHA-256 to verify that the downloaded firmware update file has not been tampered with.
[0097] Safe environment: Before performing the upgrade operation, make sure the computer system is clean and free of viruses or malware, as these may affect the upgrade process;
[0098] Back up the current BIOS: If possible, back up the current operating system BIOS settings first so that they can be restored in case of upgrade failure;
[0099] Use dedicated upgrade tools: Most motherboard manufacturers will provide specific upgrade tools or boot disk creation tools. These tools will automatically handle firmware checksum verification when performing the upgrade to ensure the correctness of the upgrade file;
[0100] Perform the upgrade: Follow the manufacturer's instructions and use the provided tools or methods to perform an upgrade of the system BIOS or UEFI firmware; this usually requires a full reboot and entering a specific upgrade mode during the boot process.
[0101] During this process, data encryption security measures ensure the authenticity of the upgrade files and the reliability of the upgrade process.
[0102] Step S22, obtaining the latest motherboard firmware update file from the motherboard manufacturer's official website;
[0103] Calculate the hash value of the latest motherboard firmware update file by using a checksum tool;
[0104] Compare the calculated hash value of the latest motherboard firmware update file with the hash value provided by the motherboard manufacturer's official website;
[0105] In response to the calculated hash value of the latest motherboard firmware update file being the same as the hash value provided by the motherboard manufacturer's official website, verifying the digital signature of the latest motherboard firmware update file;
[0106] The verifying of the digital signature of the latest mainboard firmware update file includes:
[0107] Verify the digital signature of the latest motherboard firmware update file using the Signtool command line tool;
[0108] In response to the digital signature of the latest mainboard firmware update file being complete, the mainboard is software upgraded.
[0109] Specifically, download the official upgrade file: visit the official website of the motherboard manufacturer, find the corresponding motherboard model, and download the latest BIOS or UEFI firmware update file;
[0110] Verify file integrity: Manufacturers usually provide checksum tools (such as MD5, SHA-1, or SHA-256) for upgrade files. Use a checksum tool (such as HashCalc, CertUtil) to calculate the hash value of the downloaded file and compare it with the hash value provided by the official website to ensure that the file has not been tampered with.
[0111] Execute the upgrade program: Restart the computer to enter the DOS environment or use the upgrade software to run the upgrade tool in real mode;
[0112] Data verification process: Most modern BIOS upgrade tools automatically perform data verification before writing new firmware; this includes verifying the digital signature of the firmware file, ensuring that the file comes from a trusted source, and verifying the integrity of the file content before writing to FlashROM.
[0113] Verification after upgrade: After the upgrade is completed, the tool will usually verify the written firmware again to ensure that the upgrade was successful. Some tools will display a verification success message at the end or provide a verification code for the user to verify.
[0114] Restart and verify the system: Restart the computer, enter the BIOS setup interface, check whether the BIOS version has been updated, and verify whether the system starts normally.
[0115] Through these steps, data verification runs through the entire upgrade process, ensuring the accuracy of the upgrade file and improving the security and success rate of the upgrade operation.
[0116] Step S3, pushing the upgraded data packet to the wireless network interface via the cloud;
[0117] Installing remote control software on the dual-motherboard upgrade system;
[0118] Performing software upgrade on the first mainboard and the second mainboard via the wireless network interface;
[0119] Monitor the system mainboard software upgrade process through the remote control interface.
[0120] Specifically, if the manufacturer optimizes the functions of the entire machine, it can push upgrades through the machines connected to the system; specifically, the cloud pushes data to the WIFI module, and after the WIFI module receives the data packet, it performs software upgrades on the first mainboard and the second mainboard of the entire machine; this method reduces the user's operating difficulty and simplifies the software upgrade process; at the same time, the system mainboard software upgrade process can be monitored through the remote control interface.
[0121] Step S4, in response to an upgrade error message appearing on any main board, re-upgrading the main board appearing with the upgrade error message, and determining the number of times the main board appearing with the upgrade error message has been re-upgraded;
[0122] The determining of the number of times the mainboard is re-upgraded when the upgrade error message is generated includes:
[0123] Determine whether the number of times the mainboard is re-upgraded when the upgrade error message appears is greater than a first preset value;
[0124] If yes, the system will issue a motherboard upgrade error warning log and prompt the customer to manually intervene in the upgrade; if no, the motherboard upgrade is successful.
[0125] Specifically, during the motherboard upgrade process, if a motherboard has an error during the upgrade process, the system will attempt to re-upgrade the motherboard with the error, up to three times. If all three attempts fail, the system will report an error warning message and prompt the user to perform manual intervention.
[0126] Among them, the first preset value is 3.
[0127] Step S5, determining whether the mainboard upgrade contents have been correctly installed and used;
[0128] The determining whether the mainboard upgrade contents have been correctly installed and used includes:
[0129] Determine whether the motherboard upgrade content has been correctly installed and used;
[0130] If yes, restart the device to activate the installed motherboard upgrade content; if no, re-upgrade the first motherboard and the second motherboard.
[0131] Specifically, after the software upgrade is completed, the system will perform a comprehensive check to ensure that all upgraded contents have been correctly applied; if the check passes, the system will prompt the user to restart the device for the new software version to take effect; during the entire software upgrade process, all data transmission will use encryption and verification to ensure the stability and security of data transmission.
[0132] The technical solution of this application prepares two main boards A and B, which are connected through a CAN bus interface to transmit data; the A board includes a WIFI chip, which can obtain upgraded data packets from the cloud; the B board includes a battery pack interface, and the battery pack and the B board transmit data through a serial port;
[0133] Start the software upgrade process. The WIFI chip on board A starts to obtain the upgrade data packet from the cloud. This data packet can be generated by the manufacturer through a specific software update tool, which contains the latest software version information and upgrade instructions.
[0134] After receiving the upgrade data packet, board A will first upgrade its own software. If board A successfully completes its own software upgrade, it will transparently transmit the upgrade data packet to board B via the CAN bus.
[0135] After receiving the upgrade data packet, board B upgrades its own software;
[0136] The technical solution of this application can be widely used in application fields such as smart device manufacturing, home automation, and commercial cleaning equipment.
[0137] First, this technical solution solves the software upgrade problem of dual-motherboard system equipment without the need to disassemble the equipment, greatly simplifying the upgrade operation, improving efficiency and reducing maintenance costs.
[0138] Secondly, this technical solution is upgraded through wireless transmission, avoiding the waterproof and dustproof problems that may be caused by physical connection, and improving the stability and reliability of the equipment.
[0139] Finally, this technical solution supports software upgrades from the corresponding interfaces of the two main boards, providing more possibilities for functional expansion and upgrades of the device.
[0140] Therefore, whether in the production and manufacturing process of smart devices or in the use and maintenance of equipment, this technical solution has broad application prospects and market demand.
[0141] The dual-mainboard upgrade method provided in the embodiment of the present application may be further improved and optimized without departing from the technical solution of the present application, and these improvements and optimizations should also be regarded as within the scope of protection of the present application.
[0142] The beneficial effects brought by the technical solution disclosed in the embodiments of the present application are:
[0143] The present application realizes that the software can be upgraded from the corresponding interfaces of the two main boards through the wireless network and the internal bus, which greatly simplifies the software upgrade process. At the same time, there is no need to disassemble the machine equipment, saving time and labor costs for software upgrades.
[0144] The technical solution disclosed in the embodiment of the present application avoids problems that may affect the waterproof and dustproof performance of the equipment because it does not require physical connection, thereby reducing the failure rate of the equipment and improving the stability and reliability of the equipment; since there is no need to disassemble the machine equipment, the production and maintenance process is greatly simplified, which is conducive to large-scale production and maintenance.
[0145] Since the technical solution disclosed in the embodiment of the present application can upgrade the software from the corresponding interfaces of the two main boards, it is possible to more flexibly expand and upgrade the functions of the device, thereby improving the use value of the device; at the same time, data is pushed to the WIFI module through the cloud to achieve automatic upgrades, thereby reducing the user's operating difficulty and improving the user experience.
[0146] Embodiment 3
[0147] The present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following dual-mainboard upgrade method can be executed:
[0148] Acquire an upgraded data packet through the wireless network interface;
[0149] Upgrading the first mainboard through the upgraded data packet, sending the upgraded data packet to the second mainboard, and then upgrading the second mainboard;
[0150] Acquire an upgraded data packet through the battery pack interface;
[0151] The second mainboard is upgraded through the upgraded data packet, and the upgraded data packet is sent to the first mainboard, and then the first mainboard is upgraded.
[0152] The beneficial effects of the technical solution provided by the embodiment of the present application are:
[0153] The present application realizes that the software can be upgraded from the corresponding interfaces of the two main boards through the wireless network and the internal bus, which greatly simplifies the software upgrade process. At the same time, there is no need to disassemble the machine equipment, saving time and labor costs for software upgrades.
[0154] Since the technical solution disclosed in the embodiment of the present application can upgrade the software from the corresponding interfaces of the two main boards, it is possible to more flexibly expand and upgrade the functions of the device, thereby improving the use value of the device; at the same time, data is pushed to the WIFI module through the cloud to achieve automatic upgrades, thereby reducing the user's operating difficulty and improving the user experience.
[0155] Embodiment 4
[0156] The present application provides a dual motherboard upgrade device, such as Figure 4 As shown, the device includes an acquisition module, a sending module, an upgrade module, a remote module, and a judgment module.
[0157] In this embodiment, the acquisition module is used to acquire the upgraded data packet through the wireless network interface; acquire the upgraded data packet through the battery pack interface;
[0158] An upgrade module, used to upgrade the first mainboard through the upgrade data packet, and then upgrade the second mainboard; upgrade the second mainboard through the upgrade data packet, and then upgrade the first mainboard;
[0159] A sending module is used to send the upgraded data packet to the second mainboard; and send the upgraded data packet to the first mainboard.
[0160] In this embodiment, the upgrade module is used to perform software upgrade on the mainboard by means of data encryption;
[0161] The mainboard software is upgraded by means of data verification.
[0162] In this embodiment, the upgrade module is also used to obtain the latest motherboard firmware update file through the official website of the motherboard manufacturer;
[0163] Verifying the integrity of the latest motherboard firmware update file through a verification package;
[0164] In response to the latest motherboard firmware update file being complete, backing up the current motherboard system setting content and obtaining a boot disk creation tool from the motherboard manufacturer;
[0165] The software of the mainboard is upgraded by using the boot disk making tool of the mainboard manufacturer.
[0166] In this embodiment, the upgrade module is also used to obtain the latest motherboard firmware update file through the official website of the motherboard manufacturer;
[0167] Calculate the hash value of the latest motherboard firmware update file by using a checksum tool;
[0168] Compare the calculated hash value of the latest motherboard firmware update file with the hash value provided by the motherboard manufacturer's official website;
[0169] In response to the calculated hash value of the latest motherboard firmware update file being the same as the hash value provided by the motherboard manufacturer's official website, verifying the digital signature of the latest motherboard firmware update file;
[0170] The verifying of the digital signature of the latest mainboard firmware update file includes:
[0171] Verify the digital signature of the latest motherboard firmware update file through the S i gntool command line tool;
[0172] In response to the digital signature of the latest mainboard firmware update file being complete, the mainboard is software upgraded.
[0173] In this embodiment, the remote module is used to push the upgraded data packet to the wireless network interface through the cloud;
[0174] Installing remote control software on the dual-motherboard upgrade system;
[0175] Performing software upgrade on the first mainboard and the second mainboard via the wireless network interface;
[0176] Monitor the system mainboard software upgrade process through the remote control interface.
[0177] In this embodiment, the judgment module is used to respond to the occurrence of upgrade error information on any main board, then re-upgrade the main board having the upgrade error information, and judge the number of times the main board having the upgrade error information has been re-upgraded;
[0178] The determining of the number of times the mainboard is re-upgraded when the upgrade error message is generated includes:
[0179] Determine whether the number of times the mainboard is re-upgraded when the upgrade error message appears is greater than a first preset value;
[0180] If yes, the system will issue a motherboard upgrade error warning log and prompt the customer to manually intervene in the upgrade; if no, the motherboard upgrade is successful.
[0181] In this embodiment, the judgment module is used to judge whether the mainboard upgrade content has been correctly installed and used;
[0182] The determining whether the mainboard upgrade contents have been correctly installed and used includes:
[0183] Determine whether the motherboard upgrade content has been correctly installed and used;
[0184] If yes, restart the device to activate the installed motherboard upgrade content; if no, re-upgrade the first motherboard and the second motherboard.
[0185] The beneficial effects of the technical solution provided by the embodiment of the present application are:
[0186] The present application realizes that the software can be upgraded from the corresponding interfaces of the two main boards through the wireless network and the internal bus, which greatly simplifies the software upgrade process. At the same time, there is no need to disassemble the machine equipment, saving time and labor costs for software upgrades.
[0187] The technical solution disclosed in the embodiment of the present application avoids problems that may affect the waterproof and dustproof performance of the equipment because it does not require physical connection, thereby reducing the failure rate of the equipment and improving the stability and reliability of the equipment; since there is no need to disassemble the machine equipment, the production and maintenance process is greatly simplified, which is conducive to large-scale production and maintenance.
[0188] Since the technical solution disclosed in the embodiment of the present application can upgrade the software from the corresponding interfaces of the two main boards, it is possible to more flexibly expand and upgrade the functions of the device, thereby improving the use value of the device; at the same time, data is pushed to the WIFI module through the cloud to achieve automatic upgrades, thereby reducing the user's operating difficulty and improving the user experience.
[0189] Embodiment 5
[0190] The present application provides a computer storage medium, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented:
[0191] Acquire an upgraded data packet through the wireless network interface;
[0192] Upgrading the first mainboard through the upgraded data packet, sending the upgraded data packet to the second mainboard, and then upgrading the second mainboard;
[0193] Acquire an upgraded data packet through the battery pack interface;
[0194] The second mainboard is upgraded through the upgraded data packet, and the upgraded data packet is sent to the first mainboard, and then the first mainboard is upgraded.
[0195] In some embodiments, the method comprises:
[0196] Performing software upgrade on the mainboard by means of data encryption;
[0197] The mainboard software is upgraded by means of data verification.
[0198] In some embodiments, the software upgrade of the mainboard by means of data encryption includes:
[0199] Get the latest motherboard firmware update file from the motherboard manufacturer's official website;
[0200] Verifying the integrity of the latest motherboard firmware update file through a verification package;
[0201] In response to the latest motherboard firmware update file being complete, backing up the current motherboard system setting content and obtaining a boot disk creation tool from the motherboard manufacturer;
[0202] The software of the mainboard is upgraded by using the boot disk making tool of the mainboard manufacturer.
[0203] In some embodiments, the software upgrade of the mainboard by means of data verification includes:
[0204] Get the latest motherboard firmware update file from the motherboard manufacturer's official website;
[0205] Calculate the hash value of the latest motherboard firmware update file by using a checksum tool;
[0206] Compare the calculated hash value of the latest motherboard firmware update file with the hash value provided by the motherboard manufacturer's official website;
[0207] In response to the calculated hash value of the latest motherboard firmware update file being the same as the hash value provided by the motherboard manufacturer's official website, verifying the digital signature of the latest motherboard firmware update file;
[0208] The verifying of the digital signature of the latest mainboard firmware update file includes:
[0209] Verify the digital signature of the latest motherboard firmware update file through the S i gntool command line tool;
[0210] In response to the digital signature of the latest mainboard firmware update file being complete, the mainboard is software upgraded.
[0211] In some embodiments, the method comprises:
[0212] Pushing the upgraded data packet to the wireless network interface via the cloud;
[0213] Installing remote control software on the dual-motherboard upgrade system;
[0214] Performing software upgrade on the first mainboard and the second mainboard via the wireless network interface;
[0215] Monitor the system mainboard software upgrade process through the remote control interface.
[0216] In some embodiments, the method comprises:
[0217] In response to an upgrade error message appearing on any main board, the main board appearing the upgrade error message is re-upgraded, and the number of times the main board appearing the upgrade error message is re-upgraded is determined;
[0218] The determining of the number of times the mainboard is re-upgraded when the upgrade error message is generated includes:
[0219] Determine whether the number of times the mainboard is re-upgraded when the upgrade error message appears is greater than a first preset value;
[0220] If yes, the system will issue a motherboard upgrade error warning log and prompt the customer to manually intervene in the upgrade; if no, the motherboard upgrade is successful.
[0221] In some embodiments, the step of upgrading the first mainboard and upgrading the second mainboard includes:
[0222] Determine whether the motherboard upgrade content has been correctly installed and used;
[0223] The determining whether the mainboard upgrade contents have been correctly installed and used includes:
[0224] Determine whether the motherboard upgrade content has been correctly installed and used;
[0225] If yes, restart the device to activate the installed motherboard upgrade content; if no, re-upgrade the first motherboard and the second motherboard.
[0226] Figure 5 An exemplary system provided for Embodiment 5 of the present application that can be used to implement various embodiments described in the present application;
[0227] like Figure 5 As shown, in some embodiments, the system can be used as any of the above-mentioned devices for dual motherboard upgrade in each of the described embodiments. In some embodiments, the system may include one or more computer-readable media (e.g., system memory or NVM / storage device) having results and one or more processors (e.g., (one or more) processors) coupled to the one or more computer-readable media and configured to execute the results to implement the module to perform the actions described in this application.
[0228] The beneficial effects of the technical solution provided by the embodiment of the present application are:
[0229] The technical solution disclosed in the embodiment of the present application avoids problems that may affect the waterproof and dustproof performance of the equipment because it does not require physical connection, thereby reducing the failure rate of the equipment and improving the stability and reliability of the equipment; since there is no need to disassemble the machine equipment, the production and maintenance process is greatly simplified, which is conducive to large-scale production and maintenance.
[0230] Since the technical solution disclosed in the embodiment of the present application can upgrade the software from the corresponding interfaces of the two main boards, it is possible to more flexibly expand and upgrade the functions of the device, thereby improving the use value of the device; at the same time, data is pushed to the WIFI module through the cloud to achieve automatic upgrades, thereby reducing the user's operating difficulty and improving the user experience.
[0231] Embodiment 6
[0232] The present application also provides a computer program product, including a computer program, which can implement the following dual-mainboard upgrade method when executed by a processor:
[0233] Acquire an upgraded data packet through the wireless network interface;
[0234] Upgrading the first mainboard through the upgraded data packet, sending the upgraded data packet to the second mainboard, and then upgrading the second mainboard;
[0235] Acquire an upgraded data packet through the battery pack interface;
[0236] The second mainboard is upgraded through the upgraded data packet, and the upgraded data packet is sent to the first mainboard, and then the first mainboard is upgraded.
[0237] The beneficial effects of the technical solution provided by the embodiment of the present application are:
[0238] The present application realizes that the software can be upgraded from the corresponding interfaces of the two main boards through the wireless network and the internal bus, which greatly simplifies the software upgrade process. At the same time, there is no need to disassemble the machine equipment, saving time and labor costs for software upgrades.
[0239] The technical solution disclosed in the embodiment of the present application avoids problems that may affect the waterproof and dustproof performance of the equipment because it does not require physical connection, thereby reducing the failure rate of the equipment and improving the stability and reliability of the equipment; since there is no need to disassemble the machine equipment, the production and maintenance process is greatly simplified, which is conducive to large-scale production and maintenance.
[0240] Since the technical solution disclosed in the embodiment of the present application can upgrade the software from the corresponding interfaces of the two main boards, it is possible to more flexibly expand and upgrade the functions of the device, thereby improving the use value of the device; at the same time, data is pushed to the WIFI module through the cloud to achieve automatic upgrades, thereby reducing the user's operating difficulty and improving the user experience.
[0241] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.
[0242] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the embodiments of the present application.
[0243] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
[0244] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
[0245] The contents not described in detail in this specification belong to the prior art known to professional and technical personnel in this field.
Claims
1. A dual-motherboard upgrade method, the method being applied to a dual-motherboard upgrade system, characterized in that: The system includes a first mainboard, a second mainboard, a wireless network interface, and a battery pack interface, wherein an output end of the first mainboard is connected to an input end of the second mainboard, an output end of the wireless network interface is connected to an input end of the first mainboard, and an output end of the second mainboard is connected to an input end of the battery pack interface. The method includes: Acquire an upgraded data packet through the wireless network interface; Upgrading the first mainboard using the upgraded data packet, sending the upgraded data packet to the second mainboard, and then upgrading the second mainboard; Obtaining an upgraded data packet through the battery pack interface; The second mainboard is upgraded using the upgraded data packet, and the upgraded data packet is sent to the first mainboard, and then the first mainboard is upgraded.
2. The dual-motherboard upgrade method according to claim 1, characterized in that: The method comprises: Performing software upgrade on the mainboard by means of data encryption; The mainboard software is upgraded by means of data verification.
3. The dual-motherboard upgrade method according to claim 2, characterized in that: The software upgrade of the mainboard by means of data encryption includes: Get the latest motherboard firmware update file from the motherboard manufacturer's official website; Verify the integrity of the latest motherboard firmware update file through a verification package; In response to the latest motherboard firmware update file being complete, backing up the current motherboard system settings and obtaining a boot disk creation tool from the motherboard manufacturer; The software of the mainboard is upgraded by using the boot disk making tool of the mainboard manufacturer.
4. The dual-motherboard upgrade method according to claim 2, wherein: The software upgrade of the mainboard by means of data verification includes: Get the latest motherboard firmware update file from the motherboard manufacturer's official website; Calculate the hash value of the latest motherboard firmware update file using a checksum tool; Compare the calculated hash value of the latest motherboard firmware update file with the hash value provided by the motherboard manufacturer's official website; In response to the calculated hash value of the latest motherboard firmware update file being identical to the hash value provided by the motherboard manufacturer's official website, verifying the digital signature of the latest motherboard firmware update file; The verifying of the digital signature of the latest motherboard firmware update file includes: Verify the digital signature of the latest motherboard firmware update file using the Signtool command line tool; In response to the digital signature of the latest mainboard firmware update file being complete, the mainboard software is upgraded.
5. The dual-motherboard upgrade method according to claim 1, characterized in that: The method comprises: Pushing the upgraded data packet to the wireless network interface via the cloud; Installing remote control software on the dual-motherboard upgrade system; Performing software upgrade on the first mainboard and the second mainboard via the wireless network interface; Monitor the system mainboard software upgrade process through the remote control interface.
6. The dual-motherboard upgrade method according to claim 1, characterized in that: The method comprises: In response to an upgrade error message appearing on any mainboard, the mainboard appearing the upgrade error message is re-upgraded, and the number of times the mainboard appearing the upgrade error message is re-upgraded is determined; The determining of the number of times the motherboard has been re-upgraded after the upgrade error message is generated includes: Determining whether the number of times the motherboard has been re-upgraded after the upgrade error message is displayed is greater than a first preset value; If yes, the system will issue a motherboard upgrade error warning log and prompt the customer to manually intervene in the upgrade; if no, the motherboard upgrade is successful.
7. The dual-motherboard upgrade method according to claim 1, characterized in that: After the first mainboard is upgraded and the second mainboard is upgraded, the method further includes: Determine whether the motherboard upgrade content has been correctly installed and used; The determination of whether the motherboard upgrade contents have been correctly installed and used includes: Determine whether the motherboard upgrade content has been correctly installed and used; If so, restart the device and activate the installed motherboard upgrade content; if not, re-upgrade the first motherboard and the second motherboard.
8. A dual motherboard upgrade device, characterized in that: The device comprises: An acquisition module is used to acquire the upgraded data packet through the wireless network interface; and acquire the upgraded data packet through the battery pack interface; An upgrade module, configured to upgrade the first mainboard and then the second mainboard using the upgrade data packet; and to upgrade the second mainboard and then the first mainboard using the upgrade data packet; A sending module is used to send the upgraded data packet to the second mainboard; and send the upgraded data packet to the first mainboard.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the dual-mainboard upgrading method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the dual-mainboard upgrading method according to any one of claims 1 to 7 are implemented.
