CN108279947A - The method and device of financial self-service equipment SP installation kits adaptation - Google Patents

The method and device of financial self-service equipment SP installation kits adaptation Download PDF

Info

Publication number
CN108279947A
CN108279947A CN201810003801.1A CN201810003801A CN108279947A CN 108279947 A CN108279947 A CN 108279947A CN 201810003801 A CN201810003801 A CN 201810003801A CN 108279947 A CN108279947 A CN 108279947A
Authority
CN
China
Prior art keywords
model number
ardware model
hardware module
service equipment
financial self
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
CN201810003801.1A
Other languages
Chinese (zh)
Other versions
CN108279947B (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 CN201810003801.1A priority Critical patent/CN108279947B/en
Publication of CN108279947A publication Critical patent/CN108279947A/en
Application granted granted Critical
Publication of CN108279947B publication Critical patent/CN108279947B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention is suitable for financial self-service equipment technical field, provides a kind of method and device of financial self-service equipment SP installation kits adaptation.This method includes:It obtains SP operations and installation kit installs required dynamic link library and executable program file;Obtain the registry file for including the logical name set of each hardware module in financial self-service equipment;The detection program in dynamic link library is called to be detected hardware module using executable program file, to obtain the ardware model number of hardware module, wherein ardware model number is corresponding with the logical name of hardware module;Registry entry corresponding with the ardware model number obtained is searched from ardware model number registry entry set, and imports the registry entry found.The present invention automatically configures the SP registry entries of the CEN/XFS code requirements such as logical name of SP installation kits according to ardware model number and cross-platform, achieve the purpose that SP installation kits install that rear SP configuration is correct, can be called by cross-platform, with stronger practicability and ease for use.

Description

The method and device of financial self-service equipment SP installation kits adaptation
Technical field
It is adapted to the invention belongs to financial self-service equipment technical field more particularly to a kind of financial self-service equipment SP installation kits Method and device.
Background technology
Financial self-service equipment Cross Platform Technology refers to realizing that same cross-platform software can be according to CEN/XFS specifications The standard technique of the hardware device platform operation of different vendor.Financial self-service equipment multi-platform software can shield bottom hardware and set Standby difference so that same application may operate on the machine of different vendor.Financial city of the Cross Platform Technology standard in China Field application is the most prominent, also achieves abundant Cross Platform Technology accumulation and O&M experience for China.
Financial self-service equipment software with Cross Platform Technology is divided into two layers:Standard drives SP layers and cross-platform Layer, standard drive SP layers to be developed by financial self-service equipment manufacturer and realize, cross-platform layer is by special banking software provider Or bank provides, i.e., this two layers of software is generally researched and developed by different companies.According to CEN/XFS specifications, cross-platform Physics name is found according to logical name, and then module SP is found by physics name.For same module, logic that different application uses Name may be different.In addition, with the diversification of demand and the diversification of hardware selection, there are many types for a certain hardware module of complete machine Number.
In existing financial self-service equipment SP installation packet technology, SP needs to identify hardware mould by installation personnel after installation is complete Block and cross-platform reuse the CEN/XFS specifications such as logical name, the physics name of configuration tool software modification or manual modification SP It is required that SP registry entries, cross-platform energy normal call SP can be achieved the purpose that after the completion of modification.
In conclusion the method operating process for how configuring SP registry entries by manual decision at present is complicated, operating efficiency It is low.
Therefore, it is necessary to propose a kind of scheme to solve the above problems.
Invention content
In view of this, an embodiment of the present invention provides a kind of method and device of financial self-service equipment SP installation kits adaptation, To solve the method that financial self-service equipment SP installation kits are adapted in the prior art, there are the finance that user can not know reservation in advance Whether self-service device meets the problem of condition of transacting business.
The first aspect of the embodiment of the present invention provides a kind of method of financial self-service equipment SP installation kits adaptation, including:
It obtains SP operations and installation kit installs required dynamic link library and executable program file;
Obtain the registry file for including the logical name set of each hardware module in financial self-service equipment;
Using the executable program file call the detection program in the dynamic link library to the hardware module into Row detection, to obtain the ardware model number of the hardware module, wherein the logical name of the ardware model number and the hardware module It is corresponding;
Registry entry corresponding with the ardware model number of the acquisition is searched from ardware model number registry entry set, and is imported The registry entry found.
The second aspect of the embodiment of the present invention provides a kind of device of financial self-service equipment SP installation kits adaptation, including:
First acquisition module installs required dynamic link library and executable program for obtaining SP operations and installation kit File;
Second acquisition module, for obtaining the registration for including the logical name set of each hardware module in financial self-service equipment List file;
Detection module, for calling the detection program in the dynamic link library to institute using the executable program file It states hardware module to be detected, to obtain the ardware model number of the hardware module, wherein the ardware model number and the hardware mould The logical name of block corresponds to;
Import modul, for searching note corresponding with the ardware model number of the acquisition from ardware model number registry entry set Volume list item, and import the registry entry found.
The third aspect of the embodiment of the present invention provides a kind of financial self-service equipment, including memory, processor and deposits The computer program that can be run in the memory and on the processor is stored up, the processor executes the computer journey Following steps are realized when sequence:
It obtains SP operations and installation kit installs required dynamic link library and executable program file;
Obtain the registry file for including the logical name set of each hardware module in financial self-service equipment;
Using the executable program file call the detection program in the dynamic link library to the hardware module into Row detection, to obtain the ardware model number of the hardware module, wherein the logical name of the ardware model number and the hardware module It is corresponding;
Registry entry corresponding with the ardware model number of the acquisition is searched from ardware model number registry entry set, and is imported The registry entry found.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, the computer program to realize following steps when being executed by processor:
It obtains SP operations and installation kit installs required dynamic link library and executable program file;
Obtain the registry file for including the logical name set of each hardware module in financial self-service equipment;
Using the executable program file call the detection program in the dynamic link library to the hardware module into Row detection, to obtain the ardware model number of the hardware module, wherein the logical name of the ardware model number and the hardware module It is corresponding;
Registry entry corresponding with the ardware model number of the acquisition is searched from ardware model number registry entry set, and is imported The registry entry found.
In embodiments of the present invention, SP operations are obtained and installation kit installs required dynamic link library and executable program File, and obtain the registry file for including the logical name set of each hardware module in financial self-service equipment, using it is described can Execution calls the detection program in the dynamic link library to be detected the hardware module, described hard to obtain The ardware model number of part module is registered wherein the ardware model number is corresponding with the logical name of the hardware module from ardware model number Registry entry corresponding with the ardware model number of the acquisition is searched in list item set, and imports the registry entry found, The SP registration tablies of the CEN/XFS code requirements such as logical name of SP installation kits are automatically configured according to ardware model number and cross-platform , achieve the purpose that SP installation kits install that rear SP configuration is correct, can be called by cross-platform, with stronger practicability And ease for use.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only the present invention some Embodiment for those of ordinary skill in the art without having to pay creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the implementation process signal of the method for the financial self-service equipment SP installation kits adaptation that the embodiment of the present invention one provides Figure;
Fig. 2 is the structure diagram of the device of financial self-service equipment SP installation kits adaptation provided by Embodiment 2 of the present invention;
Fig. 3 is the schematic diagram for the financial self-service equipment that the embodiment of the present invention three provides.
Specific implementation mode
In being described below, for illustration and not for limitation, it is proposed that such as tool of particular system structure, technology etc Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention can also be realized in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
It should be appreciated that ought use in this specification and in the appended claims, the instruction of term " comprising " is described special Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step, Operation, element, component and/or its presence or addition gathered.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is Refer to any combinations and all possible combinations of one or more of associated item listed, and includes these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " Or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to Determine " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one
Fig. 1 shows the implementation process of the method for the financial self-service equipment SP installation kits adaptation that the embodiment of the present invention one provides Schematic diagram.As shown in Figure 1, the method for financial self-service equipment SP installation kits adaptation specifically comprises the following steps S101 extremely.
Step S101:It obtains SP operations and installation kit installs required dynamic link library and executable program file.
Wherein, dynamic link library (Dynamic Link Library are abbreviated as DLL) is Microsoft in Microsoft In Windows operating system, a kind of mode of Sharing Function library concept is realized.The extension name of these library functions can be " .dll ", " .ocx " or " .drv " (old-fashioned system driver).Dynamic link library provides a method, makes process can To call the function for being not belonging to its executable code.The executable code of function is located in a dll file, which includes one It is a or it is multiple be compiled, link and with the function that uses their process to be stored separately.DLL additionally aids shared data and money Source.Multiple application programs can access the content of single DLL copies in memory simultaneously.It can be more easily using dynamic link library Update is applied to modules, the other parts without influencing the program.
The essential distinction of executable program file and dynamic link library is that dynamic link library itself cannot be performed, It has to realize corresponding function by executable file calling.
Step S102:Obtain the registry file for including the logical name set of each hardware module in financial self-service equipment.
Illustratively, financial self-service equipment SP installation kits will include the logical name of each hardware module in financial self-service equipment The registry file A.reg of set is imported.
Wherein, for same hardware module, the logical name that different application uses may be different, and same hardware module may There are multiple ardware model numbers.
Step S103:Call the detection program in the dynamic link library to described hard using the executable program file Part module is detected, to obtain the ardware model number of the hardware module, wherein the ardware model number and the hardware module Logical name corresponds to.
Wherein, the ardware model number is corresponding with the logical name of the hardware module, this makes the hardware-type of hardware module It is number unique.
Optionally, the detection program in the executable program file is called to be detected the ardware model number of hardware module Including:
The hardware module is detected by USB decisions or serial ports decision, to obtain the hardware of the hardware module Model.
Illustratively, preferentially the hardware module is detected by USB decisions, if not determining hardware after USB decisions Model, then the hardware module is detected by serial ports decision.
Wherein, by USB decisions to the hardware module be detected including:
The manufacturer ID and product IDs of USB hardware in enumeration operation system, by the manufacturer ID and product IDs and hardware Model set is matched, using the ardware model number of successful match as the ardware model number of the hardware module, the ardware model number Set includes manufacturer ID and product IDs and the correspondence of ardware model number.
Wherein, by serial ports decision to the hardware module be detected including:
Serial ports in enumeration operation system sends predetermined instruction to each serial ports, if the data that some serial ports returns Specific data corresponding with a certain ardware model number in ardware model number set matches, then using the ardware model number to match as described in The ardware model number of hardware module, the ardware model number set include the correspondence of ardware model number and specific data.
Further, the serial ports in enumeration operation system, sending predetermined instruction to each serial ports includes:
The default serial port of each ardware model number sends the predetermined instruction in being closed to the hardware subset of serial communication, if can not examine The serial ports in the ardware model number of the hardware module, then enumeration operation system is measured, the predetermined finger is sent to each serial ports It enables.
Illustratively, the default serial port of each ardware model number sends the predetermined instruction in giving the hardware subset of serial communication to close Afterwards, if detecting the ardware model number of the hardware module, the ardware model number of the hardware module detected is obtained.If can not examine The serial ports in the ardware model number of the hardware module, then enumeration operation system is measured, the predetermined finger is sent to each serial ports It enables, the efficiency of detection can be improved.
Step S104:Registration table corresponding with the ardware model number of the acquisition is searched from ardware model number registry entry set , and import the registry entry found.
Wherein, the file shown in the left hand pane of " Registry Editor " window is known as registry entry.Registry entry Including the sublist item in it and value entry.
From lookup note corresponding with the ardware model number of the acquisition in ardware model number registry entry set (such as registration table) Volume list item, and import the registry entry found.The embodiment of the present invention is matched automatically according to ardware model number and cross-platform The SP registry entries for setting the CEN/XFS code requirements such as logical name of SP installation kits have reached SP installation kits and have installed rear SP configurations Correctly, the purpose that can be called by cross-platform.
In embodiments of the present invention, SP operations are obtained and installation kit installs required dynamic link library and executable program File, and obtain the registry file for including the logical name set of each hardware module in financial self-service equipment, using it is described can Execution calls the detection program in the dynamic link library to be detected the hardware module, described hard to obtain The ardware model number of part module is registered wherein the ardware model number is corresponding with the logical name of the hardware module from ardware model number Registry entry corresponding with the ardware model number of the acquisition is searched in list item set, and imports the registry entry found, The SP registration tablies of the CEN/XFS code requirements such as logical name of SP installation kits are automatically configured according to ardware model number and cross-platform , achieve the purpose that SP installation kits install that rear SP configuration is correct, can be called by cross-platform, with stronger practicability And ease for use.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Embodiment two
Referring to FIG. 2, it illustrates the devices of financial self-service equipment SP installation kits provided by Embodiment 2 of the present invention adaptation Structure diagram.Financial self-service equipment SP installation kits adaptation device 20 include:First acquisition module 21, the second acquisition module 22, detection module 23 and import modul 24.Wherein, the concrete function of each module is as follows:
First acquisition module 21 installs required dynamic link library and executable journey for obtaining SP operations and installation kit Preface part;
Second acquisition module 22, for obtaining the note for including the logical name set of each hardware module in financial self-service equipment Volume list file;
Detection module 23, for calling the detection program pair in the dynamic link library using the executable program file The hardware module is detected, to obtain the ardware model number of the hardware module, wherein the ardware model number and the hardware The logical name of module corresponds to;
Import modul 24, it is corresponding with the ardware model number of the acquisition for being searched from ardware model number registry entry set Registry entry, and import the registry entry found.
Optionally, detection module 23 includes:
Detection unit is detected the hardware module for passing through USB decisions or serial ports decision, described hard to obtain The ardware model number of part module.
Optionally, detection unit includes:
First enumerates coupling subelement, will be described for the manufacturer ID and product IDs of USB hardware in enumeration operation system Manufacturer ID and product IDs are matched with ardware model number set, using the ardware model number of successful match as the hardware module Ardware model number, the ardware model number set include manufacturer ID and product IDs and the correspondence of ardware model number.
Optionally, detection unit includes:
Second enumerates coupling subelement, and for the serial ports in enumeration operation system, predetermined instruction is sent to each serial ports, If the data specific data corresponding with a certain ardware model number in ardware model number set that some serial ports returns matches, by phase Ardware model number of the matched ardware model number as the hardware module, the ardware model number set include ardware model number with it is specific The correspondence of data.
Optionally, it second enumerates coupling subelement and includes:
Subelement is enumerated, the default serial port for each ardware model number in being closed to the hardware subset of serial communication sends described pre- Fixed instruction, if it can not detect the ardware model number of the hardware module, then the serial ports in enumeration operation system, give each serial ports Send the predetermined instruction.
In embodiments of the present invention, SP operations are obtained and installation kit installs required dynamic link library and executable program File, and obtain the registry file for including the logical name set of each hardware module in financial self-service equipment, using it is described can Execution calls the detection program in the dynamic link library to be detected the hardware module, described hard to obtain The ardware model number of part module is registered wherein the ardware model number is corresponding with the logical name of the hardware module from ardware model number Registry entry corresponding with the ardware model number of the acquisition is searched in list item set, and imports the registry entry found, The SP registration tablies of the CEN/XFS code requirements such as logical name of SP installation kits are automatically configured according to ardware model number and cross-platform , achieve the purpose that SP installation kits install that rear SP configuration is correct, can be called by cross-platform, with stronger practicability And ease for use.
Embodiment three
Fig. 3 is the schematic diagram for the financial self-service equipment that the embodiment of the present invention three provides.As shown in figure 3, the gold of the embodiment Melting self-service device 3 includes:It processor 30, memory 31 and is stored in the memory 31 and can be on the processor 30 The computer program 32 of operation, for example, financial self-service equipment SP installation kits adaptation method program.The processor 30 executes institute The step in the embodiment of the method for above-mentioned each financial self-service equipment SP installation kits adaptation is realized when stating computer program 32, such as Step S101 to S104 shown in FIG. 1.Alternatively, the processor 30 realizes above-mentioned each device when executing the computer program 32 The function of each module in embodiment, for example, module 21 to 24 shown in Fig. 2 function.
Illustratively, the computer program 32 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 31, and are executed by the processor 30, to complete the present invention.Described one A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for Implementation procedure of the computer program 32 in the financial self-service equipment 3 is described.For example, the computer program 32 can be with It is divided into the first acquisition module, the second acquisition module, detection module and import modul, the concrete function of each module is as follows:
First acquisition module installs required dynamic link library and executable program for obtaining SP operations and installation kit File;
Second acquisition module, for obtaining the registration for including the logical name set of each hardware module in financial self-service equipment List file;
Detection module, for calling the detection program in the dynamic link library to institute using the executable program file It states hardware module to be detected, to obtain the ardware model number of the hardware module, wherein the ardware model number and the hardware mould The logical name of block corresponds to;
Import modul, for searching note corresponding with the ardware model number of the acquisition from ardware model number registry entry set Volume list item, and import the registry entry found.
The financial self-service equipment 3 can be the computing devices such as desktop PC, notebook, palm PC.The gold Melt self-service device may include, but is not limited only to, processor 30, memory 31.It will be understood by those skilled in the art that Fig. 3 is only It is the example of financial self-service equipment, does not constitute the restriction to financial self-service equipment, may include more more or fewer than illustrating Component either combines certain components or different components, such as the financial self-service equipment can also be set including input and output Standby, network access equipment, bus etc..
Alleged processor 30 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
The memory 31 can be the internal storage unit of the financial self-service equipment 3, such as financial self-service equipment 3 Hard disk or memory.The memory 31 can also be the External memory equipment of the financial self-service equipment 3, such as the finance is certainly Help the plug-in type hard disk being equipped in equipment 3, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the memory 31 can also both include the finance The internal storage unit of self-service device 3 also includes External memory equipment.The memory 31 is for storing the computer program And other programs needed for the financial self-service equipment and data.The memory 31 can be also used for temporarily storing Output or the data that will be exported.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work( Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used It, can also be above-mentioned integrated during two or more units are integrated in one unit to be that each unit physically exists alone The form that hardware had both may be used in unit is realized, can also be realized in the form of SFU software functional unit.In addition, each function list Member, the specific name of module are also only to facilitate mutually distinguish, the protection domain being not intended to limit this application.Above system The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, depends on the specific application and design constraint of technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/financial self-service equipment and method, It may be implemented in other ways.For example, device described above/financial self-service equipment embodiment is only schematic , for example, the division of the module or unit, only a kind of division of logic function, can there is other draw in actual implementation The mode of dividing, such as multiple units or component can be combined or can be integrated into another system, or some features can be ignored, Or it does not execute.Another point, shown or discussed mutual coupling or direct-coupling or communication connection can be by one The INDIRECT COUPLING of a little interfaces, device or unit or communication connection can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can be stored in a computer read/write memory medium.Based on this understanding, the present invention realizes above-mentioned implementation All or part of flow in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium May include:Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic of the computer program code can be carried Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium includes can carry out increasing appropriate according to legislation in jurisdiction and the requirement of patent practice Subtract, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier signal and electricity Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to aforementioned reality Applying example, invention is explained in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each Technical solution recorded in embodiment is modified or equivalent replacement of some of the technical features;And these are changed Or replace, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of method of financial self-service equipment SP installation kits adaptation, which is characterized in that including:
It obtains SP operations and installation kit installs required dynamic link library and executable program file;
Obtain the registry file for including the logical name set of each hardware module in financial self-service equipment;
The detection program in the dynamic link library is called to examine the hardware module using the executable program file It surveys, to obtain the ardware model number of the hardware module, wherein the ardware model number is corresponding with the logical name of the hardware module;
Registry entry corresponding with the ardware model number of the acquisition is searched from ardware model number registry entry set, and imports lookup The registry entry arrived.
2. the method for financial self-service equipment SP installation kits adaptation as described in claim 1, which is characterized in that can be held described in calling Detection program in line program file to the ardware model number of hardware module be detected including:
The hardware module is detected by USB decisions or serial ports decision, to obtain the ardware model number of the hardware module.
3. the method for financial self-service equipment SP installation kits adaptation as claimed in claim 2, which is characterized in that pass through USB decisions To the hardware module be detected including:
The manufacturer ID and product IDs of USB hardware in enumeration operation system, by the manufacturer ID and product IDs and ardware model number Set is matched, using the ardware model number of successful match as the ardware model number of the hardware module, the ardware model number set Include manufacturer ID and product IDs and the correspondence of ardware model number.
4. the method for financial self-service equipment SP installation kits adaptation as claimed in claim 2, which is characterized in that pass through serial ports decision To the hardware module be detected including:
Serial ports in enumeration operation system sends predetermined instruction to each serial ports, if the data that return of some serial ports with it is hard The corresponding specific data of a certain ardware model number matches in part model set, then using the ardware model number to match as the hardware The ardware model number of module, the ardware model number set include the correspondence of ardware model number and specific data.
5. the method for financial self-service equipment SP installation kits adaptation as claimed in claim 4, which is characterized in that enumeration operation system In serial ports, to each serial ports send predetermined instruction include:
The default serial port of each ardware model number sends the predetermined instruction in being closed to the hardware subset of serial communication, if can not detect Serial ports in the ardware model number of the hardware module, then enumeration operation system sends the predetermined instruction to each serial ports.
6. a kind of device of financial self-service equipment SP installation kits adaptation, which is characterized in that including:
First acquisition module installs required dynamic link library and executable program text for obtaining SP operations and installation kit Part;
Second acquisition module, for obtaining the registration table text for including the logical name set of each hardware module in financial self-service equipment Part;
Detection module, for calling the detection program in the dynamic link library to described hard using the executable program file Part module is detected, to obtain the ardware model number of the hardware module, wherein the ardware model number and the hardware module Logical name corresponds to;
Import modul, for searching registration table corresponding with the ardware model number of the acquisition from ardware model number registry entry set , and import the registry entry found.
7. the device of financial self-service equipment SP installation kits adaptation as claimed in claim 6, which is characterized in that detection module packet It includes:
Detection unit is detected the hardware module for passing through USB decisions or serial ports decision, to obtain the hardware mould The ardware model number of block.
8. the device of financial self-service equipment SP installation kits adaptation as claimed in claim 7, which is characterized in that detection unit packet It includes:
First enumerates coupling subelement, for the manufacturer ID and product IDs of USB hardware in enumeration operation system, by the production Quotient ID and product IDs are matched with ardware model number set, using the ardware model number of successful match as the hardware of the hardware module Model, the ardware model number set include manufacturer ID and product IDs and the correspondence of ardware model number.
9. a kind of financial self-service equipment, including memory, processor and it is stored in the memory and can be in the processing The computer program run on device, which is characterized in that the processor realizes such as claim 1 when executing the computer program The step of to any one of 5 the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, feature to exist In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
CN201810003801.1A 2018-01-03 2018-01-03 Method and device for adapting SP installation package of financial self-service equipment Active CN108279947B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810003801.1A CN108279947B (en) 2018-01-03 2018-01-03 Method and device for adapting SP installation package of financial self-service equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810003801.1A CN108279947B (en) 2018-01-03 2018-01-03 Method and device for adapting SP installation package of financial self-service equipment

Publications (2)

Publication Number Publication Date
CN108279947A true CN108279947A (en) 2018-07-13
CN108279947B CN108279947B (en) 2021-03-12

Family

ID=62803038

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810003801.1A Active CN108279947B (en) 2018-01-03 2018-01-03 Method and device for adapting SP installation package of financial self-service equipment

Country Status (1)

Country Link
CN (1) CN108279947B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109102659A (en) * 2018-07-24 2018-12-28 苏州浪潮智能软件有限公司 A method of promoting bank self-help terminal security performance
CN109254761A (en) * 2018-09-30 2019-01-22 苏州浪潮智能软件有限公司 New Hardware method of interface under a kind of CEN-XFS framework
CN109656571A (en) * 2018-09-27 2019-04-19 深圳壹账通智能科技有限公司 Loading method, device, terminal and computer readable storage medium
CN110719175A (en) * 2019-10-12 2020-01-21 北京紫金支点技术有限公司 Interface calling verification method, automatic teller machine and storage medium
CN110807881A (en) * 2019-10-31 2020-02-18 浪潮金融信息技术有限公司 Financial self-service terminal hardware management solution
CN111240752A (en) * 2019-12-31 2020-06-05 北京元心科技有限公司 Operating system self-adaption method and system
CN112860283A (en) * 2019-11-12 2021-05-28 深圳怡化电脑股份有限公司 Self-identification upgrading method and device of SP (service provider) upgrading package and computer equipment
CN113176903A (en) * 2021-04-15 2021-07-27 常州易控汽车电子股份有限公司 Software integration method and system for applying Simulink model to different automobile controller platforms

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101620577A (en) * 2009-08-12 2010-01-06 广州广电运通金融电子股份有限公司 Method and system for automatically configuring automatic teller machine component
US9542682B1 (en) * 2007-12-14 2017-01-10 Consumerinfo.Com, Inc. Card registry systems and methods

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9542682B1 (en) * 2007-12-14 2017-01-10 Consumerinfo.Com, Inc. Card registry systems and methods
CN101620577A (en) * 2009-08-12 2010-01-06 广州广电运通金融电子股份有限公司 Method and system for automatically configuring automatic teller machine component

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
余东: "基于XFS规范的ATM设备驱动程序", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
李娜: "基于WOSA/XFS标准的ATM设备测试系统的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
老骥伏枥279: "WOSA/XFS及SP综述", 《HTTPS://BLOG.CSDN.NET/SUNBINLANGCHAO/ARTICLE/DETAILS/1750413》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109102659A (en) * 2018-07-24 2018-12-28 苏州浪潮智能软件有限公司 A method of promoting bank self-help terminal security performance
CN109656571A (en) * 2018-09-27 2019-04-19 深圳壹账通智能科技有限公司 Loading method, device, terminal and computer readable storage medium
CN109254761A (en) * 2018-09-30 2019-01-22 苏州浪潮智能软件有限公司 New Hardware method of interface under a kind of CEN-XFS framework
CN110719175A (en) * 2019-10-12 2020-01-21 北京紫金支点技术有限公司 Interface calling verification method, automatic teller machine and storage medium
CN110719175B (en) * 2019-10-12 2022-06-28 北京紫金支点技术有限公司 Interface calling verification method, automatic teller machine and storage medium
CN110807881A (en) * 2019-10-31 2020-02-18 浪潮金融信息技术有限公司 Financial self-service terminal hardware management solution
CN112860283A (en) * 2019-11-12 2021-05-28 深圳怡化电脑股份有限公司 Self-identification upgrading method and device of SP (service provider) upgrading package and computer equipment
CN112860283B (en) * 2019-11-12 2024-04-02 深圳怡化电脑股份有限公司 SP upgrade package self-identification upgrade method and device and computer equipment
CN111240752A (en) * 2019-12-31 2020-06-05 北京元心科技有限公司 Operating system self-adaption method and system
CN113176903A (en) * 2021-04-15 2021-07-27 常州易控汽车电子股份有限公司 Software integration method and system for applying Simulink model to different automobile controller platforms
CN113176903B (en) * 2021-04-15 2024-04-26 常州易控汽车电子股份有限公司 Software integration method and system for Simulink model applied to different automobile controller platforms

Also Published As

Publication number Publication date
CN108279947B (en) 2021-03-12

Similar Documents

Publication Publication Date Title
CN108279947A (en) The method and device of financial self-service equipment SP installation kits adaptation
CN103853532B (en) Method and apparatus for function call
CN109783346B (en) Keyword-driven automatic testing method and device and terminal equipment
CN106648787A (en) Resource updating method and terminal
CN109582325A (en) Robot software upgrading method, robot and computer readable storage medium
CN107368272A (en) A kind of double screen is different to touch different aobvious method, apparatus and computer-readable recording medium
CN108376364A (en) A kind of method, equipment and the terminal device of payment system reconciliation
CN112149169A (en) Application access method and device and computer readable storage medium
CN108334347A (en) A kind of method for customizing and device of Service control flow
CN108334346A (en) A kind of development approach and device of Service control flow
CN108446968A (en) A kind of method, apparatus and terminal device of accounting entry
CN109992588A (en) It is a kind of to divide folk prescription method and relevant device based on data processing
CN107656750A (en) Update of plug-in method and device
US8473882B2 (en) Method and system for scalable reduction in registers with SAT-based resubstitution
CN108399025A (en) Method and device for correcting identification deviation and terminal equipment
CN107656785A (en) Basic input output system sets interface display method and terminal device
CN109960538A (en) A kind of configuration interface management method, configuration interface managing device and electronic equipment
CN107679889B (en) The recognition methods of potential customers a kind of and terminal device
US8793661B1 (en) Programmer specified conditions for raising exceptions and handling errors detected within programming code
CN110231907A (en) Display methods, electronic equipment, computer equipment and the medium of electronic reading
CN110209349A (en) The method and terminal device of data processing
CN107272989B (en) Using starting method, apparatus and terminal device
CN108335434A (en) A kind of finance device wholesale note output abnormality eliminating method, device and finance device
CN107301236A (en) Application searches method, mobile terminal, server and computer-readable recording medium
CN107330058A (en) Application searches method, mobile terminal and computer-readable recording 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