CN106066792A - A kind of software wireless remote debugging based on WiFi updates system and method - Google Patents

A kind of software wireless remote debugging based on WiFi updates system and method Download PDF

Info

Publication number
CN106066792A
CN106066792A CN201610355345.8A CN201610355345A CN106066792A CN 106066792 A CN106066792 A CN 106066792A CN 201610355345 A CN201610355345 A CN 201610355345A CN 106066792 A CN106066792 A CN 106066792A
Authority
CN
China
Prior art keywords
wifi
debugging
wifi module
software
trace data
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
CN201610355345.8A
Other languages
Chinese (zh)
Other versions
CN106066792B (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.)
Guilin University of Electronic Technology
Original Assignee
Guilin University of Electronic Technology
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 Guilin University of Electronic Technology filed Critical Guilin University of Electronic Technology
Priority to CN201610355345.8A priority Critical patent/CN106066792B/en
Publication of CN106066792A publication Critical patent/CN106066792A/en
Application granted granted Critical
Publication of CN106066792B publication Critical patent/CN106066792B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4416Network booting; Remote initial program loading [RIPL]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of software wireless remote debugging based on WiFi and update system and method, including car entertainment audio-visual debugging system and PC end, being provided with the first WiFi module in described car entertainment audio-video system, PC end is provided with the second WiFi module, trace data analysis show tools and remote access management system;Trace data are exported to the first WiFi module by described car entertainment audio-video system;Trace data are transferred to the second WiFi module of PC end by the first WiFi module;The trace data that second WiFi module is received by described PC end show, pass through remote access management system remote operation car entertainment image and sound guidance system simultaneously, to realize the analysis debugging renewal under the fully wireless state of software.The present invention achieves systems soft ware by WiFi for the first time and updates without line analysis debugging, utilizing this invention not only to deduct, that debugging enironment builds is loaded down with trivial details, and save development cost, and low cost, quickly develop software to especially programmer and bring facility, shorten the software development cycle time.

Description

A kind of software wireless remote debugging based on WiFi updates system and method
Technical field
The present invention relates to computer software engineering field, be specifically related to a kind of software wireless remote debugging based on wifi more New system and method.
Background technology
Along with developing rapidly of science and technology, industry-by-industry all suffers from the huge challenge quickly updated.Software Industry is encountered by huge challenge, software development efficiency and renewal speed the most simultaneously and is also one and quickly dominates the market and win client An important step.This just proposes challenge to programmer at aspects such as development efficiency, software debugging methods.
The most conventional software debugging method has: 1, to reserve a hardware debugging mouth in machinery equipment, programmer makes Connecting reserved opening with trace instrument, in succession PC in the other end of the trace instrument line of a root length length, installs and receive data on PC Analytical tool analyzes software operation state;2, amendment debugging model machine, on model machine, fly line connects USB line and makes the storage device of model machine External equipment as a PC end uses, and software can be substituted into the when of such software upgrading the image file of current PC Lower amendment model machine software;3, by the software copy of renewal to circumscribed USB or SD, model machine furnishing debug pattern will then be debugged, Replace inside debugging machine by updating software document on USB or SD, etc..As above conventional software debugging method is the most too busy to get away Trace instrument, external equipment line, USB or SD card etc..So many optional equipment is needed to carry out debugging software, only on stand If the not bad problem scene to be arrived of debugging goes not only instrument of debugging loaded down with trivial details but also the ruggedness of instrument all need to examine further Test.At present wifi module is continuously available universal on car entertainment audio-video system, and the functional software relevant with wifi such as navigates reality Shi Lukuang report etc., will be used on car entertainment audio-video system widely.
Summary of the invention
It is an object of the invention to provide a kind of software wireless remote debugging based on wifi and update system and method, this system The trace data output of software shows being transferred to PC end by the way of wifi, simultaneously in car entertainment audio-visual debugging system Interior integrated Telnet, ftp service, PC end accesses the hard drive space of machine by wifi, the software upgrading on PC end mirror picture is arrived In WINCE file system, thus more New function is debugged in the analysis realized under the fully wireless state of software.The i.e. main solution of the present invention Certainly problem is to realize on PC the remote control to car entertainment audio-video system by WiFi wireless telecommunications, realizes soft further More New function is debugged in analysis under the fully wireless state of part.
The technical scheme realizing the object of the invention is:
A kind of software wireless remote debugging based on WiFi updates system, including car entertainment audio-visual debugging system and PC end, institute Being provided with the first WiFi module in stating car entertainment audio-video system, PC end is provided with the second WiFi module, trace data analysis display work Tool and remote access management system;
Described car entertainment audio-video system is used for defeated for the trace data of storage inside system and systems soft ware by UART interface Go out to the first WiFi module;
Described first WiFi module for being transferred to the second WiFi module of PC end by wifi radio communication by trace data;
Described PC end is shown by trace data analysis show tools for the trace data received by the second WiFi module Out, it is simultaneously used for by remote access management system remote operation car entertainment image and sound guidance system, complete to realize software Analysis debugging under wireless status updates.
Described software wireless remote debugging based on WiFi updates system and also includes that WiFi Debug switchs, described WiFi Debug switch is located on the first WiFi module, is used for controlling described car entertainment audio-visual debugging system on and off.
Described car entertainment audio-visual debugging system is additionally provided with telnet/ ftp assembly.
The method that a kind of software wireless analysis based on wifi debugging updates, comprises the steps:
(1) by defeated by UART interface for the trace data of audio-visual for car entertainment debugging internal system storage system and systems soft ware Go out to the first WiFi module;
(2) first WiFi module transfer data to the second WiFi module of PC end by wifi radio communication;
(3) the trace data that the second WiFi module is received by the trace data analysis show tools of PC end show, with Time the Telnet that managed by remote access and FTP service remotely operate the file system of car entertainment audio-visual navigation WINCE system System, it is achieved under wireless environment, the renewal to car entertainment audio-video system software is debugged.
Described realization updates, to the long-range of car entertainment audio-video system software, the concrete operations flow process debugged under wireless environment Including:
(1) transplanting wifi in WINCE system drives module programming to enter system;
(2) networking component is added;
(3) after adding successfully, arranging WiFi static address and server DNS, can test network;
(4) wifi module switch is opened;
(5) Telnet/ftp assembly is added;
(6) obtain WINCE IP address, PC end IP is set, makes the two IP at the same network segment;
(7) PC is shared input WINCE IP address by network file or is remotely operated under WINCE by Telnet Telnet File.
Advantages of the present invention is: the present invention achieves systems soft ware by wifi for the first time and updates without line analysis debugging, profit With this invention not only deducted that debugging enironment builds loaded down with trivial details, and save development cost, low cost, give programmer fast especially Speed exploitation software brings facility, shortens the software development cycle time.
Accompanying drawing explanation
Fig. 1 is the system block diagram of the present invention;
Fig. 2 is the internal structure block diagram of WiFi Debug switch in the present invention;
Fig. 3 is that the WiFi Debug in the present invention switchs surface chart;
Fig. 4 is the flow chart that the inventive method realizes wireless remote manipulation debugging;
Fig. 5 is to increase the schematic diagram that WiFi drives in the embodiment of the present invention;
Fig. 6 is the schematic diagram increasing WiFi configuration information assembly in the embodiment of the present invention.
Detailed description of the invention
Such as Fig. 1, a kind of software wireless analysis based on wifi debugging renewal system, including car machine and PC end, described car machine Inside it is provided with car entertainment audio-video system, it is characterised in that in described car entertainment audio-video system, be provided with UART interface and first WiFi module, PC end is provided with the second WiFi module, trace data analysis show tools and remote access management system;Vehicle-mounted joy Happy audio-video system type is for exporting the trace data of storage inside system and systems soft ware to first by UART interface WiFi module;First WiFi module for being transferred to the second WiFi module of PC end by wifi radio communication by trace data; PC end is shown, simultaneously by trace data analysis show tools for the trace data received by the second WiFi module For the file by remote access management system remote operation car entertainment audio-visual debugging system, realize the wireless debugging of software Update and the function of upgrading.
In the embodiment of the present invention, the trace data of car entertainment image and sound guidance system software are directly exported by UART mouth To the first wifi module, by the transfer function of wifi wireless high-speed, data are transferred to the second wifi module of PC end, then By the trace instrument of PC end, data are shown.Start Telnet by PC end simultaneously and FTP service remotely operates vehicle-mounted The file system of audio-visual amusement navigation WINCE system, it is achieved the wireless debugging of software updates and the function of upgrading.
In order to avoid the loss system resource for unrelated function that the wifi module of machine is too much, system arranges one the most specially Individual WiFi Debug switch goes to control the function of this debugging system.Such that it is able to use this in the case of not affecting systematic function Function.Internal structure block diagram such as Fig. 2 of switch, the WiFi module increased at car entertainment audio-video system hardware components adds out Close, for controlling the open and close of WiFi module;By MW (intermediate logic) on BL&APP (application program) operation interface It being connected to OS(operating system) hardware driving of bottom realizes the operation to hardware.Implementation method is at car entertainment audio-video system The hardware components connected with WiFi module arranges an on & off switch, adds this button and is driven in system, can be by operation car Carry this switch key of Interface Control of amusement audio-video system, reach to be turned on and off the function of WiFi module.
Be possible not only to selectively disconnect network by this switch, Telnet, FTP connect and the trace of systems soft ware Output.And can the design of compatible original system.Operating for convenience, the present invention will start such as on other occasions simultaneously Interface shown in Fig. 3 is gone to control this function.
The method that a kind of software wireless analysis based on wifi debugging updates, comprises the steps:
(1) by defeated by UART interface for the trace data of audio-visual for car entertainment debugging internal system storage system and systems soft ware Go out to the first WiFi module;
(2) first WiFi module transfer data to the second WiFi module of PC end by wifi radio communication;
(3) the trace data that the second WiFi module is received by the trace data analysis show tools of PC end show, with Time the Telnet that managed by remote access and FTP service remotely operate the file system of car entertainment audio-visual navigation WINCE system System, it is achieved under wireless environment, the renewal to car entertainment audio-video system software is debugged.
The following is inventor to realize on PC car entertainment audio-video system based on WiFi wireless telecommunications for the present invention Remote control, the concrete operation step done as shown in Figure 4, including:
(1) transplanting wifi in car entertainment audio-visual navigation WINCE system drives module programming to enter system
1) wifi driving is added to catalogue WINCE600 \ PLATFORM \ TT6XOBD \ FILES \ under App, such as Fig. 5;
2) assembly of WiFi configuration information is added under the Catalog Items View in WINCE system, such as Fig. 6;
3) preservation and compiler component;
4) programming system, copies equipment platform to the application program controlling WiFi and installs;
5) start is restarted, and wifi window occurs;
(2) networking component and network interface communication interaction are added
1) IE browser is added networking component NET Compact Framework 3.5;
2) compiling is preserved;
3) test webpage function;
4) input password, connects;
5) wifi static address and server DNS are set or acquiescence dynamically obtains;
6) the Internet test, inputs network address in IE.
(3) WiFi module switch is opened
(4) telnet/ ftp assembly is increased
1) in PC, " Communication Services and Networking "-> " Servers ", then we can see To " FTP Server " and " Telnet Server ", choose these two;
2), after with the addition of FTP assembly, inside registration table Platform.reg, herein below is added, it is achieved anonymous access FTP takes Business;
[HKEY_LOCAL_MACHINE Comm FTPD] " IsEnabled "=dword:1 ' enables FTP " UseAuthentication "=dword:1 " AllowAnonymous "=dword:1 ' allow anonymous access " AllowAnonymousUpload"=dword:1 "AllowAnonymousVroots"=dword:1 "DefaultDir" =" " ' default directory
3) preserve, compile and burning.
(5) obtain WINCE IP address, PC end IP is set, makes the two IP at the same network segment.
(6) PC is shared input WINCE IP address by network file or is remotely operated by Telnet Telnet File under WINCE.
1) PC computer is mutual with car machine by order telnet telnet, uses relevant telnet order to get final product radio remote File under journey operation WINCE, as order cd SDMemory/dir checks file in SD;
2) PC is shared by FTP network file with car entertainment audio-visual debugging system, on the IP ground of PC end address field input WINCE Location accesses (PC end must be with WINCE at the same network segment such as fttp: // 192.168.1.xx) WINCE with PC and shares into Merit.
To sum up can be realized under wireless environment car entertainment audio-video system machine by wifi by Telnet and FTP assembly Type software upgrading is debugged.

Claims (5)

1. a software wireless remote debugging based on WiFi updates system, it is characterised in that include the audio-visual debugging of car entertainment System and PC end, be provided with the first WiFi module in described car entertainment audio-video system, PC end is provided with the second WiFi module, trace Data analysis show tools and remote access management system;
Described car entertainment audio-video system is used for defeated for the trace data of storage inside system and systems soft ware by UART interface Go out to the first WiFi module;
Described first WiFi module for being transferred to the second WiFi module of PC end by wifi radio communication by trace data;
Described PC end is shown by trace data analysis show tools for the trace data received by the second WiFi module Out, it is simultaneously used for by remote access management system remote operation car entertainment image and sound guidance system, complete to realize software Analysis debugging under wireless status updates.
Software wireless remote debugging based on wifi the most according to claim 1 updates system, it is characterised in that also include WiFi Debug switchs, and described WiFi Debug switch is located on the first WiFi module, is used for controlling described car entertainment audio-visual Debugging system on and off.
Software wireless remote debugging based on wifi the most according to claim 1 updates system, it is characterised in that described car Carry to entertain in audio-visual debugging system and be additionally provided with telnet/ ftp assembly.
4. the method that software wireless analysis based on a wifi debugging updates, it is characterised in that comprise the steps:
(1) by defeated by UART interface for the trace data of audio-visual for car entertainment debugging internal system storage system and systems soft ware Go out to the first WiFi module;
(2) first WiFi module transfer data to the second WiFi module of PC end by wifi radio communication;
(3) the trace data that the second WiFi module is received by the trace data analysis show tools of PC end show, with Time the Telnet that managed by remote access and FTP service remotely operate the file system of car entertainment audio-visual navigation WINCE system System, it is achieved under wireless environment car entertainment audio-video system software remotely updated debugging.
The method that software wireless analysis based on wifi the most according to claim 4 debugging updates, it is characterised in that described The concrete operations flow process realizing under wireless environment debugging the long-range renewal of car entertainment audio-video system software includes:
(1) transplanting a wifi in WINCE system drives module programming to enter system;
(2) networking component is added;
(3) after adding successfully, arranging WiFi static address and server DNS, can test network;
(4) wifi module switch is opened;
(5) Telnet/ftp assembly is added;
(6) obtain WINCE IP address, PC end IP is set, makes the two IP at the same network segment;
(7) PC shares input WINCE IP address by FTP network file or remotely operates WINCE by Telnet Telnet Under file.
CN201610355345.8A 2016-05-25 2016-05-25 A kind of software wireless remote debugging update system and method based on WiFi Expired - Fee Related CN106066792B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610355345.8A CN106066792B (en) 2016-05-25 2016-05-25 A kind of software wireless remote debugging update system and method based on WiFi

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610355345.8A CN106066792B (en) 2016-05-25 2016-05-25 A kind of software wireless remote debugging update system and method based on WiFi

Publications (2)

Publication Number Publication Date
CN106066792A true CN106066792A (en) 2016-11-02
CN106066792B CN106066792B (en) 2019-07-05

Family

ID=57420794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610355345.8A Expired - Fee Related CN106066792B (en) 2016-05-25 2016-05-25 A kind of software wireless remote debugging update system and method based on WiFi

Country Status (1)

Country Link
CN (1) CN106066792B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603127A (en) * 2016-12-29 2017-04-26 桂林电子科技大学 Method for transmission and display of system software trace through Bluetooth SPP protocol
CN108965420A (en) * 2018-07-06 2018-12-07 日立楼宇技术(广州)有限公司 A kind of adjustment method of car-mounted terminal, device, equipment and storage medium
CN109587829A (en) * 2018-11-16 2019-04-05 青岛海信电器股份有限公司 A kind of method, apparatus and terminal that terminal is used as website and hot spot to work simultaneously
CN110147053A (en) * 2019-04-18 2019-08-20 宁波安信数控技术有限公司 A kind of remote debugging method and system applied to driver
CN111158720A (en) * 2019-12-26 2020-05-15 联陆智能交通科技(上海)有限公司 Method, system, medium and equipment for upgrading road test unit (RSU)
CN112492052A (en) * 2021-02-05 2021-03-12 智道网联科技(北京)有限公司 Remote debugging method and device for intelligent networked vehicle data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420312A (en) * 2007-10-22 2009-04-29 株洲南车时代电气股份有限公司 Debugging method and system for vehicle mounted apparatus
US20100312418A1 (en) * 2009-06-09 2010-12-09 Harman Becker Automotive Systems Gmbh Vehicle computing module
CN103838587A (en) * 2012-11-20 2014-06-04 贵阳铝镁设计研究院有限公司 Control system remote upgrading method and device based on GPRS
CN104678993A (en) * 2015-03-19 2015-06-03 中国汽车技术研究中心 Automobile wireless diagnosis system and method based on WIFI

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420312A (en) * 2007-10-22 2009-04-29 株洲南车时代电气股份有限公司 Debugging method and system for vehicle mounted apparatus
US20100312418A1 (en) * 2009-06-09 2010-12-09 Harman Becker Automotive Systems Gmbh Vehicle computing module
CN103838587A (en) * 2012-11-20 2014-06-04 贵阳铝镁设计研究院有限公司 Control system remote upgrading method and device based on GPRS
CN104678993A (en) * 2015-03-19 2015-06-03 中国汽车技术研究中心 Automobile wireless diagnosis system and method based on WIFI

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603127A (en) * 2016-12-29 2017-04-26 桂林电子科技大学 Method for transmission and display of system software trace through Bluetooth SPP protocol
CN108965420A (en) * 2018-07-06 2018-12-07 日立楼宇技术(广州)有限公司 A kind of adjustment method of car-mounted terminal, device, equipment and storage medium
CN109587829A (en) * 2018-11-16 2019-04-05 青岛海信电器股份有限公司 A kind of method, apparatus and terminal that terminal is used as website and hot spot to work simultaneously
CN109587829B (en) * 2018-11-16 2022-01-11 海信视像科技股份有限公司 Method and device for simultaneously working as site and hotspot by terminal and terminal
CN110147053A (en) * 2019-04-18 2019-08-20 宁波安信数控技术有限公司 A kind of remote debugging method and system applied to driver
CN111158720A (en) * 2019-12-26 2020-05-15 联陆智能交通科技(上海)有限公司 Method, system, medium and equipment for upgrading road test unit (RSU)
CN112492052A (en) * 2021-02-05 2021-03-12 智道网联科技(北京)有限公司 Remote debugging method and device for intelligent networked vehicle data

Also Published As

Publication number Publication date
CN106066792B (en) 2019-07-05

Similar Documents

Publication Publication Date Title
CN106066792A (en) A kind of software wireless remote debugging based on WiFi updates system and method
JP7481421B2 (en) Binding of backend service endpoints to API functions in an API registry
Molloy Exploring BeagleBone: tools and techniques for building with embedded Linux
Harrington Learning raspbian
US8966438B2 (en) System and methods for end-users to graphically program and manage computers and devices
US6173438B1 (en) Embedded graphical programming system
CN102880498B (en) The method of virtual SD card on the device of Android system
US20070220494A1 (en) A Method of Rapid Software Application Development for a Wireless Mobile Device
CN110750463B (en) Method, device, system, equipment and medium for testing small program
Pajankar Raspberry pi supercomputing and scientific programming
WO2007056343A2 (en) Networked linux machine and windows software development system
Hillar Internet of things with python
Williams et al. Utilizing ROS 1 and the turtlebot3 in a multi-robot system
CN106843973B (en) A method of transplanting embedded system simultaneously starts in SD card
CN112631915A (en) Method, system, device and medium for PCIE device software simulation
CN112130888A (en) Method, device and equipment for updating application program and computer storage medium
Meike et al. Inside the android OS: building, customizing, managing and operating android system services
Stoneman Docker on Windows: From 101 to production with Docker on Windows
Walker Getting started with Netduino
CN106445483A (en) Action application generation method and system
Hoogervorst et al. Viki—more than a gui for ros
Phung Professional microsoft windows embedded CE 6.0
King et al. Advanced BlackBerry Development
Hu et al. An empirical study of mobile/handheld app development using android platforms
Klein et al. Generating Data with Devices

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190705

CF01 Termination of patent right due to non-payment of annual fee