CN115525310A - Software upgrading method, device, equipment and storage medium - Google Patents

Software upgrading method, device, equipment and storage medium Download PDF

Info

Publication number
CN115525310A
CN115525310A CN202211203990.XA CN202211203990A CN115525310A CN 115525310 A CN115525310 A CN 115525310A CN 202211203990 A CN202211203990 A CN 202211203990A CN 115525310 A CN115525310 A CN 115525310A
Authority
CN
China
Prior art keywords
microprocessor
software
computer terminal
tool
upgrading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211203990.XA
Other languages
Chinese (zh)
Inventor
杨林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Changan New Energy Automobile Technology Co Ltd
Original Assignee
Chongqing Changan New Energy Automobile Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Changan New Energy Automobile Technology Co Ltd filed Critical Chongqing Changan New Energy Automobile Technology Co Ltd
Priority to CN202211203990.XA priority Critical patent/CN115525310A/en
Publication of CN115525310A publication Critical patent/CN115525310A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a software upgrading method, a device, equipment and a storage medium, a wireless network WIFI communication private protocol is carried out through a microprocessor MPU and a computer terminal, an MPU software upgrading package is uploaded through an FTP service on the basis of a general data protocol TCP, and a self-development tool on a computer terminal PC sends related instructions such as a software installation instruction and the like, so that the aim of upgrading the microprocessor MPU software based on the wireless network WIFI is finally achieved. When the microprocessor MPU software is the microcontroller MCU software, the microcontroller MCU software can be upgraded based on the wireless network WIFI.

Description

Software upgrading method, device, equipment and storage medium
Technical Field
The present application relates to the field of vehicle software technologies, and in particular, to a method, an apparatus, a device, and a storage medium for upgrading software.
Background
With the rapid development of electric vehicles and the demand of people for more humanization and intellectualization of electric vehicles, vehicle controllers are increasing, the traditional distributed electronic and electrical appliance architecture cannot meet the requirement of efficient interaction and processing among the controllers, and the planning and development of vehicle domain controllers are gradually becoming the mainstream of the electronic and electrical appliance architecture of the electric vehicles. The intelligent Vehicle domain controller SVDC is used as a traditional Vehicle Controller Unit (VCU), gateway (GW), and Vehicle networking system (TBOX) highly integrated domain controller, is already applied to related electric Vehicle projects, and is greatly improved in related aspects such as information interaction, big data processing, vehicle performance and the like compared with the traditional distributed electronic and electrical appliance architecture.
The intelligent vehicle domain controller SVDC mainly comprises two parts, namely a Microcontroller Unit (MCU) and a Microprocessor Unit (MPU) software, wherein the MCU software is mainly responsible for functions of a vehicle controller VCU and a gateway GW, and the MPU software is mainly responsible for functions of a vehicle networking system TBOX. The upgrading method of the microcontroller MCU software mainly uses a vehicle diagnostic interface (On-Board Diagnostics, hereinafter abbreviated as OBD) to connect with a Controller Area Network (CAN) tool connection line, and uses a USB (Universal Serial Bus, hereinafter abbreviated as USB) line to connect with a computer for upgrading. The MPU software of the microprocessor can only be upgraded by a computer through a USB interface of the connection domain controller, once the vehicle is assembled, if the MPU software of the microprocessor needs to be upgraded, the MPU software of the microprocessor needs to be upgraded after the vehicle is disassembled, so that the integrity of the vehicle is greatly damaged, and a large amount of time is wasted.
Disclosure of Invention
In view of the above-mentioned shortcomings in the prior art, the present application provides a software upgrading method, device, apparatus and storage medium to solve the above technical problems.
The application provides a software upgrading method, which comprises the following steps:
the method comprises the following steps that a computer terminal selects a wireless network hotspot of a microprocessor, initiates a communication connection request to the microprocessor, and establishes communication connection with the microprocessor based on the wireless network hotspot;
the computer terminal sends a transmission control protocol instruction to the microprocessor through a first tool, informs the microprocessor to open a file transmission protocol service, and receives an address, a port, an account and a password sent by the microprocessor;
the computer terminal uploads the microprocessor software upgrading package to a microprocessor software upgrading specified directory through a second tool by using a file transfer protocol service;
the computer terminal sends a software installation instruction to the microprocessor through a third tool, and informs the microprocessor to install the microprocessor software upgrade package from a microprocessor software upgrade specified directory;
and the computer terminal sends a microprocessor software version information inquiry instruction to the microprocessor through a fourth tool, receives the microprocessor software version information fed back by the microprocessor, and determines whether the microprocessor finishes software upgrading according to the microprocessor software version information fed back by the microprocessor.
In an embodiment of the application, after the computer terminal sends the tcp command to the microprocessor through the first tool and does not receive the address, the port, the account and the password sent by the microprocessor, the computer terminal resends the tcp command to the microprocessor through the first tool; and (c) a second step of,
when the computer terminal uploads the microprocessor software upgrading package to the microprocessor software upgrading specified directory through the second tool by the file transfer protocol service, if uploading failure occurs, the computer terminal uploads the microprocessor software upgrading package to the microprocessor software upgrading specified directory through the second tool again by the file transfer protocol service; and (c) a second step of,
after the computer terminal sends a software installation instruction to the microprocessor through a third tool, receiving the installation state and the installation progress fed back by the microprocessor; and when the computer terminal receives the installation failure state fed back by the microprocessor, the computer terminal resends the software installation instruction to the microprocessor through a third tool.
In an embodiment of the present application, the process of determining whether the microprocessor completes the software upgrade according to the microprocessor software version information fed back by the microprocessor includes:
if the microprocessor software version information fed back by the microprocessor is the upgraded version, the computer terminal determines that the microprocessor finishes software upgrading;
and if the microprocessor software version information fed back by the microprocessor is the version before upgrading, the computer terminal determines that the microprocessor does not finish software upgrading, and the computer terminal resends a transmission control protocol instruction to the microprocessor through a first tool and informs the microprocessor to open a file transmission protocol service.
The application also provides a software upgrading method, which comprises the following steps:
the method comprises the steps that a microprocessor opens a wireless network hotspot, receives a communication connection request initiated by a computer terminal, and establishes communication connection with the computer terminal based on the wireless network hotspot and the communication connection request;
the microprocessor receives and responds to a transmission control protocol command sent by the computer terminal, opens a file transmission protocol service, and sends an address, a port, an account and a password to the computer terminal;
the microprocessor judges a software installation instruction sent by the computer terminal and determines whether the current environment is suitable for executing the software installation instruction; when the current environment is suitable for executing the software installation instruction, the installation progress and the installation state of the microprocessor software upgrade package are fed back to the computer terminal; when the current environment is not suitable for executing the software installation instruction, the microprocessor receives the software installation instruction sent by the computer terminal again and judges again;
after the microprocessor successfully installs the microprocessor software upgrading package, restarting and opening the wireless network hotspot;
the microprocessor receives and responds to a microprocessor software version information inquiry instruction sent by the computer terminal, and the microprocessor software version information is fed back to the computer terminal, so that the computer terminal determines whether the microprocessor finishes software upgrading according to the microprocessor software version information.
The application also provides a software upgrading method, which comprises the following steps:
the microprocessor opens a wireless network hotspot;
a computer terminal selects a wireless network hotspot of a microprocessor and initiates a communication connection request to the microprocessor;
the microprocessor receives a communication connection request initiated by a computer terminal, and establishes communication connection between the microprocessor and the computer terminal based on the communication connection request and the wireless network hotspot;
the computer terminal sends a transmission control protocol instruction to the microprocessor through a first tool and informs the microprocessor to open a file transmission protocol service;
the microprocessor receives and responds to a transmission control protocol command sent by the computer terminal, opens a file transmission protocol service, and sends an address, a port, an account and a password to the computer terminal;
the computer terminal uploads the microprocessor software upgrading package to a microprocessor software upgrading specified directory through a second tool by using a file transfer protocol service; if the uploading fails, the computer terminal uploads the microprocessor software upgrading package to the microprocessor software upgrading appointed directory again through the second tool by the file transfer protocol service;
the computer terminal sends a software installation instruction to the microprocessor through a third tool, and informs the microprocessor to install the microprocessor software upgrade package from a microprocessor software upgrade specified directory;
the microprocessor judges a software installation instruction sent by the computer terminal and determines whether the current environment is suitable for executing the software installation instruction; when the current environment is suitable for executing the software installation instruction, the installation progress and the installation state of the microprocessor software upgrade package are fed back to the computer terminal; when the current environment is not suitable for executing the software installation instruction, the microprocessor receives the software installation instruction sent by the computer terminal again and judges again;
after the microprocessor successfully installs the microprocessor software upgrade package, restarting and opening the wireless network hotspot;
the computer terminal sends a microprocessor software version information query instruction to the microprocessor through the fourth tool;
the microprocessor receives and responds to a microprocessor software version information inquiry instruction sent by the computer terminal, and microprocessor software version information is fed back to the computer terminal;
and the computer terminal determines whether the microprocessor finishes software upgrading according to the microprocessor software version information fed back by the microprocessor.
The application also provides a software upgrading device, the device including: the computer terminal is used for selecting a wireless network hotspot of the microprocessor, initiating a communication connection request to the microprocessor and establishing communication connection with the microprocessor based on the wireless network hotspot; and (c) a second step of,
sending a transmission control protocol instruction to the microprocessor through a first tool, informing the microprocessor to open a file transmission protocol service, and receiving an address, a port, an account and a password sent by the microprocessor; and the number of the first and second groups,
uploading the microprocessor software upgrading package to a microprocessor software upgrading specified directory through a second tool by using a file transfer protocol service; and the number of the first and second groups,
sending a software installation instruction to the microprocessor through a third tool, and informing the microprocessor to install the microprocessor software upgrading package from a microprocessor software upgrading specified directory; and (c) a second step of,
and sending a microprocessor software version information query instruction to the microprocessor through a fourth tool, receiving microprocessor software version information fed back by the microprocessor, and determining whether the microprocessor finishes software upgrading according to the microprocessor software version information fed back by the microprocessor.
The application also provides a software upgrading device, the device including: the microprocessor is used for opening a wireless network hotspot, receiving a communication connection request initiated by a computer terminal, and establishing communication connection with the computer terminal based on the wireless network hotspot and the communication connection request; and the number of the first and second groups,
receiving and responding to a transmission control protocol instruction sent by the computer terminal, opening a file transmission protocol service, and sending an address, a port, an account and a password to the computer terminal; and the number of the first and second groups,
judging a software installation instruction sent by the computer terminal, and determining whether the current environment is suitable for executing the software installation instruction; when the current environment is suitable for executing the software installation instruction, the installation progress and the installation state of the microprocessor software upgrade package are fed back to the computer terminal; when the current environment is not suitable for executing the software installation instruction, the microprocessor receives the software installation instruction sent by the computer terminal again and judges again; and the number of the first and second groups,
after the microprocessor software upgrade package is successfully installed, restarting and opening the wireless network hotspot; and the number of the first and second groups,
and receiving and responding to a microprocessor software version information inquiry instruction sent by the computer terminal, and feeding back microprocessor software version information to the computer terminal so that the computer terminal determines whether the microprocessor finishes software upgrading according to the microprocessor software version information.
The application also provides a software upgrading device, which comprises: a computer terminal and a microprocessor;
the microprocessor is used for opening a wireless network hotspot, receiving a communication connection request initiated by a computer terminal, and establishing communication connection with the computer terminal based on the wireless network hotspot and the communication connection request; receiving and responding to a transmission control protocol command sent by the computer terminal, opening a file transmission protocol service, and sending an address, a port, an account and a password to the computer terminal; judging a software installation instruction sent by the computer terminal, and determining whether the current environment is suitable for executing the software installation instruction; when the current environment is suitable for executing the software installation instruction, the installation progress and the installation state of the microprocessor software upgrade package are fed back to the computer terminal; when the current environment is not suitable for executing the software installation instruction, the microprocessor receives the software installation instruction sent by the computer terminal again and judges again; after the microprocessor software upgrading package is installed successfully, restarting and opening the wireless network hotspot; receiving and responding to a microprocessor software version information inquiry instruction sent by the computer terminal, and feeding back microprocessor software version information to the computer terminal;
the computer terminal is used for selecting a wireless network hotspot of the microprocessor, initiating a communication connection request to the microprocessor and establishing communication connection with the microprocessor based on the wireless network hotspot; sending a transmission control protocol instruction to the microprocessor through a first tool, informing the microprocessor to open a file transmission protocol service, and receiving an address, a port, an account and a password sent by the microprocessor; uploading the microprocessor software upgrading package to a microprocessor software upgrading specified directory through a second tool by using a file transfer protocol service; sending a software installation instruction to the microprocessor through a third tool, and informing the microprocessor to install the microprocessor software upgrade package from a microprocessor software upgrade specified directory; and sending a microprocessor software version information query instruction to the microprocessor through a fourth tool, receiving microprocessor software version information fed back by the microprocessor, and determining whether the microprocessor finishes software upgrading according to the microprocessor software version information fed back by the microprocessor.
The present application further provides a software upgrading apparatus, the apparatus comprising:
one or more processors;
storage means for storing one or more programs which, when executed by the one or more processors, cause the apparatus to carry out a software upgrade method as claimed in any one of the preceding claims.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform a software upgrade method as claimed in any one of the above.
As described above, the present application provides a software upgrading method, apparatus, device and storage medium, which have the following beneficial effects:
according to the method, firstly, a wireless network hotspot is opened by a microprocessor, then the wireless network hotspot of the microprocessor is selected by a computer terminal, and a communication connection request is initiated to the microprocessor; the microprocessor receives a communication connection request initiated by the computer terminal, and establishes communication connection between the microprocessor and the computer terminal based on the communication connection request and the wireless network hotspot; the computer terminal sends a transmission control protocol instruction to the microprocessor through the first tool and informs the microprocessor to open a file transmission protocol service; the microprocessor receives and responds to a transmission control protocol command sent by the computer terminal, opens a file transmission protocol service, and sends an address, a port, an account number and a password to the computer terminal; the computer terminal uploads the microprocessor software upgrading packet to a microprocessor software upgrading specified directory through a second tool by using a file transfer protocol service; if the uploading fails, the computer terminal uploads the microprocessor software upgrading package to the microprocessor software upgrading designated directory again by the file transfer protocol service through the second tool; the computer terminal sends a software installation instruction to the microprocessor through a third tool, and informs the microprocessor to install a microprocessor software upgrade package from a microprocessor software upgrade specified directory; the microprocessor judges a software installation instruction sent by the computer terminal and determines whether the current environment is suitable for executing the software installation instruction; when the current environment is suitable for executing the software installation instruction, the installation progress and the installation state of the microprocessor software upgrade package are fed back to the computer terminal; when the current environment is not suitable for executing the software installation instruction, the microprocessor receives the software installation instruction sent by the computer terminal again and judges again; after the microprocessor successfully installs the microprocessor software upgrading package, restarting and opening the wireless network hotspot; the computer terminal sends a microprocessor software version information query instruction to the microprocessor through the fourth tool; the microprocessor receives and responds to a microprocessor software version information inquiry instruction sent by the computer terminal, and the microprocessor software version information is fed back to the computer terminal; and the computer terminal determines whether the microprocessor finishes software upgrading according to the microprocessor software version information fed back by the microprocessor. Therefore, the private Protocol of wireless network WIFI communication can be carried out through the microprocessor MPU and a Computer terminal (PC for short), the MPU software upgrading packet is uploaded through an FTP (File Transfer Protocol, FTP for short) service on the basis of a general data Protocol TCP (Transmission Control Protocol), and a self-development tool on the PC of the Computer terminal sends related instructions such as software installation instructions and the like, so that the aim of upgrading the microprocessor MPU software based on the wireless network WIFI is finally achieved. When microprocessor MPU software is microcontroller MCU software, this application also can be based on wireless network WIFI come the upgrading microcontroller MCU software.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and, together with the description, serve to explain the principles of the application. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
FIG. 1 is a schematic diagram of an exemplary system architecture to which aspects of one or more embodiments of the present application may be applied;
fig. 2 is a schematic flowchart of a software upgrading method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a software upgrading method according to another embodiment of the present application;
FIG. 4 is a flowchart illustrating a software upgrading method according to another embodiment of the present application;
fig. 5 is a schematic hardware structure diagram of a software upgrading apparatus according to an embodiment of the present application;
fig. 6 is a hardware configuration diagram of a software upgrading device suitable for implementing one or more embodiments of the present application.
Detailed Description
The embodiments of the present application will be described with reference to the accompanying drawings and preferred embodiments, and other advantages and effects of the present application will be readily apparent to those skilled in the art from the disclosure in the specification. The present application is capable of other and different embodiments and its several details are capable of modifications and/or changes in various respects, all without departing from the spirit of the present application. It should be understood that the preferred embodiments are for purposes of illustration only and are not intended to limit the scope of the present disclosure.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present application, and the drawings only show the components related to the present application and are not drawn according to the number, shape and size of the components in actual implementation, and the type, number and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
"and/or" in the present application describes an association relationship of associated objects, and indicates that three relationships may exist, for example, a and/or B, and may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The plural in the present application means two or more.
In the description of the present application, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance, nor order.
In addition, in the embodiments of the present application, the word "exemplary" is used to mean serving as an example, instance, or illustration. Any embodiment or implementation described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments or implementations. Rather, the term using examples is intended to present concepts in a concrete fashion.
In the following description, numerous details are set forth to provide a more thorough explanation of the embodiments of the present application, however, it will be apparent to one skilled in the art that the embodiments of the present application may be practiced without these specific details, and in other embodiments, well-known structures and devices are shown in block diagram form rather than in detail in order to avoid obscuring the embodiments of the present application.
Fig. 1 shows a schematic diagram of an exemplary system architecture to which the solution in one or more embodiments of the present application may be applied. As shown in fig. 1, system architecture 100 may include terminal device 110, network 120, and server 130. The terminal device 110 may include various electronic devices such as a smart phone, a tablet computer, a notebook computer, and a desktop computer. The server 130 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing a cloud computing service. Network 120 may be any type of communications medium capable of providing a communications link between terminal device 110 and server 130, such as a wired communications link or a wireless communications link.
The system architecture in the embodiments of the present application may have any number of terminal devices, networks, and servers, according to implementation needs. For example, the server 130 may be a server group composed of a plurality of server devices. In addition, the technical solution provided in the embodiment of the present application may be applied to the terminal device 110, or may be applied to the server 130, or may be implemented by both the terminal device 110 and the server 130, which is not particularly limited in this application.
In an embodiment of the present application, the terminal device 110 or the server 130 of the present application may first enable the microprocessor MPU to open the wireless network WIFI hotspot, and then the computer terminal PC selects the wireless network WIFI hotspot of the microprocessor MPU to initiate a communication connection request to the microprocessor MPU; the microprocessor MPU receives a communication connection request initiated by the computer terminal PC, and establishes communication connection between the microprocessor MPU and the computer terminal PC based on the communication connection request and the wireless network WIFI hotspot; the computer terminal PC sends a TCP instruction to the MPU through a first tool, and informs the MPU to open the FTP service; the MPU receives and responds to a TCP instruction sent by the PC, opens the FTP service and sends an address, a port, an account and a password to the PC; the computer terminal PC uploads the MPU software upgrading package of the microprocessor to the MPU software upgrading specified directory by the FTP service through a second tool; if the uploading fails, the PC uploads the MPU software upgrading package of the microprocessor to the MPU software upgrading specified directory again by the FTP service through the second tool; the computer terminal PC sends a software installation instruction to the MPU through a third tool, and informs the MPU of installing a MPU software upgrading package from the MPU software upgrading specified directory; the microprocessor MPU judges a software installation instruction sent by the computer terminal PC and determines whether the current environment is suitable for executing the software installation instruction; when the current environment is suitable for executing the software installation instruction, the installation progress and the installation state of the MPU software upgrade package of the microprocessor are fed back to the PC; when the current environment is not suitable for executing the software installation instruction, the microprocessor MPU receives the software installation instruction sent by the computer terminal PC again and judges again; after the MPU successfully installs the MPU software upgrade package, restarting and opening a wireless network WIFI hotspot; the computer terminal PC sends an instruction for inquiring the version information of the MPU software of the microprocessor to the MPU through a fourth tool; the microprocessor MPU receives and responds to an instruction for inquiring the software version information of the microprocessor MPU sent by the computer terminal PC, and feeds back the software version information of the microprocessor MPU to the computer terminal PC; and the PC of the computer terminal determines whether the MPU of the microprocessor finishes software upgrading according to the software version information of the MPU of the microprocessor fed back by the MPU of the microprocessor. By using the terminal device 110 or the server 130 to execute the software upgrading method, a wireless network WIFI communication private protocol can be carried out through the microprocessor MPU and the computer terminal PC, an MPU software upgrading package is uploaded through an FTP service on the basis of a general data protocol TCP, and a self-development tool on the computer terminal PC sends related instructions such as a software installation instruction, so that the goal of upgrading the microprocessor MPU software based on the wireless network WIFI is finally realized. When the microprocessor MPU software is the microcontroller MCU software, the microcontroller MCU software can also be upgraded based on the wireless network WIFI.
The above section introduces the content of an exemplary system architecture to which the technical solution of the present application is applied, and then the software upgrading method of the present application is continuously introduced.
Fig. 2 shows a flowchart of a software upgrading method provided in an embodiment of the present application. Specifically, in an exemplary embodiment, as shown in fig. 2, the present embodiment provides a software upgrading method, which includes the following steps:
s210, selecting a wireless network WIFI hotspot of a microprocessor MPU by a computer terminal, initiating a communication connection request to the microprocessor MPU, and establishing communication connection with the microprocessor MPU based on the wireless network WIFI hotspot;
s220, the computer terminal sends a TCP instruction to the MPU through a first tool, informs the MPU to open an FTP service, and receives an address, a port, an account and a password sent by the MPU;
s230, the computer terminal uploads the MPU software upgrading package of the microprocessor to a specified directory of MPU software upgrading by FTP service through a second tool;
s240, the computer terminal sends a software installation instruction to the MPU through a third tool, and informs the MPU to install the MPU software upgrading package from the MPU software upgrading specified directory;
and S250, the computer terminal sends an instruction for inquiring the software version information of the MPU to the MPU through a fourth tool, receives the software version information of the MPU fed back by the MPU, and determines whether the MPU finishes software upgrading according to the software version information of the MPU fed back by the MPU.
Therefore, in the embodiment, a private protocol of wireless network WIFI communication can be carried out through the microprocessor MPU and the computer terminal PC, a general data protocol TCP is used as a basis, a software upgrading package of the microprocessor MPU is uploaded through an FTP service, and a self-development tool on the computer terminal PC sends related instructions such as a software installation instruction, so that the aim of upgrading the software of the microprocessor MPU based on the wireless network WIFI is finally achieved. When the microprocessor MPU software is the microcontroller MCU software, the microcontroller MCU software can also be upgraded based on the wireless network WIFI.
According to the above description, in an exemplary embodiment, after the computer terminal sends a TCP command to the MPU via a first tool and does not receive an address, a port, an account number and a password sent by the MPU, the computer terminal resends the TCP command to the MPU via the first tool. And/or when the computer terminal uploads the MPU software upgrading package of the microprocessor to the MPU software upgrading specified directory by the FTP service through the second tool, if the uploading fails, the computer terminal uploads the MPU software upgrading package of the microprocessor to the MPU software upgrading specified directory again by the FTP service through the second tool. And/or after the computer terminal sends a software installation instruction to the MPU through a third tool, receiving the installation state and the installation progress fed back by the MPU; and when the computer terminal receives the installation failure state fed back by the MPU, the computer terminal retransmits a software installation instruction to the MPU through a third tool.
According to the above description, in an exemplary embodiment, the process of determining whether the microprocessor MPU completes the software upgrade according to the microprocessor MPU software version information fed back by the microprocessor MPU includes: if the version information of the MPU software of the microprocessor fed back by the MPU is the upgraded version, the computer terminal determines that the MPU finishes the software upgrade; and if the microprocessor MPU software version information fed back by the microprocessor MPU is the version before upgrading, the computer terminal determines that the microprocessor MPU does not finish software upgrading, and the computer terminal resends a TCP instruction to the microprocessor MPU through a first tool to inform the microprocessor MPU to open the FTP service.
As shown in fig. 3, in another exemplary embodiment of the present application, this embodiment further provides a software upgrading method, including the following steps:
s310, the microprocessor MPU opens a wireless network WIFI hotspot, receives a communication connection request initiated by a computer terminal, and establishes communication connection with the computer terminal based on the wireless network WIFI hotspot and the communication connection request;
s320, the MPU receives and responds to the TCP instruction sent by the computer terminal, opens the FTP service, and sends an address, a port, an account and a password to the computer terminal;
s330, the MPU judges the software installation instruction sent by the computer terminal and determines whether the current environment is suitable for executing the software installation instruction; when the current environment is suitable for executing the software installation instruction, the installation progress and the installation state of the MPU software upgrade package of the microprocessor are fed back to the computer terminal; when the current environment is not suitable for executing the software installation instruction, the MPU receives the software installation instruction sent by the computer terminal again and judges again;
s340, after the microprocessor MPU successfully installs the microprocessor MPU software upgrading package, restarting and opening a wireless network WIFI hotspot;
and S350, the MPU receives and responds to the MPU software version information inquiry command sent by the computer terminal, and feeds back the MPU software version information to the computer terminal, so that the computer terminal determines whether the MPU finishes software upgrading according to the MPU software version information.
Therefore, in the embodiment, a wireless network WIFI communication private protocol can be carried out through the microprocessor MPU and the computer terminal PC, a general data protocol TCP is taken as a basis, the software upgrading package of the microprocessor MPU is uploaded through the FTP service, and a self-development tool on the computer terminal PC sends related instructions such as a software installation instruction, so that the aim of upgrading the software of the microprocessor MPU based on the wireless network WIFI is finally achieved. When the microprocessor MPU software is the microcontroller MCU software, the microcontroller MCU software can also be upgraded based on the wireless network WIFI.
As shown in fig. 4, the present application further provides a software upgrading method, including the following steps:
the microprocessor MPU opens a wireless network WIFI hotspot;
the method comprises the following steps that a computer terminal selects a wireless network WIFI hotspot of a microprocessor MPU and initiates a communication connection request to the microprocessor MPU;
the microprocessor MPU receives a communication connection request initiated by a computer terminal, and establishes communication connection between the microprocessor MPU and the computer terminal based on the communication connection request and the wireless network WIFI hotspot;
the computer terminal sends a TCP instruction to the MPU through a first tool and informs the MPU to open the FTP service;
the microprocessor MPU receives and responds to a TCP instruction sent by the computer terminal, opens FTP service and sends an address, a port, an account and a password to the computer terminal;
the computer terminal uploads the MPU software upgrading packet of the microprocessor to a specified directory of MPU software upgrading by FTP service through a second tool; if the uploading fails, the computer terminal uploads the MPU software upgrading package of the microprocessor to the MPU software upgrading specified directory again by the FTP service through the second tool;
the computer terminal sends a software installation instruction to the MPU through a third tool, and informs the MPU of installing the MPU software upgrading package from the MPU software upgrading specified directory;
the microprocessor MPU judges a software installation instruction sent by the computer terminal and determines whether the current environment is suitable for executing the software installation instruction; when the current environment is suitable for executing the software installation instruction, the installation progress and the installation state of the MPU software upgrade package of the microprocessor are fed back to the computer terminal; when the current environment is not suitable for executing the software installation instruction, the MPU receives the software installation instruction sent by the computer terminal again and judges again;
after the MPU is successfully installed with the MPU software upgrade package, restarting and opening a wireless network WIFI hotspot;
the computer terminal sends an instruction for inquiring the version information of the MPU software of the microprocessor to the MPU through a fourth tool;
the microprocessor MPU receives and responds to a microprocessor MPU software version information inquiry instruction sent by the computer terminal, and the microprocessor MPU software version information is fed back to the computer terminal;
and the computer terminal determines whether the MPU finishes software upgrading according to the MPU software version information fed back by the MPU.
According to the above description, the specific process of software upgrade in this embodiment includes the following steps:
and (1) after the SVDC of the intelligent whole vehicle domain controller is powered on, the MPU end of the microprocessor actively opens the wireless network WIFI function. In addition, the embodiment can also be extended to issue a command of opening a wireless network WIFI through a platform TSP (Telematics Service Provider, TSP for short), and an On-Board Diagnostics (OBD) diagnostic command of a diagnostic instrument sets a wireless network WIFI function of opening a wireless network WIFI or an interface virtual key or a physical key of a controller such as a vehicle machine and an instrument, and sets an Access Point (AP) mode, sets an account, a password, and a security encryption type, when the wireless network WIFI is closed by default at ordinary times, the Access Point (AP) mode is entered. The set account Number and the set password may be based on a Vehicle Identification Number (VIN) and a Vehicle Identification Number (TUID), and the wireless network WIFI type is a hidden type, so that the security of the wireless network WIFI type is ensured.
And (2) selecting a wireless network WIFI hotspot of the microprocessor MPU on the computer terminal PC and establishing connection, entering the step (3) if the wireless network WIFI is normally connected, and re-executing the step (1) if the wireless network WIFI hotspot of the microprocessor MPU cannot be connected or seen.
And (3) sending a TCP (Transmission Control Protocol, TCP for short) instruction on the PC through a tool to inform the MPU of opening the FTP SERVER.
Step (4), the MPU returns the result of opening the FTP service, and if the FTP service is successfully opened, the MPU sends an address, a port, an account number and a password to the PC; and (4) if the opening fails, re-executing the step (3).
And (5) uploading the MPU software upgrading package of the microprocessor to a specified directory of MPU software upgrading by using FTP service through a tool on the PC, and if the file uploading fails, re-executing the step (5).
And (6) sending a software installation instruction to inform the microprocessor MPU of installing the software upgrading package through a tool on the PC.
Step (7), the MPU feeds back whether the installation instruction can be executed currently, and if the returned result is successful, the step (8) is executed; and (5) if the returned result fails, re-executing the step (6).
Step (8), the microprocessor MPU feeds back the installation state and the installation progress to the computer terminal PC periodically (once in N seconds), and finally sends the installation progress of 100% when the installation is finished, and step (9) is executed; if the installation fails in midway, the installation failure is fed back to the computer terminal PC, and the computer terminal PC executes the step (6) again.
And (9) automatically restarting the microprocessor MPU immediately after the microprocessor MPU is successfully installed, and executing the step (1) to open the wireless network WIFI.
And (10) executing the wireless network WIFI hotspot connected with the MPU in the step (2) by the PC, and sending an instruction for inquiring the software version information of the MPU to the MPU by the PC through a tool.
And (11) feeding back the MPU software version information of the microprocessor to a computer terminal PC by the MPU, if the MPU software version of the microprocessor is the upgraded version, successfully upgrading the MPU software of the microprocessor by the wireless network WIFI, and if the MPU software version of the microprocessor is the pre-upgraded version, re-executing the step (3).
Therefore, in the embodiment, a private protocol of wireless network WIFI communication can be carried out through the microprocessor MPU and the computer terminal PC, a general data protocol TCP is used as a basis, a software upgrading package of the microprocessor MPU is uploaded through an FTP service, and a self-development tool on the computer terminal PC sends related instructions such as a software installation instruction, so that the aim of upgrading the software of the microprocessor MPU based on the wireless network WIFI is finally achieved. When the microprocessor MPU software is the microcontroller MCU software, the microcontroller MCU software can also be upgraded based on the wireless network WIFI.
In an exemplary embodiment of the present application, the embodiment further provides a software upgrading apparatus, including: the computer terminal is used for selecting a wireless network WIFI hotspot of the microprocessor MPU, initiating a communication connection request to the microprocessor MPU, and establishing communication connection with the microprocessor MPU based on the wireless network WIFI hotspot; the method comprises the steps that a TCP instruction is sent to a microprocessor MPU through a first tool, the microprocessor MPU is informed to open an FTP service, and an address, a port, an account and a password sent by the microprocessor MPU are received; uploading the MPU software upgrading package of the microprocessor to a specified directory of MPU software upgrading by using FTP service through a second tool; sending a software installation instruction to the MPU through a third tool, and informing the MPU of installing the MPU software upgrading package from the MPU software upgrading specified directory; and sending an instruction for inquiring the software version information of the MPU to the MPU through a fourth tool, receiving the software version information of the MPU fed back by the MPU, and determining whether the MPU finishes software upgrading according to the software version information of the MPU fed back by the MPU.
Therefore, in the embodiment, a wireless network WIFI communication private protocol can be carried out through the microprocessor MPU and the computer terminal PC, a general data protocol TCP is taken as a basis, the software upgrading package of the microprocessor MPU is uploaded through the FTP service, and a self-development tool on the computer terminal PC sends related instructions such as a software installation instruction, so that the aim of upgrading the software of the microprocessor MPU based on the wireless network WIFI is finally achieved. When the microprocessor MPU software is the microcontroller MCU software, the microcontroller MCU software can also be upgraded based on the wireless network WIFI.
It should be noted that the software upgrading apparatus provided in the foregoing embodiment and the software upgrading method provided in the embodiment corresponding to fig. 2 belong to the same concept, and the specific manner in which each module executes operations has been described in detail in the method embodiment corresponding to fig. 2, and is not described again here. In practical applications, the software upgrading apparatus provided in the foregoing embodiment may distribute the functions through different functional modules as needed, that is, divide the internal structure of the apparatus into different functional modules to complete all or part of the functions described above, which is not limited herein.
In an exemplary embodiment of the present application, the embodiment further provides a software upgrading apparatus, including: the microprocessor MPU is used for opening a wireless network WIFI hotspot, receiving a communication connection request initiated by a computer terminal, and establishing communication connection with the computer terminal based on the wireless network WIFI hotspot and the communication connection request; receiving and responding to a TCP instruction sent by the computer terminal, opening the FTP service, and sending an address, a port, an account and a password to the computer terminal; judging a software installation instruction sent by the computer terminal, and determining whether the current environment is suitable for executing the software installation instruction; when the current environment is suitable for executing the software installation instruction, the installation progress and the installation state of the MPU software upgrade package of the microprocessor are fed back to the computer terminal; when the current environment is not suitable for executing the software installation instruction, the MPU receives the software installation instruction sent by the computer terminal again and judges again; after the MPU software upgrade package of the microprocessor is successfully installed, restarting and opening a wireless network WIFI hotspot; and receiving and responding to a microprocessor MPU software version information inquiry instruction sent by the computer terminal, and feeding back the microprocessor MPU software version information to the computer terminal so that the computer terminal determines whether the microprocessor MPU finishes software upgrading according to the microprocessor MPU software version information.
Therefore, in the embodiment, a private protocol of wireless network WIFI communication can be carried out through the microprocessor MPU and the computer terminal PC, a general data protocol TCP is used as a basis, a software upgrading package of the microprocessor MPU is uploaded through an FTP service, and a self-development tool on the computer terminal PC sends related instructions such as a software installation instruction, so that the aim of upgrading the software of the microprocessor MPU based on the wireless network WIFI is finally achieved. When the microprocessor MPU software is the microcontroller MCU software, the microcontroller MCU software can also be upgraded based on the wireless network WIFI.
It should be noted that the software upgrading apparatus provided in the foregoing embodiment and the software upgrading method provided in the embodiment corresponding to fig. 3 belong to the same concept, and specific ways of executing operations by the modules have been described in detail in the method embodiment corresponding to fig. 3, and are not described again here. In practical applications, the software upgrading apparatus provided in the foregoing embodiment may distribute the functions to different functional modules according to needs, that is, divide the internal structure of the apparatus into different functional modules to complete all or part of the functions described above, which is not limited herein.
As shown in fig. 5, the present application further provides a software upgrading apparatus, which includes: a computer terminal 510 and a microprocessor 520.
The microprocessor MPU is used for opening a wireless network WIFI hotspot, receiving a communication connection request initiated by a computer terminal, and establishing communication connection with the computer terminal based on the wireless network WIFI hotspot and the communication connection request; receiving and responding to a TCP instruction sent by the computer terminal, opening an FTP service, and sending an address, a port, an account and a password to the computer terminal; judging a software installation instruction sent by the computer terminal, and determining whether the current environment is suitable for executing the software installation instruction; when the current environment is suitable for executing the software installation instruction, the installation progress and the installation state of the MPU software upgrade package of the microprocessor are fed back to the computer terminal; when the current environment is not suitable for executing the software installation instruction, the MPU receives the software installation instruction sent by the computer terminal again and judges again; after the MPU software upgrade package of the microprocessor is successfully installed, restarting and opening a wireless network WIFI hotspot; receiving and responding to a microprocessor MPU software version information inquiry instruction sent by the computer terminal, and feeding back the microprocessor MPU software version information to the computer terminal;
the computer terminal is used for selecting a wireless network WIFI hotspot of the microprocessor MPU, initiating a communication connection request to the microprocessor MPU, and establishing communication connection with the microprocessor MPU based on the wireless network WIFI hotspot; the method comprises the steps that a TCP instruction is sent to a microprocessor MPU through a first tool, the microprocessor MPU is informed to open an FTP service, and an address, a port, an account and a password sent by the microprocessor MPU are received; uploading the MPU software upgrading package to a specified directory of the MPU software upgrading of the microprocessor by using FTP service through a second tool; and sending a software installation instruction to the MPU through a third tool, and informing the MPU of installing the MPU software upgrading package from the MPU software upgrading specified directory; and sending an instruction for inquiring the software version information of the MPU to the MPU through a fourth tool, receiving the software version information of the MPU fed back by the MPU, and determining whether the MPU finishes software upgrading according to the software version information of the MPU fed back by the MPU.
Therefore, in the embodiment, a wireless network WIFI communication private protocol can be carried out through the microprocessor MPU and the computer terminal PC, a general data protocol TCP is taken as a basis, the software upgrading package of the microprocessor MPU is uploaded through the FTP service, and a self-development tool on the computer terminal PC sends related instructions such as a software installation instruction, so that the aim of upgrading the software of the microprocessor MPU based on the wireless network WIFI is finally achieved. When the microprocessor MPU software is the microcontroller MCU software, the microcontroller MCU software can also be upgraded based on the wireless network WIFI.
It should be noted that the software upgrading apparatus provided in the foregoing embodiment and the software upgrading method provided in the embodiment corresponding to fig. 4 belong to the same concept, and the specific manner in which each module executes operations has been described in detail in the method embodiment corresponding to fig. 4, and is not described again here. In practical applications, the software upgrading apparatus provided in the foregoing embodiment may distribute the functions to different functional modules according to needs, that is, divide the internal structure of the apparatus into different functional modules to complete all or part of the functions described above, which is not limited herein.
An embodiment of the present application further provides a software upgrading apparatus, including: one or more processors; a storage device, configured to store one or more programs, which when executed by the one or more processors, cause the software upgrading apparatus to implement the software upgrading method provided in the above-described embodiments.
Fig. 6 shows a schematic structural diagram of a computer device suitable for implementing the software upgrading device of the embodiment of the present application. It should be noted that the computer system 1000 of the software upgrading device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the use range of the embodiments of the present application.
As shown in fig. 6, the computer system 1000 includes a Central Processing Unit (CPU) 1001 that can perform various appropriate actions and processes, such as performing the methods described in the above embodiments, according to a program stored in a Read-Only Memory (ROM) 1002 or a program loaded from a storage portion 1008 into a Random Access Memory (RAM) 1003. In the RAM1003, various programs and data necessary for system operation are also stored. The CPU 1001, ROM 1002, and RAM1003 are connected to each other via a bus 1004. An Input/Output (I/O) interface 1005 is also connected to the bus 1004.
The following components are connected to the I/O interface 1005: an input section 1006 including a keyboard, a mouse, and the like; an output section 1007 including a Display panel such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage portion 1008 including a hard disk and the like; and a communication section 1009 including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 1009 performs communication processing via a network such as the internet. The driver 1010 is also connected to the I/O interface 1005 as necessary. A removable medium 1011 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1010 as necessary, so that a computer program read out therefrom is mounted into the storage section 1008 as necessary.
In particular, according to embodiments of the application, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising a computer program for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from the network through the communication part 1009 and/or installed from the removable medium 1011. When the computer program is executed by a Central Processing Unit (CPU) 1001, various functions defined in the apparatus of the present application are executed.
It should be noted that the computer readable medium shown in the embodiments of the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable storage medium may be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer-readable signal medium may comprise a propagated data signal with a computer-readable computer program embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. Each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
Another aspect of the present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to execute the software upgrade method as described above. The computer-readable storage medium may be included in the software upgrading device described in the above embodiments, or may exist separately without being assembled into the software upgrading device.
Another aspect of the application also provides a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the software upgrading method provided in the above embodiments.
The above-described embodiments are merely illustrative of the principles and utilities of the present application and are not intended to limit the application. Any person skilled in the art can modify or change the above-described embodiments without departing from the spirit and scope of the present application. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical concepts disclosed in the present application shall be covered by the claims of the present application.

Claims (10)

1. A method of upgrading software, the method comprising the steps of:
the method comprises the following steps that a computer terminal selects a wireless network hotspot of a microprocessor, initiates a communication connection request to the microprocessor, and establishes communication connection with the microprocessor based on the wireless network hotspot;
the computer terminal sends a transmission control protocol instruction to the microprocessor through a first tool, informs the microprocessor to open a file transmission protocol service, and receives an address, a port, an account and a password sent by the microprocessor;
the computer terminal uploads the microprocessor software upgrading packet to a microprocessor software upgrading specified directory through a second tool by using a file transfer protocol service;
the computer terminal sends a software installation instruction to the microprocessor through a third tool, and informs the microprocessor to install the microprocessor software upgrading package from a microprocessor software upgrading specified directory;
and the computer terminal sends a microprocessor software version information inquiry instruction to the microprocessor through a fourth tool, receives the microprocessor software version information fed back by the microprocessor, and determines whether the microprocessor finishes software upgrading according to the microprocessor software version information fed back by the microprocessor.
2. The software upgrading method according to claim 1, wherein when the computer terminal does not receive the address, the port, the account and the password sent by the microprocessor after sending the transmission control protocol command to the microprocessor through the first tool, the computer terminal resends the transmission control protocol command to the microprocessor through the first tool; and (c) a second step of,
when the computer terminal uploads the microprocessor software upgrading package to the microprocessor software upgrading specified directory through the second tool by the file transfer protocol service, if uploading failure occurs, the computer terminal uploads the microprocessor software upgrading package to the microprocessor software upgrading specified directory through the second tool again by the file transfer protocol service; and the number of the first and second groups,
after the computer terminal sends a software installation instruction to the microprocessor through a third tool, receiving the installation state and the installation progress fed back by the microprocessor; and when the computer terminal receives the installation failure state fed back by the microprocessor, the computer terminal retransmits a software installation instruction to the microprocessor through a third tool.
3. The software upgrading method according to claim 1 or 2, wherein the process of determining whether the microprocessor completes the software upgrading according to the microprocessor software version information fed back by the microprocessor comprises the following steps:
if the microprocessor software version information fed back by the microprocessor is the upgraded version, the computer terminal determines that the microprocessor finishes software upgrading;
and if the microprocessor software version information fed back by the microprocessor is the version before upgrading, the computer terminal determines that the microprocessor does not finish software upgrading, and the computer terminal resends a transmission control protocol instruction to the microprocessor through a first tool and informs the microprocessor to open a file transmission protocol service.
4. A method of upgrading software, the method comprising the steps of:
the method comprises the steps that a microprocessor opens a wireless network hotspot, receives a communication connection request initiated by a computer terminal, and establishes communication connection with the computer terminal based on the wireless network hotspot and the communication connection request;
the microprocessor receives and responds to a transmission control protocol command sent by the computer terminal, opens a file transmission protocol service, and sends an address, a port, an account and a password to the computer terminal;
the microprocessor judges a software installation instruction sent by the computer terminal and determines whether the current environment is suitable for executing the software installation instruction; when the current environment is suitable for executing the software installation instruction, the installation progress and the installation state of the microprocessor software upgrade package are fed back to the computer terminal; when the current environment is not suitable for executing the software installation instruction, the microprocessor receives the software installation instruction sent by the computer terminal again and judges again;
after the microprocessor successfully installs the microprocessor software upgrading package, restarting and opening the wireless network hotspot;
the microprocessor receives and responds to a microprocessor software version information inquiry instruction sent by the computer terminal, and the microprocessor software version information is fed back to the computer terminal, so that the computer terminal determines whether the microprocessor finishes software upgrading according to the microprocessor software version information.
5. A method of upgrading software, the method comprising the steps of:
the microprocessor opens a wireless network hotspot;
a computer terminal selects a wireless network hotspot of a microprocessor and initiates a communication connection request to the microprocessor;
the microprocessor receives a communication connection request initiated by a computer terminal, and establishes communication connection between the microprocessor and the computer terminal based on the communication connection request and the wireless network hotspot;
the computer terminal sends a transmission control protocol instruction to the microprocessor through a first tool and informs the microprocessor to open a file transmission protocol service;
the microprocessor receives and responds to a transmission control protocol command sent by the computer terminal, opens a file transmission protocol service, and sends an address, a port, an account and a password to the computer terminal;
the computer terminal uploads the microprocessor software upgrading package to a microprocessor software upgrading specified directory through a second tool by using a file transfer protocol service; if the uploading fails, the computer terminal uploads the microprocessor software upgrading package to the microprocessor software upgrading appointed directory again through the second tool by the file transfer protocol service;
the computer terminal sends a software installation instruction to the microprocessor through a third tool, and informs the microprocessor to install the microprocessor software upgrade package from a microprocessor software upgrade specified directory;
the microprocessor judges a software installation instruction sent by the computer terminal and determines whether the current environment is suitable for executing the software installation instruction; when the current environment is suitable for executing the software installation instruction, the installation progress and the installation state of the microprocessor software upgrade package are fed back to the computer terminal; when the current environment is not suitable for executing the software installation instruction, the microprocessor receives the software installation instruction sent by the computer terminal again and judges again;
after the microprocessor successfully installs the microprocessor software upgrade package, restarting and opening the wireless network hotspot;
the computer terminal sends a microprocessor software version information query instruction to the microprocessor through the fourth tool;
the microprocessor receives and responds to a microprocessor software version information inquiry instruction sent by the computer terminal, and microprocessor software version information is fed back to the computer terminal;
and the computer terminal determines whether the microprocessor finishes software upgrading according to the microprocessor software version information fed back by the microprocessor.
6. A software upgrading apparatus, comprising: the computer terminal is used for selecting a wireless network hotspot of the microprocessor, initiating a communication connection request to the microprocessor and establishing communication connection with the microprocessor based on the wireless network hotspot; and the number of the first and second groups,
sending a transmission control protocol instruction to the microprocessor through a first tool, informing the microprocessor to open a file transmission protocol service, and receiving an address, a port, an account and a password sent by the microprocessor; and the number of the first and second groups,
uploading the microprocessor software upgrading package to a microprocessor software upgrading specified directory through a second tool by using a file transfer protocol service; and (c) a second step of,
sending a software installation instruction to the microprocessor through a third tool, and informing the microprocessor to install the microprocessor software upgrade package from a microprocessor software upgrade specified directory; and the number of the first and second groups,
and sending a microprocessor software version information inquiry instruction to the microprocessor through a fourth tool, receiving microprocessor software version information fed back by the microprocessor, and determining whether the microprocessor finishes software upgrading according to the microprocessor software version information fed back by the microprocessor.
7. A software upgrading apparatus, comprising: the microprocessor is used for opening a wireless network hotspot, receiving a communication connection request initiated by a computer terminal, and establishing communication connection with the computer terminal based on the wireless network hotspot and the communication connection request; and the number of the first and second groups,
receiving and responding to a transmission control protocol instruction sent by the computer terminal, opening a file transmission protocol service, and sending an address, a port, an account and a password to the computer terminal; and the number of the first and second groups,
judging a software installation instruction sent by the computer terminal, and determining whether the current environment is suitable for executing the software installation instruction; when the current environment is suitable for executing the software installation instruction, the installation progress and the installation state of the microprocessor software upgrade package are fed back to the computer terminal; when the current environment is not suitable for executing the software installation instruction, the microprocessor receives the software installation instruction sent by the computer terminal again and judges again; and the number of the first and second groups,
after the microprocessor software upgrading package is successfully installed, restarting and opening a wireless network hotspot; and the number of the first and second groups,
and receiving and responding to a microprocessor software version information inquiry instruction sent by the computer terminal, and feeding back microprocessor software version information to the computer terminal so that the computer terminal determines whether the microprocessor finishes software upgrading according to the microprocessor software version information.
8. A software upgrading apparatus, comprising: a computer terminal and a microprocessor;
the microprocessor is used for opening a wireless network hotspot, receiving a communication connection request initiated by a computer terminal, and establishing communication connection with the computer terminal based on the wireless network hotspot and the communication connection request; receiving and responding to a transmission control protocol command sent by the computer terminal, opening a file transmission protocol service, and sending an address, a port, an account and a password to the computer terminal; judging a software installation instruction sent by the computer terminal, and determining whether the current environment is suitable for executing the software installation instruction; when the current environment is suitable for executing the software installation instruction, the installation progress and the installation state of the microprocessor software upgrade package are fed back to the computer terminal; when the current environment is not suitable for executing the software installation instruction, the microprocessor receives the software installation instruction sent by the computer terminal again and judges again; after the microprocessor software upgrading package is installed successfully, restarting and opening the wireless network hotspot; receiving and responding to a microprocessor software version information inquiry instruction sent by the computer terminal, and feeding back microprocessor software version information to the computer terminal;
the computer terminal is used for selecting a wireless network hotspot of the microprocessor, initiating a communication connection request to the microprocessor and establishing communication connection with the microprocessor based on the wireless network hotspot; sending a transmission control protocol instruction to the microprocessor through a first tool, informing the microprocessor to open a file transmission protocol service, and receiving an address, a port, an account and a password sent by the microprocessor; uploading the microprocessor software upgrading package to a microprocessor software upgrading specified directory through a second tool by using a file transfer protocol service; sending a software installation instruction to the microprocessor through a third tool, and informing the microprocessor to install the microprocessor software upgrade package from a microprocessor software upgrade specified directory; and sending a microprocessor software version information inquiry instruction to the microprocessor through a fourth tool, receiving microprocessor software version information fed back by the microprocessor, and determining whether the microprocessor finishes software upgrading according to the microprocessor software version information fed back by the microprocessor.
9. A software upgrading apparatus, characterized in that the apparatus comprises:
one or more processors;
storage means for storing one or more programs which, when executed by the one or more processors, cause the apparatus to carry out the software upgrade method as claimed in any one of claims 1 to 5.
10. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to execute the software upgrade method according to any one of claims 1 to 5.
CN202211203990.XA 2022-09-29 2022-09-29 Software upgrading method, device, equipment and storage medium Pending CN115525310A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211203990.XA CN115525310A (en) 2022-09-29 2022-09-29 Software upgrading method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211203990.XA CN115525310A (en) 2022-09-29 2022-09-29 Software upgrading method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115525310A true CN115525310A (en) 2022-12-27

Family

ID=84700445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211203990.XA Pending CN115525310A (en) 2022-09-29 2022-09-29 Software upgrading method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115525310A (en)

Similar Documents

Publication Publication Date Title
CN110032382A (en) A kind of vehicle electronic control unit upgrade method, system and terminal device
CN107979493B (en) Platform is construction method, server and the storage medium for servicing PAAS container platform
CN109936587B (en) Control method, control device, electronic apparatus, and storage medium
JP2000289583A (en) Method and system for executing vehicle diagnosis
CN112738805A (en) Device control method and apparatus, storage medium, and electronic device
CN112463190A (en) Vehicle upgrading method and device
US11792865B2 (en) Device binding method and apparatus, and electronic device
CN107332867A (en) The more new system and update method of mobile unit, the mobile unit
CN105593866A (en) Terminal authentication and registration system, method for authenticating and registering terminal, and storage medium
JP2018517982A (en) Automatic recharge system, method and server
CN115150379B (en) Vehicle remote control system, method, electronic device, and readable storage medium
US20240069906A1 (en) Server, software update system, distribution method, and non-transitory storage medium
CN114124917A (en) Remote upgrading method, equipment, system and medium for ground lock firmware
CN115220762A (en) Vehicle-end firmware upgrading method, device, equipment and medium of digital key system
CN115525310A (en) Software upgrading method, device, equipment and storage medium
CN109981778B (en) Method, device, equipment and storage medium for realizing service of content distribution network
CN115484158B (en) Communication configuration method and device of vehicle-mounted equipment based on eSIM card
CN115904447A (en) Version updating system, method, electronic equipment and storage medium
CN110851853A (en) Data isolation method and device, computer equipment and storage medium
CN115756544A (en) Equipment updating method and device, electronic equipment and storage medium
CN116366275A (en) Safety verification method, device, equipment and storage medium based on vehicle controller
CN107766066B (en) Method for updating slave module firmware
CN115079669A (en) Vehicle diagnosis method and system, electronic device and readable storage medium
CN114422236A (en) Intelligent device access method and device and electronic device
CN109656535B (en) Voice skill off-line development method based on browser

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination