CN105100249B - Picture transfer control system and its involved safeguard protection respectively held, transmission method - Google Patents
Picture transfer control system and its involved safeguard protection respectively held, transmission method Download PDFInfo
- Publication number
- CN105100249B CN105100249B CN201510461397.9A CN201510461397A CN105100249B CN 105100249 B CN105100249 B CN 105100249B CN 201510461397 A CN201510461397 A CN 201510461397A CN 105100249 B CN105100249 B CN 105100249B
- Authority
- CN
- China
- Prior art keywords
- target photo
- picture
- stored
- module
- data recorder
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C5/00—Registering or indicating the working of vehicles
- G07C5/08—Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Television Signal Processing For Recording (AREA)
- Traffic Control Systems (AREA)
Abstract
The present invention relates to intelligent terminal picture transfer technical fields, propose a kind of automobile data recorder picture transfer control method, the method includes having: automobile data recorder captures instruction acquisition Target Photo in response to user and stores it in local storage medium;The Target Photo is uploaded to mobile terminal by first passage by automobile data recorder automatically;The Target Photo obtained automatically from first passage is automatically uploaded to cloud by second channel by mobile terminal simultaneously;Automobile data recorder obtains the results of comparison list that mobile terminal is fed back according to from first passage, deletes the Target Photo for being stored in local storage medium specified in the results of comparison list.Further relate to a kind of picture safeguard protection, transmission method and its corresponding terminal.The present invention realizes the safeguard protection and automatic transfer in real time of picture file, avoids picture and is stored in automobile data recorder end and loses since memory capacity is limited capped.
Description
[technical field]
The present invention relates to intelligent terminal picture transfer technical fields, are related to a kind of automobile data recorder picture transfer controlling party
Method, specifically further relates to the picture method for security protection of a kind of automobile data recorder and its use, correspondingly, further relating to a kind of picture peace
Full transmission method and its corresponding mobile terminal.
[background technique]
Automobile data recorder can recorde the video image and sound of vehicle in the process of moving, be equivalent to the black box of vehicle
Son.When user drives, the video camera on automobile data recorder is opened, so that it may pass through the landscape or road conditions letter of video camera shooting on the way
Captured video information, is then stored in local storage device by breath, since video file memory capacity is big generally not
Video can be directly saved, but is provided with candid photograph function on automobile data recorder, obtained picture will be captured and be stored in local deposit
In storage device.But due to the limited storage space of automobile data recorder, when memory space is filled with, if the picture saved
Information does not shift in time, it will usually which the picture file increased newly is covered and lost.And in the prior art, exist and passes through row
Vehicle recorder is directly connected to internet and sends the important picture file or video file to Cloud Server, but by being passed
Defeated file occupies biggish space, directly uploads this document to server by the linking Internet that mobile communications network provides
When, the campus network of great number can be generated.
Moreover, not carrying out contingency table to picture file when uploading the picture file to Cloud Server in the prior art
Note can only oneself time-consuming when other users being caused to search the picture file based on a certain classification or a certain location by internet
The lookup time that user is wasted to distinguish is checked one by one.
[summary of the invention]
One object of the present invention aims to solve the problem that at least one above-mentioned problem, provides a kind of automobile data recorder picture transfer
Control method.
A further object of the present invention aims to solve the problem that at least one above-mentioned problem, provides a kind of picture method for security protection
And its corresponding automobile data recorder, for guaranteeing that picture is protected by the unloading of safety.
Another object of the present invention aims to solve the problem that at least one above-mentioned problem, provides a kind of picture safe transmission method
And its corresponding mobile terminal, for guaranteeing upload of the picture by safety.
To realize the purpose, the present invention adopts the following technical scheme:
The present invention provides a kind of automobile data recorder picture transfer control methods, include the following steps:
Automobile data recorder captures instruction acquisition Target Photo in response to user and stores it in local storage medium;
The Target Photo is uploaded to mobile terminal by first passage by automobile data recorder automatically;
The Target Photo obtained automatically from first passage is automatically uploaded to cloud by second channel by mobile terminal simultaneously;
Automobile data recorder obtains the results of comparison list that mobile terminal is fed back according to from first passage, deletes the results of comparison
The Target Photo for being stored in local storage medium specified in list.
Further, the first passage is Bluetooth transmission channel;The second channel is WiFi transmission channel.
The present invention also provides a kind of automobile data recorder picture method for security protection, comprising the following steps:
It is instructed in response to capturing, acquisition Target Photo is captured by camera and is stored in local storage medium;
In response to detecting the stored event of Target Photo, the Target Photo being locally stored is passed by preset bluetooth
Defeated channel uploads automatically;
According to the results of comparison list that the Bluetooth transmission channel obtains, specified in the results of comparison list be stored in is deleted
The Target Photo of local storage medium.
Specifically, being instructed in response to capturing, acquisition Target Photo is captured by camera and is stored in local storage medium
Step, comprising:
It is instructed in response to capturing, is captured by camera and obtain Target Photo;
Obtain characteristic information corresponding with the Target Photo;
The Target Photo is appended corresponding characteristic information and is stored in local storage medium.
Further, the Target Photo is appended the step that corresponding characteristic information is stored in local storage medium
Suddenly, comprising:
Characteristic information addition is obtained into the Target Photo of specific format in the attribute information of picture;
The Target Photo of the specific format is stored in local storage medium.
Specifically, the Target Photo being locally stored is passed through default in response to detecting the stored event of Target Photo
Bluetooth transmission channel the step of uploading automatically before, further includes:
Search can point-to-point connection bluetooth equipment and automatic matching connect to establish Bluetooth transmission channel.
Specifically, accompanying uploads corresponding with the Target Photo when uploading the Target Photo by the transmission channel
Characteristic information.
Specifically, deleting in the results of comparison list and specifying according to the results of comparison list that the Bluetooth transmission channel obtains
The Target Photo for being stored in local storage medium the step of, comprising:
The results of comparison list fed back by Bluetooth transmission channel wireless receiving;
The Target Photo specified in the list is found in local storage medium according to the results of comparison list;
Delete the Target Photo.
Specifically, the characteristic information refers to navigation information or captures incidental classification information in instruction.
Optionally, the characteristic information corresponding with the Target Photo is added in the attribute information of the Target Photo
The Target Photo is appended to upload.
Specifically, the navigation information include the time, geographical location, direction of traffic, running speed, in geographic latitude and longitude
Any one is any a variety of.
Specifically, the classification information includes any amount seed type during personage, landscape, traffic accident, road conditions are all types of.
The present invention also provides a kind of mobile terminal picture safe transmission methods, comprising the following steps:
Memory block is stored in by preset Bluetooth transmission channel wireless receiving Target Photo;
In response to detecting the stored event of Target Photo, the Target Photo is uploaded by remote interface;
The control knot whether each Target Photo has uploaded is indicated by the preset Bluetooth transmission channel feedback
Fruit list.
It is uploaded specifically, the Target Photo is based on realtime transmission protocol RTP by remote interface.
It is uploaded specifically, the Target Photo is based on 3G or 4G network using multi-thread mechanism by remote interface.
Specifically, before the step of being stored in memory block by preset Bluetooth transmission channel wireless receiving Target Photo,
Further include:
Search can point-to-point connection bluetooth equipment and automatic matching connect to establish Bluetooth transmission channel.
Specifically, the memory block is core buffer.
Optionally, the core buffer is at least provided with two.
Specifically, indicating whether each Target Photo has uploaded pair by the preset Bluetooth transmission channel feedback
The step of according to the results list, comprising:
Whether the Target Photo that detection remote interface end uploads has uploaded success;
If the Target Photo uploads successfully, will characterize be the Target Photo unique information be added results of comparison column
Table;
The results of comparison list is sent by the Bluetooth transmission channel.
When further, by preset Bluetooth transmission channel wireless receiving Target Photo, accompanying is received and the target figure
The corresponding characteristic information of piece.
Disclosed according to an embodiment of the present invention, the characteristic information corresponding with the Target Photo is added to described
Pass through Bluetooth transmission channel wireless receiving in the attribute information of Target Photo.
Specifically, accompanying uploads feature corresponding with the Target Photo when uploading the Target Photo by remote interface
Information.
Further, the characteristic information corresponding with Target Photo is added in the attribute information of the Target Photo
It is uploaded by remote interface.
Specifically, the characteristic information refers to navigation information or can characterize the classification information of the affiliated type of the Target Photo.
Specifically, the navigation information include the time, geographical location, direction of traffic, running speed, in geographic latitude and longitude
Any one is any a variety of.
Specifically, the classification information includes any amount seed type during personage, landscape, traffic accident, road conditions are all types of.
The invention also discloses a kind of automobile data recorders, include:
Candid photograph module is stored in by camera candid photograph acquisition Target Photo and is locally stored for instructing in response to capturing
Medium;
Transmission module, for the stored event of Target Photo in response to detecting, the Target Photo that will be locally stored
It is uploaded automatically by preset Bluetooth transmission channel;
Removing module, the results of comparison list for being obtained according to the Bluetooth transmission channel, deletes the results of comparison list
In specify the Target Photo for being stored in local storage medium.
Specifically, the candid photograph module, further includes having:
Photo module is captured by camera for instructing in response to capturing and obtains Target Photo;
Characteristic information obtains module, for obtaining characteristic information corresponding with the Target Photo;
Memory module is stored in local storage medium for the Target Photo to be appended corresponding characteristic information.
Further, the memory module is additionally configured to add the characteristic information and obtain in the attribute information of picture
To the Target Photo of specific format;
And the Target Photo of the specific format is stored in local storage medium.
It further, further include having bluetooth communication,
The bluetooth communication, for search for can point-to-point connection bluetooth equipment and automatic matching connect to establish indigo plant
Tooth transmission channel.
Specifically, when the transmission module is configured as uploading the Target Photo by the transmission channel, with enclosing
Pass characteristic information corresponding with the Target Photo.
Specifically, the removing module further include:
Receiving module, the results of comparison list for being fed back by Bluetooth transmission channel wireless receiving;
Searching module, for according to the results of comparison list found in local storage medium in the list specify
Target Photo;
Execution module, for deleting the Target Photo.
Specifically, the characteristic information refers to navigation information or captures incidental classification information in instruction.
Disclosed according to one embodiment of present invention, the characteristic information corresponding with the Target Photo is added to institute
It states and is appended the Target Photo upload in the attribute information of Target Photo.
Specifically, the navigation information include the time, geographical location, direction of traffic, running speed, in geographic latitude and longitude
Any one is any a variety of.
Specifically, the classification information includes any amount seed type during personage, landscape, traffic accident, road conditions are all types of.
The present invention also provides a kind of mobile terminals, include:
Second receiving module, for being stored in memory block by preset Bluetooth transmission channel wireless receiving Target Photo;
Second uploading module is uploaded for the stored event of Target Photo in response to detecting by remote interface
The Target Photo;
Feedback module, for whether to indicate each Target Photo by the preset Bluetooth transmission channel feedback
The results of comparison list of upload.
Specifically, second uploading module is configured as passing through the Target Photo based on realtime transmission protocol RTP
Remote interface uploads.
Specifically, second uploading module is configured as the Target Photo being based on 3G or 4G using multi-thread mechanism
Network is uploaded by remote interface.
Further, the mobile terminal further includes having:
Bluetooth communication, for search for can point-to-point connection bluetooth equipment and automatic matching connection with establish bluetooth biography
Defeated channel.
Specifically, the memory block is core buffer.
Specifically, the core buffer is at least provided with two.
Further, the feedback module further includes having:
Whether detection module, the Target Photo for detecting the upload of remote interface end have uploaded success;
List loading module, for when the Target Photo uploads successfully, will characterize to be the unique of the Target Photo
Property information be added results of comparison list;
Sending module, for sending the results of comparison list by the Bluetooth transmission channel.
Further, second receiving module is configured as through preset Bluetooth transmission channel wireless receiving target figure
When piece, accompanying receives characteristic information corresponding with the Target Photo.
Disclosed according to an embodiment of the present invention, the characteristic information corresponding with the Target Photo is added to described
Pass through Bluetooth transmission channel wireless receiving in the attribute information of Target Photo.
Further, when second uploading module is configured as uploading the Target Photo by remote interface, accompanying
Upload characteristic information corresponding with the Target Photo.
Disclosed according to an embodiment of the present invention, the characteristic information corresponding with Target Photo is added to the mesh
It marks on a map and is uploaded by remote interface in the attribute information of piece.
Specifically, the characteristic information refers to navigation information or can characterize the classification information of the affiliated type of the Target Photo.
Further, the navigation information include the time, geographical location, direction of traffic, running speed, in geographic latitude and longitude
Any one or it is any a variety of.
Further, the classification information includes any amount seed type during personage, landscape, traffic accident, road conditions are all types of.
Compared with prior art, the present invention has following advantage:
1, in the present invention, the Target Photo being locally stored can be passed through preset first passage in real time by automobile data recorder
It is automatically uploaded on mobile terminal, while mobile terminal is uploaded the Target Photo received by second channel by internet
To remote server storage, the real-time transfer of picture file is realized, avoid picture and be stored in automobile data recorder end due to storage
Capacity is limited capped and loses.The picture that automobile data recorder termination receives mobile terminal feedback simultaneously has successfully uploaded to remotely
After server, then it will be stored in local picture deletion, to guarantee the safe transfer of picture, and sky is locally stored in release in time
Between, avoid the wasting of resources.
2, further, the present invention sends mobile terminal for Target Photo by Bluetooth transfer techniques, then by mobile whole
On Target Photo is uploaded onto the server by Wifi in end.Mobile phone terminal can connect free Bluetooth transfer techniques and access simultaneously
The internet Wifi, avoids automobile data recorder end and directly uploads Target Photo and lead to the problem of great number campus network to server,
Also ensure that Target Photo is transferred to the real-time of internet by mobile terminal.
3, when mobile terminal uploads picture by remote interface in real time in the present invention, using multi-threading correspondence mechanism and
The method of multiple buffer storage.I.e. one of them is responsible for receiving the thread of data from Bluetooth transmission channel reception Target Photo, and
The Target Photo is stored in local buffer;And after the storage of one of buffer area is full, it is responsible for the thread of scheduling memory just
Another buffer area is selected according to certain orientation to store received Target Photo, while discharging the control for the buffer area having been filled with
Power;The thread for being responsible for scheduling memory simultaneously sends a signal to the process of transmission, is responsible for the process sent and calls remote interface real
Shi Shangchuan Target Photo.The real-time of picture transfer can be effectively improved, saves transmission time, and lead to picture in Network Abnormal
When not sending in time, will not it is cracking covering buffer area in Target Photo, the safety of Target Photo is effectively guaranteed
Transmission.
4, between middle rolling car recorder and mobile terminal of the present invention by search can point-to-point connection bluetooth equipment and from
Dynamic pairing connection is to establish Bluetooth transmission channel;And after detecting automobile data recorder end storage picture, by described preset
Bluetooth transmission channel uploads automatically is stored in the local Target Photo to mobile terminal;And subsequent movement terminal detects
Buffer area is stored with after Target Photo calls remote interface to upload Target Photo in real time to server automatically.That is automobile data recorder end
Connection is matched with mobile terminal and transmission picture is automatically performed, and without manual operation, is improved user experience, is avoided manually
It operates and brings driving safety problem to user.
5, the present invention be additionally provided in the characteristic information of picture the time, geographical location, direction of traffic, running speed,
The navigation informations such as longitude and latitude and the characterization other classification information of the picture category are managed, user is facilitated more accurately to search.And work as picture quilt
It after uploading in Cloud Server, can preferably cooperate with the search for application in cloud, be provided for other users more accurate
Picture searching information improves search efficiency.
The additional aspect of the present invention and advantage will be set forth in part in the description, these will become from the following description
Obviously, or practice through the invention is recognized.
[Detailed description of the invention]
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, in which:
Fig. 1 is the program flow diagram of one embodiment of automobile data recorder picture method for security protection;
Fig. 2 is the subprogram flow chart of one embodiment of automobile data recorder picture method for security protection;
Fig. 3 is the program flow diagram of one embodiment of automobile data recorder picture method for security protection;
Fig. 4 is the subprogram flow chart of one embodiment of automobile data recorder picture method for security protection;
Fig. 5 is the program flow diagram of one embodiment of mobile terminal picture safe transmission method;
Fig. 6 is the program flow diagram of one embodiment of mobile terminal picture safe transmission method;
Fig. 7 is the program flow diagram of one embodiment of mobile terminal picture safe transmission method;
Fig. 8 is the structural block diagram of one embodiment of middle rolling car recorder of the present invention;
Fig. 9 is the structural block diagram that module is captured in one embodiment of middle rolling car recorder of the present invention;
Figure 10 is the structural block diagram of one embodiment of middle rolling car recorder of the present invention;
Figure 11 is the structural block diagram of removing module in one embodiment of middle rolling car recorder of the present invention;
Figure 12 is the structural block diagram of one embodiment of mobile terminal in the present invention;
Figure 13 is the structural block diagram in the present invention in one embodiment of mobile terminal;
Figure 14 is the structural block diagram of feedback module in one embodiment of mobile terminal in the present invention;
Figure 15 is the program flow diagram of one embodiment of middle rolling car recorder picture transfer control method of the present invention.
[specific embodiment]
The present invention is further described with exemplary embodiment with reference to the accompanying drawing, the examples of the embodiments are attached
It is shown in figure, in which the same or similar labels are throughly indicated same or similar element or there is same or like function
Element.The embodiments described below with reference to the accompanying drawings are exemplary, for explaining only the invention, and cannot be construed to pair
Limitation of the invention.In addition, if the detailed description of known technology is for showing the invention is characterized in that unnecessary, then by it
It omits.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one
It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in specification of the invention
Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition
Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member
Part is " connected " or when " coupled " to another element, it can be directly connected or coupled to other elements, or there may also be
Intermediary element.In addition, " connection " used herein or " coupling " may include being wirelessly connected or wirelessly coupling.It is used herein to arrange
Diction "and/or" includes one or more associated wholes for listing item or any cell and all combinations.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art
Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also
Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art
The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here
To explain.
Those skilled in the art of the present technique are appreciated that " terminal " used herein above, " terminal device " both include wireless communication
The equipment of number receiver, only has the equipment of the wireless signal receiver of non-emissive ability, and including receiving and emitting hardware
Equipment, have on bidirectional communication link, can execute two-way communication reception and emit hardware equipment.This equipment
It may include: honeycomb or other communication equipments, shown with single line display or multi-line display or without multi-line
The honeycomb of device or other communication equipments;PCS (Personal Communications Service, PCS Personal Communications System), can
With combine voice, data processing, fax and/or communication ability;PDA (Personal Digital Assistant, it is personal
Digital assistants), it may include radio frequency receiver, pager, the Internet/intranet access, web browser, notepad, day
It goes through and/or GPS (Global Positioning System, global positioning system) receiver;Conventional laptop and/or palm
Type computer or other equipment, have and/or the conventional laptop including radio frequency receiver and/or palmtop computer or its
His equipment." terminal " used herein above, " terminal device " can be it is portable, can transport, be mounted on the vehicles (aviation,
Sea-freight and/or land) in, or be suitable for and/or be configured in local runtime, and/or with distribution form, operate in the earth
And/or any other position operation in space." terminal " used herein above, " terminal device " can also be communication terminal, on
Network termination, music/video playback terminal, such as can be PDA, MID (Mobi le Internet Device, mobile Internet
Equipment) and/or mobile phone with music/video playing function, it is also possible to the equipment such as smart television, set-top box.
Those skilled in the art of the present technique are appreciated that server used herein above, cloud, remote network devices etc. are general
It reads, there is effects equivalent comprising but it is not limited to computer, network host, single network server, multiple network server collection
Or the cloud that multiple servers are constituted.Here, cloud is by a large amount of computers or network clothes based on cloud computing (Cloud Computing)
Business device is constituted, wherein cloud computing is one kind of distributed computing, and one consisting of a loosely coupled set of computers super
Virtual machine.It, can be by any logical between remote network devices, terminal device and WNS server in the embodiment of the present invention
Letter mode realizes communication, including but not limited to, mobile communication based on 3GPP, LTE, WIMAX, based on TCP/IP, udp protocol
Computer network communication and low coverage wireless transmission method based on bluetooth, Infrared Transmission standard.
It is necessary to first carry out following guiding explanation to application scenarios of the invention and its principle.
The application scenarios of method and terminal of the invention are to be based on camera, processor, communication module and deposit
The automobile data recorder and Android mobile terminal for storing up module are hardware foundation, to be equipped with the row of the processor of linux system
It is illustrated for vehicle recorder and Android mobile terminal, but should be noted that the description is only exemplary
, the scope of the present invention is not limited to this, and the method and terminal of the embodiment of the present invention are equally applicable to other operating systems, essence
It is upper unrelated with operating system.
The mobile communications network used under normal conditions all has center, could be transported based on the preset network facilities
Row.For example, cell mobile communication systems will have the support of base station;WLAN, which generally also works, AP access point and wired
Under the mode of backbone network.But for certain special occasions, there is the mobile network at center that can not be competent at, and needs one kind
It is capable of the mobile network of interim fast automatic networking.Such as the indigo plant used between mobile terminal and automobile data recorder in the present invention
Tooth interconnection technique transmits file.
Wherein, Bluetooth transfer techniques are a kind of global specifications of opening, are mainly connected with the short-distance wireless of low cost
Connect based on letter, communication between bluetooth equipment and establish a special JA(junction ambient).The operating distance of bluetooth is 10m,
The application that extraordinary can meet most of instrument and equipments, due to the ISM open frequency range to work in 2.4GHz, so nothing
Licensing is needed, using fast frequency hopping (1600 jumps/s) technology, there is good anti-interference ability.
The first passage that the picture stored on automobile data recorder is constructed by bluetooth connection technology in the present invention is automatic
It is transferred on the mobile terminals such as mobile phone, PAD, realtime transmission protocol RTP is then based on by 3G or 4G network on mobile terminals
It is automatically uploaded to remote server, realizes the safe transfer and transmission of picture.
It will be detailed below several skills of the invention proposed to realize above-mentioned scene with above-mentioned principle
The specific embodiment of art scheme.It should be noted that a kind of automobile data recorder picture method for security protection provided by the invention,
It is first describe with the visual angle of automobile data recorder, can be embodied as calculating by the picture method for security protection by programming
Machine program is run in automobile data recorder or other similar having in intelligentized equipment.For example, this method applies also for other
Without user interface or user and inconvenient intelligent video camera head, the smartwatch etc. operated in time.
Referring to Fig. 1, an a kind of exemplary embodiments of automobile data recorder picture method for security protection of the invention, specifically
The following steps are included:
S11 is instructed in response to capturing, and is captured acquisition Target Photo by camera and is stored in local storage medium.
For middle rolling car recorder of the present invention in the driving process of automobile, camera is shooting always landscape and road conditions on the way
Information, and be in advance based on local area network for the ease of the real-time Transmission of picture, automobile data recorder and mobile terminal and establish connection realization
It is in communication with each other.When user, which has found edge on the way, there are a certain interested picture needs to capture, can directly issue with the picture
The candid photograph of face classification information instructs, and the picture captured then is stored in local.The candid photograph instruction can be triggering
Physical button on automobile data recorder or touch panel are set, phonetic order is also possible to.When candid photograph instruction is to pass through
When the physical button or touch panel that triggering is arranged on automobile data recorder obtain, the physical button or touch panel should be preparatory
The one type that multiple and each key need to correspond in classification information is set, with convenient processor from triggering obtained by a certain key
To candid photograph instruction in obtain the classification information, but in the method when driver is driving, it is also necessary to be gone with hand
Triggering is arranged in the physical button at automobile data recorder end or touches control key, security risk easily occurs.In one of them of the invention
In preferred embodiment, in order to guarantee driver driving safety, it is preferred to use phonetic order is instructed as the candid photograph, wherein using
It include classification information in the natural language for the phonetic order that family issues.Specifically, the type packet that the classification information is included
Include personage, landscape, traffic accident, road conditions it is all types of in any amount seed type.
Referring to attached drawing 2, in one embodiment of the invention, step S11 specifically can with the following steps are included:
S111 is instructed in response to capturing, and is captured by camera and is obtained Target Photo;
In this step, it is instructed in response to capturing, to call camera to capture to obtain corresponding Target Photo.For convenient for
Prehension program realizes that this is illustrated for sentencing USB camera.And camera is called to capture to obtain target figure in this step
Two embodiments can be used specifically to realize in piece.
1, in one embodiment of the invention, the Target Photo is by calling the photographing mode triggering of camera to take pictures
It obtains.In the processor with linux system of automobile data recorder, it is pre-loaded with the USB device driver of driving camera.
It can be appreciated that can be by calling USB bottom operation library libusb to communicate with USB camera realization, the control for providing USB refers to
It enables, is camera mode to switch camera, and the parameters such as camera aperture, shutter, ISO are set by software instruction.Work as driving
After recorder obtains the candid photograph instruction with classification information, the shutter of camera can be pressed using software instruction triggering, candid photograph obtains
Target Photo.
2, when in another embodiment of the present invention, the Target Photo captures corresponding when instruction issues by intercepting and capturing
Between the video image put and obtain.After in response to capturing instruction, which is instructed to the view at time point corresponding when issuing
Frequency frame static data is intercepted and captured by certain intercepting and capturing algorithm, obtains Target Photo.Wherein, intercepting and capturing algorithm is technology people in the art
The well-known technique of member, this will not be detailed here.
S112 obtains characteristic information corresponding with the Target Photo.
After obtaining Target Photo by camera, in order to facilitate the subsequent more accurate lookup Target Photo of user, need
Obtain the characteristic information of the Target Photo.Specifically, the characteristic information refers to navigation information or captures incidental in instruction
Classification information.
It can be the physical button or touch-control that triggering is arranged on automobile data recorder from knowing to capture in abovementioned steps to instruct
Panel is also possible to phonetic order.When it is described capture instruction be by trigger the physical button that is arranged on automobile data recorder or
When touch panel obtains, the physical button or touch panel should preset multiple and each key and need to correspond to classification information
In one type, the classification information is obtained from a certain key obtained capture is triggered with convenient processor in instruction.
And when capturing instruction is phonetic order, the step of classification information is obtained from phonetic order, can also specifically wrap
It includes:
1, the voice stream data to be identified with classification information is obtained.
In one embodiment, present invention preferably employs the voice flows that microphone obtains user as voice recording equipment
Data.Wherein, the position of the sound collection direction of the voice recording equipment against some interior seat is best.Such as one
In a embodiment, the sound range of receiving of voice recording equipment is limited to driver, i.e. microphone is arranged from position of driver
The voice signal small, signal-to-noise ratio is high is interfered to receive in closer place.For example, driver can issue " personage's bat ", " wind
The phonetic order of scape bat ", " traffic accident bat " or " road conditions bat ", wherein " personage ", " landscape ", " traffic accident ", " road conditions " as classification letter
Breath.The voice analog signal that voice recording equipment is recorded is stored in processor after A/D is converted to digital speech flow data again
In the buffer area of kernel.
2, it identifies the voice stream data, parses the classification information of character string text formatting.
Voice stream data recognizer is obtained by calling read function to read sampling from the buffer area of processor cores
Digital speech flow data, and the classification information of character string text formatting is converted into after being identified.It is identified from voice stream data
The process of classification information identifies and obtains the classification of the character string text formatting either uploading in Cloud Server out
Information is also possible to obtain the classification of the character string text formatting by carrying out match cognization processing with local voice library
Information.
In one embodiment of the invention, which is to obtain the word and identification by uploading in Cloud Server
The classification information of symbol string text formatting, specifically includes the following steps: a, the voice fluxion that voice stream data recognizer will acquire
Remote speech Cloud Server is submitted to by remote interface according to covering in speech recognition request;B, in remote speech Cloud Server
Speech recognition platforms the voice stream data is identified and is parsed, obtain character string text;C, it is then long-range by this again
Interface obtains the corresponding character string text lattice for parsing the voice stream data and obtaining fed back in response to the speech recognition request
The classification information of formula.
In order to further increase in the embodiment of the present invention method stability, voice stream data recognizer and speech cloud clothes
It is communicated between business device using the Transmission Control Protocol based on Socket, and uses asynchronous control method, it in this way can be to avoid voice
The obstruction of data flow guarantees reporting in time for audio data stream, provides preferably manipulation experience for user.Wherein, speech cloud takes
Business device is the processing platform with sound bank, can be independent server in network, is also possible to the different language of multiple offers
The set of the server of sound identification service, sound bank can be by providing in individual server, can also be with a certain voice service
Device integrates offer.
It include the voice fluxion by sending it can be appreciated that being realized in the method for embodiment in conjunction with cloud technology
According to speech recognition request and receive the corresponding character string text for parsing the voice stream data and obtaining of remote server feedback
With the determination classification information, since the data in remote server are more comprehensively scientific, so that obtained classification information is also more
It is scientific accurate, there is universal adaptability to further increase reliability so as to avoid judging by accident.
In yet another embodiment of the present invention, which come by carrying out match cognization processing with local voice library
To the classification information of the character string text formatting, specifically includes the following steps: A, the voice stream data that will acquire and local
Sound bank carries out match cognization processing;B obtains the classification information of the character string text formatting to match with the voice stream data.
In local voice library, it is previously stored with voice stream data and character string text is in the list of mapping relations, the step
Voice stream data recognizer calls local voice library in rapid, and the voice stream data that will acquire carries out match cognization processing with it.
Then the column that the classification information for being previously stored with voice stream data and character string text formatting is in mapping relations are searched by traversing
Table obtains the classification information of character string text formatting to match with voice stream data.Certainly, which can be from remote
Downloading is saved to local voice library that is local and being formed in Cheng Yuyin Cloud Server.If not finding and being somebody's turn to do in local voice library
When the classification information of the corresponding character string text formatting of voice stream data, it can be realized with remote cloud server and communicate update locally
Sound bank.
It has obtained capturing the classification information in instruction in abovementioned steps, further, it is also necessary to navigation information is obtained, at this
In one embodiment of invention, the navigation information needs to call navigation module to obtain Present navigation information.It needs to illustrate
It is that the navigation module can be to be built in automobile data recorder, is also possible to external navigation module, the present invention does not make this
It limits.Further, the navigation module can be GPS navigation module or Beidou satellite navigation.Such as at of the invention one
In embodiment, the navigation module is GPS navigation module.Optionally, the GPS navigation module is obtained according to NMEA-0182 agreement
The navigation information of Target Photo is obtained, or obtains the navigation information of Target Photo by base station location mode.Specifically, the navigation
Information include the time, geographical location, direction of traffic, running speed, in geographic latitude and longitude any one or it is any a variety of.The step
Obtaining Present navigation information in rapid by calling navigation module can be used two embodiments to realize, illustrate each reality in detail below
Apply the realization process of example:
1, in one embodiment of the invention, the GPS navigation module obtains Target Photo according to NMEA-0182 agreement
Navigation information.Specifically, NMEA-0183 agreement is the GPS data format protocol of specification.It wherein may include time, geographical position
Set, data, the GPS navigation module such as longitude and latitude, direction of traffic, running speed obtain satellite positioning signal from GPS satellite, and
Calculate navigation data.In GPS navigation module processing module analysis and processing receive based on NMEA-0183 protocol format
ASCI I code sentence, obtain navigation information.
2, in another embodiment of the invention, the GPS navigation module obtains target figure by base station location mode
The navigation information of piece, this method are the common technological means of those skilled in that art, and this will not be detailed here.
Further, step S11 further includes step S113: the Target Photo being appended corresponding characteristic information and is protected
There are local storage mediums.
Specifically, needing individually to store the Target Photo in order to avoid Target Photo is capped.In one embodiment,
The present invention using SD card as storage medium for illustrate embodiments thereof, but do not constitute the limitation to the invention, other
Non-volatile memory device can be used as the storage medium of destination folder in the embodiment in the prior art.
Further, the Target Photo is appended corresponding characteristic information and is stored in local SD card storage medium
In.In one embodiment of the step, the corresponding characteristic information of Target Photo is only and Target Photo is with certain relationship
Property is stored together, such as in a specific embodiment, the characteristic information filename of Target Photo name and the Target Photo
Unanimously, it and is stored in a file.
In another embodiment, the corresponding characteristic information of Target Photo is added in the attribute setting of Target Photo and deposits
Storage is in local.The illustrative embodiments of the embodiment are as follows:
Specifically, characteristic information addition is obtained the Target Photo of specific format in the attribute information of picture;Again
The Target Photo of the specific format is stored in local storage medium.Since video camera is captured or intercepted and captured using camera mode
Often capacity is larger for the Target Photo that static images obtain, and in order to reduce the capacity of picture, needs after candid photograph obtains Target Photo
It to be calculated using the compressions such as Huffman, RLE (run-length encoding), LZW (Lempel-Ziv-Welch Encoding)
Method is by the specific format of Target Photo boil down to.In this embodiment, it first has to the Target Photo boil down to specific format
File.
It is well known that common is in the prior art JPEG (Joint Photographic Experts by picture compression
Group), GIF (Graphics Interchange Format) or PNG (Portable Network Graphics) format.
Wherein, GIF is a kind of lossless compression, is encoded using LZW compression algorithm, uses 8 color compressions, can only at most handle
276 kinds of colors are not easy to save rgb image;PNG is a kind of lossless data compression bga, same disadvantage and
GIF is the same, is unfavorable for the optimization processing of picture, and file size is big compared with extended formatting;JPEG is a kind of for photograph image
And a kind of widely used distortion compression standard method, destructive compression is carried out using Huffman compression algorithm, first picture
YUV is converted to from RGB, the information of each pixel is stored with brightness, tone and saturation degree.Then the letter of tone and saturation degree is reduced
Quantity is ceased, this difference is not easy to be visually detectable, but image bytes number can substantially reduce.Therefore, of the invention one
In a embodiment, the Target Photo data for preferably obtaining candid photograph are converted to jpeg format by Huffman compression algorithm
Target Photo.
Those skilled in the art should know that the picture attribute of jpeg format is arranged in the Exif information of picture.Exif
(Exchangeable Image Fi le) is a kind of image file format.Actually Exif format is exactly the insertion of jpeg format head
The information of picture, the aperture for the shooting that can Load Image, shutter, balance be white, ISO, focusing, date, time and navigation information.
Therefore classification information and navigation information can be added in the Exif information of obtained Target Photo.In a specific embodiment
In, jpeg file is terminated with character string " 0XFFD8 " beginning with character string " 0XFFD9 ", and in character string " OXFFE0-
For storing Exif information between 0XFFEF ".In one embodiment, lead to by the Target Photo data of obtained rgb format
It crosses during the target image of Huffman compression algorithm boil down to jpeg format, the navigation information and classification information is added
It is added in the attribute setting that Target Photo in the present invention is realized in the Exif information between character string " OXFFE0-0XFFEF ".
Although being pointed out that the present invention carries out example with jpeg file format, those skilled in the art should be managed
Solution, the file format of PNG etc can also be used by the present invention, be shown in picture file suffix name, be .jpeg,
.jpg .png etc..It, can be in each destination folder for not supporting the picture format file of EXIF in some embodiments
Corresponding with all picture concerned files therein the are stored in remarks table of middle building, the table establish picture file name and
Mapping relations data between above-mentioned navigation information solve the obstacle that attribute information caused by format differences adds, similarly can be with
Meets the needs of of the invention.
In conclusion abovementioned steps S11 realize in response to capture instruct, by camera capture obtain Target Photo and
The characteristic information corresponding with the Target Photo extracted has been stored in local storage medium.Due to the storage of local storage medium
Capacity is limited, therefore Target Photo is easily overwritten, and cannot be effectively protected.
In view of defect above-mentioned, further, referring to Figure 1, the invention also includes step S12: in response to detecting mesh
The stored event of piece of marking on a map uploads the Target Photo being locally stored by preset Bluetooth transmission channel automatically.
In order to realize that the picture real-time Transmission that will be captured needs in advance to mobile terminal, automobile data recorder and mobile terminal
Connection realization is established based on local area network to be in communication with each other.Since the memory capacity at automobile data recorder end is limited, when user wishes mesh
When piece of marking on a map is real-time transmitted to the mobile terminal safeties such as mobile phone, PAD and protects, the office that can be constructed by bluetooth connection technology
Domain net is uploaded automatically on the Target Photo to mobile terminal, certainly, on condition that automobile data recorder can be mobile with mobile phone or PAD etc.
Terminal realizes communication.Therefore, disclosed according to one embodiment of present invention, in response to detecting mesh in executing step S12
The stored event of piece of marking on a map, the step of Target Photo being locally stored is uploaded automatically by preset Bluetooth transmission channel it
Before, Fig. 3 is referred to, further includes step S14:
Search can point-to-point connection bluetooth equipment and automatic matching connect to establish Bluetooth transmission channel.
It can be appreciated that establishing the connection between two bluetooth equipments, need two bluetooth equipments in the same RFCOMM
Possess the BluetoothSocket of a connection under channel respectively.In the present embodiment, when automobile data recorder end bluetooth equipment is opened
Afterwards, automatic search can point-to-point connection bluetooth equipment and issue a request link order;Certainly, the Bluetooth connection request
It can be the bluetooth equipment active initiation of mobile terminal, automobile data recorder needs to connect bluetooth in response to the connection request and set
It is standby.Specifically, the present embodiment illustrates indigo plant so that automobile data recorder automatically initiates connection request in response to mobile terminal as an example
The pairing connection procedure of tooth equipment.
In implementing at of the invention one, communicated between automobile data recorder and mobile terminal based on Socket to realize.It is first
First, automobile data recorder end listens to the BluetoothService of mobile terminal by search, calls Bluetoothservice
ListenUsingRfcommWithServiceRecord (String, UUID) method obtain Bluetoothsocket pairs
As wherein String indicates the title of mobile terminal, and UUID indicates the connection identifier with mobile terminal.It recalls
Connect () method of Bluetoothsocket, if UUID is matched with the UUID of mobile terminal, and mobile terminal receives
The Bluetoothsocket, automobile data recorder will complete Bluetooth transmission channel with mobile terminal sharing RFCOMM channel and build
Vertical process, and return to connect () method.After two bluetooth equipment successful connections, automobile data recorder end will call use
Close () connects to close, to save system resource.
When automobile data recorder and after mobile terminal successful connection, both sides will acquire respectively exclusive
Bluetoothsocket, to realize the data transmission of equipment room.Automobile data recorder end has detected picture storage or mobile whole
It is automatic to issue picture transfer instruction after end detects that there is picture storage at automobile data recorder end.Automobile data recorder traverses storage first
In local Target Photo file and corresponding characteristic information file, then by call getInputStream () and
GetOutputStream () method obtains the iostreams of Target Photo data to be uploaded, then by calling read
(byte []) and write (byte []) method needs information and its correspondences such as the picture file name that sends to read or be written
Character length.It can be appreciated that calling since read-write operation belongs to obstruction, which needs to create dedicated thread
It is managed.
It can be appreciated that in this step, when uploading the Target Photo automatically by the Bluetooth transmission channel, with enclosing
Pass characteristic information corresponding with the Target Photo.Certainly, it is appreciated that when feature corresponding with Target Photo from abovementioned steps
When information is added in the attribute information of Target Photo, it is only necessary to upload the Target Photo;Conversely, need while uploading
The corresponding characteristic information of Target Photo.
In conclusion abovementioned steps middle rolling car recorder after detecting that Target Photo has stored, will be deposited locally in real time
The Target Photo of storage is automatically uploaded on mobile terminal by preset Bluetooth transmission channel, realizes turning in real time for picture file
It moves, avoids picture and be stored in automobile data recorder end and lost since memory capacity is limited capped.
It further, by safe transfer, further include step S13 to guarantee picture successfully: logical according to the Bluetooth transmission
The Target Photo for being stored in local storage medium specified in the results of comparison list is deleted in the results of comparison list that road obtains.
Picture by automobile data recorder safety be transferred to mobile terminal after, mobile terminal can automatically upload to the picture far
Journey Cloud Server saves.And the pictorial information for successfully uploading to remote server is fed back in the form of results of comparison list
The results of comparison list is deleted in automobile data recorder end, the results of comparison list that automobile data recorder is obtained according to Bluetooth transmission channel
In specify the Target Photo for being stored in local storage medium, discharge local storage space in time, avoid the wasting of resources.Specifically
, Fig. 4 is referred to, which specifically includes:
S131, the results of comparison list fed back by Bluetooth transmission channel wireless receiving;
S132 finds the target figure specified in the list according to the results of comparison list in local storage medium
Piece;
S133 deletes the Target Photo.
It can be appreciated that automobile data recorder is arranged by the results of comparison that well-established Bluetooth transmission channel wireless receiving is fed back
The pictorial information for having succeeded and having uploaded is listed in table to be also possible to other wherein may include the filename of picture and be characterized as this
The uniqueness characteristic information of picture, such as picture size or candid photograph time etc..Automobile data recorder is according to obtained picture uniqueness
Characteristic information calls find () traversal to find the store path of the picture and corresponding characteristic information file.Then
Automobile data recorder can call rm to the picture and its uniqueness stored under the path immediately after receiving the control list of feedback
Characteristic information execute delete command, can also to automobile data recorder end memory capacity it is inadequate in the case where recall rm to the path
The picture and its uniqueness characteristic information of lower storage execute delete command, discharge local storage space, avoid the wasting of resources.
The present invention is additionally provided with mobile terminal corresponding with automobile data recorder end, logical with automobile data recorder realization to realize
Letter.The present invention also provides a kind of mobile terminal picture safe transmission methods, i.e., picture peace is described from the visual angle of mobile terminal
Full transmission method, similarly can by programming by picture safe transmission method be embodied as computer program mobile phone, PAD and its
It is run in the mobile terminal of his similar functions.
Fig. 5 is referred to, in an a kind of exemplary embodiments of mobile terminal safety transmission method of the invention, includes
Following steps:
S21 is stored in memory block by preset Bluetooth transmission channel wireless receiving Target Photo.
In order to realize that the picture real-time Transmission that will be captured needs in advance to mobile terminal, automobile data recorder and mobile terminal
Connection realization is established based on local area network to be in communication with each other.By having in preceding method seeing as the memory capacity at automobile data recorder end
Limit, when user wishes that Target Photo, which is real-time transmitted to the mobile terminal safeties such as mobile phone, PAD, to be protected, mobile terminal can
The Target Photo sent from automobile data recorder end is received with the local area network wireless constructed by bluetooth connection technology.Certainly, in order to
Guarantee to receive Target Photo in real time in mobile terminal, on condition that automobile data recorder can be realized with mobile terminals such as mobile phone or PAD
Communication, thus it is disclosed according to an embodiment of the present invention, passing through preset Bluetooth transmission channel wireless receiving Target Photo
Be stored in front of memory block, further include step S24, search can point-to-point connection bluetooth equipment and automatic matching connect to establish
Bluetooth transmission channel.
It can be appreciated that establishing the connection between two bluetooth equipments, need two bluetooth equipments in the same RFCOMM
Possess the BluetoothSocket of a connection under channel respectively.In the present embodiment, mobile terminal to search is to can point-to-point connection
Bluetooth equipment after issue a request link order automatically;Certainly, which is also possible to automobile data recorder end
Bluetooth equipment actively initiate, mobile terminal needs to connect bluetooth equipment in response to the connection request.Specifically, this
Embodiment illustrates the pairing connection procedure of bluetooth equipment so that mobile terminal actively initiates the connection request as an example.
Such as in implementing at of the invention one, to be the shifting in the embodiment with Android phone convenient for program comprehension
Dynamic terminal illustrates the realization process of the present embodiment.It can be appreciated that being wanted in Android phone using before Blue-tooth communication method
Application uses the response permission permission android:name=" android.permission.BLUETOOTH_ of bluetooth
ADMIN " then can just be initially configured the bluetooth module of the machine, and the core classes BluetoothAdapter of Bluetooth operation is called to come
Directly open the Bluetooth function of the machine.Then start the bluetooth equipment at search automobile data recorder end, use
StartDiscover () method of BluetoothAdapter is gone to execute an asynchronous system, can quickly be searched using which
For rope to neighbouring bluetooth equipment, which is actually to carry out in a System Service, it is possible to be adjusted
It is stopped search with cancelDiscovery () method.After the completion of this search process, need to the driving recording found
The details of instrument are received, and must be filtered this Intert of ACTION_FOUND movement, be registered one
BroadcastReceiver object receives the bluetooth users name and MAC Address of automobile data recorder, with the automobile data recorder end
Bluetooth equipment realizes pairing.
It after the completion of pairing, needs to establish the connection between mobile terminal and the bluetooth equipment of automobile data recorder, needs to pass through
Mobile terminal as request sender calls the ListenUsingRfcommWithServiceRe of BluetoothAdapter
Cord (String, UUID) method obtains BluetoothServersocket object, and UUID indicates and automobile data recorder end
Connection identifier;The accept () method for recalling BluetoothServersocket monitors connection request, if receiving driving
The connection request at recorder end can then return to a Bluetoothsocket to the bluetooth equipment at automobile data recorder end, finally exist
After two bluetooth equipment successful connections, need to call close () method of BluetoothServersocket to discharge resource.
After the success of Bluetooth transmission Path Setup, further, pass through preset Bluetooth transmission channel wireless receiving target
Picture is stored in memory block.
When mobile terminal and after automobile data recorder successful connection, both sides will acquire respectively exclusive
Bluetoothsocket, to realize the data transmission of equipment room.In this step, mobile terminal passes through calling
GetInputStream () and getOutputStream () method obtain the input and output of Target Photo data to be received
Stream, then received picture file is read or is written by calling read (byte []) and write (byte []) method.No
Indigestibility is called since read-write operation belongs to obstruction, which needs to create dedicated thread to be managed.Work as figure
After sheet data receives successfully, mobile terminal will call close () to close connection, to save system resource.
It can be appreciated that in this step, when by Target Photo described in the Bluetooth transmission channel reception, accompanying receive with
The corresponding characteristic information of the Target Photo.Certainly, it is appreciated that when characteristic information corresponding with Target Photo from abovementioned steps
When being added in the attribute information of Target Photo, it is only necessary to receive the Target Photo;Conversely, need while receiving target
The corresponding characteristic information of picture.
Further, the Target Photo is stored in memory block after receiving Target Photo by mobile terminal.
In the present invention, the Target Photo of wireless receiving is uploaded by remote interface in real time automatically for mobile terminal
It is stored into Cloud Server, the Target Photo received is stored in the fast core buffer of read or write speed in the present invention.Due to
Target Photo data capacity is larger, can be by rear reception if the picture being stored in core buffer cannot be uploaded timely
Picture covering and lose, therefore at least store Target Photo in memory headroom application 2 buffer areas in the present invention.Each
Buffer area sets two working conditions: buffer area sky and buffer area are full.When the Target Photo received fills up a buffer area
Afterwards, the Target Photo received after being stored by another buffer area can guarantee using multiple buffer stored target picture
When mobile terminal can not send data in time, Target Photo data will not be covered quickly, and the safety for being conducive to Target Photo passes
It is defeated.
In conclusion in abovementioned steps mobile terminal by preset Bluetooth transmission channel reception to Target Photo, and protect
There is local core buffer.
It further, further include step S22 in method of the invention, in response to detecting that Target Photo has been deposited referring to Fig. 5
The event of storage uploads the Target Photo by remote interface.
On mobile terminal in the present invention, to realize that the Target Photo that will be received uploads all remote servers in real time
On, need to connect the permission that Wifi obtains access Internet before receiving data, then constructing one includes Target Photo number
According to long-distance Log server request, the TCP/IP network transmission protocol is based on by 3G or 4G network, by the upload request by remotely connecing
Mouth is sent to the cloud server of access internet.
In the present invention, the Target Photo can be connection-oriented in TCP/IP by the agreement that remote interface transmits
Transmission control protocol TCP;It is also possible to connectionless User Datagram Protocol UDP.Due to when picture file is transmitted to real-time
Property and synchronism require very high, and need to occupy biggish network bandwidth, therefore in a preferred embodiment of the invention, this
Target Photo is uploaded using realtime transmission protocol RTP (Real-time Transport Protocal) by remote interface.RTP
The network transmission protocol based on UDP, by transmission data the end-to-end transfer service with real-time characteristic is provided comprising two
A sub-protocol, RTP and RTCP.Wherein RTP is Data Transport Protocol, is used for real-time transmission data, and RTCP is control protocol, is used
The quality problems of transmitted data are fed back in QoS.
Further, in order to guarantee that mobile terminal goes out the Target Photo real-time Transmission for being stored in buffer area, using more
Threading mechanism.Such as in one embodiment of the invention, creation has following thread: receiving thread, scheduling memory thread
It is responsible for the main thread that each sub thread is coordinated with transmission thread and one.Receiving thread is responsible for connecing from aforementioned Bluetooth transmission channel
Target Photo is received, and the Target Photo is stored in local buffer.After the storage of one of buffer area is full, scheduling memory line
Journey just selects another buffer area according to certain orientation to store received Target Photo, while discharging the buffer area having been filled with
Control, after detecting that Target Photo is stored in buffer area, receiving thread sends a signal to the process of transmission, sends process
It calls remote interface to send Target Photo by the application program in triggering mobile terminal, so recycles, can effectively improve
The real-time of picture transfer saves the time, and when Network Abnormal causes picture not send in time, cracking will not cover
Target Photo in buffer area effectively protects the safe transmission of Target Photo.
It can be appreciated that in this step, when uploading the Target Photo by the remote interface, accompanying is uploaded and the mesh
The corresponding characteristic information of piece of marking on a map.Certainly, it is appreciated that when characteristic information corresponding with Target Photo is added from abovementioned steps
When being added in the attribute information of Target Photo, it is only necessary to upload the Target Photo;Conversely, need while passing through remote interface
Upload the corresponding characteristic information of Target Photo.Characteristic information in the present invention refers to navigation information or can characterize the target figure
The classification information of the affiliated type of piece, wherein the navigation information include the time, geographical location, direction of traffic, running speed,
Manage in longitude and latitude any one or it is any a variety of;The classification information includes during personage, landscape, traffic accident, road conditions are all types of
Any amount seed type.
In conclusion between middle rolling car recorder of the present invention and mobile terminal by search can the bluetooth of point-to-point connection set
The connection of standby and automatic matching is to establish Bluetooth transmission channel;And after detecting automobile data recorder end storage picture, by described
Preset Bluetooth transmission channel uploads automatically is stored in the local Target Photo to mobile terminal;And subsequent movement terminal
Detect calls remote interface to upload Target Photo in real time to server automatically after buffer area is stored with Target Photo.That is driving note
Record instrument end and mobile terminal pairing connection and transmission picture are automatically performed, and without manual operation, are improved user experience, are kept away
Exempt from manual operation and brings driving safety problem to user.
Further, the method in the present invention further includes having step S23: being fed back by the preset Bluetooth transmission channel
Indicate the results of comparison list whether each Target Photo has uploaded.
The target figure of Cloud Server is successfully uploaded to by mobile terminal in order to allow automobile data recorder end to delete as needed
Piece discharges memory space, avoids the wasting of resources.It is fed back in this step by the Bluetooth transmission channel established with automobile data recorder end
Indicate the results of comparison list whether each Target Photo has uploaded.Specifically, referring to Fig. 7, the step S23 is also wrapped
Include following steps:
Whether S231, the Target Photo that detection remote interface end uploads have uploaded success.
After passing Target Photo on mobile terminals, can succeed upload according to the file fed back from remote server
Determine whether picture has successfully uploaded in information, specific embodiment is technology well known in the art, and details are not described herein.
S232, if the Target Photo uploads successfully, will characterize be the Target Photo unique information be added control
The results list.
It, can after receiving the information for the upload that succeeded from the Target Photo file that remote server is fed back from mobile terminal
It include that the filename of the picture, the size of Target Photo or shooting time etc. can be characterized as the mesh to be set in the information of feedback
It marks on a map the unique information of piece;The uniqueness characteristic letter that characterization is the Target Photo can also be extracted before uploading Target Photo
Breath, the Target Photo waiting for receiving server end feedback have succeeded after the information uploaded, only by the Target Photo pre-saved
One property characteristic information adds in the results of comparison list pre-established.For example, in an exemplary embodiment of the present invention,
Results of comparison list is established by calling execSQL () method in SQLiteDatabase class, then passes through insert () side
Method adds the characteristic information for the Target Photo uploaded that succeeded in the results of comparison list.
S233 sends the results of comparison list by the Bluetooth transmission channel.
By in preceding method it is found that the local area network wireless that mobile terminal can be constructed by bluetooth connection technology in the step
It sends the results of comparison list and gives automobile data recorder end.In abovementioned steps, the mobile terminals such as automobile data recorder and mobile phone or PAD are
Realize communication.Concrete implementation method in the step, identical with abovementioned steps S21 wireless receiving data method, detail is asked
Principle and implementation referring to described in abovementioned steps S21, repeat no more here.
In conclusion in the present invention, automobile data recorder can in real time pass through the Target Photo being locally stored preset
Bluetooth transmission channel is automatically uploaded on mobile terminal, and mobile terminal is uploaded to picture far by remote interface by internet
The storage of journey server, realizes the real-time transfer of picture file, avoids picture and be stored in automobile data recorder end due to memory capacity
It is limited capped and lose.The picture that automobile data recorder termination receives mobile terminal feedback simultaneously successfully uploads to remote service
After device, then it will be stored in local picture deletion, to guarantee the safe transfer of picture, and discharges local storage space in time, keep away
Exempt from the wasting of resources.Further, the present invention sends mobile terminal for Target Photo by Bluetooth transfer techniques, then by mobile whole
On Target Photo is uploaded onto the server at end.Mobile phone terminal can connect free Bluetooth transfer techniques and access internet simultaneously, keep away
Exempt from automobile data recorder end and directly upload Target Photo to lead to the problem of great number campus network to server, also ensures target figure
Piece is transferred to the real-time of internet by mobile terminal.
Further, according to the function modoularization thinking of computer software, above-mentioned picture is used the present invention also provides a kind of
The automobile data recorder of method for security protection, please refers to Fig. 8.The automobile data recorder includes capturing module 11, transmission module 12 and deleting
Except module 13, the principle framework for erecting entire terminal using the candid photograph module 11, transmission module 12 and removing module 13, from
And realize modularization embodiment.The concrete function that each module is realized is disclosed in detail below.
The candid photograph module 11 captures acquisition Target Photo by camera and is stored in this for instructing in response to capturing
Ground storage medium.
For middle rolling car recorder of the present invention in the driving process of automobile, camera is shooting always landscape and road conditions on the way
Information, and be in advance based on local area network for the ease of the implementation of picture transmission, automobile data recorder and mobile terminal and establish connection realization
It is in communication with each other.When user, which has found edge on the way, there are a certain interested picture needs to capture, can directly issue with the picture
The candid photograph of face classification information instructs, and then will capture the picture that module 11 is captured and is stored in local.The candid photograph module
The 11 candid photograph instructions issued can be the physical button or touch panel that triggering is arranged on automobile data recorder, be also possible to voice
Instruction.When the candid photograph instruction is the physical button being arranged on automobile data recorder by triggering or touch panel obtains, institute
The one type that multiple and each key need to correspond in classification information should be preset by stating physical button or touch panel, with side
Just processor obtains the classification information from a certain key obtained capture is triggered in instruction, but works as department in the method
When machine is being driven, it is also necessary to be gone triggering that the physical button at automobile data recorder end is set with hand or be touched control key, easily pacified
Full hidden danger.In one of preferred embodiment of the invention, in order to guarantee driver driving safety, it is preferred to use phonetic order
It is instructed as the candid photograph, includes classification information in the natural language for the phonetic order that wherein user issues.Specifically, institute
Stating the type that classification information is included includes any amount seed type during personage, landscape, traffic accident, road conditions are all types of.
Referring to attached drawing 9, in one embodiment of the invention, which specifically can also include photo module
111, characteristic information obtains module 112 and memory module 113.
The photo module 111 is captured by camera for instructing in response to capturing and obtains Target Photo;
In the module, is instructed in response to capturing, to call camera to capture to obtain corresponding Target Photo.For convenient for
Understand the realization of the module, it is that the photo module 111 in the present embodiment is illustrated that this, which sentences USB camera,.And in the module
Calling camera to capture can be used two embodiments to obtain Target Photo specifically to realize.
1, in one embodiment of the invention, the Target Photo is by calling the photographing mode triggering of camera to take pictures
It obtains.In the processor with linux system of automobile data recorder, it is pre-loaded with the USB device driver of driving camera.
It can be appreciated that can be by calling USB bottom operation library l ibusb to communicate with USB camera realization, the control for providing USB refers to
It enables, is camera mode to switch camera, and the parameters such as camera aperture, shutter, ISO are set by software instruction.Work as driving
After recorder obtains the candid photograph instruction with classification information, the shutter of camera can be pressed using software instruction triggering, candid photograph obtains
Target Photo.
2, when in another embodiment of the present invention, the Target Photo captures corresponding when instruction issues by intercepting and capturing
Between the video image put and obtain.After in response to capturing instruction, which is instructed to the view at time point corresponding when issuing
Frequency frame static data is intercepted and captured by certain intercepting and capturing algorithm, obtains Target Photo.Wherein, intercepting and capturing algorithm is technology people in the art
The well-known technique of member, this will not be detailed here.
The characteristic information obtains module 112, for obtaining characteristic information corresponding with the Target Photo.
After obtaining Target Photo by camera, in order to facilitate the subsequent more accurate lookup Target Photo of user, need
The characteristic information that module 112 obtains the Target Photo is obtained using characteristic information.Specifically, the characteristic information refers to navigation letter
Breath captures incidental classification information in instruction.
It can be the physical button or touch-control that triggering is arranged on automobile data recorder from knowing to capture in aforementioned modules to instruct
Panel is also possible to phonetic order.When it is described capture instruction be by trigger the physical button that is arranged on automobile data recorder or
When touch panel obtains, the physical button or touch panel should preset multiple and each key and need to correspond to classification information
In one type, the classification information is obtained from a certain key obtained capture is triggered with convenient processor in instruction.
And when capturing instruction is phonetic order, module 112 is obtained using characteristic information and is classified from phonetic order
Information specifically:
1, the characteristic information obtains module 112 and is configured as obtaining the voice fluxion to be identified with classification information
According to.
In one embodiment, present invention preferably employs the voice flows that microphone obtains user as voice recording equipment
Data.Wherein, the position of the sound collection direction of the voice recording equipment against some interior seat is best.Such as one
In a embodiment, the sound range of receiving of voice recording equipment is limited to driver, i.e. microphone is arranged from position of driver
The voice signal small, signal-to-noise ratio is high is interfered to receive in closer place.For example, driver can issue " personage's bat ", " wind
The phonetic order of scape bat ", " traffic accident bat " or " road conditions bat ", wherein " personage ", " landscape ", " traffic accident ", " road conditions " as classification letter
Breath.The voice analog signal that voice recording equipment is recorded is stored in processor after A/D is converted to digital speech flow data again
In the buffer area of kernel.
2, the characteristic information obtains module 112 and is additionally configured to identify the voice stream data, parses character illustration and text juxtaposed setting
The classification information of this format.
Characteristic information obtains module 112 and is obtained by calling read function to read sampling from the buffer area of processor cores
Digital speech flow data, and the classification information of character string text formatting is converted into after being identified.It is identified from voice stream data
The process of classification information identifies and obtains the classification of the character string text formatting either uploading in Cloud Server out
Information is also possible to obtain the classification of the character string text formatting by carrying out match cognization processing with local voice library
Information.
In one embodiment of the invention, this feature data obtaining module 112 is configured as by uploading to cloud service
The classification information that the character string text formatting is identified and obtained in device, specifically includes: a, and characteristic information obtains module 112 will
The voice stream data of acquisition covers in speech recognition request and is submitted to remote speech Cloud Server by remote interface;B, remote
The speech recognition platforms of Cheng Yuyin Cloud Server are identified and are parsed to the voice stream data, and character string text is obtained;C, so
Characteristic information obtains module 112 and obtains the corresponding parsing fed back in response to the speech recognition request by the remote interface again afterwards
The voice stream data and the classification information of character string text formatting obtained.
In order to further increase in the embodiment of the present invention characteristic information obtain module 112 stability, characteristic information obtain
It is communicated between module 112 and voice Cloud Server using the Transmission Control Protocol based on Socket, and uses asynchronous controlling party
Method can guarantee reporting in time for audio data stream, provide better manipulation for user to avoid the obstruction of audio data stream in this way
Experience.Wherein, voice Cloud Server is the processing platform with sound bank, can be independent server in network, can also be with
The set of multiple servers that different speech-recognition services are provided, sound bank can by being provided in individual server,
Offer can be integrated with a certain voice server.
It can be appreciated that realizing in the module of embodiment in conjunction with cloud technology, module 112 is obtained by characteristic information
It sends the speech recognition request comprising the voice stream data and receives the corresponding of remote server feedback and parse the voice fluxion
According to and obtain character string text with the determination classification information, since the data in remote server are more comprehensively scientific so that
Obtained classification information is also more scientific accurate, has universal adaptability, so as to avoid judging by accident, further increasing can
By property.
In yet another embodiment of the present invention, this feature data obtaining module 112 is by carrying out with local voice library
Match cognization processing specifically includes to obtain the classification information of the character string text formatting: A, characteristic information obtains module
112 are configured as the voice stream data that will acquire and the progress match cognization processing of local voice library;B, characteristic information obtain module
112 are additionally configured to obtain the classification information of the character string text formatting to match with the voice stream data.
In local voice library, it is previously stored with voice stream data and character string text is in the list of mapping relations, the step
Voice stream data recognizer calls local voice library in rapid, and the voice stream data that will acquire carries out match cognization processing with it.
Then the classification that the traversal lookup of module 112 is previously stored with voice stream data Yu character string text formatting is obtained by characteristic information
Information is in the list of mapping relations, obtains the classification information of character string text formatting to match with voice stream data.Certainly,
The sound bank can be the downloading from remote speech Cloud Server and save to local voice library that is local and being formed.If local voice
It, can be with long-range cloud service when not finding the classification information of character string text formatting corresponding with the voice stream data in library
Device realizes that communication updates local voice library.
It obtains module 112 mentioned by characteristic information to have obtained capturing the classification information in instruction, further, it is also necessary to
Navigation information is obtained, in one embodiment of the invention, the navigation information needs to call navigation module to obtain when leading
Boat information.It should be noted that the navigation module can be and be built in automobile data recorder, it is also possible to external navigation mould
Block, this is not limited by the present invention.Further, the navigation module can be GPS navigation module or Beidou satellite navigation.Example
As in one embodiment of the invention, the navigation module is GPS navigation module.Optionally, the GPS navigation module foundation
NMEA-0182 agreement obtains the navigation information of Target Photo, or the navigation information of Target Photo is obtained by base station location mode.
Specifically, the navigation information includes time, geographical location, direction of traffic, running speed, any one in geographic latitude and longitude
Or it is any a variety of.This feature data obtaining module 112 be configured as by call navigation module come obtain Present navigation information can
It is realized using two embodiments, illustrates the realization process of each embodiment in detail below:
1, in one embodiment of the invention, the GPS navigation module obtains Target Photo according to NMEA-0182 agreement
Navigation information.Specifically, NMEA-0183 agreement is the GPS data format protocol of specification.It wherein may include time, geographical position
Set, data, the GPS navigation module such as longitude and latitude, direction of traffic, running speed obtain satellite positioning signal from GPS satellite, and
Calculate navigation data.In GPS navigation module processing module analysis and processing receive based on NMEA-0183 protocol format
ASCI I code sentence, obtain navigation information.
2, in another embodiment of the invention, the GPS navigation module obtains target figure by base station location mode
The navigation information of piece, this method are the common technological means of those skilled in that art, and this will not be detailed here.
Further, the memory module 113 is saved for the Target Photo to be appended corresponding characteristic information
In local storage medium.
Specifically, needing individually to store the Target Photo in order to avoid Target Photo is capped.In one embodiment,
The present invention using SD card as the memory module 113 for illustrate embodiments thereof, but do not constitute the limitation to the invention,
Non-volatile memory device can be used as the memory module 113 of destination folder in the embodiment in the prior art for other.
Further, memory module 113 is configured as the Target Photo being appended corresponding characteristic information preservation
In local SD card storage medium.In one embodiment of the module, the corresponding characteristic information of Target Photo only and target
Picture is stored together with certain relationship, such as in a specific embodiment, Target Photo name and the target figure
The characteristic information filename of piece is consistent, and is stored in a file.
In another embodiment, the corresponding characteristic information of Target Photo is added in the attribute setting of Target Photo and deposits
Storage is in local.The illustrative embodiments of the embodiment are as follows:
Specifically, memory module 113, which adds the characteristic information, obtains specific format in the attribute information of picture
Target Photo;The Target Photo of the specific format is stored in local storage medium again.Due to using camera mode capture or
Often capacity is larger for the Target Photo that the static images of intercepting and capturing video camera obtain, in order to reduce the capacity of picture, by taking pictures
The candid photograph of module 111 needs after obtaining Target Photo using Huffman, RLE (run-length encoding), LZW (Lempel-
Ziv-Welch Encoding) etc. compression algorithms by the specific format of Target Photo boil down to.In this embodiment, it first has to adopt
With memory module 113 by the Target Photo boil down to specific format file.
It is well known that common is in the prior art JPEG (Joint Photographic Experts by picture compression
Group), GIF (Graphics Interchange Format) or PNG (Portable Network Graphics) format.
Wherein, GIF is a kind of lossless compression, is encoded using LZW compression algorithm, uses 8 color compressions, can only at most handle
276 kinds of colors are not easy to save rgb image;PNG is a kind of lossless data compression bga, same disadvantage and
GIF is the same, is unfavorable for the optimization processing of picture, and file size is big compared with extended formatting;JPEG is a kind of for photograph image
And a kind of widely used distortion compression standard method, destructive compression is carried out using Huffman compression algorithm, first picture
YUV is converted to from RGB, the information of each pixel is stored with brightness, tone and saturation degree.Then the letter of tone and saturation degree is reduced
Quantity is ceased, this difference is not easy to be visually detectable, but image bytes number can substantially reduce.Therefore, of the invention one
In a embodiment, photo module 11 is preferably captured to obtained Target Photo data, is converted to by Huffman compression algorithm
The Target Photo of jpeg format.
Those skilled in the art should know that the picture attribute of jpeg format is arranged in the Exif information of picture.Exif
(Exchangeable Image File) is a kind of image file format.Actually Exif format is exactly the insertion of jpeg format head
The information of picture, the aperture for the shooting that can Load Image, shutter, balance be white, ISO, focusing, date, time and navigation information.
Therefore characteristic information can be added in the Exif information of obtained Target Photo and obtain the classification information and lead that module 112 obtains
Boat information.In a specific embodiment, jpeg file is with character string " 0XFFD8 " beginning, and is tied with character string " 0XFFD9 "
Beam, and for storing Exif information between character string " OXFFE0-0XFFEF ".Memory module 113 is configured as to obtain
Rgb format Target Photo data by during the target image of Huffman compression algorithm boil down to jpeg format, by institute
The navigation information stated and classification information addition realize this in the Exif information between character string " OXFFE0-0XFFEF "
The attribute setting of Target Photo in invention.
Although being pointed out that the present invention carries out example with jpeg file format, those skilled in the art should be managed
Solution, the file format of PNG etc can also be used by the present invention, be shown in picture file suffix name, be .jpeg,
.jpg .png etc..It, can be in each destination folder for not supporting the picture format file of EXIF in some embodiments
Corresponding with all picture concerned files therein the are stored in remarks table of middle building, the table establish picture file name and
Mapping relations data between above-mentioned navigation information solve the obstacle that attribute information caused by format differences adds, similarly can be with
Meets the needs of of the invention.
It is instructed in conclusion aforementioned candid photograph module 11 is realized in response to capturing, camera is captured to the target figure obtained
Piece and the characteristic information corresponding with the Target Photo extracted have been stored in local storage medium.Due to local storage medium
Memory capacity is limited, therefore Target Photo is easily overwritten, and cannot be effectively protected.
In view of defect above-mentioned, further, refer to Fig. 8, heretofore described transmission module 12, in response to
Detect the stored event of Target Photo, by the Target Photo being locally stored by preset Bluetooth transmission channel it is automatic on
It passes.
In order to realize the picture real-time Transmission for capturing candid photograph module 11 to mobile terminal, automobile data recorder and movement are eventually
End need to be in advance based on local area network establish connection realization be in communication with each other.Since the memory capacity at automobile data recorder end is limited, when with
When family wishes that Target Photo is real-time transmitted to the mobile terminal safeties such as mobile phone, PAD to be protected, bluetooth connection skill can be passed through
The local area network of art building is uploaded automatically on the Target Photo to mobile terminal, certainly, on condition that automobile data recorder energy and mobile phone
Or the mobile terminals such as PAD realize communication.Therefore, disclosed according to one embodiment of present invention, sound is executed in transmission module 12
Ying Yu detects the stored event of Target Photo, and the Target Photo being locally stored is automatic by preset Bluetooth transmission channel
Before upload, referring to Figure 10, it further include bluetooth communication 14.
The bluetooth communication 14, for search for can point-to-point connection bluetooth equipment and automatic matching connect to establish
Bluetooth transmission channel.
It can be appreciated that establishing the connection between two bluetooth equipments, need two bluetooth equipments in the same RFCOMM
Possess the BluetoothSocket of a connection under channel respectively.In the present embodiment, bluetooth communication 14 in automobile data recorder
Search can issue automatically a request link order after the bluetooth equipment of point-to-point connection;Certainly, which can also
Bluetooth equipment to be mobile terminal is actively initiated, and the needs of automobile data recorder end bluetooth communication 14 are asked in response to the connection
It asks, connects bluetooth equipment.Specifically, the present embodiment is with automobile data recorder end bluetooth communication 14 in response to mobile terminal
It automatically initiates for connection request and illustrates the pairing connection procedure of bluetooth equipment.
In implementing at of the invention one, realized between bluetooth communication 14 and mobile terminal based on Socket logical
Letter.Firstly, automobile data recorder end bluetooth communication 14 listens to the BluetoothService of mobile terminal by search, adjust
It is obtained with ListenUsingRfcommWithServiceRecord (String, the UUID) method of Bluetoothservice
Bluetoothsocket object, wherein String indicates the title of mobile terminal, and UUID indicates the connection mark with mobile terminal
Know.Connect () method of Bluetoothsocket is recalled, if UUID is matched with the UUID of mobile terminal, and is moved
Dynamic terminal receives the Bluetoothsocket, automobile data recorder end bluetooth communication 14 will and mobile terminal sharing
RFCOMM channel completes Bluetooth transmission Path Setup process, and returns to connect () method.When two bluetooth equipments connect into
After function, automobile data recorder end bluetooth communication 14, which will be called with close (), closes connection, to save system resource.
After the success of Bluetooth transmission Path Setup, further, the transmission module 12 is configured as through the bluetooth
Transmission channel uploads automatically is stored in the local Target Photo.
When automobile data recorder and after mobile terminal successful connection, both sides will acquire respectively exclusive
Bluetoothsocket, to realize the data transmission of equipment room.When the transmission module 12 at automobile data recorder end has detected figure
It is automatic to issue picture transfer instruction after piece storage or mobile terminal detect that there is picture storage at automobile data recorder end.Transmission module
12 traversals first are stored in local Target Photo file and corresponding characteristic information file, then pass through calling
GetInputStream () and getOutputStream () method obtain the iostreams of Target Photo data to be uploaded,
Again the picture file name for needing to send is read or is written by calling read (byte []) and write (byte []) method
Etc. information and its corresponding character length.It can be appreciated that being called since read-write operation belongs to obstruction, the transmission module 12
Need to create dedicated thread to be managed, specific embodiment is the well-known technique of those skilled in that art, herein not
It repeats again.
It can be appreciated that when the transmission module 12 uploads the Target Photo automatically by the Bluetooth transmission channel, with
It encloses and passes characteristic information corresponding with the Target Photo.Certainly, it is appreciated that when corresponding with Target Photo from foregoing description
When characteristic information is added in the attribute information of Target Photo, it is only necessary to upload the Target Photo;Conversely, transmission module
12 need while uploading the corresponding characteristic information of Target Photo.
In conclusion abovementioned steps middle rolling car recorder end transmission module 12 is after detecting that Target Photo has stored, it is real
When the Target Photo being locally stored is automatically uploaded on mobile terminal by preset Bluetooth transmission channel, realize picture
The real-time transfer of file avoids picture and is stored in automobile data recorder end and loses since memory capacity is limited capped.Into one
Step, in order to guarantee picture successfully by safe transfer, the removing module 13 is configured as being passed according to the preset bluetooth
The target figure for being stored in local storage medium specified in the results of comparison list is deleted in the results of comparison list that defeated channel obtains
Piece.
Picture by automobile data recorder safety be transferred to mobile terminal after, which can be uploaded to long-distance cloud by mobile terminal
Server saves.And the pictorial information for successfully uploading to remote server is fed back into driving in the form of results of comparison list
It is right to delete this using removing module 13 for recorder end, the results of comparison list that automobile data recorder is obtained according to Bluetooth transmission channel
According to the Target Photo for being stored in local storage medium specified in the results list, local storage space is discharged in time, avoids resource
Waste.Specifically, referring to Figure 11, which specifically includes receiving module 131, searching module 132 and execution module
133。
The receiving module 131, the results of comparison list for being fed back by Bluetooth transmission channel wireless receiving;
The searching module 132, for finding the list in local storage medium according to the results of comparison list
In specify Target Photo;
The execution module 133, for deleting the Target Photo.
It can be appreciated that the control that the receiving module 131 is fed back by well-established Bluetooth transmission channel wireless receiving
The pictorial information for having succeeded and having uploaded is listed in the results list is also possible to other tables wherein may include the filename of picture
Sign is the uniqueness characteristic information of the picture, such as picture size or candid photograph time etc..Automobile data recorder is according to obtained picture
Uniqueness characteristic information.Find () traversal is called to find the picture and corresponding characteristic by searching for module 132 again
The store path of message file.Then after receiving the control list of feedback, execution module 133 can call immediately rm to the road
The picture and its uniqueness characteristic information stored under diameter executes delete command, can also be inadequate to automobile data recorder end memory capacity
In the case where execution module 133 recall rm the picture and its uniqueness characteristic information that store under the path executed and delete life
It enables, discharges local storage space, avoid the wasting of resources.
Similarly, according to the function modoularization thinking of computer software, the present invention is additionally provided with opposite with automobile data recorder end
The mobile terminal answered is communicated with realizing with automobile data recorder realization, is passed safely the present invention also provides a kind of using above-mentioned picture
The mobile terminal of transmission method, please refers to Figure 12.The mobile terminal includes the second receiving module 21, the second uploading module 22 and feedback
Module 23, the principle for erecting entire terminal using second receiving module 21, the second uploading module 22 and feedback module 23
Frame, to realize modularization embodiment.The concrete function that each module is realized is disclosed in detail below.
Second receiving module 21 is deposited for being stored in by preset Bluetooth transmission channel wireless receiving Target Photo
Storage area.
In order to realize that the picture real-time Transmission that will be captured needs in advance to mobile terminal, automobile data recorder and mobile terminal
Connection realization is established based on local area network to be in communication with each other.By having in foregoing description seeing as the memory capacity at automobile data recorder end
Limit, when user wishes that Target Photo, which is real-time transmitted to the mobile terminal safeties such as mobile phone, PAD, to be protected, mobile terminal can
The Target Photo sent from automobile data recorder end is received with the local area network wireless constructed by bluetooth connection technology.Certainly, premise
It is that automobile data recorder can be communicated with mobile terminals realizations such as mobile phone or PAD.Therefore disclosed according to an embodiment of the present invention, also
Including bluetooth communication 24.The bluetooth communication 24 is configured as by preset Bluetooth transmission channel wireless receiving
Target Photo is stored in front of memory block, search can point-to-point connection bluetooth equipment and automatic matching connection with establish bluetooth biography
Defeated channel.
It can be appreciated that establishing the connection between two bluetooth equipments, need two bluetooth equipments in the same RFCOMM
Possess the BluetoothSocket of a connection under channel respectively.In the present embodiment, when bluetooth communication 24 in mobile terminal
Search can issue automatically a request link order after the bluetooth equipment of point-to-point connection;Certainly, which can also
Bluetooth equipment to be automobile data recorder end is actively initiated, and the needs of mobile terminal bluetooth communication 24 are asked in response to the connection
It asks, connects bluetooth equipment.Specifically, the present embodiment illustrates that bluetooth is set so that mobile terminal actively initiates the connection request as an example
Standby pairing connection procedure.
Such as in implementing at of the invention one, the realization of the module for ease of understanding, with Android phone for the implementation
Mobile terminal in example illustrates the realization process of the present embodiment.It can be appreciated that using Bluetooth communication mould in Android phone
Before the Blue-tooth communication method of block 24, to apply for the response permission permission android:name=" using bluetooth
Android.permission.BLUETOOTH_ADMIN " then can just be initially configured the bluetooth module of the machine, call bluetooth behaviour
The core classes BluetoothAdapter of work directly opens the Bluetooth function of the machine.Then bluetooth communication 24 starts to search for
The bluetooth equipment at automobile data recorder end goes to execute one using startDiscover () method of BluetoothAdapter
Asynchronous system, using which energy fast search to neighbouring bluetooth equipment, which is actually in a System
It is carried out in Service, it is possible to cancelDiscovery () method be called to stop search.It is complete in this search process
Cheng Hou, the needs of bluetooth communication 24 receive the details of the automobile data recorder found, must filter ACTION_
This Intert of FOUND movement, registers a BroadcastReceiver object to receive the bluetooth users name of automobile data recorder
And MAC Address, it realizes and matches with the bluetooth equipment at the automobile data recorder end.
It after the completion of pairing, needs to establish the connection between mobile terminal and the bluetooth equipment of automobile data recorder, needs to pass through
Mobile terminal bluetooth communication 24 as request sender calls the ListenUsingRfcom of BluetoothAdapter
MWithServiceRecord (String, UUID) method obtains BluetoothServersocket object, UUID indicate with
The connection identifier at automobile data recorder end;The accept () method for recalling BluetoothServersocket, which monitors connection, asks
It asks, if receiving the connection request at automobile data recorder end, a Bluetoothsocket can be returned and give automobile data recorder end
Bluetooth equipment needs to call the side close () of BluetoothServersocket finally after two bluetooth equipment successful connections
Method discharges resource.
After the success of Bluetooth transmission Path Setup, further, second receiving module 21 is configured as by default
Bluetooth transmission channel wireless receiving described in Target Photo.
When mobile terminal and after automobile data recorder successful connection, both sides will acquire respectively exclusive
Bluetoothsocket, to realize the data transmission of equipment room.It is mobile whole during second receiving module 21 is realized
Hold the second receiving module 21 by calling getInputStream () and getOutputStream () method to be received to obtain
Target Photo data iostream, then by calling read (byte []) and write (byte []) method reading or
Received picture file is written in person.It can be appreciated that calling since read-write operation belongs to obstruction, need to create in the module
Dedicated thread is managed, and specific embodiment is the well-known technique of those skilled in that art, details are not described herein.When
After image data receives successfully, the second receiving module of mobile terminal 21 will call close () to close connection, to save
System resource.
It can be appreciated that in second receiving module 21, when by Target Photo described in the Bluetooth transmission channel reception,
Accompanying receives characteristic information corresponding with the Target Photo.Certainly, it is appreciated that when corresponding with Target Photo from foregoing description
Characteristic information when being added in the attribute information of Target Photo, the second receiving module 21 only needs to receive the Target Photo i.e.
It can;Conversely, the second receiving module 21 needs while receiving the corresponding characteristic information of Target Photo.
Further, second receiving module 21 is configured as the Target Photo being stored in memory block.
In the present invention, the Target Photo of wireless receiving is uploaded by remote interface in real time automatically for mobile terminal
It is stored into Cloud Server, the Target Photo that the second receiving module 21 is configured as to receive in the present invention is stored in read-write speed
Spend fast core buffer.Since Target Photo data capacity is larger, if the picture being stored in core buffer cannot be by
It timely uploads, can be covered by rear received picture and loses, therefore at least buffered in the present invention at memory headroom application 2
Area stores Target Photo.Each buffer area sets two working conditions: buffer area sky and buffer area are full.When the mesh received
After piece of marking on a map fills up a buffer area, the Target Photo received after being stored by another buffer area, using multiple buffer
Stored target picture can guarantee that when mobile terminal can not send data in time, Target Photo data will not be covered quickly, be had
Conducive to the safe transmission of Target Photo.
In conclusion by preset Bluetooth transmission channel reception to Target Photo in aforementioned second receiving module 21, and
It has been stored in local core buffer.
Further, referring to Figure 12, the second uploading module 22 of the present invention, in response to detecting Target Photo
Stored event uploads the Target Photo by remote interface.
On mobile terminal in the present invention, to realize that the Target Photo that will be received uploads all remote servers in real time
On, the permission that i.e. connection Wifi obtains access Internet before receiving data is needed, then the second uploading module 22 construction one
A includes the long-distance Log server request of Target Photo data, the TCP/IP network transmission protocol is based on by 3G or 4G network, by this
Upload request is sent to the cloud server of access internet by remote interface.
In the present invention, the second uploading module 22 can be the Target Photo by the agreement that remote interface transmits
Connection-oriented transmission control protocol TCP in TCP/IP;It is also possible to connectionless User Datagram Protocol UDP.Due to scheming
It is very high to real-time and synchronism requirement when piece file transmits, and need to occupy biggish network bandwidth, therefore of the invention
In one preferred embodiment, Target Photo is used realtime transmission protocol RTP (Real-time by the second uploading module 22
Transport Protocal) it is uploaded by remote interface.RTP is the network transmission protocol based on UDP, is mentioned to be transmitted data
For the end-to-end transfer service with real-time characteristic comprising two sub-protocols, RTP and RTCP.Wherein RTP is data transmission association
View is used for real-time transmission data, and RTCP is control protocol, and the quality problems of transmitted data are fed back for QoS.
Further, in order to guarantee that mobile terminal goes out the Target Photo real-time Transmission for being stored in buffer area, on second
Transmission module 22 uses multi-thread mechanism.Such as in one embodiment of the invention, the creation of the second uploading module 22 has following several
A thread: receiving thread, scheduling memory thread and thread and one are sent it is responsible for the main thread that each sub thread is coordinated.It receives
Thread is responsible for being stored in local buffer from aforementioned Bluetooth transmission channel reception Target Photo, and by the Target Photo.When wherein
After one buffer area storage is full, scheduling memory thread just selects another buffer area according to certain orientation to store received target
Picture, while the control for the buffer area having been filled with is discharged, after detecting that Target Photo is stored in buffer area, receiving thread hair
A signal is sent to give transmission process, transmission process calls remote interface to send mesh by the application program in triggering mobile terminal
It marks on a map piece, so recycles, can effectively improve the real-time of picture transfer, save the time, and cause on second in Network Abnormal
Transmission module 22 without in time send picture when, will not it is cracking covering buffer area in Target Photo, effectively protect mesh
It marks on a map the safe transmission of piece.
It can be appreciated that in this step, when the second uploading module 22 uploads the Target Photo by the remote interface,
Accompanying uploads characteristic information corresponding with the Target Photo.Certainly, it is appreciated that when corresponding with Target Photo from foregoing description
Characteristic information when being added in the attribute information of Target Photo, the second uploading module 22 only needs to upload the Target Photo i.e.
It can;Conversely, the second uploading module 22 needs while uploading the corresponding characteristic information of Target Photo by remote interface.This hair
Characteristic information in bright refers to navigation information or can characterize the classification information of the affiliated type of the Target Photo, wherein the navigation
Information include the time, geographical location, direction of traffic, running speed, in geographic latitude and longitude any one or it is any a variety of;It is described
Classification information includes any amount seed type during personage, landscape, traffic accident, road conditions are all types of.
In conclusion between middle rolling car recorder of the present invention and mobile terminal by search can the bluetooth of point-to-point connection set
The connection of standby and automatic matching is to establish Bluetooth transmission channel;And after detecting automobile data recorder end storage picture, by described
Preset Bluetooth transmission channel uploads automatically is stored in the local Target Photo to mobile terminal;And subsequent movement terminal
Detect calls remote interface to upload Target Photo in real time to server automatically after buffer area is stored with Target Photo.That is driving note
Record instrument end and mobile terminal pairing connection and transmission picture are automatically performed, and without manual operation, are improved user experience, are kept away
Exempt from manual operation and brings driving safety problem to user.
Further, heretofore described feedback module 23, for passing through the preset Bluetooth transmission channel feedback mark
The results of comparison list whether bright each Target Photo has uploaded.
The target figure of Cloud Server is successfully uploaded to by mobile terminal in order to allow automobile data recorder end to delete as needed
Piece discharges memory space, avoids the wasting of resources.The feedback module 23 is logical by the Bluetooth transmission established with automobile data recorder end
Road feedback indicates the results of comparison list whether each Target Photo has uploaded.Specifically, referring to Figure 14, the feedback
Module 23 further includes having detection module 231, list loading module 232 and sending module 233.
Whether the detection module 231, the Target Photo for detecting the upload of remote interface end have uploaded success.
After passing Target Photo on mobile terminals, the detection module 231 can be according to feeding back from remote server
File succeeded upload information in determine picture whether successfully uploaded, specific embodiment be skill well known in the art
Art, details are not described herein.
If the Target Photo uploads successfully, if the list loading module 232 is configured as the Target Photo and uploads
Success, will characterize be the Target Photo unique information be added results of comparison list.
After receiving the information for the upload that succeeded from the Target Photo file that remote server is fed back from mobile terminal, institute
State list loading module 232 and may be set in include in the information of feedback the filename of the picture, Target Photo size or bat
Take the photograph the unique information that time etc. can be characterized as the Target Photo;It is the target that characterization can also be extracted before uploading Target Photo
The uniqueness characteristic information of picture, the Target Photo waiting for receiving server end feedback have succeeded after the information uploaded, the column
Table loading module 232 adds the Target Photo uniqueness characteristic information pre-saved in the results of comparison list pre-established
In.For example, in an exemplary embodiment of the present invention, the list loading module 232 passes through calling
ExecSQL () method in SQLiteDatabase class will have become to establish results of comparison list, then by insert () method
The characteristic information for the Target Photo that function uploads adds in the results of comparison list.
The sending module 233, for sending the results of comparison list by the Bluetooth transmission channel.
The local area network wireless that the sending module 233 of mobile terminal can be constructed by bluetooth connection technology sends the control knot
Automobile data recorder end is given in fruit list.The automobile data recorder known to foregoing description can have been realized logical with mobile terminals such as mobile phone or PAD
Letter.And the sending module 233 sends the implementation method of the results of comparison list by point-to-point Bluetooth transmission channel, ditto
The embodiment for stating 21 wireless receiving image data of the second receiving module is identical, and detail please refers to aforementioned second receiving module
Principle described in 21 and implementation, repeat no more here.
In conclusion in the present invention, automobile data recorder can in real time pass through the Target Photo being locally stored preset
Bluetooth transmission channel is automatically uploaded on mobile terminal, and mobile terminal is uploaded to picture far by remote interface by internet
The storage of journey server, realizes the real-time transfer of picture file, avoids picture and be stored in automobile data recorder end due to memory capacity
It is limited capped and lose.The picture that automobile data recorder termination receives mobile terminal feedback simultaneously successfully uploads to remote service
After device, then it will be stored in local picture deletion, to guarantee the safe transfer of picture, and discharges local storage space in time, keep away
Exempt from the wasting of resources.Further, the present invention sends mobile terminal for Target Photo by Bluetooth transfer techniques, then by mobile whole
On Target Photo is uploaded onto the server at end.Mobile phone terminal can connect free Bluetooth transfer techniques and access internet simultaneously, keep away
Exempt from automobile data recorder end and directly upload Target Photo to lead to the problem of great number campus network to server, also ensures target figure
Piece is transferred to the real-time of internet by mobile terminal.
Further, to facilitate the understanding of the present invention middle rolling car recorder realized jointly with mobile terminal it is of the present invention
The above method.It is to combine driving recording the present invention provides a kind of automobile data recorder picture transfer control method referring to attached drawing 15
Instrument and mobile terminal are described.
S01, automobile data recorder capture instruction acquisition Target Photo in response to user and store it in local storage medium;
For middle rolling car recorder of the present invention in the driving process of automobile, camera is shooting always landscape and road conditions on the way
Information, and for the ease of the real-time grasp shoot of picture, there are a certain interested picture needs to capture when user has found edge on the way
When, the candid photograph instruction with the picture classification information can be directly issued, is captured by camera and obtains Target Photo, acquisition and institute
State the corresponding characteristic information of Target Photo;It the Target Photo is appended corresponding characteristic information is stored in and be locally stored
Medium.
The described candid photograph instruction can be the physical button or touch panel that triggering is arranged on automobile data recorder, can also be with
It is phonetic order.When the candid photograph instruction is obtained by triggering the physical button being arranged on automobile data recorder or touch panel
When, the physical button or touch panel should preset wherein one that multiple and each key need to correspond in classification information
Class obtains the classification information from a certain key obtained capture is triggered with convenient processor in instruction, but in the party
In method when driver is driving, it is also necessary to it is gone triggering that the physical button at automobile data recorder end is set with hand or is touched control key,
Easily there is security risk.In one of preferred embodiment of the invention, in order to guarantee driver driving safety, it is preferred to use
Phonetic order is instructed as the candid photograph, includes classification information in the natural language for the phonetic order that wherein user issues.
It further, further include step S02, the Target Photo is uploaded to by automobile data recorder automatically by first passage
Mobile terminal.
In order to realize that the picture real-time Transmission that will be captured needs in advance to mobile terminal, automobile data recorder and mobile terminal
It is in communication with each other based on the first passage realization that Bluetooth technology is established.Since the memory capacity at automobile data recorder end is limited, work as user
When wishing that Target Photo is real-time transmitted to the mobile terminal safeties such as mobile phone, PAD to be protected, bluetooth connection technology can be passed through
The first passage of building is uploaded automatically on the Target Photo to mobile terminal, certainly, on condition that automobile data recorder energy and mobile phone
Or the mobile terminals such as PAD realize communication in advance.
It further, further include step S03, while mobile terminal passes through the Target Photo obtained automatically from first passage
Second channel is automatically uploaded to cloud.
After mobile terminal automatically receives Target Photo, which is transmitted by the second channel that Wifi technology is established
Piece realizes the safe transmission of picture to cloud, and receives the message uploaded that succeeded from the picture that cloud is fed back.In the present embodiment
Mobile terminal is sent by Target Photo by Bluetooth transfer techniques, then is uploaded to Target Photo by Wifi by mobile terminal
On server.Mobile phone terminal can connect free Bluetooth transfer techniques and the access internet Wifi simultaneously, avoid automobile data recorder
End directly uploads Target Photo and leads to the problem of great number campus network to server, also ensures that Target Photo is passed by mobile terminal
The defeated real-time to internet.
It further, further include S04, automobile data recorder obtains the results of comparison that mobile terminal is fed back according to from first passage
The Target Photo for being stored in local storage medium specified in the results of comparison list is deleted in list.
Automobile data recorder has become function by the characterization picture that pre-set first passage receives mobile terminal feedback and uploads
To the results of comparison list in cloud, according to the results of comparison list lookup to being stored in local Target Photo, and the mesh is deleted
It marks on a map piece.
In conclusion in the present invention, automobile data recorder can in real time pass through the Target Photo being locally stored preset
First passage is automatically uploaded on mobile terminal, while the Target Photo received is passed through second by internet by mobile terminal
Channel uploads to remote server storage, realizes the real-time transfer of picture file, avoids picture and is stored in automobile data recorder end
It is lost since memory capacity is limited capped.Simultaneously automobile data recorder termination receive mobile terminal feedback picture successfully on
After passing to remote server, then it will be stored in local picture deletion, to guarantee the safe transfer of picture, and release is local in time
Memory space avoids the wasting of resources.
In an application scenarios of the invention, the driving note of technical solution of the present invention being mounted on automobile is implemented
Record instrument is in open state, and the automobile data recorder and user mobile phone are in bluetooth point-to-point connection state, while mobile phone passes through
Wifi is connect with internet.In cockpit anyone whenever, capable of emitting phonetic order.In vehicle traveling process,
" landscape bat " phonetic order is issued by driver, automobile data recorder identifies the phonetic order at once, is " landscape by its corresponding conversion
Clap " text information, capture current front side picture, be stored in corresponding SD card, complete from receive phonetic order to point
Analyse the overall process captured to storage.Since user mobile phone and automobile data recorder are in bluetooth connection status, then automobile data recorder
Detect that Target Photo has been stored in local, automobile data recorder end passes the picture file that shooting is completed by established bluetooth
Into the mobile phone, mobile phone receives the picture file by bluetooth and is stored in local core buffer defeated channel transfer, completes
The process of the safe transfer of automobile data recorder end Target Photo.Then mesh is stored with when mobile phone detects in a certain core buffer
It marks on a map to trigger in mobile phone application program after piece and from buffer area read picture and be based on 3G or 4G network by remote interface and upload in real time
To remote server, after picture uploads successfully, the Bluetooth transmission channel feedback that mobile phone terminal passes through connection again indicates each target figure
Piece has succeeded the results of comparison list uploaded to automobile data recorder.Automobile data recorder is deleted according to the results of comparison list of acquisition
The Target Photo for being stored in local storage medium specified in the results of comparison list, that is, complete the safe transmission of Target Photo
Process.
In brief, the present invention quickly can will be captured and be stored according to user instructions in the case where comparatively safe
The picture at automobile data recorder end, automatic safe transfer in real time is automatically real to mobile phone terminal, then by mobile phone terminal in a very short period of time
When upload in remote server, realize the safeguard protection and safe transmission of picture.
In the instructions provided here, although the description of a large amount of detail.It is to be appreciated, however, that of the invention
Embodiment can practice without these specific details.In some embodiments, it is not been shown in detail well known
Methods, structures and technologies, so as not to obscure the understanding of this specification.
Although having been illustrated with some exemplary embodiments of the invention above, those skilled in the art will be managed
Solution, in the case where not departing from the principle of the present invention or spirit, can make a change these exemplary embodiments, of the invention
Range is defined by the claims and their equivalents.
Claims (41)
1. a kind of automobile data recorder picture transfer control method, which comprises the steps of:
Physical button, touch panel or voice of the automobile data recorder in response to user with classification information capture instruction and obtain mesh
It marks on a map and piece and stores it in local storage medium, the classification information includes appointing during personage, landscape, traffic accident, road conditions are all types of
It anticipates a seed type;
The Target Photo is uploaded to mobile terminal by first passage by automobile data recorder automatically;
The Target Photo obtained automatically from first passage is automatically uploaded to cloud by second channel by mobile terminal simultaneously;
Automobile data recorder obtains the results of comparison list that mobile terminal is fed back according to from first passage, deletes the results of comparison list
In specify the Target Photo for being stored in local storage medium;
The first passage is Bluetooth transmission channel;The second channel be WiFi transmission channel, the first passage with it is described
Second channel is also turned on.
2. a kind of automobile data recorder picture method for security protection, which comprises the following steps:
Physical button, touch panel or voice in response to user with classification information capture instruction, are captured by camera
It obtains Target Photo and is stored in local storage medium, the classification information includes during personage, landscape, traffic accident, road conditions are all types of
Any one type;
In response to detecting the stored event of Target Photo, the Target Photo being locally stored is led to by preset Bluetooth transmission
Road uploads automatically;
According to the Bluetooth transmission channel obtain results of comparison list, delete in the results of comparison list specify be stored in local
The Target Photo of storage medium;
Wherein, the results of comparison list is generated after Target Photo uploads to cloud by mobile terminal, and picture is by driving recording
Instrument safety be transferred to mobile terminal after, mobile terminal is in real time automatically uploaded to the picture remotely by wifi transmission channel
Cloud Server saves, and the Bluetooth transmission channel is also turned on the wifi transmission channel.
3. according to the method described in claim 2, it is characterized in that, the voice in response to user with picture classification information is captured
Instruction is captured by camera and obtains the step of Target Photo is stored in local storage medium, comprising:
Voice in response to user with picture classification information captures instruction, is captured by camera and obtains Target Photo;
Obtain characteristic information corresponding with the Target Photo;
The Target Photo is appended corresponding characteristic information and is stored in local storage medium.
4. according to the method described in claim 3, it is characterized in that, the Target Photo to be appended to corresponding characteristic information
The step of being stored in local storage medium, comprising:
Characteristic information addition is obtained into the Target Photo of specific format in the attribute information of picture;
The Target Photo of the specific format is stored in local storage medium.
5. according to the method described in claim 2, it is characterized in that, being incited somebody to action in response to detecting the stored event of Target Photo
Before the step of Target Photo being locally stored is uploaded automatically by preset Bluetooth transmission channel, further includes:
Search can point-to-point connection bluetooth equipment and automatic matching connect to establish Bluetooth transmission channel.
6. according to the method described in claim 2, it is characterized in that, by the transmission channel upload the Target Photo when,
Accompanying uploads characteristic information corresponding with the Target Photo.
7. according to the method described in claim 2, it is characterized in that, being arranged according to the results of comparison that the Bluetooth transmission channel obtains
Table, delete in the results of comparison list specify the Target Photo for being stored in local storage medium the step of, comprising:
The results of comparison list fed back by Bluetooth transmission channel wireless receiving;
The Target Photo specified in the list is found in local storage medium according to the results of comparison list;
Delete the Target Photo.
8. according to the method described in claim 6, it is characterized in that, the characteristic information refers to navigation information or captures in instruction
Incidental classification information.
9. according to the method described in claim 6, it is characterized in that, the characteristic information corresponding with the Target Photo is added
The Target Photo is appended in the attribute information of the Target Photo to upload.
10. according to the method described in claim 8, it is characterized in that, the navigation information includes time, geographical location, driving
Direction, running speed, in geographic latitude and longitude any one or it is any a variety of.
11. a kind of mobile terminal picture safe transmission method, which comprises the following steps:
Memory block is stored in by preset Bluetooth transmission channel wireless receiving Target Photo, wherein the Target Photo is served as reasons
Physical button, touch panel or voice of the automobile data recorder in response to user with classification information are captured instruction and are obtained;
In response to detecting the stored event of Target Photo, the Target Photo is uploaded by remote interface;Wherein, by remote
When journey interface uploads the Target Photo, accompanying uploads characteristic information corresponding with the Target Photo, and the characteristic information refers to energy
Characterize the classification information of the affiliated type of the Target Photo;Wherein, the classification information includes that personage, landscape, traffic accident, road conditions are all kinds of
Any one type in type;
The results of comparison column whether each Target Photo has uploaded are indicated by the preset Bluetooth transmission channel feedback
Table;
The memory block is core buffer;
The core buffer is at least provided with two, and each buffer area sets two working conditions: buffer area is empty and buffers
Qu Man, after the Target Photo received fills up a buffer area, the target that is received after being stored by another buffer area
Picture, using multiple buffer stored target picture, after detecting that Target Photo is stored in buffer area, receiving thread sends one
Signal gives transmission process, and transmission process calls remote interface to send target figure by the application program in triggering mobile terminal
Piece.
12. according to the method for claim 11, it is characterised in that: the Target Photo is logical based on realtime transmission protocol RTP
Cross remote interface upload.
13. according to the method for claim 11, it is characterised in that: the Target Photo using multi-thread mechanism be based on 3G or
4G network is uploaded by remote interface.
14. according to the method for claim 11, it is characterised in that: pass through preset Bluetooth transmission channel wireless receiving target
Picture was stored in front of the step of memory block, further includes:
Search can point-to-point connection bluetooth equipment and automatic matching connect to establish Bluetooth transmission channel.
15. according to the method for claim 11, it is characterised in that: indicated by the preset Bluetooth transmission channel feedback
The step of whether each Target Photo has uploaded results of comparison list, comprising:
Whether the Target Photo that detection remote interface end uploads has uploaded success;
If the Target Photo uploads successfully, will characterize be the Target Photo unique information be added results of comparison list;
The results of comparison list is sent by the Bluetooth transmission channel.
16. according to the method for claim 11, it is characterised in that: pass through preset Bluetooth transmission channel wireless receiving target
When picture, accompanying receives characteristic information corresponding with the Target Photo.
17. according to the method for claim 16, it is characterised in that: the characteristic information corresponding with the Target Photo is added
It is added in the attribute information of the Target Photo through Bluetooth transmission channel wireless receiving.
18. according to the method for claim 17, it is characterised in that: the characteristic information corresponding with Target Photo is added
It is uploaded in the attribute information of the Target Photo by remote interface.
19. according to the method for claim 11, it is characterised in that: the characteristic information also refers to navigation information.
20. according to the method for claim 19, it is characterised in that: the navigation information includes time, geographical location, driving
Direction, running speed, in geographic latitude and longitude any one or it is any a variety of.
21. according to the method for claim 19, it is characterised in that: the classification information includes personage, landscape, traffic accident, road
Any amount seed type during condition is all types of.
22. a kind of automobile data recorder, which is characterized in that include:
Module is captured, is referred to for physical button, touch panel or the voice candid photograph in response to user with picture classification information
It enables, acquisition Target Photo is captured by camera and is stored in local storage medium, the classification information includes personage, landscape, vehicle
Any one type during misfortune, road conditions are all types of;
Transmission module passes through the Target Photo being locally stored for the stored event of Target Photo in response to detecting
Preset Bluetooth transmission channel uploads automatically;
The results of comparison list middle finger is deleted in removing module, the results of comparison list for being obtained according to the Bluetooth transmission channel
The fixed Target Photo for being stored in local storage medium;
Wherein, the results of comparison list is generated after Target Photo uploads to cloud by mobile terminal, and picture is by driving recording
Instrument safety be transferred to mobile terminal after, mobile terminal is in real time automatically uploaded to the picture remotely by wifi transmission channel
Cloud Server saves, and the Bluetooth transmission channel is also turned on the wifi transmission channel.
23. automobile data recorder according to claim 22, which is characterized in that the candid photograph module, further includes having:
Photo module captures instruction for the voice in response to user with the picture classification information, is obtained by camera candid photograph
Obtain Target Photo;
Characteristic information obtains module, for obtaining characteristic information corresponding with the Target Photo;
Memory module is stored in local storage medium for the Target Photo to be appended corresponding characteristic information.
24. automobile data recorder according to claim 23, it is characterised in that: the memory module is additionally configured to will be described
Characteristic information adds the Target Photo that specific format is obtained in the attribute information of picture;
And the Target Photo of the specific format is stored in local storage medium.
25. automobile data recorder according to claim 22, it is characterised in that: it further include having bluetooth communication,
The bluetooth communication, for search for can point-to-point connection bluetooth equipment and automatic matching connection with establish bluetooth biography
Defeated channel.
26. automobile data recorder according to claim 22, it is characterised in that: the transmission module is configured as by described
When transmission channel uploads the Target Photo, accompanying uploads characteristic information corresponding with the Target Photo.
27. automobile data recorder according to claim 22, it is characterised in that: the removing module further include:
Receiving module, the results of comparison list for being fed back by Bluetooth transmission channel wireless receiving;
Searching module, for finding the target specified in the list in local storage medium according to the results of comparison list
Picture;
Execution module, for deleting the Target Photo.
28. automobile data recorder according to claim 26, it is characterised in that: the characteristic information refers to navigation information or grabs
Clap incidental classification information in instruction.
29. automobile data recorder according to claim 26, it is characterised in that: the feature letter corresponding with the Target Photo
Breath, which is added in the attribute information of the Target Photo, is appended the Target Photo upload.
30. automobile data recorder according to claim 28, it is characterised in that: the navigation information includes time, geographical position
Set, in direction of traffic, running speed, geographic latitude and longitude any one or it is any a variety of.
31. a kind of mobile terminal, which is characterized in that include:
Second receiving module, for being stored in memory block by preset Bluetooth transmission channel wireless receiving Target Photo, wherein
The Target Photo is to be grabbed in response to user with physical button, touch panel or the voice of classification information by automobile data recorder
Instruction is clapped to obtain;
Second uploading module, for the stored event of Target Photo in response to detecting, uploaded by remote interface described in
Target Photo, wherein when uploading the Target Photo by remote interface, accompanying uploads feature letter corresponding with the Target Photo
Breath, the characteristic information refer to the classification information that can characterize the affiliated type of the Target Photo;Wherein, the classification information includes people
Any one type during object, landscape, traffic accident, road conditions are all types of;
Feedback module, for indicating whether each Target Photo has uploaded by the preset Bluetooth transmission channel feedback
Results of comparison list;
The memory block is core buffer;
The core buffer is at least provided with two, and each buffer area sets two working conditions: buffer area is empty and buffers
Qu Man, after the Target Photo received fills up a buffer area, the target that is received after being stored by another buffer area
Picture, using multiple buffer stored target picture, after detecting that Target Photo is stored in buffer area, receiving thread sends one
Signal gives transmission process, and transmission process calls remote interface to send target figure by the application program in triggering mobile terminal
Piece.
32. terminal according to claim 31, it is characterised in that: second uploading module is configured as the target
Picture is based on realtime transmission protocol RTP and is uploaded by remote interface.
33. terminal according to claim 31, it is characterised in that: second uploading module is configured as the target
Picture is based on 3G or 4G network using multi-thread mechanism and is uploaded by remote interface.
34. terminal according to claim 31, which is characterized in that the mobile terminal further includes having:
Bluetooth communication, for search for can point-to-point connection bluetooth equipment and automatic matching connection it is logical to establish Bluetooth transmission
Road.
35. terminal according to claim 31, it is characterised in that: the feedback module further includes having:
Whether detection module, the Target Photo for detecting the upload of remote interface end have uploaded success;
List loading module, for when the Target Photo uploads successfully, will characterize is that the uniqueness of the Target Photo is believed
Results of comparison list is added in breath;
Sending module, for sending the results of comparison list by the Bluetooth transmission channel.
36. terminal according to claim 31, it is characterised in that: second receiving module is configured as by preset
When the wireless receiving Target Photo of Bluetooth transmission channel, accompanying receives characteristic information corresponding with the Target Photo.
37. terminal according to claim 36, it is characterised in that: the characteristic information corresponding with the Target Photo is added
It is added in the attribute information of the Target Photo through Bluetooth transmission channel wireless receiving.
38. terminal according to claim 31, it is characterised in that: the characteristic information corresponding with Target Photo is added
It is uploaded in the attribute information of the Target Photo by remote interface.
39. the terminal according to claim 38, it is characterised in that: the characteristic information, which refers to navigation information or can characterize, to be somebody's turn to do
The classification information of the affiliated type of Target Photo.
40. terminal according to claim 39, it is characterised in that: the navigation information includes time, geographical location, driving
Direction, running speed, in geographic latitude and longitude any one or it is any a variety of.
41. terminal according to claim 39, it is characterised in that: the classification information includes personage, landscape, traffic accident, road
Any amount seed type during condition is all types of.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510461397.9A CN105100249B (en) | 2015-07-30 | 2015-07-30 | Picture transfer control system and its involved safeguard protection respectively held, transmission method |
PCT/CN2015/098797 WO2017016161A1 (en) | 2015-07-30 | 2015-12-24 | Picture transmission control system, and security protection and transmission method for each related end |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510461397.9A CN105100249B (en) | 2015-07-30 | 2015-07-30 | Picture transfer control system and its involved safeguard protection respectively held, transmission method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105100249A CN105100249A (en) | 2015-11-25 |
CN105100249B true CN105100249B (en) | 2019-08-06 |
Family
ID=54579765
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510461397.9A Active CN105100249B (en) | 2015-07-30 | 2015-07-30 | Picture transfer control system and its involved safeguard protection respectively held, transmission method |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105100249B (en) |
WO (1) | WO2017016161A1 (en) |
Families Citing this family (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105100249B (en) * | 2015-07-30 | 2019-08-06 | 北京奇虎科技有限公司 | Picture transfer control system and its involved safeguard protection respectively held, transmission method |
CN105138578A (en) * | 2015-07-30 | 2015-12-09 | 北京奇虎科技有限公司 | Sorted storage method for target picture and terminal employing sorted storage method |
CN105869233A (en) * | 2016-03-25 | 2016-08-17 | 奇瑞汽车股份有限公司 | Travel recorder for realizing intelligent interaction, and control method thereof |
CN105898220A (en) * | 2016-04-25 | 2016-08-24 | 乐视控股(北京)有限公司 | Terminal, driving recording system and method for terminal |
CN106412117A (en) * | 2016-11-21 | 2017-02-15 | 上汽大众汽车有限公司 | Intelligent network box matched with vehicle data recorder |
CN106790492A (en) * | 2016-12-14 | 2017-05-31 | 芜湖市吉安汽车电子销售有限公司 | Train-borne recorder preserves Transmission system |
CN106971583A (en) * | 2017-03-27 | 2017-07-21 | 宁波吉利汽车研究开发有限公司 | A kind of traffic information shared system and sharing method based on vehicle-mounted networking equipment |
CN107995313A (en) * | 2017-12-21 | 2018-05-04 | 黑龙江惠达科技发展有限公司 | A kind of method for uploading of picture and Big Dipper locating point data based on low network band width |
CN113327343B (en) * | 2019-01-09 | 2023-05-02 | 深圳市道通智能航空技术股份有限公司 | Flight log uploading method and device, mobile terminal and unmanned aerial vehicle |
CN109862405A (en) * | 2019-03-04 | 2019-06-07 | 珠海迈越信息技术有限公司 | A kind of automatic management PVR audio-video control method of intelligence for set-top box |
CN109856651A (en) * | 2019-03-13 | 2019-06-07 | 广东海聊科技有限公司 | A kind of position data compression method and system based on dipper system |
CN109979036A (en) * | 2019-04-03 | 2019-07-05 | 深圳市海圳汽车技术有限公司 | With recorder control and the system and control method of speech recognition controlled, recorder |
CN110493991A (en) * | 2019-08-28 | 2019-11-22 | 郭宏凯 | A kind of multifunctional running recorder |
CN111131411B (en) * | 2019-12-06 | 2022-10-11 | 南京领行科技股份有限公司 | Server, vehicle terminal and offline media viewing method in Internet of vehicles |
CN113923230B (en) * | 2020-06-22 | 2022-12-13 | 华为技术有限公司 | Data synchronization method, electronic device, and computer-readable storage medium |
CN113284261B (en) * | 2021-04-02 | 2023-07-14 | 北京通通易联科技有限公司 | Vehicle pre-release method based on edge storage |
CN114299630A (en) * | 2021-11-26 | 2022-04-08 | 阿尔特汽车技术股份有限公司 | Method and system for processing data of automobile data recorder and vehicle |
CN117411974A (en) * | 2023-12-14 | 2024-01-16 | 汉华易美视觉科技有限公司 | Picture material classification management system based on wireless communication technology |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103544744A (en) * | 2013-11-08 | 2014-01-29 | 东莞市艾炜特电子有限公司 | Automobile data recorder system and recording method based on cloud control |
CN203673537U (en) * | 2013-11-08 | 2014-06-25 | 东莞市艾炜特电子有限公司 | Driving recorder system based on cloud control |
CN104063911A (en) * | 2014-06-06 | 2014-09-24 | 苏州佳世达电通有限公司 | Method for carrying out driving record based on intelligent terminal equipment and intelligent terminal equipment |
CN104217470A (en) * | 2013-06-03 | 2014-12-17 | 株式会社堀场制作所 | Driving management system, driving recording device and management method |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104157023A (en) * | 2013-05-16 | 2014-11-19 | 深圳富泰宏精密工业有限公司 | Automobile data recorders, automobile data recording system and application method of automobile recording system |
CN204406499U (en) * | 2014-12-30 | 2015-06-17 | 上海研亚软件信息技术有限公司 | There is the drive recorder of acoustic control shooting environmental function |
CN105100249B (en) * | 2015-07-30 | 2019-08-06 | 北京奇虎科技有限公司 | Picture transfer control system and its involved safeguard protection respectively held, transmission method |
-
2015
- 2015-07-30 CN CN201510461397.9A patent/CN105100249B/en active Active
- 2015-12-24 WO PCT/CN2015/098797 patent/WO2017016161A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104217470A (en) * | 2013-06-03 | 2014-12-17 | 株式会社堀场制作所 | Driving management system, driving recording device and management method |
CN103544744A (en) * | 2013-11-08 | 2014-01-29 | 东莞市艾炜特电子有限公司 | Automobile data recorder system and recording method based on cloud control |
CN203673537U (en) * | 2013-11-08 | 2014-06-25 | 东莞市艾炜特电子有限公司 | Driving recorder system based on cloud control |
CN104063911A (en) * | 2014-06-06 | 2014-09-24 | 苏州佳世达电通有限公司 | Method for carrying out driving record based on intelligent terminal equipment and intelligent terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
WO2017016161A1 (en) | 2017-02-02 |
CN105100249A (en) | 2015-11-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105100249B (en) | Picture transfer control system and its involved safeguard protection respectively held, transmission method | |
WO2017016160A1 (en) | Classification-based storage method for target picture, and corresponding terminal | |
CN105141868B (en) | Video data protects system and its involved safeguard protection respectively held, transmission method | |
WO2020244623A1 (en) | Air-mouse mode implementation method and related device | |
CN105120159B (en) | The method and server of picture are obtained by remote control | |
JPH1070631A (en) | Communication system and method for image pickup and management for digital image | |
KR100800716B1 (en) | Apparatus and method for tranmitting and receiving moving picture data using a close range communication | |
US8208040B2 (en) | Display control apparatus, display control method, and recording medium | |
CN111061445A (en) | Screen projection method and computing equipment | |
US20110102670A1 (en) | Audio video recording device | |
WO2017063283A1 (en) | System and method for triggering smart vehicle-mounted terminal | |
CN112423076B (en) | Audio screen-throwing synchronous control method, equipment and computer readable storage medium | |
US20230056332A1 (en) | Image Processing Method and Related Apparatus | |
CN107040741A (en) | A kind of vehicle intelligent camera | |
CN114185503A (en) | Multi-screen interaction system, method, device and medium | |
CN115145519A (en) | Display method, electronic equipment and system | |
WO2022100219A1 (en) | Data transfer method and related device | |
CN114449090A (en) | Data sharing method, device and system and electronic equipment | |
EP4398594A1 (en) | Photographing method and related device | |
CN107027044A (en) | A kind of unmanned boat monitor video live broadcasting method and system | |
WO2022206771A1 (en) | Screen projection method, electronic device, and system | |
CN113129861A (en) | Text-to-speech processing method, terminal and server | |
CN110557391A (en) | Multi-scene integration-oriented emergency mobile video interaction system | |
WO2022111594A1 (en) | Data transmission method and electronic device | |
CN115171073A (en) | Vehicle searching method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220714 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |
|
TR01 | Transfer of patent right |