CN109246212B - Multi-bank data interaction implementation method based on long connection - Google Patents

Multi-bank data interaction implementation method based on long connection Download PDF

Info

Publication number
CN109246212B
CN109246212B CN201811006252.XA CN201811006252A CN109246212B CN 109246212 B CN109246212 B CN 109246212B CN 201811006252 A CN201811006252 A CN 201811006252A CN 109246212 B CN109246212 B CN 109246212B
Authority
CN
China
Prior art keywords
enterprise
server
preposed
client
sends
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
CN201811006252.XA
Other languages
Chinese (zh)
Other versions
CN109246212A (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.)
Shanghai I2finance Software Co ltd
Original Assignee
Shanghai I2finance Software 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 Shanghai I2finance Software Co ltd filed Critical Shanghai I2finance Software Co ltd
Priority to CN201811006252.XA priority Critical patent/CN109246212B/en
Publication of CN109246212A publication Critical patent/CN109246212A/en
Application granted granted Critical
Publication of CN109246212B publication Critical patent/CN109246212B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a multi-bank data interaction realization method based on long connection, which uses the long connection to get through the interaction between an enterprise and a unified set of servers, and the assembly, transmission and analysis of messages are processed in the unified set of servers, thereby reducing the expenditure of enterprise resources. When the interaction of other new banks is added, the business operation server is only needed to be updated, and the enterprise front-end client does not need to be updated. The invention changes the traditional deployment mode, and the original independent deployment of enterprises is migrated to the unified deployment, maintenance and management, and the interaction technology introduces long connection, thereby improving the interaction efficiency and reducing the resource overhead.

Description

Multi-bank data interaction implementation method based on long connection
Technical Field
The invention relates to the technical field of data communication, in particular to a multi-bank data interaction realization method based on long connection, which realizes a set of solution schemes of message assembly, message transmission, message sending and message analysis, is used for meeting the requirements of enterprises on multi-bank fund management and getting through the obstacle that each bank can only finish the initiation instruction of the bank to the transaction data.
Background
At present, enterprises adopt a traditional fund management mode, cash management software provided by banks is called, but the cash management software cannot be communicated with internal systems of the enterprises, and only fund management of a single bank can be completed. If the fund accounts of a plurality of banks are managed, the system needs to be switched frequently. Based on software (composed as shown in fig. 1) like a cross-bank communication type, the software and hardware cost of an enterprise is increased, the software implementation period is prolonged, and version consistency cannot be controlled. With the continuous improvement of functions, the number of accessed banks is bound to be increased continuously, if a customer wants to use the latest version, the new version needs to be redeployed, and with the rapid iteration of projects, the number of accessed banks is increased, the customer also needs to continuously update the software version, so that a great deal of work is added to an implementation team.
Disclosure of Invention
Aiming at the defects of the prior art, the invention aims to provide a multi-bank data interaction implementation method based on long connection, which can uniformly deploy and uniformly manage a system, reduce the cost investment of enterprises and improve the fund processing efficiency of the enterprises.
In order to achieve the purpose, the invention adopts the following technical scheme:
a multi-bank data interaction realization method based on long connection comprises the following steps:
s1, initiating a transaction operation by a user in a browser, completing message assembly after a business operation server receives a transaction operation instruction, then requesting a message from a front-end server of an enterprise, and inquiring a long connecting channel corresponding to the user in a database;
s2, the enterprise front-end server encrypts and signs the message assembled by the business operation server and transmits the message to the corresponding enterprise front-end client, and the corresponding enterprise front-end client acquires the request address and the request protocol corresponding to the specific bank to be requested from the message to complete the interaction with the corresponding bank front-end server;
s3, the front-end bank server sends response message information to the front-end enterprise client, the front-end enterprise client encrypts the response message information and sends the encrypted response message information to the front-end enterprise server in a signature mode, the front-end enterprise server analyzes the response message information and sends the response message information to the business operation server, and the business operation server sends the analyzed response message information to the browser and displays the response message information to a user.
Further, in step S1, the method for establishing the long connection path includes:
1) a user initiates a login request in a browser and inputs login request parameters, the login request parameters are sent to an enterprise preposed client, the enterprise preposed client encrypts the login request parameters and sends a signature to an enterprise preposed server, the enterprise preposed server sends the login request parameters to an interface server for verification, the interface server returns a verification result to the enterprise preposed server after verification, the enterprise preposed server encrypts the verification result and sends the signature to the enterprise preposed client, and the enterprise preposed client sends the verification result to the browser;
2) if the verification is successful, the browser initiates a forwarding request, the enterprise preposed client encrypts the information of the enterprise preposed client and sends the information to the enterprise preposed server after receiving the forwarding request, the enterprise preposed server pushes the address of the server to the interface server after receiving the information of the enterprise preposed client, and the interface server returns the information to the enterprise preposed server and inserts or updates the address of the server in the database; the enterprise preposed server side encrypts and signs the return information of the interface server side and sends the encrypted and signed return information to the enterprise preposed client side, the enterprise preposed client side sends a request for establishing a long connecting channel to the enterprise preposed server side, the enterprise preposed server side sends information of successful establishment to the enterprise preposed client side after successful establishment, and the enterprise preposed client side sends information for prompting successful login to a browser.
Further, in step 2), if the authentication fails, the browser directly prompts the user that the authentication fails.
Further, the login request parameter includes one or both of a login password and a Ukey password and a user name.
Further, the message is in a standard XML format.
Further, the enterprise front-end client communicates by adopting one or more of an https protocol, an http protocol and a socket protocol.
The invention has the beneficial effects that: in the invention, long connection is used for getting through the interaction between the enterprise and a set of unified servers, and the assembly, transmission and analysis of the message are processed in a set of servers in a unified manner, thereby reducing the expenditure of enterprise resources. When the interaction of other new banks is added, the business operation server is only needed to be updated, and the enterprise front-end client does not need to be updated.
Drawings
FIG. 1 is a schematic diagram of an implementation of a prior art method;
FIG. 2 is a schematic diagram of an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating an implementation of establishing a long connection channel according to an embodiment of the present invention.
Detailed Description
The present invention will be further described with reference to the accompanying drawings, and it should be noted that the following examples are provided to illustrate the detailed embodiments and specific operations based on the technical solutions of the present invention, but the scope of the present invention is not limited to the examples.
As shown in fig. 2, a method for implementing multi-bank data interaction based on long connection includes the following steps:
s1, initiating a transaction operation by a user in a browser, completing message assembly after a business operation server receives a transaction operation instruction, then requesting a message from a front-end server of an enterprise, and inquiring a long connecting channel corresponding to the user in a database;
s2, the enterprise front-end server encrypts and signs the message assembled by the business operation server and transmits the message to the corresponding enterprise front-end client, and the corresponding enterprise front-end client acquires the request address (the client is configured in the business operation server in advance) and the request protocol corresponding to the specific bank to be requested from the message to complete the interaction with the corresponding bank front-end server;
s3, the front-end bank server sends response message information to the front-end enterprise client, the front-end enterprise client encrypts the response message information and sends the encrypted response message information to the front-end enterprise server in a signature mode, the front-end enterprise server analyzes the response message information and sends the response message information to the business operation server, and the business operation server sends the analyzed response message information to the browser and displays the response message information to a user.
As shown in fig. 3, in step S1, the method for establishing the long connection path includes:
1) a user initiates a login request in a browser and inputs login request parameters, the login request parameters are sent to an enterprise preposed client, the enterprise preposed client encrypts the login request parameters and sends a signature to an enterprise preposed server, the enterprise preposed server sends the login request parameters to an interface server for verification, the interface server returns a verification result to the enterprise preposed server after verification, the enterprise preposed server encrypts the verification result and sends the signature to the enterprise preposed client, and the enterprise preposed client sends the verification result to the browser;
2) if the verification is successful, the browser initiates a forwarding request, the enterprise preposed client encrypts the information of the enterprise preposed client and sends the information to the enterprise preposed server after receiving the forwarding request, the enterprise preposed server pushes the address of the server to the interface server after receiving the information of the enterprise preposed client, and the interface server returns the information to the enterprise preposed server and inserts or updates the address of the server in the database; the enterprise preposed server side encrypts and signs the return information of the interface server side and sends the encrypted and signed return information to the enterprise preposed client side, the enterprise preposed client side sends a request for establishing a long connecting channel to the enterprise preposed server side, the enterprise preposed server side sends information of successful establishment to the enterprise preposed client side after successful establishment, and the enterprise preposed client side sends information for prompting successful login to a browser.
It should be further noted that, in step 2), if the authentication fails, the browser directly prompts the user that the authentication fails.
It should be noted that the login request parameter includes one or both of a login password and a Ukey password and a user name.
It should be noted that the message is a standard XML format message.
It should be noted that the enterprise front-end client communicates by using one or more of an http protocol, and a socket protocol.
Various corresponding changes and modifications can be made by those skilled in the art based on the above technical solutions and concepts, and all such changes and modifications should be included in the protection scope of the present invention.

Claims (5)

1. A multi-bank data interaction implementation method based on long connection is characterized by comprising the following steps:
s1, initiating a transaction operation by a user in a browser, completing message assembly after a business operation server receives a transaction operation instruction, then requesting a message from a front-end server of an enterprise, and inquiring a long connecting channel corresponding to the user in a database;
s2, the enterprise front-end server encrypts and signs the message assembled by the business operation server and transmits the message to the corresponding enterprise front-end client, and the corresponding enterprise front-end client acquires the request address and the request protocol corresponding to the specific bank to be requested from the message to complete the interaction with the corresponding bank front-end server;
s3, the bank front-end server sends response message information to the enterprise front-end client, the enterprise front-end client encrypts the response message information and sends the encrypted response message information to the enterprise front-end server in a signature mode, the enterprise front-end server analyzes the response message information and sends the response message information to the business operation server, and the business operation server sends the analyzed response message information to the browser and displays the response message information to a user;
in step S1, the method for establishing the long connection path includes:
1) a user initiates a login request in a browser and inputs login request parameters, the login request parameters are sent to an enterprise preposed client, the enterprise preposed client encrypts the login request parameters and sends a signature to an enterprise preposed server, the enterprise preposed server sends the login request parameters to an interface server for verification, the interface server returns a verification result to the enterprise preposed server after verification, the enterprise preposed server encrypts the verification result and sends the signature to the enterprise preposed client, and the enterprise preposed client sends the verification result to the browser;
2) if the verification is successful, the browser initiates a forwarding request, the enterprise preposed client encrypts the information of the enterprise preposed client and sends the information to the enterprise preposed server after receiving the forwarding request, the enterprise preposed server pushes the address of the server to the interface server after receiving the information of the enterprise preposed client, and the interface server returns the information to the enterprise preposed server and inserts or updates the address of the server in the database; the enterprise preposed server side encrypts and signs the return information of the interface server side and sends the encrypted and signed return information to the enterprise preposed client side, the enterprise preposed client side sends a request for establishing a long connecting channel to the enterprise preposed server side, the enterprise preposed server side sends information of successful establishment to the enterprise preposed client side after successful establishment, and the enterprise preposed client side sends information for prompting successful login to a browser.
2. The method for realizing multi-bank data interaction based on long connection as claimed in claim 1, wherein in step 2), if the authentication fails, the browser directly prompts the user that the authentication fails.
3. The multi-bank data interaction implementation method based on long connection as claimed in claim 1, wherein the login request parameter includes one or both of a login password and a Ukey password and a user name.
4. The method for implementing multi-bank data interaction based on long connection according to claim 1, wherein the message is a standard XML format message.
5. The multi-bank data interaction realization method based on the long connection as claimed in claim 1, wherein the enterprise front-end client communicates by using one or more of https protocol, http protocol and socket protocol.
CN201811006252.XA 2018-08-30 2018-08-30 Multi-bank data interaction implementation method based on long connection Active CN109246212B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811006252.XA CN109246212B (en) 2018-08-30 2018-08-30 Multi-bank data interaction implementation method based on long connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811006252.XA CN109246212B (en) 2018-08-30 2018-08-30 Multi-bank data interaction implementation method based on long connection

Publications (2)

Publication Number Publication Date
CN109246212A CN109246212A (en) 2019-01-18
CN109246212B true CN109246212B (en) 2021-04-02

Family

ID=65069040

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811006252.XA Active CN109246212B (en) 2018-08-30 2018-08-30 Multi-bank data interaction implementation method based on long connection

Country Status (1)

Country Link
CN (1) CN109246212B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110943993A (en) * 2019-12-02 2020-03-31 北京锐安科技有限公司 Method and device for requesting preposition, computer equipment and storage medium
CN111787067B (en) * 2020-06-08 2023-04-07 浙江保融科技股份有限公司 Multi-bank-enterprise direct connection remote service calling and managing method
CN114448662B (en) * 2021-12-20 2024-05-10 交通银行股份有限公司 Bank enterprise communication system and communication method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1598841A (en) * 2004-08-16 2005-03-23 扬子石油化工股份有限公司 Network bank trade system and method between enterprise and bank
CN1681260A (en) * 2004-06-30 2005-10-12 中国银行股份有限公司 Processing system between enterprise and bank service abutting joint
CN101873333A (en) * 2010-07-09 2010-10-27 中国工商银行股份有限公司 Enterprise data maintenance method, device and system based on banking system
CN102521778A (en) * 2011-12-08 2012-06-27 携程计算机技术(上海)有限公司 System for directly exchanging financial data by enterprises and banks
CN107516204A (en) * 2017-08-31 2017-12-26 四川长虹电器股份有限公司 Internet bank docking system and docking calculation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1681260A (en) * 2004-06-30 2005-10-12 中国银行股份有限公司 Processing system between enterprise and bank service abutting joint
CN1598841A (en) * 2004-08-16 2005-03-23 扬子石油化工股份有限公司 Network bank trade system and method between enterprise and bank
CN101873333A (en) * 2010-07-09 2010-10-27 中国工商银行股份有限公司 Enterprise data maintenance method, device and system based on banking system
CN102521778A (en) * 2011-12-08 2012-06-27 携程计算机技术(上海)有限公司 System for directly exchanging financial data by enterprises and banks
CN107516204A (en) * 2017-08-31 2017-12-26 四川长虹电器股份有限公司 Internet bank docking system and docking calculation

Also Published As

Publication number Publication date
CN109246212A (en) 2019-01-18

Similar Documents

Publication Publication Date Title
TWI732458B (en) Certificate application method, device, terminal equipment, gateway equipment and server
CN109246212B (en) Multi-bank data interaction implementation method based on long connection
US8117317B2 (en) Systems and methods for integrating local systems with cloud computing resources
US20210073756A1 (en) System and method for instant issue of personalized financial transaction cards
CN110166577B (en) Distributed application group session processing system and method
US20100235901A1 (en) Cifs proxy authentication
CN108022090B (en) Virtual account management method, device, system and readable storage medium
US10630574B2 (en) Link processing method, apparatus, and system
WO2020020203A1 (en) Service data sharing implementation method, device and apparatus, and storage medium
US10523667B2 (en) Framework for executing operations on systems
CN105187372A (en) Method for data processing based on mobile application entrance, device and system
CN112612629A (en) Method and system for realizing component type data interface
US11349709B2 (en) System and method for onboarding IOT devices
CN102143131B (en) User logout method and authentication server
CN111193602A (en) Automatic operation and maintenance management system and method
CN112788031A (en) Envoy architecture-based micro-service interface authentication system, method and device
CN110138779B (en) Hadoop platform safety management and control method based on multi-protocol reverse proxy
CN104052746A (en) Heterogeneous application single sign-on system and method
CN111865984A (en) Stateless authentication method for micro-service system
WO2021217928A1 (en) Blockchain network-based resource request transaction verification method and apparatus, electronic device and computer readable storage medium
EP3873038B1 (en) Communication between private networks
US20210096979A1 (en) Client automated transaction testing portal
WO2018033018A1 (en) Method and system for shortening android smart pos transaction time
CN111787067B (en) Multi-bank-enterprise direct connection remote service calling and managing method
US11095460B2 (en) Certificate application operations

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