CN108446131A - A kind of ATM machine firmware upgrade method, device, equipment and storage medium - Google Patents

A kind of ATM machine firmware upgrade method, device, equipment and storage medium Download PDF

Info

Publication number
CN108446131A
CN108446131A CN201810226512.8A CN201810226512A CN108446131A CN 108446131 A CN108446131 A CN 108446131A CN 201810226512 A CN201810226512 A CN 201810226512A CN 108446131 A CN108446131 A CN 108446131A
Authority
CN
China
Prior art keywords
control module
module
atm machine
firmware
powerlink
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
CN201810226512.8A
Other languages
Chinese (zh)
Other versions
CN108446131B (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.)
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
Original Assignee
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
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 Yihua Computer Co Ltd, Shenzhen Yihua Time Technology Co Ltd, Shenzhen Yihua Financial Intelligent Research Institute filed Critical Shenzhen Yihua Computer Co Ltd
Priority to CN201810226512.8A priority Critical patent/CN108446131B/en
Publication of CN108446131A publication Critical patent/CN108446131A/en
Application granted granted Critical
Publication of CN108446131B publication Critical patent/CN108446131B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F19/00Complete banking systems; Coded card-freed arrangements adapted for dispensing or receiving monies or the like and posting such transactions to existing accounts, e.g. automatic teller machines
    • G07F19/20Automatic teller machines [ATMs]
    • G07F19/206Software aspects at ATMs

Abstract

The invention discloses a kind of ATM machine firmware upgrade method, device, equipment and storage mediums.This method includes:When ATM machine firmware upgrade event is triggered, the control module in Powerlink networks is currently accessed by the upgraded module monitoring in ATM machine, and identify the presupposed information of control module;Wherein, control module includes at least one of main control module and sub-control module;Firmware updating corresponding with control module is downloaded according to the presupposed information of control module by upgraded module, and firmware updating is sent to corresponding control module, so that control module completes updating operation according to firmware updating.The embodiment of the present invention solves the problems, such as that data transmission efficiency is low in ATM machine firmware upgrade process in the prior art and using flexible is insufficient, improves data transmission efficiency and firmware upgrade efficiency.

Description

A kind of ATM machine firmware upgrade method, device, equipment and storage medium
Technical field
The present embodiments relate to embedded technology more particularly to a kind of ATM machine firmware upgrade method, device, equipment and Storage medium.
Background technology
The application of ATM machine (Automatic Teller Machine, Automatic Teller Machine) in daily life is got over Come it is more universal, the convenience of its function is required it is also higher and higher, in addition, for ATM machine itself, present in loophole Also it periodically to repair.It is above-mentioned to result in the need for frequently carrying out firmware upgrade to ATM machine.
In the prior art, for this embedded device of ATM machine, in upgrade-system, it usually needs rely on Ethernet Network carries out transfer, then recycles Powerlink networks to carry out the upgrading of each module, this requires execute the master control mould of transfer Block is provided simultaneously with Ethernet functions and Powerlink functions, leads to the problems such as cost is higher, and real-time is not high occur.
Invention content
The present invention provides a kind of ATM machine firmware upgrade method, device, equipment and storage medium, with reduce firmware upgrade at This, improves data transmission efficiency and firmware upgrade efficiency.
In a first aspect, an embodiment of the present invention provides a kind of ATM machine firmware upgrade method, this method includes:
When ATM machine firmware upgrade event is triggered, it is currently accessed by the upgraded module monitoring in ATM machine Control module in Powerlink networks, and identify the presupposed information of the control module;Wherein, the control module includes At least one of main control module and sub-control module;
Liter corresponding with the control module is downloaded according to the presupposed information of the control module by the upgraded module Grade firmware, and the firmware updating is sent to the corresponding control module, so that the control module is according to the upgrading Firmware completes updating operation.
Further, described to be downloaded and the control according to the presupposed information of the control module by the upgraded module The corresponding firmware updating of module, and the firmware updating is sent to the corresponding control module, so that the control module After completing updating operation according to the firmware updating, further include:
The feedback information that the control module is sent is received by the upgraded module;
When the upgraded module receives the feedback information, by the ATM machine by upgrade job pattern switching to just Normal operating mode.
Further, it is described by the ATM machine by upgrade job pattern switching to normal mode of operation, including:
Using the upgraded module as the slave station of the Powerlink networks and using the main control module as described in The movable main website of Powerlink networks, so that the ATM machine is by upgrade job pattern switching to normal mode of operation.
Further, described when ATM machine firmware upgrade event is triggered, worked as by the upgraded module monitoring in ATM machine Before be linked into control module in Powerlink networks, and identify the presupposed information of the control module;Wherein, the control Module includes at least one of main control module and sub-control module, including:
When ATM machine firmware upgrade event is triggered, using the upgraded module in the ATM machine as described in Movable main website periodically monitoring in Powerlink networks is currently accessed the control module in Powerlink networks, and Identify the presupposed information of the control module;Wherein, the control module includes in the main control module and the sub-control module It is at least one;
Using the main control module as the spare main website in the Powerlink networks;
Correspondingly, using the upgraded module as in the Powerlink networks slave station and the main control module made For the movable main website of the Powerlink networks, so that the ATM machine is by upgrade job pattern switching to normal mode of operation, Including:
The upgraded module is switched to the work of slave station by the operating mode of the movable main website in the Powerlink networks Operation mode, and the main control module is switched into activity by the operating mode of the spare main website in the Powerlink networks The operating mode of main website, so that the ATM machine is by upgrade job pattern switching to normal mode of operation.
Further, it is downloaded and the control according to the presupposed information of the control module by the upgrade mode described The corresponding firmware updating of molding block, and the firmware updating is sent to the corresponding control module, so that the control mould Before root tuber completes updating operation according to the firmware updating, further include:
The quantity of the control module of the Powerlink networks is accessed by upgraded module statistics;
By the upgraded module according to the quantity of the control module, the adaptation ginseng of the Powerlink networks is adjusted Number;Wherein, the adaptation parameter includes cycle period, Preq time-out times and Pres time-out times;
Correspondingly, described downloaded and the control mould by the upgraded module according to the presupposed information of the control module The corresponding firmware updating of block, and the firmware updating is sent to the corresponding control module, so that the control module root Updating operation is completed according to the firmware updating, including:
The upgraded module based on the adaptation parameter after adjustment, according to the presupposed information of the control module download with The corresponding firmware updating of the control module, and the firmware updating is sent to the corresponding control module, so that The control module completes updating operation according to the firmware updating.
Further, the presupposed information of the control module includes node serial number, device type and device version.
Second aspect, the embodiment of the present invention additionally provide a kind of ATM machine device for upgrading firmware, which includes:
Presupposed information identification module, for when ATM machine firmware upgrade event is triggered, passing through the upgrading mould in ATM machine Block monitoring is currently accessed the control module in Powerlink networks, and identifies the presupposed information of the control module;Wherein, The control module includes at least one of main control module and sub-control module;
Firmware updating sending module, for by the upgraded module according to the presupposed information of the control module download and The corresponding firmware updating of the control module, and the firmware updating is sent to the corresponding control module, so that described Control module completes updating operation according to the firmware updating.
Further, which further includes:
Feedback information receiving module, for receiving the feedback information that the control module is sent by the upgraded module;
Operating mode handover module, for when the upgraded module receives the feedback information, by the ATM machine by Upgrade job pattern switching is to normal mode of operation.
The third aspect, the embodiment of the present invention additionally provide a kind of equipment, which includes:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors so that one or more of processing Device realizes ATM machine firmware upgrade method as previously described.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, are stored thereon with calculating journey Sequence, the program realize ATM machine firmware upgrade method as previously described when being executed by processor.
The present invention by the upgraded module monitoring in ATM machine by when ATM machine firmware upgrade event is triggered, currently being connect Enter to the control module in Powerlink networks, and identify the presupposed information of control module, by upgraded module according to control mould The presupposed information of block downloads firmware updating corresponding with control module, and firmware updating is sent to corresponding control module, with So that control module is completed updating operation according to firmware updating, solves data in ATM machine firmware upgrade process in the prior art and pass The low problem with using flexible deficiency of defeated efficiency, improves data transmission efficiency and firmware upgrade efficiency.
Description of the drawings
Fig. 1 is a kind of flow chart for ATM machine firmware upgrade method that the present invention is implemented in one;
Fig. 2 is a kind of flow chart of ATM machine firmware upgrade method in the embodiment of the present invention two;
Fig. 3 is a kind of structural schematic diagram of ATM machine device for upgrading firmware in the embodiment of the present invention three;
Fig. 4 is a kind of structural schematic diagram of equipment in the embodiment of the present invention four.
Specific implementation mode
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limitation of the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow chart for ATM machine firmware upgrade method that the embodiment of the present invention one provides, and the present embodiment is applicable In the ATM machine firmware upgrade the case where, this method can be executed by ATM machine device for upgrading firmware, which may be used software And/or the mode of hardware is realized, which can be configured in equipment, such as typically ATM machine and computer etc..Such as Fig. 1 Shown, this method specifically comprises the following steps:
Step 110, when ATM machine firmware upgrade event is triggered, be currently accessed by the monitoring of upgraded module in ATM machine To the control module in Powerlink networks, and identify the presupposed information of control module;Wherein, control module includes master control mould At least one of block and sub-control module.
In a specific embodiment of the present invention, the operating mode of ATM machine can be divided into two classes:Upgrade job pattern and normal Operating mode, when under different working modes, the function in ATM machine performed by various pieces can also occur to turn accordingly It changes, the purpose converted is that, preferably using the network environment being presently in, network environment described here may include Powerlink networks or Ethernet etc..It should be noted that the network environment being presently in described here is espespecially Powerlink networks, i.e. ATM machine are run in Powerlink networks.Correspondingly, the firmware upgrade behaviour carried out for ATM machine It is also based on the completion of Powerlink networks.Wherein, Powerlink is one three layers of communication network, it defines physics Layer, data link layer and application layer.The physical layer of Powerlink uses the Ethernet of standard, application layer to follow CANopen marks Standard, CANopen are an application layer protocols, it provides a unified interface for application program so that different equipment with It is its core to have unified access mode, data link layer between application program, and Powerlink networks are host-guest architecture, at this The structure and parsing, Network Synchronization, data frame transmitting-receiving sequential control, flow control and initial data that data are mainly completed in layer seal The functions such as dress.Powerlink network communication modes are:Isochronous data and asynchronous data use dedicated time slot, ensure that same One time always only can access to the network media there are one the network equipment.In this way, isochronous data and asynchronous data Transmission will not conflict, and ensure that accurate communication timing.The mechanism is known as slotted communication network management.Slotted communication Management is by a special network equipment, i.e., movable main website manages, and all other nodes are known as slave station.It is above-mentioned to be appreciated that For the same time, always only there are one movable main websites to access to other nodes, and for other nodes as slave station, activity is main It stands and coordinates each slave station, the reasonable distribution Powerlink bus rights to use avoid conflicting, and realize real-time Communication for Power.Wherein, Mei Gecong Station equipment has unique node serial number, and node serial number ranging from 1-239, movable master node number is 240.Described above Slotted communication network management is with there are two kinds of communication mechanisms:Based on request/answer-mode and based on periodically reporting pattern.
ATM machine can be by machine assembly, power unit, sensor unit, execution unit, driving unit, control and information The part such as processing unit and interface unit is constituted, and more specifically, ATM machine can be by shell, cash box, personal computer Host, display screen, withdrawal or the withdrawal mouth of (Personal Computer, PC), keyboard, card reader, strip printer and stream The part such as water printer forms.According to the membership between function performed by above-mentioned various pieces, and ATM machine can be attributed to It is made of PC and control module two large divisions, control module may include main control module and sub-control module again, wherein work as ATM machine When in upgrade job pattern, PC can be understood as upgraded module.Firmware can be understood as write-in special application integrated circuit or Flash memory among Programmadle logic device, or be the program in EROM or EPROM, it can also be understood as cured soft Part.Usually, serve as that an equipment is most basic, the software of bottom work can just be referred to as firmware, more specifically, For separately operable equipment, firmware can generally refer to its operating system;For the operable equipment of dependent, Firmware can refer to its bottom, ensure that it can be with the program code of normal operation.It will be understood, in ATM machine Firmware indicate meaning similar to the above.
ATM machine firmware upgrade event is triggered, and trigger condition here can be actual motion feelings of the user according to ATM machine The firmware upgrade instruction that condition is inputted to ATM machine can also be the firmware upgrade instruction for the server transmission that ATM machine receives, also The firmware upgrade that can be ATM machine generate according to the setting of itself instructs, certain trigger condition can depending on actual conditions, It is not specifically limited herein.When ATM machine firmware upgrade event is triggered, the upgraded module in ATM machine, which will monitor, currently to be connect Enter to the control module in Powerlink networks, while can also identify the presupposed information of control module, wherein control module Belong to the component part of ATM machine, control module includes at least one of main control module and sub-control module, the number of main control module It it is one, the number of sub-control module is at least one.The presupposed information of control module may include node serial number, device type and Device version etc..
Furthermore, it is necessary to explanation, when ATM machine is in normal mode of operation, main control module can be defeated in response to user The operational order entered, and each sub-control module is controlled according to operational order and executes respective function, to ensure that ATM machine is normally transported Row.Both but when ATM machine is in upgrade job pattern, main control module and sub-control intermodule and without data interaction, i.e., It is independent from each other module, firmware upgrade operation is carried out under the control of each leisure upgraded module.
Step 120 downloads upgrading corresponding with control module admittedly by upgraded module according to the presupposed information of control module Part, and firmware updating is sent to corresponding control module, so that control module completes updating operation according to firmware updating.
In a specific embodiment of the present invention, due to may include node serial number, equipment in the presupposed information of control module The information such as type and device version, device type can be with characterization control moulds with the affiliated type of characterization control module, device version The node serial number of the current firmware version of block, each control module is different and unique, thus, upgraded module can be according to equipment Type and device version download matched with device type and firmware higher than current device version as liter from server Grade firmware, and the firmware updating is sent to by corresponding control module according to node serial number, so that control module root Updating operation is completed according to the firmware updating received.
Since upgraded module can download firmware updating corresponding with control module according to the presupposed information of control module, It is thus achieved that the control module that Adaptive matching is different, furthermore, it is necessary to which explanation, is carried out for different control modules Updating operation is carried out at the same time, and therefore, is simplified the flow of ATM machine firmware upgrade operation, is increased convenience.
The technical solution of the present embodiment, by when ATM machine firmware upgrade event is triggered, passing through the upgrading in ATM machine Module monitors are currently accessed the control module in Powerlink networks, and identify the presupposed information of control module, pass through upgrading Module downloads firmware updating corresponding with control module according to the presupposed information of control module, and firmware updating is sent to correspondence Control module so that control module according to firmware updating complete updating operation, solve ATM machine firmware upgrade in the prior art The low problem with using flexible deficiency of data transmission efficiency in the process, improves data transmission efficiency and firmware upgrade efficiency.
Optionally, based on the above technical solution, it is downloaded according to the presupposed information of control module by upgraded module Firmware updating corresponding with control module, and firmware updating is sent to corresponding control module, so that control module is according to liter After grade firmware completes updating operation, can also include specifically:
The feedback information that control module is sent is received by upgraded module.
When upgraded module receives feedback information, by ATM machine by upgrade job pattern switching to normal mode of operation.
In a specific embodiment of the present invention, after the control module in ATM machine completes updating operation, correspondence will be generated Feedback information, and feedback information is sent to the upgraded module in ATM machine, feedback information is for indicating that it has completed to upgrade Operation, when upgraded module receives feedback information, can by ATM machine by upgrade job pattern switching to working normally mould Formula illustrates that updating operation is completed in control module, and ATM machine can enter normal mode of operation.Here by ATM machine by upgrade job The premise of pattern switching to normal mode of operation is the feedback information that upgraded module has received that all control modules are sent, but It is that the presentation mode of feedback information is simultaneously not especially limited, is to be presented in a manner of a total feedback information or with more The mode of a feedback information is presented and is not especially limited, here especially for be the number of control module be at least two A situation.Specifically, when the number of control module is at least two, the number of feedback information can be one situation For:Each control module generates a feedback information after completing updating operation;The number of feedback information can be multiple feelings Condition is:Each control module completes the corresponding feedback information generated after updating operation, at this point, the number of feedback information with The number of control module is consistent.
Optionally, based on the above technical solution, by ATM machine by upgrade job pattern switching to working normally mould Formula can specifically include:
Using upgraded module as the slave station of Powerlink networks and using main control module as the activity of Powerlink networks Main website, so that ATM machine is by upgrade job pattern switching to normal mode of operation.
In a specific embodiment of the present invention, here using upgraded module as the slave station of Powerlink networks and by master control Module completes switching of the ATM machine from upgrade job pattern to normal mode of operation as the movable main website of Powerlink networks It is mainly based upon at following 3 points:First, when ATM machine is under normal mode of operation, since the activity in Powerlink networks is main Load of standing is higher, and therefore, it is necessary to take on the module of movable main website to have higher working efficiency;Second, due to upgrading here Module is PC, and what PC was generally run is non real-time operating system, and such as Windows systems, therefore, working efficiency is not Height, and main control module is higher with respect to working efficiency;Third, the same run time of Powerlink network requirements only exists a work Dynamic main website.Based on above-mentioned, movable main website of the main control module as Powerlink networks is selected, and upgraded module conduct The slave station of Powerlink networks completes switching of the ATM machine by upgrade job pattern to normal mode of operation according to this.
By the way that upgraded module to be used as to the slave station of Powerlink networks and using main control module as Powerlink networks Movable main website completes switching of the ATM machine by upgrade job pattern to normal mode of operation, ensure that the reality of Powerlink networks Shi Xing.
Optionally, based on the above technical solution, when ATM machine firmware upgrade event is triggered, by ATM machine Upgraded module monitoring be currently accessed control module in Powerlink networks, and identify the presupposed information of control module;Its In, control module includes at least one of main control module and sub-control module, be can specifically include:
When ATM machine firmware upgrade event is triggered, using the upgraded module in ATM machine as in Powerlink networks The periodically monitoring of movable main website is currently accessed the control module in Powerlink networks, and identifies the default letter of control module Breath;Wherein, control module includes at least one of main control module and sub-control module.
Using main control module as the spare main website in Powerlink networks.
In a specific embodiment of the present invention, it in order to ensure the unicity of communication network, namely avoids introducing other networks Make transfer, improve the efficiency of firmware upgrade, using when ATM machine is in upgrade job pattern, the upgraded module in ATM machine is made For the mode of the movable main website in Powerlink networks, i.e., when ATM machine is in upgrade job pattern, in Powerlink networks Movable main website is upgraded module, and upgraded module here is similarly PC.Execute the liter of activity master function in Powerlink networks Grade module can periodically monitor the control module being linked into current Powerlink networks, and identify the pre- of control module If information, wherein control module includes at least one of main control module and sub-control module.Meanwhile when ATM machine is in upgrading work It, can be using main control module as the spare main website in Powerlink networks when operation mode.It should be noted that described here The cycle period of Powerlink networks can periodically be referred to.
Correspondingly, using upgraded module as the slave station of Powerlink networks and using main control module as Powerlink networks In movable main website so that ATM machine can specifically include by upgrade job pattern switching to normal mode of operation:
Upgraded module is switched to the operating mode of slave station by the operating mode of the movable main website in Powerlink networks, And main control module is switched to the operating mode of movable main website by the operating mode of the spare main website in Powerlink networks, So that ATM machine is by upgrade job pattern switching to normal mode of operation.
In a specific embodiment of the present invention, in order to complete ATM machine cutting by upgrade job pattern to normal mode of operation It changes, using the operating mode that upgraded module is switched to slave station by the operating mode of the movable main website in Powerlink networks, together When, main control module is switched to the operating mode of movable main website by the operating mode of the spare main website in Powerlink networks Mode ensure that the real-time of Powerlink networks.
Optionally, based on the above technical solution, under the presupposed information by upgraded module according to control module Carry corresponding with control module firmware updating, and firmware updating be sent to corresponding control module so that control module according to Before firmware updating completes updating operation, can also include specifically:
The quantity of access Powerlink network-based control modules is counted by upgraded module.
By upgraded module according to the quantity of control module, the adaptation parameter of Powerlink networks is adjusted;Wherein, it is adapted to Parameter includes cycle period, Preq time-out times and Pres time-out times.
In a specific embodiment of the present invention, when ATM machine is in upgrade job pattern, the upgraded module in ATM machine is just Monitoring is currently accessed the control module in Powerlink networks, and identifies the presupposed information of control module, at the same time, rises Grade module can also count the quantity of access Powerlink network-based control modules, then the number based on the control module counted Amount, adjust Powerlink networks adaptation parameter, wherein adaptation parameter may include cycle period, Preq time-out times and Pres time-out times, in addition to this it is possible to including time slots Gap etc..
Correspondingly, downloading upgrading corresponding with control module admittedly according to the presupposed information of control module by upgraded module Part, and firmware updating is sent to corresponding control module, so that control module completes updating operation according to firmware updating, specifically May include:
Upgraded module is based on the adaptation parameter after adjustment, the presupposed information download sent according to control module and control module Corresponding firmware updating, and firmware updating is sent to corresponding control module, so that control module is completed according to firmware updating Updating operation.
In a specific embodiment of the present invention, upgraded module can in the Powerlink networks for having adjusted adaptation parameter, Firmware updating corresponding with control module is downloaded according to the presupposed information that control module is sent, and firmware updating is sent to correspondence Control module so that control module can according to firmware updating complete updating operation.
It will be understood, since Powerlink networks itself are with fixed cycle period and data packet It is long that come what is run, that is, adaptation parameter is fixed, and if the adaptation for not adjusting Powerlink networks according to actual conditions is joined Number is just easy to cause data the flexibility that transmission efficiency is low and uses insufficient.And aforesaid operations process exactly based on It has adjusted and is completed in the Powerlink networks of adaptation parameter, it is thereby achieved that improve data transmission efficiency while, Increase the flexibility used.
Optionally, based on the above technical solution, the presupposed information of control module may include node serial number, equipment Type and device version etc..
In a specific embodiment of the present invention, upgraded module can according to the node serial number of control module, device type and Device version downloads firmware updating corresponding with control module, realizes the different control module of Adaptive matching, in addition, needing It is noted that the updating operation carried out for different control modules is carried out at the same time, therefore, ATM machine firmware is simplified The flow of updating operation, increases convenience.
Furthermore, it is necessary to explanation, if upgraded module is established with the control module for carrying out firmware upgrade is needed When Powerlink network communication connection failures, it can skip for the control module updating operation to be carried out and simultaneously Recording-related information, in order to work as subsequent analysis go out to communicate to connect failure cause and solve after, again to the control module carry out Updating operation.
In addition it is also necessary to explanation, no matter ATM machine is to be in upgrade job pattern or normal mode of operation, residing Network environment be Powerlink networks.Namely the above-mentioned firmware upgrade operation carried out for ATM machine and operating mode Handover operation is completed under Powerlink network environments.
Embodiment two
Fig. 2 is a kind of flow chart of ATM machine firmware upgrade method provided by Embodiment 2 of the present invention, and the present embodiment is applicable In the ATM machine firmware upgrade the case where, this method can be executed by ATM machine device for upgrading firmware, which may be used software And/or the mode of hardware is realized, which can be configured in equipment, such as typically ATM machine and computer etc..Such as Fig. 2 Shown, this method specifically comprises the following steps:
Step 210, when ATM machine firmware upgrade event is triggered, using the upgraded module in ATM machine as Powerlink Movable main website periodically monitoring in network is currently accessed the control module in Powerlink networks, and identifies control module Presupposed information;Wherein, control module includes at least one of main control module and sub-control module;Using main control module as Spare main website in Powerlink networks.
Step 220, the quantity that access Powerlink network-based control modules are counted by upgraded module.
Step 230, by upgraded module according to the quantity of control module, adjust the adaptation parameter of Powerlink networks;Its In, adaptation parameter includes cycle period, Preq time-out times and Pres time-out times.
Step 240, upgraded module are downloaded and are controlled according to the presupposed information of control module based on the adaptation parameter after adjustment The corresponding firmware updating of module, and firmware updating is sent to corresponding control module, so that control module is according to firmware updating Complete updating operation.
Step 250 receives the feedback information that control module is sent by upgraded module.
Step 260, when upgraded module receives feedback information, upgraded module is main by the activity of Powerlink networks The operating mode stood switches to the operating mode of slave station, and by main control module by the spare main website in Powerlink networks Operating mode switches to the operating mode of movable main website, so that ATM machine is by upgrade job pattern switching to normal mode of operation.
In a specific embodiment of the present invention, when ATM machine firmware upgrade event is triggered, system electrification initialization, just Upgraded module is set as movable main website, setting main control module is as spare main website and setting sub-control module as slave station.When When ATM machine is in upgrade job pattern, upgraded module is just used as movable main website, main control device to be just used as spare main website;Work as ATM machine When completing firmware upgrade, by the way that upgraded module is switched to slave station by the operating mode of the movable main website of Powerlink networks Operating mode, and main control module is switched into movable main website by the operating mode of the spare main website in Powerlink networks The mode of operating mode realizes switching of the ATM machine by upgrade job pattern to normal mode of operation.It is above-mentioned to be referred to as to be based on Double main redundancy schemes of Powerlink networks.
The technical solution of the present embodiment, by when ATM machine firmware upgrade event is triggered, by the upgrading mould in ATM machine Block is currently accessed the control module in Powerlink networks as the periodically monitoring of the movable main website in Powerlink networks, And identify the presupposed information of control module, the quantity of the control module in access Powerlink networks is counted by upgraded module, And the adaptation parameter of Powerlink networks is adjusted according to quantity, upgraded module is based on the adaptation parameter after adjustment, according to control mould The presupposed information of block downloads firmware updating corresponding with control module, and firmware updating is sent to corresponding control module, with So that control module is completed updating operation according to firmware updating when upgraded module receives feedback information, will rise on this basis Grade module is switched to the operating mode of slave station by the operating mode of the movable main website of Powerlink networks, and by main control module The operating mode that movable main website is switched to by the operating mode of the spare main website in Powerlink networks, so that ATM machine is by upgrading Operating mode switches to normal mode of operation, solves of high cost, data transmission in ATM machine firmware upgrade process in the prior art The low problem with using flexible deficiency of efficiency, improves data transmission efficiency and firmware upgrade efficiency and reduces cost.
Embodiment three
Fig. 3 is a kind of structural schematic diagram for ATM machine device for upgrading firmware that the embodiment of the present invention three provides, and the present embodiment can The case where suitable for ATM machine firmware upgrade, which may be used software and/or the mode of hardware is realized, which can match It is placed in equipment, such as typically ATM machine and computer etc..As shown in figure 3, the device specifically includes:
Presupposed information identification module 310, for when ATM machine firmware upgrade event is triggered, passing through the upgrading in ATM machine Module monitors are currently accessed the control module in Powerlink networks, and identify the presupposed information of control module;Wherein, it controls Molding block includes at least one of main control module and sub-control module;
Firmware updating sending module 320, for downloading and controlling according to the presupposed information of control module by upgraded module The corresponding firmware updating of module, and firmware updating is sent to corresponding control module, so that control module is according to firmware updating Complete updating operation.
The technical solution of the present embodiment, by presupposed information identification module 310 when ATM machine firmware upgrade event is triggered When, the control module in Powerlink networks is currently accessed by the upgraded module monitoring in ATM machine, and identify control mould The presupposed information of block, firmware updating sending module 320 are downloaded and are controlled according to the presupposed information of control module by upgraded module The corresponding firmware updating of module, and firmware updating is sent to corresponding control module, so that control module is according to firmware updating Complete updating operation, solve that data transmission efficiency in ATM machine firmware upgrade process in the prior art is low and using flexible not The problem of foot, improves data transmission efficiency and firmware upgrade efficiency.
Optionally, based on the above technical solution, which can also include specifically:
Feedback information receiving module, for receiving the feedback information that control module is sent by upgraded module;
Operating mode handover module, for when upgraded module receives feedback information, by ATM machine by upgrade job pattern Switch to normal mode of operation.
Optionally, based on the above technical solution, operating mode handover module can specifically include:
Working mode changeover unit, for making using upgraded module as the slave station of Powerlink networks and by main control module For the movable main website of Powerlink networks, so that ATM machine is by upgrade job pattern switching to normal mode of operation.
Optionally, based on the above technical solution, firmware updating sending module 320, can specifically include:
Firmware updating module transmission unit, for when ATM machine firmware upgrade event is triggered, by the upgrading in ATM machine Module is currently accessed the control mould in Powerlink networks as the periodically monitoring of the movable main website in Powerlink networks Block, and identify the presupposed information of control module;Wherein, control module includes at least one of main control module and sub-control module;
Using main control module as the spare main website in Powerlink networks.
Correspondingly, Working mode changeover unit, can specifically include:
Operating mode switching subelement is used for upgraded module by the Working mould of the movable main website in Powerlink networks Formula switches to the operating mode of slave station, and main control module is cut by the operating mode of the spare main website in the networks Powerlink The operating mode of movable main website is shifted to, so that ATM machine is by upgrade job pattern switching to normal mode of operation.
Optionally, based on the above technical solution, which can also include specifically:
Control device quantity statistics module, for counting access Powerlink network-based control equipment by upgraded module Quantity;
Adaptation parameter adjusts module, for the quantity by upgraded module according to control module, adjusts Powerlink networks Adaptation parameter;Wherein, adaptation parameter includes cycle period, Preq time-out times and Pres time-out times;
Correspondingly, firmware updating sending module 310, can specifically include:
Firmware updating transmission unit, for upgraded module based on the adaptation parameter after adjustment, according to the default of control module Information downloads firmware updating corresponding with control module, and firmware updating is sent to corresponding control module, so that control mould Root tuber completes updating operation according to firmware updating.
Optionally, based on the above technical solution, the presupposed information of control module may include node serial number, equipment Type and device version.
What the embodiment of the present invention was provided is configured at the arbitrary implementation of the executable present invention of ATM machine device for upgrading firmware of equipment The ATM machine firmware upgrade method applied to equipment that example is provided, has the corresponding function module of execution method and advantageous effect.
Example IV
Fig. 4 is a kind of structural schematic diagram for equipment that the embodiment of the present invention four provides.The equipment that Fig. 4 is shown is only one Example should not bring any restrictions to the function and use scope of the embodiment of the present invention.As shown in figure 4, the embodiment of the present invention three The equipment of offer, including processor 41, memory 42, input unit 43 and output device 44;The quantity of processor 41 in equipment Can be one or more, in Fig. 4 by taking a processor 41 as an example;Processor 41, memory 42, input unit 43 in equipment It can be connected by bus or other modes with output device 44, in Fig. 4 for being connected by bus.
Memory 42 is used as a kind of computer readable storage medium, can be used for storing software program, computer can perform journey Sequence and module, if the corresponding program instruction/module of equipment display methods in the embodiment of the present invention is (for example, solid using ATM machine Presupposed information identification module 310, firmware updating sending module 320 in part update device).Processor 41 is stored in by operation Software program, instruction in memory 42 and module to perform various functions application and data processing, such as realize this The ATM machine firmware upgrade method applied to equipment that inventive embodiments are provided.
Memory 42 can include mainly storing program area and storage data field, wherein storing program area can store operation system Application program needed for system, at least one function;Storage data field can be stored uses created data etc. according to equipment.This Outside, memory 42 may include high-speed random access memory, can also include nonvolatile memory, for example, at least a magnetic Disk storage device, flush memory device or other non-volatile solid state memory parts.In some instances, memory 42 can be further Include the memory remotely located relative to processor 41, these remote memories can pass through network connection to equipment.It is above-mentioned The example of network includes but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Input unit 43 can be used for receiving number input by user or character information, with generate with the user setting of equipment with And the related key signals input of function control.Output device 44 may include that display screen etc. shows equipment.
Embodiment five
The embodiment of the present invention five also provides a kind of computer readable storage medium, is stored thereon with computer program, the journey Realize that a kind of ATM machine firmware upgrade method provided such as the embodiment of the present invention, this method include when sequence is executed by processor:
When ATM machine firmware upgrade event is triggered, it is currently accessed by the upgraded module monitoring in ATM machine Control module in Powerlink networks, and identify the presupposed information of control module;Wherein, control module includes main control module At least one of with sub-control module.
Firmware updating corresponding with control module is downloaded according to the presupposed information of control module by upgraded module, and will be risen Grade firmware is sent to corresponding control module, so that control module completes updating operation according to firmware updating.
Certainly, a kind of computer readable storage medium that the embodiment of the present invention is provided, computer executable instructions are not It is limited to method operation as described above, can also be performed in the ATM machine firmware upgrade method that any embodiment of the present invention is provided Relevant operation
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but the former is more in many cases Good embodiment.Based on this understanding, technical scheme of the present invention substantially in other words contributes to the prior art Part can be expressed in the form of software products, which can be stored in computer readable storage medium In, such as the floppy disk of computer, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set Standby (can be personal computer, server or the network equipment etc.) executes the method described in each embodiment of the present invention.
It is worth noting that, in the embodiment of above-mentioned ATM machine update device, included each unit and module are only pressed It is divided according to function logic, but is not limited to above-mentioned division, as long as corresponding function can be realized;In addition, The specific name of each functional unit is also only to facilitate mutually distinguish, the protection domain being not intended to restrict the invention.
Note that above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The present invention is not limited to specific embodiments described here, can carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out to the present invention by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also May include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

1. a kind of ATM machine firmware upgrade method, which is characterized in that including:
When ATM machine firmware upgrade event is triggered, Powerlink is currently accessed by the upgraded module monitoring in ATM machine Control module in network, and identify the presupposed information of the control module;Wherein, the control module include main control module and At least one of sub-control module;
Upgrading corresponding with the control module is downloaded admittedly according to the presupposed information of the control module by the upgraded module Part, and the firmware updating is sent to the corresponding control module, so that the control module is according to the firmware updating Complete updating operation.
2. according to the method described in claim 1, it is characterized in that, it is described by the upgraded module according to the control module Presupposed information download corresponding with control module firmware updating, and the firmware updating is sent to the corresponding control Molding block so that the control module according to the firmware updating complete updating operation after, further include:
The feedback information that the control module is sent is received by the upgraded module;
When the upgraded module receives the feedback information, by the ATM machine by upgrade job pattern switching to normal work Operation mode.
3. according to the method described in claim 2, its feature exists, it is described by the ATM machine by upgrade job pattern switching to just Normal operating mode, including:
Using the upgraded module as the slave station of the Powerlink networks and using the main control module as described in The movable main website of Powerlink networks, so that the ATM machine is by upgrade job pattern switching to normal mode of operation.
4. according to the method described in claim 3, it is characterized in that, described when ATM machine firmware upgrade event is triggered, pass through Upgraded module monitoring in ATM machine is currently accessed the control module in Powerlink networks, and identifies the control module Presupposed information;Wherein, the control module includes at least one of main control module and sub-control module, including:
When ATM machine firmware upgrade event is triggered, using the upgraded module in the ATM machine as the Powerlink Movable main website periodically monitoring in network is currently accessed the control module in the Powerlink networks, and identifies The presupposed information of the control module;Wherein, the control module includes that the main control module and the sub-control mould are in the block extremely It is one few;
Using the main control module as the spare main website in the Powerlink networks;
Correspondingly, it is described using the upgraded module as the slave station of the Powerlink networks and using the main control module as The movable main website of the Powerlink networks, so that the ATM machine is by upgrade job pattern switching to normal mode of operation, packet It includes:
The upgraded module is switched to the Working mould of slave station by the operating mode of the movable main website in the Powerlink networks Formula, and the main control module is switched into movable main website by the operating mode of the spare main website in the Powerlink networks Operating mode so that the ATM machine is by upgrade job pattern switching to normal mode of operation.
5. according to any methods of claim 1-4, which is characterized in that it is described by the upgraded module according to The presupposed information of control module downloads firmware updating corresponding with the control module, and the firmware updating is sent to correspondence The control module so that the control module according to the firmware updating complete updating operation before, further include:
The quantity of the control module of the Powerlink networks is accessed by upgraded module statistics;
By the upgraded module according to the quantity of the control module, the adaptation parameter of the Powerlink networks is adjusted;Its In, the adaptation parameter includes cycle period, Preq time-out times and Pres time-out times;
Correspondingly, described downloaded and the control module pair by the upgraded module according to the presupposed information of the control module The firmware updating answered, and the firmware updating is sent to the corresponding control module, so that the control module is according to institute It states firmware updating and completes updating operation, including:
The upgraded module based on the adaptation parameter after adjustment, according to the presupposed information of the control module download with it is described The corresponding firmware updating of control module, and the firmware updating is sent to the corresponding control module, so that described Control module completes updating operation according to the firmware updating.
6. according to the method described in claim 5, it is characterized in that, the presupposed information of the control module includes node volume Number, device type and device version.
7. a kind of ATM machine device for upgrading firmware, which is characterized in that including:
Presupposed information identification module, for when ATM machine firmware upgrade event is triggered, being supervised by the upgraded module in ATM machine The control module being currently accessed in Powerlink networks is surveyed, and identifies the presupposed information of the control module;Wherein, described Control module includes at least one of main control module and sub-control module;
Firmware updating sending module, for by the upgraded module according to the presupposed information of the control module download with it is described The corresponding firmware updating of control module, and the firmware updating is sent to the corresponding control module, so that the control Module completes updating operation according to the firmware updating.
8. device according to claim 7, which is characterized in that further include:
Feedback information receiving module, for receiving the feedback information that the control module is sent by the upgraded module;
Operating mode handover module, for when the upgraded module receives the feedback information, by the ATM machine by upgrading Operating mode switches to normal mode of operation.
9. a kind of equipment, which is characterized in that including:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors so that one or more of processors are real The now ATM machine firmware upgrade method as described in any in claim 1-6.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The ATM machine firmware upgrade method as described in any in claim 1-6 is realized when execution.
CN201810226512.8A 2018-03-19 2018-03-19 ATM firmware upgrading method, device, equipment and storage medium Active CN108446131B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810226512.8A CN108446131B (en) 2018-03-19 2018-03-19 ATM firmware upgrading method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810226512.8A CN108446131B (en) 2018-03-19 2018-03-19 ATM firmware upgrading method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108446131A true CN108446131A (en) 2018-08-24
CN108446131B CN108446131B (en) 2021-10-08

Family

ID=63195751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810226512.8A Active CN108446131B (en) 2018-03-19 2018-03-19 ATM firmware upgrading method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108446131B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070005845A1 (en) * 2005-06-30 2007-01-04 Canon Kabushiki Kaisha Peripheral device control system, its control method, and information processing apparatus, and computer program and computer-readable storage medium
US20090178033A1 (en) * 2008-01-07 2009-07-09 David Carroll Challener System and Method to Update Device Driver or Firmware Using a Hypervisor Environment Without System Shutdown
CN102045474A (en) * 2009-10-15 2011-05-04 佳能株式会社 Image forming apparatus including firmware and method of controlling the same
CN203689622U (en) * 2013-12-31 2014-07-02 深圳市证通电子股份有限公司 ATM and password keyboard supporting remote firmware upgrading
CN106201439A (en) * 2016-09-09 2016-12-07 深圳怡化电脑股份有限公司 A kind of method and device of abnormality processing
CN106325929A (en) * 2016-08-22 2017-01-11 合肥华凌股份有限公司 Firmware upgrading method, firmware upgrading device, refrigerator and server side
CN106980511A (en) * 2017-05-09 2017-07-25 深圳市乐得瑞科技有限公司 Firmware upgrade method, apparatus and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070005845A1 (en) * 2005-06-30 2007-01-04 Canon Kabushiki Kaisha Peripheral device control system, its control method, and information processing apparatus, and computer program and computer-readable storage medium
US20090178033A1 (en) * 2008-01-07 2009-07-09 David Carroll Challener System and Method to Update Device Driver or Firmware Using a Hypervisor Environment Without System Shutdown
CN102045474A (en) * 2009-10-15 2011-05-04 佳能株式会社 Image forming apparatus including firmware and method of controlling the same
CN203689622U (en) * 2013-12-31 2014-07-02 深圳市证通电子股份有限公司 ATM and password keyboard supporting remote firmware upgrading
CN106325929A (en) * 2016-08-22 2017-01-11 合肥华凌股份有限公司 Firmware upgrading method, firmware upgrading device, refrigerator and server side
CN106201439A (en) * 2016-09-09 2016-12-07 深圳怡化电脑股份有限公司 A kind of method and device of abnormality processing
CN106980511A (en) * 2017-05-09 2017-07-25 深圳市乐得瑞科技有限公司 Firmware upgrade method, apparatus and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
江杰等: "Ethernet Powerlink调度机制与实时通信剖析", 《自动化仪表》 *

Also Published As

Publication number Publication date
CN108446131B (en) 2021-10-08

Similar Documents

Publication Publication Date Title
US7510110B2 (en) RFID architecture in an industrial controller environment
US9182755B2 (en) Automated operator interface generation in a control system
US7275236B1 (en) Method for programming a multiple device control system using object sharing
CN103345410B (en) The mobile customized interface implementing method of operation business and system
CN106052004B (en) Intelligent terminal, remote server, air conditioner, air-conditioning system and its control method
CN110290213A (en) Intelligent robot management method and device and electronic equipment
CN114237676B (en) FPGA logic updating method, device, equipment and readable storage medium
CN101163039A (en) Apparatus for restoring network information for home network system and method thereof
CN101692210B (en) Single board starting monitoring system and monitoring method
CN108446131A (en) A kind of ATM machine firmware upgrade method, device, equipment and storage medium
US20210019138A1 (en) Updating components of a modular system
CN106569858B (en) A kind of update method and circuit board of configuration file
CN102468978B (en) Service configuration method and device
CN107943575A (en) Multitask monitoring and managing method and device in SPI NAND
CN109857638A (en) A kind of testing system software general framework
CN114265614B (en) Agent differential upgrading method and system
CN109451054A (en) A kind of device management method and equipment
CN113721932B (en) Online deployment method for vending machine software
CN104937508A (en) Programmable display unit and program for same
US11972257B2 (en) Industrial automation system topology with point to point business rule integration
EP4307104A1 (en) Extensible profiles for industrial controller devices
EP4307103A1 (en) Industrial automation system topology with point to point business rule integration
CN114090053A (en) Unit parameter updating method and device, air conditioning equipment and storage medium
CN105045581A (en) Program automatic configuration method of sub-modules in intelligent power device
CN113986288A (en) Firmware switching method and device, communication module, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
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