CN109309727A - A kind of SP remote access implementation method - Google Patents
A kind of SP remote access implementation method Download PDFInfo
- Publication number
- CN109309727A CN109309727A CN201811259031.3A CN201811259031A CN109309727A CN 109309727 A CN109309727 A CN 109309727A CN 201811259031 A CN201811259031 A CN 201811259031A CN 109309727 A CN109309727 A CN 109309727A
- Authority
- CN
- China
- Prior art keywords
- module
- tcp
- hservice
- address
- xfs
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 14
- 238000004891 communication Methods 0.000 claims abstract description 7
- 239000008186 active pharmaceutical agent Substances 0.000 claims description 6
- 238000007493 shaping process Methods 0.000 claims description 3
- 238000011161 development Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000007630 basic procedure Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004804 winding Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of SP to remotely access implementation method, increases TCP/IP client and TCP/IP server-side between the XFS SPIs module and SP module;The XFS SPIs module is when connecting SP module, TCP/IP server-side IP address where the SP module that will be connected is transmitted to TCP/IP client, after successful connection, the hService of acquisition is combined with local ip address, generating indicates unique hService in local area network, it is subsequent when being communicated again with this SP module, hService after combination is passed to TCP/IP client, IP address where TCP/IP client carries out identification target SP module according to IP address therein, corresponding TCP/IP server-side is sent this request to again, TCP/IP server-side receive request after by after combination hService be passed to SP module, SP module is developed according to local communication mode, this It invents a set of SP while supporting both of which.
Description
Technical field
The present invention relates to a kind of SP to remotely access implementation method, is related to computer software technical field, application product includes
Bank self-aid apparatus.
Background technique
CEN/XFS is the bank self-aid apparatus extension specification that European Committee for Standardization formulates, and wherein some is cried
Service Provider, abbreviation SP.SP is to apply the bridge communicated between device hardware, that is, middleware.At present with
The diversified development of banking demand, more and more banks propose that SP need support remote access, i.e., can be in local area network
The SP on an other computer is accessed in any one computer remote.In CEN/XFS standard, remote access rule are not formulated
Model, so each SP supplier can select to develop SP or enterprising on the old basis SP again in the case where facing this new demand
On the one hand row modification, this problem increase development amount, still further aspect increases maintenance difficulties.
Summary of the invention
For the above technical problems, the purpose of the present invention is: propose a kind of SP remote access implementation method,
In the case where completely compatible CEN/XFS standard, it is not necessary to modify old module SP codes can support remote access and local visit simultaneously
It asks.
The technical solution of the invention is as follows is achieved: a kind of SP remotely accesses implementation method, including Windows is answered
With program module, XFS APIs module, XFS SPIs module and SP module;The window application module and SP module
It is connected by XFS APIs module, XFS SPIs module and generates the short shaping Service Handle hService of no symbol;The XFS
Increase TCP/IP client and TCP/IP server-side between SPIs module and SP module;The XFS SPIs module is in connection SP mould
When block, the TCP/IP server-side IP address where the SP module that will be connected is transmitted to TCP/IP client, after successful connection, will obtain
HService be combined with local ip address, generate expression local area network in unique hService, it is subsequent again with this SP
When module is communicated, the hService after combination is passed to TCP/IP client, TCP/IP client is according to IP therein
Location carries out IP address where identification target SP module, then sends this request to corresponding TCP/IP server-side, TCP/IP service
It holds and the hService after combination is passed to SP module after receiving request, SP module is developed according to local communication mode.
Preferably, the specific combination that the hService and local ip address are combined is hServiceCombined value=
hServiceOriginal value& (4 octet IP address " n), wherein the range of n is 1 ~ 64.
Due to the application of the above technical scheme, compared with the prior art, the invention has the following advantages:
A kind of SP remote access implementation method of the invention can be complete in the case where completely compatible CEN/XFS standard
Local IP access mode (providing in CEN/XFS standard) and remote access mode (banking new demand) are supported, without opening again
SP is sent out, a set of SP supports both of which simultaneously.
Detailed description of the invention
Technical scheme of the present invention is further explained with reference to the accompanying drawing:
Attached drawing 1 is to define schematic diagram to the framework for being related to the part SP in CEN/XFS standard;
Attached drawing 2 is that a kind of framework of SP remote access implementation method of the invention defines schematic diagram;
Specific embodiment
The present invention will now be explained with reference to the accompanying drawings.
It is as shown in Fig. 2 a kind of SP remote access implementation method of the present invention, including window application mould
Block, XFS APIs module, XFS SPIs module and SP module;The window application module and SP module pass through XFS
APIs module, XFS SPIs module connect and generate the short shaping Service Handle hService of no symbol;The XFS SPIs module
Increase TCP/IP client and TCP/IP server-side between SP module;The XFS SPIs module, will when connecting SP module
TCP/IP server-side IP address where the SP module to be connected is transmitted to TCP/IP client, after successful connection, by acquisition
HService is combined with local ip address, generate indicate local area network in unique hService, it is subsequent again with this SP module
When being communicated, by after combination hService be passed to TCP/IP client, TCP/IP client according to IP address therein into
IP address where row identification target SP module, then corresponding TCP/IP server-side is sent this request to, TCP/IP server-side is received
The hService after combination is passed to SP module after to request, SP module is developed according to local communication mode.
The specific combination that the hService and local ip address are combined is hServiceCombined value=
hServiceOriginal value& (4 octet IP address " n), wherein the range of n is 1 ~ 64, and basic procedure is, first that the IP address of 4 bytes is left
N are moved, the integer of 6 bytes or 8 bytes is obtained, then carry out step-by-step matching with the original value of hService, just obtains local
Unique hService in netting, and original hService information is not lost.
XFS SPIs module and TCP/IP client are directly connected to, and are operated on same computer, and XFS SPIs module is even
When connecing SP module, the server-side IP address where the SP module for needing to connect is transmitted to TCP/IP client, after successful connection,
The hService of acquisition and local ip address are pressed into hServiceCombined value=hServiceOriginal value& (4 octet IP address " n) carry out group
It closes, obtains indicating unique hService in local area network, solve the problems, such as hServie conflict, it is subsequent to be carried out again with this SP module
When communication, the hService after combination is passed to TCP/IP client, TCP/IP client is known according to IP address therein
IP address where other target SP module, then corresponding TCP/IP server is sent this request to, TCP/IP server, which receives, asks
The hService after combination is passed to SP module after asking, SP module need to only be developed according to local communication mode.Because
TCP/IP supports local winding communication, so this design method supports local IP access completely, by TCP/IP client and TCP/
The IP address of IP server-side is arranged to loopback address 127.0.0.1.
A kind of SP remote access implementation method of the invention can be complete in the case where completely compatible CEN/XFS standard
Local IP access mode (providing in CEN/XFS standard) and remote access mode (banking new demand) are supported, without opening again
SP is sent out, a set of SP supports both of which simultaneously.
The above embodiments merely illustrate the technical concept and features of the present invention, and its object is to allow person skilled in the art
Scholar can understand the contents of the present invention and be implemented, and it is not intended to limit the scope of the present invention, it is all according to the present invention
Equivalent change or modification made by Spirit Essence, should be covered by the scope of protection of the present invention.
Claims (2)
1. a kind of SP remotely accesses implementation method, including window application module, XFS APIs module, XFS SPIs mould
Block and SP module;The window application module is connected simultaneously with SP module by XFS APIs module, XFS SPIs module
It generates without the short shaping Service Handle hService of symbol;It is characterized by: increasing between the XFS SPIs module and SP module
TCP/IP client and TCP/IP server-side;The XFS SPIs module is when connecting SP module, the SP module institute that will connect
TCP/IP server-side IP address be transmitted to TCP/IP client, after successful connection, by the hService of acquisition and local IP
Location is combined, and generating indicates unique hService in local area network, subsequent when being communicated again with this SP module, after combination
HService be passed to TCP/IP client, TCP/IP client according to IP address therein carry out identification target SP module where
IP address, then corresponding TCP/IP server-side is sent this request to, TCP/IP server-side will be after combination after receiving request
HService is passed to SP module, and SP module is developed according to local communication mode.
2. a kind of SP as described in claim 1 remotely accesses implementation method, it is characterised in that: the hService and local IP
The specific combination that address is combined is hServiceCombined value=hServiceOriginal value& (4 octet IP address " n), wherein n
Range is 1~64.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811259031.3A CN109309727A (en) | 2018-10-26 | 2018-10-26 | A kind of SP remote access implementation method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811259031.3A CN109309727A (en) | 2018-10-26 | 2018-10-26 | A kind of SP remote access implementation method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN109309727A true CN109309727A (en) | 2019-02-05 |
Family
ID=65222135
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811259031.3A Pending CN109309727A (en) | 2018-10-26 | 2018-10-26 | A kind of SP remote access implementation method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN109309727A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111935248A (en) * | 2020-07-22 | 2020-11-13 | 浪潮金融信息技术有限公司 | SP remote file transmission method |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1407775A (en) * | 2001-06-29 | 2003-04-02 | 诺基亚有限公司 | Device, method and system for object exchanging bridge |
| CN102055817A (en) * | 2010-12-30 | 2011-05-11 | 中国人民解放军信息工程大学 | Method for gathering homologous address beam and homologous gathering network route system |
| US20140098662A1 (en) * | 2000-06-23 | 2014-04-10 | Cloudshield Technologies, Inc. | Transparent provisioning of services over a network |
| CN107493266A (en) * | 2017-07-26 | 2017-12-19 | 广州广电运通金融电子股份有限公司 | Communication system, the method and device of built-in self-help terminal |
-
2018
- 2018-10-26 CN CN201811259031.3A patent/CN109309727A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140098662A1 (en) * | 2000-06-23 | 2014-04-10 | Cloudshield Technologies, Inc. | Transparent provisioning of services over a network |
| CN1407775A (en) * | 2001-06-29 | 2003-04-02 | 诺基亚有限公司 | Device, method and system for object exchanging bridge |
| CN102055817A (en) * | 2010-12-30 | 2011-05-11 | 中国人民解放军信息工程大学 | Method for gathering homologous address beam and homologous gathering network route system |
| CN107493266A (en) * | 2017-07-26 | 2017-12-19 | 广州广电运通金融电子股份有限公司 | Communication system, the method and device of built-in self-help terminal |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111935248A (en) * | 2020-07-22 | 2020-11-13 | 浪潮金融信息技术有限公司 | SP remote file transmission method |
| CN111935248B (en) * | 2020-07-22 | 2023-12-29 | 浪潮金融信息技术有限公司 | SP remote file transfer method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7496497B2 (en) | Method and system for selecting web site home page by extracting site language cookie stored in an access device to identify directional information item | |
| CN103716308B (en) | Multiprotocol platform communication method and multiprotocol platform | |
| CN102427451B (en) | Method and system for acquiring service application | |
| CN110049022A (en) | A kind of domain name access control method, device and computer readable storage medium | |
| CN103873449B (en) | Method for network access and system | |
| CN110166455A (en) | A kind of multi-operator platform data adaptation method and relevant device | |
| US20050210135A1 (en) | System for ubiquitous network presence and access without cookies | |
| CN105319973B (en) | A kind of method and device that smart home device is replaced by scanning the two-dimensional code | |
| CN108881228A (en) | Cloud registration activation method, device, equipment and storage medium | |
| CN106685949A (en) | Container access method, container access device and container access system | |
| CN112291363A (en) | Method, apparatus, electronic device, and computer-readable storage medium for wireless communication | |
| CN109962892A (en) | A kind of authentication method and client, server logging in application | |
| CN104954508B (en) | A kind of system and its auxiliary charging method for DHCP protocol auxiliary charging | |
| CN106535148B (en) | System and method for realizing simultaneous online of one card and multiple numbers of mobile terminal | |
| CN108235083A (en) | TV log information acquisition methods and device | |
| CN109309727A (en) | A kind of SP remote access implementation method | |
| CN104281801B (en) | Single-sign-on control method and device | |
| CN107645597A (en) | The synchronous method and terminal of application program | |
| CN109286506B (en) | A method, system and device for traffic accounting | |
| CN106789905A (en) | A kind of network access equipment and method | |
| CN109088954B (en) | Distributed object identification information registration and analysis method | |
| CN106302856B (en) | A kind of method and system shortening Android intelligence POS exchange hour | |
| WO2002011488A3 (en) | Radio terminal procedure method and radio terminal system | |
| CN106302697A (en) | Air conditioner data analysis method and device and air conditioner | |
| CN112291209B (en) | Method and device for acquiring front-end equipment catalog |
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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190205 |