CN106603127A - Method for transmission and display of system software trace through Bluetooth SPP protocol - Google Patents

Method for transmission and display of system software trace through Bluetooth SPP protocol Download PDF

Info

Publication number
CN106603127A
CN106603127A CN201611243863.7A CN201611243863A CN106603127A CN 106603127 A CN106603127 A CN 106603127A CN 201611243863 A CN201611243863 A CN 201611243863A CN 106603127 A CN106603127 A CN 106603127A
Authority
CN
China
Prior art keywords
bluetooth module
trace
bluetooth
trace data
uart
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
CN201611243863.7A
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.)
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 CN201611243863.7A priority Critical patent/CN106603127A/en
Publication of CN106603127A publication Critical patent/CN106603127A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
    • H04B5/72Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for local intradevice communication
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • B60R16/0231Circuits relating to the driving or the functioning of the vehicle
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
    • H04B5/73Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for taking measurements, e.g. using sensing coils

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Mechanical Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention discloses a method for transmission and display of a system software trace through a Bluetooth SPP (Serial Port Profile) protocol. In physics, the UART port of a vehicular entertainment audio-video navigation system main processing chip is mutually connected with the UART port of a Bluetooth module 1 to change the output of the trace data of the vehicular entertainment audio-video navigation system from an original physical UART port to the direct output of trace data of the vehicular entertainment audio-video navigation system through the UART ports between the vehicle system and the Bluetooth module 1 to the Bluetooth module 1, the data is displayed through the trace data analysis and display tool at a PC, a physical switch can be arranged on the vehicle system to control the trace data output, when the switch is turned on, the trace data of the system software is outputted from the UART port of the vehicular entertainment audio-video navigation system and the UART port of the Bluetooth module 1 which are connected with each other, and when the vehicle system is selected to turn off, the trace data is switched to other UARTs for outputting. The method for transmission and display of system software trace through the Bluetooth SPP protocol does not need to dismount a machine to connect to a trace wire to complete system trace tracking, so that the method provided by the invention saves manpower and working hours, provides great convenience for problem analysis and reduce the human cost and the risk of damaging the vehicle machine.

Description

A kind of method by bluetooth SPP protocol transmission display system software trace
Technical field
Invention belongs to wireless blue tooth transmission field, more particularly to a kind of to pass through bluetooth SPP protocol transmission display system software The method of trace.
Background technology
With scientific and technological progress and the fast development of national economy, automobile slowly becomes household consumer products by original luxury goods And popularized.In order to ensure the safety of people and improve comfortableness, powerful on-vehicle Bluetooth is widely transported For, in car entertainment image and sound guidance system, driver does not need cable or telephone cradle just can realize the hands-free system of blue tooth vehicular System.After installing on-vehicle Bluetooth system, car owner need not take sb's mind off sth when driving and receiving calls.During incoming call answering, user is only Need to gently press one key or can just be received calls by Voice command, which enhance the safety and convenience driven.Can See that bluetooth becomes an indispensable part in car entertainment image and sound guidance system.Requirement of the client to environment inside car simultaneously also will Can be increasingly harsher, engineer's analysis system software issue is given after causing car entertainment image and sound guidance system to be perfectly combined with car load The certain difficulty of band, such as system need to tear car open after ging wrong to be taken off system whole machine, but also will take machine apart by trace Line connect after could tracking system trace, so not only waste time and energy but also it is also possible to scratch or damage the risk of car.
The content of the invention
For the deficiencies in the prior art, the present invention provides a kind of by bluetooth SPP (Serial Port Profile, serial Port profile) protocol transmission display system software trace (tracking system software data) method, the method need not tear open Operate machine after trace lines are connected could tracking system trace, save manpower, save man-hour, bring greatly to problem analysis Facility, can also reduce human cost and damage car machine risk.
The technical scheme for realizing the object of the invention is:
A kind of method by bluetooth SPP protocol transmission display system software trace, comprises the steps:
1)Physically, the UART mouths of car entertainment image and sound guidance system main process task chip are interconnected with the UART mouths of bluetooth module 1;
2)The trace data of car entertainment image and sound guidance system software are exported by original physics UART mouths, are changed to by vehicle-mounted UART mouths between system and bluetooth module 1 are directly output to bluetooth module 1;
3)PC connects bluetooth module 2, and the driver and client of bluetooth module 2 are installed on PC;
4)Start bluetooth module 2 on PC, and pairing is carried out with the bluetooth module 1 on onboard system be connected.Assisted by the SPP of bluetooth Discuss the bluetooth module 2 in trace data transfers to PC on the bluetooth module 1 of onboard system;
5)By the trace data analysiss show tools at PC ends by data display out;
6)A physical switch is arranged on onboard system to go to control trace data outputs.
Can be realized by bluetooth SPP protocol transmission display system software trace by above-mentioned steps.
Step 1)Physically, the UART mouths of car entertainment image and sound guidance system main process task chip and bluetooth module 1 UART mouths are interconnected.
Step 2)As, in car entertainment image and sound guidance system, bluetooth module 1 is passed through with onboard system main process task chip UART mouths carry out the interaction of data, then originally can be passed through by arranging a kind of physical switch of control trace data outputs Physics port transmission trace data, are changed to carry out trace data by the UART mouths that bluetooth module 1 is connected with main process task chip Transmit into bluetooth module 1.
Step 3)The bluetooth module 2 of USB interface is connected on PC, and bluetooth driver and client are installed.
Step 4)The bluetooth module 2 of PC is opened, is connected with the bluetooth module 1 of onboard system by matching, and by indigo plant Trace data are carried out being wirelessly transmitted to bluetooth module 2 by the SPP agreements of tooth.
Step 5)Software is installed on PC, then bluetooth module 2 can be received by trace data analysiss show tools Trace data displays out.
Step 6) as onboard system process chip is connected with bluetooth module 1, trace data directly pass through UART oral instructions It is defeated to bluetooth module 1, and PC ends trace data analysiss show tools be also automatic reception generate trace data, this just needs A physical switch is arranged on onboard system to go to control trace data outputs.Systems soft ware when switch is opened The UART mouths that trace data will be connected from onboard system with bluetooth module 1 are exported, and select to close onboard system by trace numbers According to other UART mouths outputs are switched to, while can the disconnection SPP agreement connections of order bluetooth module 1.Such that it is able to compatible former Carry out the design of system.
Beneficial effect
The invention provides a kind of method by bluetooth SPP protocol transmission display system software trace, the method need not be torn open Operate machine after trace lines are connected could tracking system trace, save manpower, save man-hour, bring greatly to problem analysis Facility, can also reduce human cost and damage car machine risk.
Figure of description
Fig. 1 is the schematic diagram of the present invention;
Fig. 2 is on-off principle block diagram;
Flow charts of the Fig. 3 for switch;
Fig. 4 is the design sketch that PC ends receive Trace.
Specific embodiment
With reference to the accompanying drawings and examples present invention is further elaborated, but is not limitation of the invention.
Embodiment
A kind of method by bluetooth SPP protocol transmission display system software trace, comprises the steps:
1)Physically, the UART mouths of car entertainment image and sound guidance system main process task chip are interconnected with the UART mouths of bluetooth module 1;
2)The trace data of car entertainment image and sound guidance system software are exported by original physics UART mouths, are changed to by vehicle-mounted UART mouths between system and bluetooth module 1 are directly output to bluetooth module 1;
3)PC connects bluetooth module 2, and the driver and client of bluetooth module 2 are installed on PC;
4)Start bluetooth module 2 on PC, and pairing is carried out with the bluetooth module 1 on onboard system be connected.Assisted by the SPP of bluetooth Discuss the bluetooth module 2 in trace data transfers to PC on the bluetooth module 1 of onboard system;
5)By the trace data analysiss show tools at PC ends by data display out;
6)A physical switch is arranged on onboard system to go to control trace data outputs.
Can be realized by bluetooth SPP protocol transmission display system software trace by above-mentioned steps.
Step 1)In, the UART mouths of car entertainment image and sound guidance system main process task chip are mutual with the UART mouths of bluetooth module 1 Even.
Step 2)In, in car entertainment image and sound guidance system, bluetooth module 1 is passed through with onboard system main process task chip UART mouths carry out the interaction of data, then originally can be passed through by arranging a kind of physical switch of control trace data outputs Physics port transmission trace data, are changed to carry out trace data by the UART mouths that bluetooth module 1 is connected with main process task chip Transmit into bluetooth module 1.
Step 3)In, the bluetooth module 2 of USB interface is connected on PC, and bluetooth driver and client are installed.
Step 4)In, the bluetooth module 2 of PC is opened, is connected with the bluetooth module 1 of onboard system by matching, and is passed through Trace data are carried out being wirelessly transmitted to bluetooth module 2 by the SPP agreements of bluetooth.
Step 5)In, software is installed on PC, then bluetooth module 2 can be connect by trace data analysiss show tools The trace data displays for receiving are out.
Step 6) in, as onboard system process chip is connected with bluetooth module 1, trace data directly pass through UART Port transmission is to bluetooth module 1, and is also that automatic reception generates trace data in PC ends trace data analysiss show tools, this It is accomplished by one physical switch of setting on onboard system to go to control trace data outputs.When switch is opened, system is soft The UART mouths that the trace data of part will be connected from onboard system with bluetooth module 1 are exported, and onboard system is closed in selection will Trace data exchanges are exported to others UART mouths, at the same can order bluetooth module 1 disconnect the connection of SPP agreements, such that it is able to The design of compatible original system.
As shown in Figure 1:
A kind of method by bluetooth SPP protocol transmission display system software trace.Physically, the audio-visual navigation of car entertainment The UART mouths of system main process task chip are interconnected with the UART mouths of bluetooth module 1.It is due in car entertainment image and sound guidance system, blue Tooth module 1 carries out the interacting of data by UART mouths with onboard system main process task chip, by arranging a kind of control trace data The physical switch of output then originally by physics port transmission trace data, will can be changed to by bluetooth module 1 and main process task core The UART mouths of piece carry out trace data transfers into bluetooth module 1;The bluetooth module 2 of USB interface is connected on PC, and is pacified Dress bluetooth driver and client;The bluetooth module 2 of PC is opened, is connected with the bluetooth module 1 of onboard system by matching, And carry out being wirelessly transmitted to bluetooth module 2 by trace data by the SPP agreements of bluetooth;Software is installed on PC, then can be led to Cross trace data displays that bluetooth module 2 receives by trace data analysiss show tools out, PC ends receive the effect of Trace Fruit is schemed as shown in Figure 4.
As shown in Figure 2:
On-off principle block diagram, as onboard system process chip is connected with bluetooth module 1, trace data directly pass through UART Port transmission is to bluetooth module 1, and is also that automatic reception generates trace data in PC ends trace data analysiss show tools, this It is accomplished by one physical switch of setting on onboard system to go to control trace data outputs.
As shown in Figure 3:
Switch flow chart, when switch is opened, the trace data of systems soft ware will be from onboard system and bluetooth mould The UART mouths output that block 1 is connected, selects to close onboard system by trace data exchanges to the output of others UART mouths, while can The connection of SPP agreements is disconnected with order bluetooth module 1.Such that it is able to the design of compatible original system.

Claims (7)

1. a kind of method by bluetooth SPP protocol transmission display system software trace, it is characterised in that comprise the steps:
1)Physically, the UART mouths of car entertainment image and sound guidance system main process task chip are interconnected with the UART mouths of bluetooth module 1;
2)The trace data of car entertainment image and sound guidance system software are exported by original physics UART mouths, are changed to by vehicle-mounted UART mouths between system and bluetooth module 1 are directly output to bluetooth module 1;
3)PC connects bluetooth module 2, and the driver and client of bluetooth module 2 are installed on PC;
4)Start bluetooth module 2 on PC, and pairing is carried out with the bluetooth module 1 on onboard system be connected;
By the bluetooth module 2 in trace data transfers to PC on bluetooth module 1 of the SPP agreements of bluetooth by onboard system;
5)By the trace data analysiss show tools at PC ends by data display out;
6)A physical switch is arranged on onboard system to go to control trace data outputs;
Can be realized by bluetooth SPP protocol transmission display system software trace by above-mentioned steps.
2. the method by bluetooth SPP protocol transmission display system software trace according to claim 1, its feature exist In step 1)Physically, the UART mouths of car entertainment image and sound guidance system main process task chip and the UART mouths of bluetooth module 1 are mutual Even.
3. the method by bluetooth SPP protocol transmission display system software trace according to claim 1, its feature exist In step 2)As, in car entertainment image and sound guidance system, bluetooth module 1 passes through UART mouths with onboard system main process task chip The interaction of data is carried out, then can originally be passed through port by arranging a kind of physical switch of control trace data outputs Transmission trace data, are changed to carry out trace data transfers extremely by the UART mouths that bluetooth module 1 is connected with main process task chip In bluetooth module 1.
4. the method by bluetooth SPP protocol transmission display system software trace according to claim 1, its feature exist In step 3)The bluetooth module 2 of USB interface is connected on PC, and bluetooth driver and client are installed.
5. the method by bluetooth SPP protocol transmission display system software trace according to claim 1, its feature exist In step 4)The bluetooth module 2 of PC is opened, is connected with the bluetooth module 1 of onboard system by matching, and by bluetooth Trace data are carried out being wirelessly transmitted to bluetooth module 2 by SPP agreements.
6. the method by bluetooth SPP protocol transmission display system software trace according to claim 1, its feature exist In step 5)Software is installed on PC, then can pass through what bluetooth module 2 was received by trace data analysiss show tools Trace data displays are out.
7. the method by bluetooth SPP protocol transmission display system software trace according to claim 1, its feature exist In step 6) as onboard system process chip is connected with bluetooth module 1, trace data are directly arrived by UART port transmissions Bluetooth module 1, and be also that automatic reception generates trace data in PC ends trace data analysiss show tools, this is accomplished by Arrange a physical switch to go to control trace data outputs on onboard system, the trace of systems soft ware when switch is opened The UART mouths that data will be connected from onboard system with bluetooth module 1 are exported, and select to close onboard system by trace data exchanges Export to other UART mouths, at the same can order bluetooth module 1 disconnect the connection of SPP agreements, such that it is able to compatible original system Design.
CN201611243863.7A 2016-12-29 2016-12-29 Method for transmission and display of system software trace through Bluetooth SPP protocol Pending CN106603127A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611243863.7A CN106603127A (en) 2016-12-29 2016-12-29 Method for transmission and display of system software trace through Bluetooth SPP protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611243863.7A CN106603127A (en) 2016-12-29 2016-12-29 Method for transmission and display of system software trace through Bluetooth SPP protocol

Publications (1)

Publication Number Publication Date
CN106603127A true CN106603127A (en) 2017-04-26

Family

ID=58604900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611243863.7A Pending CN106603127A (en) 2016-12-29 2016-12-29 Method for transmission and display of system software trace through Bluetooth SPP protocol

Country Status (1)

Country Link
CN (1) CN106603127A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102568053A (en) * 2010-12-31 2012-07-11 上海博泰悦臻电子设备制造有限公司 Vehicle-mounted end of comprehensive vehicle fault detection system and data processing method of same
US20160283361A1 (en) * 2015-03-26 2016-09-29 Ford Global Technologies, Llc Method and apparatus for in-vehicle hardware and software testing
CN106066792A (en) * 2016-05-25 2016-11-02 桂林电子科技大学 A kind of software wireless remote debugging based on WiFi updates system and method
CN106211035A (en) * 2016-06-30 2016-12-07 惠州市德赛西威汽车电子股份有限公司 The Trace of a kind of car entertainment image and sound guidance system obtains scheme

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102568053A (en) * 2010-12-31 2012-07-11 上海博泰悦臻电子设备制造有限公司 Vehicle-mounted end of comprehensive vehicle fault detection system and data processing method of same
US20160283361A1 (en) * 2015-03-26 2016-09-29 Ford Global Technologies, Llc Method and apparatus for in-vehicle hardware and software testing
CN106066792A (en) * 2016-05-25 2016-11-02 桂林电子科技大学 A kind of software wireless remote debugging based on WiFi updates system and method
CN106211035A (en) * 2016-06-30 2016-12-07 惠州市德赛西威汽车电子股份有限公司 The Trace of a kind of car entertainment image and sound guidance system obtains scheme

Similar Documents

Publication Publication Date Title
CN104410753B (en) Short-range wireless communication means
CN1291555C (en) Hands-free device for operating mobile telephones in motor vehicles
CN101207412B (en) Tv set for controlling blue tooth mobile phone
CN103440877A (en) Device and method for interaction control over vehicle-mounted system and smart mobile terminal
CN103237142A (en) Method for generating automobile control instruction through Bluetooth earphone and cell phone
CN106792280A (en) A kind of intelligent intercom and intercom system
CN103347083A (en) Interconnection and mutual control method for vehicle-mounted entertainment system and portable electronic equipment
JP2004254092A (en) Vehicle-mounted controller
CN106603127A (en) Method for transmission and display of system software trace through Bluetooth SPP protocol
CN202814405U (en) Vehicle-mounted multi-screen navigator system
CN203039928U (en) Multi-screen interaction vehicle-mounted system based on Android system
CN102708836A (en) Vehicular display device and control method thereof
CN203225896U (en) Control system based on interconnection of mobile phone and vehicle terminal
CN105021207B (en) Air navigation aid and device based on mobile terminal Yu rearview mirror drive recorder
US20040219881A1 (en) Interface
CN104506932B (en) A kind of audio transmission control system and control method
CN106211035A (en) The Trace of a kind of car entertainment image and sound guidance system obtains scheme
CN206841355U (en) Vehicle intelligent changes screen vehicle device
CN106165483B (en) Communication module and the data segmentation transmission method for using the communication module
CN205232251U (en) Hands -free system of on -vehicle instant messenger
CN204857183U (en) Front -seat back row passenger can both control wireless vehicle audio
CN206835239U (en) Vehicle intelligent original car screen upgrades box
CN201426232Y (en) Vehicle-mounted DVD navigation device
CN106658253A (en) Earphone and implementation method thereof
CN202818429U (en) Line control device capable of realizing real-time data display

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170426

WD01 Invention patent application deemed withdrawn after publication