CN110248129A - A kind of recording apparatus and its kinescope method - Google Patents
A kind of recording apparatus and its kinescope method Download PDFInfo
- Publication number
- CN110248129A CN110248129A CN201811061481.1A CN201811061481A CN110248129A CN 110248129 A CN110248129 A CN 110248129A CN 201811061481 A CN201811061481 A CN 201811061481A CN 110248129 A CN110248129 A CN 110248129A
- Authority
- CN
- China
- Prior art keywords
- card
- module
- place
- processing
- video
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/85—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/907—Television signal recording using static stores, e.g. storage tubes or semiconductor memories
Abstract
The present invention relates to field of video monitoring, more particularly to a kind of recording apparatus and its kinescope method, in the apparatus, processing module is connected with SD card module, TF card is detected in place convenient for processing module control SD card module, meanwhile, processing module is connect with video acquisition module, TF card and storage inside module, enable processing module timely and effectively according to the situation in place of TF card, controls TF card or storage inside module carries out the storage of video data.In this way design so that video process no longer because TF card replacement and interrupt, ensure that the continuity of video recording.
Description
Technical field
The present invention relates to field of video monitoring more particularly to a kind of recording apparatus and its kinescope method.
Background technique
Currently, the feature that TF card is small in size with its, capacity is high, is widely used in the E-consumers class such as mobile phone, digital camera
Product.Currently with TF card carry out continuously recording method mainly include the following types:
1, using independent TF card circulation recording, this method needs to guarantee that TF card is online always, and after TF card record is full,
History video recording will be lost history video recording in this way, not can guarantee the continuity of video recording by new video recording covering.
2, video recording is constantly replaced using two TF cards.Due to the position of only one storage TF card in existing equipment, this is just
It will lead to software constantly to be inquired to determine whether TF card storage Video data reaches the state of saturation, when TF card reaches saturation
State then replaces TF card, will interrupt video recording during replacing TF card.
It follows that either carrying out circulation recording or two TF cards using independent TF card constantly replaces video recording, all without
Method effectively guarantees the continuity of video recording.
Summary of the invention
The embodiment of the present invention provides a kind of recording apparatus and its kinescope method, not can guarantee record in the prior art to solve
The successional problem of picture.
The embodiment of the invention provides a kind of recording apparatus, the recording apparatus include processing module, video acquisition module,
Storage inside module, SD card module and TF card;
The processing module is connected with the SD card module, for being examined in place to SD card module transmission to TF card
The order of survey;
The SD card module is connect with TF card, for detecting whether after receiving the order that the processing module is sent
There are TF cards, and will test result and be sent to the processing module;
The processing module is also connect with the video acquisition module, TF card and storage inside module, is also used to when true
When there is TF card surely, after the video data processing that the video acquisition module is acquired in storage to TF card, when determination is not present
When TF card, storage inside module is arrived in storage after the video data processing that the video acquisition module is acquired.
Further, described device further include: double cell switching module and main battery, the main battery bottom end, which is provided with, puts
The card slot of TF card is set, the TF card is placed in the card slot;
The main battery is connect with the processing module, SD card module and video acquisition module, and for the processing module,
SD card module and video acquisition module power supply;
The double cell switching module is connected with the processing module and the main battery, is for detecting the main battery
No in place, when detecting that the main battery is not in place, Xiang Suoshu processing module sends detection notice;
The processing module, after receiving the detection notice, Xiang Suoshu SD card module, which is sent, carries out TF card
The order of position detection.
Further, described device further include: auxiliary battery;
The double cell switching module is connect with the auxiliary battery, is also used to the control when the detection main battery is not in place
Make the auxiliary battery power supply;
The auxiliary battery is connect with the processing module, SD card module and video acquisition module, and for the processing module,
SD card module and video acquisition module power supply.
Further, the double cell switching module is used for when detecting that the main battery is not in place, sends mark master
Battery detection notice not in place gives the processing module;
When detecting that the main battery is in place, mark main battery detection notice not in place is not sent to the processing mould
Block.
Further, the video acquisition module includes camera and video processing unit;
The camera is connected with the video processing unit, passes for acquiring video data, and by the video data
It is defeated by the video processing unit;
The video processing unit is connect with processing module, described for will be sent to after the video data received processing
Processing module.
Further, the storage inside module is multimedia storage card EMMC or FLASH memory.
Further, the processing module is also used to carry out the video data received encoding and decoding processing, and solves compiling
The storage of code treated video data is to TF card or storage inside module.
The embodiment of the invention provides a kind of kinescope methods based on the recording apparatus, and the method includes following steps
It is rapid:
The order detected in place to TF card is sent to SD card module;
It is arrived when determining there are when TF card by being stored after the video data received processing according to the testing result received
In TF card;When determining there is no when TF card, storage inside module is arrived into storage after the video data received processing.
Further, before the order detected in place to TF card is sent to SD card module, the method also includes:
After receiving mark main battery detection notice not in place, TF card is examined in the transmission of Xiang Suoshu SD card module in place
The order of survey;
Wherein, mark main battery detection notice not in place is after detecting that main battery is not in place by double cell switching module
It sends.
It further, include: the video that will be received in storage to TF card after the processing by the video data received
Data store after carrying out encoding and decoding processing into TF card;
Storing after the processing by the video data received into storage inside module includes: the video counts that will be received
Storage inside module is arrived according to storage after carrying out encoding and decoding processing.
The embodiment of the invention provides a kind of recording apparatus and its kinescope method, in the device, processing module and SD card mould
Block is connected, and is detected in place convenient for processing module control SD card module to TF card, meanwhile, processing module and video acquisition mould
Block, TF card and the connection of storage inside module enable processing module timely and effectively according to the situation in place of TF card, control
TF card or storage inside module carry out the storage of video data.In this way design so that video process no longer because TF card replacement and
It interrupts, ensure that the continuity of video recording.
Detailed description of the invention
Attached drawing is used to provide further understanding of the present invention, and constitutes part of specification, is implemented with the present invention
Example is used to explain the present invention together, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is a kind of structural schematic diagram for recording apparatus that the embodiment of the present invention 1 provides;
Fig. 2 is a kind of structural schematic diagram for recording apparatus that the embodiment of the present invention 2 provides;
Fig. 3 is a kind of structural schematic diagram for recording apparatus that the embodiment of the present invention 3 provides;
The structural schematic diagram of video acquisition module in a kind of recording apparatus that Fig. 4 provides for the embodiment of the present invention 5;
Fig. 5 is a kind of kinescope method flow chart based on the recording apparatus that the embodiment of the present invention 8 provides;
Fig. 6 is a kind of kinescope method flow chart based on the recording apparatus that the embodiment of the present invention 9 provides.
Specific embodiment
In order to provide guarantee continuously recording, the embodiment of the invention provides a kind of recording apparatus and its kinescope methods, below
In conjunction with Figure of description, preferred embodiment of the present invention will be described, it should be understood that preferred embodiment described herein is only
For instruction and explanation of the present invention, it is not intended to limit the present invention.And in the absence of conflict, the embodiment in the application
And the feature in embodiment can be combined with each other.
Embodiment 1:
Fig. 1 is that the embodiment of the present invention provides a kind of structural schematic diagram of recording apparatus, and the recording apparatus includes: processing mould
Block, video acquisition module, storage inside module, SD card module and TF card;
The processing module is connected with the SD card module, for being examined in place to SD card module transmission to TF card
The order of survey;
The SD card module is connect with TF card, for detecting whether after receiving the order that the processing module is sent
There are TF cards, and will test result and be sent to the processing module;
The processing module is also connect with the video acquisition module, TF card and storage inside module, is also used to when true
When there is TF card surely, after the video data processing that the video acquisition module is acquired in storage to TF card, when determination is not present
When TF card, storage inside module is arrived in storage after the video data processing that the video acquisition module is acquired.
Above-mentioned processing module can be control chip such as 8086 chips, can be control system and is such as based on single-chip microcontroller
The control system of STM32 series is also possible to control processor part such as CPU, can also be corresponding control processing circuit.
Processing module directly can send the order detected in place to TF card to SD card module, can also pass through other
Device or circuit send the order detected in place to TF card to SD card module;And the order detected in place to TF card can
To be simple control signal, such as high level signal or low level signal, it is also possible to exist to TF card with control SD card module
The signal of position detection control instruction, can also carry other than the order that control SD card module detects TF card in place
Signal, such as the signal whether memory space of control SD card module detection TF card is saturated can also be carried.In order to make to handle mould
Block more efficiently coordinates the storage of TF card and storage inside module to video data, and preferred process module of the embodiment of the present invention can
Directly to send the control signal detected in place to TF card to SD card module.
SD card module is not limited solely to the detection to TF card, can also carry out other operations to TF card, such as to TF card
It is written and read.The embodiment of the present invention is in order to more efficiently store video data, it is preferable that SD card module carries out TF card
Detection in place.
SD card module detects TF card in place, and it is single by TF card recognition unit or TF card read-write to can be SD card module
Member detects it in place.The process detected in place to TF card belongs to the prior art, in embodiments of the present invention for
Specific detection process is without repeating.
SD card module carries out after detecting in place TF card, can send detection knot to processing module by a return signal
Fruit detects there is no when TF card for example, then sending return signal to processing module when detecting the presence of TF card, does not then send
Return signal is to processing module;Testing result can also be sent to processing module by different signals, for example, detecting the presence of
When TF card, then high level signal is sent to processing module, detect that there is no when TF card, then send low level signal to give processing mould
Block then sends the signal for carrying the first mark information to processing module or, when detecting TF card, detects there is no when TF card,
The signal for carrying the second mark information is then sent to processing module.
Video acquisition module can be camera, be also possible to other video recording equipments, and such as hand-held video recorder can also be record
As the combination of equipment and video processing unit.Video acquisition module can directly acquire video data by camera, can also be with
Video data, such as automobile data recorder are acquired by other video recording equipments;In addition, video acquisition module is not limited solely to video
The acquisition of data, additionally it is possible to the video data of acquisition be performed corresponding processing, such as encoding and decoding processing, identification Screening Treatment.
When processing module is determined there are when TF card, the video data that video acquisition module acquires can be handled as compiled
TF card is arrived in storage after decoding process, and the module handled video data can be set in specific processing module, such as
The video data that video acquisition module acquires can be passed through into coding and decoding video chip --- it is stored again after MB86H51 chip processing
To TF card.Correspondingly, when processing module determines that the video data that can be acquired video acquisition module carries out there is no when TF card
Processing arrives storage inside module as stored after encoding and decoding processing.
Storage inside module is built-in memory device, such as semiconductor storage unit.The model of the memory device, storage are empty
Between it is unlimited, but in order to guarantee video recording continuity, the preferred memory space of the embodiment of the present invention is big, small in size, performance is stable deposits
Memory device.
As shown in Figure 1, a kind of working principle of recording apparatus provided in an embodiment of the present invention is as follows:
Processing module sends the order detected in place to TF card to SD card module;SD card module is receiving processing mould
After the order that block is sent, detect whether that there are TF cards, and will test result and be sent to processing module;Exist when processing module determines
When TF card, after the video data that processing module acquires video acquisition module is handled in storage to TF card, when processing module determines
Storage inside module is arrived in storage after handling there is no the video data that when TF card, processing module acquires video acquisition module.
In a kind of recording apparatus provided in an embodiment of the present invention, processing module and SD card module, video acquisition module, TF card
And the connection of storage inside module, enable processing module timely and effectively according to the situation in place of TF card, control TF card or
The storage of storage inside module progress video data.In this way design so that video process no longer because TF card replacement and interrupt,
It ensure that the continuity of video recording.
Embodiment 2:
In order to guarantee during continuously recording, unnecessary software consumption and equipment power dissipation are reduced, in above-mentioned implementation
On the basis of example, Fig. 2 is a kind of structural schematic diagram of the device of video recording provided in an embodiment of the present invention, and the embodiment of the present invention provides
Recording apparatus, described device further include: double cell switching module and main battery, the main battery bottom end are provided with placement TF card
Card slot, the TF card is placed in the card slot;
The main battery is connect with the processing module, SD card module and video acquisition module, and for the processing module,
SD card module and video acquisition module power supply;
The double cell switching module is connected with the processing module and the main battery, is for detecting the main battery
No in place, when detecting that the main battery is not in place, Xiang Suoshu processing module sends detection notice;
The processing module, after receiving the detection notice, Xiang Suoshu SD card module, which is sent, carries out TF card
The order of position detection.
Double cell switching module can be control chip such as single-chip microcontroller, be also possible to control processor part, such as miniature processing
Device can also be control circuit, such as control circuit based on 8086 chips.
The selection parameter of main battery such as model and performance indicator such as battery capacity with no restrictions, also do not do by the position of main battery
Limitation, but in order to preferably be processing module, SD card module and video acquisition module power supply, keep their normal work,
Main battery will match with processing module, SD card module and video acquisition module.
TF card can be placed with deck, TF card can also be placed with card slot, in order to more easily place TF card, the present invention
Embodiment preferably selects card slot to place TF card.
The card slot for placing TF card can be set in the bottom end of main battery, also can be set in other positions.To guarantee to connect
During continuous video recording, it is further reduced unnecessary software consumption and equipment power dissipation, the embodiment of the present invention is preferably placed
The card slot of TF card is arranged in main battery bottom end, and TF card is placed in the card slot, designs the state in place so that main battery in this way
Closely coupled with the state in place of TF card, i.e. after the state in place of main battery changes, the state in place of TF card is possible to
Change.Therefore, whether in place can first detect main battery, if main battery is not in place, further detect TF card
Position state, to achieve the purpose that be further reduced unnecessary software consumption and equipment power dissipation.
Double cell switching module can interrupt or poll by way of whether detect main battery in place, it can also be passed through
His mode detects whether main battery in place, for example, by the detection circuit of main battery combination switching tube detect main battery whether
Position, i.e., when main battery is in place, switching tube conducting exports high level signal and gives double cell switching module;When main battery is not in place
When, switching tube cut-off exports low level signal and gives double cell switching module.In order to reduce the difficulty of circuit design, the present invention is real
Apply be preferably in example double cell switching module interrupt or poll by way of whether detect main battery in place.
When detecting that main battery is not in place, the signal that double cell switching module sends carrying testing result gives processing mould
Block, when detecting that main battery is in place, double cell switching module does not send the signal for carrying testing result to processing module;It needs
It illustrates, double cell switching module is not limited solely to the mode for the state in place that processing module sends main battery
This mode stated, can also there is other modes, for example, when detecting that main battery is not in place, double cell switching module hair
Send the signal for carrying the first testing result to processing module, when detecting that main battery is in place, the transmission of double cell switching module is taken
Signal with the second testing result is to processing module.
The signal of carrying testing result in above-mentioned steps is only a kind of avatar of detection notice, and detection notice is not only
It is limited only to this, can also be the signal for also carrying other information other than carry testing result.
After processing module receives detection notice, it can be and only send the life detected in place to TF card to SD card module
It enables, being also possible to send to SD card module further includes other control instructions other than including the order detected in place to TF card
Signal.In order to be further reduced the consumption of unnecessary software and equipment power dissipation in video process, in the embodiment of the present invention preferably
, processing module receives and only sends the order detected in place to TF card to SD card module after detection notice.
As shown in Fig. 2, a kind of working principle of recording apparatus provided in an embodiment of the present invention are as follows:
Main battery is processing module, SD card module and video acquisition module power supply;
Double cell switching module interrupt or poll by way of whether detect main battery in place, when detecting main battery not
When in place, detection notice is sent to processing module;
After processing module receives detection notice, the order detected in place to TF card is sent to SD card module.
In a kind of recording apparatus provided in an embodiment of the present invention, processing module is receiving double cell switching module to main electricity
After the detection notice whether in place of pond, then the order detected in place to TF card is sent to SD card module.Between usual feelings
Under condition, the time that the time that the state in place of main battery changes changes relative to TF card state in place is longer, greatly subtracts in this way
Processing module is lacked to the detection number of TF card, so that further reducing unnecessary during continuously recording
Software consumption and equipment power dissipation.
Embodiment 3:
In order to guarantee during continuously recording, video recording is not interrupted because the device powers off.In above-mentioned each embodiment
On the basis of, Fig. 3 is a kind of structural schematic diagram of the device of video recording provided in an embodiment of the present invention, provided in an embodiment of the present invention
Recording apparatus further include: auxiliary battery;
The double cell switching module is also connect with the auxiliary battery, is also used to when the detection main battery is not in place,
Control the auxiliary battery power supply;
The auxiliary battery is connect with the processing module, SD card module and video acquisition module, and for the processing module,
SD card module and video acquisition module power supply.
With no restrictions, the position of auxiliary battery is not also done for the selection parameter of auxiliary battery such as model and performance indicator, battery capacity
Limitation, but in order to preferably be processing module, SD card module and video acquisition module power supply, keep their normal work,
Auxiliary battery will match with processing module, SD card module and video acquisition module.
Double cell switching module detection main battery process whether in place can be to be detected by way of interruption or poll
Whether main battery is in place, whether in place can also detect main battery by other means, such as pass through main battery combination switching tube
Detection circuit detection main battery it is whether in place, i.e., when main battery is in place, switching tube conducting export high level signal to double electric
Pond switching module;When main battery is not in place, switching tube cut-off exports low level signal and gives double cell switching module.In order to drop
The difficulty of low circuit design, preferable in the embodiment of the present invention is that double cell switching module is detected by way of interruption or poll
Whether main battery is in place.
During whether double cell switching module detection main battery is in place, if detecting the state in place hair of main battery
Raw to change, i.e., main battery changes into state not in place or main battery by state in place and changes into state in place by state not in place,
The signal that main battery state in place changes can be sent to processing module, so that processing module is sent to SD card module to TF
Block the order detected in place, and then detects SD card module to TF card;Main electricity is detected according to the mode of poll
No change has taken place for the state in place in pond, postpones the duration threshold value of setting, then whether detect main battery in place, until detecting master
The state in place of battery changes, and sends the signal that main battery state in place changes to processing module, so that processing mould
Block sends the order detected in place to TF card to SD card module, and then detects SD card module to TF card;According to
The mode of interruption detects that the state in place of main battery changes, and sends main battery state in place to processing module and changes
Signal so that processing module sends the order that is detected in place to TF card to SD card module, and then make SD card module to TF
Card is detected.
Double cell switching module, can be by only sending the auxiliary battery powered letter of control when detecting that main battery is not in place
Number control auxiliary battery power supply can also further include by sending other than including to control auxiliary battery powered order to auxiliary battery
The signal of other control instructions controls auxiliary battery power supply.In order to efficiently control auxiliary battery power supply, the embodiment of the present invention is preferred
Be: double cell switching module is auxiliary by only sending the auxiliary battery powered signal control of control when detecting that main battery is not in place
Battery power supply.
Auxiliary battery can be processing module, SD card module and video acquisition by voltage conversion device or voltage conversion circuit
Module for power supply.Auxiliary battery is that the process of processing module, SD card module and video acquisition module power supply belongs to the prior art, in this hair
For specific power supply process without repeating in bright embodiment.
In addition, when double cell switching module detects that main battery is in place, control main battery be processing module, SD card module and
Video acquisition module power supply, principle is identical as auxiliary battery power supply the principle, and so it will not be repeated.
As shown in figure 3, a kind of working principle of recording apparatus provided in an embodiment of the present invention is as follows:
For double cell switching module when detection main battery is not in place, controlling auxiliary battery is processing module, SD card module and view
The power supply of frequency acquisition module;
For double cell switching module when detection main battery is in place, control main battery is processing module, SD card module and video
Acquisition module power supply.
During whether double cell switching module detection main battery is in place, if detecting the state in place hair of main battery
It is raw to change, the signal that main battery state in place changes is sent to processing module, so that processing module is sent to SD card module
To the order that TF card is detected in place, and then detect SD card module to TF card;It is detected according to the mode of poll
No change has taken place for the state in place of main battery, postpones the duration threshold value of setting, then whether detect main battery in place, until detection
State in place to main battery changes, and sends the signal that main battery state in place changes to processing module, so that place
Reason module sends the order detected in place to TF card to SD card module, and then detects SD card module to TF card;If
It detects that the state in place of main battery changes by the way of interruption, sends main battery state in place to processing module and occur
The signal of change so that processing module sends the order detected in place to TF card to SD card module, and then makes SD card module
TF card is detected.
In a kind of recording apparatus provided in an embodiment of the present invention, double cell switching module is according to detecting the in place of main battery
State controls main battery or the power supply of auxiliary battery.Design in this way so that during continuously recording, not due to the device powers off in
Disconnected video recording.In addition, the signal that processing module changes when the main battery state in place received, sends to SD card module to TF
Block the order detected in place.Processing module is considerably reduced in this way to the detection number of TF card, so that continuous
During video recording, further reduce unnecessary software consumption and equipment power dissipation.
Embodiment 4:
On the basis of above-mentioned each embodiment, in order to more efficiently send main battery inspection whether in place to processing module
It surveys as a result, the double cell switching module, which is used to work as, detects the main electricity the embodiment of the invention provides a kind of recording apparatus
When pond is not in place, detection notice is sent to the processing module;
When detecting that the main battery is in place, detection notice is not sent to the processing module.
Above-mentioned detection notice can be mark main battery signal not in place, be also possible to identify main battery in addition to carrying
Except signal not in place, the signal such as main battery remaining power signal of other information is also carried.
Double cell switching module will test there are many modes for notifying to pass to processing module, for example, double cell switches mould
Block sends detection notice to processing module, when detecting that main battery is in place, does not then send when detecting that main battery is not in place
Detection notice is to processing module;Alternatively, double cell switching module is when detecting that main battery is in place, send the first detection notice to
Processing module sends the second detection notice to processing module when detecting that main battery is not in place.
In order to be further simplified control program, improve efficiency, the embodiment of the present invention is preferably: double cell switching module exists
When detecting that main battery is not in place, mark main battery detection notice not in place is sent to processing module, is detecting main battery
When in place, then the detection notice is not sent to processing module.
A kind of working principle of recording apparatus provided in an embodiment of the present invention are as follows:
Double cell switching module when detecting that main battery is not in place, send mark main battery detection notice not in place to
Processing module does not send the detection notice then to processing module when detecting that main battery is in place.
In a kind of recording apparatus provided in the embodiment of the present invention, double cell switching module is only detecting that main battery do not exist
In the case where position, mark main battery detection notice not in place is sent to processing module, so greatly simplified control program, more
Efficiently main battery testing result whether in place is sent to processing module.
Embodiment 5:
On the basis of above-mentioned each embodiment, in order to improve the execution efficiency of processing module, the embodiment of the present invention is provided
A kind of recording apparatus in video acquisition module, Fig. 4 is video acquisition in a kind of recording apparatus provided in an embodiment of the present invention
The structural schematic diagram of module, the video acquisition module include camera and video processing unit;
The camera is connected with the video processing unit, passes for acquiring video data, and by the video data
It is defeated by the video processing unit;
The video processing unit is connect with processing module, described for will be sent to after the video data received processing
Processing module.
After camera has acquired video data, after which being handled to video processing unit again
It is transferred to processing module;The video data processing module can also be transferred directly to handle.In order to improve processing module
Working efficiency, after the preferred camera of the embodiment of the present invention has acquired video data, by the video data transmission give video handle
Unit is transmitted further to processing module after being handled.
Video processing unit can be video frequency processing chip, such as a kind of video compress decoder chips of high compression rate ---
ADV611 chip, a kind of video d/a conversion chip --- SAA7121 chip;It is also possible to video processing component, such as video processing
Device;It can also be the circuit of video processing.
The mode for the video data that video processing unit processing receives is not limited solely to compile the video data
Decoding process can also be other processing modes, the video data such as carried out compression and/or conversion process.
The working principle of video acquisition module in a kind of recording apparatus provided in an embodiment of the present invention are as follows:
Camera acquires video data, and by the video data transmission to video processing unit;
Video processing unit is sent to processing module after being handled the video data.
Video acquisition module provided in an embodiment of the present invention retransmits everywhere after first being handled the video data of acquisition
Manage module, so greatly time for handling the video data of processing module, in some instances it may even be possible to remove processing module to the view
The step of frequency data processing, is directly stored.Therefore, what the design of such structure can be improved processing module executes effect
Rate.
Embodiment 6:
On the basis of above-mentioned each embodiment, in order to meet the memory capacity of requirements at the higher level, the embodiment of the present invention is provided
In a kind of recording apparatus, the storage inside module is multimedia storage card EMMC or FLASH memory.
It should be strongly noted that storage inside module can be built-in memory device or storage card, memory device or
The model of storage card, memory capacity without limitation, such as DRAM (Dynamic RAM, dynamic RAM), are also possible to built-in
Storage chip.In order to meet the memory capacity of requirements at the higher level, the preferably molded-in EMMC (Embedded of the embodiment of the present invention
Multi Media Card, multimedia storage card) or FLASH memory.
Storage inside module provided in an embodiment of the present invention preferred built-in EMMC or FLASH memory can satisfy more
The memory capacity of high request, to guarantee that the continuity of video recording provides the guarantee in memory capacity.
Embodiment 7:
On the basis of above-mentioned each embodiment, in order to improve the storage efficiency of video data, the embodiment of the present invention is provided
In a kind of recording apparatus, the processing module is also used to carry out the video data received encoding and decoding processing, and by encoding and decoding
Treated, and video data is stored to TF card or storage inside module.
The mode that processing module handles the video data received is not limited solely to carry out the video data
Encoding and decoding processing;It can also be other processing modes, the video data is such as subjected to compression processing after encoding and decoding processing or turns
Change compression processing.In order to improve the storage efficiency of video data, the video that preferred process of embodiment of the present invention module will receive
Data carry out encoding and decoding processing.
The working principle of processing module in a kind of recording apparatus provided in an embodiment of the present invention are as follows:
Processing module carries out encoding and decoding processing to the video data that receives, and treated that video data is deposited by encoding and decoding
Store up TF card or storage inside module.
In a kind of recording apparatus provided in an embodiment of the present invention processing module by video data carry out encoding and decoding processing after again
TF card or storage inside module are stored, the storage efficiency of video data is greatly improved.
Embodiment 8:
Fig. 5 is a kind of kinescope method flow chart based on the recording apparatus provided in an embodiment of the present invention.Based on above-mentioned
Each embodiment, as shown in figure 5, the embodiment of the invention provides a kind of kinescope method based on the recording apparatus, the side
Method the following steps are included:
S501: the order detected in place to TF card is sent to SD card module;
S502: it will be deposited after the video data received processing according to the testing result received when determining there are when TF card
It stores up in TF card;
S503: when determining there is no when TF card, storage inside module is arrived into storage after the video data received processing.
Preferably, step S502 includes: to store after the video data received is carried out encoding and decoding processing into TF card;
Preferably, step S503 includes: to store after the video data received is carried out encoding and decoding processing to storage inside
Module.
Method provided in an embodiment of the present invention by embodiment 1-7 select in a kind of recording apparatus of an offer corresponding module or
Unit executes, and it is similar to correspond to implementation process between its realization principle, function and usage and effect etc. and embodiment 1-7, herein not
It repeats again.
Embodiment 9:
On the basis of above-mentioned each embodiment, the embodiment of the invention provides a kind of video recording sides based on recording apparatus
Method.In order to be further reduced unnecessary software consumption and equipment consumption, based on the method for embodiment 8, before step S501,
The method also includes:
After receiving mark main battery detection notice not in place, TF card is examined in the transmission of Xiang Suoshu SD card module in place
The order of survey;
Wherein, mark main battery detection notice not in place is after detecting that main battery is not in place by double cell switching module
It sends.
Fig. 6 is a kind of kinescope method based on above-mentioned recording apparatus provided in an embodiment of the present invention, specific operating procedure
It can be with are as follows:
S601: TF card is detected in place.
After recording apparatus starting, it is also desirable to be detected in place to TF card, specific detecting step in place includes: processing mould
Block sends the order detected in place to TF card to SD card module;After SD card module receives the order, detect whether exist
TF card, and will test result and be sent to processing module.
S602: processing module judges whether there is TF card according to the testing result received.
S603: if there is TF card, by video data storage to TF card.
Processing module is after determination carries out encoding and decoding processing there are the video data that when TF card, video acquisition module is acquired
Store TF card.
S604: if there is no TF card, by video data storage to storage inside module.
The video data of video acquisition module acquisition is carried out encoding and decoding processing when determining there is no when TF card by processing module
Storage inside module is arrived in storage afterwards.
After executing the step S603 or step S604, step S605 is executed.
S605: delay N threshold time.
In order to guarantee to continue video recording, it can be detected according to the period of setting, specifically should in embodiments of the present invention
Period can preset, such as can be duration N.
Therefore, after processing module postpones N threshold time, subsequent operation is carried out.
S606: processing module judges whether main battery state in place changes.
Processing module is according to whether receive the signal that main battery state in place changes, to judge main battery shape in place
Whether state changes, wherein the signal that main battery state in place changes is to detect main battery by double cell switching module
What state in place was sent after changing.
If main battery state in place changes, return step S601, if that is, to have received main battery in place for processing module
The signal that state changes, it is determined that main battery state in place changes, return step S601.
If main battery state in place has not been changed, return step S605, that is to say, that if processing module is not received by
The signal that main battery state in place changes, it is determined that main battery state in place does not change, return step S605.
For systems/devices embodiment, since it is substantially similar to the method embodiment, so the comparison of description is simple
Single, the relevent part can refer to the partial explaination of embodiments of method.It should be noted that, in this document, such as first and second
Or the like relational terms be used merely to by an entity or one operation with another entity or another operation distinguish
It comes, without necessarily requiring or implying there are any actual relationship or orders between these entities or operation.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, the reality of complete hardware embodiment, complete Application Example or connected applications and hardware aspect can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The application is process of the reference according to method, apparatus (system) and computer program product of the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.If in this way, these of the invention modifications and variations belong to the claims in the present invention and its equivalent technologies range it
Interior, then the present invention is also intended to include these modifications and variations.
Claims (10)
1. a kind of recording apparatus, which is characterized in that the recording apparatus includes processing module, video acquisition module, storage inside
Module, SD card module and TF card;
The processing module is connected with the SD card module, for what is detected in place to SD card module transmission to TF card
Order;
The SD card module is connect with TF card, for detecting whether exist after receiving the order that the processing module is sent
TF card, and will test result and be sent to the processing module;
The processing module is also connect with the video acquisition module, TF card and storage inside module, is also used to deposit when determination
In TF card, after the video data processing that the video acquisition module is acquired in storage to TF card, TF card is not present when determining
When, storage inside module is arrived in storage after the video data processing that the video acquisition module is acquired.
2. the apparatus according to claim 1, which is characterized in that described device further include: double cell switching module and main electricity
Pond, the main battery bottom end are provided with the card slot for placing TF card, and the TF card is placed in the card slot;
The main battery is connect with the processing module, SD card module and video acquisition module, and is the processing module, SD card
Module and video acquisition module power supply;
The double cell switching module is connected with the processing module and the main battery, for detect the main battery whether
Position, when detecting that the main battery is not in place, Xiang Suoshu processing module sends detection notice;
The processing module, after receiving the detection notice, TF card is examined in the transmission of Xiang Suoshu SD card module in place
The order of survey.
3. the apparatus of claim 2, which is characterized in that described device further include: auxiliary battery;
The double cell switching module is connect with the auxiliary battery, is also used to control institute when the detection main battery is not in place
State auxiliary battery power supply;
The auxiliary battery is connect with the processing module, SD card module and video acquisition module, and is the processing module, SD card
Module and video acquisition module power supply.
4. device according to claim 3, which is characterized in that the double cell switching module, which is used to work as, detects the master
When battery is not in place, mark main battery detection notice not in place is sent to the processing module;
When detecting that the main battery is in place, mark main battery detection notice not in place is not sent to the processing module.
5. the apparatus according to claim 1, which is characterized in that the video acquisition module includes camera and video processing
Unit;
The camera is connected with the video processing unit, gives for acquiring video data, and by the video data transmission
The video processing unit;
The video processing unit is connect with processing module, for will be sent to the processing after the video data received processing
Module.
6. the apparatus according to claim 1, which is characterized in that the storage inside module be multimedia storage card EMMC or
FLASH memory.
7. the apparatus according to claim 1, which is characterized in that the processing module is also used to the video counts received
According to carrying out encoding and decoding processing, and by encoding and decoding treated video data storage to TF card or storage inside module.
8. a kind of kinescope method based on any one of the claim 1-7 recording apparatus, which is characterized in that the method includes
Following steps:
The order detected in place to TF card is sent to SD card module;
TF card is arrived into storage after the video data received processing when determining there are when TF card according to the testing result received
It is interior;When determining there is no when TF card, storage inside module is arrived into storage after the video data received processing.
9. according to the method described in claim 8, it is characterized in that, sending the life detected in place to TF card to SD card module
Before order, the method also includes:
After receiving mark main battery detection notice not in place, the transmission of Xiang Suoshu SD card module detects TF card in place
Order;
Wherein, mark main battery detection notice not in place is to be detected to send after main battery is not in place by double cell switching module
's.
10. according to the method described in claim 8, being arrived it is characterized in that, being stored after the processing by the video data received
It include: to store after the video data received is carried out encoding and decoding processing into TF card in TF card;
After the processing by the video data received storage to include: the video data that will receive in storage inside module into
Storage inside module is arrived in storage after row encoding and decoding processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811061481.1A CN110248129B (en) | 2018-09-12 | 2018-09-12 | Video recording device and video recording method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811061481.1A CN110248129B (en) | 2018-09-12 | 2018-09-12 | Video recording device and video recording method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110248129A true CN110248129A (en) | 2019-09-17 |
CN110248129B CN110248129B (en) | 2022-07-08 |
Family
ID=67882842
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811061481.1A Active CN110248129B (en) | 2018-09-12 | 2018-09-12 | Video recording device and video recording method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110248129B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111061677A (en) * | 2019-12-26 | 2020-04-24 | 杭州迪普科技股份有限公司 | FPGA configuration method and device and FPGA device |
CN113033316A (en) * | 2021-03-01 | 2021-06-25 | 湖南长海现代实验室设备有限公司 | Device and method for detecting and controlling show window state of fume hood |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006042115A (en) * | 2004-07-29 | 2006-02-09 | Victor Co Of Japan Ltd | Video camera |
US20090125928A1 (en) * | 2007-11-09 | 2009-05-14 | Canon Kabushiki Kaisha | Information recording apparatus, and control method therefor |
CN201682576U (en) * | 2010-04-14 | 2010-12-22 | 东莞福泽尔电子科技有限公司 | Vehicle-mounted digital video recorder |
CN103617008A (en) * | 2013-12-11 | 2014-03-05 | 成都亿盟恒信科技有限公司 | Double-SD-card multimedia file storage system and method for vehicle-mounted video monitoring terminal |
CN205901898U (en) * | 2016-08-08 | 2017-01-18 | 深圳市巨龙创视科技有限公司 | HD IP camera of two storage cards in area |
CN207424958U (en) * | 2017-10-20 | 2018-05-29 | 盯盯拍(深圳)技术股份有限公司 | Automobile data recorder |
-
2018
- 2018-09-12 CN CN201811061481.1A patent/CN110248129B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006042115A (en) * | 2004-07-29 | 2006-02-09 | Victor Co Of Japan Ltd | Video camera |
US20090125928A1 (en) * | 2007-11-09 | 2009-05-14 | Canon Kabushiki Kaisha | Information recording apparatus, and control method therefor |
CN201682576U (en) * | 2010-04-14 | 2010-12-22 | 东莞福泽尔电子科技有限公司 | Vehicle-mounted digital video recorder |
CN103617008A (en) * | 2013-12-11 | 2014-03-05 | 成都亿盟恒信科技有限公司 | Double-SD-card multimedia file storage system and method for vehicle-mounted video monitoring terminal |
CN205901898U (en) * | 2016-08-08 | 2017-01-18 | 深圳市巨龙创视科技有限公司 | HD IP camera of two storage cards in area |
CN207424958U (en) * | 2017-10-20 | 2018-05-29 | 盯盯拍(深圳)技术股份有限公司 | Automobile data recorder |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111061677A (en) * | 2019-12-26 | 2020-04-24 | 杭州迪普科技股份有限公司 | FPGA configuration method and device and FPGA device |
CN111061677B (en) * | 2019-12-26 | 2023-01-24 | 杭州迪普科技股份有限公司 | FPGA configuration method and device and FPGA device |
CN113033316A (en) * | 2021-03-01 | 2021-06-25 | 湖南长海现代实验室设备有限公司 | Device and method for detecting and controlling show window state of fume hood |
Also Published As
Publication number | Publication date |
---|---|
CN110248129B (en) | 2022-07-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10255476B2 (en) | Fingerprint registration method and device and terminal thereof | |
KR102446986B1 (en) | Parallel voltage and current multi-amplitude shift key demodulation | |
CN1232897C (en) | Equipment and method for treating power source fault of peripheral apparatus | |
CN108419279A (en) | Network switching system | |
CN110248129A (en) | A kind of recording apparatus and its kinescope method | |
JP2019009774A (en) | Loss data compression method, data compression method, and data compression system | |
CN111242943B (en) | Image processing method, image processing apparatus, storage medium, and image processing device | |
CN106341237A (en) | POE (Power Over Ethernet) system based PSE (Power Sourcing Equipment) power supply method and device | |
CN104813307A (en) | Data processing device, data processing method, and program | |
CN104301714A (en) | Method and device for detecting channel switching response time of television equipment | |
CN113473148A (en) | Computing system for video coding and video coding method | |
CN109980715A (en) | The electronic equipment and its method of electric power are received from power supply unit | |
CN102915574B (en) | Embedded intelligence traffic control charging terminal | |
US10139880B2 (en) | Data storage system and method analyzing non-signal | |
CN112995337B (en) | High-performance processor chip-based high-performance Internet of things hardware platform and method | |
CN105451301B (en) | Wearable device gateway networking method and gateway management platform | |
CN107145421A (en) | A kind of abnormal information acquisition methods and device | |
CN103995718A (en) | Method and device for collecting program information | |
WO2019127926A1 (en) | Calculation method and calculation device for sparse neural network, electronic device, computer readable storage medium, and computer program product | |
CN110177278A (en) | A kind of inter-frame prediction method, method for video coding and device | |
CN110545353A (en) | Electromagnetic sensor and mobile device including the same | |
CN112911390B (en) | Video data playing method and terminal equipment | |
CN104462422A (en) | Object processing method and device | |
CN114556283B (en) | Method and device for data writing, consistency checking and reading | |
CN111767999B (en) | Data processing method and device and related products |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |