CN106454697A - Bluetooth switching method and device - Google Patents

Bluetooth switching method and device Download PDF

Info

Publication number
CN106454697A
CN106454697A CN201610696409.0A CN201610696409A CN106454697A CN 106454697 A CN106454697 A CN 106454697A CN 201610696409 A CN201610696409 A CN 201610696409A CN 106454697 A CN106454697 A CN 106454697A
Authority
CN
China
Prior art keywords
health check
service module
bluetooth
car machine
data acquisition
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
CN201610696409.0A
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.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch 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 Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN201610696409.0A priority Critical patent/CN106454697A/en
Priority to PCT/CN2016/105539 priority patent/WO2018032622A1/en
Publication of CN106454697A publication Critical patent/CN106454697A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0066Transmission or use of information for re-establishing the radio link of control information between different types of networks in order to establish a new radio link in the target network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)
  • Vehicle Cleaning, Maintenance, Repair, Refitting, And Outriggers (AREA)

Abstract

The invention discloses a bluetooth switching method. The method comprises the steps that a data acquisition service module establishes connection with the bluetooth of automobile diagnosis equipment; an automobile equipment APP is started, then the data acquisition service module disconnects from the bluetooth according to a received upgrading or examination instruction transmitted by the automobile equipment APP if the automobile equipment APP receives the upgrading or examination instruction, and an examination service module establishes connection with the bluetooth according to the received upgrading or examination instruction transmitted by the automobile equipment APP and performs corresponding processing; and the data acquisition service module reestablishes connection with the bluetooth after completion of processing. The invention also discloses a bluetooth switching device. Occupation of the bluetooth resource and waste of the CPU resource can be avoided so that the bluetooth connection requirements of all the functions in the automobile equipment system can be met.

Description

The changing method of bluetooth and device
Technical field
The present invention relates to automobile technical field, more particularly, to a kind of changing method of bluetooth and device.
Background technology
Car machine is mounted in the abbreviation of the on-vehicle information amusing products inside automobile, and function is to realize people and car, car with The information communication of extraneous (car and car).Main flow car machine on market adopts android operating system, possesses 3G/4G communication module And bluetooth communication module, car machine is equipped with a kind of collection vehicle health check-up (diagnosis), wheelpath, monitor in real time, automobile friend car group, disappears The APP application system of the functions such as breath warning, meets the application demand of the daily driving of user with this.
At present, data acquisition is transplanted on car machine as a kind of service module, by Bluetooth channels, with OBD (on-board Diagnostic, onboard diagnostic system) terminal communicates wirelessly, obtains vehicle data in real time, and data is uploaded to data Platform, can provide the data service module of monitor in real time for car machine APP.However, and the data acquisition function in car machine system, Health check-up function, upgrade function of automotive diagnostic installation etc. are all exclusive modes to the bluetooth of automotive diagnostic installation, and vehicle diagnosis sets Some application that the standby bluetooth same time can only meet a kind of equipment connects.If using existing bluetooth connection mechanism, After the energising of car machine, if the bluetooth connection of data acquisition service module and automotive diagnostic installation, then when needing health check-up or upgrading, body Inspection or upgrade applications cannot be successfully connected bluetooth, lead to health check-up or upgrade function to lose efficacy;Equally, in health check-up or escalation process If data acquisition service module connects bluetooth, also cannot successful connection.Therefore, this bluetooth connection realizes single function, no The complicated service condition of car machine Bluetooth system can be met.
Content of the invention
Present invention is primarily targeted at proposing a kind of changing method of bluetooth and device it is intended to multiple in association's shunter should With the connection between program and the bluetooth of automotive diagnostic installation it is ensured that quickly effectively switching of bluetooth connection, meet car machine system In each function bluetooth connection demand.
For achieving the above object, the present invention provides a kind of changing method of bluetooth, and methods described comprises the steps:
Data acquisition service module sets up the connection and the bluetooth of automotive diagnostic installation between;
After car machine APP starts, if described car machine APP receives upgrading or health check-up instruction, described data acquisition service Module disconnects the connection and described bluetooth between, body according to the described upgrading or health check-up instruction that receive described car machine APP transmission Inspection service module sets up the connection with described bluetooth according to the described upgrading or health check-up instruction that receive described car machine APP transmission, And carry out alignment processing;
When described process completes, described data acquisition service module re-establishes the connection and described bluetooth between.
Alternatively, after the described startup in car machine APP, if described car machine APP receives upgrading or health check-up instruction, described number Disconnected and described bluetooth between according to the described upgrading or health check-up instruction that receive described car machine APP transmission according to collection service module Connection, health check-up service module is according to receiving the described upgrading that described car machine APP sends or health check-up instruction is set up and described indigo plant The connection of tooth, and carry out the step of alignment processing and include:
After car machine APP starts, if described car machine APP receives described upgrade command, examined according to described upgrade command Survey automotive diagnostic installation and whether there is redaction;
When automotive diagnostic installation is detected and there is redaction, described upgrade command is sent to described by described car machine APP Data acquisition service module and described health check-up service module;
Described data acquisition service module disconnects the connection and described bluetooth between according to described upgrade command;Described health check-up Service module sets up the connection with described bluetooth according to described upgrade command, and according to described upgrade command and described redaction pair Described automotive diagnostic installation is upgraded;
Described when described process completes, described data acquisition service module re-establishes the connection and described bluetooth between Step include:
When described upgrading completes, described data acquisition service module re-establishes the connection and described bluetooth between.
Alternatively, described when automotive diagnostic installation is detected and there is redaction, described car machine APP is by described upgrade command It is sent to described data acquisition service module and the step of described health check-up service module includes:
When automotive diagnostic installation is detected and there is redaction, described car machine APP passes through upgrade command described in broadcast transmission.
Alternatively, after the described startup in car machine APP, if described car machine APP receives upgrading or health check-up instruction, described number Disconnected and described bluetooth between according to the described upgrading or health check-up instruction that receive described car machine APP transmission according to collection service module Connection, health check-up service module is according to receiving the described upgrading that described car machine APP sends or health check-up instruction is set up and described indigo plant The connection of tooth, and carry out the step of alignment processing and also include:
After car machine APP starts, if described car machine APP receives described health check-up instruction, described health check-up is instructed and sends To described data acquisition service module and described health check-up service module;
Described data acquisition service module instructs, according to described health check-up, the connection disconnecting and described bluetooth between;Described health check-up Service module sets up the connection with described bluetooth according to described health check-up instruction, and carries out body according to described health check-up instruction to automobile Inspection;
Described when described process completes, described data acquisition service module re-establishes the connection and described bluetooth between Step also include:
When described health check-up completes, described data acquisition service module re-establishes the connection and described bluetooth between.
Alternatively, after the described startup in car machine APP, if described car machine APP receives described health check-up instruction, by described body Inspection instruction is sent to described data acquisition service module and the step of described health check-up service module includes:
After car machine APP starts, if described car machine APP receives described health check-up instruction, described car machine APP passes through broadcast Send described health check-up instruction.
Additionally, for achieving the above object, the present invention also provides a kind of switching device of bluetooth, and described device includes:
Data acquisition service module, for setting up the connection and the bluetooth of automotive diagnostic installation between;
Car machine APP module, for after car machine APP starts, receiving upgrading or health check-up instruction;
Described upgrading or health check-up that described data acquisition service module is additionally operable to according to receiving described car machine APP transmission refer to Order disconnects the connection and described bluetooth between;
Health check-up service module, for according to receive the described upgrading that described car machine APP sends or health check-up instruction set up with The connection of described bluetooth, and carry out alignment processing;
Described data acquisition service module is additionally operable to, when described process completes, re-establish the company and described bluetooth between Connect.
Alternatively, described car machine APP module is additionally operable to after car machine APP starts, if receiving described upgrade command, root Whether there is redaction according to described upgrade command detection automotive diagnostic installation, there is redaction automotive diagnostic installation is detected When, described upgrade command is sent to described data acquisition service module and described health check-up service module;
Described data acquisition service module is additionally operable to disconnect the connection and described bluetooth between according to described upgrade command;
The described upgrade command that described health check-up service module is additionally operable to according to receiving described car machine APP transmission is set up and institute State the connection of bluetooth, and according to described upgrade command and described redaction, described automotive diagnostic installation is upgraded;
Described data acquisition service module is additionally operable to, when described upgrading completes, re-establish the company and described bluetooth between Connect.
Alternatively, described car machine APP module is additionally operable to when automotive diagnostic installation is detected and there is redaction, by broadcast Send described upgrade command.
Alternatively, described car machine APP module is additionally operable to after car machine APP starts, if receiving described health check-up instruction, will Described health check-up instruction is sent to described data acquisition service module and described health check-up service module;
Described data acquisition service module is additionally operable to instruct, according to described health check-up, the connection disconnecting and described bluetooth between;
Described health check-up service module is additionally operable to the connection according to described health check-up instruction foundation and described bluetooth, and automobile is entered Row health check-up;
Described data acquisition service module is additionally operable to, when described health check-up completes, re-establish the company and described bluetooth between Connect.
Alternatively, described car machine APP module is additionally operable to upon actuation, if receiving described health check-up instruction, by broadcast Send described health check-up instruction.
Data acquisition service module of the present invention sets up the connection and the bluetooth of automotive diagnostic installation between;Open in car machine APP After dynamic, if described car machine APP receives upgrading or health check-up instruction, described data acquisition service module is according to receiving described car Described upgrading that machine APP sends or health check-up instruction disconnect the connection and described bluetooth between, and health check-up service module is according to receiving Described upgrading or the connection of health check-up instruction foundation and described bluetooth that described car machine APP sends, and carry out alignment processing;Described When process completes, described data acquisition service module re-establishes the connection and described bluetooth between.By the way, car machine After energising, data acquisition service module starts and connects the bluetooth of automotive diagnostic installation, when needing health check-up or upgrading, vehicle diagnosis The bluetooth of equipment is rapidly switched to be connected with health check-up service module, realizes health check-up or upgrade function;After the completion of health check-up or upgrading, vapour The bluetooth of car diagnostic device is switched back into rapidly and is connected with data acquisition service module, realizes the Real-time Collection of vehicle data.This Bright be connected with car machine application program by the bluetooth of automotive diagnostic installation between be switched fast, it is to avoid bluetooth resource seize and The waste of cpu resource, meets the bluetooth connection demand of each function in car machine system.
Brief description
Fig. 1 is the schematic flow sheet of the changing method first embodiment of bluetooth equipment of the present invention;
Fig. 2 is the general structure schematic diagram of car communication system in first embodiment of the invention;
Fig. 3 is the data flow schematic diagram of bluetooth communication passage in first embodiment of the invention;
Fig. 4 is the schematic flow sheet of the changing method second embodiment of bluetooth equipment of the present invention;
Fig. 5 is the schematic flow sheet of the changing method 3rd embodiment of bluetooth equipment of the present invention;
Fig. 6 is the schematic flow sheet of the changing method fourth embodiment of bluetooth equipment of the present invention;
Fig. 7 is the high-level schematic functional block diagram of the switching device first embodiment of bluetooth equipment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will be described further in conjunction with the embodiments referring to the drawings.
Specific embodiment
It should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The present invention provides a kind of changing method of bluetooth.
With reference to Fig. 1, Fig. 1 is the schematic flow sheet of the changing method first embodiment of bluetooth of the present invention, the cutting of described bluetooth The method of changing includes:
Step S100, data acquisition service module sets up the connection and the bluetooth of automotive diagnostic installation between.
In the present embodiment with automotive diagnostic installation for golo 1s (a kind of bluetooth diagnoses joint, model 1s) as a example carry out Illustrate, certainly, can flexibly can also be selected according to actual needs using other automotive diagnostic installations in being embodied as.
With reference to Fig. 2, car communication system by car machine application system, golo 1s and OBD (On-Board Diagnostic, Onboard diagnostic system) composition, OBD is for the monitoring multiple system of automobile and part at any time, such as electromotor, emission control systems, combustion Oil system etc..After the joint of golo 1s is connected by car machine user with the interface of OBD, the data acquisition service module on car machine Just can be communicated wirelessly with OBD terminal by the bluetooth of golo 1s, obtain the vehicle data that OBD detects in real time, and lead to Cross the Internet and the vehicle data getting is uploaded to data platform, data platform carries out analytical Calculation to data, then by vehicle Run-length data, warning etc. show car machine application system.
Specifically, as a kind of embodiment, after the start of car machine, Android system sends start broadcast: Android.intent.action.BOOT_COMPLETED, data acquisition service module starts after receiving broadcast, and judges Locally whether saving Bluetooth address, if locally saving Bluetooth address, being directly connected to local bluetooth address, if locally Do not preserve Bluetooth address, then eject bluetooth equipment list search equipment, allow user select the bluetooth equipment needing to connect, this reality Apply user in example to select to connect the bluetooth of golo 1s, then data acquisition service module is set up and the bluetooth of golo 1s between Connect, the vehicle data that can be detected with Real-time Collection OBD by golo 1s bluetooth communication passage, data acquisition service module.
Step S200, after car machine APP starts, if described car machine APP receives upgrading or health check-up instruction, described data Collection service module disconnects the connection and described bluetooth between according to described upgrading or health check-up instruction, and health check-up service module is according to connecing Receive the described upgrading of described car machine APP transmission or the connection of health check-up instruction foundation and described bluetooth, and carry out alignment processing.
With reference to Fig. 3, car machine APP, data acquisition service module and health check-up service module pass through bluetooth communication passage and golo 1s terminal is communicated.Data acquisition service module is the data acquisition service shown in figure, and health check-up service module is schemes Shown in health check-up service, data acquisition service module and health check-up service module can be considered that two do not have operation interface Application program.
Specifically, after the start of car machine, user can click on each car machine APP icon in car machine, to start corresponding car machine APP naturally it is also possible to car machine start after, automatic each car machine APP.After car machine APP starts, if car machine APP receives The golo 1s upgrade command of user's triggering, then detect that golo 1s whether there is redaction, if golo 1s is detected there is new edition This, then be sent to data acquisition service module and health check-up service module by upgrade command, according to upgrade command, data acquisition service Module disconnects the connection and the bluetooth of golo 1s between, and health check-up service module sets up the connection and golo 1s bluetooth between, leads to Cross golo 1s Bluetooth channels, health check-up service module can obtain upgrading data and carry out the upgrading of golo 1s.In being embodied as Upgrade command be can also be without being triggered by user and produces, but produces upgrade command according to the timing upgrade function pre-setting, Such as, user can pre-set a timing upgrade cycle, and car machine APP automatically obtains upgrading according to the upgrade cycle setting and refers to Order.
After car machine APP starts, if car machine APP receives the health check-up instruction of user's triggering, health check-up instruction is sent to Data acquisition service module and health check-up service module, instruct according to health check-up, and data acquisition service module disconnects the indigo plant with golo 1s Connection between tooth, health check-up service module sets up the connection and golo 1s bluetooth between, by golo 1s Bluetooth channels, health check-up Service module can obtain the data that OBD detects, and carries out vehicle health check-up according to acquired data.It is embodied as middle health check-up Instruction be can also be without being triggered by user and produces, but produces health check-up instruction according to the timing health check-up function of pre-setting, such as, User can pre-set a timing health check-up cycle, and car machine APP obtains health check-up instruction automatically according to the health check-up cycle setting.
Step S300, when described process completes, described data acquisition service module re-establishes and described bluetooth between Connection.
Specifically, when golo 1s upgrading completes, car machine APP can inform data acquisition service mould by broadcast mode Block, data acquisition service module re-establishes after receiving broadcast and the connection and the bluetooth of golo 1s between.Certainly, car machine APP can not also inform data acquisition service module by way of broadcast, such as directly transmits upgrading END instruction to data Collection service module, data acquisition service module re-establishes and the bluetooth of golo 1s between after receiving upgrading END instruction Connection.
When vehicle health check-up completes, car machine APP can inform data acquisition service module, data acquisition by broadcast mode Service module re-establishes the connection and the bluetooth of golo 1s between after receiving broadcast.Certainly, car machine APP can also be obstructed The mode crossing broadcast informs data acquisition service module, such as directly transmits health check-up END instruction to data acquisition service module, Data acquisition service module re-establishes the connection and the bluetooth of golo 1s between after receiving health check-up END instruction.
In the present embodiment, after the start of car machine, data acquisition service module is set up and the bluetooth of automotive diagnostic installation between Connection;After car machine APP starts, if described car machine APP receives upgrading or health check-up instruction, described data acquisition service mould Tuber disconnects the connection and described bluetooth between, health check-up according to the described upgrading or health check-up instruction receiving described car machine APP transmission Service module sets up the connection with described bluetooth according to the described upgrading or health check-up instruction that receive described car machine APP transmission, and Carry out alignment processing;When described process completes, described data acquisition service module re-establishes the company and described bluetooth between Connect.Because the data acquisition function in car machine system, health check-up function, upgrade function of automotive diagnostic installation etc. set to vehicle diagnosis Standby bluetooth is all exclusive mode, and the bluetooth same time of automotive diagnostic installation can only meet some application journey of a kind of equipment Sequence connects, and in the case of having multiple application programs to attempt a connection to bluetooth, can cause the wave seized with cpu resource of bluetooth resource Take, and the present embodiment sets up the connection between data acquisition service module and the bluetooth of golo 1s by broadcast mode, in car machine After APP starts, the bluetooth of golo 1s is switched to and health check-up service module by the upgrading being sent according to car machine APP or health check-up instruction Connect, complete corresponding upgrading or health check-up function, both ensure that data acquisition service module when the bluetooth of golo 1s is idle with It keeps connecting, and turn avoid the waste seized with cpu resource of bluetooth resource, meets the indigo plant of each function in car machine system Tooth connection requirement.
Further, with reference to Fig. 4, Fig. 4 is the schematic flow sheet of the changing method second embodiment of bluetooth equipment of the present invention.
Based on the embodiment shown in above-mentioned Fig. 1, described step S200 includes:
Step S210, after car machine APP starts, if described car machine APP receives upgrade command, described data acquisition clothes Business module disconnects the connection and described bluetooth between, physical examination clothes according to the described upgrade command receiving described car machine APP transmission Business module sets up the connection with described bluetooth according to the described upgrade command receiving described car machine APP transmission, and carries out automobile The upgrading of diagnostic device.
Step S220, after car machine APP starts, if described car machine APP receives health check-up instruction, described data acquisition clothes Business module disconnects the connection and described bluetooth between, physical examination clothes according to the described health check-up instruction receiving described car machine APP transmission Business module sets up the connection with described bluetooth, driving of going forward side by side according to the described health check-up instruction receiving described car machine APP transmission Health check-up.
Described step S300 includes:
Step S310, when described upgrading completes, described data acquisition service module re-establishes and described bluetooth between Connection.
Step S320, when described health check-up completes, described data acquisition service module re-establishes and described bluetooth between Connection.
Specifically, after car machine APP startup, if car machine APP receives the golo 1s upgrade command of user's triggering, examine Survey golo 1s and whether there is redaction, if golo 1s is detected there is redaction, car machine APP passes through to broadcast upgrade command It is sent to data acquisition service module and health check-up service module, according to upgrade command, data acquisition service module disconnects and golo Connection between the bluetooth of 1s, health check-up service module sets up the connection and golo 1s bluetooth between, is led to by golo 1s bluetooth Road, health check-up service module can obtain upgrading data and carry out the upgrading of golo 1s.
After the completion of golo 1s upgrading, golo 1s is restarted, and after the completion of restarting, car machine APP sends upgrading and terminates broadcast: Stopupgrade, after data acquisition service module receives broadcast, is re-established with golo 1s bluetooth and is connected.
After car machine APP starts, if car machine APP receives the health check-up instruction of user's triggering, by broadcast, health check-up is referred to Order be sent to data acquisition service module and health check-up service module, according to health check-up instruct, data acquisition service module disconnect with Connection between the bluetooth of golo 1s, health check-up service module sets up the connection and the bluetooth of golo1s between, by golo 1s Bluetooth channels, health check-up service module can obtain the data that OBD detects, and carries out vehicle health check-up according to acquired data.
After the completion of vehicle health check-up, car machine APP sends health check-up to be terminated to broadcast: InspectionProcessActicity.stopdiagnose, after data acquisition service module receives broadcast, blue with golo1s Tooth re-establishes connection.
In the present embodiment, after car machine APP startup, if car machine APP receives the upgrade command of user's triggering, and detect There is redaction to automotive diagnostic installation, then the bluetooth of automotive diagnostic installation is switched to and is connected with health check-up service module, health check-up Service module is upgraded to automotive diagnostic installation according to redaction, when upgrading completes, data acquisition service module and automobile The bluetooth of diagnostic device re-establishes connection;If car machine APP receives the health check-up instruction of user's triggering, by automotive diagnostic installation Bluetooth be switched to and be connected with health check-up service module, health check-up service module checks UP to automobile according to health check-up instruction, in health check-up When completing, data acquisition service module is re-established with the bluetooth of automotive diagnostic installation and is connected.The present embodiment passes through golo 1s's Effective switching between data acquisition service module, car machine APP and health check-up service module three for the bluetooth is it is ensured that bluetooth connection Do not conflict, make car machine achieve the functions such as vehicle data Real-time Collection, golo 1s upgrading and vehicle health check-up, meet car machine blue The complicated service condition of tooth system.
Further, with reference to Fig. 5, Fig. 5 is the schematic flow sheet of the changing method 3rd embodiment of bluetooth equipment of the present invention, Based on the embodiment shown in above-mentioned Fig. 4, described step S210 includes:
Step S211, after car machine APP starts, if described car machine APP receives described upgrade command, according to described liter Level command detection automotive diagnostic installation whether there is redaction.
Step S212, when automotive diagnostic installation is detected and there is redaction, described upgrade command is sent out by described car machine APP Give described data acquisition service module and described health check-up service module.
Step S213, described data acquisition service module disconnects the company and described bluetooth between according to described upgrade command Connect, described health check-up service module sets up the company with described bluetooth according to the described upgrade command receiving described car machine APP transmission Connect, and according to described upgrade command and described redaction, described automotive diagnostic installation is upgraded.
Specifically, as a kind of embodiment, after car machine APP starts, if car machine APP receives the golo of user's triggering 1s upgrade command, then with the presence or absence of redaction, if golo 1s is detected there is redaction, car machine APP sends out detection golo 1s Send upgrade broadcasts:Startupgrade, sends upgrade command in other words by way of broadcast:Startupgrade, data is adopted Collection service module receives this upgrade broadcasts and disconnects connection with golo 1s bluetooth in other words after upgrade command, simultaneously can be to Health check-up service module sends interrupt status, then health check-up service module according to the interrupt status of data acquisition service module set up with The connection of golo 1s bluetooth, according to car machine APP, the upgrade command sending and redaction are upgraded to golo 1s.Certainly data Collection service module can not also send interrupt status to health check-up service module, and such as health check-up service module can receive car machine The upgrade broadcasts that APP sends, after receiving upgrade broadcasts, are separated by Preset Time, wait data acquisition service module disconnect with The connection of golo 1s bluetooth, the then connection of the foundation of health check-up service module and golo 1s bluetooth.
Further, use for the convenience of the user, when upgrading to golo 1s, data acquisition service module is acceptable Setting upgrading mark, user can grasp golo 1s upgrade status according to upgrading mark, it is to avoid in escalation process, bluetooth communication goes out Now abnormal, lead to golo 1s to be constantly in upgrade status or upgrade unsuccessful.For example, if the liter of data acquisition service module The level flag set time has exceeded certain estimated time, then user can force to disconnect health check-up service module and golo 1s Bluetooth between connection, terminate the upgrading of golo1s, again allow the bluetooth of data acquisition service module and golo 1s set up even Connect.
In the present embodiment, after car machine APP starts, if car machine APP receives upgrade command, detect automotive diagnostic installation Whether there is redaction, if having, sending upgrade broadcasts, data acquisition service module is interrupted and vehicle diagnosis after receiving upgrade broadcasts Connection between the bluetooth of equipment, and send interrupt status to health check-up service module, health check-up service module is built according to interrupt status The vertical connection with described bluetooth, carries out the upgrading of automotive diagnostic installation.In the present embodiment, each automobile application program is using broadcast The mode notifying realizing Inter-Process Communication, the switching of coordinating bluetooth equipment, makes the user that have registered radio receiver can Receive broadcast, expand communication range.Meanwhile, data acquisition service module arranges upgrading mark in golo 1s escalation process Will, can allow user grasp upgrade status, it is to avoid in escalation process, bluetooth communication occurs extremely, have impact on data acquisition service mould The Real-time Collection to vehicle data for the block.By the way, the present embodiment can assist the multiple application program of shunter and golo 1s Bluetooth between connection it is ensured that quickly effectively switching of bluetooth connection, meet the bluetooth of each function in car machine system Connection requirement.
Further, with reference to Fig. 6, Fig. 6 is the schematic flow sheet of the changing method fourth embodiment of bluetooth of the present invention.It is based on Embodiment shown in above-mentioned Fig. 4, described step S220 includes:
Step S221, after car machine APP starts, if described car machine APP receives described health check-up instruction, by described health check-up Instruction is sent to described data acquisition service module and described health check-up service module.
Step S222, described data acquisition service module instructs, according to described health check-up, the company disconnecting and described bluetooth between Connect, described health check-up service module sets up the connection with described bluetooth according to the described health check-up instruction receiving, and according to described body Inspection instruction checks UP to automobile.
Specifically, as a kind of embodiment, after car machine APP starts, if car machine APP receives the health check-up of user's triggering Instruction, then car machine APP transmission health check-up broadcast:InspectionProcess Acticity.startdiagnose, or succeed in reaching an agreement The mode crossing broadcast sends health check-up instruction:Acticity.startdiagnose, data acquisition service module receives this health check-up Disconnect the connection with golo 1s bluetooth after the broadcast instruction of health check-up in other words, can send to health check-up service module simultaneously and interrupt shape State, health check-up service module sets up the connection with golo 1s bluetooth according to the interrupt status of data acquisition service module, and according to car The health check-up instruction that machine APP sends checks UP to vehicle.Certainly data acquisition service module can not also be to health check-up service module Send interrupt status, such as health check-up service module can receive the health check-up broadcast of car machine APP transmission, after receiving health check-up broadcast, It is separated by Preset Time, waits the connection of data acquisition service module disconnection and golo 1s bluetooth, then health check-up service module is set up Connection with golo 1s bluetooth.
Further, use for the convenience of the user, when checking UP to vehicle, data acquisition service module can also be arranged Health check-up mark, user can grasp vehicle health check-up state according to health check-up mark, it is to avoid in physical examination, bluetooth communication occurs extremely, Lead to that golo 1s is constantly in health check-up state or health check-up is unsuccessful.For example, if the health check-up mark of data acquisition service module is put The position time has exceeded certain estimated time, then user can force to disconnect health check-up service module and golo 1s bluetooth it Between connection, terminate the upgrading of golo 1s, again allow the bluetooth foundation of data acquisition service module and golo 1s be connected.
In the present embodiment, after car machine APP starts, if receiving health check-up instruction, send health check-up broadcast, data acquisition takes Business module interrupts the connection and the bluetooth of automotive diagnostic installation between after receiving health check-up broadcast, and in the transmission of health check-up service module Disconnected state, health check-up service module sets up the connection with bluetooth according to interrupt status, carries out vehicle health check-up, and arranges health check-up mark. In the present embodiment, each automobile application program to realize Inter-Process Communication by the way of broadcast notifies, the cutting of coordinating bluetooth equipment Change, make the user that have registered radio receiver can receive broadcast, expand communication range.Meanwhile, data acquisition service Module arranges health check-up mark in golo 1s escalation process, user can be allowed to grasp health check-up state, it is to avoid bluetooth in physical examination Communication occurs extremely, have impact on the Real-time Collection to vehicle data for the data acquisition service module.By the way, the present embodiment The connection between the multiple application program of shunter and the bluetooth of golo 1s can be assisted it is ensured that quickly effectively the cutting of bluetooth connection Change, meet the bluetooth connection demand of each function in car machine system.
The present invention also provides a kind of switching device of bluetooth.
With reference to Fig. 7, Fig. 7 is the high-level schematic functional block diagram of the switching device first embodiment of bluetooth equipment of the present invention, described The switching device of bluetooth equipment includes:
Data acquisition service module 100, for setting up the connection and the bluetooth of automotive diagnostic installation between.
In the present embodiment with automotive diagnostic installation for golo 1s (a kind of bluetooth diagnoses joint, model 1s) as a example said Bright, certainly, flexibly can also be selected according to actual needs using other automotive diagnostic installations in being embodied as.
With reference to Fig. 2, car communication system by car machine application system, golo 1s and OBD (On-Board Diagnostic, Onboard diagnostic system) composition, OBD is for the monitoring multiple system of automobile and part at any time, such as electromotor, emission control systems, combustion Oil system etc..After the joint of golo 1s is connected by car machine user with the interface of OBD, the data acquisition service module on car machine 100 just can be communicated wirelessly with OBD terminal by the bluetooth of golo 1s, obtain the vehicle data that OBD detects in real time, And the vehicle data getting is uploaded to by data platform by the Internet, data platform carries out analytical Calculation to data, then will Vehicle travel data, warning etc. show car machine application system.
Specifically, as a kind of embodiment, after the start of car machine, Android system sends start broadcast: Android.intent.action.BOOT_COMPLETED, data acquisition service module 100 starts after receiving broadcast, and sentences Breaking and locally whether save Bluetooth address, if locally saving Bluetooth address, being directly connected to local bluetooth address, if this Ground does not preserve Bluetooth address, then eject bluetooth equipment list search equipment, allows user select the bluetooth equipment needing to connect, this In embodiment, user selects to connect the bluetooth of golo 1s, and data acquisition module 100 sets up the company and the bluetooth of golo 1s between Connect, the vehicle data that can be detected with Real-time Collection OBD by golo 1s bluetooth communication passage, data acquisition module 100.
Car machine APP module 200, for after car machine APP starts, receiving upgrading or health check-up instruction.
Described data acquisition service module 100 is additionally operable to described upgrading or the health check-up instruction sending according to described car machine APP Disconnect the connection and described bluetooth between.
Health check-up service module 300, for setting up according to the described upgrading or health check-up instruction that receive described car machine APP transmission With the connection of described bluetooth, and carry out alignment processing.
With reference to Fig. 3, car machine APP, data acquisition service module and health check-up service module pass through bluetooth communication passage and golo 1s terminal is communicated.Data acquisition service module is the data acquisition service shown in figure, and health check-up service module is schemes Shown in health check-up service, data acquisition service module and health check-up service module can be considered that two do not have operation interface Application program.
Specifically, after the start of car machine, user can click on each car machine APP icon in car machine, to start corresponding car machine APP module 200 naturally it is also possible to car machine start after, automatic each car machine APP module 200.Open in car machine APP module 200 After dynamic, if car machine APP module 200 receives the golo 1s upgrade command of user's triggering, detection golo 1s whether there is new Version, if golo 1s is detected there is redaction, upgrade command is sent to data acquisition service module 100 and physical examination clothes Business module 300, according to upgrade command, data acquisition service module 100 disconnects the connection and the bluetooth of golo 1s between, health check-up Service module 300 sets up the connection and golo 1s bluetooth between, and by golo 1s Bluetooth channels, health check-up service module 300 can To obtain upgrading data and to carry out the upgrading of golo 1s.It is embodied as middle upgrade command to can also be without triggering generation by user, But upgrade command is produced according to the timing upgrade function pre-setting, such as, user can pre-set a timing and upgrade In the cycle, car machine APP module 200 obtains upgrade command automatically according to the upgrade cycle setting.
After car machine APP module 200 starts, if car machine APP module 200 receives the health check-up instruction of user's triggering, will Health check-up instruction is sent to data acquisition service module 100 and health check-up service module 300, is instructed according to health check-up, data acquisition service Module 100 disconnects the connection and the bluetooth of golo 1s between, and health check-up service module 300 sets up the company and golo 1s bluetooth between Connect, by golo 1s Bluetooth channels, health check-up service module 300 can obtain the data that OBD detects, and according to acquired Data carries out vehicle health check-up.It is embodied as middle health check-up instruction and can also be without triggering by user producing, but according to pre-setting Timing health check-up function produce health check-up instruction, such as, user can pre-set a timing health check-up cycle, car machine APP module 200 obtain health check-up instruction automatically according to the health check-up cycle setting.
Described data acquisition service module 100 is additionally operable to, when described process completes, re-establish and described bluetooth between Connection.
Specifically, when golo 1s upgrading completes, car machine APP module 200 can inform data acquisition by broadcast mode Service module 100, data acquisition service module 100 re-establishes after receiving broadcast and the company and the bluetooth of golo1s between Connect.Certainly, car machine APP module 200 can not also inform data acquisition service module 100 by way of broadcast, such as directly Send upgrading END instruction to data acquisition service module 100, after data acquisition service module 100 receives upgrading END instruction Re-establish the connection and the bluetooth of golo 1s between.
When vehicle health check-up completes, car machine APP module 200 can inform data acquisition service module by broadcast mode 100, data acquisition service module 100 re-establishes the connection and the bluetooth of golo 1s between after receiving broadcast.Certainly, car Machine APP module 200 can not also inform data acquisition service module 100 by way of broadcast, such as directly transmits health check-up knot Shu Zhiling to data acquisition service module 100, data acquisition service module 100 re-establish after receiving health check-up END instruction with Connection between the bluetooth of golo 1s.
In the present embodiment, after the start of car machine, data acquisition module 100 is set up and the bluetooth of automotive diagnostic installation between Connect;After car machine APP module 200 starts, if car machine APP receives upgrading or health check-up instruction, described data acquisition service Module 100 disconnects the company and described bluetooth between according to the upgrading or health check-up instruction that receive described car machine APP module 200 transmission Connect, health check-up service module 300 according to receive the upgrading that described car machine APP module 200 sends or health check-up instruction set up with described The connection of bluetooth, and carry out alignment processing;When described process completes, described data acquisition service module 100 re-establish with Connection between described bluetooth.Due to the data acquisition function in car machine system, health check-up function, automotive diagnostic installation upgrading work( Energy etc. is all exclusive mode to the bluetooth of automotive diagnostic installation, and the bluetooth same time of automotive diagnostic installation can only meet one kind and set Some standby application connects, and in the case of having multiple application programs to attempt a connection to bluetooth, can cause seizing of bluetooth resource With the waste of cpu resource, and the present embodiment sets up the bluetooth of data acquisition service module 100 and golo 1s by broadcast mode Between connection, car machine APP module 200 start after, according to car machine APP module 200 send upgrading or health check-up instruction will The bluetooth of golo 1s is switched to and is connected with health check-up service module 300, completes corresponding upgrading or health check-up function, both ensure that number Keep being connected with it when the bluetooth of golo 1s is idle according to collection service module 100, turn avoid bluetooth resource seize with The waste of cpu resource, meets the bluetooth connection demand of each function in car machine system.
Further, with reference to Fig. 7, described car machine APP module 200 is additionally operable to, after car machine APP starts, receive upgrading and refer to Order;Described data acquisition service module 100 is additionally operable to be disconnected and described indigo plant according to the described upgrade command that described car machine APP sends Connection between tooth;Described health check-up service module 300 is additionally operable to according to the described upgrade command receiving described car machine APP transmission Set up the connection with described bluetooth, and carry out the upgrading of automotive diagnostic installation.
Or, described car machine APP module 200 is additionally operable to, after car machine APP starts, receive health check-up instruction;Described data is adopted Collection service module 100 is additionally operable to disconnect the connection and described bluetooth between according to the described health check-up instruction that described car machine APP sends; The described health check-up instruction that described health check-up service module 300 is additionally operable to according to receiving described car machine APP transmission is set up and described indigo plant The connection of tooth, a driving health check-up of going forward side by side.
Described data acquisition service module 100 is additionally operable to:
When described upgrading completes, described data acquisition service module 100 re-establishes the connection and described bluetooth between; Or, when described health check-up completes, described data acquisition service module 100 re-establishes the connection and described bluetooth between.
Specifically, after car machine APP module 200 startup, if car machine APP module 200 receives the golo 1s of user's triggering Upgrade command, then detect that golo 1s whether there is redaction, if golo 1s is detected there is redaction, car machine APP module Upgrade command is sent to data acquisition service module 100 and health check-up service module 300 by broadcast by 200, according to upgrade command, Data acquisition service module 100 disconnects the connection and the bluetooth of golo 1s between, and health check-up service module 300 is set up and golo 1s Bluetooth between connection, by golo 1s Bluetooth channels, health check-up service module 300 can obtain upgrading data carrying out The upgrading of golo1s.
After the completion of golo 1s upgrading, golo 1s is restarted, and after the completion of restarting, car machine APP module 200 sends upgrading knot Bundle broadcast:Stopupgrade, after data acquisition service module 100 receives broadcast, is re-established with golo1s bluetooth and is connected.
After car machine APP starts, if car machine APP module 200 receives the health check-up instruction of user's triggering, will by broadcast Health check-up instruction is sent to data acquisition service module 100 and health check-up service module 300, is instructed according to health check-up, data acquisition service Module 100 disconnects the connection and the bluetooth of golo 1s between, and health check-up service module 300 is set up and the bluetooth of golo 1s between Connect, by golo 1s Bluetooth channels, health check-up service module 300 can obtain the data that OBD detects, and according to acquired Data carry out vehicle health check-up.
After the completion of vehicle health check-up, car machine APP sends health check-up to be terminated to broadcast: InspectionProcessActicity.stopdiagnose, after data acquisition service module 100 receives broadcast, with golo 1s bluetooth re-establishes connection.
In the present embodiment, after car machine APP startup, if the upgrading that car machine APP module 200 receives user's triggering refers to Make, and automotive diagnostic installation is detected and there is redaction, then the bluetooth of automotive diagnostic installation is switched to and health check-up service module 300 connections, health check-up service module 300 is upgraded to automotive diagnostic installation according to redaction, when upgrading completes, data acquisition Service module 100 is re-established with the bluetooth of automotive diagnostic installation and is connected;If car machine APP module 200 receives user's triggering Health check-up instructs, then be switched to the bluetooth of automotive diagnostic installation and be connected with health check-up service module 300, health check-up service module 300 According to health check-up instruction, automobile is checked UP, when health check-up completes, data acquisition service module 100 is re-established and set with vehicle diagnosis Connection between standby bluetooth.The present embodiment passes through the bluetooth of golo 1s in data acquisition service module 100, car machine APP module Effective switching between 200 and health check-up service module 300 three, it is ensured that bluetooth connection is not conflicted, makes car machine achieve vehicle The functions such as real time data acquisition, golo 1s upgrading and vehicle health check-up, meet the complicated service condition of car machine Bluetooth system.
Further, with reference to Fig. 7, described car machine APP module 200 is additionally operable to, after car machine APP starts, receive upgrading and refer to Order;
Described data acquisition service module 100 be additionally operable to according to the described upgrade command that described car machine APP sends disconnect with Connection between described bluetooth;
The described upgrade command that described health check-up service module 300 is additionally operable to according to receiving described car machine APP transmission is set up With the connection of described bluetooth, and carry out the upgrading of automotive diagnostic installation.
Specifically, as a kind of embodiment, after car machine APP starts, if car machine APP module 200 receives user and touches The golo 1s upgrade command sent out, then detect that golo 1s whether there is redaction, if golo 1s is detected there is redaction, Car machine APP module 200 sends upgrade broadcasts:Startupgrade, sends upgrade command in other words by way of broadcast: Startupgrade, data acquisition service module 100 receives this upgrade broadcasts and disconnects and golo 1s after upgrade command in other words The connection of bluetooth, can send interrupt status to health check-up service module 300, then health check-up service module 300 is according to data simultaneously The interrupt status of collection service module 100 sets up the connection with golo 1s bluetooth, according to described upgrade command and redaction pair Golo 1s is upgraded.Certainly data acquisition service module 100 can not also send interrupt status to health check-up service module 300, Such as health check-up service module 300 can receive the upgrade broadcasts of car machine APP module 200 transmission, after receiving upgrade broadcasts, is separated by Preset Time, waits the connection of data acquisition service module 100 disconnection and golo 1s bluetooth, and then health check-up service module 300 is built The vertical connection with golo 1s bluetooth.
Further, use for the convenience of the user, when upgrading to golo 1s, data acquisition service module 100 also may be used To arrange upgrading mark, user can grasp golo 1s upgrade status according to upgrading mark, it is to avoid bluetooth communication in escalation process Occur abnormal, lead to golo 1s to be constantly in upgrade status or upgrade unsuccessful.For example, if data acquisition service module 100 The upgrading flag set time exceeded certain estimated time, then user can force to disconnect health check-up service module 300 with Connection between the bluetooth of golo 1s, terminates the upgrading of golo 1s, again allows data acquisition service module 100 and golo 1s Bluetooth set up connect.
In the present embodiment, after car machine APP starts, if car machine APP module 200 receives upgrade command, detect automobile Whether diagnostic device has redaction, if having, sends upgrade broadcasts, and data acquisition service module 100 is interrupted after receiving upgrade broadcasts The connection and bluetooth of automotive diagnostic installation between, and send interrupt status, health check-up service module to health check-up service module 300 300 set up the connection with described bluetooth according to interrupt status, carry out the upgrading of automotive diagnostic installation.Each automobile in the present embodiment Application program realizing Inter-Process Communication, the switching of coordinating bluetooth equipment, makes to have registered broadcast and connects by the way of broadcast notifies The user receiving device can receive broadcast, expands communication range.Meanwhile, data acquisition service module 100 is in golo 1s liter Setting upgrading mark during level, can allow user grasp upgrade status, it is to avoid in escalation process, abnormal, shadow in bluetooth communication Ring the Real-time Collection to vehicle data for the data acquisition service module 100.By the way, the present embodiment can assist shunter Connection between the bluetooth of multiple application programs and golo 1s, it is ensured that quickly effectively switching of bluetooth connection, meets car machine The bluetooth connection demand of each function in system.
Further, with reference to Fig. 7, described car machine APP module 200 is additionally operable to, after car machine APP starts, receive health check-up and refer to Order;
Described data acquisition service module 100 be additionally operable to according to the described health check-up instruction that described car machine APP sends disconnect with Connection between described bluetooth;
The described health check-up instruction that described health check-up service module 300 is additionally operable to according to receiving described car machine APP transmission is set up With the connection of described bluetooth, a driving health check-up of going forward side by side.
Specifically, as a kind of embodiment, after car machine APP starts, if car machine APP module 200 receives user and touches The health check-up instruction sent out, then car machine APP module 200 transmission health check-up broadcast:InspectionProcess Acticity.startdiagnose, sends health check-up instruction in other words by way of broadcast:InspectionProcess Acticity.startdiagnose, data acquisition service module 100 is broken after receiving this health check-up broadcast instruction of health check-up in other words Open the connection with golo 1s bluetooth, interrupt status, health check-up service module 300 can be sent to health check-up service module 300 simultaneously Set up the connection with golo 1s bluetooth according to the interrupt status of data acquisition service module 100, and instructed to car according to described health check-up Check UP.Certainly data acquisition service module 100 can not also send interrupt status to health check-up service module 300, such as Health check-up service module 300 can receive the health check-up broadcast of car machine APP module 200 transmission, after receiving health check-up broadcast, is separated by default Time, wait data acquisition service module 100 to disconnect and the connection of golo 1s bluetooth, then health check-up service module 300 set up with The connection of golo 1s bluetooth.
Further, use for the convenience of the user, when checking UP to vehicle, data acquisition service module 100 is acceptable Setting health check-up mark, user can grasp vehicle health check-up state according to health check-up mark, it is to avoid in physical examination, bluetooth communication occurs Abnormal, lead to that golo 1s is constantly in health check-up state or health check-up is unsuccessful.For example, if the body of data acquisition service module 100 The inspection flag set time has exceeded certain estimated time, then user can force to disconnect health check-up service module 300 and golo Connection between the bluetooth of 1s, terminates the upgrading of golo 1s, again allows the bluetooth of data acquisition service module 100 and golo 1s Set up and connect.
In the present embodiment, after car machine APP starts, if receiving health check-up instruction, send health check-up broadcast, data acquisition takes Business module 100 interrupts the connection and the bluetooth of automotive diagnostic installation between after receiving health check-up broadcast, and to health check-up service module 300 Send interrupt status, health check-up service module 300 sets up the connection and described bluetooth between according to interrupt status, carries out vehicle body Inspection, and health check-up mark is set.In the present embodiment, each automobile application program to be realized leading between process by the way of broadcast notifies News, the switching of coordinating bluetooth equipment, make the user that have registered radio receiver can receive broadcast, expand communication model Enclose.Meanwhile, data acquisition service module 100 arranges health check-up mark in golo 1s escalation process, and user can be allowed to grasp health check-up State, it is to avoid in physical examination, bluetooth communication occurs extremely, have impact on data acquisition service module 100 real-time to vehicle data Collection.By the way, the present embodiment can assist the connection between the multiple application program of shunter and the bluetooth of golo 1s, Ensure that quickly effectively switching of bluetooth connection, meet the bluetooth connection demand of each function in car machine system.
These are only the preferred embodiments of the present invention, not thereby limit the present invention the scope of the claims, every using this Equivalent structure or equivalent flow conversion that bright description and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of changing method of bluetooth is it is characterised in that comprise the steps:
Data acquisition service module sets up the connection and the bluetooth of automotive diagnostic installation between;
After car machine APP starts, if described car machine APP receives upgrading or health check-up instruction, described data acquisition service module Described upgrading or health check-up instruction according to receiving described car machine APP transmission disconnects the connection and described bluetooth between, physical examination clothes Business module, according to receiving described upgrading or health check-up instruction foundation and the connection of described bluetooth that described car machine APP sends, is gone forward side by side Row alignment processing;
When described process completes, described data acquisition service module re-establishes the connection and described bluetooth between.
2. the method for claim 1 it is characterised in that described car machine APP start after, if described car machine APP receive To upgrading or health check-up instruction, then described data acquisition service module according to the described upgrading receiving described car machine APP transmission or Health check-up instruction disconnects the connection and described bluetooth between, and health check-up service module is according to receiving the described of described car machine APP transmission Upgrade or health check-up instructs the connection set up with described bluetooth, and carry out the step of alignment processing and include:
After car machine APP starts, if described car machine APP receives described upgrade command, vapour is detected according to described upgrade command Car diagnostic device whether there is redaction;
When automotive diagnostic installation is detected and there is redaction, described upgrade command is sent to described data by described car machine APP Collection service module and described health check-up service module;
Described data acquisition service module disconnects the connection and described bluetooth between according to described upgrade command;Described health check-up service Module sets up the connection with described bluetooth according to described upgrade command, and according to described upgrade command and described redaction to described Automotive diagnostic installation is upgraded;
Described when described process completes, described data acquisition service module re-establishes the step being connected between described bluetooth Rapid inclusion:
When described upgrading completes, described data acquisition service module re-establishes the connection and described bluetooth between.
3. method as claimed in claim 2 it is characterised in that described when automotive diagnostic installation is detected and there is redaction, Described upgrade command is sent to described data acquisition service module and the step bag of described health check-up service module by described car machine APP Include:
When automotive diagnostic installation is detected and there is redaction, described car machine APP passes through upgrade command described in broadcast transmission.
4. the method for claim 1 it is characterised in that described car machine APP start after, if described car machine APP receive To upgrading or health check-up instruction, then described data acquisition service module according to the described upgrading receiving described car machine APP transmission or Health check-up instruction disconnects the connection and described bluetooth between, and health check-up service module is according to receiving the described of described car machine APP transmission Upgrade or health check-up instructs the connection set up with described bluetooth, and carry out the step of alignment processing and also include:
After car machine APP starts, if described car machine APP receives described health check-up instruction, described health check-up instruction is sent to institute State data acquisition service module and described health check-up service module;
Described data acquisition service module instructs, according to described health check-up, the connection disconnecting and described bluetooth between;Described health check-up service Module sets up the connection with described bluetooth according to described health check-up instruction, and according to described health check-up instruction, automobile is checked UP;
Described when described process completes, described data acquisition service module re-establishes the step being connected between described bluetooth Suddenly also include:
When described health check-up completes, described data acquisition service module re-establishes the connection and described bluetooth between.
5. method as claimed in claim 4 it is characterised in that described car machine APP start after, if described car machine APP receive To described health check-up instruction, then described health check-up instruction is sent to described data acquisition service module and described health check-up service module Step includes:
After car machine APP starts, if described car machine APP receives described health check-up instruction, described car machine APP passes through broadcast transmission Described health check-up instruction.
6. a kind of switching device of bluetooth is it is characterised in that described device includes:
Data acquisition service module, for setting up the connection and the bluetooth of automotive diagnostic installation between;
Car machine APP module, for after car machine APP starts, receiving upgrading or health check-up instruction;
Described upgrading or health check-up instruction that described data acquisition service module is additionally operable to according to receiving described car machine APP transmission are disconnected Open the connection and described bluetooth between;
Health check-up service module, for according to receive the described upgrading that described car machine APP sends or health check-up instruction set up with described The connection of bluetooth, and carry out alignment processing;
Described data acquisition service module is additionally operable to, when described process completes, re-establish the connection and described bluetooth between.
7. device as claimed in claim 6 it is characterised in that
Described car machine APP module is additionally operable to after car machine APP starts, if receiving described upgrade command, according to described upgrading Command detection automotive diagnostic installation whether there is redaction;When automotive diagnostic installation is detected and there is redaction, by described liter Level instruction is sent to described data acquisition service module and described health check-up service module;
Described data acquisition service module is additionally operable to disconnect the connection and described bluetooth between according to described upgrade command;
Described health check-up service module is additionally operable to the connection according to the foundation of described upgrade command and described bluetooth, and according to described upgrading Instruction and described redaction are upgraded to described automotive diagnostic installation;
Described data acquisition service module is additionally operable to, when described upgrading completes, re-establish the connection and described bluetooth between.
8. device as claimed in claim 7 is it is characterised in that described car machine APP module is additionally operable to vehicle diagnosis is being detected When equipment has redaction, by upgrade command described in broadcast transmission.
9. device as claimed in claim 6 it is characterised in that
Described car machine APP module is additionally operable to after car machine APP starts, if receiving described health check-up instruction, described health check-up is referred to Order is sent to described data acquisition service module and described health check-up service module;
Described data acquisition service module is additionally operable to instruct, according to described health check-up, the connection disconnecting and described bluetooth between;
Described health check-up service module is additionally operable to the connection according to described health check-up instruction foundation and described bluetooth, and carries out body to automobile Inspection;
Described data acquisition service module is additionally operable to, when described health check-up completes, re-establish the connection and described bluetooth between.
10. device as claimed in claim 9 is it is characterised in that described car machine APP module is additionally operable to upon actuation, if receiving To described health check-up instruction, then pass through health check-up instruction described in broadcast transmission.
CN201610696409.0A 2016-08-19 2016-08-19 Bluetooth switching method and device Pending CN106454697A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610696409.0A CN106454697A (en) 2016-08-19 2016-08-19 Bluetooth switching method and device
PCT/CN2016/105539 WO2018032622A1 (en) 2016-08-19 2016-11-12 Bluetooth switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610696409.0A CN106454697A (en) 2016-08-19 2016-08-19 Bluetooth switching method and device

Publications (1)

Publication Number Publication Date
CN106454697A true CN106454697A (en) 2017-02-22

Family

ID=58182437

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610696409.0A Pending CN106454697A (en) 2016-08-19 2016-08-19 Bluetooth switching method and device

Country Status (2)

Country Link
CN (1) CN106454697A (en)
WO (1) WO2018032622A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107154962A (en) * 2017-03-30 2017-09-12 深圳市元征科技股份有限公司 vehicle software operation method and device
WO2018032622A1 (en) * 2016-08-19 2018-02-22 深圳市元征科技股份有限公司 Bluetooth switching method and device
CN111246441A (en) * 2020-02-26 2020-06-05 深圳市岍丞技术有限公司 Method, system and storage medium for connecting Bluetooth headset and terminal
CN112911563A (en) * 2021-01-27 2021-06-04 广州橙行智动汽车科技有限公司 Bluetooth connection method and system based on multiple terminals
WO2021254160A1 (en) * 2020-06-17 2021-12-23 成都极米科技股份有限公司 Bluetooth device and bluetooth preemption method and apparatus therefor, and computer-readable storage medium
CN113965895A (en) * 2021-12-16 2022-01-21 深圳市晨北科技有限公司 Bluetooth connection switching method, equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008005730A2 (en) * 2006-07-05 2008-01-10 Agere Systems Inc. Systems and methods for implementing hands free operational environments
CN101340212A (en) * 2007-07-03 2009-01-07 艾威梯软件技术(北京)有限公司 Method, apparatus and system for triggering automatic switchover of Bluetooth connecting device by key pressing
CN102930889A (en) * 2012-10-26 2013-02-13 北京世纪联成科技有限公司 Sound conflict processing method based on vehicle-mounted information entertainment system
CN103412554A (en) * 2013-04-07 2013-11-27 北京兴科迪科技有限公司 Intelligent wireless diagnostic system and method
CN104394190A (en) * 2014-10-22 2015-03-04 宏景电子(芜湖)有限公司 Vehicle-mounted equipment and mobile phone integral system based on Bluetooth transmission
CN104683940A (en) * 2015-03-05 2015-06-03 丰唐物联技术(深圳)有限公司 Bluetooth connection switching method and system
CN105404270A (en) * 2015-10-26 2016-03-16 深圳市轱辘软件开发有限公司 Vehicle-mounted diagnosis method, vehicle-mounted terminal and mobile terminal
CN105915618A (en) * 2016-04-29 2016-08-31 深圳市元征科技股份有限公司 Vehicle control device, vehicle mounted terminal, vehicle diagnosing system and vehicle diagnosing system
CN106231684A (en) * 2016-07-14 2016-12-14 深圳市元征软件开发有限公司 The connection control method of car machine bluetooth and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5558988B2 (en) * 2010-09-21 2014-07-23 株式会社デンソー In-vehicle machine
CN108419226B (en) * 2012-09-27 2020-12-25 华为终端有限公司 Method for connecting Bluetooth devices and Bluetooth devices
CN105392212A (en) * 2015-10-30 2016-03-09 上海卓易科技股份有限公司 Automatic Bluetooth reconnection method, system and intelligent terminal
CN105407225A (en) * 2015-11-27 2016-03-16 青岛海信信芯科技有限公司 Data transmission method and Bluetooth equipment
CN106454697A (en) * 2016-08-19 2017-02-22 深圳市元征科技股份有限公司 Bluetooth switching method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008005730A2 (en) * 2006-07-05 2008-01-10 Agere Systems Inc. Systems and methods for implementing hands free operational environments
CN101340212A (en) * 2007-07-03 2009-01-07 艾威梯软件技术(北京)有限公司 Method, apparatus and system for triggering automatic switchover of Bluetooth connecting device by key pressing
CN102930889A (en) * 2012-10-26 2013-02-13 北京世纪联成科技有限公司 Sound conflict processing method based on vehicle-mounted information entertainment system
CN103412554A (en) * 2013-04-07 2013-11-27 北京兴科迪科技有限公司 Intelligent wireless diagnostic system and method
CN104394190A (en) * 2014-10-22 2015-03-04 宏景电子(芜湖)有限公司 Vehicle-mounted equipment and mobile phone integral system based on Bluetooth transmission
CN104683940A (en) * 2015-03-05 2015-06-03 丰唐物联技术(深圳)有限公司 Bluetooth connection switching method and system
CN105404270A (en) * 2015-10-26 2016-03-16 深圳市轱辘软件开发有限公司 Vehicle-mounted diagnosis method, vehicle-mounted terminal and mobile terminal
CN105915618A (en) * 2016-04-29 2016-08-31 深圳市元征科技股份有限公司 Vehicle control device, vehicle mounted terminal, vehicle diagnosing system and vehicle diagnosing system
CN106231684A (en) * 2016-07-14 2016-12-14 深圳市元征软件开发有限公司 The connection control method of car machine bluetooth and system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018032622A1 (en) * 2016-08-19 2018-02-22 深圳市元征科技股份有限公司 Bluetooth switching method and device
CN107154962A (en) * 2017-03-30 2017-09-12 深圳市元征科技股份有限公司 vehicle software operation method and device
CN111246441A (en) * 2020-02-26 2020-06-05 深圳市岍丞技术有限公司 Method, system and storage medium for connecting Bluetooth headset and terminal
WO2021254160A1 (en) * 2020-06-17 2021-12-23 成都极米科技股份有限公司 Bluetooth device and bluetooth preemption method and apparatus therefor, and computer-readable storage medium
CN112911563A (en) * 2021-01-27 2021-06-04 广州橙行智动汽车科技有限公司 Bluetooth connection method and system based on multiple terminals
CN113965895A (en) * 2021-12-16 2022-01-21 深圳市晨北科技有限公司 Bluetooth connection switching method, equipment and storage medium
CN113965895B (en) * 2021-12-16 2022-09-02 深圳市晨北科技有限公司 Bluetooth connection switching method, equipment and storage medium

Also Published As

Publication number Publication date
WO2018032622A1 (en) 2018-02-22

Similar Documents

Publication Publication Date Title
CN106454697A (en) Bluetooth switching method and device
US10243760B2 (en) Communication device, communication method, and communication system
CN104966382B (en) Physiological driver's condition monitoring and reply system and method
CN102929669B (en) A kind of embedded software upgrade method, system and device
TWI575465B (en) Intelligent cloud car instant repair system
US20140107886A1 (en) System to View Automobile Diagnostic Information
JP3956694B2 (en) In-vehicle information communication system and in-vehicle power supply control unit
CN103986920B (en) A kind of mounted remote camera monitoring system and its control method
US11679632B2 (en) Tire pressure sensor identification method and related apparatus and system
CN106683228A (en) Driving environment-based fuel oil economical efficiency evaluation method and apparatus and server
CN102700480A (en) Vehicle-mounted head-up display and OBD (On-Board Diagnostic) data processing method based on same
CN106960481A (en) A kind of method that abnormal driving behavior is monitored based on police smart mobile phone
TWI713827B (en) Method and related equipment for allocation of fleet resources
US11142069B2 (en) Control device for controlling vehicle, method for controlling vehicle, and storage medium
CN106231684A (en) The connection control method of car machine bluetooth and system
CN108200164A (en) A kind of data operating systems of pilotless automobile under internet
CN106998530A (en) A kind of UE travel informations monitoring method and device
CN207457740U (en) Vehicle-mounted data acquisition terminal for constructing driving condition of light vehicle
CN106569484B (en) A kind of offline initialization automatic testing method of automobile and system
CN104394188B (en) A kind of method and system of car networking data transmission
CN110677806A (en) Automobile and trailer safety driving early warning method and system
CN109981336A (en) Vehicle intelligent gateway system and its operating method
CN107315626B (en) Vehicle-mounted multimedia and control method thereof
CN106774230B (en) Universal wireless diagnosis and communication device, wireless diagnosis and communication system, and wireless diagnosis and communication method
CN204904387U (en) Vehicle status monitoring device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170222

RJ01 Rejection of invention patent application after publication