CN105068831A - Program upgrading method and apparatus - Google Patents

Program upgrading method and apparatus Download PDF

Info

Publication number
CN105068831A
CN105068831A CN201510459379.7A CN201510459379A CN105068831A CN 105068831 A CN105068831 A CN 105068831A CN 201510459379 A CN201510459379 A CN 201510459379A CN 105068831 A CN105068831 A CN 105068831A
Authority
CN
China
Prior art keywords
upgrade
upgraded
program
upgrade file
file
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.)
Pending
Application number
CN201510459379.7A
Other languages
Chinese (zh)
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.)
SHENZHEN CREATEK ELECTRONIC CO Ltd
Original Assignee
SHENZHEN CREATEK ELECTRONIC 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 SHENZHEN CREATEK ELECTRONIC CO Ltd filed Critical SHENZHEN CREATEK ELECTRONIC CO Ltd
Priority to CN201510459379.7A priority Critical patent/CN105068831A/en
Publication of CN105068831A publication Critical patent/CN105068831A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The present invention discloses a program upgrading method. The program upgrading method comprises: when receiving an upgrading instruction input by a user, acquiring a corresponding upgrading file according to the upgrading instruction; and sending the upgrading file to to-be-upgraded objects, so that each to-be-upgraded object performs a program upgrading operation simultaneously according to the received upgrading file. The present invention further discloses a program upgrading apparatus. According to the program upgrading method and apparatus which are provided by the present invention, by supporting simultaneous upgrading of a plurality of to-be-upgraded objects, the efficiency of program upgrading can be effectively improved.

Description

Programme upgrade method and device
Technical field
The present invention relates to software technology field, particularly relate to programme upgrade method and device.
Background technology
Along with the widespread use of video security monitoring system, the demand that correlation technique updates is also more and more frequent.At present, when the board in video security monitoring system needs program upgrade, need staff to carry out operation to engineering site could realize, particularly: after engineering staff arrives engineering site, first need board power-off to unload, then by supporting cd-rom recorder or other recording devices, program upgrade is carried out to board.Program upgrade while although existing part cd-rom recorder can support polylith board, it does not support online upgrading, and existing online program upgrade technology only supports the online upgrading of monolithic board.Along with the expansion of system, the board in system increases gradually, can reach hundreds of same or analogous boards, and the variation of customer demand, and existing program upgrade mode cannot satisfy the demands.In prior art, the efficiency of program upgrade is lower.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of programme upgrade method and device, is intended to the efficiency improving program upgrade.
For achieving the above object, the invention provides a kind of programme upgrade method, described programme upgrade method comprises:
When receiving the upgrade of user's input, obtain corresponding upgrade file according to described upgrade;
Described upgrade file is sent to object to be upgraded, carries out program upgrade operations for each described object to be upgraded according to its upgrade file received simultaneously.
Preferably, described when receiving the upgrade of user's input, obtain corresponding upgrade file according to described upgrade and comprise:
When receiving the upgrade of user's input, showing the selection interface of object to be upgraded and upgrade file, selecting based on described selection interface the upgrade file that each object to be upgraded is corresponding for user;
Receive user input object each to be upgraded and upgrade file between corresponding relation time, obtain the upgrade file that each object to be upgraded is corresponding.
Preferably, describedly described upgrade file be sent to object to be upgraded comprise:
Described upgrade file is sent to the object to be upgraded that described upgrade file is corresponding.
Preferably, describedly described upgrade file be sent to object to be upgraded comprise:
By the mode of network or bus, described upgrade file is sent to multiple described object to be upgraded.
Preferably, described when receiving the upgrade of user's input, obtain the step of corresponding upgrade file according to described upgrade before, also comprise:
Code data compiling according to user's input generates upgrade file.
In addition, for achieving the above object, the present invention also provides a kind of program upgrade apparatus, and described program upgrade apparatus comprises:
Acquisition module, for when receiving the upgrade of user's input, obtains corresponding upgrade file according to described upgrade;
Sending module, for described upgrade file is sent to object to be upgraded, carries out program upgrade operations for each described object to be upgraded according to its upgrade file received simultaneously.
Preferably, described acquisition module comprises:
Display unit, for when receiving the upgrade of user's input, showing the selection interface of object to be upgraded and upgrade file, selecting the upgrade file that each object to be upgraded is corresponding for user based on described selection interface;
Acquiring unit, for receive user input object each to be upgraded and upgrade file between corresponding relation time, obtain the upgrade file that each object to be upgraded is corresponding.
Preferably, described sending module is also for being sent to object to be upgraded corresponding to described upgrade file by described upgrade file.
Preferably, described upgrade file is also sent to multiple described object to be upgraded for the mode by network or bus by described sending module.
Preferably, described program upgrade apparatus also comprises generation module, generates upgrade file for the code data compiling inputted according to user.
The present invention, by when receiving the upgrade of user's input, obtains corresponding upgrade file according to described upgrade; Described upgrade file is sent to object to be upgraded, carries out program upgrade operations for each described object to be upgraded according to its upgrade file received simultaneously.Compared to prior art, upgrade while the present invention supports multiple object to be upgraded, effectively can improve the efficiency of program upgrade.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of programme upgrade method first embodiment of the present invention;
Fig. 2 be in Fig. 1 receive user input upgrade time, obtain the refinement schematic flow sheet of corresponding upgrade file according to described upgrade;
Fig. 3 is the schematic flow sheet of programme upgrade method of the present invention 3rd embodiment;
Fig. 4 is the high-level schematic functional block diagram of program upgrade apparatus first embodiment of the present invention;
Fig. 5 is the refinement high-level schematic functional block diagram of acquisition module in Fig. 4;
Fig. 6 is the high-level schematic functional block diagram of program upgrade apparatus of the present invention 3rd embodiment.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The invention provides a kind of programme upgrade method, with reference to Fig. 1, in the first embodiment of programme upgrade method of the present invention, described programme upgrade method comprises the following steps:
S10, when receiving the upgrade of user's input, obtains corresponding upgrade file according to described upgrade;
S20, is sent to object to be upgraded by described upgrade file, carries out program upgrade operations for each described object to be upgraded according to its upgrade file received simultaneously.
The programme upgrade method that the present embodiment provides, can be applied in the program upgrade of board, and such as, program upgrade while the programme upgrade method that the present embodiment provides is applied to polylith board, to promote the efficiency of program upgrade.
It should be noted that, board is the modularization building block of electronic equipment, it is a kind of printed circuit board, be called for short PCB (PrintedCircuitBoard) plate, with lock pin during making, can insert in the default slot of electronic equipment, realize corresponding hardware capability, such as, the video card of computing machine, sound card and network interface card etc.The program upgrade of the present embodiment indication refers to that the user program to Control card realizes hardware capability is upgraded, constantly to improve and to optimize the hardware capability of board.Be described for video security monitoring system below.
Video security monitoring system (VSCS, VideoSurveillance & ControlSystem) utilizes video technique to detect, monitors set up defences region the electronic system of in real time display, record image scene or network.Common, video security monitoring system is generally made up of front end, transmission, control and display record four major parts: fore-end comprises one or more video camera and camera lens supporting with it, The Cloud Terrace, protective cover, decoding driver etc.; Hop comprises cable and/or optical cable, and possible wire/wireless modulating and demodulating signal equipment etc.; Control section mainly comprises video switcher, platform-lens controller, operation keyboard, kind control communication interface, power supply and monitoring host computer supporting with it, monitor cabinet etc.; Display recording unit mainly comprises monitor, video recorder, multi-image divider etc.Wherein, the usual built-in polylith board of monitoring host computer, for processing the image of camera acquisition.
In the present embodiment, when needing to carry out program upgrade to the polylith that monitoring host computer is built-in board to be upgraded, setting up host computer in advance and being connected with the communication of monitoring host computer; Upgrade is assigned at the board upgrading interface that user can be shown by host computer, and host computer is when receiving the upgrade of user's input, and the upgrade according to user's input obtains corresponding upgrade file.
After getting described upgrade file, the upgrade file of acquisition is sent to each board to be upgraded by host computer, carries out program upgrade operations for each board to be upgraded according to its upgrade file received simultaneously.
Particularly, in the present embodiment, in order to can effectively by boot and user program load to internal memory (RAM, RandomAccessMemory) run in, and not causing boot and user program to clash, the present invention is reserved with two specific regions in the flash memory (FlashMemory) of board: guide upgrading district and user area.Before board dispatches from the factory, need boot and initial user program to be burned onto respectively and guide upgrading district and user area, particularly, engineering staff generates boot by composing software in advance, described boot is for realizing read-write user area function, user program can be written to the assigned address of user area, realize program upgrade, also bootable user program starts; And the initial user program of meeting consumers' demand is generated by composing software; After boot and initial user program all generate, host computer can be adopted to merge software boot and initial user program are merged into by the mode of offset address the configuration recordable paper that dispatches from the factory; Generation dispatch from the factory configuration recordable paper after, use corresponding recording device will dispatch from the factory configuration recordable paper be burned onto board, by boot be burned onto guide upgrade district, by initial user burning program to user area.
In the present embodiment, each described board to be upgraded is after receiving program upgrade file, the boot program loads guiding upgrading district to store is performed to internal memory, the program file (program embodies with the form of program file when storing) that boot erasing user area stores, and by program upgrade file write user area, the program file stored by user area replaces with program upgrade file.After completing the replacement operation of program file, described board carries out software reset's operation, after reset, gets final product loading procedure upgrade file to internal memory, to perform the user program after upgrading; Or, continue to call boot, by boot bootstrap loader upgrade file to internal memory, perform the user program after upgrading.
Further, in the present embodiment, in above-mentioned steps S20, described upgrade file is sent to object to be upgraded to comprise:
By the mode of network or bus, described upgrade file is sent to multiple described object to be upgraded.
It should be noted that, the present embodiment, when distributing upgrade file, can be undertaken by the mode of network, to realize remotely updating program; Or undertaken by the mode of bus, to realize online program upgrade.Wherein, the present embodiment supports USB (UniversalSerialBus, USB (universal serial bus)), the bus such as CAN (ControllerAreaNetwork, Controller Area Network BUS), EIA-485 (RS-485) and FireWire (live wire).
Further, in the present embodiment, described board to be upgraded before carrying out program upgrade operations also can to receive program upgrade file carry out verification operation, and only when being verified, executive routine updating operation.
It should be noted that, the verification operation of the present embodiment indication is the integrality verifying described program upgrade file, preferably, the present embodiment adopts CRC (CyclicRedundancyCheck, cyclic redundancy check (CRC) code) verification mode to verify the integrality of described program upgrade file.CRC is a kind of error check code the most frequently used in data communication field, it is characterized in that the length of information field and check field can be selected arbitrarily, it is treated transmission information and carries out polynomial computation, and the result obtained is attached to after information to be transmitted, receiving equipment also performs similar algorithm, and the result calculated for twice by comparison is to ensure the integrality of information transmission to be transmitted.
Particularly, if set code word size as N, information field is K position, and check field is R position (N=K+R), then for arbitrary code word that CRC code is concentrated, exist and only there is R order polynomial g (x), making
V(x)=A(x)g(x)=xRm(x)+r(x);
Wherein, m (x) is K original message polynomial, and r (x) is R-1 check polynomial (i.e. CRC check and),
G (x) is called generator polynomial:
g(x)=g0+g1x1+g2x2+……+g(R-1)x(R-1)+gRxR
In the present embodiment, host computer produces CRC code word by the g (x) specified, and board then verifies by this g (x) the CRC code word received, if be verified, illustrates that the program upgrade file that board receives is complete.
Further, in the present embodiment, the program file that described board to be upgraded also can store described user area before carrying out program upgrade operations carries out backup operation, and when only completing in backup, executive routine updating operation.
It is easily understood that, board to be upgraded is when carrying out program upgrade, after needing the program file erasing stored user area, write-in program upgrade file again, if failure during write-in program upgrade file, or the program upgrade file of write normally can not be performed by board, because original program file is wiped free of, board is by cisco unity malfunction.In view of this, in the present embodiment, board to be upgraded, before write-in program upgrade file, first carries out backup operation to the program file that described user area stores, and such as, can also reserve backup area in the flash memory of board, for backing up the program file needing to replace.
The programme upgrade method that the present embodiment proposes, when receiving the upgrade of user's input, obtains corresponding upgrade file according to described upgrade; Described upgrade file is sent to object to be upgraded, carries out program upgrade operations for each described object to be upgraded according to its upgrade file received.Compared to prior art, upgrade while the present invention supports multiple object to be upgraded, effectively can improve the efficiency of program upgrade.
Further, based on the first embodiment, propose the second embodiment of programme upgrade method of the present invention, with reference to Fig. 2, in the present embodiment, above-mentioned S10 comprises:
S101, when receiving the upgrade of user's input, showing the selection interface of object to be upgraded and upgrade file, selecting the upgrade file that each object to be upgraded is corresponding for user based on described selection interface;
In the present embodiment, when carrying out the program upgrade of polylith board, user can select the board needing to carry out program upgrade, and the selection of upgrade file can be carried out for difference board to be upgraded, such as, for dissimilar board to be upgraded, select the upgrade file corresponding with all types of board to be upgraded respectively.Particularly, the board upgrading interface that user can be provided by host computer inputs upgrade; Host computer is when receiving upgrade, show the selection interface of board to be upgraded (object to be upgraded) and upgrade file, select based on described selection interface the upgrade file that each board to be upgraded is corresponding for user, user can carry out the selection of board to be upgraded and upgrade file according to actual needs.
S102, receive user input object each to be upgraded and upgrade file between corresponding relation time, obtain the upgrade file that each object to be upgraded is corresponding.
During corresponding relation between the board each to be upgraded receiving user's input and upgrade file, host computer obtains upgrade file corresponding to each board to be upgraded.The embodiment of the present invention by carrying out the program upgrade of polylith board simultaneously, and carries out the selection of upgrade file for difference board to be upgraded, can promote the efficiency of program upgrade further.
Further, in the present embodiment, in above-mentioned steps S20, described upgrade file is sent to object to be upgraded to comprise:
Described upgrade file is sent to the object to be upgraded that described upgrade file is corresponding.
It will be understood by those skilled in the art that, due to the upgrade file that different board possibilities to be upgraded is corresponding different, in the present embodiment, described upgrade file is sent to board to be upgraded corresponding to described upgrade file (object to be upgraded) by host computer, carries out program upgrade operations for each board to be upgraded based on its upgrade file received.Wherein, the process that board carries out program upgrade can refer to the first embodiment execution, repeats no more herein.
Further, based on the first or second embodiment, propose the 3rd embodiment of programme upgrade method of the present invention, with reference to Fig. 3, in the present embodiment, before above-mentioned S10, also comprise:
S30, the code data compiling according to user's input generates upgrade file.
In the present embodiment, before carrying out program upgrade, user can for the upgrade requirement of difference board to be upgraded, and the programming software compiling based on host computer generates corresponding upgrade file.Such as, when realizing hardware capability, there is functional defect in board, and user can compile corresponding upgrade file according to the functional defect of this board, to carry out program upgrade operations to this board, eliminates functional defect.
The present invention also provides a kind of program upgrade apparatus, and with reference to Fig. 4, in the first embodiment of program upgrade apparatus of the present invention, described program upgrade apparatus comprises:
Acquisition module 10, for when receiving the upgrade of user's input, obtains corresponding upgrade file according to described upgrade;
Sending module 20, for described upgrade file is sent to object to be upgraded, carries out program upgrade operations for each described object to be upgraded according to its upgrade file received simultaneously.
The program upgrade apparatus that the present embodiment provides, can be applied in the program upgrade of board, and such as, program upgrade while the program upgrade apparatus that the present embodiment provides is applied to polylith board, to promote the efficiency of program upgrade.
It should be noted that, board is the modularization building block of electronic equipment, it is a kind of printed circuit board, be called for short PCB (PrintedCircuitBoard) plate, with lock pin during making, can insert in the default slot of electronic equipment, realize corresponding hardware capability, such as, the video card of computing machine, sound card and network interface card etc.The program upgrade of the present embodiment indication refers to that the user program to Control card realizes hardware capability is upgraded, constantly to improve and to optimize the hardware capability of board.Be described for video security monitoring system below.
Video security monitoring system (VSCS, VideoSurveillance & ControlSystem) utilizes video technique to detect, monitors set up defences region the electronic system of in real time display, record image scene or network.Common, video security monitoring system is generally made up of front end, transmission, control and display record four major parts: fore-end comprises one or more video camera and camera lens supporting with it, The Cloud Terrace, protective cover, decoding driver etc.; Hop comprises cable and/or optical cable, and possible wire/wireless modulating and demodulating signal equipment etc.; Control section mainly comprises video switcher, platform-lens controller, operation keyboard, kind control communication interface, power supply and monitoring host computer supporting with it, monitor cabinet etc.; Display recording unit mainly comprises monitor, video recorder, multi-image divider etc.Wherein, the usual built-in polylith board of monitoring host computer, for processing the image of camera acquisition.Be built in host computer operation with program upgrade apparatus provided by the invention in following examples to be described.
In the present embodiment, when needing to carry out program upgrade to the polylith that monitoring host computer is built-in board to be upgraded, setting up host computer in advance and being connected with the communication of monitoring host computer; Upgrade is assigned at the board upgrading interface that user can be shown by host computer, and host computer (acquisition module 10) is when receiving the upgrade of user's input, and the upgrade according to user's input obtains corresponding upgrade file.
After getting described upgrade file, the upgrade file of acquisition is sent to each board to be upgraded by host computer (sending module 20), carries out program upgrade operations for each board to be upgraded according to its upgrade file received simultaneously.
Particularly, in the present embodiment, in order to can effectively by boot and user program load to internal memory (RAM, RandomAccessMemory) run in, and not causing boot and user program to clash, the present invention is reserved with two specific regions in the flash memory (FlashMemory) of board: guide upgrading district and user area.Before board dispatches from the factory, need boot and initial user program to be burned onto respectively and guide upgrading district and user area, particularly, engineering staff generates boot by composing software in advance, described boot is for realizing read-write user area function, user program can be written to the assigned address of user area, realize program upgrade, also bootable user program starts; And the initial user program of meeting consumers' demand is generated by composing software; After boot and initial user program all generate, host computer can be adopted to merge software boot and initial user program are merged into by the mode of offset address the configuration recordable paper that dispatches from the factory; Generation dispatch from the factory configuration recordable paper after, use corresponding recording device will dispatch from the factory configuration recordable paper be burned onto board, by boot be burned onto guide upgrade district, by initial user burning program to user area.
In the present embodiment, each described board to be upgraded is after receiving program upgrade file, the boot program loads guiding upgrading district to store is performed to internal memory, the program file (program embodies with the form of program file when storing) that boot erasing user area stores, and by program upgrade file write user area, the program file stored by user area replaces with program upgrade file.After completing the replacement operation of program file, described board carries out software reset's operation, after reset, gets final product loading procedure upgrade file to internal memory, to perform the user program after upgrading; Or, continue to call boot, by boot bootstrap loader upgrade file to internal memory, perform the user program after upgrading.
Further, in the present embodiment, described upgrade file is also sent to multiple described object to be upgraded for the mode by network or bus by described sending module 20.
It should be noted that, the present embodiment, when distributing upgrade file, can be undertaken by the mode of network, to realize remotely updating program; Or undertaken by the mode of bus, to realize online program upgrade.Wherein, the present embodiment supports USB (UniversalSerialBus, USB (universal serial bus)), the bus such as CAN (ControllerAreaNetwork, Controller Area Network BUS), EIA-485 (RS-485) and FireWire (live wire).
Further, in the present embodiment, described board to be upgraded before carrying out program upgrade operations also can to receive program upgrade file carry out verification operation, and only when being verified, executive routine updating operation.
It should be noted that, the verification operation of the present embodiment indication is the integrality verifying described program upgrade file, preferably, the present embodiment adopts CRC (CyclicRedundancyCheck, cyclic redundancy check (CRC) code) verification mode to verify the integrality of described program upgrade file.CRC is a kind of error check code the most frequently used in data communication field, it is characterized in that the length of information field and check field can be selected arbitrarily, it is treated transmission information and carries out polynomial computation, and the result obtained is attached to after information to be transmitted, receiving equipment also performs similar algorithm, and the result calculated for twice by comparison is to ensure the integrality of information transmission to be transmitted.
Particularly, if set code word size as N, information field is K position, and check field is R position (N=K+R), then for arbitrary code word that CRC code is concentrated, exist and only there is R order polynomial g (x), making
V(x)=A(x)g(x)=xRm(x)+r(x);
Wherein, m (x) is K original message polynomial, and r (x) is R-1 check polynomial (i.e. CRC check and),
G (x) is called generator polynomial:
g(x)=g0+g1x1+g2x2+……+g(R-1)x(R-1)+gRxR
In the present embodiment, host computer produces CRC code word by the g (x) specified, and board then verifies by this g (x) the CRC code word received, if be verified, illustrates that the program upgrade file that board receives is complete.
Further, in the present embodiment, the program file that described board to be upgraded also can store described user area before carrying out program upgrade operations carries out backup operation, and when only completing in backup, executive routine updating operation.
It is easily understood that, board to be upgraded is when carrying out program upgrade, after needing the program file erasing stored user area, write-in program upgrade file again, if failure during write-in program upgrade file, or the program upgrade file of write normally can not be performed by board, because original program file is wiped free of, board is by cisco unity malfunction.In view of this, in the present embodiment, board to be upgraded, before write-in program upgrade file, first carries out backup operation to the program file that described user area stores, and such as, can also reserve backup area in the flash memory of board, for backing up the program file needing to replace.
The program upgrade apparatus that the present embodiment proposes, when receiving the upgrade of user's input, obtains corresponding upgrade file according to described upgrade; Described upgrade file is sent to object to be upgraded, carries out program upgrade operations for each described object to be upgraded according to its upgrade file received.Compared to prior art, upgrade while the present invention supports multiple object to be upgraded, effectively can improve the efficiency of program upgrade.
Further, based on the first embodiment, propose the second embodiment of program upgrade apparatus of the present invention, with reference to Fig. 5, in the present embodiment, described acquisition module 10 comprises:
Display unit 101, for when receiving the upgrade of user's input, showing the selection interface of object to be upgraded and upgrade file, selecting the upgrade file that each object to be upgraded is corresponding for user based on described selection interface;
In the present embodiment, when carrying out the program upgrade of polylith board, user can select the board needing to carry out program upgrade, and the selection of upgrade file can be carried out for difference board to be upgraded, such as, for dissimilar board to be upgraded, select the upgrade file corresponding with all types of board to be upgraded respectively.Particularly, the board upgrading interface that user can be provided by host computer inputs upgrade; Host computer (display unit 101) is when receiving upgrade, show the selection interface of board to be upgraded (object to be upgraded) and upgrade file, select based on described selection interface the upgrade file that each board to be upgraded is corresponding for user, user can carry out the selection of board to be upgraded and upgrade file according to actual needs.
Acquiring unit 102, for receive user input object each to be upgraded and upgrade file between corresponding relation time, obtain the upgrade file that each object to be upgraded is corresponding.
Receive user input board each to be upgraded and upgrade file between corresponding relation time, host computer (acquiring unit 102) obtains upgrade file corresponding to each board to be upgraded.The embodiment of the present invention by carrying out the program upgrade of polylith board simultaneously, and carries out the selection of upgrade file for difference board to be upgraded, can promote the efficiency of program upgrade further.
Further, in the present embodiment, described sending module 20 is also for being sent to object to be upgraded corresponding to described upgrade file by described upgrade file.
It will be understood by those skilled in the art that, due to the upgrade file that different board possibilities to be upgraded is corresponding different, in the present embodiment, described upgrade file is sent to board to be upgraded corresponding to described upgrade file (object to be upgraded) by host computer (sending module 20), carries out program upgrade operations for each board to be upgraded based on its upgrade file received.Wherein, the process that board carries out program upgrade can refer to the first embodiment execution, repeats no more herein.
Further, based on the first or second embodiment, the 3rd embodiment of program upgrade apparatus of the present invention is proposed, with reference to Fig. 6, in the present embodiment, described program upgrade apparatus also comprises generation module 30, generates upgrade file for the code data compiling inputted according to user.
In the present embodiment, before carrying out program upgrade, user can for the upgrade requirement of difference board to be upgraded, and the programming software compiling based on host computer generates corresponding upgrade file.Such as, when realizing hardware capability, there is functional defect in board, and user can compile corresponding upgrade file according to the functional defect of this board, to carry out program upgrade operations to this board, eliminates functional defect.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. a programme upgrade method, is characterized in that, described programme upgrade method comprises:
When receiving the upgrade of user's input, obtain corresponding upgrade file according to described upgrade;
Described upgrade file is sent to object to be upgraded, carries out program upgrade operations for each described object to be upgraded according to its upgrade file received simultaneously.
2. programme upgrade method as claimed in claim 1, is characterized in that, described when receiving the upgrade of user's input, obtains corresponding upgrade file comprise according to described upgrade:
When receiving the upgrade of user's input, showing the selection interface of object to be upgraded and upgrade file, selecting based on described selection interface the upgrade file that each object to be upgraded is corresponding for user;
Receive user input object each to be upgraded and upgrade file between corresponding relation time, obtain the upgrade file that each object to be upgraded is corresponding.
3. programme upgrade method as claimed in claim 2, is characterized in that, describedly described upgrade file is sent to object to be upgraded comprises:
Described upgrade file is sent to the object to be upgraded that described upgrade file is corresponding.
4. programme upgrade method as claimed in claim 1, is characterized in that, describedly described upgrade file is sent to object to be upgraded comprises:
By the mode of network or bus, described upgrade file is sent to multiple described object to be upgraded.
5. the programme upgrade method as described in any one of claim 1-4, is characterized in that, described when receiving the upgrade of user's input, before obtaining the step of corresponding upgrade file, also comprises according to described upgrade:
Code data compiling according to user's input generates upgrade file.
6. a program upgrade apparatus, is characterized in that, described program upgrade apparatus comprises:
Acquisition module, for when receiving the upgrade of user's input, obtains corresponding upgrade file according to described upgrade;
Sending module, for described upgrade file is sent to object to be upgraded, carries out program upgrade operations for each described object to be upgraded according to its upgrade file received simultaneously.
7. program upgrade apparatus as claimed in claim 6, it is characterized in that, described acquisition module comprises:
Display unit, for when receiving the upgrade of user's input, showing the selection interface of object to be upgraded and upgrade file, selecting the upgrade file that each object to be upgraded is corresponding for user based on described selection interface;
Acquiring unit, for receive user input object each to be upgraded and upgrade file between corresponding relation time, obtain the upgrade file that each object to be upgraded is corresponding.
8. program upgrade apparatus as claimed in claim 7, it is characterized in that, described sending module is also for being sent to object to be upgraded corresponding to described upgrade file by described upgrade file.
9. program upgrade apparatus as claimed in claim 6, it is characterized in that, described upgrade file is also sent to multiple described object to be upgraded for the mode by network or bus by described sending module.
10. the program upgrade apparatus as described in any one of claim 6-9, is characterized in that, described program upgrade apparatus also comprises generation module, generates upgrade file for the code data compiling inputted according to user.
CN201510459379.7A 2015-07-30 2015-07-30 Program upgrading method and apparatus Pending CN105068831A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510459379.7A CN105068831A (en) 2015-07-30 2015-07-30 Program upgrading method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510459379.7A CN105068831A (en) 2015-07-30 2015-07-30 Program upgrading method and apparatus

Publications (1)

Publication Number Publication Date
CN105068831A true CN105068831A (en) 2015-11-18

Family

ID=54498209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510459379.7A Pending CN105068831A (en) 2015-07-30 2015-07-30 Program upgrading method and apparatus

Country Status (1)

Country Link
CN (1) CN105068831A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201575A (en) * 2016-06-24 2016-12-07 北京奇虎科技有限公司 Upgrade method, device and the terminal carried out based on operating system authority
CN106775847A (en) * 2016-12-01 2017-05-31 广州视源电子科技股份有限公司 Board card software version updating method and device
CN107371091A (en) * 2017-07-08 2017-11-21 歌尔丹拿音响有限公司 Upgrade method, audio frequency apparatus and the intelligent sound box of audio frequency apparatus
CN110262349A (en) * 2019-06-28 2019-09-20 中国航空工业集团公司雷华电子技术研究所 A kind of the remote online programmed method and system of C8051F series monolithic
CN111367539A (en) * 2018-12-25 2020-07-03 北京兆易创新科技股份有限公司 eMMC online upgrading method and device
CN111367540A (en) * 2018-12-25 2020-07-03 北京兆易创新科技股份有限公司 eMMC firmware upgrading method and device
US20210136329A1 (en) * 2018-08-01 2021-05-06 Huawei Technologies Co., Ltd. Method and system for software-defined camera and camera
CN114064065A (en) * 2020-07-31 2022-02-18 北京嗨动视觉科技有限公司 Program upgrading method and program upgrading system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050204351A1 (en) * 2002-11-18 2005-09-15 James Jiang Dynamic addressing (DA) using a centralized DA Manager
CN101079767A (en) * 2006-09-26 2007-11-28 腾讯科技(深圳)有限公司 An upgrade method and system of Web service system
CN101178658A (en) * 2007-11-30 2008-05-14 上海广电(集团)有限公司中央研究院 Upgrade system and upgrade method based on DSP
CN101814036A (en) * 2010-03-09 2010-08-25 广州市聚晖电子科技有限公司 RF remote upgrading method and system
CN201859434U (en) * 2009-11-06 2011-06-08 青岛海信传媒网络技术有限公司 Software upgrading system
CN102622253A (en) * 2012-03-09 2012-08-01 瑞斯康达科技发展股份有限公司 Singlechip and method for upgrading singlechip on line
CN102662697A (en) * 2012-03-27 2012-09-12 深圳市开立科技有限公司 Software upgrading method and device
CN102915249A (en) * 2012-11-02 2013-02-06 苏州科达科技股份有限公司 Method and device for remotely realizing firmware updating
CN104035799A (en) * 2014-06-19 2014-09-10 浪潮电子信息产业股份有限公司 Method for customizable upgrading of software

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050204351A1 (en) * 2002-11-18 2005-09-15 James Jiang Dynamic addressing (DA) using a centralized DA Manager
CN101079767A (en) * 2006-09-26 2007-11-28 腾讯科技(深圳)有限公司 An upgrade method and system of Web service system
CN101178658A (en) * 2007-11-30 2008-05-14 上海广电(集团)有限公司中央研究院 Upgrade system and upgrade method based on DSP
CN201859434U (en) * 2009-11-06 2011-06-08 青岛海信传媒网络技术有限公司 Software upgrading system
CN101814036A (en) * 2010-03-09 2010-08-25 广州市聚晖电子科技有限公司 RF remote upgrading method and system
CN102622253A (en) * 2012-03-09 2012-08-01 瑞斯康达科技发展股份有限公司 Singlechip and method for upgrading singlechip on line
CN102662697A (en) * 2012-03-27 2012-09-12 深圳市开立科技有限公司 Software upgrading method and device
CN102915249A (en) * 2012-11-02 2013-02-06 苏州科达科技股份有限公司 Method and device for remotely realizing firmware updating
CN104035799A (en) * 2014-06-19 2014-09-10 浪潮电子信息产业股份有限公司 Method for customizable upgrading of software

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201575A (en) * 2016-06-24 2016-12-07 北京奇虎科技有限公司 Upgrade method, device and the terminal carried out based on operating system authority
CN106775847A (en) * 2016-12-01 2017-05-31 广州视源电子科技股份有限公司 Board card software version updating method and device
CN107371091A (en) * 2017-07-08 2017-11-21 歌尔丹拿音响有限公司 Upgrade method, audio frequency apparatus and the intelligent sound box of audio frequency apparatus
US20210136329A1 (en) * 2018-08-01 2021-05-06 Huawei Technologies Co., Ltd. Method and system for software-defined camera and camera
US11979686B2 (en) * 2018-08-01 2024-05-07 Huawei Technologies Co., Ltd. Method and system for software-defined camera and camera
CN111367539A (en) * 2018-12-25 2020-07-03 北京兆易创新科技股份有限公司 eMMC online upgrading method and device
CN111367540A (en) * 2018-12-25 2020-07-03 北京兆易创新科技股份有限公司 eMMC firmware upgrading method and device
CN111367540B (en) * 2018-12-25 2023-08-29 兆易创新科技集团股份有限公司 eMMC firmware upgrading method and device
CN110262349A (en) * 2019-06-28 2019-09-20 中国航空工业集团公司雷华电子技术研究所 A kind of the remote online programmed method and system of C8051F series monolithic
CN114064065A (en) * 2020-07-31 2022-02-18 北京嗨动视觉科技有限公司 Program upgrading method and program upgrading system

Similar Documents

Publication Publication Date Title
CN105068831A (en) Program upgrading method and apparatus
US9110843B2 (en) Rack and method thereof for simultaneously updating basic input output systems
US8386764B2 (en) BIOS architecture
CN106874032B (en) Method and device for upgrading optical module firmware and optical module
CN107066300B (en) Firmware upgrading method of storage device and storage device
CN103164238A (en) Method for automatically and continuously installing operating system
CN110377314B (en) System upgrading method, device, equipment and medium for distributed storage system
CN103336701B (en) Intelligent guiding upgrade method
CN105760191A (en) Embedded system equipment programming mass production method
CN110597552B (en) Configuration method, device, equipment and storage medium of project continuous integrated pipeline
CN108491217A (en) A kind of upgrade method and equipment of configuration file
CN105354059A (en) Upgrading method and device for controller of air conditioning system
CN104731678A (en) RAID storage mode test system and method and electronic device
CN112433769A (en) BMC starting method and device, computer equipment and storage medium
US8423729B2 (en) Part information restoration method, part information management method and electronic apparatus
CN109766140A (en) A kind of localization method and device that set-top box starting is abnormal
CN107078806A (en) Optical transceiver apparatus and method
CN110727575A (en) Information processing method, system, device and storage medium
CN110188004A (en) A kind of double copies software system management method and system of terminal device
CN116382746A (en) Firmware upgrading method, device, equipment and medium
CN104866397A (en) Computer System And Control Method
CN110708489A (en) Communication method, communication device, electronic device and storage medium
CN102081526A (en) Basic input/output system architecture
CN108549539A (en) A kind of method and device carrying out equipment remote upgrade
CN111399869A (en) Method for controlling software upgrading of direct-writing exposure machine, control unit and exposure machine

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Nanshan District science and Technology Park, Xili Street North Pine Hill new road Shenzhen 518000 Guangdong province No. 7 blue light technology building block B 212 units

Applicant after: SHENZHEN CREATEK ELECTRONICS CO., LTD.

Address before: Nanshan District science and Technology Park, Xili Street North Pine Hill new road Shenzhen 518000 Guangdong province No. 7 blue light technology building block B 212 units

Applicant before: Shenzhen Createk Electronic Co., Ltd.

COR Change of bibliographic data
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20151118