CN105141868A - Video data protection system and security protection and transmission methods for each concerned end - Google Patents

Video data protection system and security protection and transmission methods for each concerned end Download PDF

Info

Publication number
CN105141868A
CN105141868A CN201510451638.1A CN201510451638A CN105141868A CN 105141868 A CN105141868 A CN 105141868A CN 201510451638 A CN201510451638 A CN 201510451638A CN 105141868 A CN105141868 A CN 105141868A
Authority
CN
China
Prior art keywords
video data
point
mobile terminal
stored
storage medium
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510451638.1A
Other languages
Chinese (zh)
Other versions
CN105141868B (en
Inventor
王尧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510451638.1A priority Critical patent/CN105141868B/en
Publication of CN105141868A publication Critical patent/CN105141868A/en
Application granted granted Critical
Publication of CN105141868B publication Critical patent/CN105141868B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Television Signal Processing For Recording (AREA)

Abstract

The invention relates to the technical field of intelligent terminal video transmission, and provides an automobile data recorder video data protection method. The method comprises the following steps that: an automobile data recorder intercepts data of videos shot by a camera within a specific time interval and saves the video data in a local storage medium; the automobile data recorder automatically transmits the video data to a preset mobile terminal through a first channel; the mobile terminal uploads the video data which is received through the first channel and stored locally to a cloud end through a second channel; the mobile terminal receives upload state information representing that the video data is uploaded successfully and fed back by the cloud end through the second channel, and deletes corresponding video data stored locally; and the automobile data recorder deletes the video data which is represented in the upload state information fed back by the mobile terminal and stored in the local storage medium. Through adoption of the method, security protection and transfer of the video data are realized, and the problem that subsequent important video data cannot be stored since the video data stored in an automobile data recorder end occupies the storage capacity completely is solved.

Description

The safeguard protection of video data protection system and involved each end thereof, transmission method
[technical field]
The present invention relates to intelligent terminal technical field of video transmission; be specifically related to the guard method of a kind of drive recorder video data; also relate to the method for security protection of video data of a kind of drive recorder and employing thereof; accordingly, a kind of video data safe transmission method and corresponding mobile terminal thereof is also related to.
[background technology]
Drive recorder can registration of vehicle video data in the process of moving and sound, is equivalent to the black box of vehicle.When user drives, open the video camera on drive recorder, just can take landscape on the way or traffic information by video camera, then captured video information is stored in the storage device of this locality.Acceleration induction device G-sensor is all built-in with in existing drive recorder, it can the numerical value change of sense accelerations, for after car collides, force to record the video data comprised in front and back a period of time of Time To Event point, and be saved in special storage area and prevent from being capped, provide favourable evidence for traffic accident investigation.
But due to the limited storage space of drive recorder, and video data memory capacity is large, when memory space is filled with, cannot store important traffic accident video data again.In the prior art, there is drive recorder by the direct connecting Internet of SIM card to the important video data described in Cloud Server transmission, thus discharge local memory space.But because institute's transmitting video data occupies larger space, when the linking Internet provided by mobile communications network uploads this large file directly to server, the traffic consumes of SIM card can be made complete, produce the campus network of great number.
[summary of the invention]
One object of the present invention is intended to solve at least one problem above-mentioned; provide the guard method of a kind of drive recorder video data; for ensureing that video data is by after the unloading of safety protection; delete the local video data successfully dumping to high in the clouds; avoid local storage medium when being filled with, the important video data of follow-up shooting cannot be stored again.
Another object of the present invention is intended to solve at least one problem above-mentioned, provides a kind of method for security protection of video data and corresponding drive recorder thereof, for ensureing that video data is protected by the unloading of safety.
Another object of the present invention is intended to solve at least one problem above-mentioned, provides a kind of video data safe transmission method and corresponding mobile terminal thereof, for ensureing video data uploading by safety.
For realizing this object, the present invention adopts following technical scheme:
The invention provides the guard method of a kind of drive recorder video data, comprise the following steps:
Drive recorder exceeds the event of predetermined threshold value in response to the acceleration information that acceleration induction device detects, intercept comprise this Time To Event point special time period in video data captured by camera be stored in local storage medium;
This video data is automatically transferred to default mobile terminal by first passage by drive recorder;
The local video data that is stored in received by first passage, in response to the event of the accessing Internet detected, is uploaded to high in the clouds by second channel by mobile terminal;
What mobile terminal was successfully uploaded by the sign video data of second channel reception high in the clouds feedback uploads state information, deletes this and uploads the video data being stored in this locality characterized in state information;
What the mobile terminal that drive recorder deletion is received by first passage fed back uploads the video data being stored in local storage medium characterized in state information.
Concrete, described first passage is Wifi point-to-point transmission passage, and this Wifi point-to-point transmission passage is based on supporting that in AD-Hoc, WiFiDirect or SmartLink of point-to-point transmission, arbitrary technology is set up.
Concrete, described second channel is set up based on 3G or the 4G network communications technology.
Present invention also offers a kind of drive recorder method for security protection of video data, comprise the following steps:
The acceleration information detected in response to acceleration induction device exceeds the event of predetermined threshold value, intercept comprise this Time To Event point special time period in video data captured by camera be stored in local storage medium;
The video data that this locality stores is uploaded automatically by the point-to-point transmission passage detected;
What obtain feedback by described transmission channel uploads state information, deletes and is uploaded state information characterized the video data being stored in local storage medium of specifying by this.
Concrete, the acceleration information detected in response to acceleration induction device exceeds the event of predetermined threshold value, intercept comprise this Time To Event point special time period in video data captured by camera be stored in the step of local storage medium, comprising:
Drive acceleration induction device to monitor current acceleration and obtain corresponding acceleration information;
Judging whether this acceleration information exceeds predetermined threshold value, when exceeding this predetermined threshold value, determining the time point that this event occurs;
With the video data in the special time period afterwards captured by camera and this video data of compressed encoding obtains video packets of data before intercepting this time point;
This video packets of data is kept at local storage medium.
Further, described special time period pre-sets and is stored in the machine.
Optionally, the numerical value of described special time period interface pre-sets or changes being positioned at arranging of the machine.
Concrete, by the step that the video data that this locality stores is uploaded automatically by the point-to-point transmission passage detected, comprising:
When detecting that the WiFi equipment of having matched in advance accesses point-to-point local area network (LAN), set up WiFi point-to-point transmission passage;
Automatically uploaded by this WiFi point-to-point transmission passage and be stored in local described video data.
Further, when detecting that the WiFi equipment of having matched in advance accesses point-to-point local area network (LAN), before setting up the step of WiFi point-to-point transmission passage, further comprising the steps of:
In response to connection request or instruction, search can the WiFi equipment of point to point connect obtains and the identification information preserving this equipment to realize and the pairing of this equipment.
Concrete, what obtain feedback by described transmission channel uploads state information, deletes and is uploaded state information characterized the step being stored in the video data of local storage medium of specifying by this, comprising:
That is fed back by described transmission channel wireless receiving uploads state information;
In local storage medium, find this upload state information according to described state information of uploading and characterize the video data of specifying;
Delete this video data.
Further, described in upload state information and provide with the form of electronic list, this electronic list contains successfully is uploaded the characteristic information of the video data in high in the clouds.
Optionally, the characteristic information of described video data is the file name of this video data.
Concrete, when first time accesses point-to-point local area network (LAN), the video data that this locality stores is uploaded automatically by point-to-point transmission passage; That feeds back according to described transmission channel acquisition when second time accesses point-to-point local area network (LAN) uploads state information, deletes and uploads the video data being stored in local storage medium corresponding to state information with this.
Concrete, described point-to-point transmission passage is based on supporting that in AD-Hoc, WiFiDirect or SmartLink of point-to-point transmission, arbitrary technology is set up.
Present invention also offers a kind of video data on mobile terminal safe transmission method, comprise the following steps:
Be stored in local storage medium by point-to-point transmission passage wireless receiving video data;
In response to the event of the accessing Internet detected, upload this video data by remote interface;
By remote interface receive feedback show that this video data successfully uploads upload state information, delete this and upload state information and characterize the video data being stored in local storage medium of specifying;
Feed back this by described point-to-point transmission passage and upload state information.
Concrete, be stored in the step of local storage medium by point-to-point transmission passage wireless receiving video data, comprise:
The request of the point-to-point local area network (LAN) of access that the WiFi equipment accepting to have matched in advance sends, sets up WiFi point-to-point transmission passage;
By this WiFi point-to-point transmission channel reception video data;
This video data is stored into local storage medium.
Further, the request of the point-to-point local area network (LAN) of access that the WiFi equipment accepting to have matched in advance sends, before setting up the step of WiFi point-to-point transmission passage, further comprising the steps of:
In response to connection request or instruction, search can the WiFi equipment of point to point connect obtains and the identification information preserving this equipment to realize and the pairing of this equipment.
Concrete, by remote interface receive feedback show that this video data successfully uploads upload state information, delete this and upload state information and characterize the step being stored in the video data of local storage medium of specifying, comprising:
By remote interface receive feedback show that described video data successfully uploads upload state information;
Upload state information and find it according to this and characterize the video data being stored in local storage medium of specifying;
Delete this video data.
Concrete, described video data is uploaded by remote interface based on RTP host-host protocol.
Concrete, be stored in local storage medium when first time accesses point-to-point local area network (LAN) by point-to-point transmission passage wireless receiving video data; Described in described point-to-point transmission passage feedback, state information is uploaded when second time accesses point-to-point local area network (LAN).
Further, described point-to-point transmission passage is based on supporting that in AD-Hoc, WiFiDirect or SmartLink of point-to-point transmission, arbitrary technology is set up.
Optionally, described remote interface is set up based on 3G or the 4G network communications technology.
Concrete, described in upload state information and provide with the form of electronic list, this electronic list comprises and is successfully passed the characteristic information of the video data that remote interface is uploaded.
Optionally, the characteristic information of described video data is the file name of this video data.
The invention discloses a kind of drive recorder, comprise the following steps:
Video processing module, acceleration information for detecting in response to acceleration induction device exceeds the event of predetermined threshold value, intercept comprise this Time To Event point special time period in video data captured by camera be stored in local storage medium;
Transport module, is uploaded by the point-to-point transmission passage detected automatically for the video data stored this locality;
Removing module, uploads state information for what obtained feedback by described transmission channel, deletes and is uploaded state information characterized the video data being stored in local storage medium of specifying by this.
Concrete, described video processing module also includes:
Driver element, monitors current acceleration for driving acceleration induction device and obtains corresponding acceleration information;
Judging unit, for judging whether this acceleration information exceeds predetermined threshold value, when exceeding this predetermined threshold value, determines the time point that this event occurs;
Video intercepting unit, with the video data in the special time period afterwards captured by camera and this video data of compressed encoding obtains video packets of data before intercepting this time point;
Memory cell, is kept at local storage medium by this video packets of data.
Concrete, described special time period pre-sets and is stored in the machine.
Optionally, the numerical value of described special time period interface pre-sets or changes being positioned at arranging of the machine.
Concrete, described transport module also comprises:
Communication unit, for when detecting that the WiFi equipment of having matched in advance accesses point-to-point local area network (LAN), sets up WiFi point-to-point transmission passage;
Uploading unit, is stored in local described video data for automatically being uploaded by this WiFi point-to-point transmission passage.
Further, described drive recorder also includes local area network (LAN) matching module,
When detecting that the WiFi equipment of having matched in advance accesses point-to-point local area network (LAN), before setting up WiFi point-to-point transmission passage, described local area network (LAN) matching module is configured in response to connection request or instruction, search can the WiFi equipment of point to point connect obtains and the identification information preserving this equipment to realize and the pairing of this equipment.
Concrete, described removing module also comprises:
Receiving element, uploads state information for what fed back by described transmission channel wireless receiving;
Search unit, in local storage medium, find this upload state information for uploading state information described in basis and characterize the video data of specifying;
Delete performance element, for deleting this video data.
Optionally, described in upload state information and provide with the form of electronic list, this electronic list contains successfully is uploaded the characteristic information of the video data in high in the clouds.
Optionally, the characteristic information of described video data is the file name of this video data.
Concrete, described transport module is configured to automatically be uploaded by point-to-point transmission passage by the video data that this locality stores when first time accesses point-to-point local area network (LAN);
What described removing module was configured to obtain feedback when second time accesses point-to-point local area network (LAN) according to described transmission channel uploads state information, deletes and uploads the video data being stored in local storage medium corresponding to state information with this.
Concrete, described point-to-point transmission passage is based on supporting that in AD-Hoc, WiFiDirect or SmartLink of point-to-point transmission, arbitrary technology is set up.
Present invention also offers a kind of mobile terminal, include:
Receiver module, for being stored in local storage medium by point-to-point transmission passage wireless receiving video data;
Transmission module on second, for the event in response to the accessing Internet detected, uploads this video data by remote interface;
Second removing module, for received by remote interface feedback show that this video data successfully uploads upload state information, delete this and upload state information and characterize the video data being stored in local storage medium of specifying;
Feedback module, uploads state information for feeding back this by described point-to-point transmission passage.
Concrete, described receiver module also comprises:
Second communication unit, the request of the point-to-point local area network (LAN) of the access that the WiFi equipment for accepting to have matched in advance sends, sets up WiFi point-to-point transmission passage;
Second receiving element, for passing through this WiFi point-to-point transmission channel reception video data;
Second memory cell, for being stored into local storage medium by this video data.
Further, described terminal also includes the second matching module,
The request of the point-to-point local area network (LAN) of access that the WiFi equipment accepting to have matched in advance sends, before setting up WiFi point-to-point transmission passage, described second matching module is configured in response to connection request or instruction, search can the WiFi equipment of point to point connect obtains and the identification information preserving this equipment to realize and the pairing of this equipment.
Concrete, described second removing module also comprises:
3rd receiving element, for received by remote interface feedback show that described video data successfully uploads upload state information;
3rd searches unit, for uploading state information and find it according to this and characterize the video data being stored in local storage medium of specifying;
Second deletes performance element, for deleting this video data.
Concrete, on described second, transmission module is configured to described video data to be uploaded by remote interface based on RTP host-host protocol.
Concrete, described receiver module to be configured to when first time accesses point-to-point local area network (LAN) by point-to-point transmission passage wireless receiving video data and to be stored in local storage medium;
Described feedback module is configured to described in described point-to-point transmission passage feedback, upload state information when second time accesses point-to-point local area network (LAN).
Concrete, described point-to-point transmission passage is based on supporting that in AD-Hoc, WiFiDirect or SmartLink of point-to-point transmission, arbitrary technology is set up.
Optionally, described remote interface is set up based on 3G or the 4G network communications technology.
Concrete, described in upload state information and provide with the form of electronic list, this electronic list comprises and is successfully passed the characteristic information of the video data that remote interface is uploaded.
Optionally, the characteristic information of described video data is the file name of this video data.
Compared with prior art, the present invention possesses following advantage:
1, in the present invention, after drive recorder detects the point-to-point first passage connected, the video data stored this locality automatically to be uploaded on mobile terminal by this first passage and is stored in the storage medium of mobile terminal, achieves the safe transfer of video data; Video data, in response to the event of the accessing Internet detected, is uploaded to remote server storage by second channel by the Internet by mobile terminal, realizes safe transmission and the storage of video data; Drive recorder termination receive mobile terminal feedback video data successfully upload to remote server after, delete being kept at local corresponding video data again, to ensure the successful transfer of video data, and discharge local memory space in time, avoid the important video data of local follow-up intercepting and capturing to lose because of memory space inadequate, avoid the wasting of resources.
2, the video data first stored by drive recorder end in the present invention, then to be transferred in remote server under the WiFi overlay environment not needing charge on traffic by mobile terminal to mobile terminal based on WiFi point-to-point transmission technology automatic transmission.The automatic safe adopting WiFi local network transport technology to realize from drive recorder end to mobile terminal shifts, and can not consume the flow of drive recorder end SIM card, for user saves campus network, have very large using value.
3, middle rolling car recorder of the present invention and mobile terminal are after successful matching in advance, when drive recorder detects that this mobile terminal enters point-to-point local area network (LAN) scope, initiatively initiate connection request and mobile terminal from being dynamically connected, and automatically the video data be stored in drive recorder end storage medium is sent to mobile terminal.Namely the connection between drive recorder end and mobile terminal and transmitting video data are all automatically complete, and without the need to manual operation, improve user experience, avoid manual operation to bring driving safety problem to user.
The aspect that the present invention adds and advantage will part provide in the following description, and these will become obvious from the following description, or be recognized by practice of the present invention.
[accompanying drawing explanation]
The present invention above-mentioned and/or additional aspect and advantage will become obvious and easy understand from the following description of the accompanying drawings of embodiments, wherein:
Fig. 1 is the program flow diagram of an embodiment of drive recorder method for security protection of video data;
Fig. 2 is the subprogram flow chart of another embodiment of drive recorder method for security protection of video data;
Fig. 3 is the subprogram flow chart of another embodiment of drive recorder method for security protection of video data;
Fig. 4 is the subprogram flow chart of another embodiment of drive recorder method for security protection of video data;
Fig. 5 is the program flow diagram of an embodiment of video data on mobile terminal safe transmission method;
Fig. 6 is the subprogram flow chart of another embodiment of video data on mobile terminal safe transmission method;
Fig. 7 is the subprogram flow chart of another embodiment of video data on mobile terminal safe transmission method;
Fig. 8 is the structured flowchart of an embodiment of middle rolling car recorder of the present invention;
Fig. 9 is the structured flowchart of video processing module in another embodiment of middle rolling car recorder of the present invention;
Figure 10 is the structured flowchart of another embodiment of middle rolling car recorder of the present invention;
Figure 11 is the structured flowchart of removing module in another embodiment of middle rolling car recorder of the present invention;
Figure 12 is the structured flowchart in an embodiment of mobile terminal in the present invention;
Figure 13 is the structured flowchart of receiver module in another embodiment of mobile terminal in the present invention;
Figure 14 is the structured flowchart of the second removing module in another embodiment of mobile terminal in the present invention.
Figure 15 is the program flow diagram of an embodiment of middle rolling car recorder video data of the present invention guard method.
[embodiment]
Be further described the present invention below in conjunction with accompanying drawing and exemplary embodiment, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the embodiment be described with reference to the drawings, only for explaining the present invention, and can not limitation of the present invention being interpreted as.In addition, if the detailed description of known technology is for illustrating that feature of the present invention is unnecessary, then omitted.
Those skilled in the art of the present technique are appreciated that unless expressly stated, and singulative used herein " ", " one ", " described " and " being somebody's turn to do " also can comprise plural form.Should be further understood that, the wording used in specification of the present invention " comprises " and refers to there is described feature, integer, step, operation, element and/or assembly, but does not get rid of and exist or add other features one or more, integer, step, operation, element, assembly and/or their group.Should be appreciated that, when we claim element to be " connected " or " coupling " to another element time, it can be directly connected or coupled to other elements, or also can there is intermediary element.In addition, " connection " used herein or " coupling " can comprise wireless connections or wirelessly to couple.Wording "and/or" used herein comprises one or more whole or arbitrary unit listing item be associated and all combinations.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, and all terms used herein (comprising technical term and scientific terminology), have the meaning identical with the general understanding of the those of ordinary skill in field belonging to the present invention.It should also be understood that, those terms defined in such as general dictionary, should be understood to that there is the meaning consistent with the meaning in the context of prior art, unless and by specific definitions as here, otherwise can not explain by idealized or too formal implication.
Those skilled in the art of the present technique are appreciated that, here used " terminal ", " terminal equipment " had both comprised the equipment of wireless signal receiver, it only possesses the equipment of the wireless signal receiver without emissivities, comprise again the equipment receiving and launch hardware, it has and on bidirectional communication link, can perform the reception of two-way communication and launch the equipment of hardware.This equipment can comprise: honeycomb or other communication equipments, its honeycomb or other communication equipment of having single line display or multi-line display or not having multi-line display; PCS (PersonalCommunicationsService, PCS Personal Communications System), it can combine voice, data processing, fax and/or its communication ability; PDA (PersonalDigitalAssistant, personal digital assistant), it can comprise radio frequency receiver, beep-pager, the Internet/intranet access, web browser, notepad, calendar and/or GPS (GlobalPositioningSystem, global positioning system) receiver; Conventional laptop and/or palmtop computer or other equipment, it has and/or comprises the conventional laptop of radio frequency receiver and/or palmtop computer or other equipment.Here used " terminal ", " terminal equipment " can be portable, can transport, be arranged in the vehicles (aviation, sea-freight and/or land), or be suitable for and/or be configured at local runtime, and/or with distribution form, any other position operating in the earth and/or space is run.Here used " terminal ", " terminal equipment " can also be communication terminal, access terminals, music/video playback terminal, can be such as PDA, MID (MobileInternetDevice, mobile internet device) and/or there is the mobile phone of music/video playing function, also can be the equipment such as intelligent television, Set Top Box.
Those skilled in the art of the present technique are appreciated that, the concepts such as server used here, high in the clouds, remote network devices, have effects equivalent, it includes but not limited to the cloud that computer, network host, single network server, multiple webserver collection or multiple server are formed.At this, cloud is formed by based on a large amount of computer of cloud computing (CloudComputing) or the webserver, and wherein, cloud computing is the one of Distributed Calculation, the super virtual machine be made up of a group loosely-coupled computer collection.In embodiments of the invention, realize communicating by any communication mode between remote network devices, terminal equipment with WNS server, include but not limited to, the mobile communication based on 3GPP, LTE, WIMAX, the computer network communication based on TCP/IP, udp protocol and the low coverage wireless transmission method based on bluetooth, infrared transmission standard.
Be necessary first to carry out following guiding explanation to application scenarios of the present invention and principle thereof.
The application scenarios of method of the present invention and terminal, based on being hardware foundation with the drive recorder of camera, processor, WiFi communication module, acceleration induction device and memory module and Android mobile terminal, exemplary illustration is carried out for the drive recorder and Android mobile terminal that are provided with the processor of linux system, but should be noted that, this description is only exemplary, scope of the present invention is not limited to this, the method of the embodiment of the present invention and terminal are also applicable to other operating systems, in essence with operating system independent.
The mobile communications network Dou Shiyou center used under normal circumstances, could to run based on the network facilities preset.Such as, cell mobile communication systems will have the support of base station; Under WLAN (wireless local area network) is generally also operated in the pattern of AP access point and wired backbone.But for some special occasions, have the mobile network at center not to be competent at, and need a kind of can the mobile network of interim fast automatic networking.The WiFi point to point connect technical transmission video data such as, adopted between mobile terminal and drive recorder in the present invention, such as AD-Hoc or WiFiDirect, SmartLink etc.
Wherein, AD-Hoc pattern is that a kind of design of wireless devices that aims at allows them directly can carry out mutually the method communicated in the wireless network.Under running on ad-hoc pattern, allow all wireless devices within range each other, find the other side and carry out point-to-point communication, and need not central access point be passed through.Set up an ad-hoc wireless network, each wireless adaptation equipment must be configured to ad-hoc pattern instead of infrastructure pattern.In addition, all wireless adaptation equipment being in ad-hoc network must use identical SSID and channel number.Its principle is that a main frame in network sets up point-to-point connection, be equivalent to virtual AP, and other wireless devices just can be carried out network interconnection by this point to point connect and be shared.Owing to eliminating wireless aps, the network erection process of Ad-Hoc WLAN (wireless local area network) is very simple, but general wireless network card transmission range under indoor environment is generally about 40m, when exceeding this effective propagation path, just can not realize communication each other; Therefore this kind of pattern is very applicable to some simple or even provisional wireless interconnected demands.
WiFiDirect is based on the existing technology of WiFi, equipment in permission wireless network is without the need to being interconnected by wireless router, similar with Bluetooth technology, this standard allows wireless device to interconnect with point-to-point form, and has than bluetooth in transmission speed with transmission range and significantly promote.Namely with WiFiCERTIFIEDWiFiDirect authentication marks product can when do not add traditional family, office or hot spot networks be connected to each other, with promptly transferring content, sharing application.But not using the network savvy of WiFi when using this function simultaneously, easily causing the failure of transmission large files.
In the present invention by important video data that drive recorder stores by point-to-point (AD-Hoc or WiFiDirect of WIFI, SmartLink etc.) interconnection technique and the local network transport built be to mobile phone, on the mobile terminals such as PAD, then under without the need to the WiFi environment of charge on traffic, remote server is uploaded to by mobile terminal based on realtime transmission protocol RTP, realize safe transfer and the transmission of video data, and delete the memory space being discharged drive recorder end by the video data successfully being uploaded Cloud Server in time, the important video data of follow-up shooting is avoided to lose because not having memory space.
The embodiment of the of the present invention some technical schemes proposed to use above-mentioned principle to realize above-mentioned scene will be described in detail below.
It should be noted that; a kind of drive recorder method for security protection of video data provided by the invention; first described from the visual angle of drive recorder, by programming, this method for security protection of video data can be embodied as computer program and run at drive recorder or other similar having in intelligentized equipment.Such as, this method is also applicable to other and does not have user interface, or user's also inconvenient intelligent video camera head, intelligent watch etc. operated in time.
Refer to Fig. 1, an exemplary embodiments of a kind of drive recorder method for security protection of video data of the present invention, specifically comprises the following steps:
S11, the acceleration information detected in response to acceleration induction device exceeds the event of predetermined threshold value, intercept comprise this Time To Event point special time period in video data captured by camera be stored in local storage medium.
Middle rolling car recorder of the present invention is in the driving process of automobile, and camera is in opening at the landscape taken on the way and traffic information always.After the numerical value of acceleration induction device sense acceleration built-in in middle rolling car recorder of the present invention exceeds predetermined threshold value, namely when there is the emergency case such as emergency brake or collision in body of a motor car, intercept comprise this Time To Event point special time period in video data captured by camera be stored in local storage medium.Concrete, disclosing according to one embodiment of the invention, referred to Fig. 2, this step S11 specifically comprises following step:
S111, drives acceleration induction device to monitor current acceleration and obtains corresponding acceleration information;
S112, judges whether this acceleration information exceeds predetermined threshold value, when exceeding this predetermined threshold value, determines the time point that this event occurs;
Acceleration induction device can test the numerical value of the acceleration under current state, and by detected data feedback to processor.In drive recorder, be preset with the excursion numerical value of an acceleration, in order to improve the accuracy that drive recorder judges traffic accident scene, this numerical value can pass through repeatedly actual test and obtain.When the acceleration value detected exceedes the range values preset, trigger an interrupt response, in self-defining interrupt processing function, call clock module or GPS module etc. there is the time point providing other modules of correct time function to occur to obtain this triggered interrupts event, and the time point preserving this event is to the machine.Certainly, be not limited to the time point adopting the mode of interrupt response to occur to obtain event in this embodiment, those skilled in that art should be appreciated that, other modes also can be adopted to trigger to obtain the time point of this event generation.
Further, step S11 also includes step S113, with the video data in the special time period afterwards captured by camera and this video data of compressed encoding obtains video packets of data before intercepting this time point.
After obtaining the time point of sudden change of acceleration, according to the special time period being kept at the machine set before, the video data in the special time period driving camera to intercept before or after this time point captured by camera.In implementing at one of the present invention, the numerical value of described special time period interface pre-sets or changes being positioned at arranging of the machine.Such as, 10 minutes before this special time period is Time To Event point after 5 minutes to time point can be set, based on being positioned at the visualization interface of the machine or arranging knob to arrange or change the concrete numerical value of this special time period; Certainly, also directly the numerical value of this special time period can be defaulted in program the storage medium being stored in drive recorder.
For the ease of program comprehension, the present embodiment, using the universal camera shooting head of standard as video capture device, illustrates the implementation procedure of this embodiment for the arm processor be configured with in drive recorder based on linux system.It should be noted that, the theoretical method described in the present invention has nothing to do with the type of operating system and processor, those skilled in that art can also adopt with any processor of other operating systems and the video camera of other models to realize the present embodiment.The present embodiment can not be construed as limiting the invention.
In one embodiment of the invention, in employing linux system, this driving of increasing income of Video4Linux (V4L2) is to drive camera implementation and operation, this V4L2 drives the application programming for the first-class video equipment of shooting to provide a series of interface function, comprise the functions such as the unlatching to equipment, closedown, configuration, reading and write, can be mutual by what call ioctl () function to realize with camera, this function comprises device descriptor, control command and control command parameter three parameters.Such as can call VIDIOC_S_FMT control command to arrange length and width and the picture format of the vedio data captured by camera, calling VIDIOC_REQBUFS control command word is the screen buffer that captured video data application is positioned at kernel spacing.
Such as, in one exemplary embodiment of the present invention, intercept video data in this special time period by loading FFMpeg storehouse under Linux platform, the time point that the acceleration information that first degree of will speed up inductor detects exceeds predetermined threshold value and the special time period preset are configured in self-defining video acquisition program.Concrete, in this embodiment, the video data that two kinds of methods are caught to intercept camera can be adopted.In one embodiment of the invention, read function is called to obtain the video data in this special time period; In another embodiment of the present invention, directly by calling kernel spacing memory-mapped that mmap memory-mapped function stores video data to user's space, application program visits kernel spacing by calling party space address and obtains video data; Mainly because request V4L2 drives the screen buffer distributed to be positioned at kernel spacing, application program can not directly be accessed.Owing to adopting the method for memory-mapped comparatively to adopt the method speed of read function to want fast, therefore the present embodiment preferably adopts the mode of memory-mapped to obtain video data in special time period.
After having intercepted the video data in special time period, because the capacity of video data is very large, in order to reduce the memory capacity of video data, need to adopt specific compression algorithm that this video data encoding is compressed into video packets of data.Be understood that, H.264 the present invention can adopt, in MPEG-4, MPEG-2, WMA-HD and VC-1 any one coded format to described coding video data.Such as, in one exemplary embodiment of the present invention, adopt H.264 coded format to video data encoding.Include H.264 coded system in VPU built-in function built-in in ARM, first call initialization codes device function RetCodevpu_EncOpen () definition encoder, and coding mode is chosen as H.264 encodes; Call coding function RetCodeVpu_EncStartOneFrame () again to the coding video data be truncated to; After end-of-encode, call function RetCodevpu_EncGetOutputInfo () obtains the video packets of data of encoding and obtaining.
Further, step S11 also comprises: S114, and this video packets of data is kept at local storage medium.
In abovementioned steps, the acceleration information detected in response to acceleration induction device exceeds the event of predetermined threshold value, intercept comprise this Time To Event point special time period in video data captured by camera, and adopt encryption algorithm that the compression of the video data encoding of intercepting is obtained video packets of data.Further, in order to intercepted important video packets of data is uncovered, need this video packets of data to be kept in local non-volatile memory medium.In an embodiment of the invention, with SD card for storage medium preserves this video packets of data.Certainly, those skilled in that art can also adopt other nonvolatile memories as the storage medium in this embodiment, and the particular type of the present invention to storage medium does not limit.
Concrete, linux system is embedded SD card driver module, sets up the storage directory of video data, in this catalogue, sets up file in the file system of SD card.In one exemplary embodiment of the present invention, searching for the ease of video data, the present embodiment with the temporal information comprised in the special time period of a certain video data for filename, video storage catalogue called after Video.The video (acquiescence special time segment length is 15 minutes) that such as during 1 day 12 July in 2015,10 points start to record then is stored in the file of 07011210_15min.pckt by name.On store path, file leaves in/Video/ date/catalogue under, as this file leave in/Video/20150701/ file in.
In sum, abovementioned steps S11 achieves the event that the acceleration information detected in response to acceleration induction device exceeds predetermined threshold value, intercept comprise this Time To Event point special time period in video data captured by camera be stored in local storage medium.Because the memory capacity of local storage medium is limited, after therefore memory space takes by jumbo video data, local memory space cannot continue the important video data storing follow-up shooting, causes the loss of important video data.
In view of aforesaid defect, further, see accompanying drawing 1, in the method for the invention, also comprise step S12, the video data that this locality stores is uploaded automatically by the point-to-point transmission passage detected.
Due to the storage medium finite capacity of drive recorder end, if not in time the video data unloading be kept in storage medium is protected this video data of rear deletion, storage medium store full after, the important video data photographed after storing can not be continued.Environment residing for drive recorder does not cover without the WiFi network of charge on traffic, and is directly transferred in the Internet by the SIM card on drive recorder by video data, can consume the flow of user, produces the campus network of great number.Therefore, in this step, can support that point-to-point (as AD-Hoc, WiFiDirect or SmartLink etc.) interconnection technique and the local area network (LAN) that build as described in uploading, video data to portable mobile termianl are preserved by bluetooth or WiFi etc.In subsequent step, then upload to the Internet end by portable mobile termianl having under the environment covered without the WiFi network of charge on traffic, save the campus network of user.Further, owing to adopting the jumbo video data file speed of Bluetooth transmission slowly, in one embodiment of the invention, adopt and support point-to-point interconnection technique without the comparatively faster WiFi of speed of consumed flow and the local area network (LAN) that builds uploads described video data on mobile terminal, automatically as AD-Hoc, WiFiDirect or SmartLink etc.Certainly, prerequisite is that drive recorder can realize communicating with the mobile terminal such as mobile phone or PAD.See accompanying drawing 3, concrete, before this step S12, also comprise step S10: in response to connection request or instruction, search can the WiFi equipment of point to point connect obtains and the identification information preserving this equipment to realize and the pairing of this equipment.
As everyone knows, WiFi point-to-point transmission technology includes AD-Hoc, WiFiDirect or SmartLink etc.For convenience of program comprehension, the present embodiment illustrates the enforcement of this step for WiFiDirect point-to-point transmission technology, but can not form the restriction to invention.
When the mobile terminal and drive recorder that belong to car owner are in same WiFi LAN environment, and when drive recorder and mobile terminal all support WiFiDirect, device pairing can be adopted to scan the mode connected and to realize pairing.And preserve the ID of customer mobile terminal or the pairing identification information of terminal name, this mobile terminal is defaulted as the mobile terminal needing to send video data, other mobile terminals that follow-up no longer connection can be matched.
Concrete, such as in one embodiment of the invention, all with the operating system of more than Android4.0 on drive recorder and mobile terminal, namely all support WiFiDirect, all include android.Net.WiFi.p2p and wrap.Then by when having detected that mobile terminal enters this WiFiDirect local area network (LAN) during drive recorder first time pairing, can send a request matched order, search can the customer mobile terminal of point to point connect; Certainly, the pairing request of this WiFiDirect also can be the mobile terminal initiatively initiation of user, and drive recorder needs in response to this pairing request, matches with this mobile terminal.The present embodiment is initiatively initiated pairing request for the mobile terminal belonging to user and is illustrated, first mobile terminal call WiFip2pManager.discoverPeers () start scan can match connect equipment; After scanning drive recorder, call WiFip2pManager.connect () and carry out connection pairing, and preserve the ID of mobile terminal or the pairing beacon information of terminal name at drive recorder end.
Be understood that by aforementioned description, after drive recorder and customer mobile terminal successful matching, further, perform step S12.Concrete, see accompanying drawing 3, this step S12 is further comprising the steps of:
S121, when detecting that the WiFi equipment of having matched in advance accesses point-to-point local area network (LAN), sets up WiFi point-to-point transmission passage.
In abovementioned steps, drive recorder realizes matching with the mobile terminal belonging to user.When drive recorder detects that the customer mobile terminal matched in advance enters the point-to-point local area network (LAN) of drive recorder, automatically send connection request.Concrete, in an illustrative embodiment of the invention, all with the operating system of more than Android4.0 on drive recorder and mobile terminal, namely all support WiFiDirect, all include android.Net.WiFi.p2p and wrap.Carry out active according to WiFip2pInfo.isGroupOwner with WiFip2pInfo.groupOwnerAddress to be connected, namely establish the WiFiDirect point-to-point transmission passage described in the present embodiment.
After WiFiDirect transmission channel is successfully established, further, also step S122 is comprised: automatically uploaded by this WiFi point-to-point transmission passage and be stored in local described video data.
When after drive recorder and mobile terminal successful connection, realize file transfer by the WiFi transmission channel established.First drive recorder end travels through the video data file be stored in local storage medium, uploads this video data based on the WiFi transmission channel established.
Concrete, in an embodiment of the invention, first a ServerSocket object is created by drive recorder, this server side socket object wait one from assigned address and the mobile terminal client terminal of port connection and block thread until be connected generation, so this server socket be based upon in a background thread; Then, create a client Socket at mobile terminal, this client socket object uses specifies ip address to go to be connected drive recorder with port; Further, after service end is successfully connected with client, video data can be sent to client by byte stream from server end.
In sum, the video data that this locality stores by drive recorder end has uploaded to mobile terminal automatically by the point-to-point transmission passage detected, achieve the safe transfer of video data, and implement this step based on WiFi point-to-point transmission technology, without the need to consuming the flow of user.
Further, delete in time in order to drive recorder end and be moved the video data that terminal successfully uploads to Cloud Server, discharge local memory space.Further, see accompanying drawing 1, also comprise step S13: what obtain feedback by described transmission channel uploads state information, delete and uploaded state information characterized the video data being stored in local storage medium of specifying by this.
Video data by drive recorder safety be transferred to mobile terminal after, mobile terminal this video data can be uploaded to remote cloud server preserve.And the video data information successfully uploading to remote cloud server is fed back to drive recorder end with the form of electronic list, drive recorder uploads state information according to providing with electronic list form of obtaining of point-to-point transmission passage, delete the video data being stored in local storage medium of specifying in this electronic list, the local memory space of timely release, avoid the wasting of resources, for the important video data of follow-up intercepting and capturing provides memory space.Concrete, refer to Fig. 4, this step S13 specifically comprises:
S131, that is fed back by described transmission channel wireless receiving uploads state information;
S132, finds this and uploads state information according to described state information of uploading and characterize the video data of specifying in local storage medium;
S133, deletes this video data.
Be understood that, drive recorder by the point-to-point transmission passage wireless receiving that established feedback provide with electronic list upload state information, this electronic list contains successfully is uploaded the characteristic information of the video data in high in the clouds, wherein this special card information can comprise the filename of video data, also can be that other are characterized by the uniqueness characteristic information of this video data, the shooting time etc. of such as video data.Drive recorder is according to the video data uniqueness characteristic information obtained, and Automatically invoked find () function traversal finds the store path of this video data file.Then drive recorder can receive feedback upload state information after, call rm () immediately and delete command is performed to the video data stored under this path, call rm () when also can treat that drive recorder end memory capacity is inadequate again and delete command is performed to the video data stored under this path, discharge local memory space, avoid the wasting of resources, for the important video data of follow-up intercepting and capturing provides memory space.
Further, in the present invention, when first time accesses point-to-point local area network (LAN), the video data that this locality stores is uploaded automatically by point-to-point transmission passage; That feeds back according to described transmission channel acquisition when second time accesses point-to-point local area network (LAN) uploads state information, deletes and uploads the video data being stored in local storage medium corresponding to state information with this.Namely in the present invention, abovementioned steps S12 and step S13 performs when the point-to-point local area network (LAN) of successively twice access, what drive recorder utilized WiFiDirect wireless local area network technology transmitting video data and reception to feed back is gradation access WiFi local area network (LAN) when uploading state information, due to when the video data received from drive recorder termination is uploaded to the Internet by mobile terminal on the one hand, need to leave under environment does not have the WiFi environment of charge on traffic to one and implement to upload, period and WiFi local area network (LAN) may disconnect due to reasons such as distances; Another is convenient, and mobile terminal is when transmitting large files, and WiFi communication mechanism cannot be connected to WiFiDirect local area network (LAN) and the Internet simultaneously, easily causes large files bust this.
The present invention is also provided with the mobile terminal corresponding with drive recorder end, to realize realizing communicating with drive recorder.Present invention also offers a kind of video data on mobile terminal safe transmission method, namely describe video data safe transmission method from the visual angle of mobile terminal, same by programming, video data safe transmission method can be embodied as computer program and run in the mobile terminal of mobile phone, PAD and other similar functions.
Refer to Fig. 5, in an exemplary embodiments of a kind of video data on mobile terminal safe transmission method of the present invention, include following steps:
S21, is stored in local storage medium by point-to-point transmission passage wireless receiving video data.
Due to the storage medium finite capacity of drive recorder end, if not in time the video data unloading be kept in storage medium is protected this video data of rear deletion, storage medium store full after, the important video data photographed after storing can not be continued.Environment residing for drive recorder does not cover without the WiFi network of charge on traffic, and is directly transferred in the Internet by the SIM card on drive recorder by video data, can consume the flow of user, produces the campus network of great number.Therefore, can support that point-to-point (as AD-Hoc, WiFiDirect or SmartLink etc.) interconnection technique and the local area network (LAN) that build as described in uploading, video data to portable mobile termianl are preserved by bluetooth or WiFi etc.In this step, local storage medium is stored in by mobile terminal based on point-to-point transmission passage wireless receiving video data; In subsequent step, upload to the Internet end by portable mobile termianl having under the environment covered without the WiFi network of charge on traffic again, save the campus network of user.Further, owing to adopting the jumbo video data file speed of Bluetooth transmission slowly, in one embodiment of the invention, adopt and support point-to-point interconnection technique without the WiFi of consumed flow and the local area network (LAN) that builds is stored on mobile terminal to receive described video data, as AD-Hoc, WiFiDirect or SmartLink etc.Certainly, prerequisite is that drive recorder can realize communicating with the mobile terminal such as mobile phone or PAD.See accompanying drawing 6, concrete, before this step S21, also comprise step S20: in response to connection request or instruction, search can the WiFi equipment of point to point connect obtains and the identification information preserving this equipment to realize and the pairing of this equipment.
As everyone knows, WiFi point-to-point transmission technology includes AD-Hoc, WiFiDirect or SmartLink etc.For convenience of program comprehension, the present embodiment illustrates the enforcement of this step for WiFiDirect point-to-point transmission technology, but can not form the restriction to invention.
When the mobile terminal and drive recorder that belong to car owner are in same WiFi LAN environment, and drive recorder and mobile terminal all support WiFiDirect, device pairing can be adopted to scan the mode connected and to realize pairing, and preserve the pairing identification information of drive recorder end ID or terminal name.
Concrete, such as in one embodiment of the invention, all with the operating system of more than Android4.0 on drive recorder and mobile terminal, namely all support WiFiDirect, all include android.Net.WiFi.p2p and wrap.Then by when having detected that mobile terminal enters this WiFiDirect local area network (LAN) during drive recorder first time pairing, can send a request matched order, search can the customer mobile terminal of point to point connect; Certainly, the pairing request of this WiFiDirect also can be the mobile terminal initiatively initiation of user, and drive recorder needs in response to this pairing request, matches with this mobile terminal.The present embodiment is initiatively initiated pairing request for the mobile terminal belonging to user and is illustrated, first mobile terminal call WiFip2pManager.discoverPeers () start scan can match connect equipment; After scanning drive recorder, call WiFip2pManager.connect () and carry out connection pairing, and preserve the ID of drive recorder or the pairing beacon information of terminal name in the terminal.
Be understood that by aforementioned description, after drive recorder and customer mobile terminal successful matching, further, perform step S21.Concrete, see accompanying drawing 6, this step S21 is further comprising the steps of:
S211, the request of the point-to-point local area network (LAN) of access that the WiFi equipment accepting to have matched in advance sends, sets up WiFi point-to-point transmission passage.
In abovementioned steps, the mobile terminal belonging to user realizes matching with drive recorder.When customer mobile terminal enters the point-to-point local area network (LAN) of drive recorder, the connection request that the drive recorder that automatic reception has been matched in advance sends automatically.Concrete, in an illustrative embodiment of the invention, all with the operating system of more than Android4.0 on drive recorder and mobile terminal, namely all support WiFiDirect, all include android.Net.WiFi.p2p and wrap.Two equipment can be connected according to WiFip2pInfo.isGroupOwner with WiFip2pInfo.groupOwnerAddress, namely establish the WiFiDirect point-to-point transmission passage described in the present embodiment.
After WiFiDirect transmission channel is successfully established, further, also step S212 is comprised: by this WiFi point-to-point transmission channel reception video data.
When after mobile terminal and drive recorder successful connection, realize file transfer by the WiFi transmission channel established.The video data that mobile terminal is sent by this WiFi point-to-point transmission channel reception drive recorder.
Concrete, in an embodiment of the invention, first a ServerSocket object is created by drive recorder, this server side socket object wait one from assigned address and the mobile terminal client terminal of port connection and block thread until be connected generation, so this server socket be based upon in a background thread; Then, create a client Socket at mobile terminal, this client socket object uses specifies ip address to go to be connected drive recorder end with port; And in a new thread, call the connection request that accept () method receives drive recorder end; After mobile terminal is successfully connected with drive recorder, the video data sent by drive recorder can be received.
Further, after mobile terminal receives video data, also comprise step S213, this video data is stored into local storage medium.
In the present invention, the video data that the preservation in order to energy safety receives, be stored in by this video data in local non-volatile memory medium, in the present invention's exemplary enforcement, described storage medium is the SD card of mobile terminal.Certainly, those skilled in that art can also adopt other nonvolatile memories as the storage medium in this embodiment, and the particular type of the present invention to storage medium does not limit.For the ease of the understanding of program, the present embodiment is to illustrate the realization of this embodiment with the mobile terminal of android system.Be understood that, need access SD card in android system, need first to file access rights.Can be added in AndroidManifest.xml in SD card and create the authority <uses-permissionandroid:name=with deleted file " android.permission.MOUNT_UNMOUNT_FILESSYSTEMS "/>; And add SD card write data permission <uses-permissionandroid:name=" android.permission.WRITE_EXTERNAL_STORAGE "/>.Again by the storage directory of newFile () function creation on this SD card, can customize filename; Calling FileOutputStream () function by the catalogue file of video data write establishment.Filename can adopt the temporal information of the video data received to name.Such as during 1 day 12 July in 2015 10 points start receive video, be then stored in the file of 07011210.pckt by name.On store path, file leaves in/Video/ date/catalogue under, as this file leave in/Video/20150701/ file in.
In sum, the video data that mobile terminal is sent by point-to-point transmission passage wireless receiving drive recorder is also stored in local storage medium, achieve the safe transfer of video data, and implement this step based on WiFi point-to-point transmission technology, without the need to consuming the flow of user.
Further, refer to Fig. 5, in the method for the invention, also comprise step S22, in response to the event of the accessing Internet detected, upload this video data by remote interface.
Achieve mobile terminal in abovementioned steps receive video data and be saved in local storage medium.Further, when under the WiFi environment that portable mobile terminal enters without the need to charge on traffic, close WiFiDirect local area network (LAN) pattern, be automatically connected to the Internet by 3G or 4G communication network.After mobile terminal detects mobile terminal accessing Internet, reading video data file from SD card, construct the long-distance Log server request that includes this video data file, then based on the TCP/IP network transmission protocol, this upload request is sent to cloud server by remote interface.
In the present invention, described video data can be connection-oriented transmission control protocol TCP in TCP/IP by the agreement that remote interface transmits; Also can be connectionless User Datagram Protoco (UDP) UDP.Owing to requiring very high when video data transmission to real-time and synchronism, and need to take the larger network bandwidth, therefore in a preferred embodiment of the invention, this video data adopts realtime transmission protocol RTP (Real-timeTransportProtocal) to be uploaded by remote interface.RTP is the network transmission protocol based on UDP, by transmission data the end-to-end transfer service with real-time characteristic is provided, it comprises two sub-protocols, RTP and RTCP.Wherein RTP is Data Transport Protocol, and for real-time transmission data, and RTCP is control protocol, for QoS feedback transmit the quality problems of data.
In an embodiment of the invention, after the mobile terminal accessing Internet detected, the authority of first to file access SD card, obtained the storage directory of local SD card again by getExternalStorheDirectory (), call the video data under FileInputSteam () and Fis.read () reading storage directory.For saving data space, video data is stored in local storage medium with H.264 coded format.Need the video data of H.264 coded format to send based on Real-time Transport Protocol, need video data to be packaged into RTP bag and send.First from H.264 original video data, separate each NALU, before each NALU, add corresponding RTP packet header, then the packet comprising RTP packet header and NALU is sent to remote server by remote interface.During concrete transmission, by a self-defined RTPsocket class data structure, such comprises a RTPPacket type, the quoting and a buffering area of a UDPSocketDatagramSocket type, and buffering area is for storing the video data of having packed.When sending data by remote interface, first upgrade the sequence number of RTPPacket, according to the NALU size of encapsulation, the size of RTPPacket is set, finally performs the sending method of DatagramSocket, realize the sending function of video data.
Further, refer to Fig. 5, also comprise step S23 in method of the present invention, by remote interface receive feedback show that this video data successfully uploads upload state information, delete this and upload state information and characterize the video data being stored in local storage medium of specifying.Concrete, refer to accompanying drawing 7, this step S23 is further comprising the steps of:
S231, by remote interface receive feedback show that described video data successfully uploads upload state information;
S232, uploads state information and finds it according to this and characterize the video data being stored in local storage medium of specifying;
S233, deletes this video data.
Concrete, in one embodiment of the invention, when received by remote interface remote server feedback video data file successfully upload upload state information after, according to the video data uniqueness characteristic information uploaded obtained, call the store path that Environment.getExternalStorageDirectory () .getAbsolutePath () function traversal finds this video data file.Then call deleteFile (newFile ()) and delete command is performed to the video data stored under this path, discharge local memory space.The uploading state information and can set the uniqueness characteristic information that it filename comprising this video data or memory time etc. can be characterized by this video data in advance in video upload program of described feedback; Also can extract before uploaded videos data and store sign is that the uniqueness characteristic information of this video data is to local, after the information that this video data receiving server end feedback waiting is successfully uploaded, this video data uniqueness characteristic information (as filename) of preserving in advance is added on the uploading in state information with the existence of electronic list form of setting up in advance.
Further, refer to Fig. 5, in method of the present invention, also comprise step S24, send this by described point-to-point transmission passage and upload state information.
From in preceding method, in this step, mobile terminal can support point-to-point interconnection technique by WIFI and the local area network wireless built sends this uploads state information to drive recorder end, as AD-Hoc, WiFiDirect or SmartLink etc.Concrete, mobile terminal enters in the point-to-point local area network (LAN) of WiFi of drive recorder, receives the connection request that drive recorder sends, accesses this point-to-point local area network (LAN).The present embodiment realizes based on the socket Socker between server end and client with the transmission of uploading state information of electronic list form, and this electronic list comprises and successfully passed the characteristic information of the video data that remote interface is uploaded.
Further, in the present invention, local storage medium is stored in by point-to-point transmission passage wireless receiving video data when first time accesses point-to-point local area network (LAN); Described in described point-to-point transmission passage feedback, state information is uploaded when second time accesses point-to-point local area network (LAN).Namely realize when abovementioned steps S21 and S24 is twice access to LAN in front and back.Due to when the video data received from drive recorder termination is uploaded to the Internet by mobile terminal on the one hand, need to leave under environment does not have the WiFi environment of charge on traffic to one and implement to upload, period and WiFi local area network (LAN) may disconnect due to reasons such as distances; Another is convenient, mobile terminal is when transmitting large files, WiFi communication mechanism cannot be connected to WiFiDirect local area network (LAN) and the Internet simultaneously, easily cause large files bust this, therefore, when using WiFi to be connected to internet transmission file by mobile terminal, the local area network (LAN) disconnecting point-to-point transmission is needed.
In sum, in the present invention, after drive recorder detects the point-to-point transmission passage connected, the video data stored this locality automatically to be uploaded on mobile terminal by this transmission channel and is stored in the storage medium of mobile terminal, achieves the safe transfer of video data; Video data, in response to the event of the accessing Internet detected, is uploaded to remote server storage by remote interface by the Internet by mobile terminal, realizes safe transmission and the storage of video data; Drive recorder termination receive mobile terminal feedback video data successfully upload to remote server after, delete being kept at local corresponding video data again, to ensure the successful transfer of video data, and discharge local memory space in time, avoid the important video data of local follow-up intercepting and capturing to lose because of memory space inadequate, avoid the wasting of resources.
Further, according to the function modoularization thinking of computer software, present invention also offers a kind of drive recorder adopting above-mentioned method for security protection of video data, refer to Fig. 8.This drive recorder comprises video processing module 11, transport module 12 and removing module 13, utilizes this video processing module 11, transport module 12 and removing module 13 to erect the principle framework of whole terminal, thus realizes modularization embodiment.The concrete concrete function disclosing each module and realize below.
Video processing module 11, acceleration information for detecting in response to acceleration induction device exceeds the event of predetermined threshold value, intercept comprise this Time To Event point special time period in video data captured by camera be stored in local storage medium.
Middle rolling car recorder of the present invention is in the driving process of automobile, and camera is in opening at the landscape taken on the way and traffic information always.After the numerical value of acceleration induction device sense acceleration built-in in middle rolling car recorder of the present invention exceeds predetermined threshold value, namely when there is the emergency case such as emergency brake or collision in body of a motor car, video processing module 11 intercept comprise this Time To Event point special time period in video data captured by camera be stored in local storage medium.Concrete, disclosing according to one embodiment of the invention, referred to Fig. 9, this video processing module 11 specifically comprises driver element 111, judging unit 112, video intercepting unit 113 and memory cell 114.
Described driver element 111, monitors current acceleration for driving acceleration induction device and obtains corresponding acceleration information;
Described judging unit 112, for judging whether this acceleration information exceeds predetermined threshold value, when exceeding this predetermined threshold value, determines the time point that this event occurs;
Described driver element 111 drives the numerical value of the acceleration under acceleration induction device test current state, and by detected data feedback to judging unit 112.In drive recorder, be preset with the excursion numerical value of an acceleration at judging unit 112, in order to improve the accuracy that drive recorder judges traffic accident scene, this numerical value can pass through repeatedly actual test and obtain.The acceleration value detected when judging unit 112 exceedes the range values preset, trigger an interrupt response, in self-defining interrupt processing function, call clock module or GPS module etc. there is the time point providing other modules of correct time function to occur to obtain this triggered interrupts event, and the time point preserving this event is to the machine.Certainly, be not limited to the time point adopting the mode of interrupt response to occur to obtain event in this embodiment, those skilled in that art should be appreciated that, other modes also can be adopted to trigger to obtain the time point of this event generation.
Further, described video intercepting unit 113, for before intercepting this time point with the video data in the special time period afterwards captured by camera and this video data of compressed encoding obtains video packets of data.
After video intercepting unit 113 obtains the time point of sudden change of acceleration, according to the special time period being kept at the machine set before, the video data in the special time period driving video intercepting unit 113 to intercept before or after this time point captured by camera.In implementing at one of the present invention, the numerical value of described special time period interface pre-sets or changes being positioned at arranging of the machine.Such as, 10 minutes before this special time period is Time To Event point after 5 minutes to time point can be set, based on being positioned at the visualization interface of the machine or arranging knob to arrange or change the concrete numerical value of this special time period; Certainly, also directly the numerical value of this special time period can be defaulted to the storage medium being stored in drive recorder in video intercepting unit 113.
For the ease of realizing the function of above-mentioned each module, the present embodiment, using the universal camera shooting head of standard as video capture device, illustrates the implementation procedure of this embodiment for the arm processor be configured with in drive recorder based on linux system.It should be noted that, the realization theory of each module described in the present invention has nothing to do with the type of operating system and processor, and those skilled in that art can also adopt with any processor of other operating systems and the video camera of other models to realize the present embodiment.The present embodiment can not be construed as limiting the invention.
In one embodiment of the invention, video intercepting unit 113 adopts this driving of increasing income of Video4Linux in linux system (V4L2) to drive camera implementation and operation, this V4L2 drives the application programming for the first-class video equipment of shooting to provide a series of interface function, comprise the functions such as the unlatching to equipment, closedown, configuration, reading and write, can be mutual by what call ioctl () function to realize with camera, this function comprises device descriptor, control command and control command parameter three parameters.Such as can call VIDIOC_S_FMT control command to arrange length and width and the picture format of the vedio data captured by camera, calling VIDIOC_REQBUFS control command word is the screen buffer that captured video data application is positioned at kernel spacing.
Such as, in one exemplary embodiment of the present invention, intercept video data in this special time period by loading FFMpeg storehouse under Linux platform, the time point that the acceleration information that first degree of will speed up inductor detects exceeds predetermined threshold value and the special time period preset are configured in self-defining video intercepting unit 113.Concrete, in this embodiment, video intercepting unit 113 can adopt the video data intercepting camera in two ways and catch.In one embodiment of the invention, video intercepting unit 113 calls read function to obtain the video data in this special time period; In another embodiment of the present invention, video intercepting unit 113 is directly by calling kernel spacing memory-mapped that mmap memory-mapped function stores video data to user's space, and application program visits kernel spacing acquisition video data by calling party space address; Mainly because request V4L2 drives the screen buffer distributed to be positioned at kernel spacing, application program can not directly be accessed.Owing to adopting the method for memory-mapped comparatively to adopt the method speed of read function to want fast, therefore the present embodiment preferably adopts the mode of memory-mapped to obtain video data in special time period.
After the video data that video intercepting unit 113 has intercepted in special time period, because the capacity of video data is very large, in order to reduce the memory capacity of video data, need to adopt specific compression algorithm that this video data encoding is compressed into video packets of data.Be understood that, H.264 video intercepting unit 113 of the present invention can adopt, in MPEG-4, MPEG-2, WMA-HD and VC-1 any one coded format to described coding video data.Such as, in one exemplary embodiment of the present invention, video intercepting unit 113 adopt H.264 coded format to video data encoding.Include H.264 coded system in VPU built-in function built-in in ARM, first video intercepting unit 113 calls initialization codes device function RetCodevpu_EncOpen () definition encoder, and is chosen as by coding mode and H.264 encodes; Call coding function RetCodeVpu_EncStartOneFrame () again to the coding video data be truncated to; After end-of-encode, video intercepting unit 113 call function RetCodevpu_EncGetOutputInfo () obtains the video packets of data of encoding and obtaining.
Further, described memory cell 114, for being kept at local storage medium by this video packets of data.
In aforementioned modules, driver element 111 and judging unit 112 exceed the event of predetermined threshold value in response to the acceleration information that acceleration induction device detects, video capture unit 113 intercept comprise this Time To Event point special time period in video data captured by camera, and adopt encryption algorithm that the compression of the video data encoding of intercepting is obtained video packets of data.Further, in order to intercepted important video packets of data is uncovered, memory cell 114 is needed this video packets of data to be kept in local non-volatile memory medium.In an embodiment of the invention, with SD card for storage medium preserves this video packets of data.Certainly, those skilled in that art can also adopt other nonvolatile memories as the storage medium in this embodiment, and the particular type of the present invention to storage medium does not limit.
Concrete, linux system is embedded SD card driver module, memory cell 114 sets up the storage directory of video data in the file system of SD card, in this catalogue, set up file.In one exemplary embodiment of the present invention, searching for the ease of video data, the present embodiment memory cell 114 with the temporal information comprised in the special time period of a certain video data for filename, video storage catalogue called after Video.The video (acquiescence special time segment length is 15 minutes) that such as during 1 day 12 July in 2015,10 points start to record then is stored in the file of 07011210_15min.pckt by name.On store path, file leaves in/Video/ date/catalogue under, as this file leave in/Video/20150701/ file in.
In sum, aforementioned video processing module 11 achieves the event that the acceleration information detected in response to acceleration induction device exceeds predetermined threshold value, intercept comprise this Time To Event point special time period in video data captured by camera be stored in local storage medium.Because the memory capacity of local storage medium is limited, after therefore memory space takes by jumbo video data, local memory space cannot continue the important video data storing follow-up shooting, causes the loss of important video data.
In view of aforesaid defect, further, see accompanying drawing 8, described transport module 12 is uploaded by the point-to-point transmission passage detected automatically for the video data stored this locality.
Due to the storage medium finite capacity of drive recorder end, if not in time the video data unloading be kept in storage medium is protected this video data of rear deletion, storage medium store full after, the important video data photographed after storing can not be continued.Environment residing for drive recorder does not cover without the WiFi network of charge on traffic, and is directly transferred in the Internet by the SIM card on drive recorder by video data, can consume the flow of user, produces the campus network of great number.Therefore, transport module 12 can be adopted to support that point-to-point (as AD-Hoc, WiFiDirect or SmartLink etc.) interconnection technique and the local area network (LAN) that builds as described in uploading, video data to portable mobile termianl are preserved by bluetooth or WiFi etc.Upload to the Internet end by portable mobile termianl having under the environment covered without the WiFi network of charge on traffic again, save the campus network of user.Further, owing to adopting the jumbo video data file speed of Bluetooth transmission slowly, in one embodiment of the invention, the local area network (LAN) that transport module 12 adopts the comparatively faster WiFi of speed without consumed flow to support point-to-point interconnection technique and builds uploads described video data on mobile terminal, automatically as AD-Hoc, WiFiDirect or SmartLink etc.Certainly, prerequisite is that drive recorder can realize communicating with the mobile terminal such as mobile phone or PAD.See accompanying drawing 10, concrete also comprises local area network (LAN) matching module 10, when detecting that the WiFi equipment of having matched in advance accesses point-to-point local area network (LAN), before setting up WiFi point-to-point transmission passage, described local area network (LAN) matching module is configured in response to connection request or instruction, search can the WiFi equipment of point to point connect obtains and the identification information preserving this equipment to realize and the pairing of this equipment.
As everyone knows, WiFi point-to-point transmission technology includes AD-Hoc, WiFiDirect or SmartLink etc.Understand the realization of local area network (LAN) matching module 10 for convenience, the present embodiment illustrates the realization of this module for WiFiDirect point-to-point transmission technology, but can not form the restriction to invention.
When the mobile terminal and drive recorder that belong to car owner are in same WiFi LAN environment, and when drive recorder and mobile terminal all support WiFiDirect, local area network (LAN) matching module 10 can adopt device pairing to scan the mode connected and realize pairing.And preserve the ID of customer mobile terminal or the pairing identification information of terminal name, this mobile terminal is defaulted as the mobile terminal needing to send video data, other mobile terminals that follow-up no longer connection can be matched.
Concrete, such as in one embodiment of the invention, all with the operating system of more than Android4.0 on drive recorder and mobile terminal, namely all support WiFiDirect, all include android.Net.WiFi.p2p and wrap.Then can by when having detected that mobile terminal enters this WiFiDirect local area network (LAN) during drive recorder first time pairing, local area network (LAN) matching module 10 sends a request matched order, and search can the customer mobile terminal of point to point connect; Certainly, the pairing request of this WiFiDirect also can be the mobile terminal initiatively initiation of user, and drive recorder end local area network (LAN) matching module 10 needs, in response to this pairing request, to match with this mobile terminal.The present embodiment is initiatively initiated pairing request for the mobile terminal belonging to user and is illustrated, first mobile terminal call WiFip2pManager.discoverPeers () start scan can match connect equipment; After scanning drive recorder, call WiFip2pManager.connect () and carry out connection pairing, and preserve the ID of mobile terminal or the pairing beacon information of terminal name in drive recorder end local area network (LAN) matching module 10.
Be understood that by aforementioned description, after drive recorder and customer mobile terminal successful matching, further, call transport module 12 and perform corresponding function.Concrete, see accompanying drawing 10, this transport module 12 also comprises communication unit 121 and uploading unit 122.
Communication unit 121, for when detecting that the WiFi equipment of having matched in advance accesses point-to-point local area network (LAN), sets up WiFi point-to-point transmission passage.
In aforementioned local area network (LAN) matching module 10, drive recorder realizes matching with the mobile terminal belonging to user.When drive recorder end communication unit 121 detects that the customer mobile terminal matched in advance enters the point-to-point local area network (LAN) of drive recorder, automatically send connection request.Concrete, in an illustrative embodiment of the invention, all with the operating system of more than Android4.0 on drive recorder and mobile terminal, namely all support WiFiDirect, all include android.Net.WiFi.p2p and wrap.Communication unit 121 carries out active according to WiFip2pInfo.isGroupOwner with WiFip2pInfo.groupOwnerAddress and is connected, and namely establishes the WiFiDirect point-to-point transmission passage described in the present embodiment.
After WiFiDirect transmission channel is successfully established, further, described uploading unit 122, is stored in local described video data for automatically being uploaded by this WiFi point-to-point transmission passage.
When after drive recorder and mobile terminal successful connection, uploading unit 122 realizes file transfer by the WiFi transmission channel established.First drive recorder end uploading unit 122 travels through the video data file be stored in local storage medium, uploads this video data based on the WiFi transmission channel established.
Concrete, in an embodiment of the invention, first a ServerSocket object is created by drive recorder end uploading unit 122, this server side socket object wait one from assigned address and the mobile terminal client terminal of port connection and block thread until be connected generation, so this server socket be based upon in a background thread; Then, create a client Socket at mobile terminal, this client socket object uses specifies ip address to go to be connected drive recorder with port; Further, after service end is successfully connected with client, video data can be sent to client by byte stream from server end.
In sum, the video data that this locality stores by drive recorder end has uploaded to mobile terminal automatically by the point-to-point transmission passage detected, achieve the safe transfer of video data, and implement this step based on WiFi point-to-point transmission technology, without the need to consuming the flow of user.
Further, delete in time in order to drive recorder end and be moved the video data that terminal successfully uploads to Cloud Server, discharge local memory space.Further, see accompanying drawing 8, described removing module 13, uploads state information for what obtained feedback by described transmission channel, deletes and is uploaded state information characterized the video data being stored in local storage medium of specifying by this.
Video data be transmitted module 12 safety be transferred to mobile terminal after, mobile terminal this video data can be uploaded to remote cloud server preserve.And the video data information successfully uploading to remote cloud server is fed back to drive recorder end with the form of electronic list, drive recorder uploads state information according to providing with electronic list form of obtaining of point-to-point transmission passage, delete the video data being stored in local storage medium of specifying in this electronic list, the local memory space of timely release, avoid the wasting of resources, for the important video data of follow-up intercepting and capturing provides memory space.Concrete, refer to Figure 11, described removing module 13 specifically comprises receiving element 131, searches unit 132 and delete performance element 133.
Described receiving element 131, uploads state information for what fed back by described transmission channel wireless receiving;
Describedly search unit 132, in local storage medium, find this upload state information for uploading state information described in basis and characterize the video data of specifying;
Described deletion performance element 133, for deleting this video data.
Be understood that, receiving element 131 by the point-to-point transmission passage wireless receiving feedback that established provide with electronic list upload state information, this electronic list contains successfully is uploaded the characteristic information of the video data in high in the clouds, wherein this special card information can comprise the filename of video data, also can be that other are characterized by the uniqueness characteristic information of this video data, the shooting time etc. of such as video data.Described unit 132 of searching is according to the video data uniqueness characteristic information obtained, and Automatically invoked find () function traversal finds the store path of this video data file.Then described deletion performance element 133 can receive feedback upload state information after, call rm () immediately and delete command is performed to the video data stored under this path, when also can treat that drive recorder end memory capacity is inadequate, described deletion performance element 133 calls rm () again and performs delete command to the video data stored under this path, discharge local memory space, avoid the wasting of resources, for the important video data of follow-up intercepting and capturing provides memory space.
Further, in the present invention, described transport module 12 is configured to automatically be uploaded by the point-to-point transmission passage detected by the video data that this locality stores when first time accesses point-to-point local area network (LAN); What described removing module 13 was configured to obtain feedback when second time accesses point-to-point local area network (LAN) according to described transmission channel uploads state information, deletes and uploads the video data being stored in local storage medium corresponding to state information with this.Namely in the present invention, aforementioned transmission module 12 and removing module 13 perform when the point-to-point local area network (LAN) of successively twice access, what drive recorder utilized WiFiDirect wireless local area network technology transmitting video data and reception to feed back is gradation access WiFi local area network (LAN) when uploading state information, due to when the video data received from drive recorder termination is uploaded to the Internet by mobile terminal on the one hand, need to leave under environment does not have the WiFi environment of charge on traffic to one and implement to upload, period and WiFi local area network (LAN) may disconnect due to reasons such as distances; Another is convenient, and mobile terminal is when transmitting large files, and WiFi communication mechanism cannot be connected to WiFiDirect local area network (LAN) and the Internet simultaneously, easily causes large files bust this.
In like manner, according to the function modoularization thinking of computer software, the present invention is also provided with the mobile terminal corresponding with drive recorder end, to realize realizing communicating with drive recorder, present invention also offers a kind of mobile terminal adopting above-mentioned video data safe transmission method, refer to Figure 12.This mobile terminal comprises transmission module 22, second removing module 23 and feedback module 24 on receiver module 21, second, to utilize on this receiver module 21, second transmission module 22, second removing module 23 and feedback module 24 to erect the principle framework of whole terminal, thus realize modularization embodiment.The concrete concrete function disclosing each module and realize below.
Described receiver module 21, for being stored in local storage medium by point-to-point transmission passage wireless receiving video data.
Due to the storage medium finite capacity of drive recorder end, if not in time the video data unloading be kept in storage medium is protected this video data of rear deletion, storage medium store full after, the important video data photographed after storing can not be continued.Environment residing for drive recorder does not cover without the WiFi network of charge on traffic, and is directly transferred in the Internet by the SIM card on drive recorder by video data, can consume the flow of user, produces the campus network of great number.Therefore, can support that point-to-point (as AD-Hoc, WiFiDirect or SmartLink etc.) interconnection technique and the local area network (LAN) that build as described in uploading, video data to portable mobile termianl are preserved by bluetooth or WiFi etc.In this step, local storage medium is stored in by receiver module 21 based on point-to-point transmission passage wireless receiving video data; Follow-uply upload to the Internet end by transmission module 22 on portable mobile termianl second having under the environment covered without the WiFi network of charge on traffic, save the campus network of user.Further, owing to adopting the jumbo video data file speed of Bluetooth transmission slowly, in one embodiment of the invention, the WiFi without consumed flow is adopted to support point-to-point interconnection technique by receiver module 21 and the local area network (LAN) built is stored on mobile terminal to receive described video data, as AD-Hoc, WiFiDirect or SmartLink etc.Certainly, prerequisite is that drive recorder can realize communicating with the mobile terminal such as mobile phone or PAD.See accompanying drawing 13, concrete, also comprise the second matching module 20, for the request of the point-to-point local area network (LAN) of access that the WiFi equipment accepting to have matched in advance sends, before setting up WiFi point-to-point transmission passage, described second matching module 20 is configured in response to connection request or instruction, search can the WiFi equipment of point to point connect obtains and the identification information preserving this equipment to realize and the pairing of this equipment.
As everyone knows, WiFi point-to-point transmission technology includes AD-Hoc, WiFiDirect or SmartLink etc.For convenience of the realization understanding the second matching module 20, the present embodiment illustrates the enforcement of this module for WiFiDirect point-to-point transmission technology, but can not be construed as limiting the invention.
When the mobile terminal and drive recorder that belong to car owner are in same WiFi LAN environment, and drive recorder and mobile terminal all support WiFiDirect, device pairing can be adopted to scan the mode connected and to realize pairing, and preserve the pairing identification information of drive recorder end ID or terminal name.
Concrete, such as in one embodiment of the invention, all with the operating system of more than Android4.0 on drive recorder and mobile terminal, namely all support WiFiDirect, all include android.Net.WiFi.p2p and wrap.Then can by when having detected that mobile terminal enters this WiFiDirect local area network (LAN) during drive recorder first time pairing, the second matching module 20 sends a request matched order, and search can the customer mobile terminal of point to point connect; Certainly, the pairing request of this WiFiDirect also can be the mobile terminal second matching module 20 initiatively initiation of user, and drive recorder needs in response to this pairing request, matches with this mobile terminal.The present embodiment is initiatively initiated pairing request for mobile terminal second matching module 20 belonging to user and is illustrated, first the second matching module 20 call WiFip2pManager.discoverPeers () start scan can match connect equipment; After scanning drive recorder, call WiFip2pManager.connect () and carry out connection pairing, and preserve the ID of drive recorder or the pairing beacon information of terminal name in the terminal.
Be understood that by aforementioned description, after drive recorder and customer mobile terminal successful matching, further, perform the function of receiver module 21.Concrete, see accompanying drawing 13, this receiver module 21 also includes second communication unit 211, second receiving element 212 and the second memory cell 213.
Described second communication unit 211, the request of the point-to-point local area network (LAN) of the access that the WiFi equipment for accepting to have matched in advance sends, sets up WiFi point-to-point transmission passage.
In aforementioned second matching module 20, the mobile terminal belonging to user realizes matching with drive recorder.When customer mobile terminal enters the point-to-point local area network (LAN) of drive recorder, the connection request that the drive recorder that second communication unit 211 automatic reception has been matched in advance sends automatically.Concrete, in an illustrative embodiment of the invention, all with the operating system of more than Android4.0 on drive recorder and mobile terminal, namely all support WiFiDirect, all include android.Net.WiFi.p2p and wrap.Two equipment can be connected according to WiFip2pInfo.isGroupOwner with WiFip2pInfo.groupOwnerAddress, namely establish the WiFiDirect point-to-point transmission passage described in the present embodiment.
After WiFiDirect transmission channel is successfully established, further, described second receiving element 212, for passing through this WiFi point-to-point transmission channel reception video data.
When after mobile terminal and drive recorder successful connection, realize file transfer by the WiFi transmission channel established.The video data that second receiving element 212 is sent by this WiFi point-to-point transmission channel reception drive recorder.
Concrete, in an embodiment of the invention, first a ServerSocket object is created by drive recorder, this server side socket object wait one from assigned address and the mobile terminal client terminal of port connection and block thread until be connected generation, so this server socket be based upon in a background thread; Then, the second receiving element 212 creates a client Socket, and this client socket object uses specifies ip address to go to be connected drive recorder end with port; And the second receiving element 212 calls the connection request that accept () method receives drive recorder end in a new thread; After mobile terminal is successfully connected with drive recorder, the second receiving element 212 can receive the video data sent by drive recorder.
Further, after mobile terminal receives video data, described second memory cell 213 is configured to this video data to be stored into local storage medium.
In the present invention, the video data that the preservation in order to energy safety receives, this video data is stored in local non-volatile memory medium by the second memory cell 213, and in the present invention's exemplary enforcement, described storage medium is the SD card of mobile terminal.Certainly, those skilled in that art can also adopt other nonvolatile memories as the storage medium in this embodiment, and the particular type of the present invention to storage medium does not limit.For the ease of the realization of this module, the present embodiment is to illustrate the realization of this embodiment with the mobile terminal of android system.Be understood that, need access SD card in android system, need first to file access rights.Can be added in AndroidManifest.xml in SD card and create the authority <uses-permissionandroid:name=with deleted file " android.permission.MOUNT_UNMOUNT_FILESSYSTEMS "/>; And add SD card write data permission <uses-permissionandroid:name=" android.permission.WRITE_EXTERNAL_STORAGE "/>.Second memory cell 213 by the storage directory of newFile () function creation on this SD card, can customize filename again; Calling FileOutputStream () function by the catalogue file of video data write establishment.Filename can adopt the temporal information of the video data received to name.Such as during 1 day 12 July in 2015 10 points start receive video, be then stored in the file of 07011210.pckt by name.On store path, file leaves in/Video/ date/catalogue under, as this file leave in/Video/20150701/ file in.
In sum, the video data that mobile terminal receiver module 21 is sent by point-to-point transmission passage wireless receiving drive recorder is also stored in local storage medium, achieve the safe transfer of video data, and based on WiFi point-to-point transmission technology receiving video data, without the need to consuming the flow of user.
Further, refer to Figure 12, on described second, transmission module 22 is configured to the event in response to the accessing Internet detected, uploads this video data by remote interface.
Achieve mobile terminal in aforementioned receiver module 21 receive video data and be saved in local storage medium.Further, when under the WiFi environment that portable mobile terminal enters without the need to charge on traffic, on second, transmission module 22 closes WiFiDirect local area network (LAN) pattern, is automatically connected to the Internet by 3G or 4G communication network.After on mobile terminal second, transmission module 22 detects mobile terminal accessing Internet, reading video data file from SD card, construct the long-distance Log server request that includes this video data file, then based on the TCP/IP network transmission protocol, on second, this upload request is sent to cloud server by remote interface by transmission module 22.
In the present invention, described video data can be connection-oriented transmission control protocol TCP in TCP/IP by the agreement that remote interface transmits; Also can be connectionless User Datagram Protoco (UDP) UDP.Owing to requiring very high when video data transmission to real-time and synchronism, and need to take the larger network bandwidth, therefore in a preferred embodiment of the invention, this video data adopts realtime transmission protocol RTP (Real-timeTransportProtocal) to be uploaded by remote interface by transmission module 22 on second.RTP is the network transmission protocol based on UDP, by transmission data the end-to-end transfer service with real-time characteristic is provided, it comprises two sub-protocols, RTP and RTCP.Wherein RTP is Data Transport Protocol, and for real-time transmission data, and RTCP is control protocol, for QoS feedback transmit the quality problems of data.
In an embodiment of the invention, after the mobile terminal accessing Internet that on second, transmission module 22 detects, the authority of first to file access SD card, obtained the storage directory of local SD card again by getExternalStorheDirectory (), call the video data under FileInputSteam () and Fis.read () reading storage directory.For saving data space, video data is stored in local storage medium with H.264 coded format.On second, transmission module 22 needs the video data of H.264 coded format to send based on Real-time Transport Protocol, needs video data to be packaged into RTP bag and sends.On second, first transmission module 22 separates each NALU from H.264 original video data, adds corresponding RTP packet header, then the packet comprising RTP packet header and NALU is sent to remote server by remote interface before each NALU.During concrete transmission, on second, transmission module 22 is by a self-defined RTPsocket class data structure, such comprises a RTPPacket type, the quoting and a buffering area of a UDPSocketDatagramSocket type, and buffering area is for storing the video data of having packed.When transmission module 22 sends data by remote interface on second, first upgrade the sequence number of RTPPacket, according to the NALU size of encapsulation, the size of RTPPacket is set, finally performs the transmission of DatagramSocket, realize the sending function of video data.
Further, refer to Figure 12, in the present invention the second removing module 23 be configured to by remote interface receive feedback show that this video data successfully uploads upload state information, delete this and upload state information and characterize the video data being stored in local storage medium of specifying.Concrete, refer to accompanying drawing 14, described second removing module 23 also includes the 3rd receiving element 231, the 3rd and searches unit 232 and the second deletion performance element 233.
Described 3rd receiving element 231, for received by remote interface feedback show that described video data successfully uploads upload state information;
Described 3rd searches unit 232, for uploading state information and find it according to this and characterize the video data being stored in local storage medium of specifying;
Second deletes performance element 233, for deleting this video data.
Concrete, in one embodiment of the invention, when described 3rd receiving element 231 to be received by remote interface that the video data file of remote server feedback successfully uploads upload state information after, 3rd searches unit 232 according to the video data uniqueness characteristic information uploaded obtained, and calls the store path that Environment.getExternalStorageDirectory () .getAbsolutePath () function traversal finds this video data file.Then the second deletion performance element 233 calls deleteFile (newFile ()) and performs delete command to the video data stored under this path, discharges local memory space.The uploading state information and can set the uniqueness characteristic information that it filename comprising this video data or memory time etc. can be characterized by this video data in advance in video upload program of described feedback; Also can extract before uploaded videos data and store sign is that the uniqueness characteristic information of this video data is to local, after the information that this video data receiving server end feedback waiting is successfully uploaded, this video data uniqueness characteristic information (as filename) of preserving in advance is added on the uploading in state information with the existence of electronic list form of setting up in advance.
Further, refer to Figure 12, feedback module 24 of the present invention is configured to send this by described point-to-point transmission passage and uploads state information.
From in preceding method, point-to-point interconnection technique can be supported by WIFI in this mobile terminal feedback module 24 and the local area network wireless built sends this uploads state information to drive recorder end, as AD-Hoc, WiFiDirect or SmartLink etc.Concrete, mobile terminal enters in the point-to-point local area network (LAN) of WiFi of drive recorder, receives the connection request that drive recorder sends, accesses this point-to-point local area network (LAN).The present embodiment feedback module 24 realizes based on the socket Socker between server end and client with the transmission of uploading state information of electronic list form, and this electronic list comprises and successfully passed the characteristic information of the video data that remote interface is uploaded.
Further, in the present invention, described receiver module 21 to be configured to when first time accesses point-to-point local area network (LAN) by point-to-point transmission passage wireless receiving video data and to be stored in local storage medium; Described feedback module 24 is configured to described in described point-to-point transmission passage feedback, upload state information when second time accesses point-to-point local area network (LAN), realizes its corresponding function when namely aforementioned receiver module 21 is twice access to LAN in front and back to feedback module 24.Due to when the video data received from drive recorder termination is uploaded to the Internet by transmission module 22 on mobile terminal second on the one hand, need to leave under environment does not have the WiFi environment of charge on traffic to one and implement to upload, period and WiFi local area network (LAN) may disconnect due to reasons such as distances; Another is convenient, mobile terminal is when transmitting large files, WiFi communication mechanism cannot be connected to WiFiDirect local area network (LAN) and the Internet simultaneously, easily cause large files bust this, therefore, when using WiFi to be connected to internet transmission file by mobile terminal, the local area network (LAN) disconnecting point-to-point transmission is needed.
In sum, in the present invention, after drive recorder detects the point-to-point transmission passage connected, the video data stored this locality automatically to be uploaded on mobile terminal by this transmission channel and is stored in the storage medium of mobile terminal, achieves the safe transfer of video data; Video data, in response to the event of the accessing Internet detected, is uploaded to remote server storage by remote interface by the Internet by mobile terminal, realizes safe transmission and the storage of video data; Drive recorder termination receive mobile terminal feedback video data successfully upload to remote server after, delete being kept at local corresponding video data again, to ensure the successful transfer of video data, and discharge local memory space in time, avoid the important video data of local follow-up intercepting and capturing to lose because of memory space inadequate, avoid the wasting of resources.
Concrete, for the ease of understanding middle rolling car recorder of the present invention and mobile terminal realizes method of the present invention jointly.Refer to Figure 15, the invention provides the guard method of a kind of drive recorder video data, describe the realization of the method in conjunction with drive recorder and mobile terminal.Concrete, the method comprises the following steps:
S01, drive recorder exceeds the event of predetermined threshold value in response to the acceleration information that acceleration induction device detects, intercept comprise this Time To Event point special time period in video data captured by camera be stored in local storage medium.
Middle rolling car recorder of the present invention is in the driving process of automobile, and camera is in opening at the landscape taken on the way and traffic information always.After the numerical value of acceleration induction device sense acceleration built-in in middle rolling car recorder of the present invention exceeds predetermined threshold value, namely when there is the emergency case such as emergency brake or collision in body of a motor car, intercept comprise this Time To Event point special time period in video data captured by camera be stored in local storage medium.Concrete, disclosing according to one embodiment of the invention, this step S01 specifically comprises following step:
S011, drive recorder drives acceleration induction device to monitor current acceleration and obtains corresponding acceleration information;
S012, drive recorder judges whether this acceleration information exceeds predetermined threshold value, when exceeding this predetermined threshold value, determines the time point that this event occurs;
S013, drive recorder intercept this time point before with the video data in the special time period afterwards captured by camera and this video data of compressed encoding obtains video packets of data;
S014, this video packets of data is kept at local storage medium by drive recorder.
In drive recorder, be preset with the excursion numerical value of an acceleration, when the acceleration value detected exceedes the range values preset, trigger an interrupt response, in self-defining interrupt processing function, call clock module or GPS module etc. there is the time point providing other modules of correct time function to occur to obtain this triggered interrupts event, and the time point preserving this event is to the machine.Certainly, be not limited to the time point adopting the mode of interrupt response to occur to obtain event in this embodiment, those skilled in that art should be appreciated that, other modes also can be adopted to trigger to obtain the time point of this event generation.
Concrete, after obtaining the time point of sudden change of acceleration, according to the special time period be kept in drive recorder set before, the video data in the special time period driving camera to intercept before or after this time point captured by camera.Such as, 10 minutes before this special time period is Time To Event point after 5 minutes to time point can be set, based on being positioned at the visualization interface of drive recorder end or arranging knob to arrange or change the concrete numerical value of this special time period; Certainly, also directly the numerical value of this special time period can be defaulted in program the storage medium being stored in drive recorder.And adopt encryption algorithm that the compression of the video data encoding of intercepting is obtained video packets of data.
Concrete, in order to intercepted important video packets of data is uncovered, need this video packets of data to be kept in local non-volatile memory medium.In an embodiment of the invention, with SD card for storage medium preserves this video packets of data.Certainly, those skilled in that art can also adopt other nonvolatile memories as the storage medium in this embodiment, and the particular type of the present invention to storage medium does not limit.
Further, in the method for the invention, also comprise step S02, this video data is automatically transferred to default mobile terminal by first passage by drive recorder.Due to the storage medium finite capacity of drive recorder end, if not in time the video data unloading be kept in storage medium is protected this video data of rear deletion, storage medium store full after, the important video data photographed after storing can not be continued.Environment residing for drive recorder does not cover without the WiFi network of charge on traffic, and is directly transferred in the Internet by the SIM card on drive recorder by video data, can consume the flow of user, produces the campus network of great number.Therefore, can support that point-to-point (as AD-Hoc, WiFiDirect or SmartLink etc.) interconnection technique and the local area network (LAN) that build as described in uploading, video data to portable mobile termianl are preserved by bluetooth or WiFi etc.Upload to the Internet end by portable mobile termianl having under the environment covered without the WiFi network of charge on traffic again, save the campus network of user.Further, owing to adopting the jumbo video data file speed of Bluetooth transmission slowly, in one embodiment of the invention, adopt and support point-to-point interconnection technique without the comparatively faster WiFi of speed of consumed flow and the local area network (LAN) that builds uploads described video data on mobile terminal, automatically as AD-Hoc, WiFiDirect or SmartLink etc.Certainly, prerequisite is that drive recorder can realize communicating with the mobile terminal such as mobile phone or PAD.
Further, also comprise step S03, the local video data that is stored in received by first passage, in response to the event of the accessing Internet detected, is uploaded to high in the clouds by second channel by mobile terminal.
Mobile terminal is by first passage receiving video data and be saved in local storage medium.Further, when under the WiFi environment that portable mobile terminal enters without the need to charge on traffic, close WiFi local area network (LAN) pattern, be automatically connected to the Internet by 3G or 4G communication network and set up second channel.After mobile terminal detects mobile terminal accessing Internet, reading video data file from local storage medium, construct the long-distance Log server request that includes this video data file, then based on the TCP/IP network transmission protocol, this upload request is sent to cloud server by second channel.
Further, also comprise step S04, what mobile terminal was successfully uploaded by the sign video data of second channel reception high in the clouds feedback uploads state information, deletes this and uploads the video data being stored in this locality characterized in state information.
Concrete, in one embodiment of the invention, when mobile terminal to be received by second channel that the video data file of remote server feedback successfully uploads upload state information after, according to the video data uniqueness characteristic information uploaded obtained, traversal finds the store path of this video data file.Then delete command is performed to the video data stored under this path, discharge local memory space.The uploading state information and can set the uniqueness characteristic information that it filename comprising this video data or memory time etc. can be characterized by this video data in advance in video upload program of described feedback; Also can extract before uploaded videos data and store sign is that the uniqueness characteristic information of this video data is to local, after the information that this video data receiving server end feedback waiting is successfully uploaded, this video data uniqueness characteristic information (as filename) of preserving in advance is added on the uploading in state information with the existence of electronic list form of setting up in advance.
Further, also comprise step S05, what the mobile terminal that drive recorder deletion is received by first passage fed back uploads the video data being stored in local storage medium characterized in state information.
Again enter the Wifi LAN environment of drive recorder at mobile terminal after, again connect first passage, and contain by this passage feedback packet the video data information successfully uploading to remote cloud server upload state information to drive recorder end, drive recorder obtains this according to first passage and uploads state information, delete this and upload the video data being stored in local storage medium of specifying in state information, the local memory space of timely release, avoid the wasting of resources, for the important video data of follow-up intercepting and capturing provides memory space.
In sum, in the present invention, after drive recorder detects the point-to-point first passage connected, the video data stored this locality automatically to be uploaded on mobile terminal by this first passage and is stored in the storage medium of mobile terminal, achieves the safe transfer of video data; Video data, in response to the event of the accessing Internet detected, is uploaded to remote server storage by second channel by the Internet by mobile terminal, realizes safe transmission and the storage of video data; Drive recorder termination receive mobile terminal feedback video data successfully upload to remote server after, delete being kept at local corresponding video data again, to ensure the successful transfer of video data, and discharge local memory space in time, avoid the important video data of local follow-up intercepting and capturing to lose because of memory space inadequate, avoid the wasting of resources.
In an application scenarios of the present invention, the drive recorder be arranged on automobile implementing technical scheme of the present invention is in open state, and this drive recorder achieves the point-to-point pairing of Wifi in advance with user mobile phone.The acceleration information detected in response to acceleration induction device exceeds the event of predetermined threshold value, intercept comprise this Time To Event point special time period in video data captured by camera be stored in local storage medium, complete important video data and be stored in local storage medium.After whenever driver enters driver's cabin, drive recorder end detects that user mobile phone enters into the point-to-point local area network (LAN) of WiFi automatically, initiatively initiate connection request and user mobile phone from being dynamically connected, video data in local storage medium is sent to user mobile phone based on point-to-point transmission passage by drive recorder more automatically, this video data is kept in local storage medium by user mobile phone, achieves video data and dumps to user mobile phone safely from drive recorder.When user mobile phone detects under the WiFi network overlay environment entered without the need to charge on traffic, uploading to remote cloud server by being stored in local video data by remote interface, achieving safe transmission and the remote storage of video data.The video data receiving remote server feedback when user mobile phone deletes the video data of the local correspondence stored after having uploaded and successfully uploading state information.Under user mobile phone enters into the environment of the point-to-point local area network (LAN) of driver's cabin middle rolling car recorder again, send to drive recorder end with drive recorder from being dynamically connected and state information being uploaded.After drive recorder termination receives and uploads state information, delete and be kept at local video data, discharge local memory space, for the important video data of follow-up intercepting and capturing provides memory space.
In brief; the present invention can when comparatively safe; detect that the event interception of acceleration exception comprises the video data of this event time point and is stored in drive recorder end in response to acceleration induction device; mobile phone terminal is transferred to again based on the point-to-point transmission technical security connected; upload in remote server based on 3G or 4G network by mobile phone terminal again, realize safeguard protection and the safe transmission of video data.
In specification provided herein, although the description of a large amount of details.But can understand, embodiments of the invention can be put into practice when not having these details.In certain embodiments, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Although shown exemplary embodiments more of the present invention above, but it should be appreciated by those skilled in the art that, when not departing from principle of the present invention or spirit, can make a change these exemplary embodiments, scope of the present invention is by claim and equivalents thereof.

Claims (10)

1. the guard method of drive recorder video data, is characterized in that, comprises the following steps:
Drive recorder exceeds the event of predetermined threshold value in response to the acceleration information that acceleration induction device detects, intercept comprise this Time To Event point special time period in video data captured by camera be stored in local storage medium;
This video data is automatically transferred to default mobile terminal by first passage by drive recorder;
The local video data that is stored in received by first passage, in response to the event of the accessing Internet detected, is uploaded to high in the clouds by second channel by mobile terminal;
What mobile terminal was successfully uploaded by the sign video data of second channel reception high in the clouds feedback uploads state information, deletes this and uploads the video data being stored in this locality characterized in state information;
What the mobile terminal that drive recorder deletion is received by first passage fed back uploads the video data being stored in local storage medium characterized in state information.
2. method according to claim 1, is characterized in that: described first passage is Wifi point-to-point transmission passage, and this Wifi point-to-point transmission passage is based on supporting that in AD-Hoc, WiFiDirect or SmartLink of point-to-point transmission, arbitrary technology is set up.
3. method according to claim 1, is characterized in that: described second channel is set up based on 3G or the 4G network communications technology.
4. a drive recorder method for security protection of video data, is characterized in that, comprises the following steps:
The acceleration information detected in response to acceleration induction device exceeds the event of predetermined threshold value, intercept comprise this Time To Event point special time period in video data captured by camera be stored in local storage medium;
The video data that this locality stores is uploaded automatically by the point-to-point transmission passage detected;
What obtain feedback by described transmission channel uploads state information, deletes and is uploaded state information characterized the video data being stored in local storage medium of specifying by this.
5. method according to claim 4, it is characterized in that, the acceleration information detected in response to acceleration induction device exceeds the event of predetermined threshold value, intercept comprise this Time To Event point special time period in video data captured by camera be stored in the step of local storage medium, comprising:
Drive acceleration induction device to monitor current acceleration and obtain corresponding acceleration information;
Judging whether this acceleration information exceeds predetermined threshold value, when exceeding this predetermined threshold value, determining the time point that this event occurs;
With the video data in the special time period afterwards captured by camera and this video data of compressed encoding obtains video packets of data before intercepting this time point;
This video packets of data is kept at local storage medium.
6. a video data on mobile terminal safe transmission method, is characterized in that, comprises the following steps:
Be stored in local storage medium by point-to-point transmission passage wireless receiving video data;
In response to the event of the accessing Internet detected, upload this video data by remote interface;
By remote interface receive feedback show that this video data successfully uploads upload state information, delete this and upload state information and characterize the video data being stored in local storage medium of specifying;
Feed back this by described point-to-point transmission passage and upload state information.
7. method according to claim 6, is characterized in that, is stored in the step of local storage medium, comprises by point-to-point transmission passage wireless receiving video data:
The request of the point-to-point local area network (LAN) of access that the WiFi equipment accepting to have matched in advance sends, sets up WiFi point-to-point transmission passage;
By this WiFi point-to-point transmission channel reception video data;
This video data is stored into local storage medium.
8. a drive recorder, is characterized in that, comprises the following steps:
Video processing module, acceleration information for detecting in response to acceleration induction device exceeds the event of predetermined threshold value, intercept comprise this Time To Event point special time period in video data captured by camera be stored in local storage medium;
Transport module, is uploaded by the point-to-point transmission passage detected automatically for the video data stored this locality;
Removing module, uploads state information for what obtained feedback by described transmission channel, deletes and is uploaded state information characterized the video data being stored in local storage medium of specifying by this.
9. a mobile terminal, is characterized in that, includes:
Receiver module, for being stored in local storage medium by point-to-point transmission passage wireless receiving video data;
Transmission module on second, for the event in response to the accessing Internet detected, uploads this video data by remote interface;
Second removing module, for received by remote interface feedback show that this video data successfully uploads upload state information, delete this and upload state information and characterize the video data being stored in local storage medium of specifying;
Feedback module, uploads state information for feeding back this by described point-to-point transmission passage.
10. terminal according to claim 9, is characterized in that, described receiver module also comprises:
Second communication unit, the request of the point-to-point local area network (LAN) of the access that the WiFi equipment for accepting to have matched in advance sends, sets up WiFi point-to-point transmission passage;
Second receiving element, for passing through this WiFi point-to-point transmission channel reception video data;
Second memory cell, for being stored into local storage medium by this video data.
CN201510451638.1A 2015-07-28 2015-07-28 Video data protects system and its involved safeguard protection respectively held, transmission method Active CN105141868B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510451638.1A CN105141868B (en) 2015-07-28 2015-07-28 Video data protects system and its involved safeguard protection respectively held, transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510451638.1A CN105141868B (en) 2015-07-28 2015-07-28 Video data protects system and its involved safeguard protection respectively held, transmission method

Publications (2)

Publication Number Publication Date
CN105141868A true CN105141868A (en) 2015-12-09
CN105141868B CN105141868B (en) 2018-09-11

Family

ID=54727065

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510451638.1A Active CN105141868B (en) 2015-07-28 2015-07-28 Video data protects system and its involved safeguard protection respectively held, transmission method

Country Status (1)

Country Link
CN (1) CN105141868B (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105578010A (en) * 2015-12-28 2016-05-11 四川中科腾信科技有限公司 On-site law enforcement recording terminal for thievery prevention
CN105578011A (en) * 2015-12-28 2016-05-11 四川中科腾信科技有限公司 Smart enforcement recording terminal
CN105872428A (en) * 2016-04-12 2016-08-17 北京奇虎科技有限公司 Video data protection method and apparatus
CN106412802A (en) * 2016-09-13 2017-02-15 乐视控股(北京)有限公司 Driving data processing method, device and system
CN106683233A (en) * 2016-12-30 2017-05-17 李英德 Method for recording driving by smart phone, smart phone and driving recording system
CN106790492A (en) * 2016-12-14 2017-05-31 芜湖市吉安汽车电子销售有限公司 Train-borne recorder preserves Transmission system
CN106878589A (en) * 2015-12-11 2017-06-20 环旭电子股份有限公司 Drive recorder data loss protector and its method
CN108566376A (en) * 2018-03-13 2018-09-21 深圳市艾龙电子有限公司 Data transmission method and device, mobile terminal
CN108769181A (en) * 2018-05-24 2018-11-06 北京新能源汽车股份有限公司 A kind of distributed data method for uploading, device and vehicle
CN108777880A (en) * 2018-06-01 2018-11-09 Oppo广东移动通信有限公司 Method for connecting network, device, terminal and storage medium
JP2019509700A (en) * 2015-12-15 2019-04-04 グローバル マルチメディア インベストメント (ユーケー) リミテッド Creating recorded content for mobile devices
CN109686099A (en) * 2018-12-24 2019-04-26 航天信息股份有限公司 A kind of bus zone illegal traffic vehicle supervision method and system
CN109963100A (en) * 2017-12-14 2019-07-02 浙江宇视科技有限公司 A kind of caching amended record method and device shared based on multicast
CN110248227A (en) * 2019-06-19 2019-09-17 福州瑞芯微电子股份有限公司 A kind of efficient image display method and device
CN110300285A (en) * 2019-07-17 2019-10-01 北京智行者科技有限公司 Panoramic video acquisition method and system based on unmanned platform
CN112153457A (en) * 2020-09-10 2020-12-29 Oppo(重庆)智能科技有限公司 Wireless screen projection connection method and device, computer storage medium and electronic equipment
CN112492376A (en) * 2020-11-18 2021-03-12 上海商米科技集团股份有限公司 Video storage and lookup system
CN112684954A (en) * 2020-12-25 2021-04-20 深圳市艾酷通信软件有限公司 Data transmission method and device
CN113240940A (en) * 2021-05-07 2021-08-10 恒大恒驰新能源汽车研究院(上海)有限公司 Automobile reminding monitoring method, electronic equipment and storage medium
WO2021213181A1 (en) * 2020-04-24 2021-10-28 华为技术有限公司 Video processing method and device
CN114584550A (en) * 2021-03-30 2022-06-03 长城汽车股份有限公司 Vehicle data uploading and storing method and device, storage medium and vehicle
CN114627574A (en) * 2022-03-28 2022-06-14 展讯半导体(南京)有限公司 Processing method of driving record information and driving recorder

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110306326A1 (en) * 2010-06-11 2011-12-15 Fidelithon Systems, Llc Smartphone Management System and Method
CN103544744A (en) * 2013-11-08 2014-01-29 东莞市艾炜特电子有限公司 Automobile data recorder system and recording method based on cloud control
CN203433558U (en) * 2013-07-29 2014-02-12 深圳市聚富康电子有限公司 Automobile data recorder with WIFI (Wireless Fidelity) connection control
CN104079891A (en) * 2014-07-14 2014-10-01 秦晓飞 Police body worn camera based on wireless network and cloud platform and data transmission method thereof
CN104202673A (en) * 2014-08-27 2014-12-10 杨锦才 Method and system for sharing and viewing real-time traffic status videos based on automobile data recorders
CN104504903A (en) * 2014-12-31 2015-04-08 北京赛维安讯科技发展有限公司 Traffic incident acquiring device and method and traffic incident monitoring system and method
CN104754269A (en) * 2015-04-08 2015-07-01 南通理工学院 Vehicle traveling data recorder assistant system based on cloud storage technology

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110306326A1 (en) * 2010-06-11 2011-12-15 Fidelithon Systems, Llc Smartphone Management System and Method
CN203433558U (en) * 2013-07-29 2014-02-12 深圳市聚富康电子有限公司 Automobile data recorder with WIFI (Wireless Fidelity) connection control
CN103544744A (en) * 2013-11-08 2014-01-29 东莞市艾炜特电子有限公司 Automobile data recorder system and recording method based on cloud control
CN104079891A (en) * 2014-07-14 2014-10-01 秦晓飞 Police body worn camera based on wireless network and cloud platform and data transmission method thereof
CN104202673A (en) * 2014-08-27 2014-12-10 杨锦才 Method and system for sharing and viewing real-time traffic status videos based on automobile data recorders
CN104504903A (en) * 2014-12-31 2015-04-08 北京赛维安讯科技发展有限公司 Traffic incident acquiring device and method and traffic incident monitoring system and method
CN104754269A (en) * 2015-04-08 2015-07-01 南通理工学院 Vehicle traveling data recorder assistant system based on cloud storage technology

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878589A (en) * 2015-12-11 2017-06-20 环旭电子股份有限公司 Drive recorder data loss protector and its method
CN106878589B (en) * 2015-12-11 2020-02-18 环旭电子股份有限公司 Data loss protection device and method for driving recorder
JP2019509700A (en) * 2015-12-15 2019-04-04 グローバル マルチメディア インベストメント (ユーケー) リミテッド Creating recorded content for mobile devices
CN105578011A (en) * 2015-12-28 2016-05-11 四川中科腾信科技有限公司 Smart enforcement recording terminal
CN105578010A (en) * 2015-12-28 2016-05-11 四川中科腾信科技有限公司 On-site law enforcement recording terminal for thievery prevention
CN105872428A (en) * 2016-04-12 2016-08-17 北京奇虎科技有限公司 Video data protection method and apparatus
CN106412802A (en) * 2016-09-13 2017-02-15 乐视控股(北京)有限公司 Driving data processing method, device and system
CN106790492A (en) * 2016-12-14 2017-05-31 芜湖市吉安汽车电子销售有限公司 Train-borne recorder preserves Transmission system
CN106683233A (en) * 2016-12-30 2017-05-17 李英德 Method for recording driving by smart phone, smart phone and driving recording system
CN109963100A (en) * 2017-12-14 2019-07-02 浙江宇视科技有限公司 A kind of caching amended record method and device shared based on multicast
CN108566376A (en) * 2018-03-13 2018-09-21 深圳市艾龙电子有限公司 Data transmission method and device, mobile terminal
CN108769181A (en) * 2018-05-24 2018-11-06 北京新能源汽车股份有限公司 A kind of distributed data method for uploading, device and vehicle
CN108777880A (en) * 2018-06-01 2018-11-09 Oppo广东移动通信有限公司 Method for connecting network, device, terminal and storage medium
CN109686099A (en) * 2018-12-24 2019-04-26 航天信息股份有限公司 A kind of bus zone illegal traffic vehicle supervision method and system
CN110248227A (en) * 2019-06-19 2019-09-17 福州瑞芯微电子股份有限公司 A kind of efficient image display method and device
CN110300285A (en) * 2019-07-17 2019-10-01 北京智行者科技有限公司 Panoramic video acquisition method and system based on unmanned platform
EP4131979A4 (en) * 2020-04-24 2023-07-19 Huawei Technologies Co., Ltd. Video processing method and device
JP7505701B2 (en) 2020-04-24 2024-06-25 ホアウェイ・テクノロジーズ・カンパニー・リミテッド Image processing method and device
WO2021213181A1 (en) * 2020-04-24 2021-10-28 华为技术有限公司 Video processing method and device
CN113766160A (en) * 2020-04-24 2021-12-07 华为技术有限公司 Video processing method and device
CN112153457A (en) * 2020-09-10 2020-12-29 Oppo(重庆)智能科技有限公司 Wireless screen projection connection method and device, computer storage medium and electronic equipment
CN112492376A (en) * 2020-11-18 2021-03-12 上海商米科技集团股份有限公司 Video storage and lookup system
CN112684954A (en) * 2020-12-25 2021-04-20 深圳市艾酷通信软件有限公司 Data transmission method and device
CN114584550A (en) * 2021-03-30 2022-06-03 长城汽车股份有限公司 Vehicle data uploading and storing method and device, storage medium and vehicle
CN113240940A (en) * 2021-05-07 2021-08-10 恒大恒驰新能源汽车研究院(上海)有限公司 Automobile reminding monitoring method, electronic equipment and storage medium
CN114627574A (en) * 2022-03-28 2022-06-14 展讯半导体(南京)有限公司 Processing method of driving record information and driving recorder

Also Published As

Publication number Publication date
CN105141868B (en) 2018-09-11

Similar Documents

Publication Publication Date Title
CN105141868A (en) Video data protection system and security protection and transmission methods for each concerned end
CN105100249A (en) Picture transmission control system, and security protection and transmission method of each related end
US6400903B1 (en) Remote camera relay controller method and apparatus
US11368993B2 (en) Communicating vehicular communication messages
KR102374670B1 (en) UAV data transmission system, method, apparatus and computer equipment
CN107453798A (en) The device and method of remote information exchange is carried out by 4G networks and unmanned plane
CN105120159A (en) Method for obtaining pictures via remote control and server
CN110557785B (en) Data distribution method and device based on MEC
CN113972962B (en) Buffer management method and related device
CN107222887B (en) Communication performance testing method and device for base station wireless side transmission path
US20190052640A1 (en) Device, system and method for protecting network devices
KR20210108034A (en) Method for defending an attack of a fake base station in communication network, management server and base station
CN107172132A (en) A kind of data transmission method and intelligent wireless terminal device
US20240089779A1 (en) Processing terminal device sensing data using a network function element
US20240073970A1 (en) Sensing data reporting
US20230269791A1 (en) Networking Method, Networking System, and Electronic Device
CN105162849B (en) Intelligent camera device and its suspension access control method
KR20050078300A (en) Server system communicating through the wireless network
US20150133120A1 (en) Method, system and computer-readable recording medium for transmitting contents with supporting hand-over
KR20180078931A (en) A drone and a drone system which has a switching transmission capability of video streaming from dual cameras
US11075919B2 (en) System and method for providing proximity alert for trusted visitor
CN105978996A (en) File transmission method between contact persons based on address book
CN205142407U (en) Video monitor system and be used for video monitoring&#39;s wireless server
TW201916664A (en) System and method for streaming media
US20230171331A1 (en) Bluetooth low energy connection power consumption

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: 20220720

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