Search

CN-121985324-A - Method for upgrading vehicle-mounted central control screen equipment, vehicle-mounted central control screen equipment and vehicle

CN121985324ACN 121985324 ACN121985324 ACN 121985324ACN-121985324-A

Abstract

The invention provides a method for upgrading vehicle-mounted central control screen equipment, the vehicle-mounted central control screen equipment and a vehicle, wherein the method comprises the steps that the vehicle-mounted central control screen equipment serving as central equipment obtains an OTA upgrade package, opens a WIFI hotspot, establishes a SOCKET server, opens Bluetooth, switches to a broadcasting state, packages version information of the OTA upgrade package, a WIFI SSID and a WIFI password into a first message, and sends the first message through Bluetooth broadcasting; the method comprises the steps of receiving and analyzing a first message by a plurality of second vehicle-mounted central control screen devices serving as peripheral devices, connecting a WIFI of the peripheral devices to a central device through a received WIFI SSID and a WIFI password if OTA version information of the peripheral devices is lower than the received OTA version information, and connecting the WIFI to a SOCKET server side of the central device when the WIFI is successfully connected, and sequentially transmitting OTA upgrade packages of target versions to the plurality of peripheral devices connected to the SOCKET server side by the central device in step S5. By utilizing the technical scheme, batch upgrading of the vehicle-mounted central control screen equipment can be realized through broadcasting under the conditions of saving manpower and various resources.

Inventors

  • CHEN HENG
  • CAI QINGHUI
  • CAI YANPING
  • LI QI

Assignees

  • 厦门雅迅智联科技股份有限公司

Dates

Publication Date
20260505
Application Date
20241031

Claims (10)

  1. 1. The method for upgrading the vehicle-mounted central control screen device is characterized by comprising the following steps of: Step S1, a first vehicle-mounted central control screen device selected as Bluetooth broadcasting central equipment obtains an OTA upgrade package of a target version, opens a WIFI hotspot of the first vehicle-mounted central control screen device, and establishes a SOCKET server with a port of a default 8081 port; step S2, the center device opens Bluetooth of the center device, switches to a broadcasting state, encapsulates first OTA version information of the OTA upgrade package, a first WIFI SSID of the center device and a first WIFI password into a first message, and sends the first message through Bluetooth broadcasting; step S3, a plurality of second in-vehicle central control screen devices serving as peripheral devices receive the first message, analyze the first message, and acquire the first OTA version information, the first WIFI SSID and the first WIFI password in the first message; Step S4, the peripheral device compares the first OTA version information with its own second OTA version information, if the second OTA version information is lower than the first OTA version information, connecting its own WIFI to the central device through the first WIFISSID and the first WIFI password, and when the WIFI connection is successful, connecting to the SOCKET server of the central device through the 8081 port; And S5, the central equipment sequentially transmits the OTA upgrade packet of the target version to a plurality of peripheral equipment connected to the SOCKET server.
  2. 2. The method according to claim 1, wherein the step S5 further comprises: The central equipment receives the SOCKET pools sent by the peripheral equipment, sequentially carries out session judgment, stores the connected session, judges whether the current connection quantity exceeds a preset connection quantity threshold, refuses the connection request if yes, and sequentially transmits the OTA upgrade packets of the target version aiming at each SOCKET pool if not.
  3. 3. The method according to claim 1, further comprising, after said step S5: And S6, the peripheral equipment receives the OTA upgrade package of the target version, and when the OTA upgrade package is received, the connection with the central equipment is disconnected, the OTA upgrade package is used for entering an upgrade process, and the equipment is restarted after the upgrade.
  4. 4. A method according to claim 3, further comprising, after said step S6: Starting up the peripheral equipment which is finished being upgraded, continuously receiving the first message after the peripheral equipment is started up in a scanning state, analyzing the first message, and obtaining the first OTA version information, the first WIFI SSID and the first WIFI password in the first message; the peripheral equipment which has completed upgrading compares the first OTA version information with own third OTA version information, and if the third OTA version information is matched with the first OTA version information, the peripheral equipment is switched into a second central equipment of Bluetooth broadcasting; The second center device opens a WIFI hotspot of the second center device, establishes a SOCKET server with a port of a default 8081 port, opens Bluetooth of the second center device, switches to a broadcasting state, encapsulates OTA version information of the second center device, a second WIFI SSID of the second center device and a second WIFI password into a second message, sends the second message through Bluetooth broadcasting, and receives an upgrading response sent by peripheral equipment receiving the second message.
  5. 5. The method of claim 4, wherein the second central device actively transmits the bluetooth broadcast for a predetermined period of time, and then determines whether an upgrade response of the peripheral device is received within the predetermined period of time, if so, determines itself to be a central device state, otherwise, stops the current central device state, transitions to a normal device state, and ends the upgrade procedure.
  6. 6. The method of claim 4, wherein the center device transmits the first message in such a manner that 37 bytes are transmitted at an average time interval of 20 ms.
  7. 7. The method according to claim 1, wherein in the step S1, the first in-vehicle central control screen device is an in-vehicle central control screen device with the strongest Bluetooth antenna electromagnetic wave signal, which is located in a range of a preset N meters in a signal center area of all devices in a plurality of in-vehicle central control screen devices to be upgraded, wherein N is less than or equal to 10.
  8. 8. The method of claim 1, wherein the target version is the latest version.
  9. 9. An in-vehicle center screen device upgraded using the method of in-vehicle center screen device upgrade of any one of claims 1-8.
  10. 10. A vehicle comprising the in-vehicle center control screen apparatus according to claim 9.

Description

Method for upgrading vehicle-mounted central control screen equipment, vehicle-mounted central control screen equipment and vehicle Technical Field The invention relates to an upgrading technology of vehicle-mounted central control screen equipment, in particular to a method for upgrading vehicle-mounted central control screen equipment, the vehicle-mounted central control screen equipment and a vehicle. Background With the evolution of intelligent automobiles, the functions of the on-board central control screen are more and more. Along with the superposition of the functions of the vehicle-mounted central control screen, the situation that the functions of the system may need to be updated at any time occurs. At present, the upgrading mode of the vehicle-mounted central control screen mainly comprises a traditional OTA upgrading mode and a U disk upgrading mode, but the two modes have respective defects when upgrading in batches. Specifically: The traditional OTA upgrading mode is characterized in that the central control screen equipment is connected with a network and automatically downloads and installs an upgrading packet from a cloud platform server, so that the upgrading mode is the simplest upgrading mode, a vehicle owner does not need to perform any operation and only needs to wait for upgrading to be completed; The upgrade mode of the USB flash disk is characterized in that the upgrade mode is realized by copying the downloaded upgrade files into a USB flash disk catalog, inserting the USB flash disk copied with the upgrade files into a USB interface of a vehicle-mounted central control screen, and clicking an upgrade button in the upgrade interface of the USB flash disk of the central control screen, so that upgrade can be waited for, and the upgrade mode has the defects that the operation of manually inserting the USB flash disk is needed, and when the batch upgrade is carried out, the upgrade of the USB flash disk is needed to be manually inserted one by one, which is very time-consuming and consumes more labor cost. Disclosure of Invention The embodiment of the invention provides a method for upgrading vehicle-mounted central control screen equipment, the vehicle-mounted central control screen equipment and a vehicle, and the batch upgrading of the vehicle-mounted central control screen equipment is realized through batch broadcasting so as to save labor cost, external equipment resources and cloud platform server resources. In order to achieve the above object, in one aspect, a method for upgrading a vehicle-mounted central control screen device is provided, including: Step S1, a first vehicle-mounted central control screen device selected as Bluetooth broadcasting central equipment obtains an OTA upgrade package of a target version, opens a WIFI hotspot of the first vehicle-mounted central control screen device, and establishes a SOCKET server with a port of a default 8081 port; step S2, the center device opens Bluetooth of the center device, switches to a broadcasting state, encapsulates first OTA version information of the OTA upgrade package, a first WIFI SSID of the center device and a first WIFI password into a first message, and sends the first message through Bluetooth broadcasting; step S3, a plurality of second in-vehicle central control screen devices serving as peripheral devices receive the first message, analyze the first message, and acquire the first OTA version information, the first WIFI SSID and the first WIFI password in the first message; Step S4, the peripheral equipment compares the first OTA version information with the second OTA version information of the peripheral equipment, if the second OTA version information is lower than the first OTA version information, the peripheral equipment connects the WIFI of the peripheral equipment to the central equipment through the first WIFI SSID and the first WIFI password, and when the WIFI connection is successful, the peripheral equipment is connected to a SOCKET server of the central equipment through an 8081 port; And S5, the central equipment sequentially transmits the OTA upgrade packet of the target version to a plurality of peripheral equipment connected to the SOCKET server. Preferably, the method, wherein the step S5 further includes: The central equipment receives the SOCKET pools sent by the peripheral equipment, sequentially carries out session judgment, stores the connected session, judges whether the current connection quantity exceeds a preset connection quantity threshold, refuses the connection request if yes, and sequentially transmits the OTA upgrade packets of the target version aiming at each SOCKET pool if not. Preferably, the method further includes, after the step S5: And S6, the peripheral equipment receives the OTA upgrade package of the target version, and when the OTA upgrade package is received, the connection with the central equipment is disconnected, the OTA upgrade package is used for entering