CN106815950B - Intelligent teller machine driving method and system based on single module - Google Patents

Intelligent teller machine driving method and system based on single module Download PDF

Info

Publication number
CN106815950B
CN106815950B CN201710017803.1A CN201710017803A CN106815950B CN 106815950 B CN106815950 B CN 106815950B CN 201710017803 A CN201710017803 A CN 201710017803A CN 106815950 B CN106815950 B CN 106815950B
Authority
CN
China
Prior art keywords
module
layer
hardware
ukey
logical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710017803.1A
Other languages
Chinese (zh)
Other versions
CN106815950A (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.)
Inspur Financial Information Technology Co Ltd
Original Assignee
Inspur Financial Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Financial Information Technology Co Ltd filed Critical Inspur Financial Information Technology Co Ltd
Priority to CN201710017803.1A priority Critical patent/CN106815950B/en
Publication of CN106815950A publication Critical patent/CN106815950A/en
Application granted granted Critical
Publication of CN106815950B publication Critical patent/CN106815950B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to a driving method and a system of an intelligent teller machine based on a single module, which comprises the following steps that a service layer establishes connection between an SP layer and a bottom hardware driving library; detecting the hardware module state of each hardware module by a bottom hardware driving library; the hardware module state is transmitted to an SP layer through a service layer, and meanwhile, the service layer stores the hardware module state to a shared memory by adopting multithreading calling; and the SP layer inquires the hardware module state of each hardware module stored in the shared memory. The invention adopts a single module SP layer, a service layer and a bottom layer drive library three-layer framework, wherein the service layer establishes connection between the SP layer and the bottom layer hardware drive library, and the functions of the SP layer are realized and completed in the hardware bottom layer library through message transmission and interaction. The stability of the module is improved, the possibility of various abnormal conditions is reduced, the logic flow of the service layer is simplified, and the information interaction efficiency between the upper layer module and the bottom layer module is improved.

Description

Intelligent teller machine driving method and system based on single module
Technical Field
The invention belongs to the field of financial self-service terminals, and particularly relates to a single-module-based intelligent teller machine driving method and a single-module-based intelligent teller machine driving system.
Background
The intelligent teller machine is a lightweight customer transaction channel constructed by a bank system by using a big data technology, along with the development and the gradual maturity of the domestic financial self-service equipment market, more and more customers successively require each manufacturer to provide a hardware driving program meeting the XFS standard, the XFS standard is adopted, the equipment performance and the running condition of each hardware manufacturer can be obviously compared under the same upper-layer application and system, and the design and the realization mode of a driving layer SP are key factors of the execution efficiency of the whole equipment under the condition of removing the reason of bottom-layer hardware. Therefore, how to realize the driving function of each module of the driving layer component part and avoid abnormal logic errors; how to improve the information interaction efficiency between the upper layer module and the bottom layer module becomes a problem which people in the field strive to solve.
Disclosure of Invention
The invention aims to provide a single-module-based intelligent teller machine driving method, which improves the stability of modules, reduces the possibility of various abnormal conditions, simplifies the logic flow of a service layer and improves the information interaction efficiency between upper and lower modules.
In order to achieve the above object, the present invention provides a method for driving an intelligent teller machine based on a single module, comprising the following steps,
the service layer establishes connection between the SP layer and a bottom hardware drive library;
detecting the hardware module state of each hardware module by a bottom hardware driving library;
the hardware module state is transmitted to an SP layer through a service layer, and meanwhile, the service layer stores the hardware module state to a shared memory by adopting multithreading calling;
and the SP layer inquires the hardware module state of each hardware module stored in the shared memory.
The technical scheme of the invention is further defined as follows: the interface of each hardware module in the bottom hardware driver library is based on the XFS standard.
As a further improvement of the present invention, the further hardware module states include a device state and a channel state.
As a further improvement of the present invention, each physical module in the SP layer may correspond to at least two logical service modules.
As a further improvement of the invention, the SP layer further comprises a physical UKey module, the physical UKey module is divided into a logic UKey sending module and a logic UKey reading module, the logic UKey sending module is used for sending UKey, setting and reading K box information, the logic UKey reading module is used for reading UKey information, and the logic UKey sending module and the logic UKey reading module can query a UKey hardware module of a bottom layer hardware drive library.
The invention also aims to provide the intelligent teller machine driving system based on the single module, so that the capacity of the driving layer program in the aspects of executing efficiency and solving the abnormal problem is optimized and perfected, the normal operation of an upper application system is ensured, and the accurate monitoring of an upper state monitoring system is realized.
In order to achieve the above object, the present invention provides a single module-based intelligent teller machine driving system, comprising,
the connection unit is used for establishing connection between the SP layer and the bottom hardware drive library by the service layer;
the detection unit is used for detecting the hardware module state of each hardware module by the bottom hardware drive library;
the transmission and storage unit is used for transmitting the state of the hardware module to the SP layer through the service layer, and meanwhile, the service layer stores the state of the hardware module to the shared memory by adopting multithread calling;
and the query unit is used for querying the hardware module state of each hardware module stored in the shared memory by the SP layer.
As a further improvement of the present invention, the interface for further connecting each hardware module in the underlying hardware driver library in the unit is based on the XFS standard.
As a further improvement of the invention, the hardware module state in the detection unit comprises a device state and a channel state.
As a further improvement of the present invention, each physical module in the SP layer may correspond to at least two logical service modules.
As a further improvement of the invention, the SP layer further comprises a physical UKey module, the physical UKey module is divided into a logic UKey sending module and a logic UKey reading module, the logic UKey sending module is used for sending UKey, setting and reading K box information, the logic UKey reading module is used for reading UKey information, and the logic UKey sending module and the logic UKey reading module can query a UKey hardware module of a bottom layer hardware drive library.
The invention has the beneficial effects that:
1. the system adopts a single module SP layer, a service layer and a bottom layer drive library three-layer framework, the service layer establishes connection between the SP layer and the bottom layer hardware drive library, and the functions of the SP layer are realized and completed in the hardware bottom layer library through message transmission and interaction, so that the processing of a logic flow is simplified, and the execution efficiency of the module is improved.
2. The information interaction and transmission of various states of the module can be completed at one time through the shared memory or parameters, and the sharing of data and information is realized.
3. The driving function architectures of the modules are similar by adopting the XFS standard, and different state types are uniformly compatible.
Drawings
FIG. 1 is a flowchart illustrating a method for driving a smart teller machine based on a single module according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a single-module-based intelligent teller machine driving system according to an embodiment of the present invention;
fig. 3 is a block diagram of the drive function architecture of the UKey module of the intelligent teller machine drive system based on the driver layer according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
Referring to fig. 1 and 3, a method for driving an intelligent teller machine based on a single module according to the present invention includes the following steps,
step 1, a service layer establishes connection between an SP layer and a bottom hardware drive library;
step 2, detecting the hardware module state of each hardware module by a bottom hardware driving library;
step 3, the hardware module state is transmitted to an SP layer through a service layer, and meanwhile, the service layer stores the hardware module state to a shared memory by adopting multithreading calling;
and 4, the SP layer inquires the hardware module state of each hardware module stored in the shared memory.
The system adopts a single module SP layer, a service layer and a bottom layer drive library three-layer framework, the service layer establishes connection between the SP layer and a bottom layer hardware drive library, and the functions of the SP layer are realized and completed in the hardware bottom layer library through message transmission and interaction, and simultaneously, the subsequent expansion of different bottom layer modules and the expansion of the functions are facilitated; the information interaction and transmission modes of various states of the module can be completed at one time by sharing the memory or the parameters, so that the sharing of data and information is realized; the method simplifies the processing of the logic flow and improves the execution efficiency of the module.
The operation rules, modes, and the like in the above-described step 1 to step 4 will be described in detail below.
In step 1, interfaces of each hardware module in the bottom hardware driver library are based on an XFS standard, and the XFS standard is adopted to enable driving function architectures of the modules to be similar and to be compatible with different state types in a unified manner.
In step 2, the bottom layer hardware driver library detects that the hardware module states of each hardware module include a device state and a channel state.
Each physical module in the SP layer of the method can correspond to at least two logical service modules.
Taking a physical UKey module as an example, the physical UKey module is divided into a logic UKey sending module and a logic UKey reading module, the logic UKey sending module comprises a K bank sending module, a K bank swallowing and retreating module, a K box state setting module, an equipment reading state, a medium state and K box information, the logic UKey reading module is used for reading K bank information, equipment information and medium information, the logic UKey sending module and the logic UKey reading module can query a UKey hardware module of a bottom hardware drive library, and the UKey hardware module has the functions of opening equipment, initializing and resetting, inquiring the equipment state, sending the K bank, reading a K bank bar code, swallowing and retreating the K bank and closing the equipment.
Referring to fig. 2, the present invention provides a single module-based intelligent teller machine driving system, which comprises,
the connection unit 21 is used for the service layer to establish connection between the SP layer and the bottom hardware driver library;
the detection unit 22 is used for detecting the hardware module state of each hardware module by the bottom hardware drive library;
a transmission and storage unit 23, configured to transmit the hardware module state to an SP layer through a service layer, where the service layer stores the hardware module state to a shared memory by using multi-thread calling;
the query unit 24 is configured to query, by the SP layer, the hardware module state of each hardware module stored in the shared memory.
A single module SP layer, a service layer and a bottom layer drive library three-layer framework are adopted, the service layer in the connection unit 21 establishes connection between the SP layer and a bottom layer hardware drive library, and functions of the SP layer are realized and completed in the hardware bottom layer library through message transmission and interaction, and meanwhile, the subsequent expansion of different bottom layer modules and the expansion of the functions are facilitated; the information interaction and transmission modes of various states of the module can be completed at one time by sharing the memory or the parameters, so that the sharing of data and information is realized; the system simplifies the processing of the logic flow and improves the execution efficiency of the module.
The interface of each hardware module in the underlying hardware driver library in the connection unit 21 is based on the XFS standard. The driving function architectures of the modules are similar by adopting the XFS standard, and different state types are uniformly compatible.
The hardware module status in the detection unit 22 includes a device status and a channel status.
Each physical module of the SP layer in the system may correspond to at least two logical service modules. Taking a physical UKey module as an example, the physical UKey module is divided into a logic UKey sending module and a logic UKey reading module, the logic UKey sending module comprises a K bank sending module, a K bank swallowing and retreating module, a K box state setting module, an equipment reading state, a medium state and K box information, the logic UKey reading module is used for reading K bank information, equipment information and medium information, the logic UKey sending module and the logic UKey reading module can query a UKey hardware module of a bottom hardware drive library, and the UKey hardware module has the functions of opening equipment, initializing and resetting, inquiring the equipment state, sending the K bank, reading a K bank bar code, swallowing and retreating the K bank and closing the equipment.
In summary, the present invention adopts a three-layer architecture of a single module SP layer, a service layer and a bottom driver library, which simplifies the processing of the logic flow and improves the execution efficiency of the module, and the bottom module has comprehensive and independent functions, is more reasonable when called by the upper layer, does not generate logic errors with abnormal function calling, and reduces the burden of the hardware module.
In addition to the above embodiments, the present invention may have other embodiments. All technical solutions formed by adopting equivalent substitutions or equivalent transformations fall within the protection scope of the claims of the present invention.

Claims (10)

1. A driving method of intelligent teller machine based on single module is characterized in that the steps are as follows,
the service layer establishes connection between the SP layer and a bottom hardware drive library;
the bottom hardware driving library detects the hardware module state of each hardware module;
the hardware module state is transmitted to the SP layer through the service layer, and meanwhile, the service layer adopts multithreading calling to store the hardware module state in a shared memory;
and the SP layer inquires the hardware module state of each hardware module stored in the shared memory.
2. The intelligent teller machine driver method according to claim 1, wherein the interface of each hardware module in the underlying hardware driver library is based on XFS standard.
3. The intelligent teller machine driving method according to claim 1, wherein said hardware module status comprises device status and channel status.
4. The intelligent teller machine driving method according to claim 1, wherein each physical module in the SP layer corresponds to at least two logical service modules.
5. The intelligent teller machine driving method based on the single module according to claim 4, wherein the SP layer comprises a physical UKey module, the physical UKey module is divided into a logical UKey sending module and a logical UKey reading module, the logical UKey sending module is used for sending UKey, setting and reading K box information, the logical UKey reading module is used for reading UKey information, and both the logical UKey sending module and the logical UKey reading module can query a UKey hardware module of the bottom layer hardware driving library.
6. A single-module-based intelligent teller machine driving system is characterized by comprising,
the connection unit is used for establishing connection between the SP layer and the bottom hardware drive library by the service layer;
the detection unit is used for detecting the hardware module state of each hardware module by the bottom hardware drive library;
a transmission and storage unit, configured to transmit the hardware module state to the SP layer through the service layer, and store the hardware module state to a shared memory by the service layer using multi-thread calling;
and the query unit is used for querying the hardware module state of each hardware module stored in the shared memory by the SP layer.
7. The system of claim 6, wherein the interface of each hardware module in the underlying hardware driver library in the connection unit is based on the XFS standard.
8. The intelligent teller machine driver system according to claim 6 wherein said hardware module status in said detection unit comprises device status and channel status.
9. The intelligent teller machine driving system according to claim 6 wherein each physical module in the SP layer corresponds to at least two logical service modules.
10. The intelligent teller machine driving system based on a single module according to claim 9, wherein the SP layer comprises a physical UKey module, the physical UKey module is divided into a logical sending UKey module and a logical reading UKey module, the logical sending UKey module is used for sending UKey, setting and reading K box information, the logical reading UKey module is used for reading UKey information, and both the logical sending UKey module and the logical reading UKey module can query the UKey hardware module of the bottom layer hardware driving library.
CN201710017803.1A 2017-01-11 2017-01-11 Intelligent teller machine driving method and system based on single module Active CN106815950B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710017803.1A CN106815950B (en) 2017-01-11 2017-01-11 Intelligent teller machine driving method and system based on single module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710017803.1A CN106815950B (en) 2017-01-11 2017-01-11 Intelligent teller machine driving method and system based on single module

Publications (2)

Publication Number Publication Date
CN106815950A CN106815950A (en) 2017-06-09
CN106815950B true CN106815950B (en) 2020-02-18

Family

ID=59109362

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710017803.1A Active CN106815950B (en) 2017-01-11 2017-01-11 Intelligent teller machine driving method and system based on single module

Country Status (1)

Country Link
CN (1) CN106815950B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109461248A (en) * 2018-10-26 2019-03-12 苏州浪潮智能软件有限公司 A method of driving function is realized based on wholesale currency circulator
CN111754706A (en) * 2020-06-18 2020-10-09 浪潮金融信息技术有限公司 Novel self-service terminal medium distribution device and system implementation mode

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010539592A (en) * 2007-09-17 2010-12-16 ゼネラル・エレクトリック・カンパニイ Method and system for exchanging data
CN201853285U (en) * 2010-07-09 2011-06-01 北京银达润和科技发展有限公司 Mobile payment terminal and payment system
CN103345414A (en) * 2013-07-26 2013-10-09 广州广电运通金融电子股份有限公司 Method for controlling hardware equipment by self-service terminal, equipment manager and processor
CN105068947A (en) * 2015-08-20 2015-11-18 浪潮软件集团有限公司 Method for processing serial port communication based on driver layer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010539592A (en) * 2007-09-17 2010-12-16 ゼネラル・エレクトリック・カンパニイ Method and system for exchanging data
CN201853285U (en) * 2010-07-09 2011-06-01 北京银达润和科技发展有限公司 Mobile payment terminal and payment system
CN103345414A (en) * 2013-07-26 2013-10-09 广州广电运通金融电子股份有限公司 Method for controlling hardware equipment by self-service terminal, equipment manager and processor
CN105068947A (en) * 2015-08-20 2015-11-18 浪潮软件集团有限公司 Method for processing serial port communication based on driver layer

Also Published As

Publication number Publication date
CN106815950A (en) 2017-06-09

Similar Documents

Publication Publication Date Title
CN102663649B (en) Financial derivative transaction system
WO2020140649A1 (en) Blockchain smart contract management method and apparatus, electronic device and storage medium
CN112559407B (en) STP link layer state machine optimization method
CN106815950B (en) Intelligent teller machine driving method and system based on single module
CN108510648A (en) A kind of automatic vending machine remote control administrative system based on GPRS DTU
CN105045533A (en) Disk heartbeat transmitting and receiving method suitable for dual-control high-availability memory system
US20050149601A1 (en) Method, system and computer program product for real-time data integrity verification
CN105045531A (en) Buffer synchronization mechanism between double storage controllers
CN109165935A (en) Batch payment method, device, computer equipment and storage medium
CN110928935A (en) Data access command processing method, device and system
CN101340567A (en) Reliability guarantee method of network video monitoring frontend
CN102043712B (en) Error message output method and device
CN115712670A (en) Data source management system
CN113660136B (en) Method, device, equipment and storage medium for checking port availability of two-way switch
CN106155826A (en) For detecting and process the method and system of mistake in bus structures
CN114443468A (en) Excel table-based test comparison method and system
CN109949148A (en) A kind of automation air control configuration system and method for credit financing business
CN102917068A (en) Self-adaptive large-scale cluster communication system and self-adaptive large-scale cluster communication method
US20110137764A1 (en) Method of Applying Multi-Threaded Framework on Online Charging Network Service
CN106897185A (en) A kind of method and device of output abnormality
CN115729786A (en) Monitoring method, device, equipment and storage medium applied to multiple systems
CN104734896A (en) Method and system for acquiring running situations of service sub-systems
CN115086311B (en) Management system of enterprise cross-system service based on cloud service bus
CN114844907B (en) Bank transaction high-speed low-connection number implementation method based on MQ asynchronous transceiving
CN111104198A (en) Method, equipment and medium for improving operation efficiency of scanning system plug-in

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
CB02 Change of applicant information

Address after: Wusong Industrial Park, Wuzhong Development District of Suzhou City, Jiangsu province 215100 Wusong Road No. 818

Applicant after: Tide Financial Information Technology Co Ltd

Address before: Wusong Industrial Park, Wuzhong Development District of Suzhou City, Jiangsu province 215100 Wusong Road No. 818

Applicant before: Tide (Suzhou) Financial Technology Service Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant