CN103744707A - Method, device and system for upgrading program of VCI (virtual channel identifier) equipment - Google Patents

Method, device and system for upgrading program of VCI (virtual channel identifier) equipment Download PDF

Info

Publication number
CN103744707A
CN103744707A CN201410024018.5A CN201410024018A CN103744707A CN 103744707 A CN103744707 A CN 103744707A CN 201410024018 A CN201410024018 A CN 201410024018A CN 103744707 A CN103744707 A CN 103744707A
Authority
CN
China
Prior art keywords
vci
equipment
service end
connectivity port
upgrade
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.)
Granted
Application number
CN201410024018.5A
Other languages
Chinese (zh)
Other versions
CN103744707B (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.)
Autel Intelligent Technology Corp Ltd
Original Assignee
Autel Intelligent Technology Corp 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 Autel Intelligent Technology Corp Ltd filed Critical Autel Intelligent Technology Corp Ltd
Priority to CN201410024018.5A priority Critical patent/CN103744707B/en
Publication of CN103744707A publication Critical patent/CN103744707A/en
Application granted granted Critical
Publication of CN103744707B publication Critical patent/CN103744707B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method, a device and a system for upgrading a program of VCI (virtual channel identifier) equipment and belongs to the technical field of vehicles and software. The method includes opening all connecting ports provided on the VCI equipment, and starting a command monitoring thread; after a programming broadcast command is monitored, acquiring the connecting port receiving the programming broadcast command; replying an ID (identity) of the VCI equipment to a server side through the connecting port, and entering an upgrading mode to receive an upgrading file transmitted by the server side. By adopting the method, the command monitoring thread is started through the VCI equipment, and monitoring of each communication interface is realized; a upgrading mode of the VCI equipment with multiple channels connected is provided, and the upgrading server side can run on various platforms, so that upgrading flexibility and universality of the VCI equipment are improved, and convenience in use of a user is improved.

Description

A kind of VCI device program upgrade method, device and system
Technical field
The present invention relates to automobile and software technology field, relate in particular to a kind of VCI(vehicle communication interface) device program upgrade method, device and system.
Background technology
Along with the high speed development of automotive electronic technology, increasing vehicle computer system need to be safeguarded and rise
Level, increasing vehicle diagnosis or programming device manufacturer also occur again and again, equipment also needs ceaselessly upgrade and safeguard like this, VCI equipment is also a kind of general automobile diagnosis or DLL (dynamic link library) equipment wherein, mostly based on embedded OS, its software also needs to be upgraded, to adapt to the development of automotive electronics.
At present, to the upgrade method of VCI equipment, be generally mostly to use single connected mode (such as USB, COM, or wireless), like this, user's upgrading service end is mostly only at PC platform, and must to provide the connectivity port of appointment just can carry out the upgrading of code, limitation is high, and dirigibility is relatively low, brings difficulty to user's use.
Summary of the invention
In view of this, the technical problem to be solved in the present invention is to provide a kind of VCI device program upgrade method, device and system, so that the VCI equipment upgrading mode that multiple path connects to be provided, service end may operate in kinds of platform, thereby strengthen dirigibility and the versatility of VCI device upgrade, improve user's ease of use.
It is as follows that the present invention solves the problems of the technologies described above adopted technical scheme:
According to an aspect of the present invention, a kind of VCI device program upgrade method providing, is applied to VCI equipment, and the method comprises:
VCI equipment is opened all connectivity ports of its outfit, startup command watcher thread;
Listen to after the programming broadcasting command of service end, obtain the connectivity port that receives programming broadcasting command;
By connectivity port, to service end, reply the ID of VCI equipment, and enter the upgrade file that upgrade mode receives service end transmission.
Preferably, connectivity port comprises: COM, USB, cable network, WIFI, bluetooth and/or infrared.
Preferably, the ID of VCI equipment comprises: IP address and/or the MAC Address of VCI equipment.
According to another aspect of the present invention, a kind of VCI device program upgrade method providing, is applied to service end, and the method comprises:
Service end detects all connectivity ports of its outfit and opens;
By all connectivity ports, send programming broadcasting command;
Receive after the ID of VCI equipment of VCI device replied, obtain and receive the connectivity port of replying;
According to the ID of VCI equipment, by connectivity port to VCI device transmission upgrade file.
Preferably, connectivity port comprises: COM, USB, cable network, WIFI, bluetooth and/or infrared.
Preferably, the ID of VCI equipment comprises: IP address and/or the MAC Address of VCI equipment.
Preferably, above-mentioned by connectivity port to also comprising before VCI device transmission upgrade file: allow user confirm the correctness of VCI device upgrade information, if incorrect, process ends.
According to a further aspect of the invention, a kind of VCI device program upgrade method providing comprises:
VCI equipment is opened all connectivity ports of its outfit, startup command watcher thread;
Service end detects all connectivity ports of its outfit and opens, and by the connectivity port detecting, sends programming broadcasting command;
VCI Supervision is heard after the programming broadcasting command of service end, obtains the connectivity port that receives programming broadcasting command; By connectivity port, to service end, reply the ID of VCI equipment, and enter upgrade mode;
Service end receives after the ID of VCI equipment of VCI device replied, according to the ID of VCI equipment, by connectivity port to VCI device transmission upgrade file.
According to a further aspect of the invention, a kind of VCI device program update device providing, is applied to VCI equipment, and this device comprises:
Module is monitored in order, opens all connectivity ports of its outfit, startup command watcher thread;
Port acquisition module, for listening to after the programming broadcasting command of service end, obtains the connectivity port that receives programming broadcasting command;
ID sending module, for replying the ID of VCI equipment to service end by connectivity port;
File receiver module, receives for entering upgrade mode the upgrade file that service end is transmitted.
According to a further aspect of the invention, a kind of VCI device program update device providing, is applied to service end, and this device comprises:
Port activation module, for detection of all connectivity ports of its outfit and open;
Order sending module, sends programming broadcasting command for the connectivity port by all;
ID receiver module, for receiving the ID of the VCI equipment of VCI device replied, and obtains the connectivity port that receives reply;
File send module, according to the ID of VCI equipment, by connectivity port to VCI device transmission upgrade file.
According to a further aspect of the invention, a kind of VCI device program upgrade-system providing, comprises the update device of the above-mentioned VCI of being applied to equipment, and the update device that is applied to service end.
VCI device program upgrade method, device and system that the embodiment of the present invention provides, compared with prior art, by VCI device start order watcher thread, realize the monitoring to each communication interface, the VCI equipment upgrading mode that multiple path connects is provided, such as COM, USB, cable network, WIFI, bluetooth, infrared etc., dirigibility is high.And upgrading service end may operate in kinds of platform, such as ANDOIR, IOS, the platforms such as WINDOWS, are widely used.Thereby strengthen dirigibility and the popularity of VCI device upgrade, improve user's ease of use.
Accompanying drawing explanation
The process flow diagram of a kind of VCI device program upgrade method that Fig. 1 provides for the embodiment of the present invention.
The process flow diagram of the another kind of VCI device program upgrade method that Fig. 2 provides for the embodiment of the present invention.
The process flow diagram of another VCI device program upgrade method that Fig. 3 provides for the embodiment of the present invention.
The process flow diagram of a kind of VCI device program upgrade method that Fig. 4 provides for the preferred embodiment of the present invention.
The structural representation of a kind of VCI device program update device that Fig. 5 provides for the embodiment of the present invention.
The structural representation of the another kind of VCI device program update device that Fig. 6 provides for the embodiment of the present invention.
Embodiment
In order to make technical matters to be solved by this invention, technical scheme and beneficial effect clearer, clear, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Refer to Fig. 1, a kind of VCI device program upgrade method that the embodiment of the present invention provides is applied to VCI equipment, and the method comprises:
S101, VCI equipment are opened all connectivity ports of its outfit, startup command watcher thread.
Specifically, after VCI device start, open all connectivity ports of its outfit, and the standby monitoring upgrading of startup command watcher thread order.Wherein connectivity port includes but not limited to: COM, USB, cable network, WIFI, bluetooth and the connected mode such as infrared.
S102, listen to after the programming broadcasting command of service end, obtain the connectivity port that receives programming broadcasting command.
S103, the ID by connectivity port to service end reply VCI equipment, and enter the upgrade file that upgrade mode receives service end transmission.
As a kind of preferred version, the ID of VCI equipment comprises: IP address and/or the MAC Address of VCI equipment.Specifically, include the location of IP of spider lines, WIFI and MAC Address of bluetooth equipment etc.
As a kind of preferred version, VCI equipment receives after upgrade file, and also the correctness of further verification upgrade code, if incorrect, closes current connectivity port, reopens connectivity port, if correct, the operation that resets starts the program after upgrading.
In addition, VCI equipment can also connect the data interaction of realization and PC, programming or diagnostic device or other smart machine by multiple path, to complete the function of automobile failure diagnosis or programming.
The VCI device program upgrade method of the present embodiment, by VCI device start order watcher thread, the monitoring of realization to each communication interface, the VCI equipment upgrading mode that multiple path connects is provided, programming or diagnostic device for PC or use different communication interface, as long as it provides corresponding api interface, just can complete the upgrading to VCI equipment.
Refer to Fig. 2, a kind of VCI device program upgrade method that the embodiment of the present invention provides is applied to service end, and the method comprises:
S201, service end detect all connectivity ports of its outfit and open;
Wherein, connectivity port includes but not limited to: COM, USB, cable network, WIFI, bluetooth and the connected mode such as infrared.
S202, by all connectivity port, send programming broadcasting command;
S203, receive after the ID of VCI equipment of VCI device replied, obtain and receive the connectivity port of replying;
S204, according to the ID of VCI equipment, by connectivity port to VCI device transmission upgrade file.
As a kind of preferred version, the ID of VCI equipment comprises: IP address and/or the MAC Address of VCI equipment.Specifically, include the location of IP of spider lines, WIFI and MAC Address of bluetooth equipment etc.
As a kind of preferred version, above-mentioned by connectivity port to also comprising before VCI device transmission upgrade file: allow user confirm the correctness of VCI device upgrade information, if incorrect, process ends.
The VCI device program upgrade method that the embodiment of the present invention provides, may operate in kinds of platform, such as running on WINDOWS, IOS, the mobile phone on ANDROID platform, dull and stereotyped, PC, or separate diagnostic or programming device, as long as provide one of above-mentioned communication interface on these platforms, just can realize VCI equipment is completed to software upgrade process by api interface function, be widely used.
Refer to Fig. 3, a kind of VCI device program upgrade method that the embodiment of the present invention provides comprises:
S301, VCI equipment are opened all connectivity ports of its outfit, startup command watcher thread;
S302, service end detect all connectivity ports of its outfit and open, and by the connectivity port detecting, send programming broadcasting command;
S303, VCI Supervision are heard after the programming broadcasting command of service end, obtain the connectivity port that receives programming broadcasting command; By connectivity port, to service end, reply the ID of VCI equipment, and enter upgrade mode;
S304, service end receive after the ID of VCI equipment of VCI device replied, according to the ID of VCI equipment, by connectivity port to VCI device transmission upgrade file.
The VCI device program upgrade method that the embodiment of the present invention provides, by VCI device start order watcher thread, realizes the monitoring to each communication interface, and the VCI equipment upgrading mode that multiple path connects is provided, and dirigibility is high.And upgrading service end may operate in kinds of platform, be widely used.
Refer to Fig. 4, a kind of VCI device program upgrade method that the preferred embodiment of the present invention provides, comprises the following steps:
S401, VCI device power-up.
S402, open all communication interfaces of VCI equipment, and startup command watcher thread.
S403, enter order listening state.
S404, judge whether to receive upgrade request, if so, perform step S405, otherwise return to step S403.
S405, reverting equipment information, enter upgrade code pattern, and wait for the packet of upgrade file.
S406, receive packet within the predetermined time, if so, perform step S407, otherwise return to step S403.
Whether S407, verification current data packet be correct, if correct, perform step S408, otherwise return to step S406.
S408, judge whether to receive all packets, if so, execution step S410, otherwise execution step S409.
S409, close current connection, reopen corresponding connection.
S410, close all connections, restarting systems.
The VCI device program upgrade method that the embodiment of the present invention provides, VCI equipment, after powering on, starts a thread immediately, complete the monitoring to each communication interface, once there be upgrading order to arrive, can enter upgrade mode immediately, fast response time, and compatible multiple communication interface, dirigibility is high.
Refer to Fig. 5, the embodiment of the present invention provides a kind of VCI device program update device, is applied to VCI equipment, and this device comprises:
Module 11 is monitored in order, opens all connectivity ports of its outfit, startup command watcher thread;
Port acquisition module 12, for listening to after the programming broadcasting command of service end, obtains the connectivity port that receives programming broadcasting command;
ID sending module 13, for replying the ID of VCI equipment to service end by connectivity port;
File receiver module 14, receives for entering upgrade mode the upgrade file that service end is transmitted.
The VCI device program update device of the present embodiment, provides the VCI equipment upgrading mode that multiple path connects, and has improved the dirigibility of upgrading.
Refer to Fig. 6, the embodiment of the present invention provides a kind of VCI device program update device, is applied to service end, it is characterized in that, this device comprises:
Port activation module 21, for detection of all connectivity ports of its outfit and open;
Order sending module 22, sends programming broadcasting command for the connectivity port by all;
ID receiver module 23, for receiving the ID of the VCI equipment of VCI device replied, and obtains the connectivity port that receives reply;
File send module 24, according to the ID of VCI equipment, by connectivity port to VCI device transmission upgrade file.
The VCI device program update device that the embodiment of the present invention provides, may operate in kinds of platform, is widely used.
In addition, the present invention also provides a kind of VCI device program upgrade-system, and this system comprises the update device of the above-mentioned VCI of being applied to equipment, and the above-mentioned update device that is applied to service end.
It should be noted that, the technical characterictic in said method embodiment is all corresponding applicable at this device, no longer repeats here.
With reference to the accompanying drawings of the preferred embodiments of the present invention, not thereby limit to interest field of the present invention above.Those skilled in the art do not depart from the scope and spirit of the present invention interior done any modification, are equal to and replace and improve, all should be within interest field of the present invention.

Claims (10)

1. a VCI device program upgrade method, is applied to VCI equipment, it is characterized in that, the method comprises:
VCI equipment is opened all connectivity ports of its outfit, startup command watcher thread;
Listen to after the programming broadcasting command of service end, obtain the connectivity port that receives programming broadcasting command;
By described connectivity port, to service end, reply the ID of described VCI equipment, and enter the upgrade file that upgrade mode receives service end transmission.
2. VCI device program upgrade method according to claim 1, is characterized in that, described connectivity port comprises: COM, USB, cable network, WIFI, bluetooth and/or infrared.
3. VCI device program upgrade method according to claim 1, is characterized in that, the ID of described VCI equipment comprises: IP address and/or the MAC Address of VCI equipment.
4. a VCI device program upgrade method, is applied to service end, it is characterized in that, the method comprises:
Service end detects all connectivity ports of its outfit and opens;
By all connectivity ports, send programming broadcasting command;
Receive after the ID of VCI equipment of VCI device replied, obtain and receive the connectivity port of replying;
According to the ID of described VCI equipment, by described connectivity port to described VCI device transmission upgrade file.
5. VCI device program upgrade method according to claim 4, is characterized in that, described connectivity port comprises: COM, USB, cable network, WIFI, bluetooth and/or infrared.
6. VCI device program upgrade method according to claim 4, it is characterized in that, by described connectivity port to also comprising before described VCI device transmission upgrade file: allow user confirm the correctness of VCI device upgrade information, if incorrect, process ends.
7. a VCI device program upgrade method, is characterized in that, the method comprises:
VCI equipment is opened all connectivity ports of its outfit, startup command watcher thread;
Service end detects all connectivity ports of its outfit and opens, and by the described connectivity port detecting, sends programming broadcasting command;
VCI Supervision is heard after the programming broadcasting command of service end, obtains the connectivity port that receives programming broadcasting command; By described connectivity port, to service end, reply the ID of described VCI equipment, and enter upgrade mode;
Service end receives after the ID of VCI equipment of VCI device replied, according to the ID of described VCI equipment, by described connectivity port to described VCI device transmission upgrade file.
8. a VCI device program update device, is applied to VCI equipment, it is characterized in that, this device comprises:
Module is monitored in order, opens all connectivity ports of its outfit, startup command watcher thread;
Port acquisition module, for listening to after the programming broadcasting command of service end, obtains the connectivity port that receives programming broadcasting command;
ID sending module, for replying the ID of described VCI equipment to service end by described connectivity port;
File receiver module, receives for entering upgrade mode the upgrade file that service end is transmitted.
9. a VCI device program update device, is applied to service end, it is characterized in that, this device comprises:
Port activation module, for detection of all connectivity ports of its outfit and open;
Order sending module, sends programming broadcasting command for the connectivity port by all;
ID receiver module, for receiving the ID of the VCI equipment of VCI device replied, and obtains the connectivity port that receives reply;
File send module, according to the ID of described VCI equipment, by described connectivity port to described VCI device transmission upgrade file.
10. a VCI device program upgrade-system, is characterized in that, this system comprises the update device of the VCI of being applied to equipment as claimed in claim 8, and the update device that is applied to service end as claimed in claim 9.
CN201410024018.5A 2014-01-20 2014-01-20 A kind of VCI device program upgrade method, device and system Active CN103744707B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410024018.5A CN103744707B (en) 2014-01-20 2014-01-20 A kind of VCI device program upgrade method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410024018.5A CN103744707B (en) 2014-01-20 2014-01-20 A kind of VCI device program upgrade method, device and system

Publications (2)

Publication Number Publication Date
CN103744707A true CN103744707A (en) 2014-04-23
CN103744707B CN103744707B (en) 2017-01-04

Family

ID=50501727

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410024018.5A Active CN103744707B (en) 2014-01-20 2014-01-20 A kind of VCI device program upgrade method, device and system

Country Status (1)

Country Link
CN (1) CN103744707B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105045626A (en) * 2015-07-21 2015-11-11 珠海格力电器股份有限公司 Program burning method, program burning equipment and controller
CN105468424A (en) * 2015-12-31 2016-04-06 天津金米特电子有限公司 Intelligent diagnosis and upgrade device of electric moped
CN109725921A (en) * 2019-01-07 2019-05-07 深圳市道通科技股份有限公司 A kind of method, apparatus and automobile fault diagnostic apparatus of the update of VCI equipment firmware
CN112162765A (en) * 2020-08-28 2021-01-01 深圳市元征科技股份有限公司 Firmware upgrading method, upper computer and storage medium
CN113391836A (en) * 2021-07-14 2021-09-14 威海新北洋技术服务有限公司 Firmware program upgrading method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820447A (en) * 2010-03-31 2010-09-01 青岛海信宽带多媒体技术有限公司 Software upgrading method and upgrading device
CN102016856A (en) * 2008-05-07 2011-04-13 Spx公司 Dynamic discovery of vehicle communication interface device and method
CN102033765A (en) * 2010-12-03 2011-04-27 深圳市元征软件开发有限公司 BCM (Body Control Module) program upgrading method and vehicle-mounted electronic control system upgrading method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102016856A (en) * 2008-05-07 2011-04-13 Spx公司 Dynamic discovery of vehicle communication interface device and method
CN101820447A (en) * 2010-03-31 2010-09-01 青岛海信宽带多媒体技术有限公司 Software upgrading method and upgrading device
CN102033765A (en) * 2010-12-03 2011-04-27 深圳市元征软件开发有限公司 BCM (Body Control Module) program upgrading method and vehicle-mounted electronic control system upgrading method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105045626A (en) * 2015-07-21 2015-11-11 珠海格力电器股份有限公司 Program burning method, program burning equipment and controller
CN105468424A (en) * 2015-12-31 2016-04-06 天津金米特电子有限公司 Intelligent diagnosis and upgrade device of electric moped
CN105468424B (en) * 2015-12-31 2019-01-29 天津金米特科技股份有限公司 A kind of Moped Scooter intelligent diagnostics update device
CN109725921A (en) * 2019-01-07 2019-05-07 深圳市道通科技股份有限公司 A kind of method, apparatus and automobile fault diagnostic apparatus of the update of VCI equipment firmware
CN112162765A (en) * 2020-08-28 2021-01-01 深圳市元征科技股份有限公司 Firmware upgrading method, upper computer and storage medium
CN113391836A (en) * 2021-07-14 2021-09-14 威海新北洋技术服务有限公司 Firmware program upgrading method and device and electronic equipment

Also Published As

Publication number Publication date
CN103744707B (en) 2017-01-04

Similar Documents

Publication Publication Date Title
EP3716656B1 (en) Profile generation method, profile acquisition method, and related device and storage medium
CN107438830B (en) Upgrading method, upgrading device, upgrading equipment and upgrading system
US10282194B2 (en) Methods and systems to update a vehicle computing system
US10061574B2 (en) Method and apparatus for multiple vehicle software module reflash
CN103744707A (en) Method, device and system for upgrading program of VCI (virtual channel identifier) equipment
EP2391149A1 (en) Configuring wifi parameters via a USB connection
US20150081859A1 (en) Method, apparatus and system for connecting devices to a network
CN105791387A (en) Vehicle control update method and system
US9304846B2 (en) Apparatus and method of error monitoring with a diagnostic module
CN104090800A (en) Installation method of vehicle-mounted terminal software
US9924017B2 (en) Methods and systems for a vehicle computing system to launch an application
CN109257793B (en) Network connection method, device, equipment and storage medium
US20150228127A1 (en) OBD Interface Device Having Processor Running Diagnostics Web Server to Provide Platform Independent Diagnostics
US9408244B2 (en) Multimedia terminal, control method thereof, and recording medium
KR20100063474A (en) Method and system for providing fota service
CN109981360B (en) Internet of things equipment site opening method, device and system and storage medium
CN106339236A (en) Software upgrading method, client, interphone and soft upgrading system
CN104991800A (en) Method, apparatus and system for upgrading firmware of device that is not networked
CN105554295A (en) Method and device for starting application program
CN104317564A (en) Method and device for updating feature phone software
CN110908691A (en) Matching method, device, equipment and medium for tire pressure monitoring system
US9462535B2 (en) Method, apparatus and system for obtaining error code information
CN102932778A (en) Method and system for wirelessly upgrading mobile phone terminal
CN106814751B (en) A kind of flight control protocol automatic adaptation method, apparatus and system
US20170094353A1 (en) System and method for sharing bluetooth hardware

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 518057 Guangdong city of Shenzhen province Nanshan District Xili Street Xueyuan Road No. 1001 Chi Park B1 building 7 layer, 8 layer, 10 layer

Applicant after: SHENZHEN AUTEL TECHNOLOGY CO., LTD.

Address before: 518057 Guangdong city of Shenzhen province Nanshan District Xili town tea light road on the south side of Shenzhen integrated circuit design and application of Industrial Park 106, 107, 109, 114

Applicant before: Shenzhen Autel Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant