The content of the invention
The problem of present invention is solved is that onboard system memory data output is low in the prior art, and data storage is dangerous, outside
Connect storage medium plug frequent, user's inconvenient problem with use.
To solve the above problems, technical scheme provides a kind of vehicle-mounted end, including:
On-vehicle Bluetooth interface, to carry out Bluetooth communication with exterior terminal;
Detection unit, after the file transmission request that exterior terminal is sent is obtained, to detect the external of the vehicle-mounted end
Storage medium;
Receiving unit, after the external storage medium of the detection unit detection vehicle-mounted end is normal, to pass through institute
The file that exterior terminal described in on-vehicle Bluetooth interface is sent is stated, the file is stored in the external storage medium.
To solve the above problems, technical scheme additionally provides a kind of document transmission system, including:
Above-mentioned vehicle-mounted end and the exterior terminal with blue tooth interface,
The exterior terminal to the vehicle-mounted end by the blue tooth interface to send file transmission request and file;
The vehicle-mounted end to by described in its on-vehicle Bluetooth interface exterior terminal send file transmission request and
File.
Compared with prior art, the present invention has advantages below:
It will be stored in by the file of Bluetooth transmission (data are preserved in the form of a file) in external storage medium, due to outer
The capacity for connecing storage medium is relatively large, therefore can store more file.In addition, by Bluetooth transmission file, also reducing
The plug of external storage medium, reduces the wear rate of docking port, is user-friendly.
Before the file is stored, check whether the external storage medium is normal.External storage medium normally includes
External storage medium is connected and read-write with vehicle-mounted end, for the external storage medium bound with vehicle-mounted end, external storage medium
It is the external storage medium bound with vehicle-mounted end normally also to include the external storage medium.In the normal situation of external storage medium
Under, by Bluetooth receptions file, otherwise, reject and send prompt message.This can ensure the file by Bluetooth transmission
Storage that can accurately, safe is into external storage medium.
Embodiment
It is understandable to enable the above objects, features and advantages of the present invention to become apparent, below in conjunction with the accompanying drawings to the present invention
Embodiment be described in detail.
Detail is elaborated in the following description to fully understand the present invention.But the present invention can with it is a variety of not
It is same as other manner described here to implement, those skilled in the art can do class in the case of without prejudice to intension of the present invention
Like popularization.Therefore the present invention is not limited by following public embodiment.
Fig. 1 is the structure chart of vehicle-mounted end provided in an embodiment of the present invention, is described in detail with reference to Fig. 1.
The vehicle-mounted end includes:
On-vehicle Bluetooth interface 1, to carry out Bluetooth communication with exterior terminal;
Detection unit 2, after the file transmission request that exterior terminal is sent is obtained, to detect the external of the vehicle-mounted end
Storage medium;Detection unit 2 is connected with the on-vehicle Bluetooth interface 1;
Receiving unit 3, after external storage medium to detect the vehicle-mounted end in the detection unit 2 is normal, passes through
The on-vehicle Bluetooth interface 1 receives the file that the exterior terminal is sent, and the file is stored in into the external storage medium
In;Receiving unit 3 is connected with the on-vehicle Bluetooth interface 1 and detection unit 2.
The external storage medium can be flash disk, SD (Secure Digital Memory Card) cards, mobile hard disk
Deng storage medium.The file can be the data of the forms such as document, audio, video, picture.
In specific implementation process, the vehicle-mounted end can flexibly handle the file sent by exterior terminal and transmit request
Or file, can be specifically:
The receiving unit 3 can reject the file according to the operation of user, and send carrying rejection letter
First prompt message of breath.The receiving unit 3 can also send carrying and receive fileinfo when confirming to receive the file
The 6th prompt message.The receiving unit 3 can also be cancelled during the file is received and receive the file cocurrent
Go out to carry the 7th prompt message cancelled and receive fileinfo.
The detection unit 2 can detect the external storage medium it is abnormal when, send that carrying is described external to deposit
Second prompt message of the abnormal information of storage media.The external storage medium normally include the external storage medium with it is described
Vehicle-mounted end connects and can perform read-write operation.Vehicle-mounted end is judged whether by having detected whether that external storage medium is connected thereto
There is external storage medium, in the case where there is external storage medium, whether read-write continuing checking for the external storage medium.
For the external storage medium bound with vehicle-mounted end, the external storage medium normally also includes:The external storage medium is deposited
The storage-medium information that the vehicle-mounted client information of storage is matched with the vehicle-mounted end or the vehicle-mounted end is stored and the external storage
Medium is matched.For example, the vehicle-mounted end that the numbering of SD card unanimously or in SD card is stored with record in the numbering of the SD card of vehicle-mounted end
Device numbering it is consistent with the device numbering of vehicle-mounted end etc..
During the receiving unit 3 receives the file, the detection unit 2 can detect described external in real time
Whether storage medium is normal, if the external storage medium is normal, in the file end of transmission, sends carrying and transfers
Finish the 3rd prompt message of information;Otherwise, the 4th prompt message for carrying file bust this information is sent.
The vehicle-mounted end can also include deleting unit (not shown), to send described in the detection unit 2
After 4th prompt message, the data transmitted of the file of the bust this preserved in the external storage medium are deleted.This
The fragmentation of data being stored in external storage medium can be reduced, the memory space of external storage medium is saved.
The vehicle-mounted end can also send file transmission to the exterior terminal by bluetooth and ask and file, described vehicle-mounted
End can also include request issue unit (not shown), to send file transmission request or text to the exterior terminal
Part.
The vehicle-mounted end can also include administrative unit (not shown), to according to transmission time, the type of file
Or the size of file manages in the external storage medium file of transmission success.
The vehicle-mounted end can also include display unit, to show each above-mentioned prompt message and file transmission request.
Fig. 2 is document transmission system provided in an embodiment of the present invention, is described in detail with reference to Fig. 2.
The document transmission system includes:
Vehicle-mounted end 10 and the exterior terminal 20 with blue tooth interface, the vehicle-mounted end 10 can be the vehicle-mounted ends shown in Fig. 1.
The exterior terminal 20 can be the equipment that onboard system, mobile phone, notebook computer etc. have blue tooth interface.
Wherein, the exterior terminal 20 is asked to send file transmission to the vehicle-mounted end 10 by the blue tooth interface
And file;The vehicle-mounted end 10 transmits request to the file sent by exterior terminal 20 described in its on-vehicle Bluetooth interface
And file.
The vehicle-mounted end 10 can also be transmitted to send file to the exterior terminal 20 by its on-vehicle Bluetooth interface
Request and file;The exterior terminal 20 can also be to receive the file that the vehicle-mounted end 10 is sent by the blue tooth interface
Transmission request and file.Vehicle-mounted end 10 and exterior terminal 20 can send or receive file transmission request and text each other by bluetooth
Part.
Fig. 3 is the flow chart of document transmission system work provided in an embodiment of the present invention, detailed with reference to Fig. 1 to Fig. 3
Explanation.
In the present embodiment, the document transmission system includes mobile phone 21 and vehicle-mounted end 10 with blue tooth interface, passes through hand
Machine 21 sends file to the vehicle-mounted end 10.The file can be the data of the forms such as document, audio, video, picture.It is vehicle-mounted
The external storage medium at end 10 is the SD card bound with vehicle-mounted end 10.Vehicle-mounted end 10 have recorded the numbering for the SD card bound with it,
Vehicle-mounted end 10 can bind one or more SD card.
By before Bluetooth transmission file, it is necessary to confirm that mobile phone 21 and vehicle-mounted end 10 have completed Bluetooth pairing, both can enter
Row Bluetooth communication.
Mobile phone 21 sends file transmission to vehicle-mounted end 10 by its blue tooth interface and asked.The detection unit 2 of vehicle-mounted end 10 is led to
Cross on-vehicle Bluetooth interface 1 to obtain after the file transmission request, show that this document transmission please in the display interface of vehicle-mounted end 10
Ask.If vehicle-mounted end 10 determines to receive the file that mobile phone 21 is sent, the detection unit 2 is sent " please send file " to mobile phone 21
Prompt message, if vehicle-mounted end 10 rejection mobile phone 21 send file, the detection unit 2 is sent to mobile phone 21 " refuses
Also stop showing that this document transmission is asked in the prompt message of exhausted reception file ", the display interface of the vehicle-mounted end 10, return is aobvious
Show the main interface at interface.
Vehicle-mounted end 10 determines to receive after the file that mobile phone 21 is sent, and detection unit 2 detects that the SD card of the vehicle-mounted end 10 is
It is no normal.The normal situation of SD card is connected with vehicle-mounted end 10 including SD card and can be written and read operation, and is and vehicle-mounted end 10
The SD card of binding.
Whether specific detection SD card can be normally first to check SD card with the presence or absence of (vehicle-mounted end 10 can be by detection
It is no that there is connected SD card to judge whether SD card), if the prompt message that " SD card please be insert " is sent in the absence of if,
If SD card is present, continues checking for whether SD card is read-write, the prompt message of " SD card is damaged " is sent if it can not read and write, if
SD card is read-write, then whether the numbering for continuing checking for SD card is consistent in the numbering of the SD card of vehicle-mounted end 10 with record, if both
Numbering is inconsistent, sends the prompt message of " please check SD card ".Occurs at least one detection in above-mentioned detection unqualified, then SD
Card just belongs to abnormal situation, and vehicle-mounted end 10 just can not receive file.Above-mentioned each prompt message can be in the aobvious of vehicle-mounted end 10
Show in interface and show, to point out user.
Detect that SD card is present and readable, and for after the SD card bound with vehicle-mounted end 10, detection unit 2 is to receiving unit 3
Send and receive signal, receiving unit 3 is obtained after the reception signal, and the text that mobile phone 21 is sent is received by on-vehicle Bluetooth interface 1
Part.Receiving unit 3 is during file is received, the prompting letter of display " in file transmission " in the display interface of vehicle-mounted end 10
Breath.Receiving unit 3 is during file is received, and whether detection SD card is normal in real time for detection unit 2, if SD card is normal,
In the file end of transmission, the prompt message of " file end of transmission " is sent, the prompt message may be displayed on vehicle-mounted end
In 10 display interface, and send to mobile phone 21;If it was found that SD card is abnormal, sending to mobile phone 21 and sending " file transmission
The prompt message of failure ", shows the prompting letter of " file bust this please check SD card " in the display interface of vehicle-mounted end 10
Breath.
After file transmission success, vehicle-mounted end 10 can show the prompt message of " whether opening file " in display interface,
The main interface of display interface is returned if not opening, if opening, checks whether vehicle-mounted end 10 supports this document form, if supporting
This document is then opened, if not supporting, the prompt message or return of " this document form please be check " are shown in display interface
The main interface of display interface.
If in receiving unit 3 during file is received, cancelling and receiving file, then carrying for " cancelling file transmission " is sent
Show information and be shown in the display interface of vehicle-mounted end 10.
Cause bust this if file bust this, such as SD card are abnormal and cancel file transmission, vehicle-mounted end 10 can be with
Delete the data of the file of the bust this preserved in SD card.
The administrative unit of vehicle-mounted end 10 can be managed in SD card according to the size of transmission time, the type of file or file
The file of transmission success.
Vehicle-mounted end 10 can also send file transmission to mobile phone 21 by vehicle-mounted end blue tooth interface 1 and ask, and be connect in mobile phone 21
Receive after this document transmission request, file is sent to mobile phone 21 by vehicle-mounted end blue tooth interface 1.
In other embodiments, if vehicle-mounted end 10 determine receive mobile phone 21 send file, can also from receiving unit 3 to
Mobile phone 21 sends the prompt message of " please send file ", can be by connecing if the file that the rejection mobile phone 21 of vehicle-mounted end 10 is sent
Receive and also stop showing in the prompt message that unit 3 sends " rejection file " to mobile phone 21, the display interface of the vehicle-mounted end 10
Show this document transmission request, return to the main interface of display interface.
Technical scheme at least has the advantage that:
It will be stored in by the file of Bluetooth transmission (data are preserved in the form of a file) in external storage medium, due to outer
The capacity for connecing storage medium is relatively large, therefore can store more file.In addition, by Bluetooth transmission file, also reducing
The plug of external storage medium, reduces the wear rate of docking port, is user-friendly.
Before the file is stored, check whether the external storage medium is normal.External storage medium normally includes
External storage medium is connected and read-write with vehicle-mounted end, for the external storage medium bound with vehicle-mounted end, external storage medium
It is the external storage medium bound with vehicle-mounted end normally also to include the external storage medium.In the normal situation of external storage medium
Under, by Bluetooth receptions file, otherwise, reject and send prompt message.This can ensure the file by Bluetooth transmission
Storage that can accurately, safe is into external storage medium.
Although the present invention is disclosed as above with preferred embodiment, it is not for limiting the present invention, any this area
Technical staff without departing from the spirit and scope of the present invention, may be by the methods and techniques content of the disclosure above to this hair
Bright technical scheme makes possible variation and modification, therefore, every content without departing from technical solution of the present invention, according to the present invention
Any simple modifications, equivalents, and modifications made to above example of technical spirit, belong to technical solution of the present invention
Protection domain.