CN105373581B - A kind of method and device handling video file in process of exchange - Google Patents
A kind of method and device handling video file in process of exchange Download PDFInfo
- Publication number
- CN105373581B CN105373581B CN201510651176.8A CN201510651176A CN105373581B CN 105373581 B CN105373581 B CN 105373581B CN 201510651176 A CN201510651176 A CN 201510651176A CN 105373581 B CN105373581 B CN 105373581B
- Authority
- CN
- China
- Prior art keywords
- frame
- transaction
- video file
- video
- equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
- G06F16/78—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- Library & Information Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
The invention discloses a kind of in process of exchange handles the method and device of video file, comprising: when trade occur when, record a video to trading activity, and obtain Transaction Information;Video file is obtained by video recording, and obtains transaction frame after Transaction Information is packaged by the frame format of the video file;Display and/or storage video file and transaction frame, wherein the transaction frame is stored in video file as the frame in video file.Using the invention enables Transaction Informations and video file seamless to be associated with.Further, the scheme of display video file and frame of trading is additionally provided in scheme.Further, the scheme of transaction video frequency searching is additionally provided in scheme.
Description
Technical field
The present invention relates to technical field of image processing, in particular to a kind of method that video file is handled in process of exchange
And device.
Background technique
In existing Transaction Information video storage scheme, usually carried out Transaction Information as the index information of video file
Storage, and video retrieval condition of trading is limited, only provides Transaction Identification Number, type of transaction, the simple querying condition of amount of money or the like.
Therefore, the deficiencies in the prior art are:
Index information will be unable to association to corresponding video file, video file is associated with Transaction Information can once losing
It can be destroyed.
Summary of the invention
The present invention provides a kind of in process of exchange handles the method and device of video file, for by Transaction Information with
Video file is after seamless association, for showing and/or storing video file.
A kind of method that video file is handled in process of exchange is provided in the embodiment of the present invention, comprising:
When transaction occurs, record a video to trading activity, and obtain Transaction Information;
Video file is obtained by video recording, and is obtained after Transaction Information is packaged by the frame format of the video file
Transaction frame;
Display and/or storage video file and transaction frame, wherein the transaction frame is saved as the frame in video file
In video file.
Preferably, further comprising when carrying out the multichannel video recording multiple video files of acquisition to the trading activity:
Show and/or store each video file and transaction frame, wherein the transaction frame is as each video file
In frame be stored in the video file.
Preferably, further comprising after storing each video file and transaction frame:
Access entry is provided, when being retrieved with content frame of trading from the access entry, video file is returned to, in the view
Transaction frame described in frequency file is saved as the frame in the video file.
Preferably, the transaction frame is stored in the video file as the ancillary frame in video file.
Preferably, the Transaction Information is obtained from POS machine.
It is after completion of transactions preferably, being stored in video file using the transaction frame as the frame in video file
It is stored in video file using the transaction frame as the frame in video file.
Preferably, display video file and transaction frame, comprising:
Transaction frame is put into buffering queue;
After determining that current channel has video code flow, Overlapping display is being regarded after transaction frame is inserted into the tail portion of any video frame
On frequency.
Preferably, further comprising:
When determining that current channel is without video code flow within the set time, transaction frame is abandoned.
Preferably, further comprising:
Under same channel, by the tail portion that the transaction frame that content is sky is inserted into any video frame when setting time.
Preferably, being that empty transaction frame is inserted by content under each channel in one of following situations or a combination thereof
The tail portion of any video frame:
The device configuration for providing Transaction Information enables to be revised as closing by opening;
Storing connection type between the equipment of video file and frame of trading and the equipment of offer Transaction Information is network connection
When, any one or two IP address or port in two equipment are modified;
The equipment of storage video file and frame of trading is modified with the equipment connection mode for providing Transaction Information;
When the equipment of storage video file and frame of trading is connect with the equipment connection mode for providing Transaction Information for RS485,
The address bit of the equipment is modified;
The equipment of Transaction Information is provided after the modification of linkage channel, linkage channel is removed;
After receiving transaction frame, it is not received by next transaction frame after a set time.
The embodiment of the invention provides a kind of in process of exchange handles the device of video file, comprising:
Picture recording module, for being recorded a video to trading activity when transaction occurs;
Transaction Information obtains module, for obtaining Transaction Information when the transaction occurs;
Transaction Information for obtaining video file by video recording, and is pressed the frame format of the video file by package module
Transaction frame is obtained after being packaged;
Display module and/or memory module, wherein display module stores mould for showing video file and transaction frame
Block, for storing the video file and transaction frame;Wherein, the transaction frame is to be stored in video as the frame in video file
In file.
Preferably, when including multiple picture recording modules: display module is further used for showing what each picture recording module obtained
Video file and transaction frame;And/or memory module is further used for storing the video file and transaction that each picture recording module obtains
Frame.
Preferably, further comprising: retrieval module, for providing retrieval after storing each video file and transaction frame
Entrance returns to video file when being retrieved with content frame of trading from the access entry, trades described in the video file
Frame is saved as the frame in the video file.
Preferably, package module is further used for being stored in the view using the transaction frame as the ancillary frame in video file
In frequency file.
It is further used for obtaining the Transaction Information from POS machine preferably, Transaction Information obtains module.
Preferably, package module is further used for protecting using the transaction frame as the frame in video file after completion of transactions
There are in video file.
Preferably, display module includes: buffer cell, for that will trade, frame is put into buffering queue;It is inserted into unit, is used for
After determining that current channel has video code flow, Overlapping display is on video after transaction frame is inserted into the tail portion of any video frame.
Preferably, insertion unit is further used for abandoning when determining that current channel is without video code flow within the set time
Transaction frame.
Preferably, insertion unit is further used under same channel, by the transaction frame for when setting time by content being sky
It is inserted into the tail portion of any video frame.
Preferably, insertion unit is further used in one of following situations or a combination thereof, it, will be interior under each channel
Hold the tail portion that any video frame is inserted into for empty transaction frame:
The device configuration for providing Transaction Information enables to be revised as closing by opening;
Storing connection type between the equipment of video file and frame of trading and the equipment of offer Transaction Information is network connection
When, any one or two IP address or port in two equipment are modified;
The equipment of storage video file and frame of trading is modified with the equipment connection mode for providing Transaction Information;
When the equipment of storage video file and frame of trading is connect with the equipment connection mode for providing Transaction Information for RS485,
The address bit of the equipment is modified;
The equipment of Transaction Information is provided after the modification of linkage channel, linkage channel is removed;
After receiving transaction frame, it is not received by next transaction frame after a set time.
The present invention has the beneficial effect that:
In technical solution provided in an embodiment of the present invention, since Transaction Information is packaged into transaction frame, and the frame that will trade
It is stored in video file as the frame in video file, so that Transaction Information seamless can be associated with video file.
Further, the scheme of display video file and frame of trading is additionally provided in scheme.
Further, the scheme of transaction video frequency searching is additionally provided in scheme.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes a part of the invention, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the method implementation process diagram for handling video file in the embodiment of the present invention in process of exchange;
Fig. 2 is POS transaction process flow diagram in the embodiment of the present invention;
Fig. 3 is POS video frame distribution flow figure in the embodiment of the present invention;
Fig. 4 is the apparatus structure schematic diagram for handling video file in the embodiment of the present invention in process of exchange.
Specific embodiment
Description of specific embodiments of the present invention with reference to the accompanying drawing.
Fig. 1 be in process of exchange handle video file method implementation process diagram, as shown, may include as
Lower step:
Step 101, when trade occur when, record a video to trading activity, and obtain Transaction Information;
Step 102 obtains video file by video recording, and Transaction Information is sealed by the frame format of the video file
Transaction frame is obtained after dress;
Step 103, display and/or storage video file and transaction frame, wherein the transaction frame is as in video file
Frame be stored in video file.
In implementation, it may be considered that multi-channel video channel can be inserted into simultaneously in a particular transaction frame, such as a traction equipment
(such as POS cash register) can be associated with the situation in multi-channel video channel simultaneously, obtain carrying out multichannel video recording to the trading activity
When multiple video files, further comprise:
Show and/or store each video file and transaction frame, wherein the transaction frame is as each video file
In frame be stored in the video file.
To more fully understand, following specific embodiment will mainly with POS (pointofsale, point-of-sale terminal) machine and
It is illustrated for NVR (Network Video Recorder, network hard disk video recorder), wherein trading activity occurs in POS
On machine, POS machine is the offer equipment of Transaction Information, and storage of video file etc. reason NVR is executed.In an implementation, with POS
It is because both equipment are most commonly seen, are most widely used for machine, NVR;But it is also possible with other equipment,
As long as being capable of providing Transaction Information, video file is carried out the processing such as to store, POS machine, NVR are only used for introduction this field skill
How art personnel specifically implement the present invention, but it is not intended that be only capable of using the two equipment, can need in conjunction with practice in implementation process
Equipment to determine selection.
In implementation, when selecting POS machine as traction equipment, then Transaction Information is obtained from POS machine.
Implementation for the acquisition Transaction Information in step 101, the processing for the Transaction Information that POS machine generates can be independent
POS component in realize.Its process is as follows:
1, NVR equipment starts, and loads it for parsing the script file of POS initial data.
2, the POS machine equipment (can add more) communicated to NVR device configuration with it (can join comprising linkage video channel
Dynamic multichannel), connection type (RS232, RS485, network), the configuration items such as time-out time.
After above two step is completed, NVR equipment can start to receive POS transaction.
For obtained after being packaged Transaction Information by the frame format of the video file in step 102 transaction frame,
And frame of trading in step 103 is to make transaction frame in the embodiment being stored in video file as the frame in video file
It is stored in video file for the frame in video file, is after completion of transactions using the transaction frame as the frame in video file
It is stored in video file, with specific reference to the processing of following step 207, then specifically can be such that
Fig. 2 is POS transaction processing flow schematic diagram, and the treatment process of Transaction Information is as shown in the figure, comprising:
Step 201 obtains single transaction item initial data from serial ports or network interface, and POS transaction includes many subitems, i.e.,
Particular commodity Transaction Information, what NVR equipment received is single POS transaction subitem;
Unprocessed form data are parsed into fixed format data by step 202, resolver, and NVR equipment will individually trade subitem
Protocol resolver parsing is given, the parsing of POS initial data is completed by lua script, and the information for being parsed into fixed format hands over a NVR
Application program;
Step 203, Transaction Information caching, NVR equipment receive the Transaction Information being parsed, first put it into caching;
Whether step 204, the current transaction of judgement terminate, and step 205 are transferred to if not, if being transferred to step 207;
Step 205 waits lower item transaction;
Step 206 judges whether waiting is overtime, is transferred to step 205 if not, if being transferred to step 207, NVR equipment is received
The last item message of same POS machine starts, and has crossed the time-out time POS message new still without reception, then it is assumed that current to hand over
Easily terminate;
Transaction data is packaged into standard frame format by step 207, and transaction terminates, then is first encapsulated into Json format
Character string, then before Json (JavaScript Object Notation, JavaScript object notation) character string
The header information for adding frame, can recognize that present frame is that I frame, P frame, audio frame or ancillary frame, header information are pressed according to header information
The processing of standard code stream format.
In specific implementation, transaction frame can be to be stored in the video file as the ancillary frame in video file.?
That is, POS transaction frame type is ancillary frame, for Json format as described by table 1, POSExchange field is POS transaction
The beginning of content;
After the completion of step 208, the encapsulation of POS frame, it is inserted into the real-time code stream channel of NVR operation layer, it is forcibly inserted into and is linked
Video channel in;
After the completion of step 209, the encapsulation of POS frame, in subsidiary upper channel information insertion database, used for video retrieval.
It, can display in implementation steps 103 and/or storage video file after step 208 after the completion of above-mentioned flow implementation
And transaction frame, and prepare after step 209 for video frequency searching.
Below to shown after step 208, in step 103 video file and trade frame implementation be illustrated.In implementation, show
Show video file and transaction frame, may include:
Transaction frame is put into buffering queue;
After determining that current channel has video code flow, Overlapping display is being regarded after transaction frame is inserted into the tail portion of any video frame
On frequency.
In implementation, it can further include:
When determining that current channel is without video code flow within the set time, transaction frame is abandoned.
It is illustrated below with example, in declarative procedure, the implementation of multichannel video recording for ease of understanding is obtained with multichannel video recording
The implementation of multiple video files is obtained come what is be illustrated, then specific implementation process can be such that
Fig. 3 is POS video frame distribution flow schematic diagram, and POS frame interleave process is as shown, be inserted into video for POS frame
In the real-time code stream in channel.After the starting of NVR equipment, for NVR operation layer to POS component register call back function, call back function includes POS frame
The POS frame of encapsulation is pulled back to NVR operation layer by channel by two parameters of data pointer and NVR video channel number, component internal
ICapture is put it into buffering queue, the corresponding ICapture object of a video channel, and ICapture judgement is current
Whether channel has video code flow, if there is being then inserted into the tail portion of any video frame, if the size size of 5 seconds or queue is super
It crosses 5 and does not receive video code flow still and then abandon the POS frame.
By above-mentioned implementation, it is already possible to obtain video file and transaction frame, wherein the transaction frame is as video file
In frame be stored in video file.The treatment processes such as decoding to the video file are illustrated below, in example, transaction
Frame is stored in the video file as the ancillary frame in video file, the example still implemented with POS machine and NVR
To be illustrated.
When specific decoder decodes the video file containing POS frame, the header information of video frame is first read, if present frame
Type is ancillary frame type, then calls POS analyzing component content frame, content frame is converted into the character string that decoder can identify
Dot matrix is added on video, and POS content frame format is as shown in the table.
1 POS transaction format table of table
In view of decoder is responsible for after being superimposed and being shown on video by POS transaction, but without notice decoding
When device wipes overlapped information, therefore, can further include in implementation:
Under same channel, by the tail portion that the transaction frame that content is sky is inserted into any video frame when setting time.
In specific implementation, decoder can be notified to wipe the last time POS in such a way that the Data in table 1 is assigned null value
Superposition.
Longest 5 seconds adjacent 1 second two POS frame message shortest time of the same video channel of component internal Timer Controlling,
If two POS frame adjacent times less than 1 second, wait retransmit within 1 second, if sealed after 5 seconds still without new POS frame
It fills the POS frame comprising empty Transaction Information and is sent to corresponding channel.POS information can be wiped in the case of two kinds: being encountered new
When POS frame, old POS information is wiped, is superimposed new POS information;Erasing is the last when Transaction Information is empty in POS content frame
POS information is shown.It being currently configured lower NVR equipment and is receiving POS message, user reconfigures POS machine with postponing on NVR,
Cause certain video channels that cannot receive POS message, then synchronizes and send to corresponding video channel comprising empty Transaction Information
POS frame, and then wipe the video channel POS message superposition.
It can be empty transaction frame by content in one of following situations or a combination thereof, under each channel in implementation
It is inserted into the tail portion of any video frame, also, the change of following user configuration is modified on NVR:
The device configuration for providing Transaction Information enables to be revised as closing by opening;It is revised as that is, POS machine configuration is enabled by "ON"
"Off" sends POS to all linkage channels and wipes message.
Storing connection type between the equipment of video file and frame of trading and the equipment of offer Transaction Information is network connection
When, the IP address of any one or two in two equipment or port are modified, and POS is enabled to be in "On" state, to all
The channel transmission POS that links wipes message.
The equipment of storage video file and frame of trading is modified with the equipment connection mode for providing Transaction Information;That is, repairing
Change the two connection type, i.e., " serial ports " is revised as " network ", or " network " is revised as " serial ports ", and POS is enabled to be in "On" state,
POS, which is sent, to all linkage channels wipes message.
When the equipment of storage video file and frame of trading is connect with the equipment connection mode for providing Transaction Information for RS485,
The address bit for providing the equipment of Transaction Information is modified;That is, being modified " address bit ", POS when connection type is RS485 connection
It is enabled to be in "On" state, POS null frame is sent to all linkage channels.
The equipment of Transaction Information is provided after the modification of linkage channel, linkage channel is removed;That is, modification POS machine linkage
Channel, POS is enabled to be in "On" state quilt, sends POS to the linkage channel of removal and wipes message.
After receiving transaction frame, it is not received by next transaction frame after a set time, is usually repaired in POS machine
Change POS machine to configure, or connection medium (such as: cable, Serial Port Line) it interrupts, it will lead to such case.Such as: a POS frame 5
New POS frame is not received by after second, POS is enabled to be in "On" state, sends POS erasing to all linkage channels and disappears
Breath.
After each video file of storage in step 103 and transaction frame, it is contemplated that transaction video retrieval condition is limited, no
It is detailed that the transaction such as the search condition, such as product name, the type of merchandise, cashier, payment method of transaction video recording can effectively be extended
Any information in thin information can use Transaction Information and provide retrieval, therefore can further include:
Access entry is provided, when being retrieved with content frame of trading from the access entry, video file is returned to, in the view
Transaction frame described in frequency file is saved as the frame in the video file.
In specific implementation, video file and transaction frame can be stored after Transaction Information to be packaged into transaction frame, passes through number
The retrieval of POS transaction video file is carried out according to library insertion operation, video frequency searching process is with keyword, channel number, beginning and ending time
Data base querying is carried out for condition, and keyword can be any one or multiple information comprising POS machine Transaction Information
Combination, to extend transaction video retrieval condition, inquiry returns to the time point list of transaction, to play the record at the moment
Picture completes the process of POS video file retrieval.
Based on the same inventive concept, it is additionally provided in the embodiment of the present invention and a kind of to handle video file in process of exchange
Device, since the principle that the device solves the problems, such as is similar to a kind of method of video file that handles in process of exchange, this
The implementation of a little equipment may refer to the implementation of method, and overlaps will not be repeated.
Fig. 4 is the apparatus structure schematic diagram that video file is handled in process of exchange, as shown, can wrap in device
It includes:
Picture recording module 401, for being recorded a video to trading activity when transaction occurs;
Transaction Information obtains module 402, for obtaining Transaction Information;
Transaction Information for obtaining video file by video recording, and is pressed the frame lattice of the video file by package module 403
Formula obtains transaction frame after being packaged;
Display module 404 and/or memory module 405, wherein display module is deposited for showing video file and transaction frame
Module is stored up, for storing video file and transaction frame;Wherein, the transaction frame is to be stored in video as the frame in video file
In file.
In implementation, when including multiple picture recording modules: display module can also be further used for showing each picture recording module
The video file and transaction frame of acquisition;And/or memory module can also be further used for storing the view that each picture recording module obtains
Frequency file and transaction frame.
In implementation, retrieval module can be also used for providing access entry after storing each video file and transaction frame,
When being retrieved with content frame of trading from the access entry, video file is returned to, the transaction frame described in the video file is to make
It is saved for the frame in the video file.
In implementation, package module can also be further used for saving using the transaction frame as the ancillary frame in video file
In the video file.
In implementation, Transaction Information, which obtains module, can also be further used for obtaining the Transaction Information from POS machine.
In implementation, package module can also be further used for after completion of transactions using the transaction frame as in video file
Frame be stored in video file.
In implementation, display module includes: buffer cell, and the frame that can be also used for trading is put into buffering queue;Unit is inserted into,
It can be also used for after determining that current channel has video code flow, Overlapping display exists after transaction frame is inserted into the tail portion of any video frame
On video.
In implementation, insertion unit can also be further used for when determining current channel within the set time is without video code flow
When, abandon transaction frame.
In implementation, insertion unit can also be further used under same channel, by when setting time by content be it is empty
Transaction frame is inserted into the tail portion of any video frame.
In implementation, insertion unit can also be further used in one of following situations or a combination thereof, in each channel
Under, it is the tail portion that empty transaction frame is inserted into any video frame by content:
The device configuration for providing Transaction Information enables to be revised as closing by opening;
Storing connection type between the equipment of video file and frame of trading and the equipment of offer Transaction Information is network connection
When, any one or two IP address or port in two equipment are modified;
The equipment of storage video file and frame of trading is modified with the equipment connection mode for providing Transaction Information;
When the equipment of storage video file and frame of trading is connect with the equipment connection mode for providing Transaction Information for RS485,
The address bit of the equipment is modified;
The equipment of Transaction Information is provided after the modification of linkage channel, linkage channel is removed;
After receiving transaction frame, it is not received by next transaction frame after a set time.
For convenience of description, each section of apparatus described above is divided into various modules with function or unit describes respectively.
Certainly, each module or the function of unit can be realized in same or multiple softwares or hardware in carrying out the present invention.
In conclusion for Transaction Information in prior art and this insufficient disadvantage of video file relevance, at this
In the technical solution that inventive embodiments provide, Transaction Information is packaged into particular frame first and is forcibly inserted into real-time video I frame, P frame
Or stored together after B frame, by combining POS frame, the mode for inserting POS frame is forced, POS machine Transaction Information is associated with to any view
Frequency channel makes Transaction Information and the seamless association of video file.Meanwhile details of trading are also inserted into NVR equipment and carry data
In library, by inquiring the associated video file of database retrieval, the search condition of transaction video recording, such as commodity can be effectively extended
Any information in the transaction details such as title, the type of merchandise, cashier, payment method.
Further, a particular transaction frame can be inserted into multi-channel video channel simultaneously, i.e. traction equipment (such as POS
Cash register) it can be associated with multi-channel video channel simultaneously, and allow user configuration.
It further, can also be by sending POS frame erasing the last time POS comprising empty Transaction Information to association channel
Message superposition.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.)
Formula.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
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.
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.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (18)
1. a kind of method for handling video file in process of exchange characterized by comprising
When transaction occurs, record a video to trading activity, and obtain Transaction Information;
Video file is obtained by video recording, and is traded after Transaction Information is packaged by the frame format of the video file
Frame;
Display and/or storage video file and transaction frame, wherein the transaction frame is to be stored in view as the frame in video file
In frequency file;
After storing each video file and transaction frame, access entry is provided, is carried out to trade content frame from the access entry
When retrieval, video file is returned to, transaction frame is saved as the frame in the video file described in the video file.
2. the method according to claim 1, wherein multiple carrying out multichannel video recording acquisition to the trading activity
When video file, further comprise:
Show and/or store each video file and transaction frame, wherein the transaction frame is as in each video file
Frame is stored in the video file.
3. the method according to claim 1, wherein the transaction frame is protected as the ancillary frame in video file
There are in the video file.
4. the method according to claim 1, wherein the Transaction Information is obtained from POS machine.
5. the method according to claim 1, wherein being stored in using the transaction frame as the frame in video file
It is to be stored in video file using the transaction frame as the frame in video file after completion of transactions in video file.
6. method according to any one of claims 1 to 5, which is characterized in that display video file and transaction frame, comprising:
Transaction frame is put into buffering queue;
After determining that current channel has video code flow, Overlapping display is in video after transaction frame is inserted into the tail portion of any video frame
On.
7. according to the method described in claim 6, it is characterized in that, further comprising:
When determining that current channel is without video code flow within the set time, transaction frame is abandoned.
8. according to the method described in claim 6, it is characterized in that, further comprising:
Under same channel, by the tail portion that the transaction frame that content is sky is inserted into any video frame when setting time.
9. according to the method described in claim 6, it is characterized in that, leading in one of following situations or a combination thereof each
It is the tail portion that empty transaction frame is inserted into any video frame by content under road:
The device configuration for providing Transaction Information enables to be revised as closing by opening;
Storing connection type between the equipment of video file and frame of trading and the equipment of offer Transaction Information is when being connected to the network two
Any one or two IP address or port in a equipment are modified;
The equipment of storage video file and frame of trading is modified with the equipment connection mode for providing Transaction Information;
When the equipment of storage video file and frame of trading is connect with the equipment connection mode for providing Transaction Information for RS485, this is set
Standby address bit is modified;
The equipment of Transaction Information is provided after the modification of linkage channel, linkage channel is removed;
After receiving transaction frame, it is not received by next transaction frame after a set time.
10. a kind of device for handling video file in process of exchange characterized by comprising
Picture recording module, for being recorded a video to trading activity when transaction occurs;
Transaction Information obtains module, for obtaining Transaction Information when the transaction occurs;
Package module for obtaining video file by video recording, and Transaction Information is carried out by the frame format of the video file
Transaction frame is obtained after encapsulation;
Display module and/or memory module, wherein display module, for showing that video file and transaction frame, memory module are used
In the storage video file and transaction frame;Wherein, the transaction frame is to be stored in video file as the frame in video file
In;
Retrieval module, for providing access entry after storing each video file and transaction frame, with trade content frame from this
When access entry is retrieved, video file is returned to, transaction frame is as in the video file described in the video file
What frame saved.
11. device according to claim 10, which is characterized in that when including multiple picture recording modules:
Display module is further used for showing the video file and transaction frame that each picture recording module obtains;
And/or memory module is further used for storing the video file and transaction frame that each picture recording module obtains.
12. device according to claim 10, which is characterized in that package module be further used for using the transaction frame as
Ancillary frame in video file is stored in the video file.
13. device according to claim 10, which is characterized in that Transaction Information obtains module and is further used for from POS machine
It is upper to obtain the Transaction Information.
14. device according to claim 10, which is characterized in that package module is further used for institute after completion of transactions
Transaction frame is stated to be stored in video file as the frame in video file.
15. 0 to 14 any device according to claim 1, which is characterized in that display module includes:
Buffer cell, for that will trade, frame is put into buffering queue;
It is inserted into unit, for being folded after determining that current channel has video code flow after transaction frame is inserted into the tail portion of any video frame
Add and is shown on video.
16. device according to claim 15, which is characterized in that insertion unit is further used for when determining in setting time
When interior current channel is without video code flow, transaction frame is abandoned.
17. device according to claim 15, which is characterized in that insertion unit is further used under same channel, presses
The transaction frame that content is sky is inserted into the tail portion of any video frame when setting time.
18. device according to claim 15, which is characterized in that insertion unit be further used in one of following situations or
It is the tail portion that empty transaction frame is inserted into any video frame by content under each channel when person's a combination thereof:
The device configuration for providing Transaction Information enables to be revised as closing by opening;
Storing connection type between the equipment of video file and frame of trading and the equipment of offer Transaction Information is when being connected to the network two
Any one or two IP address or port in a equipment are modified;
The equipment of storage video file and frame of trading is modified with the equipment connection mode for providing Transaction Information;
When the equipment of storage video file and frame of trading is connect with the equipment connection mode for providing Transaction Information for RS485, this is set
Standby address bit is modified;
The equipment of Transaction Information is provided after the modification of linkage channel, linkage channel is removed;
After receiving transaction frame, it is not received by next transaction frame after a set time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510651176.8A CN105373581B (en) | 2015-10-09 | 2015-10-09 | A kind of method and device handling video file in process of exchange |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510651176.8A CN105373581B (en) | 2015-10-09 | 2015-10-09 | A kind of method and device handling video file in process of exchange |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105373581A CN105373581A (en) | 2016-03-02 |
CN105373581B true CN105373581B (en) | 2019-02-12 |
Family
ID=55375781
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510651176.8A Active CN105373581B (en) | 2015-10-09 | 2015-10-09 | A kind of method and device handling video file in process of exchange |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105373581B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111666453B (en) * | 2019-03-07 | 2024-01-02 | 杭州海康威视数字技术股份有限公司 | Video management and retrieval method and device, electronic equipment and storage medium |
CN110933329B (en) * | 2019-12-02 | 2023-04-18 | 上海商米科技集团股份有限公司 | Video synthesis method and server for auditing |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080033571A (en) * | 2006-10-12 | 2008-04-17 | 엘지전자 주식회사 | Method for monitoring auto trailer machine in digital video recorder |
CN101286811A (en) * | 2008-05-15 | 2008-10-15 | 中兴通讯股份有限公司 | Display terminal and method for channel associated data information |
CN101695120A (en) * | 2009-10-27 | 2010-04-14 | 中兴通讯股份有限公司 | Method and system for conducting video recording notification |
CN101872512A (en) * | 2009-12-24 | 2010-10-27 | 杭州海康威视数字技术股份有限公司 | Display method and equipment of overlaid transaction data |
CN102867525A (en) * | 2012-09-07 | 2013-01-09 | Tcl集团股份有限公司 | Multi-channel audio processing method, audio playback terminal and audio receiving device |
CN103065660A (en) * | 2012-12-11 | 2013-04-24 | 天津天地伟业数码科技有限公司 | Video file locating method of embedded video recorder |
CN104023181A (en) * | 2014-06-23 | 2014-09-03 | 联想(北京)有限公司 | Information processing method and device |
-
2015
- 2015-10-09 CN CN201510651176.8A patent/CN105373581B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080033571A (en) * | 2006-10-12 | 2008-04-17 | 엘지전자 주식회사 | Method for monitoring auto trailer machine in digital video recorder |
CN101286811A (en) * | 2008-05-15 | 2008-10-15 | 中兴通讯股份有限公司 | Display terminal and method for channel associated data information |
CN101695120A (en) * | 2009-10-27 | 2010-04-14 | 中兴通讯股份有限公司 | Method and system for conducting video recording notification |
CN101872512A (en) * | 2009-12-24 | 2010-10-27 | 杭州海康威视数字技术股份有限公司 | Display method and equipment of overlaid transaction data |
CN102867525A (en) * | 2012-09-07 | 2013-01-09 | Tcl集团股份有限公司 | Multi-channel audio processing method, audio playback terminal and audio receiving device |
CN103065660A (en) * | 2012-12-11 | 2013-04-24 | 天津天地伟业数码科技有限公司 | Video file locating method of embedded video recorder |
CN104023181A (en) * | 2014-06-23 | 2014-09-03 | 联想(北京)有限公司 | Information processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN105373581A (en) | 2016-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109660823A (en) | Video distribution method, apparatus, electronic equipment and storage medium | |
CN107733532A (en) | Information interacting method, device and equipment | |
CN102263705A (en) | Method and device for displaying IM (instant messaging) messages | |
CN105373581B (en) | A kind of method and device handling video file in process of exchange | |
JP7094397B2 (en) | Area allocation method, device and storage medium | |
CN109978668A (en) | Based on the matched transaction customer recognition methods of timestamp, system, equipment and medium | |
CN107609904A (en) | A kind of electronic card certificate information processing method, equipment and system | |
CN102129643A (en) | Information exchange method and information exchange system for business net spots | |
WO2005036354A3 (en) | Fix-enabled order management method and apparatus | |
CN104023039B (en) | Data pack transmission method and device | |
CN112581113A (en) | Shopping settlement method, related device and system | |
CN109994113A (en) | A kind of methods of exhibiting and device of object | |
CN106991191B (en) | Commodity screening method and device, storage medium and electronic equipment | |
CN107770165A (en) | The method and apparatus that a kind of analog machine sends request | |
CN109150643A (en) | A kind of business processing method for detecting abnormality and device | |
CN111489244A (en) | Off-line merchant targeted promotion system | |
CN106682834A (en) | Performance management method | |
CN110533831A (en) | A kind of intelligent sale apparatus based on block chain | |
CN109636611A (en) | Clear acquisition methods, server, storage medium and the device of configuration information | |
CN107798512A (en) | Business handling method and device, computer-readable storage medium and the terminal of self-aided terminal | |
CN106875188A (en) | A kind of management by synchronization system of trading object, method and device | |
CN108400888A (en) | A kind of log processing method, storage medium and terminal device | |
CN110443684A (en) | The fast illuminated pricing information processing method and processing device of combination product | |
US7177958B1 (en) | Automated input determination | |
CN109408792B (en) | Customer information complement method and device |
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 |