CN105373581A - Method and device for processing video files in transaction processes - Google Patents

Method and device for processing video files in transaction processes Download PDF

Info

Publication number
CN105373581A
CN105373581A CN201510651176.8A CN201510651176A CN105373581A CN 105373581 A CN105373581 A CN 105373581A CN 201510651176 A CN201510651176 A CN 201510651176A CN 105373581 A CN105373581 A CN 105373581A
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.)
Granted
Application number
CN201510651176.8A
Other languages
Chinese (zh)
Other versions
CN105373581B (en
Inventor
施坤
李华玉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201510651176.8A priority Critical patent/CN105373581B/en
Publication of CN105373581A publication Critical patent/CN105373581A/en
Application granted granted Critical
Publication of CN105373581B publication Critical patent/CN105373581B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/78Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television 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 method and device for processing video files in transaction processes. The method comprises the following steps: when a transaction occurs, recording a video for the transaction behavior and obtaining transaction information; obtaining a video file through the video and encapsulating the transaction information according to the frame format of the video file to obtain a transaction frame; and displaying and/or storing the video file and the transaction frame, wherein the transaction frame is stored in the video file as a frame in the video file. By adopting the method and device provided by the invention, the transaction information and the video file can be correlated in a seamless manner. Furthermore, a scheme for displaying the video file and the transaction frame is provided, and a scheme for searching the transaction video is provided.

Description

A kind of method and device processing video file in process of exchange
Technical field
The present invention relates to technical field of image processing, particularly a kind of method and device processing video file in process of exchange.
Background technology
In existing Transaction Information video storage scheme, be generally that the index information of Transaction Information as video file is stored, and transaction video retrieval condition is limited, only provides Transaction Identification Number, type of transaction, the simple querying condition of amount of money etc. and so on.
Therefore, the deficiencies in the prior art are:
Index information is once lose, and cannot be associated to corresponding video file, video file associates with Transaction Information and may be destroyed.
Summary of the invention
The invention provides a kind of in process of exchange, process video file method and device, for by Transaction Information with video file after seamless association, for display and/or store video files.
Provide a kind of method processing video file in process of exchange in the embodiment of the present invention, comprising:
When occurring when concluding the business, trading activity being recorded a video, and obtains Transaction Information;
Obtain video file by video recording, and Transaction Information is undertaken encapsulating rear acquisition transaction frame by the frame format of described video file;
Display and/or store video files and frame of concluding the business, wherein, described transaction frame is kept in video file as the frame in video file.
Preferably, when carrying out multichannel video recording to described trading activity and obtaining multiple video file, comprise further:
Show and/or store each video file and transaction frame, wherein, described transaction frame is kept in this video file as the frame in each video file.
Preferably, after each video file of storage and transaction frame, comprise further:
Thering is provided access entry, when retrieving from this access entry with content frame of concluding the business, returning video file, is preserve as the frame in this video file at frame of concluding the business described in this video file.
Preferably, described transaction frame is kept in this video file as the ancillary frame in video file.
Preferably, described Transaction Information obtains from POS.
Preferably, being kept in video file using described transaction frame as the frame in video file, is be kept in video file as the frame in video file by described transaction frame after completion of transactions.
Preferably, display video file and transaction frame, comprising:
Transaction frame is put into buffer queue;
After determining that current channel has video code flow, after transaction frame is inserted the afterbody of any frame of video, Overlapping display is on video.
Preferably, comprise further:
When determining that current channel is without video code flow in setting-up time, abandon transaction frame.
Preferably, comprise further:
Under same passage, by during setting-up time by content being the afterbody that empty transaction frame inserts any frame of video.
Preferably, when one of following situation or its combination, under each passage, be the afterbody that empty transaction frame inserts any frame of video by content:
There is provided that the Equipments Setting of Transaction Information is enable is revised as pass by opening;
Store video files and the transaction equipment of frame and connected mode between the equipment providing Transaction Information are network when being connected, and any one or two IP addresses in two equipment or port are modified;
Store video files and transaction frame equipment with provide the equipment connection mode of Transaction Information to be modified;
Store video files and transaction frame equipment with provide the equipment connection mode of Transaction Information be RS485 be connected time, the address bit of this equipment is modified;
There is provided the equipment of Transaction Information after the amendment of interlock passage, interlock passage is removed;
After receiving transaction frame, do not receive next transaction frame after a set time.
Embodiments provide a kind of device processing video file in process of exchange, comprising:
Picture recording module, during for occurring when concluding the business, records a video to trading activity;
Transaction Information acquisition module, for when described transaction occurs, obtains Transaction Information;
Package module, for obtaining video file by video recording, and is undertaken encapsulating rear acquisition transaction frame by the frame format of described video file by Transaction Information;
Display module and/or memory module, wherein, display module, for display video file and transaction frame, memory module, for storing described video file and transaction frame; Wherein, described transaction frame is kept in video file as the frame in video file.
Preferably, when comprising multiple picture recording module: display module is further used for the video file and the transaction frame that show the acquisition of each picture recording module; And/or memory module is further used for the video file and the transaction frame that store the acquisition of each picture recording module.
Preferably, comprise further: retrieval module, for after each video file of storage and transaction frame, access entry is provided, when retrieving from this access entry with content frame of concluding the business, returning video file, is preserve as the frame in this video file at frame of concluding the business described in this video file.
Preferably, package module is further used for described transaction frame to be kept in this video file as the ancillary frame in video file.
Preferably, Transaction Information acquisition module is further used for obtaining described Transaction Information from POS.
Preferably, package module is further used for being kept in video file as the frame in video file by described transaction frame after completion of transactions.
Preferably, display module comprises: buffer cell, for transaction frame is put into buffer queue; Plug-in unit, for after determining that current channel has video code flow, after transaction frame is inserted the afterbody of any frame of video, Overlapping display is on video.
Preferably, plug-in unit is further used for, when determining that current channel is without video code flow in setting-up time, abandoning transaction frame.
Preferably, plug-in unit is further used under same passage, by during setting-up time by content being the afterbody that empty transaction frame inserts any frame of video.
Preferably, plug-in unit is further used for when one of following situation or its combination, under each passage, is the afterbody that empty transaction frame inserts any frame of video by content:
There is provided that the Equipments Setting of Transaction Information is enable is revised as pass by opening;
Store video files and the transaction equipment of frame and connected mode between the equipment providing Transaction Information are network when being connected, and any one or two IP addresses in two equipment or port are modified;
Store video files and transaction frame equipment with provide the equipment connection mode of Transaction Information to be modified;
Store video files and transaction frame equipment with provide the equipment connection mode of Transaction Information be RS485 be connected time, the address bit of this equipment is modified;
There is provided the equipment of Transaction Information after the amendment of interlock passage, interlock passage is removed;
After receiving transaction frame, do not receive next transaction frame after a set time.
Beneficial effect of the present invention is as follows:
In the technical scheme that the embodiment of the present invention provides, due to Transaction Information is packaged into transaction frame, and transaction frame is kept in video file as the frame in video file, thus Transaction Information can seamlessly be associated with video file.
Further, the scheme of display video file and transaction frame is additionally provided in scheme.
Further, the scheme of transaction video frequency searching is additionally provided in scheme.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms a part of the present invention, and schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the method implementing procedure schematic diagram processing video file in the embodiment of the present invention in process of exchange;
Fig. 2 is POS Transaction Information processing flow chart in the embodiment of the present invention;
Fig. 3 is POS frame of video distribution flow figure in the embodiment of the present invention;
Fig. 4 is the apparatus structure schematic diagram processing video file in the embodiment of the present invention in process of exchange.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described.
Fig. 1 is the method implementing procedure schematic diagram processing video file in process of exchange, as shown in the figure, can comprise the steps:
Step 101, when conclude the business occur time, trading activity is recorded a video, and obtains Transaction Information;
Step 102, obtain video file by video recording, and Transaction Information is carried out encapsulating rear acquisitions by the frame format of described video file to conclude the business frame;
Step 103, display and/or store video files and transaction frame, wherein, described transaction frame is kept in video file as the frame in video file.
In enforcement, can consider can insert multi-channel video passage at a particular transaction frame simultaneously, as a traction equipment (such as POS cashier's machine) can associate the situation of multi-channel video passage simultaneously, when carrying out multichannel video recording to described trading activity and obtaining multiple video file, comprise further:
Show and/or store each video file and transaction frame, wherein, described transaction frame is kept in this video file as the frame in each video file.
For understanding better, embodiment below will be main with POS (pointofsale, point-of-sale terminal) machine and NVR (NetworkVideoRecorder, network hard disk video recorder) be described for example, wherein, trading activity occurs in POS, POS be Transaction Information equipment is provided, and the storage of video file etc. process performed by NVR.In force, for POS, NVR be because these two kinds of equipment the most common, be most widely used; But, also be fine with other equipment, as long as can Transaction Information be provided, carry out storing etc. processing to video file, POS, NVR are only for instructing those skilled in the art specifically how to implement the present invention, but do not mean and only can use this two equipment, can in conjunction with putting into practice the equipment needing to determine to select in implementation process.
In enforcement, when selecting POS as traction equipment, then Transaction Information obtains from POS.
For the enforcement of the acquisition Transaction Information in step 101, the process of the Transaction Information that POS produces can realize in independent POS assembly.Its process is as follows:
1, NVR device start, loads it for resolving the script file of POS raw data.
2, to the POS equipment (multiple stage can be added) that NVR Equipments Setting communicates with it, the configuration items such as interlock video channel (linkage hyperchannel), connected mode (RS232, RS485, network), time-out time are comprised.
After above two steps complete, NVR equipment can start to accept POS Transaction Information.
For in step 102 Transaction Information is carried out encapsulating in rear acquisition transaction frame and step 103 by the frame format of described video file frame of concluding the business is be kept in the embodiment in video file as the frame in video file, transaction frame is kept in video file as the frame in video file, after completion of transactions described transaction frame is kept in video file as the frame in video file, the concrete process with reference to following step 207, then specifically can be as follows:
Fig. 2 is POS Transaction Information treatment scheme schematic diagram, and the processing procedure of Transaction Information as shown in the figure, comprising:
Step 201, obtain wall scroll transaction item raw data from serial ports or network interface, POS Transaction Information comprises a lot of subitem, i.e. particular commodity Transaction Information, and what NVR equipment accepted is single POS Transaction Information subitem;
Unprocessed form Data Analysis is become set form data by step 202, resolver, and single transaction subitem is given protocol resolver and resolved by NVR equipment, and the parsing of POS raw data is completed by lua script, and the information resolving to set form hands over a NVR application program;
Step 203, Transaction Information buffer memory, NVR equipment receives the Transaction Information be parsed, and first puts it in buffer memory;
Step 204, judge whether current transaction terminates, and proceeds to step 205 if not, if proceed to step 207;
Step 205, the lower bar transaction of wait;
Step 206, judge to wait for whether time-out, proceed to step 205 if not, if proceed to step 207, the last item message that NVR equipment receives same POS starts, and has crossed time-out time and has not still received new POS message, then think current closing the transaction;
Step 207, transaction data is packaged into standard frame format, closing the transaction, then first be packaged into the character string of Json form, then at Json (JavaScriptObjectNotation, JavaScript Object Notation) add the header information of frame before character string, be I frame, P frame, audio frame or ancillary frame according to header information identifiable design present frame, header information is by the process of standard code stream format.
In concrete enforcement, transaction frame can be kept in this video file as the ancillary frame in video file.Also namely, POS Transaction Information frame type is ancillary frame, and Json form is described by table 1, and POSExchange field is the beginning of POS Transaction Information content;
After step 208, POS frame have encapsulated, insert NVR operation layer real-time code stream passage, force to be inserted in the video channel that it links;
After step 209, POS frame have encapsulated, in subsidiary upper channel information data inserting storehouse, for video retrieval.
After above-mentioned flow implementation completes, get final product display and/or the store video files in implementation step 103 and frame of concluding the business after step 208, and can prepare for video frequency searching after step 209.
Below the enforcement of display video file and transaction frame after step 208, in step 103 is described.In enforcement, display video file and transaction frame, can comprise:
Transaction frame is put into buffer queue;
After determining that current channel has video code flow, after transaction frame is inserted the afterbody of any frame of video, Overlapping display is on video.
In enforcement, can further include:
When determining that current channel is without video code flow in setting-up time, abandon transaction frame.
Be described with example below, in declarative procedure, for ease of understanding the enforcement of multichannel video recording, be described with the enforcement of the multiple video file of multichannel video recording acquisition, then specific implementation process can be as follows:
Fig. 3 is POS frame of video distribution flow schematic diagram, and POS frame as shown in the figure, is inserted in the real-time code stream of video channel by POS frame interleave process.After NVR device start, NVR operation layer is to POS component register call back function, call back function comprises POS frame data pointer and NVR video channel number two parameters, the POS frame of encapsulation is pulled back to the ICapture of NVR operation layer by component internal by passage, put it in buffer queue, a corresponding ICapture object of video channel, ICapture judges whether current channel has video code flow, if had, insert the afterbody of any frame of video, if the size size of 5 seconds or queue does not still receive video code flow more than 5, abandon this POS frame.
By above-mentioned enforcement, can obtain video file and transaction frame, wherein, described transaction frame is kept in video file as the frame in video file.Be described processing procedures such as the decodings to this video file below, in example, transaction frame is kept in this video file as the ancillary frame in video file, and the example still carrying out implementing with POS and NVR is described.
When specific decoders decode contains the video file of POS frame, first read the header information of frame of video, if present frame type is ancillary frame type, then call POS analyzing component content frame, content frame is converted to the character string dot matrix that demoder can identify, be added on video, POS content frame form is as shown in the table.
Table 1POS Transaction Information form shfft
Consider that demoder is responsible for being superposed by POS Transaction Information and being shown to after on video, but do not notify when demoder wipes overlapped information, therefore, can further include in enforcement:
Under same passage, by during setting-up time by content being the afterbody that empty transaction frame inserts any frame of video.
In concrete enforcement, the last POS superposition of decoder erases can be notified by the mode Data in table 1 being composed null value.
The same video channel of component internal Timer Controlling adjacent 1 second two POS frame message shortest time are the longest 5 seconds, if two POS frame adjacent time is less than 1 second, then wait for and sending again for 1 second, if still there is no new POS frame after 5 seconds, then encapsulate a POS frame comprising empty Transaction Information and be sent to respective channel.POS information can be wiped in two kinds of situations: when running into new POS frame, wipe old POS information, superpose new POS information; In POS content frame, Transaction Information is for wiping the last POS information displaying time empty.Under current configuration, NVR equipment is receiving POS message, after user reconfigures POS configuration on NVR, cause some video channel not receiving POS message, then the synchronous video channel to correspondence sends the POS frame comprising empty Transaction Information, and then wipes the superposition of this video channel POS message.
In enforcement, can, when one of following situation or its combination, under each passage, be the afterbody that empty transaction frame inserts any frame of video by content, and user configured change all be revised on NVR below:
There is provided that the Equipments Setting of Transaction Information is enable is revised as pass by opening; Also namely, POS configuration is enable is revised as "Off" by "ON", sends POS wipe message to all interlock passages.
Store video files and the transaction equipment of frame and connected mode between the equipment providing Transaction Information are that network is when being connected, IP address or the port of any one or two in two equipment are modified, POS is enable is in "On" state, sends POS wipe message to all interlock passages.
Store video files and transaction frame equipment with provide the equipment connection mode of Transaction Information to be modified; Also namely, both amendments connected mode, namely " serial ports " is revised as " network ", or " network " is revised as " serial ports ", and POS is enable is in "On" state, sends POS wipe message to all interlock passages.
Store video files and transaction frame equipment with provide the equipment connection mode of Transaction Information be RS485 be connected time, provide the address bit of the equipment of Transaction Information to be modified; Also, namely, when connected mode is RS485 connection, amendment " address bit ", POS is enable is in "On" state, sends the empty frame of POS to all interlock passages.
There is provided the equipment of Transaction Information after the amendment of interlock passage, interlock passage is removed; Also namely, amendment POS interlock passage, POS is enable is in "On" state quilt, sends POS wipe message to the interlock passage removed.
After receiving transaction frame, do not receive next transaction frame after a set time, in POS, usually revise POS configuration, or connecting media (such as: netting twine, Serial Port Line) interrupts, and can cause this situation.Such as: do not receive new POS frame after POS frame 5 second, POS is enable is in "On" state, send POS to all interlock passages and wipe message.
The each video file of storage in step 103 and transaction frame after, consider that transaction video retrieval condition is limited, effectively can not expand the search condition of transaction video recording, such as, any information in the transaction such as trade name, the type of merchandise, cashier, Payment Methods details, Transaction Information can be utilized to provide retrieval, therefore can further include:
Thering is provided access entry, when retrieving from this access entry with content frame of concluding the business, returning video file, is preserve as the frame in this video file at frame of concluding the business described in this video file.
In concrete enforcement, can Transaction Information is packaged into transaction frame after store video files and transaction frame, the retrieval of POS transaction video file is carried out by database insert operation, video frequency searching process carries out data base querying with key word, channel number, beginning and ending time for condition, key word can be comprise any one of POS Transaction Information or the combination of multiple information, thus extend transaction video retrieval condition, inquiry returns the time point list of transaction, thus play the video recording in this moment, namely complete the process of POS video file retrieval.
Based on same inventive concept, a kind of device processing video file in process of exchange is additionally provided in the embodiment of the present invention, the principle of dealing with problems due to this device is similar to a kind of method processing video file in process of exchange, therefore the enforcement of these equipment see the enforcement of method, can repeat part and repeats no more.
Fig. 4 is the apparatus structure schematic diagram processing video file in process of exchange, as shown in the figure, can comprise in device:
Picture recording module 401, during for occurring when concluding the business, records a video to trading activity;
Transaction Information acquisition module 402, for obtaining Transaction Information;
Package module 403, for obtaining video file by video recording, and is undertaken encapsulating rear acquisition transaction frame by the frame format of described video file by Transaction Information;
Display module 404 and/or memory module 405, wherein, display module, for display video file and transaction frame, memory module, for store video files and transaction frame; Wherein, described transaction frame is kept in video file as the frame in video file.
In enforcement, when comprising multiple picture recording module: display module can also be further used for the video file and the transaction frame that show the acquisition of each picture recording module; And/or memory module can also be further used for the video file and the transaction frame that store the acquisition of each picture recording module.
In enforcement, retrieval module can also be used for, after each video file of storage and transaction frame, providing access entry, when retrieving from this access entry with content frame of concluding the business, returning video file, is preserve as the frame in this video file at frame of concluding the business described in this video file.
In enforcement, package module can also be further used for described transaction frame to be kept in this video file as the ancillary frame in video file.
In enforcement, Transaction Information acquisition module can also be further used for obtaining described Transaction Information from POS.
In enforcement, package module can also be further used for being kept in video file as the frame in video file by described transaction frame after completion of transactions.
In enforcement, display module comprises: buffer cell, and transaction frame can also be used for put into buffer queue; Plug-in unit, can also be used for after determining that current channel has video code flow, and after transaction frame is inserted the afterbody of any frame of video, Overlapping display is on video.
In enforcement, plug-in unit can also be further used for, when determining that current channel is without video code flow in setting-up time, abandoning transaction frame.
In enforcement, plug-in unit can also be further used under same passage, by during setting-up time by content being the afterbody that empty transaction frame inserts any frame of video.
In enforcement, plug-in unit can also be further used for when one of following situation or its combination, under each passage, is the afterbody that empty transaction frame inserts any frame of video by content:
There is provided that the Equipments Setting of Transaction Information is enable is revised as pass by opening;
Store video files and the transaction equipment of frame and connected mode between the equipment providing Transaction Information are network when being connected, and any one or two IP addresses in two equipment or port are modified;
Store video files and transaction frame equipment with provide the equipment connection mode of Transaction Information to be modified;
Store video files and transaction frame equipment with provide the equipment connection mode of Transaction Information be RS485 be connected time, the address bit of this equipment is modified;
There is provided the equipment of Transaction Information after the amendment of interlock passage, interlock passage is removed;
After receiving transaction frame, do not receive next transaction frame after a set time.
For convenience of description, each several part of the above device is divided into various module or unit to describe respectively with function.Certainly, the function of each module or unit can be realized in same or multiple software or hardware when implementing of the present invention.
In sum, for Transaction Information in prior art and video file relevance this shortcoming not enough, in the technical scheme that the embodiment of the present invention provides, first Transaction Information is packaged into after particular frame forces to insert real-time video I frame, P frame or B frame and stores together, by combination POS frame, force to insert the mode of POS frame, POS Transaction Information is associated to any video channel, make that Transaction Information and video file are seamless to be associated.Simultaneously, transaction details are also inserted into NVR equipment and carry in database, by the video file that data query library searching associates, effectively can expand the search condition of transaction video recording, such as, any information in the transaction such as trade name, the type of merchandise, cashier, Payment Methods details.
Further, a particular transaction frame can insert multi-channel video passage simultaneously, and namely a traction equipment (such as POS cashier's machine) can associate multi-channel video passage simultaneously, and allows user's configuration.
Further, can also by sending the last POS message superposition of the POS frame erasing comprising sky Transaction Information to association channel.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory and optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (20)

1. in process of exchange, process a method for video file, it is characterized in that, comprising:
When occurring when concluding the business, trading activity being recorded a video, and obtains Transaction Information;
Obtain video file by video recording, and Transaction Information is undertaken encapsulating rear acquisition transaction frame by the frame format of described video file;
Display and/or store video files and frame of concluding the business, wherein, described transaction frame is kept in video file as the frame in video file.
2. method according to claim 1, is characterized in that, when carrying out multichannel video recording to described trading activity and obtaining multiple video file, comprises further:
Show and/or store each video file and transaction frame, wherein, described transaction frame is kept in this video file as the frame in each video file.
3. method according to claim 1 and 2, is characterized in that, after each video file of storage and transaction frame, comprises further:
Thering is provided access entry, when retrieving from this access entry with content frame of concluding the business, returning video file, is preserve as the frame in this video file at frame of concluding the business described in this video file.
4. method according to claim 1, is characterized in that, described transaction frame is kept in this video file as the ancillary frame in video file.
5. method according to claim 1, is characterized in that, described Transaction Information obtains from POS.
6. method according to claim 1, is characterized in that, is kept in video file using described transaction frame as the frame in video file, is to be kept in video file as the frame in video file by described transaction frame after completion of transactions.
7. according to claim 1 or 2,4,5,6 arbitrary described methods, it is characterized in that, display video file and transaction frame, comprising:
Transaction frame is put into buffer queue;
After determining that current channel has video code flow, after transaction frame is inserted the afterbody of any frame of video, Overlapping display is on video.
8. method according to claim 7, is characterized in that, comprises further:
When determining that current channel is without video code flow in setting-up time, abandon transaction frame.
9. method according to claim 7, is characterized in that, comprises further:
Under same passage, by during setting-up time by content being the afterbody that empty transaction frame inserts any frame of video.
10. method according to claim 7, is characterized in that, when one of following situation or its combination, under each passage, is the afterbody that empty transaction frame inserts any frame of video by content:
There is provided that the Equipments Setting of Transaction Information is enable is revised as pass by opening;
Store video files and the transaction equipment of frame and connected mode between the equipment providing Transaction Information are network when being connected, and any one or two IP addresses in two equipment or port are modified;
Store video files and transaction frame equipment with provide the equipment connection mode of Transaction Information to be modified;
Store video files and transaction frame equipment with provide the equipment connection mode of Transaction Information be RS485 be connected time, the address bit of this equipment is modified;
There is provided the equipment of Transaction Information after the amendment of interlock passage, interlock passage is removed;
After receiving transaction frame, do not receive next transaction frame after a set time.
11. 1 kinds of devices processing video file in process of exchange, is characterized in that, comprising:
Picture recording module, during for occurring when concluding the business, records a video to trading activity;
Transaction Information acquisition module, for when described transaction occurs, obtains Transaction Information;
Package module, for obtaining video file by video recording, and is undertaken encapsulating rear acquisition transaction frame by the frame format of described video file by Transaction Information;
Display module and/or memory module, wherein, display module, for display video file and transaction frame, memory module, for storing described video file and transaction frame; Wherein, described transaction frame is kept in video file as the frame in video file.
12. devices according to claim 11, is characterized in that, when comprising multiple picture recording module:
Display module is further used for the video file and the transaction frame that show the acquisition of each picture recording module;
And/or memory module is further used for the video file and the transaction frame that store the acquisition of each picture recording module.
13. devices according to claim 11 or 12, is characterized in that, comprise further:
Retrieval module, for after each video file of storage and transaction frame, providing access entry, when retrieving from this access entry with content frame of concluding the business, returning video file, is preserve as the frame in this video file at frame of concluding the business described in this video file.
14. devices according to claim 11, is characterized in that, package module is further used for described transaction frame to be kept in this video file as the ancillary frame in video file.
15. devices according to claim 11, is characterized in that, Transaction Information acquisition module is further used for obtaining described Transaction Information from POS.
16. devices according to claim 11, is characterized in that, package module is further used for being kept in video file as the frame in video file by described transaction frame after completion of transactions.
17. according to claim 11 or 12,14,15,16 arbitrary described devices, it is characterized in that, display module comprises:
Buffer cell, for putting into buffer queue by transaction frame;
Plug-in unit, for after determining that current channel has video code flow, after transaction frame is inserted the afterbody of any frame of video, Overlapping display is on video.
18. devices according to claim 17, is characterized in that, plug-in unit is further used for, when determining that current channel is without video code flow in setting-up time, abandoning transaction frame.
19. devices according to claim 17, is characterized in that, plug-in unit is further used under same passage, by during setting-up time by content being the afterbody that empty transaction frame inserts any frame of video.
20. devices according to claim 17, is characterized in that, plug-in unit is further used for when one of following situation or its combination, under each passage, is the afterbody that empty transaction frame inserts any frame of video by content:
There is provided that the Equipments Setting of Transaction Information is enable is revised as pass by opening;
Store video files and the transaction equipment of frame and connected mode between the equipment providing Transaction Information are network when being connected, and any one or two IP addresses in two equipment or port are modified;
Store video files and transaction frame equipment with provide the equipment connection mode of Transaction Information to be modified;
Store video files and transaction frame equipment with provide the equipment connection mode of Transaction Information be RS485 be connected time, the address bit of this equipment is modified;
There is provided the equipment of Transaction Information after the amendment of interlock passage, interlock passage is removed;
After receiving transaction frame, do not receive next transaction frame after a set time.
CN201510651176.8A 2015-10-09 2015-10-09 A kind of method and device handling video file in process of exchange Active CN105373581B (en)

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 true CN105373581A (en) 2016-03-02
CN105373581B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110933329A (en) * 2019-12-02 2020-03-27 上海商米科技集团股份有限公司 Video synthesis method and server for auditing
CN111666453A (en) * 2019-03-07 2020-09-15 杭州海康威视数字技术股份有限公司 Video management method, video retrieval method, video management device, video retrieval device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111666453A (en) * 2019-03-07 2020-09-15 杭州海康威视数字技术股份有限公司 Video management method, video retrieval method, video management device, video retrieval device, electronic equipment and storage medium
CN111666453B (en) * 2019-03-07 2024-01-02 杭州海康威视数字技术股份有限公司 Video management and retrieval method and device, electronic equipment and storage medium
CN110933329A (en) * 2019-12-02 2020-03-27 上海商米科技集团股份有限公司 Video synthesis method and server for auditing

Also Published As

Publication number Publication date
CN105373581B (en) 2019-02-12

Similar Documents

Publication Publication Date Title
CN108133008A (en) The processing method of business datum, device, equipment and storage medium in database
CN104796448A (en) Network system data processing method and device
CN104317850B (en) Data processing method and device
CN104820604B (en) A kind of browser applied to POS terminal
CN104461862B (en) Resource recovery method and apparatus after data handling system and thread collapse
KR20190108020A (en) Method for processing transactions using blockchain, and transaction management server using the same
CN106503008A (en) File memory method and device and file polling method and apparatus
CN105868225A (en) Data query method, client, server and system
CN106484738A (en) A kind of page processing method and device
CN110138662A (en) Session entry processing method, device and multiple nucleus system in multiple nucleus system
CN105373581A (en) Method and device for processing video files in transaction processes
CN102187340B (en) Breakpoint information management method and breakpoint information manager
CN102541639B (en) CPU (Central Processing Unit) card data processing method, CPU card data processing system and CPU card
CN110493661A (en) A kind of processing method and server of video file
US8903075B2 (en) Customer/subscriber/user identification via utilized service node/point
CN103336757A (en) Hardware protocol stack
CN105872731A (en) Data processing method and device
CN102906740B (en) The method and system of packed data record and process packed data record
CN108845995A (en) Data processing method, device, storage medium and electronic device
JP4852834B2 (en) Application requirement design support system and method
CN107770165A (en) The method and apparatus that a kind of analog machine sends request
JPH0465711A (en) Display control system for display device
US6959418B1 (en) System and method for facilitating editing of codes such as HTML and XML codes by scripts
CN107832464B (en) Data bleaching method and device
CN103918240B (en) Communication interface method and the SE using the communication interface method for being equipped with SE on mobile terminals

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