CN107748669B - Software upgrading device - Google Patents

Software upgrading device Download PDF

Info

Publication number
CN107748669B
CN107748669B CN201711289647.0A CN201711289647A CN107748669B CN 107748669 B CN107748669 B CN 107748669B CN 201711289647 A CN201711289647 A CN 201711289647A CN 107748669 B CN107748669 B CN 107748669B
Authority
CN
China
Prior art keywords
upgrading
software
signal
intelligent equipment
interface
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.)
Active
Application number
CN201711289647.0A
Other languages
Chinese (zh)
Other versions
CN107748669A (en
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.)
Guangdong Spark Technology Co ltd
Original Assignee
Guangdong Spark 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 Guangdong Spark Technology Co ltd filed Critical Guangdong Spark Technology Co ltd
Priority to CN201711289647.0A priority Critical patent/CN107748669B/en
Publication of CN107748669A publication Critical patent/CN107748669A/en
Application granted granted Critical
Publication of CN107748669B publication Critical patent/CN107748669B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The invention discloses a software upgrading device which comprises an upgrading master control, an upgrading mode selector and a signal transceiver, wherein the upgrading mode selector and the signal transceiver are connected with the upgrading master control, an upgrading program is stored in the upgrading master control, and a plurality of communication protocols are stored in the upgrading mode selector. A software upgrading method is based on intelligent equipment and the software upgrading device, the intelligent equipment is provided with an upgrading interface and a signal transceiving module, and the software upgrading method comprises the following steps: 1) connecting; 2) acquiring pairing information; 3) a handshake protocol; 4) and (5) upgrading. The invention has the beneficial effects that: the transmission speed can be effectively improved, and the upgrading efficiency is improved; the upgrading cost of the intelligent equipment is effectively reduced; the system can also support various upgrading modes, software upgrading of various intelligent devices is supported, and the system is wide in application range and high in practicability.

Description

Software upgrading device
Technical Field
The invention relates to the technical field of software upgrading, in particular to a software upgrading device.
Background
With the gradual diversification of functions of intelligent device products and the trend of miniaturization and complication of the forms of products and elements, the update iteration speed of intelligent device software is increased, but various limitations exist in the upgrading modes of the intelligent devices in the market at present, for example, a bonding wire needs to be detached for upgrading, or a fixed upgrade contact needs to be left on the intelligent device, and the upgrading modes either affect the iteration of the product software or cause the waste of resources.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a software upgrading apparatus and method, which can effectively increase the transmission speed and upgrade efficiency; the upgrading cost of the intelligent equipment is effectively reduced; the system can also support various upgrading modes, software upgrading of various intelligent devices is supported, and the system is wide in application range and high in practicability.
In order to solve the technical problems, the technical scheme of the invention is as follows:
a software upgrading device comprises an upgrading main control, an upgrading mode selector and a signal transceiver, wherein the upgrading mode selector and the signal transceiver are connected with the upgrading main control, an upgrading program is stored in the upgrading main control, and a plurality of communication protocols are stored in the upgrading mode selector.
Preferably, the signal transceiver is an optical signal transceiver, an acoustic signal transceiver or a magnetic signal transceiver.
Preferably, the upgrade mode selector stores a UART communication protocol, an SPI communication protocol, an IIC communication protocol, and a CAN communication protocol.
As a preferred scheme, the software upgrading device further comprises a probe used for being connected with the intelligent device, and the probe is electrically connected with the upgrading main control unit.
A software upgrading method is based on intelligent equipment and the software upgrading device, wherein the intelligent equipment is provided with an upgrading interface and a signal transceiving module, and the software upgrading method comprises the following steps:
1) connecting: the software upgrading device is connected with the intelligent equipment through a probe insertion upgrading interface;
2) acquiring pairing information: the upgrading master control sends a pairing instruction to the signal transceiver, the signal transceiver converts the pairing instruction into a signal and transmits the signal to the intelligent equipment, and the intelligent equipment converts the pairing information into a signal through the signal transceiver module and feeds the signal back to the software upgrading device;
3) handshake protocol: the upgrading master control combines an upgrading instruction according to the pairing information, then the upgrading master control signal transceiver converts the upgrading instruction into a signal and sends the signal to the intelligent equipment, the intelligent equipment enters an upgrading mode immediately, and then the intelligent equipment transmits feedback information of the intelligent equipment entering the upgrading mode to the software upgrading device;
4) upgrading: and after receiving the feedback information, the software upgrading device controls the signal transceiver to convert the upgrading program into a signal and transmit the signal to the intelligent equipment, and the intelligent equipment upgrades the software after receiving the upgrading program.
Preferably, the signal is an optical signal, an acoustic signal or a magnetic signal.
As a preferred scheme, the upgrade interface is any interface in the intelligent device.
As a preferred scheme, the upgrade interface is a UART interface, an SPI interface, an IIC interface, or a CAN bus interface, and the pairing information in step 2) includes upgrade interface type information.
As a preferred scheme, the upgrade instruction includes a communication protocol, and the upgrade master controller selects a matched communication protocol in the upgrade mode selector according to the upgrade interface type information to combine with other upgrade information into the upgrade instruction.
As a preferable scheme, after the software upgrade is completed in step 4), the intelligent device feeds back upgrade result information to the software upgrade apparatus, and at the same time, the intelligent device is automatically restarted and runs with upgraded software.
The invention has the beneficial effects that:
1. the software upgrading device sends the upgrading program to the intelligent equipment through the optical, acoustic or magnetic signal transceiver, so that the transmission speed is high, the software upgrading time of the intelligent equipment is shortened, and the upgrading efficiency is improved;
2. the device is connected with the intelligent equipment by inserting the probe into an upgrading interface, wherein the upgrading interface is any interface in the intelligent equipment, so that a fixed upgrading contact (interface) does not need to be left on the intelligent equipment or a welding wire of the intelligent equipment does not need to be disassembled, the upgrading cost of the intelligent equipment can be effectively reduced, and unnecessary resource waste is reduced;
3. the device is equipped with the upgrading mode selector, a plurality of communication protocols have been stored in the upgrading mode selector, so can support multiple upgrading mode, and support the software upgrading of many types of smart machine, and application scope is wide, and the practicality is strong.
Drawings
FIG. 1 is a schematic diagram of the internal structure of the software upgrading device according to the present invention;
FIG. 2 is a block diagram of the software upgrading method according to the present invention.
In the figure: 1-upgrade master control, 2-upgrade mode selector, 3-signal transceiver.
Detailed Description
The structural and operational principles of the present invention are explained in further detail below with reference to the accompanying drawings.
As shown in fig. 1, a software upgrading apparatus includes an upgrading main control 1, an upgrading mode selector 2 and a signal transceiver 3, where the upgrading mode selector 2 and the signal transceiver 3 are both connected to the upgrading main control 1, an upgrading program is stored in the upgrading main control 1, and a UART communication protocol, an SPI communication protocol, an IIC communication protocol and a CAN communication protocol are stored in the upgrading mode selector 2. The signal transceiver 3 is an optical signal transceiver 3, an acoustic signal transceiver 3 or a magnetic signal transceiver 3. The software upgrading device further comprises a probe connected with the intelligent equipment, and the probe is electrically connected with the upgrading main control 1.
As shown in fig. 2, a software upgrading method is based on an intelligent device and the software upgrading apparatus, where the intelligent device is provided with an upgrading interface and a signal transceiver module, and the software upgrading method includes the following steps:
1) connecting: the software upgrading device is connected with the intelligent equipment through a probe insertion upgrading interface; any interface on the intelligent equipment can be used as an upgrading interface, and the upgrading interface can be normally used as other interfaces at ordinary times.
2) Acquiring pairing information: the upgrade master control 1 sends a pairing instruction to the signal transceiver 3, the signal transceiver 3 converts the pairing instruction into a signal and transmits the signal to the intelligent equipment, the intelligent equipment converts pairing information into a signal through the signal transceiver module and feeds the signal back to the software upgrade device, and the pairing information comprises upgrade interface type information. The upgrading interface is a UART interface, an SPI interface, an IIC interface or a CAN bus interface.
3) Handshake protocol: the upgrading main control 1 combines an upgrading instruction according to the pairing information, then the upgrading main control 1 controls the signal transceiver 3 to convert the upgrading instruction into a signal and send the signal to the intelligent equipment, then the intelligent equipment enters an upgrading mode, and then the intelligent equipment transmits feedback information of the intelligent equipment entering the upgrading mode to the software upgrading device; the upgrading instruction comprises a communication protocol, and the upgrading main control 1 selects the matched communication protocol in the upgrading mode selector 2 according to the upgrading interface type information to combine with other upgrading information to form the upgrading instruction.
4) Upgrading: the software upgrading device receives the feedback information and then controls the signal transceiver 3 to convert the upgrading program into a signal to be transmitted to the intelligent equipment, the intelligent equipment receives the upgrading program and then upgrades the upgrading program, then the intelligent equipment feeds the upgrading result information back to the software upgrading device, and meanwhile, the intelligent equipment is automatically restarted and runs by the upgraded software, and the upgrading is completed. The signal mentioned above is an optical signal, an acoustic signal or a magnetic signal.
The above description is only a preferred embodiment of the present invention, and all the minor modifications, equivalent changes and modifications made to the above embodiment according to the technical solution of the present invention are within the scope of the technical solution of the present invention.

Claims (8)

1. A software upgrading apparatus, characterized by: the upgrading system comprises an upgrading main control, an upgrading mode selector and a signal transceiver, wherein the upgrading mode selector and the signal transceiver are connected with the upgrading main control, an upgrading program is stored in the upgrading main control, and a plurality of communication protocols are stored in the upgrading mode selector; the intelligent device comprises an intelligent device and is characterized by also comprising a probe used for being connected with the intelligent device, wherein the probe is electrically connected with an upgrading master control; based on intelligent equipment and the software upgrading device, the intelligent equipment is provided with an upgrading interface and a signal transceiving module, and the software upgrading method applying the software upgrading device comprises the following steps:
1) connecting: the software upgrading device is connected with the intelligent equipment through a probe insertion upgrading interface;
2) acquiring pairing information: the upgrading master control sends a pairing instruction to the signal transceiver, the signal transceiver converts the pairing instruction into a signal and transmits the signal to the intelligent equipment, and the intelligent equipment converts the pairing information into a signal through the signal transceiver module and feeds the signal back to the software upgrading device;
3) handshake protocol: the upgrading master control combines an upgrading instruction according to the pairing information, then the upgrading master control signal transceiver converts the upgrading instruction into a signal and sends the signal to the intelligent equipment, the intelligent equipment enters an upgrading mode immediately, and then the intelligent equipment transmits feedback information of the intelligent equipment entering the upgrading mode to the software upgrading device;
4) upgrading: and after receiving the feedback information, the software upgrading device controls the signal transceiver to convert the upgrading program into a signal and transmit the signal to the intelligent equipment, and the intelligent equipment upgrades the software after receiving the upgrading program.
2. A software upgrading apparatus according to claim 1, further comprising: the signal transceiver is an optical signal transceiver, an acoustic signal transceiver or a magnetic signal transceiver.
3. A software upgrading apparatus according to claim 1, further comprising: the upgrading mode selector stores UART communication protocol, SPI communication protocol, IIC communication protocol and CAN communication protocol.
4. A software upgrading apparatus according to claim 1, further comprising: the signal is an optical signal, an acoustic signal, or a magnetic signal.
5. A software upgrading apparatus according to claim 1, further comprising: the upgrading interface is any interface in the intelligent equipment.
6. A software upgrading device according to claim 5, characterized in that: the upgrading interface is a UART interface, an SPI interface, an IIC interface or a CAN bus interface, and the pairing information in the step 2) comprises upgrading interface type information.
7. A software upgrading apparatus according to claim 6, further comprising: the upgrading instruction comprises a communication protocol, and the upgrading main control selects the matched communication protocol in the upgrading mode selector according to the upgrading interface type information and combines the communication protocol with other upgrading information to form the upgrading instruction.
8. A software upgrading apparatus according to claim 1, further comprising: and 4) after the software upgrading is finished, the intelligent equipment feeds the upgrading result information back to the software upgrading device, and meanwhile, the intelligent equipment is automatically restarted and runs by the upgraded software.
CN201711289647.0A 2017-12-08 2017-12-08 Software upgrading device Active CN107748669B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711289647.0A CN107748669B (en) 2017-12-08 2017-12-08 Software upgrading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711289647.0A CN107748669B (en) 2017-12-08 2017-12-08 Software upgrading device

Publications (2)

Publication Number Publication Date
CN107748669A CN107748669A (en) 2018-03-02
CN107748669B true CN107748669B (en) 2020-12-29

Family

ID=61250275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711289647.0A Active CN107748669B (en) 2017-12-08 2017-12-08 Software upgrading device

Country Status (1)

Country Link
CN (1) CN107748669B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109522035A (en) * 2018-09-29 2019-03-26 珠海格力电器股份有限公司 A kind of programme upgrade method, device, commissioning device and electrical equipment
CN113138779B (en) * 2021-04-21 2024-03-15 中科亿海微电子科技(苏州)有限公司 FPGA (field programmable Gate array) online program updating device and method based on multifunctional interface

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006127450A2 (en) * 2005-05-20 2006-11-30 Computer Associates Think, Inc. System and method for reconciling ownership and discovered asset information
CN104503796A (en) * 2014-12-25 2015-04-08 浙江中控研究院有限公司 IAP (Internet Access Provider) based configurable full-network remote node firmware upgrading method

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100539582C (en) * 2004-09-23 2009-09-09 华为技术有限公司 The method of communication apparatus to select communication protocol
CN101986653B (en) * 2010-10-15 2014-11-05 中国科学院计算技术研究所 Thing-thing intelligent interactive device and method and interactive system thereof
CN202306209U (en) * 2011-10-26 2012-07-04 成都力拓电控技术有限公司 Software updating system of hydraulic support controller
CN103577360A (en) * 2012-07-23 2014-02-12 深圳市中兴移动通信有限公司 Device and method for enabling intelligent terminal to enter downloading and upgrading mode
US10135823B2 (en) * 2013-01-07 2018-11-20 Dell Products L.P. Input redirection with a cloud client device
CN103870304A (en) * 2014-02-19 2014-06-18 湖南三一智能控制设备有限公司 Program update device and method, remote control system and engineering machine
CN204360368U (en) * 2014-12-26 2015-05-27 济南沛华信息科技有限公司 A kind of intelligent instrument update device
CN104980886A (en) * 2015-06-25 2015-10-14 上海卓易科技股份有限公司 Software upgrade method and device
CN204965406U (en) * 2015-07-20 2016-01-13 深圳市赛格导航科技股份有限公司 System and upgrading equipment that on -vehicle communication terminal upgrades
CN106740231A (en) * 2017-01-21 2017-05-31 深圳市沃特玛电池有限公司 The upgrade-system and method of a kind of electric automobile BMS

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006127450A2 (en) * 2005-05-20 2006-11-30 Computer Associates Think, Inc. System and method for reconciling ownership and discovered asset information
CN104503796A (en) * 2014-12-25 2015-04-08 浙江中控研究院有限公司 IAP (Internet Access Provider) based configurable full-network remote node firmware upgrading method

Also Published As

Publication number Publication date
CN107748669A (en) 2018-03-02

Similar Documents

Publication Publication Date Title
CN108475241B (en) SPI-based data transmission method and device
WO2017049548A1 (en) Mobile terminal, power supply adapter, and upgrading method thereof
CN105137964A (en) Automobile fault remote diagnosis system based on cellphone APP
US10484100B2 (en) Optical module, optical module system and monitor method using the same
CN107748669B (en) Software upgrading device
CN104506516A (en) Gateway for conversion between Modbus RTU/ASCII (remote terminal unit/American standard code for information interchange) communication protocol and Modbus TCP (transmission control protocol) communication protocol and implementation method for gateway
CN111954100B (en) Interface upgrading method and device and optical network unit management method and device
CN102231114A (en) System and method for upgrading chip as well as method and device for transmitting upgrade file
CN205229701U (en) Servo motor control system
CN102004535A (en) Electronic system and resetting method thereof
CN106850554B (en) Method and device for dual-system directional connection
CN105701038A (en) Cascade chip starting method and related device
CN112469104A (en) Networking method of dual-system electronic whiteboard and electronic whiteboard
CN109361419B (en) Satellite communication vehicle-mounted module control unit, vehicle-mounted module and vehicle-mounted system terminal
EP2410435B1 (en) Signal transmission device and method
CN112965927B (en) Signal driving system and method based on SPI equipment
CN211457158U (en) System for mobile phone connection OBD control system upgrades and changes car configuration
CN107479936A (en) A kind of cross-platform function expansion component
CN110290333B (en) Signal sending method and system, adapter plate and storage medium
CN113900985A (en) IO and SPI multiplexing chip, multiplexing auxiliary chip and data interaction method
CN111277673A (en) System for mobile phone connection OBD control system upgrades and changes car configuration
CN203574733U (en) Vehicle-mounted cellphone interconnection data transmission system
CN111447270A (en) Data forwarding middleware for Internet of things
CN112214229B (en) Vehicle multi-controller software upgrading system and method based on USB communication and vehicle
CN106227177B (en) A kind of control device based on bus communication

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
GR01 Patent grant
GR01 Patent grant