Software upgrading method and device and related product

By designing a software upgrade fixture and utilizing automated methods and screen similarity comparison, the entertainment host software was upgraded efficiently, accurately, and quickly. This solved the problems of low efficiency of manual operation and demanding wire harness insertion and removal in existing technologies, achieving the goal of cost reduction and efficiency improvement.

CN121364871APending Publication Date: 2026-01-20SAIC MOTOR
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511890285.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-15
Publication Date
2026-01-20

AI Technical Summary

Technical Problem

In existing technologies, software upgrades for entertainment consoles rely on manual operation, which is inefficient, costly, prone to missed upgrades or misoperations, and has stringent requirements for wiring harness insertion and removal, which can easily lead to poor contact and short circuits, affecting the normal operation of the console.

Method used

Design a software upgrade fixture that connects multiple mobile storage devices and entertainment host units, uses automatic upgrade scripts to automate software installation and status monitoring, reduces manual intervention, supports simultaneous upgrades of multiple devices, and determines installation success or failure through screen display and similarity comparison.

Benefits of technology

It enables automatic and rapid upgrades of entertainment host software, reduces manual intervention, saves labor costs, avoids the need for wire harness plugging and unplugging, improves upgrade efficiency and accuracy, and reduces the probability of human error.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121364871A_ABST
    Figure CN121364871A_ABST
Patent Text Reader

Abstract

The invention discloses a software upgrading method and device and a related product. The jig for software upgrading is disclosed, the jig supports connection of a plurality of mobile storage devices and an entertainment host set comprising a plurality of entertainment hosts, automatic upgrading scripts in the mobile storage devices can be executed through the jig, and software to be upgraded is installed in the entertainment hosts at a time. The jig is convenient to carry and use, and software can be automatically and rapidly upgraded. And meanwhile, the installation state of each entertainment host can be obtained, and the successfully installed entertainment host is prompted to be replaced, or the entertainment host which fails to be installed is reinstalled. According to the method, manual intervention is reduced, the labor cost and the human error probability are reduced, and the harsh requirement for plugging and unplugging of the power wire harness when the entertainment host is replaced is avoided. Efficient and accurate software upgrading is achieved, the purposes of reducing cost and increasing efficiency are achieved, and meanwhile the method is suitable for the scene that software in the entertainment host is frequently upgraded.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of vehicle host production, and in particular relates to a software upgrading method and device and related products. BACKGROUND

[0002] As a core component of the intelligent cockpit of a vehicle, the entertainment host integrates multiple functions such as entertainment, navigation, and interconnection, and has high software complexity and integration. Due to the compact production rhythm of the vehicle, the entertainment host needs to be assembled into the vehicle according to the plan, and sometimes the software in the entertainment host has not been repaired before entering the production line installation link, so it is necessary to repair the software problem through software upgrading.

[0003] In the prior art, the software upgrading method relies on manual operation, and the entertainment host needs to be connected to a special bench device to realize the installation and detection of the software. This method is low in efficiency, high in labor cost, and prone to problems such as missed upgrading or misoperation. In addition, during the connection process of the bench and the entertainment host, the plug-in requirement of the wire harness is harsh, and problems such as poor contact, short circuit, and repeated upgrading are prone to occur, which affects the normal operation of the host. SUMMARY

[0004] Based on the above problems, the present application provides a software upgrading method, device and related products to reduce manual intervention and efficiently and accurately upgrade the software in the entertainment host through an automatic method.

[0005] The present application discloses a software upgrading method applied to a software upgrading jig, and the method comprises the following steps:

[0006] A plurality of mobile storage devices and an entertainment host group are connected to the jig; the mobile storage devices store software to be upgraded and an automatic upgrading script; the entertainment host group comprises a plurality of entertainment hosts, and the number of the entertainment hosts in the entertainment host group is less than or equal to the number of the mobile storage devices;

[0007] The jig is controlled to execute the automatic upgrading script to install the software in the entertainment host;

[0008] The installation state of the entertainment host in installing the software is acquired;

[0009] In the case that the installation state is installation success, the entertainment host with installation success is prompted to be replaced;

[0010] In the case that the installation state is installation failure, the entertainment host with installation failure is prompted to be reinstalled.

[0011] Optionally, the acquisition of the installation state of the entertainment host in installing the software comprises:

[0012] Real-time acquisition of the progress of the installation of the software on each of the entertainment hosts, and acquisition of installation results of the installation of the software on each of the entertainment hosts;

[0013] Cyclically displaying the progress;

[0014] According to the installation results, determining the installation states of the entertainment hosts as installation success or installation failure.

[0015] Optionally, the cyclically displaying the progress comprises:

[0016] Simultaneously displaying, on a first screen, the progress corresponding to a preset number of entertainment hosts in the group of entertainment hosts;

[0017] Simultaneously displaying, on a second screen, the progress corresponding to the rest of the entertainment hosts in the group of entertainment hosts; the rest of the entertainment hosts are the entertainment hosts in the group of entertainment hosts that are not displayed on the first screen; the first screen and the second screen cannot be simultaneously displayed;

[0018] Alternately displaying the first screen and the second screen; the alternation frequency is a preset frequency.

[0019] Optionally, the determining the installation states of the entertainment hosts as installation success or installation failure according to the installation results comprises:

[0020] Acquiring, at the preset frequency, the display interface of each of the entertainment hosts;

[0021] Comparing the display interface with a first picture and a second picture in terms of similarity to obtain a comparison result;

[0022] When the comparison result is that the similarity between the display interface and the first picture is greater than or equal to a preset value, determining that the entertainment host corresponding to the display interface is installed successfully;

[0023] When the comparison result is that the similarity between the display interface and the second picture is greater than or equal to the preset value, determining that the entertainment host corresponding to the display interface is installed unsuccessfully.

[0024] Optionally, the comparing the display interface with a first picture and a second picture in terms of similarity comprises:

[0025] Comparing the display interface after first cropping with the first picture in terms of similarity;

[0026] Comparing the display interface after second cropping with the second picture in terms of similarity.

[0027] Based on the above-mentioned software upgrade method, this application also discloses a software upgrade apparatus, applied to a software upgrade fixture, the apparatus comprising: a connection unit, an execution unit, an acquisition unit, and a prompting unit;

[0028] The connection unit is used to connect multiple mobile storage devices and an entertainment host group to the fixture; the mobile storage devices contain software versions to be upgraded and automatic upgrade scripts; the entertainment host group contains multiple entertainment hosts, and the number of entertainment hosts in the entertainment host group is less than or equal to the number of mobile storage devices;

[0029] The execution unit is used to control the fixture to execute the automatic upgrade script and install the software in the entertainment host;

[0030] The acquisition unit is used to acquire the installation status of the software installed on the entertainment host;

[0031] The prompting unit is used to prompt the user to replace the successfully installed entertainment host when the installation status is "installation successful".

[0032] The prompting unit is used to prompt the entertainment host to reinstall if the installation status is "installation failed".

[0033] Optionally, the acquisition unit includes:

[0034] The acquisition subunit is used to acquire the progress of the software installation on each of the entertainment hosts in real time, and to acquire the installation result of the software installation on each of the entertainment hosts.

[0035] The display sub-unit is used to cyclically display the progress of each item;

[0036] The determination subunit is used to determine whether the installation status is successful or unsuccessful based on the installation results.

[0037] Optionally, the display subunit includes:

[0038] The first display subunit is used to simultaneously display the progress of a preset number of entertainment hosts in the entertainment host group on the first screen;

[0039] The second display subunit is used to simultaneously display the progress of the other entertainment hosts in the entertainment host group on the second screen; the other entertainment hosts are those entertainment hosts in the entertainment host group whose progress is not displayed on the first screen; the first screen and the second screen cannot display progress simultaneously.

[0040] An alternating subunit is used to alternately display the first screen and the second screen; the alternation frequency is a preset frequency.

[0041] Optionally, the determining sub-unit comprises:

[0042] an interface obtaining sub-unit, configured to obtain a display interface of each of the entertainment hosts at the preset frequency;

[0043] a comparing sub-unit, configured to compare the display interface with the first picture and the second picture in similarity to obtain a comparison result;

[0044] a success determining sub-unit, configured to determine that the display interface corresponds to a successfully installed entertainment host when the comparison result is that the similarity between the display interface and the first picture is greater than or equal to a preset value;

[0045] a failure determining sub-unit, configured to determine that the display interface corresponds to a failed installed entertainment host when the comparison result is that the similarity between the display interface and the second picture is greater than or equal to the preset value.

[0046] Optionally, the comparing sub-unit comprises:

[0047] a first clipping sub-unit, configured to compare the display interface after first clipping with the first picture in similarity;

[0048] a second clipping sub-unit, configured to compare the display interface after second clipping with the second picture in similarity.

[0049] Based on the above software upgrading method, the application further discloses a software upgrading jig for implementing the above method, which comprises a power conversion and distribution module, a video signal switching and collecting module and a mobile storage device interface expansion module.

[0050] The power conversion and distribution module is connected with multiple entertainment hosts through multiple interfaces and controls the power supply of each of the entertainment hosts through multiple channel relays.

[0051] The video signal switching and collecting module displays the installation state of the entertainment hosts in installing the software to be upgraded through a multiple-channel video splitter.

[0052] The mobile storage device interface expansion module integrates multiple interfaces and provides an access channel for a mobile storage device.

[0053] Based on the above software upgrading method, the application further discloses a computer program product, which comprises a computer program, and the computer program is used to implement the above method when executed by a processor.

[0054] Based on the above-mentioned software upgrading method, the application further discloses a storage medium for storing computer program instructions, which can realize the steps of the above-mentioned method when executed by a central processing unit.

[0055] Based on the above-mentioned software upgrading method, the application further discloses an electronic device, characterized in that comprising: a processor, a memory, a system bus;

[0056] The processor and the memory are connected through the system bus;

[0057] The memory is used for storing a program, and the program comprises instructions, which make the processor execute the steps of the above-mentioned method when executed by the processor.

[0058] The application discloses a software upgrading method, device and related product. A software upgrading tool is disclosed, which supports connecting multiple mobile storage devices and an entertainment host group containing multiple entertainment hosts, and can execute an automatic upgrading script in the mobile storage device through the tool to install the software to be upgraded in the multiple entertainment hosts at one time. The tool is convenient to carry and use, and can realize automatic and rapid software upgrading. Meanwhile, the installation status of each entertainment host can be obtained, and the entertainment host with successful installation can be replaced or the entertainment host with failed installation can be re-installed. The method of the application reduces manual intervention, saves labor cost and human error probability, and avoids the strict requirement for plugging and unplugging the power harness when replacing the entertainment host. Efficient and accurate software upgrading is realized, the purpose of cost reduction and efficiency improvement is achieved, and the method is suitable for the scene of frequent software upgrading in the entertainment host. BRIEF DESCRIPTION OF DRAWINGS

[0059] In order to more clearly illustrate the technical solutions in the embodiments of the application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description only constitute the embodiments of the application, and for those skilled in the art, other drawings can be obtained without creative labor based on the provided drawings.

[0060] Figure 1a A flowchart of a software upgrading method disclosed by the embodiments of the application;

[0061] Figure 1b A structural diagram of a software upgrading tool disclosed by the embodiments of the application;

[0062] Figure 1c A diagram of a software interface for controlling the tool disclosed by the embodiments of the application;

[0063] Figure 2Another flowchart of a software upgrading method disclosed by an embodiment of the present application;

[0064] Figure 3a Another structural diagram of a software upgrading device disclosed by an embodiment of the present application;

[0065] Figure 3b Another internal hardware structure diagram of a software upgrading jig disclosed by an embodiment of the present application. DETAILED DESCRIPTION

[0066] The entertainment host is affected by the diverse user needs and numerous function modules, and there is strong coupling and dependency between the software of each function module. Compatibility and functionality issues need to be focused on in the late development and production stage. In actual vehicle production, since the inventory entertainment host is not powered on and cannot be connected to the network, it needs to be activated by the user after being assembled in the real car, and then upgraded, which takes a long time. It is a better choice to repair and upgrade the software of the entertainment host that has not been assembled through a mobile storage device (such as a U disk).

[0067] Most of the current common upgrading methods rely on manual operation. For inventory entertainment hosts, batch upgrading is mainly achieved through a special bench, which has functions such as power simulation, communication, flashing, and diagnosis, but requires manual participation in connection, confirmation, and recording. Specifically, the operator needs to copy the updated software to a U disk, go to the bench to upgrade the entertainment host, and manually confirm the status, connect the device, trigger the flashing, and verify the function. The bench upgrade also needs to connect the screen line, U disk interface line, and power harness. This method has three drawbacks: if the automatic upgrade mode of the bench is selected, the U disk is not removed in time after the upgrade is completed, and the system may misidentify and start the repeated upgrade. If the human interruption occurs during the secondary upgrade, the software copy transmitted to the entertainment host may not be properly removed, long-term occupying the storage space, affecting the normal operation of the entertainment host. If the manual trigger upgrade mode is selected, the host will wait for the upgrade dialog box to pop up after booting, wasting manpower. At the same time, the power harness plug-in requirement is relatively harsh. If the connection is not firm, it is easy to cause poor contact, resulting in upgrade interruption or failure. If the plug-in is too tight, the time consumption of the unplugging process increases, significantly reducing the overall work efficiency. Moreover, the numerous harnesses are tangled together, and multiple benches are placed on the workbench, which can easily cause short circuits during the replacement of the host, causing damage to the equipment.

[0068] The above artificial upgrading method is feasible, but has problems such as low efficiency, poor consistency, high labor cost, risk of missed upgrade or misoperation. In the context of large-scale production, a more efficient, traceable and automated software flashing solution is needed to improve production quality and response speed. In view of this problem, the upgrading tool and process are reformed, a set of portable and easy-to-use jigs is designed to realize fast upgrade to adapt to the frequent upgrade scene of entertainment software: first, the upgrading tool is reformed to upgrade multiple devices at a time. Second, reduce manual intervention, automatically record upgrade results, improve efficiency and facilitate version tracking.

[0069] The technical solutions in the embodiments of the present application will be described clearly and completely below in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative labor fall within the scope of protection of the present application.

[0070] Embodiment one: The present application discloses a software upgrading method.

[0071] Specifically, please refer to Figure 1a The software upgrading method disclosed in the embodiment comprises the following steps:

[0072] Step 101: Connect multiple mobile storage devices and entertainment host groups on the jig.

[0073] The method of the embodiment is applied to a software upgrading jig disclosed in the present application. The jig is box-shaped, and the entertainment host can be placed in the jig when in use. The jig accurately designs multiple sets of power switches, USB interfaces, power interfaces and low voltage differential signaling (LVDS) interfaces for the entertainment host according to the mold of the entertainment host, as well as a set of high-definition multimedia interface (HDMI), universal asynchronous receiver transmitter (UART) interface, USB interface and power interface for the jig.

[0074] As an implementable solution, the interfaces of the jig can be as shown in Figure 1b Figure 1b The yellow rectangle in the upper right corner represents 8 USB interfaces for connecting 8 mobile storage devices on the jig. Figure 1b ​The left green ovals represent eight USB interfaces, and the eight green ovals correspond to the eight yellow rectangles in a one-to-one manner. The entertainment host and the tool are connected through the eight LVDS interfaces represented by the blue rectangles, the eight power switches represented by the purple rectangles are used to control the power supply of the eight entertainment hosts, and the eight power interfaces represented by the red rectangles are used to provide power for the eight entertainment hosts. In addition, the tool obtains power through the 220V power interface, and the tool and the electronic device (such as a computer) can be connected through the HDMI interface. One of the two UART interfaces is used to control the output of the HDMI interface, and the other is used to control the relay to control the power supply of the entertainment host.

[0075] In the method of the embodiment, the software to be upgraded is copied to a mobile storage device in a production environment, and the mobile storage device also stores an automatic upgrade script. After connecting multiple mobile storage devices to the tool, the software of multiple entertainment hosts can be upgraded and installed. As an implementable solution, eight mobile storage devices can be used to install software for a group of eight entertainment hosts, or less than eight entertainment hosts that do not form a group.

[0076] Step 102: controlling the tool to execute the automatic upgrade script to install the software in the entertainment host.

[0077] In the method of the embodiment, the tool can be controlled by an electronic device (such as a computer) to enter an automatic upgrade mode and execute an automatic upgrade script. As an implementable solution, the software interface on the computer for controlling the tool can be as shown in Figure 1c After connecting the entertainment host and the mobile storage device to the tool and turning on the power, the operator's name is input on the software in Figure 1c , the corresponding relay control port number is selected, the "Go" button in the lower right corner is clicked, the text on the button changes to "STOP", and the software installation of the entertainment host begins.

[0078] Step 103: obtaining the installation status of the software installed in the entertainment host.

[0079] In the method of the embodiment, after starting the software installation, the progress of the software installation of each entertainment host, the upgrade status of the entertainment host (i.e., the installation status of the software to be upgraded), and the time of the status change are all displayed in real time on the left side in the software interface shown in Figure 1c . Specifically, Figure 1cThe software shown collects the screens of 8 entertainment hosts in real time, and the screens of the entertainment hosts with serial numbers 1-4 and 5-8 are displayed in the upper right corner of the software interface in a cycle. The serial number of the entertainment host displayed in the upper right corner is highlighted on the left. When the user wants to view the screen of a certain entertainment host, click the corresponding number, and the upper right corner area switches to this column of entertainment hosts. As a realizable scheme, a preset number (such as 4) of entertainment hosts corresponding to the progress can be displayed on the first screen at the same time. The progress corresponding to the remaining entertainment hosts in the entertainment host group is displayed on the second screen at the same time. And the first screen and the second screen are alternately displayed according to the preset frequency.

[0080] In the method of the embodiment, the installation state of each installation result can be determined as installation success or installation failure. As a realizable scheme, the display interface of each entertainment host is obtained at a preset frequency, and the display interface is compared with the first picture and the second picture to obtain a comparison result. The first picture is a preset picture indicating installation success, and the second picture is a preset picture indicating installation failure. When the comparison result is that the similarity between the display interface and the first picture is greater than or equal to a preset value (such as 95%), it is determined that the entertainment host corresponding to the display interface is installed successfully. When the comparison result is that the similarity between the display interface and the second picture is greater than or equal to a preset value, it is determined that the entertainment host corresponding to the display interface is installed unsuccessfully.

[0081] As a realizable scheme, the display interface can be first cropped and compared with the first picture, and the display interface can be second cropped and compared with the second picture, so as to reduce the calculation amount during comparison. The first cropping can be cutting the title and the first row, and the second cropping can be cutting the picture at a specific coordinate in the lower right corner.

[0082] Step 104: in the case where the installation state is installation success, prompting to replace the entertainment host installed successfully.

[0083] In the method of the embodiment, when installation is successful, Figure 1c The "total number of upgrades today" in the lower left corner of the software interface will automatically increase by 1, and the "upgrade success rate" will also change accordingly when installation is successful or unsuccessful. When a certain entertainment host is installed and successful, the VIN code and version number of the entertainment host are saved to the local database, the power supply of the entertainment host is cut off, the color of the text box of the serial number of the entertainment host is changed, and the user can be prompted to replace the machine to continue installation through flashing. When all entertainment hosts are upgraded, click the "STOP" button in the lower right corner to end the upgrade, and the database is automatically saved. The user can view the status of the entertainment host upgraded today from the local database.

[0084] Step 105: in the case that the installation state is installation failure, prompting to perform reinstallation on the entertainment host with installation failure.

[0085] In the method of the embodiment, when an entertainment host fails to install, Figure 1c The software interface shown can prompt the user to perform reinstallation on the entertainment host with installation failure by changing the color of the text box of the entertainment host serial number.

[0086] The method of the embodiment installs the software to be upgraded in multiple entertainment hosts at one time through a software upgrade tool. The tool is convenient to carry and use, and can realize automatic and rapid software upgrade. Meanwhile, the installation state of each entertainment host can be obtained, prompting to replace the entertainment host with installation success or to perform reinstallation on the entertainment host with installation failure. The method of the application reduces manual intervention, saves labor cost and human error probability. The U disk does not need to be unplugged during one batch upgrade, avoiding the strict requirement of plugging and unplugging the power harness when replacing the entertainment host. Automatic, efficient, accurate and rapid software upgrade is realized, achieving the purpose of cost reduction and efficiency improvement, and being suitable for the scene of frequent software upgrade of the entertainment host.

[0087] Embodiment two: another software upgrade method is disclosed in the application, please refer to Figure 2 The method of the embodiment introduces the whole process of software upgrade.

[0088] Step 201: store the software to be upgraded and the automatic upgrade script to 8 U disks.

[0089] Step 202: connect the 8 U disks to the software upgrade tool through the interface, place the 8 entertainment hosts in the tool and connect them to the tool through the interface, and connect the computer to the tool through the interface.

[0090] Step 203: input the operator information in the software for controlling the tool on the computer, and check whether the information meets the requirements. If yes, go to step 204. If not, repeat step 203.

[0091] Step 204: operate the software interface for controlling the tool to start the automatic upgrade mode of the tool. The tool in the mode executes the automatic upgrade script to install the software to be upgraded in the 8 entertainment hosts.

[0092] Step 205: the tool collects the screen pictures of the 8 entertainment hosts in real time, displays the screen pictures with serial numbers 1-4 or 5-8 in the software interface of the computer at the same time, and cycles the display of the screen pictures with serial numbers 1-4 or 5-8 at a preset frequency.

[0093] Step 206: collect the screenshots of the screen pictures of the 8 entertainment hosts at a preset frequency.

[0094] Step 207: comparing the eight screenshots with the first picture representing installation success respectively, judging whether the similarity between the screenshots and the first picture is greater than or equal to a preset value. If yes, go to step 208. If no, go to step 209.

[0095] Step 208: powering off the entertainment host corresponding to the screenshot, prompting that the entertainment host is installed successfully, the entertainment host needs to be replaced, and recording installation success information.

[0096] Step 209: comparing the eight screenshots with the second picture representing installation failure respectively, judging whether the similarity between the screenshots and the second picture is greater than or equal to a preset value. If yes, go to step 210. If no, return to step 206.

[0097] Step 210: prompting that the screenshot corresponding to the entertainment host fails to install, the entertainment host needs to be replaced, and recording installation failure information.

[0098] Based on the software upgrading method disclosed in the above embodiment, the present embodiment discloses a software upgrading device applied to a software upgrading jig. Please refer to Figure 3a , the software upgrading device comprises a connection unit 301, an execution unit 302, an acquisition unit 303 and a prompt unit 304.

[0099] The connection unit 301 is configured to connect a plurality of mobile storage devices and an entertainment host group on the jig. The mobile storage devices store software to be upgraded and an automatic upgrading script. The entertainment host group comprises a plurality of entertainment hosts, and the number of the entertainment hosts in the entertainment host group is less than or equal to the number of the mobile storage devices.

[0100] The execution unit 302 is configured to control the jig to execute the automatic upgrading script to install the software in the entertainment host.

[0101] The acquisition unit 303 is configured to acquire the installation state of the entertainment host installing the software.

[0102] The prompt unit 304 is configured to, in the case that the installation state is installation success, prompt to replace the entertainment host installed successfully.

[0103] The prompt unit 304 is configured to, in the case that the installation state is installation failure, prompt to perform reinstallation on the entertainment host installed unsuccessfully.

[0104] Optionally, the acquisition unit 303 comprises:

[0105] An acquisition subunit is configured to acquire the progress of the installation of the software on each of the entertainment hosts in real time and acquire the installation result of the installation of the software on each of the entertainment hosts.

[0106] A display subunit is configured to cyclically display the progress.

[0107] A determination subunit is configured to determine, according to the installation result, the installation state of each of the entertainment hosts as installation success or installation failure.

[0108] Optionally, the display subunit comprises:

[0109] A first display subunit is configured to simultaneously display the progress corresponding to a preset number of entertainment hosts in the group of entertainment hosts on a first screen.

[0110] A second display subunit is configured to simultaneously display the progress corresponding to the rest of the entertainment hosts in the group of entertainment hosts on a second screen; the rest of the entertainment hosts are the entertainment hosts in the group of entertainment hosts that are not displayed on the first screen; and the first screen and the second screen cannot be simultaneously displayed.

[0111] An alternation subunit is configured to alternately display the first screen and the second screen; and the alternation frequency is a preset frequency.

[0112] Optionally, the determination subunit comprises:

[0113] An interface acquisition subunit is configured to acquire the display interface of each of the entertainment hosts at the preset frequency.

[0114] A comparison subunit is configured to compare the display interface with a first picture and a second picture in terms of similarity to obtain a comparison result.

[0115] A success determination subunit is configured to determine that the installation of the entertainment host corresponding to the display interface is successful when the comparison result is that the similarity between the display interface and the first picture is greater than or equal to a preset value.

[0116] A failure determination subunit is configured to determine that the installation of the entertainment host corresponding to the display interface fails when the comparison result is that the similarity between the display interface and the second picture is greater than or equal to the preset value.

[0117] Optionally, the comparison subunit comprises:

[0118] A first clipping subunit is configured to compare the display interface with the first picture in terms of similarity after first clipping.

[0119] A second clipping subunit is configured to compare the display interface with the second picture in terms of similarity after second clipping.

[0120] Based on the above-mentioned software upgrading method, the application also discloses a software upgrading tool for realizing the above-mentioned method, which comprises a power conversion and distribution module, a video signal switching and collecting module and a mobile storage device interface expansion module.

[0121] The power conversion and distribution module is connected with multiple entertainment hosts through multiple interfaces and controls the power supply of each entertainment host through multiple channel relays.

[0122] The video signal switching and collecting module displays the installation state of the entertainment hosts in which the software to be upgraded is installed through a multi-channel video splitter.

[0123] The mobile storage device interface expansion module integrates multiple interfaces and provides an access channel for the mobile storage device.

[0124] In the tool of the embodiment, as an implementable scheme, the internal hardware of the tool can be as shown in the figure. Figure 3b The power conversion and distribution module provides independent and controllable DC power supply for eight entertainment hosts, and specifically, an industrial power adapter is used to convert 220V AC power supply into 12V DC power supply efficiently. The rated output of the adapter is 12V / 50A, and the total power is up to 600W, which provides sufficient power margin (calculated according to the no-load current of a single entertainment host ≤0.9A) for eight channels. The converted 12V power supply is connected to an 8-channel single-pole double-throw relay module. Each relay (one channel) independently controls the on-off of one power supply, and is connected to the corresponding entertainment host through the interface of the tool, thereby realizing the software-based accurate management of the power supply of each entertainment host.

[0125] Correspondingly, the video signal switching and collecting module expands the single computer display output into eight channels and realizes flexible gating and observation of the display pictures of each entertainment host. Specifically, an 8-in-8-out high-definition video splitter (such as an HDMI or DP splitter) is used as the signal expansion core. The tool of the embodiment communicates with the computer through a serial port (RS232 / RS485) or a USB interface. Eight LVDS signals are connected to eight LVDS-to-HDMI modules respectively, and the converted eight HDMI signals are input to an 8-in-8-out HDMI timing matrix switch. The computer sends instructions through the serial port or the USB port to select the read channel, and reads four channels at a time, thereby outputting the video signals of the entertainment hosts to the PC. The operator can simultaneously see the screens of four entertainment hosts on the computer software and monitor the real-time pictures of any host in time.

[0126] Correspondingly, the mobile storage device interface expansion module provides a dedicated and isolated mobile storage device (such as a U disk) access channel for each entertainment host. Specifically, eight LVDS-USB interface lines can be integrated inside the jig of the embodiment, with the LVDS end connected to the entertainment host and the USB end connected to the U disk. Before the entertainment host is upgraded, the U disk is inserted into the corresponding numbered interface on the jig. The interface forms a point-to-point connection with the entertainment host, effectively avoiding data conflicts and interference that may be caused by multiple entertainment hosts simultaneously accessing a single U disk, and ensuring the reliability and consistency of the upgrade process.

[0127] As an implementable solution, the entire use process of the jig of the embodiment is as follows: the software to be upgraded is stored in eight U disks according to the automatic upgrade script, and the U disks need to be mobile storage devices that can be recognized by the entertainment host. The U disks are inserted into the U disk interfaces on the jig, and the eight entertainment hosts are placed in the jig and connected in alignment. The UART and HDMI interfaces on the jig are connected to a computer, the software for controlling the jig on the computer is opened, the upgrade version, operator information, port number and other contents are confirmed, the power switch of the entertainment host on the jig is operated, and each entertainment host is powered on. Subsequently, the installation is started on the software interface for controlling the jig, and the installation status is observed. When a certain entertainment host is prompted that the installation is successful, the entertainment host is removed, and a new entertainment host to be upgraded is placed in the empty position in the jig. Correspondingly, when a certain entertainment host is prompted that the installation fails, the entertainment host is removed and marked as a failure, and a new entertainment host to be upgraded is placed in the empty position in the jig. After all the entertainment hosts are installed, the installation is ended on the software interface for controlling the jig, and an installation result table is output, and the installation is ended.

[0128] One jig in the embodiment can be operated by one person and supports simultaneous upgrade of eight racks. Only one set of jig, U disk and computer is needed during upgrade, without the need to carry additional tools, saving manpower and being easy to operate, thereby reducing costs and increasing efficiency for enterprises. The wiring between the jig and the entertainment host, computer and U disk is simple, avoiding the possibility of wiring short circuit. After the upgrade is completed, the upgrade result is automatically saved, facilitating later tracking and management, and also supporting prompting the user to replace the host, thereby achieving the purpose of improving work efficiency.

[0129] Based on the above-mentioned software upgrade method, the application further discloses a computer program product, which comprises a computer program, and the computer program is executed by a processor to implement the above-mentioned method.

[0130] Based on the above-mentioned software upgrade method, the application further discloses a storage medium for storing computer program instructions, and the computer program instructions are executed by a central processing unit to implement the steps of the above-mentioned method.

[0131] Based on the above-mentioned software upgrading method, the application further discloses an electronic device, characterized in that comprising a processor, a memory and a system bus.

[0132] The processor and the memory are connected through the system bus.

[0133] The memory is configured to store a program, and the program comprises instructions which, when executed by the processor, cause the processor to perform the steps of the above-mentioned method.

[0134] The embodiments in the specification are described in a progressive manner. For the device disclosed by the embodiments, since it corresponds to the method disclosed by the embodiments, the description is relatively simple, and the relevant part is referred to the method part.

[0135] It should also be noted that, in this document, the relationship terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0136] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of the two. The software module can be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0137] The features described in the embodiments in the specification can be replaced with each other or combined, so that those skilled in the art can implement or use the application.

[0138] The above description of the disclosed embodiments enables those skilled in the art to implement or use the application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the application. Therefore, the application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method of software upgrade, characterized by, The method is applied to a software upgrading tool, and the method comprises the following steps: connecting a plurality of mobile storage devices and an entertainment host group on the tool; the mobile storage devices store software to be upgraded and an automatic upgrading script; the entertainment host group comprises a plurality of entertainment hosts, and the number of the entertainment hosts in the entertainment host group is less than or equal to the number of the mobile storage devices; controlling the tool to execute the automatic upgrading script to install the software in the entertainment hosts; obtaining the installation states of the entertainment hosts in installing the software; in the case that the installation state is installation success, prompting to replace the entertainment host with installation success; in the case that the installation state is installation failure, prompting to perform reinstallation on the entertainment host with installation failure.

2. The method of claim 1, wherein, The step of obtaining the installation states of the entertainment hosts in installing the software comprises the following steps: obtaining the progress of each entertainment host in installing the software and the installation result of each entertainment host in installing the software in real time; cyclically displaying each progress; determining each installation state as installation success or installation failure according to each installation result.

3. The method of claim 2, wherein, The step of cyclically displaying each progress comprises the following steps: simultaneously displaying the progress corresponding to a preset number of entertainment hosts in the entertainment host group on a first screen; simultaneously displaying the progress corresponding to the rest of the entertainment hosts in the entertainment host group on a second screen; the rest of the entertainment hosts are the entertainment hosts in the entertainment host group that are not displayed on the first screen; the first screen and the second screen cannot be simultaneously displayed; alternately displaying the first screen and the second screen; the alternation frequency is a preset frequency.

4. The method of claim 3, wherein, The step of determining each installation state as installation success or installation failure according to each installation result comprises the following steps: obtaining the display interface of each entertainment host at the preset frequency; comparing the display interface with a first picture and a second picture to obtain a comparison result; in the case that the comparison result is that the similarity between the display interface and the first picture is greater than or equal to a preset value, determining that the entertainment host corresponding to the display interface is installed successfully; in the case that the comparison result is that the similarity between the display interface and the second picture is greater than or equal to the preset value, determining that the entertainment host corresponding to the display interface is installed unsuccessfully.

5. The method of claim 4, wherein, The step of comparing the display interface with a first picture and a second picture comprises the following steps: comparing the display interface after first cutting with the first picture; comparing the display interface after second cutting with the second picture.

6. An apparatus for software upgrade, the apparatus comprising: The device is applied to a software upgrading tool, and the device comprises a connecting unit, an executing unit, an obtaining unit and a prompting unit; the connecting unit is used for connecting a plurality of mobile storage devices and an entertainment host group on the tool; the mobile storage devices store software to be upgraded and an automatic upgrading script; the entertainment host group comprises a plurality of entertainment hosts, and the number of the entertainment hosts in the entertainment host group is less than or equal to the number of the mobile storage devices; the executing unit is used for controlling the tool to execute the automatic upgrading script to install the software in the entertainment hosts; The acquisition unit is configured to acquire an installation state of the software installed by the entertainment host; The prompting unit is configured to prompt replacement of the entertainment host with a successful installation in a case where the installation state is successful installation. The prompting unit is configured to prompt reinstallation of the entertainment host with a failed installation in a case where the installation state is failed installation.

7. A software upgrade tool, comprising: The tool for implementing the method of any one of claims 1-5 comprises a power conversion and distribution module, a video signal switching and acquisition module, and a mobile storage device interface expansion module. The power conversion and distribution module connects multiple entertainment hosts through multiple interfaces and controls power supply of each of the entertainment hosts through multiple channel relays. The video signal switching and acquisition module displays the installation state of the entertainment host installing the software to be upgraded through a multi-channel video splitter. The mobile storage device interface expansion module integrates multiple interfaces to provide an access channel for a mobile storage device.

8. A computer program product, characterised in that, The computer program product comprises a computer program, which, when executed by a processor, is configured to implement the method of any one of claims 1-5.

9. A storage medium, characterized by A computer program product for storing computer program instructions, which, when executed by a central processing unit, can implement the steps of the method of any one of claims 1-5.

10. An electronic device, comprising: Comprise: a processor, a memory, a system bus; The processor and the memory are connected through the system bus; The memory is configured to store a program, and the program comprises instructions which, when executed by the processor, cause the processor to execute the steps of the method of any one of claims 1-5.