CN104346187B - The method for upgrading software of display screen video control card - Google Patents

The method for upgrading software of display screen video control card Download PDF

Info

Publication number
CN104346187B
CN104346187B CN201310341941.7A CN201310341941A CN104346187B CN 104346187 B CN104346187 B CN 104346187B CN 201310341941 A CN201310341941 A CN 201310341941A CN 104346187 B CN104346187 B CN 104346187B
Authority
CN
China
Prior art keywords
software
upgrading
upgrade package
video control
control card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310341941.7A
Other languages
Chinese (zh)
Other versions
CN104346187A (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.)
Xian Novastar Electronic Technology Co Ltd
Original Assignee
Xian Novastar Electronic 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 Xian Novastar Electronic Technology Co Ltd filed Critical Xian Novastar Electronic Technology Co Ltd
Priority to CN201310341941.7A priority Critical patent/CN104346187B/en
Publication of CN104346187A publication Critical patent/CN104346187A/en
Application granted granted Critical
Publication of CN104346187B publication Critical patent/CN104346187B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to a kind of method for upgrading software of display screen video control card, mainly solve existing asynchronous control-card can not directly upgrading terminals software the problem of, the method for upgrading software provides convenient and high reliability for the terminal software upgrading of asynchronous control-card.Specifically, the method for upgrading software, comprises the following steps:(1) software upgrade package is provided to the specified path of the storage device of video control card, and wherein software upgrade package includes the application program and updated boot programs of upgrading;(2) the former updated boot programs in the storage device of video control card are backuped into backup path from original route, and the former updated boot programs after backup is registered as into start self-starting;And (3) video control card restarts and detects that specified path whether there is software upgrade package, if detecting, the application program and updated boot programs of the upgrading application program to be upgraded in storage device and the former updated boot programs before backup being substituted for respectively in software upgrade package.

Description

The method for upgrading software of display screen video control card
Technical field
The present invention relates to a kind of method for upgrading software, particularly a kind of software upgrading side of display screen video control card Method.
Background technology
Existing LED display control system can be distinguished into LED display Synchronization Control system according to the difference of control mode System and LED display asynchronous control system.Wherein, LED display synchronous control system generally mainly include host computer and Sending card, host computer is connected by sending card with LED display, therefore the content and upper meter of LED display broadcasting The content that calculation machine sowing is put is consistent, and host computer LED display if shutdown will be unable to continue to play media.LED display Asynchronous control system then mainly includes asynchronous control-card, and the asynchronous control-card incorporates the host computer in synchronous control system With the function of sending card, it is believed that asynchronous control-card is the simplification version of the function integration of host computer and sending card, therefore LED display need not be connected to computer when playing media, reach the purpose of LED display asynchronous play media.
Asynchronous control-card has been typically embedded into terminal software, but existing asynchronous control-card can not directly upgrading terminals it is soft Part.If desired upgrading terminals software, widespread practice is to change asynchronous control-card or upgrading embedded OS.In addition, by Terminal software in the asynchronous control-card for being unable to remote upgrade LED display, can so bring very big to terminal software upgrading Inconvenience.
The content of the invention
The present invention provides a kind of method for upgrading software of display screen video control card, mainly solves existing asynchronous control Fabrication can not directly upgrading terminals software the problem of, the method for upgrading software provides for the terminal software upgrading of asynchronous control-card It is convenient and safe.
Specifically, a kind of method for upgrading software for display screen video control card that the present invention is provided, comprises the following steps: (1) software upgrade package is provided to the specified path of the storage device of video control card, and wherein software upgrade package includes answering for upgrading With program and updated boot programs;(2) the former updated boot programs in the storage device of video control card are backed up from original route Start self-starting is registered as to backup path, and by the former updated boot programs after backup;And (3) video control card is again Start and detect that specified path whether there is software upgrade package, if detecting software upgrade package, the storage of video control card is set Former updated boot programs before standby upper application program to be upgraded and backup are substituted for the upgrading in software upgrade package respectively Application program and updated boot programs.
In an embodiment of the present invention, the specified path of storage device of the above-mentioned offer software upgrade package to video control card The step of for example including:Video control card receives software upgrade package with remote mode;By the received software upgrade package It is stored in the specified path of the storage device of video control card.Further, above-mentioned offer software upgrade package is to video control card The specified path of storage device may also include step:Video control card receives the condition code of software upgrade package with remote mode; Video control card calculates the condition code of received software upgrade package;And judge what is calculated obtained condition code and receive Whether condition code is consistent, to realize the verification of correctness of upgrading software kit.
In an embodiment of the present invention, when software upgrade package of the above-mentioned software upgrade package received for compression and encryption, The step of then providing specified path of the software upgrade package to the storage device of video control card may also include:To what is compressed and encrypt Processing is decrypted in software upgrade package, with the compressed software AKU after being decrypted.
In an embodiment of the present invention, in the above-mentioned storage device by video control card application program to be upgraded and standby Former updated boot programs before part are substituted for the application program and the step of updated boot programs of the upgrading in software upgrade package respectively Suddenly for example including:The file where former updated boot programs before deletion application program to be upgraded and backup;And utilize Software upgrade package generates the file of the deletion, to realize replacement operation.More specifically, being generated using software upgrade package described The step of file of deletion, may include:Software upgrade package is decompressed on the original route being reduced to where the file of the deletion, And the file identical folder name of imparting and the deletion.
In an embodiment of the present invention, above-mentioned upgrade method may also include step:After replacement operation is completed, video control Application program after the upgrading of card automatic start.
In an embodiment of the present invention, the quantity of video control card can be multiple, be arranged respectively at different display screens On, the multiple video control card synchronously or one by one receives software upgrade package with remote mode.In addition, these display screens are, for example, In same LAN or wide area network.
In an embodiment of the present invention, above-mentioned video control card is for example disposed on LED display, and video control card is deposited Broadcasting media are contained to realize the purpose of LED display asynchronous play media.
Compared with prior art, method for upgrading software of the invention may include advantages below:The software upgrading side of the present invention It is the terminal software in asynchronous control-card the problem of scaling difficulty that method, which solves asynchronous control-card terminal software under complex environment, Upgrading provides convenient and high reliability, and greatly improves the success rate of software upgrading.
By the detailed description below with reference to accompanying drawing, other side and feature of the invention becomes obvious.But should know Road, the accompanying drawing is only the purpose design explained, not as the restriction of the scope of the present invention, because it should refer to Appended claims.It should also be noted that unless otherwise noted, it is not necessary to scale accompanying drawing, they only try hard to concept Ground illustrates structure described herein and flow.
Brief description of the drawings
Below in conjunction with accompanying drawing, the embodiment to the present invention is described in detail.
Fig. 1 is a kind of flow chart of the method for upgrading software of display screen video control card of the embodiment of the present invention.
A kind of upgrading hardware structure schematic diagram that Fig. 2 method for upgrading software shown in Fig. 1 is used.
Embodiment
Further to illustrate the present invention to reach the technological means and effect that predetermined goal of the invention is taken, below in conjunction with Accompanying drawing and preferred embodiment, to according to a kind of the specific of method for upgrading software of display screen video control card proposed by the present invention Embodiment, step, feature and effect, are described in detail as follows.
For the present invention foregoing and other technology contents, feature and effect, in the following preferable reality coordinated with reference to schema Applying during example is described in detail to be clearly presented.By the explanation of embodiment, when predetermined mesh can be reached to the present invention The technological means taken and effect be able to more deeply and it is specific understand, but institute's accompanying drawings are only to provide with reference to saying It is bright to be used, not for being any limitation as to the present invention.
Below in conjunction with software upgrading sides of the Fig. 1 and Fig. 2 to a kind of display screen video control card of the embodiment of the present invention Method is described in detail.Specifically, by taking asynchronous control-card as an example, as shown in figure 1, the display screen asynchronous control-card of the present embodiment Method for upgrading software mainly include step S110, step S130 and step S150, be described in detail below:
Step S110:Software upgrade package is provided to the specified path of the storage device of asynchronous control-card, wherein software of upgrading Include the application program and updated boot programs of upgrading.Specifically Fig. 2 can be used there is provided software upgrade package to asynchronous control-card Shown upgrading hardware structure, in fig. 2, display screen 201-20n are each configured with asynchronous control-card, and asynchronous control-card can be deposited Storage plays media to realize the purpose of the display screen asynchronous play media, and display screen 201-20n can be LED display;Broadcast Control center 10 is interconnected by the asynchronous control-card formation on network such as LAN or wide area network and multiple display screen 201-20n. It should be noted that asynchronous control-card can be disposed on each affiliated display screen 201-20n or and display screen 201-20n is provided separately.
First, pack obtaining software upgrading in the application program and updated boot programs of 10 pairs of upgradings of broadcasting centre Bag;Then, software upgrade package packing obtained is compressed processing;Software upgrade package after handling again compression afterwards is carried out Encryption, specific cipher mode can use existing encryption technology encryption-decryption algorithm such as RC2, AES.Here, pressure Software upgrade package after contracting and encryption will be sent to asynchronous control-card on each display screen 201-20n for soft by network Part upgrading is used.
In addition, being stuck in the software received after compression and encryption for ease of the asynchronous controlling on each display screen 201-20n Correctness verification can be carried out to the software upgrade package received, broadcasting centre 10 can further generate soft after compression after AKU The condition code of part AKU, this kind of condition code is a kind of fingerprint based on file content, such as MD5 codes.Wherein, MD5 codes are message-digest algorithm5(Md5-challenge)Abbreviation, be widely used in encryption and decryption technology on, it Can be described as " digital finger-print " of file, any one file, either executable program, image file, temporary file or Other any kind of files, it is much regardless of its volume, have and the unique MD5 codes of only one of which, and if this Individual file is modified, and its MD5 codes will also change therewith.Therefore condition code of this kind based on file content can be used as Judge the integrality of file transmission and the foundation of correctness.
Then, the pressure that the asynchronous control-card on each display screen 201-20n is provided by Network Capture broadcasting centre 10 After the condition code of the software upgrade package and software upgrade package of contracting and encryption, after the compression received and the software upgrade package of encryption Processing is decrypted to obtain compressed software AKU, the condition code (or referred to as fingerprint) of the compressed software AKU is calculated, And judge whether the software upgrade package condition code for calculating obtained condition code with receiving is consistent, if unanimously, then it represents that connect The software upgrade package received is correct and complete software upgrade package.Compressed software AKU after the decryption will be stored in asynchronous Specified path in the storage device of control card, storage device herein is, for example, flash memory, EEPROM etc..In addition, being worth explanation , the asynchronous control-card on each display screen 201-20n can be that the compression is synchronously received with remote mode and is encrypted Software upgrade package or the software upgrade package for receiving the compression and encryption one by one with remote mode.
Step S130:Former updated boot programs in the storage device of asynchronous control-card are backuped into backup road from original route Footpath, and the former updated boot programs after backup are registered as into start self-starting.Specifically, each display screen 201-20n's Asynchronous control-card is received after correct software upgrade package by network, can be first by the original in the storage device of asynchronous control-card Updated boot programs backup to other paths from original route, and the former updated boot programs backuped on other paths are registered as System boot self-starting;Here, the former updated boot programs of backup to the purpose in other paths be because of:More effective different In the software upgrade process for walking control card, it usually needs unload application program to be upgraded, one of specific way is to treat File where the application program of upgrading is deleted, by the new file copy of the application program comprising upgrading to the file deleted The home position of folder, but taken in sometimes application program by some processes so that original file deletes failure, causes Upgrading can not be normally carried out, and cause upgrading to fail;And former updated boot programs would generally be located at together with application program to be upgraded Under one file, system boot is registered as again certainly so if former updated boot programs are not backuped to after other positions Startup item, then can be currently running due to former ROMPaq, cause the file to be deleted not delete.As can be seen here, it is of the invention Former updated boot programs being backuped to other positions and the former updated boot programs for backuping to other positions are noted in embodiment Volume can greatly promote the success rate of software upgrading for the way of start self-starting.
Step S150:Asynchronous control-card restarts and detects that above-mentioned specified path whether there is compressed software AKU, If detecting software upgrade package, the original before the application program to be upgraded in the storage device of asynchronous control-card and backup is risen Level bootstrap is substituted for the application program and updated boot programs of the upgrading in software upgrade package respectively.Specifically, will be standby Part is registered as after start self-starting to the former updated boot programs (namely former updated boot programs after backup) of other positions, Asynchronous control-card restarts, the former updated boot programs after operation backup, and detects the above-mentioned specified path of asynchronous control-card With the presence or absence of the compressed software AKU received, if detecting the compressed software AKU, application to be upgraded is deleted The file where former updated boot programs before program and backup, and decompress the compressed software AKU to generate the deletion File, realize the replacement of folder content.Here, when being decompressed to compressed software AKU, the position of decompression It is respectively the title of original route where deleted file and the file deleted with the Folder Name after decompression. So far, then the application program and updated boot programs of upgrading replacing to application program to be upgraded and former updated boot programs are completed Change.
Finally, after above-mentioned replace it is completed, the application program after asynchronous control-card meeting automatic start upgrading starts successfully Whether the foundation that upgrades successfully can be discriminated whether as user.Journey is guided as the upgrading for replacing former updated boot programs Sequence, then be used as progress software upgrading later.
What deserves to be explained is, the above embodiment of the present invention is to carry out terminal software to asynchronous control-card in long-range mode Upgrade, but the present invention is not limited thereto, and also pressure can be provided in the way of direct copying by movable storage device, such as USB flash disk Contracting software upgrade package is to display screen 201-20n asynchronous control-card, and it can equally reach the purpose of terminal software upgrading, simply Efficiency of upgrading is in a slight decrease.
From the foregoing, it will be observed that compared with prior art, the method for upgrading software for the display screen video control card that the present invention is provided Can at least have one or more in advantages below:
(1)In the software upgrade process of more effective asynchronous control-card, it usually needs by application program to be upgraded Unload, one of specific way is to delete the file where application program to be upgraded, by the application program comprising upgrading New file copy to the home position for the file deleted, but taken in sometimes application program by some processes, So that original file deletes failure, cause upgrading not to be normally carried out, cause upgrading to fail.And this backup of the present invention is former The way of updated boot programs can just overcome this kind of defect, so as to lift the success rate of software upgrading.
(2)During by software upgrade package remote transmission to asynchronous control-card, file in some cases may nothing Method is correctly transmitted, and also results in upgrading failure.And the present invention carries out correctness and completeness check using condition code, it can verify It is complete whether software upgrade package is correctly transmitted or transmitted, so as to lift the success rate of software upgrading.
Specific case used herein to the principle of the method for upgrading software of display screen video control card of the present invention and Embodiment is set forth, and the explanation of above example is only intended to the method and its core concept for helping to understand the present invention; Simultaneously for those of ordinary skill in the art, according to the thought of the present invention, can in specific embodiments and applications There is change part, in summary, this specification content should not be construed as limiting the invention, protection scope of the present invention should be with Appended claim is defined.

Claims (10)

1. a kind of method for upgrading software of display screen video control card, it is characterised in that the method for upgrading software includes step Suddenly:
Receive the specified path of software upgrade package and the storage device stored to the video control card, the software upgrade package bag Include the application program and updated boot programs of upgrading;
Former updated boot programs in the storage device of the video control card are backuped into backup path from original route, and by institute State the former updated boot programs on backup path and be registered as start self-starting, wherein the former liter on the original route Level bootstrap is pressed from both sides with application program to be upgraded positioned at same file;And
The video control card is after the former updated boot programs on the backup path to be registered as to start self-starting Restarting, runs the former updated boot programs on the backup path and detects the specified path with the presence or absence of described Software upgrade package, it is described same by being located in the storage device of the video control card if detecting the software upgrade package The application program to be upgraded and the former updated boot programs under one file are substituted for the software upgrading respectively The application program and updated boot programs of upgrading in bag.
2. method for upgrading software as claimed in claim 1, it is characterised in that the reception software upgrade package is simultaneously stored to described The step of specified path of the storage device of video control card, includes:
The video control card receives the software upgrade package with remote mode;And
The received software upgrade package is stored in the specified path of the storage device.
3. method for upgrading software as claimed in claim 2, it is characterised in that the reception software upgrade package is simultaneously stored to described The step of specified path of the storage device of video control card, also includes:
The video control card receives the condition code of the software upgrade package with remote mode;
The video control card calculates the condition code of the received software upgrade package;And
Judge whether the condition code that calculating is obtained is consistent with the condition code received.
4. method for upgrading software as claimed in claim 1, it is characterised in that when the software upgrade package received is compression and adds Close software upgrade package, the reception software upgrade package and the specified path of the storage device stored to the video control card Step also includes:
Processing is decrypted in software upgrade package to the compression and encryption, with the compressed software AKU after being decrypted.
5. method for upgrading software as claimed in claim 1, it is characterised in that the storage by the video control card The application program to be upgraded and the former updated boot programs being located in equipment under the same file is pressed from both sides are replaced respectively The step of application program and updated boot programs for changing the upgrading in the software upgrade package into, includes:
Delete the same file folder where the application program to be upgraded and the former updated boot programs;And
The file deleted is generated using the software upgrade package, to realize the replacement operation.
6. method for upgrading software as claimed in claim 5, it is characterised in that described described using software upgrade package generation The step of file of deletion, includes:
The software upgrade package is decompressed on the original route being reduced to where the file of the deletion, and assigned and the deletion File identical folder name.
7. method for upgrading software as claimed in claim 1, it is characterised in that the upgrade method also includes step:
After the replacement operation is completed, the application program after the video control card automatic start upgrading.
8. method for upgrading software as claimed in claim 2, it is characterised in that the quantity of the video control card is multiple, is divided It is positioned respectively on different display screens, multiple video control cards synchronously or one by one receive the software upgrade package with remote mode.
9. method for upgrading software as claimed in claim 8, it is characterised in that the display location is in same LAN or wide In the net of domain.
10. method for upgrading software as claimed in claim 1, it is characterised in that the video control card configuration is in LED display On, the video control card is stored with broadcasting media to realize the purpose of the LED display asynchronous play media.
CN201310341941.7A 2013-08-07 2013-08-07 The method for upgrading software of display screen video control card Active CN104346187B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310341941.7A CN104346187B (en) 2013-08-07 2013-08-07 The method for upgrading software of display screen video control card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310341941.7A CN104346187B (en) 2013-08-07 2013-08-07 The method for upgrading software of display screen video control card

Publications (2)

Publication Number Publication Date
CN104346187A CN104346187A (en) 2015-02-11
CN104346187B true CN104346187B (en) 2017-10-17

Family

ID=52501879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310341941.7A Active CN104346187B (en) 2013-08-07 2013-08-07 The method for upgrading software of display screen video control card

Country Status (1)

Country Link
CN (1) CN104346187B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808292A (en) * 2016-03-07 2016-07-27 西安诺瓦电子科技有限公司 Firmware upgrade method of embedded terminal device
CN107608721A (en) * 2017-09-13 2018-01-19 北京小鸟看看科技有限公司 Wear the upgrade method of virtual reality device and its bootstrap loader
CN109240990B (en) * 2018-09-12 2021-05-18 京信通信系统(中国)有限公司 File system protection method and device
WO2020107436A1 (en) * 2018-11-30 2020-06-04 深圳市大疆创新科技有限公司 Program upgrade method and embedded device
CN111767065A (en) * 2019-04-02 2020-10-13 北京精雕科技集团有限公司 Batch remote upgrading and downgrading method and system for machine tool numerical control software
CN117311840A (en) * 2023-05-10 2023-12-29 荣耀终端有限公司 Application starting method, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6341373B1 (en) * 1996-12-20 2002-01-22 Liberate Technologies Secure data downloading, recovery and upgrading
CN102262554A (en) * 2011-08-05 2011-11-30 深圳市九洲电器有限公司 Method and device for saving storage space during upgrading software, and set top box
CN102427466A (en) * 2011-08-24 2012-04-25 厦门雅迅网络股份有限公司 Long-distance updating system and long-distance software automatic updating method based on same
CN102541604A (en) * 2011-12-29 2012-07-04 深圳市共进电子股份有限公司 Remote upgrading method, remote upgrading terminal equipment and remote upgrading system
CN103092662A (en) * 2013-02-04 2013-05-08 烽火通信科技股份有限公司 Software module upgrading method for terminal device based on embedded operating system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6341373B1 (en) * 1996-12-20 2002-01-22 Liberate Technologies Secure data downloading, recovery and upgrading
CN102262554A (en) * 2011-08-05 2011-11-30 深圳市九洲电器有限公司 Method and device for saving storage space during upgrading software, and set top box
CN102427466A (en) * 2011-08-24 2012-04-25 厦门雅迅网络股份有限公司 Long-distance updating system and long-distance software automatic updating method based on same
CN102541604A (en) * 2011-12-29 2012-07-04 深圳市共进电子股份有限公司 Remote upgrading method, remote upgrading terminal equipment and remote upgrading system
CN103092662A (en) * 2013-02-04 2013-05-08 烽火通信科技股份有限公司 Software module upgrading method for terminal device based on embedded operating system

Also Published As

Publication number Publication date
CN104346187A (en) 2015-02-11

Similar Documents

Publication Publication Date Title
CN104346187B (en) The method for upgrading software of display screen video control card
US20180349129A1 (en) Apparatus for supporting firmware update and method for the same
US8539471B2 (en) Updating firmware of an electronic device
US8555049B2 (en) Secure boot terminal, secure boot method, secure boot program, recording medium, and integrated circuit
WO2017067448A1 (en) Firmware-over-the-air upgrade method, system and computer storage medium
CN103942058B (en) A kind of EMBEDDED AVIONICS method for upgrading software and system
CN106815370B (en) Method, device and system for updating resource file
CN104052818B (en) The version upgrading method and device of a kind of mobile terminal
WO2019062635A1 (en) Update method and device
JP5357152B2 (en) Information processing apparatus, information processing method, computer program and integrated circuit for realizing the same
KR101281825B1 (en) Apparatus and method that enhance security using virtual interface in cloud system
CN104123199A (en) Method and device for recovering application program and mobile terminal
US11947673B2 (en) Over-the-air upgrade method and related apparatus
CN104918114A (en) Method and device for upgrading operation system
EP2076834A1 (en) Program upgrade system and method for ota-capable mobile terminal
US20160085538A1 (en) Over-the-air updates for ble devices
US20160170735A1 (en) Operating system updating method by using a checklist
TW201537462A (en) Method and system of software update and mobile device
CN104581397A (en) System upgrade method and device for android set-top box
CN105893093A (en) Application program upgrading method and device
CN102946600A (en) Method and system for updating mobile terminal parameters by firmware
CN104484240B (en) Terminal data storage method and device
CN107943501A (en) Embedded device upgrade method, device, computer equipment and storage medium
US20140068598A1 (en) Information processing apparatus, information processing method, and program
CN106210877A (en) The method for upgrading system of intelligent television and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 710075 DEF101, Zero One Square, Xi'an Software Park, No. 72 Zhangbajie Science and Technology Second Road, Xi'an High-tech Zone, Shaanxi Province

Patentee after: XI'AN NOVASTAR TECH Co.,Ltd.

Address before: 710075 floor 4, block D, qinfengge, Xi'an Software Park, No. 68, Keji Second Road, high tech Zone, Xi'an, Shaanxi Province

Patentee before: Xi'an NovaStar Tech Co.,Ltd.