CN106973254A - A kind of firmware data transmission method, device and a kind of digital monitor system - Google Patents

A kind of firmware data transmission method, device and a kind of digital monitor system Download PDF

Info

Publication number
CN106973254A
CN106973254A CN201610023517.1A CN201610023517A CN106973254A CN 106973254 A CN106973254 A CN 106973254A CN 201610023517 A CN201610023517 A CN 201610023517A CN 106973254 A CN106973254 A CN 106973254A
Authority
CN
China
Prior art keywords
data
firmware
equipment
video data
firmware data
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
CN201610023517.1A
Other languages
Chinese (zh)
Other versions
CN106973254B (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201610023517.1A priority Critical patent/CN106973254B/en
Publication of CN106973254A publication Critical patent/CN106973254A/en
Application granted granted Critical
Publication of CN106973254B publication Critical patent/CN106973254B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Abstract

The embodiments of the invention provide a kind of firmware data transmission method, device and a kind of digital monitor system.This method is applied to the first equipment in digital monitor system, and the first equipment is connected with the second equipment in digital monitor system by video data transmission passage, and this method comprises the following steps:Obtain firmware data, wherein, firmware data include the second equipment firmware upgraded needed for data;Firmware data is sent to the second equipment by video data transmission passage, so that the second equipment is upgraded according to firmware data to firmware.As can be seen that in the embodiment of the present invention, the transmitting procedure of firmware data need not be connected up in addition, therefore updating operation implements convenient, reduces upgrade cost.In addition, being greatly shortened for the time for transmitting firmware data, the efficiency of transmission of firmware data is greatly improved, so as to simplify the upgrade maintenance process of firmware.

Description

A kind of firmware data transmission method, device and a kind of digital monitor system
Technical field
The present invention relates to technical field of security and protection, more particularly to a kind of firmware data transmission method, device and A kind of digital monitor system.
Background technology
With the development of security and guard technology, the application of digital monitor system is more and more extensive, and it is with good video Effect and real-time, receive the favor of many users.Firmware in some equipment of digital monitor system When needing upgrading, some special physical channels, such as uart (Universal Asynchronous can be passed through Receiver/Transmitter, universal asynchronous receiving-transmitting transmitter) realize.During actual upgrade, it will can consolidate Data needed for part upgrading are transferred in corresponding equipment by above-mentioned special physical channel, and storage is arrived and is somebody's turn to do In the CPU (Central Processing Unit, central processing unit) of equipment, firmware number is so achieved that According to renewal, and then complete firmware upgrading.In general, the bandwidth of above-mentioned physical channel is smaller, phase Ying Di, its data transmission efficiency is relatively low, and firmware upgrade needs to take a very long time, therefore, firmware Upgrade maintenance it is extremely difficult.As can be seen that for existing digital monitor system, firmware upgrade dimension It is a urgent problem to be solved to protect difficulty.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of firmware data transmission method, device and a kind of numeral Monitoring system, to solve the problem of firmware upgrade is difficult in maintenance in existing digital monitor system.
On the one hand, the embodiments of the invention provide a kind of firmware data transmission method, applied to digital supervision system The first equipment in system, first equipment passes through video counts with the second equipment in the digital monitor system Connected according to transmission channel, methods described comprises the following steps:
Firmware data is obtained, wherein, the firmware that the firmware data includes second equipment is upgraded Required data;
The firmware data is sent to second equipment by the video data transmission passage, so that institute The second equipment is stated to upgrade to firmware according to the firmware data.
Further, in the above method,
It is described by the firmware data by the video data transmission passage be sent to second equipment it Before, methods described also includes:
The firmware data is written to the video data storage region of first equipment;
It is described that the firmware data is sent to second equipment by the video data transmission passage, bag Include:
Firmware data in the video data storage region is sent to by the video data transmission passage Second equipment.
Further, in the above method, the firmware data by the video data storage region passes through institute State video data transmission passage to be sent to before second equipment, methods described also includes:
Digital serial interface SDI stringizations are carried out to the firmware data in the video data storage region;
The firmware data by the video data storage region is sent out by the video data transmission passage Second equipment is given, including:
The firmware data after SDI stringizations will be carried out in the video data storage region to pass by the video data Defeated passage is sent to second equipment.
Further, in the above method, the video counts that the firmware data is write to first equipment Before memory block, methods described also includes:
Data in the firmware data are carried out and computing, obtain operation result, the operation result is made For verification data;
The verification data is added into the firmware data;
The video data storage region that the firmware data is written to first equipment, including:
Firmware data added with the verification data is written to the video data storage of first equipment Area.
Further, in the above method, the video data storage region internal memory contains horizontal blanking data and field disappears Hidden data, wherein,
The firmware data by the video data storage region is sent out by the video data transmission passage Second equipment is given, so that second equipment is upgraded according to the firmware data to firmware, bag Include:
Utilize the horizontal blanking data and the field blanking data in the video data storage region, generation bag Video data bag containing the firmware data in the video data storage region;
The video data bag is sent to second equipment by the video data transmission passage, so that Second equipment extracts the firmware data from the video data bag, and according to the firmware data pair Firmware is upgraded.
On the other hand, the embodiment of the present invention additionally provides a kind of firmware data transmitting device, applied to numeral prison The second equipment in the first equipment in control system, first equipment and the digital monitor system by regarding Frequency data transmission channel is connected, and methods described comprises the following steps:
First firmware data obtains module, for obtaining firmware data, wherein, the firmware data includes The firmware of second equipment upgraded needed for data;
Video data sends module, for the firmware data to be sent by the video data transmission passage To second equipment, so that second equipment is upgraded according to the firmware data to firmware.
Further, said apparatus also includes:Writing module;Wherein,
Said write module is used to store the video data that the firmware data is written to first equipment Area;
The video data sends module specifically for the firmware data in the video data storage region is led to Cross the video data transmission passage and be sent to second equipment.
Further, said apparatus also includes:Digital serial interface SDI stringization modules;Wherein,
The SDI stringizations module is used to carry out data serial to the firmware data in the video data storage region Interface SDI stringizations;
The video data sends module specifically for will be carried out in the video data storage region after SDI stringizations Firmware data second equipment is sent to by the video data transmission passage.
Further, said apparatus also includes:Verification data obtains module and verification data add module;Its In,
The verification data, which obtains module, to be used to carry out and computing the data in the firmware data, is transported Result is calculated, the operation result is regard as verification data;
The verification data add module is used to add the verification data into the firmware data;
Said write module by the firmware data added with the verification data specifically for being written to described The video data storage region of one equipment.
Further, in said apparatus, the video data storage region internal memory contains horizontal blanking data and field disappears Hidden data, wherein,
The video data, which sends module, to be included:
Video data bag generation module, for utilizing the horizontal blanking data in the video data storage region With the field blanking data, generation includes the video counts of the firmware data in the video data storage region According to bag;
Video data bag sending module, for the video data bag to be passed through into the video data transmission passage Second equipment is sent to, so that second equipment extracts the firmware number from the video data bag According to, and firmware is upgraded according to the firmware data.
Another aspect, the embodiment of the present invention additionally provides a kind of firmware data transmission method, applied to numeral prison The first equipment in the second equipment in control system, second equipment and the digital monitor system by regarding Frequency data transmission channel is connected, and methods described comprises the following steps:
The firmware data sent by first equipment by the video data transmission passage is obtained, wherein, The firmware data includes the data needed for the firmware upgrade in second equipment, and the firmware data For first equipment after firmware data is obtained it is transmitted;
According to the firmware data, firmware is upgraded.
Further, in the above method, the firmware data be first equipment obtain firmware data and The firmware data is write transmitted after video data storage region.
Further, in the above method, the firmware data is after digital serial interface SDI stringizations Data, wherein,
It is described according to the firmware data, before upgrading to firmware, methods described also includes:
SDI is carried out to the firmware data obtained to unstring;
It is described that firmware is upgraded according to the firmware data, including:
Firmware data after being unstringed according to SDI, upgrades to firmware.
Further, in the above method, the firmware data includes:Verification data, described in the basis Firmware data, before upgrading to firmware, methods described also includes:
Remainder data in the firmware data of acquisition in addition to verification data is carried out and computing, obtain computing knot Really;
Whether verification data in operation result and the firmware data that reads is identical to judge what is obtained Whether firmware data is accurate, if it is determined that the firmware data obtained is accurate, then performs described according to the firmware Data, upgrade to firmware.
Another aspect, the embodiment of the present invention additionally provides a kind of firmware data transmitting device, applied to numeral prison The first equipment in the second equipment in control system, second equipment and the digital monitor system by regarding Frequency data transmission channel is connected, and described device includes:
Second firmware data obtains module, and the video data transmission is passed through by first equipment for obtaining The firmware data that passage is sent, wherein, the firmware data includes the firmware upgrade in second equipment Required data, and the firmware data is that first equipment is transmitted after firmware data is obtained;
Upgraded module, for according to the firmware data, upgrading to the firmware.
Further, in said apparatus, the firmware data be first equipment obtain firmware data and The firmware data is write transmitted after video data storage region.
Further, in said apparatus, the firmware data is after digital serial interface SDI stringizations Data, wherein, described device also includes:Digital serial interface SDI unstrings module;Wherein,
SDI modules of unstringing are used to carrying out SDI to the firmware data that is obtained unstringing;
The upgraded module specifically for being unstringed according to SDI after firmware data, firmware is upgraded.
Further, in said apparatus, the firmware data includes:Verification data, described device is also wrapped Include:
Operation result obtains module, for the remainder data in the firmware data to acquisition in addition to verification data Carry out and computing, obtain operation result;
Judge module, for whether identical according to operation result and verification data in the firmware data that reads To judge whether the firmware data obtained is accurate, if it is determined that the firmware data obtained is accurate, then according to described Firmware data, upgrades to firmware.
Another further aspect, the embodiment of the present invention additionally provides a kind of digital monitor system, including:First equipment and Second equipment;Wherein,
First equipment is connected by video data transmission passage with second equipment;
First equipment is used to obtain firmware data, and the firmware data is passed by the video data Defeated passage is sent to second equipment, wherein, the firmware data includes the firmware of second equipment Data needed for being upgraded;
Second equipment is used to upgrade to firmware according to the firmware data received.
The embodiments of the invention provide a kind of firmware data transmission method, device and a kind of digital supervision system System.Wherein, the first equipment that this method can apply in digital monitor system, the first equipment is supervised with numeral The second equipment in control system is connected by video data transmission passage, and this method comprises the following steps:Obtain Firmware data, wherein, firmware data include the second equipment firmware upgraded needed for data;Will be solid Number of packages by video data transmission passage according to the second equipment is sent to, so that the second equipment is according to firmware data pair Firmware is upgraded.As can be seen that in the embodiment of the present invention, the upgrading of firmware need not lead in the second equipment Cross the physical channel of special transmission firmware data to realize, directly by between the first equipment and the second equipment It is originally used for the video data transmission passage of transmitting video data, it is not necessary to connect up in addition, therefore upgrading behaviour Implement very convenient, while also reducing the cost of upgrading.Further, since video data transmission is logical The bandwidth in road can typically reach 1.5Gbps, and it is much larger than the thing for being used to transmit firmware data in the prior art The bandwidth of passage is managed, therefore, the time for being used to transmit firmware data compared with prior art, in the present invention will It can greatly shorten, the efficiency of transmission of firmware data will be greatly improved, correspondingly, be spent needed for firmware upgrade Time also can correspondingly shorten, so as to enormously simplify the upgrade maintenance of firmware.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to implementing The accompanying drawing used required in example or description of the prior art is briefly described, it should be apparent that, describe below In accompanying drawing be only some embodiments of the present invention, for those of ordinary skill in the art, do not paying On the premise of going out creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the flow of the firmware data transmission method provided in an embodiment of the present invention for being applied to the first equipment Figure;
Fig. 2 is in the embodiment of the present invention, the data in the video output buffer of the first equipment is filling in firmware Composition figure before data;
Fig. 3 is in the embodiment of the present invention, the data in the video output buffer of the first equipment is filling in firmware Composition figure after data;
Fig. 4 is the schematic diagram upgraded by DVR to display;
Fig. 5 is the structural frames of the firmware data transmitting device provided in an embodiment of the present invention for being applied to the first equipment Figure;
Fig. 6 is the flow of the firmware data transmission method provided in an embodiment of the present invention for being applied to the second equipment Figure;
Fig. 7 is the structural frames of the firmware data transmitting device provided in an embodiment of the present invention for being applied to the second equipment Figure;
Fig. 8 is the structural representation of digital monitor system provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear Chu, it is fully described by, it is clear that described embodiment is only a part of embodiment of the invention, rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation Property work under the premise of the every other embodiment that is obtained, belong to the scope of protection of the invention.
The embodiments of the invention provide two kinds of firmware data transmission methods, two kinds of firmware data transmitting devices and A kind of digital monitor system, one of which method and apparatus are applied to the first equipment, another method and apparatus Applied to the second equipment.
Wherein, the first equipment can be connected with the second equipment by video data transmission passage.The present embodiment In, the first equipment can be the rear end equipment in digital monitor system, and the second equipment can be digital supervision system Headend equipment in system, video data transmission passage can be used for the coaxial cable of transmitting video data for one, Such as CVBS (Composite Video Broadcast Signal, Composite Video Baseband Signal) passage etc..Typically For, the transmission bandwidth for the coaxial cable of transmitting video data is very big, i.e., above-mentioned video data transmission The bandwidth of passage is very big, and it is far longer than is used for the band for transmitting the physical channel of firmware data in the prior art Width, also, the transmission range of the coaxial cable is also far, it might even be possible to reaches hundreds of meters.Video data exists It is one-way transmission in the video data transmission passage, video data is typically from the first equipment to the second equipment It is transmitted.When it is implemented, the first equipment can for DVR (Digital Video Recorder, firmly Disk video recorder) or video synthesis platform, the second equipment can be such as display screen or display matrix Video display devices, so, video data are typically shown to video from DVR or video synthesis platform and filled Put and be transmitted, without being transmitted from video display devices to DVR or video synthesis platform.
Below, first correspond to illustrate for the firmware data transmission method of the first equipment.
Referring to Fig. 1, the flow chart of firmware data transmission method provided in an embodiment of the present invention is shown in figure. In the first equipment that this method can apply in digital monitor system, the first equipment and digital monitor system Second equipment is connected by video data transmission passage.As shown in figure 1, this method comprises the following steps:
Step S101, reads firmware data, wherein, the firmware that firmware data includes the second equipment is risen Data needed for level.
Wherein, can have the CPU and the first video processing module integrated, first in the first equipment Video processing module has video processing function.Specifically, firmware data can be read into it by the first equipment In internal CPU cache.
Step S102, is sent to the second equipment, so that second by firmware data by video data transmission passage Equipment is upgraded according to firmware data to firmware.
When it is implemented, can have CPU, the second video processing module and memory cell in the second equipment, CPU and the second video processing module are integrated, and memory cell is connected with CPU, the second Video processing mould With video processing function.Second equipment can receive solid by its internal frame frame of CPU mono- or a place The firmware data, is then written in memory cell by number of packages evidence online, the firmware data is replaced storage single Original firmware data in first, this completes the renewal of fixed data, so as to complete and the firmware number According to the upgrading of corresponding firmware.
As can be seen that in the embodiment of the present invention, the upgrading of firmware need not pass through special biography in the second equipment The physical channel of defeated firmware data is realized, directly by being originally used between the first equipment and the second equipment passing The video data transmission passage of defeated video data, it is not necessary to connect up in addition, therefore updating operation is implemented It is very convenient, while also reducing the cost of upgrading.Further, since the bandwidth one of video data transmission passage As can reach 1.5Gbps, its much larger than in the prior art be used for transmit firmware data physical channel band Width, therefore, compared with prior art, will be greatly shortened in the present invention for transmitting the time of firmware data, The efficiency of transmission of firmware data will be greatly improved, correspondingly, and the time spent needed for firmware upgrade also can phase Ground is answered to shorten, so as to enormously simplify the upgrade maintenance of firmware.
In the present embodiment, before firmware data is sent into the second equipment by video data transmission passage, This method can also include:
Firmware data is written to the video data storage region of the first equipment.
At this moment, firmware data is sent to the second equipment by video data transmission passage, including:
Firmware data in video data storage region is sent to the second equipment by video data transmission passage. In the present embodiment, there can be a video output buffer in the first video processing module, the video frequency output delays Rushing has video data storage region in device, the region typically acquiescence is used for storing video data.Obtaining firmware After data, firmware data can be read into its internal CPU cache by the first equipment, then, Firmware data in CPU cache can be written to video data storage with a frame frame or a place Area, before firmware data is written to the region, has some invalid data in video data storage region, After firmware data is written to the region, firmware data will replace these originally invalid data, due to Video data storage region is typically that acquiescence is used for storing video data, if other kinds of data are inserted into this In region, then other kinds of data can also be defaulted as video data.Therefore, when firmware data inserts this After in region, firmware data will be defaulted as video data, i.e. firmware data and successfully pretend for video Data, therefore the firmware data of disguise as video data can be successfully in video data in video data storage region Transmitted in transmission channel, and be finally sent to the second equipment, so that the second equipment is entered according to the firmware data Row upgrading.
It should be noted that can also be stored with video data storage region horizontal blanking data and field blanking number According to now, the firmware data in video data storage region being sent into second by video data transmission passage Equipment, so that the second equipment is upgraded according to firmware data to firmware, including:
Using the horizontal blanking data and field blanking data in video data storage region, generation is deposited comprising video data The video data bag of firmware data in storage area;
Video data bag is sent to the second equipment by video data transmission passage so that the second equipment from regarding Firmware data is extracted in frequency packet, and firmware is upgraded according to firmware data.
Specifically, before firmware data is written into video data storage region, as shown in Fig. 2 video counts According in memory block have horizontal blanking data field, field blanking data field and effective row data field, horizontal blanking data field With horizontal blanking data, field blanking data field has field blanking data, and effective row data field is invalid for some Data.Wherein, there are the data for being used for synchronous and timing in horizontal blanking data and field blanking data.Such as Fig. 3 Shown, after firmware data to be write to effective row data area, it is originally invalid that firmware data will replace these Data, to realize the camouflage of firmware data, also, horizontal blanking data, field blanking data and firmware data three Person can generate a video data bag, and the video data bag can be exported from video output buffer, and then this is regarded Frequency packet can be sent to the second equipment through video data transmission passage, in whole transmission process, and row disappears Being used for the data of synchronous and timing in hidden data and field blanking data can ensure video data bag in video counts According to the smooth transmission in transmission channel.For the second equipment, its internal CPU can be with a frame frame or one Place receives video data bag, and extracts from the video data firmware number of disguise as video data According to while abandoning horizontal blanking data and field blanking data, it is single that the firmware data is finally written into storage online In member, the firmware data is set to replace original firmware data in memory cell, this completes fixed data Renewal, so as to complete the upgrading of the firmware corresponding with the firmware data.
Further, in above-described embodiment, the firmware data in video data storage region is being passed through into video counts It is sent to according to transmission channel before the second equipment, this method can also include:
Digital serial interface SDI stringizations are carried out to the firmware data in video data storage region;
Firmware data in video data storage region is sent to the second equipment by video data transmission passage, Including:
The firmware data after SDI stringizations will be carried out in video data storage region to send out by video data transmission passage Give the second equipment.
In the present embodiment, firmware data in video data storage region generally by a parallel output interface from Exported in video output buffer, the firmware data exported at this is parallel data, and in video data transmission The data of transmission are needed for serial data in passage, thus by firmware data inputting video data transmission channel it It is preceding, it is necessary to firmware data carry out SDI stringizations.Wherein, the SDI stringizations process can pass through a SDI stringizations Device is realized.When it is implemented, the SDI serializers can be a SDI stringization chips, the SDI stringization chips Can be integrated in the first equipment, by firmware data after the input of the SDI input ports of SDI stringization chips, SDI stringizations chip can be converted to parallel firmware data serial data signal, and according to sdi signal mark Standard, time synchronizing signal is inserted into data signal, then by the data signal from the SDI of SDI stringization chips Output port is exported, then again will be after SDI stringizations this completes the SDI stringization processes of firmware data Firmware data the second equipment is sent to by video data transmission passage.
It should be noted that in addition to being integrated in the first equipment, SDI stringizations chip, which can also be located at, to be regarded Frequency data transmission channel is close to that one end of the first equipment, and so, the first equipment first exports parallel firmware number According to then firmware data is carried out by video data transmission passage again after completing SDI stringizations through SDI stringizations chip Transmission.
Because the first equipment is believed by video data transmission channel transfer to second equipment for serial numeral Number, the second equipment directly can not upgrade according to the data signal to the second equipment, and if desired firmware is entered Row upgrading, then need first to unstring to data signal progress SDI.Wherein, the SDI processes of unstringing can pass through One SDI deserializer are realized.Chip, the SDI when it is implemented, the SDI deserializers can unstring for a SDI The chip that unstrings can be integrated in the second equipment.For the second equipment, its data signal received from After the SDI input ports input of SDI deserializers, the SDI chips that unstring can be converted to serial data signal Parallel data signal, and time synchronizing signal is peeled off from the parallel data signal, finally give solid Number of packages evidence, and by the firmware data from SDI unstring chip SDI output ports export, this completes SDI unstrings process.
If the firmware data in video data storage region is only sent to the second equipment by the first equipment, then warp Only there is firmware data, the second equipment directly reads the data and counts this in the data that SDI is obtained after unstringing According to can just upgrade in write storage unit to firmware.If the first equipment will be disappeared by horizontal blanking data, field The video data bag of hidden data and firmware data three composition is sent to the second equipment, then after being unstringed through SDI While having horizontal blanking data, field blanking data and firmware data, at this moment, the second equipment in obtained data Firmware data will be only extracted, while horizontal blanking data and field blanking data are abandoned, finally according to firmware data pair Firmware is upgraded.
It should be noted that except being integrated in the second equipment, the SDI chips that unstring can also be located at video counts According to transmission channel close to that one end of the second equipment, the serial number so exported by video data transmission passage It is believed that number first can complete SDI through the SDI chips that unstring and unstring process, the second equipment is then transmitted further to.
It should be noted that the first equipment is in addition to can be for DVR or video synthesis platform, can also For other sdi signal decoding apparatus, the second equipment is in addition to for video display devices, or its His sdi signal code device, the first equipment and the second equipment are specially which kind of dress in digital monitor system Putting can determine according to actual conditions, and the present embodiment does not do any restriction to this.
In above-described embodiment, the firmware data that the second equipment is obtained is not necessarily accurate, therefore also needs to set to second The accuracy of the standby firmware data obtained is verified.
In order to judge the accuracy for the firmware data that the second equipment is obtained, firmware data can be carried out and school Test.Specifically, before firmware data is write into the video data storage region of the first equipment, this method may be used also With including:
Data in firmware data are carried out and computing, obtain operation result, regard operation result as check number According to;
Verification data is added into firmware data;
Firmware data is written to the video data storage region of the first equipment, including:
Firmware data added with verification data is written to the video data storage region of the first equipment.
It is described in detail below pair with the specific implementation process of verification.
If firmware data includes 4 data, and respectively 1,2,3,4, this four data can be entered This four data, i.e., be added, obtain 10, the data are verification data by row and computing.Then by the school Test data to be added in initial firmware data, five data at this moment will be included in firmware data.Then, This five data are received through SDI stringizations, transmission and SDI processes of unstringing by the second equipment successively, the second equipment Preceding four data in five data that can be received to it are carried out and computing, obtain an operation result, so The 5th data that the operation result is got with it afterwards, such as 10 are compared, if both are identical, Illustrate that the firmware data that the second equipment is obtained is very accurate, firmware is updated i.e. then according to the data Can, if both are different, illustrate that the firmware data that the second equipment is obtained is inaccurate, now can be again by the One equipment transmits firmware data to the second equipment, until the acquisition of the second equipment is right again for accurate firmware data Firmware is upgraded.
It should be noted that except with by way of verification come realize firmware data accuracy verification it Outside, it can also be verified using even-odd check or other modes well-known to those skilled in the art, Specific verification mode can determine that the present embodiment does not do any restriction to this according to actual conditions.
With reference to Fig. 4, the firmware in display 2 is upgraded with DVR 1 (i.e. DVR) The specific implementation process of the embodiment of the present invention is described in detail exemplified by situation.
As shown in figure 4, DVR 1 can have CPU1 (not shown)s and SDI stringizations chip 3, The first video processing module can be integrated with CPU1.Display 2 can have CPU2 and SDI unstring chip The second video processing module can be integrated with 4, CPU2.Wherein, VPORT1 is the one of DVR 1 Individual interface.SDI stringizations chip 3 can be model GV7600 string chip, and SDI unstrings chip 4 can be with The model GV7601 chip that unstrings, certainly, SDI stringizations chip 3 and SDI unstring chip 4 chip simultaneously Not limited to this, can specifically be determined, the present embodiment does not do any restriction to this according to actual conditions.As schemed Shown in 4, CPU1 can first read the data in display 2 needed for firmware upgrade, then by firmware data one It is written in the video output buffer in the first video processing module, then from the defeated of the buffer frame frame The frame frame of exit port one ground parallel output, at this moment, the data of output are included by horizontal blanking data, field blanking number According to the video data bag constituted with firmware data three, also, data in the video data bag are parallel Data.Then parallel firmware data is converted into by SDI stringizations chip 3 by serial data signal, and pressed According to sdi signal standard, time synchronizing signal is inserted into data signal, to complete the SDI stringizations of data.Connect By CVBS passages and the data after SDI stringizations be sent to CPU2, then SDI unstring chip 4 can be by Serial data signal is converted to parallel data signal and splitting time synchronizing signal, then abandons through SDI Horizontal blanking data and field blanking data in video data bag after unstringing, only extract firmware number therein According to, and the firmware data is written to the plug-in NAND fLASh of CPU (one kind in fLASh internal memories) In, so that the firmware data of write-in replaces original firmware data, so as to complete the renewal of firmware data, most The upgrading of firmware is completed eventually.
To sum up, firmware data transmission method provided in an embodiment of the present invention reduces the cost of firmware upgrade, together When significantly shorten time needed for firmware upgrade.
Then, the firmware data transmitting device applied to the first equipment is illustrated.
Referring to Fig. 5, the structured flowchart of firmware data transmitting device provided in an embodiment of the present invention is shown in figure. In the first equipment that the device can apply in digital monitor system, the first equipment and digital monitor system Second equipment is connected by video data transmission passage.As shown in figure 5, the device includes:
First firmware data obtains module 51, for obtaining firmware data, wherein, firmware data includes the The firmware of two equipment upgraded needed for data;
Video data sends module 52, for firmware data to be sent into second by video data transmission passage Equipment, so that the second equipment is upgraded according to firmware data to firmware.
Wherein, the specific implementation process of the device is with reference to the specific implementation process in above method embodiment Can, it will not be repeated here.
Because the firmware data transmission method applied to the first equipment has above-mentioned technique effect, therefore based on the party The device of method also has corresponding technique effect.
Further, said apparatus also includes:Writing module;Wherein,
Writing module is used for the video data storage region that firmware data is written to the first equipment;
Video data sends module specifically for the firmware data in video data storage region is passed through into video counts The second equipment is sent to according to transmission channel.
Further, said apparatus also includes:Digital serial interface SDI stringization modules;Wherein,
SDI stringizations module is used to carry out digital serial interface SDI to the firmware data in video data storage region Stringization;
Video data sends module specifically for will carry out the firmware number after SDI stringizations in video data storage region The second equipment is sent to according to by video data transmission passage.
Further, said apparatus also includes:Verification data obtains module and verification data add module;Its In,
Verification data, which obtains module, to be used to carry out and computing the data in firmware data, obtains operation result, It regard operation result as verification data;
Verification data add module is used to add verification data into firmware data;
Writing module is specifically for the firmware data added with verification data to be written to the video of the first equipment Data storage area.
Further, in said apparatus, video data storage region internal memory contains horizontal blanking data and field blanking number According to, wherein,
Video data, which sends module, to be included:
Video data bag generation module, for utilizing the horizontal blanking data in video data storage region and field blanking Data, generation includes the video data bag of the firmware data in video data storage region;
Video data bag sending module, for video data bag to be sent into by video data transmission passage Two equipment, so that the second equipment extracts firmware data from video data bag, and according to firmware data to firmware Upgraded.To sum up, firmware data transmitting device provided in an embodiment of the present invention reduce firmware upgrade into This, while the time needed for significantly shortening firmware upgrade.
Below, the firmware data transmission method applied to the second equipment is illustrated.
Referring to Fig. 6, the flow chart of firmware data transmission method provided in an embodiment of the present invention is shown in figure. In the second equipment that this method can apply in digital monitor system, the second equipment and digital monitor system First equipment is connected by video data transmission passage.As shown in fig. 6, this method comprises the following steps:
Step S601, obtains the firmware data sent by the first equipment by video data transmission passage, wherein, Firmware data includes the data needed for the firmware upgrade in the second equipment, and firmware data is that the first equipment exists Transmitted by after acquisition firmware data;
Step S602, according to firmware data, upgrades to firmware.
As can be seen that in the embodiment of the present invention, the firmware in the second equipment carries out upgrading need not be by special The physical channel of transmission firmware data realize, directly transmit firmware number by video data transmission passage According to, thus firmware data transmission method provided in an embodiment of the present invention greatly reduce firmware upgrade into This, while also significantly shortening the time needed for firmware upgrade.
In the present embodiment, firmware data is that the first equipment is obtaining firmware data and firmware data is write into video Transmitted by after data storage area.So, firmware data is writing the video data storage region of the first equipment In after will successfully disguise as video data so that firmware data can be successfully in video data transmission Transmitted in passage.
Further, in the above method, firmware data is the data after digital serial interface SDI stringizations, Wherein,
According to firmware data, before upgrading to firmware, this method also includes:
SDI is carried out to the firmware data obtained to unstring;
According to firmware data, firmware is upgraded, including:
Firmware data after being unstringed according to SDI, upgrades to firmware.
Further, in the above method, firmware data includes:Verification data is right according to firmware data Before firmware is upgraded, this method also includes:
Remainder data in the firmware data of acquisition in addition to verification data is carried out and computing, obtain computing knot Really;
Whether verification data in operation result and the firmware data that reads is identical to judge what is obtained Whether firmware data is accurate, if it is determined that the firmware data obtained is accurate, then performs according to firmware data, right Firmware is upgraded.
To sum up, firmware data transmitting device provided in an embodiment of the present invention reduces the cost of firmware upgrade, together When significantly shorten time needed for firmware upgrade.
The firmware data transmitting device applied to the second equipment is illustrated below.
Referring to Fig. 7, the structured flowchart of firmware data transmitting device provided in an embodiment of the present invention is shown in figure. In the second equipment that the device can apply in digital monitor system, the second equipment and digital monitor system First equipment is connected by video data transmission passage.As shown in fig. 7, the device includes:
Second firmware data obtains module 71, is sent out for obtaining by the first equipment by video data transmission passage The firmware data sent, wherein, firmware data includes the data needed for the firmware upgrade in the second equipment, and Firmware data is that the first equipment is transmitted after firmware data is obtained;Upgraded module 72, for according to solid Number of packages evidence, upgrades to firmware.
Because the firmware data transmission method applied to the second equipment has the effect above, therefore based on this method Device also has corresponding technique effect, will not be repeated here.
Further, said apparatus, firmware data, which is the first equipment, is obtaining firmware data and by firmware data Transmitted by after write-in video data storage region.
Further, in said apparatus, firmware data is the data after digital serial interface SDI stringizations, Wherein, the device also includes:Digital serial interface SDI unstrings module;Wherein, SDI unstring module be used for pair The firmware data of acquisition carries out SDI and unstringed;
Upgraded module specifically for being unstringed according to SDI after firmware data, firmware is upgraded.
Further, in said apparatus, firmware data includes:Verification data, the device also includes:
Operation result obtains module, for the remainder data in the firmware data to acquisition in addition to verification data Carry out and computing, obtain operation result;
Judge module, for whether identical according to operation result and verification data in the firmware data that reads To judge whether the firmware data obtained is accurate, if it is determined that the firmware data obtained is accurate, then according to firmware Data, upgrade to firmware.To sum up, firmware data transmitting device provided in an embodiment of the present invention is reduced The cost of firmware upgrade, while the time needed for significantly shortening firmware upgrade.
Finally digital monitor system provided in an embodiment of the present invention is illustrated.
Referring to Fig. 8, the structural representation of digital monitor system provided in an embodiment of the present invention is shown in figure. As shown in figure 8, the digital monitor system includes:First equipment 81 and the second equipment 83.Wherein, first set Standby 81 are connected by video data transmission passage 82 with the second equipment 83.First equipment 81 is used to obtain firmware Data, and firmware data is sent to the second equipment 83 by video data transmission passage 82, wherein, firmware Data include the second equipment 83 firmware upgraded needed for data.Second equipment 83 is used for according to reception To firmware data firmware is upgraded.
As can be seen that in the embodiment of the present invention, the firmware in the second equipment 83, which carries out upgrading, to be passed through The physical channel of special transmission firmware data is realized, is directly passed by video data transmission passage 82 Defeated firmware data, therefore for digital monitor system provided in an embodiment of the present invention, the second equipment 83 The upgrade cost of interior firmware will be substantially reduced, also, the time needed for the firmware upgrade can also contract significantly It is short.
It should be noted that herein, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these There is any this actual relation or order between entity or operation.Moreover, term " comprising ", " bag Containing " or any other variant thereof is intended to cover non-exclusive inclusion, so that including a series of key elements Process, method, article or equipment not only include those key elements, but also including being not expressly set out Other key elements, or also include for this process, method, article or the intrinsic key element of equipment. In the case of there is no more limitations, the key element limited by sentence "including a ...", it is not excluded that including Also there is other identical element in process, method, article or the equipment of the key element.
Each embodiment in this specification is described by the way of related, identical phase between each embodiment As part mutually referring to, what each embodiment was stressed be it is different from other embodiment it Place.For system embodiment, because it is substantially similar to embodiment of the method, so description Fairly simple, the relevent part can refer to the partial explaination of embodiments of method.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the protection model of the present invention Enclose.Any modification, equivalent substitution and improvements made within the spirit and principles of the invention etc., are wrapped Containing within the scope of the present invention.

Claims (12)

1. a kind of firmware data transmission method, it is characterised in that applied to first in digital monitor system Equipment, first equipment passes through video data transmission passage with the second equipment in the digital monitor system Connection, methods described comprises the following steps:
Firmware data is obtained, wherein, the firmware that the firmware data includes second equipment is upgraded Required data;
The firmware data is sent to second equipment by the video data transmission passage, so that institute The second equipment is stated to upgrade to firmware according to the firmware data.
2. the method as described in claim 1, it is characterised in that
It is described by the firmware data by the video data transmission passage be sent to second equipment it Before, methods described also includes:
The firmware data is written to the video data storage region of first equipment;
It is described that the firmware data is sent to second equipment by the video data transmission passage, bag Include:
Firmware data in the video data storage region is sent to by the video data transmission passage Second equipment.
3. method as claimed in claim 2, it is characterised in that described by the video data storage region Firmware data be sent to by the video data transmission passage before second equipment, methods described is also Including:
Digital serial interface SDI stringizations are carried out to the firmware data in the video data storage region;
The firmware data by the video data storage region is sent out by the video data transmission passage Second equipment is given, including:
The firmware data after SDI stringizations will be carried out in the video data storage region to pass by the video data Defeated passage is sent to second equipment.
4. method as claimed in claim 2, it is characterised in that described that firmware data write-in is described Before the video data storage region of first equipment, methods described also includes:
Data in the firmware data are carried out and computing, obtain operation result, the operation result is made For verification data;
The verification data is added into the firmware data;
The video data storage region that the firmware data is written to first equipment, including:
Firmware data added with the verification data is written to the video data storage of first equipment Area.
5. the method as any one of claim 1-4, it is characterised in that the video data storage Area's internal memory contains horizontal blanking data and field blanking data, wherein,
The firmware data by the video data storage region is sent out by the video data transmission passage Second equipment is given, so that second equipment is upgraded according to the firmware data to firmware, bag Include:
Utilize the horizontal blanking data and the field blanking data in the video data storage region, generation bag Video data bag containing the firmware data in the video data storage region;
The video data bag is sent to second equipment by the video data transmission passage, so that Second equipment extracts the firmware data from the video data bag, and according to the firmware data pair Firmware is upgraded.
6. a kind of firmware data transmitting device, it is characterised in that applied to first in digital monitor system Equipment, first equipment passes through video data transmission passage with the second equipment in the digital monitor system Connection, described device includes:
First firmware data obtains module, for obtaining firmware data, wherein, the firmware data includes The firmware of second equipment upgraded needed for data;
Video data sends module, for the firmware data to be sent by the video data transmission passage To second equipment, so that second equipment is upgraded according to the firmware data to firmware.
7. a kind of firmware data transmission method, it is characterised in that applied to second in digital monitor system Equipment, second equipment passes through video data transmission passage with the first equipment in the digital monitor system Connection, methods described comprises the following steps:
The firmware data sent by first equipment by the video data transmission passage is obtained, wherein, The firmware data includes the data needed for the firmware upgrade in second equipment, and the firmware data For first equipment after firmware data is obtained it is transmitted;
According to the firmware data, firmware is upgraded.
8. method as claimed in claim 7, it is characterised in that the firmware data is first equipment Transmitted by after obtaining firmware data and the firmware data is write to video data storage region.
9. method as claimed in claim 7, it is characterised in that the firmware data is to pass through data serial Data after interface SDI stringizations, wherein,
It is described according to the firmware data, before upgrading to firmware, methods described also includes:
SDI is carried out to the firmware data obtained to unstring;
It is described that firmware is upgraded according to the firmware data, including:
Firmware data after being unstringed according to SDI, upgrades to firmware.
10. method as claimed in claim 7, it is characterised in that the firmware data includes:Verification Data, described according to the firmware data, before upgrading to firmware, methods described also includes:
Remainder data in the firmware data of acquisition in addition to verification data is carried out and computing, obtain computing knot Really;
Whether verification data in operation result and the firmware data that reads is identical to judge what is obtained Whether firmware data is accurate, if it is determined that the firmware data obtained is accurate, then performs described according to the firmware Data, upgrade to firmware.
11. a kind of firmware data transmitting device, it is characterised in that applied to second in digital monitor system Equipment, second equipment passes through video data transmission passage with the first equipment in the digital monitor system Connection, described device includes:
Second firmware data obtains module, and the video data transmission is passed through by first equipment for obtaining The firmware data that passage is sent, wherein, the firmware data includes the firmware upgrade in second equipment Required data, and the firmware data is that first equipment is transmitted after firmware data is obtained;
Upgraded module, for according to the firmware data, upgrading to firmware.
12. a kind of digital monitor system, it is characterised in that including:First equipment and the second equipment;Wherein,
First equipment is connected by video data transmission passage with second equipment;
First equipment is used to obtain firmware data, and the firmware data is passed by the video data Defeated passage is sent to second equipment, wherein, the firmware data includes the firmware of second equipment Data needed for being upgraded;
Second equipment is used to upgrade to firmware according to the firmware data received.
CN201610023517.1A 2016-01-14 2016-01-14 A kind of firmware data transmission method, device and a kind of digital monitor system Active CN106973254B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610023517.1A CN106973254B (en) 2016-01-14 2016-01-14 A kind of firmware data transmission method, device and a kind of digital monitor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610023517.1A CN106973254B (en) 2016-01-14 2016-01-14 A kind of firmware data transmission method, device and a kind of digital monitor system

Publications (2)

Publication Number Publication Date
CN106973254A true CN106973254A (en) 2017-07-21
CN106973254B CN106973254B (en) 2019-11-22

Family

ID=59334826

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610023517.1A Active CN106973254B (en) 2016-01-14 2016-01-14 A kind of firmware data transmission method, device and a kind of digital monitor system

Country Status (1)

Country Link
CN (1) CN106973254B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107404490A (en) * 2017-08-09 2017-11-28 湖南康通电子股份有限公司 Broadcast terminal and data updating method
CN107888976A (en) * 2017-11-20 2018-04-06 武汉精测电子集团股份有限公司 A kind of program upgrade apparatus and upgrade method based on LVDS signal wires

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1934515A (en) * 2002-08-30 2007-03-21 皇家飞利浦电子股份有限公司 Version-programmable circuit module
KR20080017181A (en) * 2006-08-21 2008-02-26 주식회사 에이텍 Apparatus for upgrade of software using broadcasting signal and method thereof
US20100157153A1 (en) * 2008-11-20 2010-06-24 Advanced Micro Devices, Inc. Upgrading Non-Volatile Storage Via an Encoded Video Signal
CN102123170A (en) * 2011-01-21 2011-07-13 中兴通讯股份有限公司 Method and device for upgrading firmware version
CN102354286A (en) * 2011-09-16 2012-02-15 天津市亚安科技股份有限公司 System for realizing reliable online remote upgrading of cloud deck
CN202351855U (en) * 2011-08-25 2012-07-25 杭州海康威视数字技术股份有限公司 Upgrading system for IO (Input/Output) expansion board
CN102609286A (en) * 2012-02-10 2012-07-25 株洲南车时代电气股份有限公司 System for updating FPGA (Field Programmable Gate Array) configuration program from a long distance based on control of processor and method therefor
CN102915249A (en) * 2012-11-02 2013-02-06 苏州科达科技股份有限公司 Method and device for remotely realizing firmware updating
CN203966106U (en) * 2014-07-24 2014-11-26 浙江宇视科技有限公司 Software updating apparatus and system
CN104253900A (en) * 2013-06-28 2014-12-31 展讯通信(上海)有限公司 Smart phone and data transmission method and data transmission system thereof
CN105100680A (en) * 2014-04-21 2015-11-25 浙江大华技术股份有限公司 Video monitoring method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1934515A (en) * 2002-08-30 2007-03-21 皇家飞利浦电子股份有限公司 Version-programmable circuit module
KR20080017181A (en) * 2006-08-21 2008-02-26 주식회사 에이텍 Apparatus for upgrade of software using broadcasting signal and method thereof
US20100157153A1 (en) * 2008-11-20 2010-06-24 Advanced Micro Devices, Inc. Upgrading Non-Volatile Storage Via an Encoded Video Signal
CN102123170A (en) * 2011-01-21 2011-07-13 中兴通讯股份有限公司 Method and device for upgrading firmware version
CN202351855U (en) * 2011-08-25 2012-07-25 杭州海康威视数字技术股份有限公司 Upgrading system for IO (Input/Output) expansion board
CN102354286A (en) * 2011-09-16 2012-02-15 天津市亚安科技股份有限公司 System for realizing reliable online remote upgrading of cloud deck
CN102609286A (en) * 2012-02-10 2012-07-25 株洲南车时代电气股份有限公司 System for updating FPGA (Field Programmable Gate Array) configuration program from a long distance based on control of processor and method therefor
CN102915249A (en) * 2012-11-02 2013-02-06 苏州科达科技股份有限公司 Method and device for remotely realizing firmware updating
CN104253900A (en) * 2013-06-28 2014-12-31 展讯通信(上海)有限公司 Smart phone and data transmission method and data transmission system thereof
CN105100680A (en) * 2014-04-21 2015-11-25 浙江大华技术股份有限公司 Video monitoring method and device
CN203966106U (en) * 2014-07-24 2014-11-26 浙江宇视科技有限公司 Software updating apparatus and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107404490A (en) * 2017-08-09 2017-11-28 湖南康通电子股份有限公司 Broadcast terminal and data updating method
CN107888976A (en) * 2017-11-20 2018-04-06 武汉精测电子集团股份有限公司 A kind of program upgrade apparatus and upgrade method based on LVDS signal wires
CN107888976B (en) * 2017-11-20 2020-08-11 武汉精测电子集团股份有限公司 Program upgrading device and upgrading method based on LVDS signal lines

Also Published As

Publication number Publication date
CN106973254B (en) 2019-11-22

Similar Documents

Publication Publication Date Title
CN101877207B (en) A kind of LED display screen system and control method
CN107070553A (en) A kind of unidirectional transmission system and its method based on visible light communication
CN106598889A (en) SATA (Serial Advanced Technology Attachment) master controller based on FPGA (Field Programmable Gate Array) sandwich plate
CN103020395B (en) The verification method of demultiplexing interface module and verification system
CN106296872B (en) Test flight data recording device and record and the method for reading test data
CN103685060B (en) data packet sending method and device
CN206673969U (en) A kind of unidirectional transmission system based on visible light communication
CN104750588A (en) Serial port communication based pressure testing method
KR100911162B1 (en) Satellite Mission Control Apparatus
CN101262304A (en) A data stream parsing method based on universal communication data format
CN104133963B (en) FPGA hardware abstraction layer based on high-speed serial bus and implement method thereof
CN107396022A (en) Data transmission device and liquid crystal display device
CN108462620B (en) Gilbert-level SpaceWire bus system
CN106973254A (en) A kind of firmware data transmission method, device and a kind of digital monitor system
CN104780019A (en) Method for storing optical fiber communication data
CN100594506C (en) Data uploading transmission extension card apparatus embeded in computer
CN106851233A (en) A kind of HD video optical transmitter and receiver EDID information auto updating methods and device
CN104780123B (en) A kind of network pack receiving and transmitting processing unit and its design method
CN105591839A (en) Device, method and system of testing network exchange chip
GB2467455A (en) Integrating digital rights management and payment information
CN103634229B (en) A kind of Inter-chip communication method and control device
CN107317670A (en) A kind of video chaotic secret communication system and method
CN113498597B (en) PCIe-based data transmission method and device
CN101577598A (en) Multiple signal multiplexing and demultiplexing methods, devices and systems
CN104991848A (en) Method and system for implementing Key code burning on basis of MSComm control

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant