CN111274045A - Multi-platform docking method and device, computer equipment and readable storage medium - Google Patents

Multi-platform docking method and device, computer equipment and readable storage medium Download PDF

Info

Publication number
CN111274045A
CN111274045A CN202010037059.3A CN202010037059A CN111274045A CN 111274045 A CN111274045 A CN 111274045A CN 202010037059 A CN202010037059 A CN 202010037059A CN 111274045 A CN111274045 A CN 111274045A
Authority
CN
China
Prior art keywords
interface
request message
party
platform
field
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
CN202010037059.3A
Other languages
Chinese (zh)
Other versions
CN111274045B (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.)
Ping An Bank Co Ltd
Original Assignee
Ping An Bank 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 Ping An Bank Co Ltd filed Critical Ping An Bank Co Ltd
Priority to CN202010037059.3A priority Critical patent/CN111274045B/en
Publication of CN111274045A publication Critical patent/CN111274045A/en
Application granted granted Critical
Publication of CN111274045B publication Critical patent/CN111274045B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/03Credit; Loans; Processing thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses a multi-platform docking method, a multi-platform docking device, computer equipment and a readable storage medium, wherein the method comprises the following steps: receiving a first interface request message sent by a calling party; wherein the first interface request message comprises: third party information and loan transaction information; determining a third party platform required to be called by the first interface request message according to the third party information, and determining a standard interface required to be called by the first interface request message according to the loan service information; searching a database corresponding to the third-party platform, and searching a first conversion rule corresponding to the standard interface from the database; according to the first conversion rule, the loan service information is converted into a second interface request message which is sent to the third-party platform; and encrypting the second interface request message according to a preset encryption algorithm, and sending the encrypted second interface request message to the third party platform.

Description

Multi-platform docking method and device, computer equipment and readable storage medium
Technical Field
The invention relates to the technical field of internet, in particular to a multi-platform docking method, a multi-platform docking device, computer equipment and a readable storage medium.
Background
With the rapid development of the mobile internet technology, more and more users transact loan services online; therefore, the whole process operations of loan auditing, borrowing, repayment and the like can be performed on line. As a traffic platform, the user wants to recommend more abundant loan products to different customers, and needs to interface with different Internet financial platforms to perfect the product line of the user. How to adapt the system of the internet financial platform to the system of the traffic platform is a problem to be solved. The traditional internet financial platforms are various, different in technology and standard, and different in system of each platform, and are used as a flow platform side to be connected with different internet financial platforms, so that how to connect with different internet financial platforms is involved. At present, most of flow platforms adopt system codes of self platform background modified according to different internet financial platform interfaces to be docked, and a series of problems are brought by docking once. Firstly, the workload is large, and the whole loan process function is realized once when every pair of internet financial platforms are connected; secondly, the system stability is not high, the existing system codes are invaded, and the existing service errors are easily caused by the later stage of docking a new platform; thirdly, the products are difficult to be made into a uniform product, which is not beneficial to the rapid expansion of the products.
Disclosure of Invention
The invention aims to provide a multi-platform docking method, a multi-platform docking device, computer equipment and a readable storage medium, which can realize the service docking of a flow platform side and a plurality of internet financial platforms and simplify the docking work.
According to one aspect of the invention, a multi-platform docking method is provided, which specifically comprises the following steps:
receiving a first interface request message sent by a calling party; wherein the first interface request message comprises: third party information and loan transaction information;
determining a third party platform required to be called by the first interface request message according to the third party information, and determining a standard interface required to be called by the first interface request message according to the loan service information;
searching a database corresponding to the third-party platform, and searching a first conversion rule corresponding to the standard interface from the database;
according to the first conversion rule, the loan service information is converted into a second interface request message which is sent to the third-party platform;
and encrypting the second interface request message according to a preset encryption algorithm, and sending the encrypted second interface request message to the third party platform.
Optionally, the third party information includes: numbering channels;
the determining, according to the third party information, a third party platform that needs to be called by the first interface request message specifically includes:
and determining a third-party platform corresponding to the channel number by using a preset channel number configuration table.
Optionally, the determining, according to the loan service information, a standard interface that needs to be called by the first interface request message specifically includes:
and identifying the field type in the loan service information, and determining a standard interface of a corresponding type according to the identified field type.
Optionally, before the searching for the database corresponding to the third-party platform and the searching for the first conversion rule corresponding to the standard interface from the database, the method further includes:
determining a first field type of each loan service field of a standard interface aiming at one type of standard interface of a third-party platform, and acquiring an interface document of the standard interface of the third-party platform; wherein the interface document specifies fields that need to be provided to invoke the standard interface of the third party platform;
determining a second field type of each loan transaction field in the interface document;
respectively acquiring a conversion function corresponding to each loan service field from a preset conversion function library according to the mapping relation between the first field type and the second field type of each loan service field to form a type rule;
determining each special field only existing in the interface document, and acquiring a plurality of generating functions for generating field values of each special field from a preset generating function library to form a generating rule;
and forming a first conversion rule of the standard interface according to the type rule and the generation rule, and storing the first conversion rule into a corresponding database.
Optionally, the converting, according to the first conversion rule, the loan transaction information into a second interface request message for sending to the third party platform includes:
determining the field value of each field in the loan service information, and converting the field type of each field value according to the type rule in the first conversion rule;
generating a field value of a special field required by the standard interface according to a generation rule in the first conversion rule;
and forming the second interface request message according to the converted field value and the generated field value.
Optionally, after performing an encryption operation on the second interface request message according to a preset encryption algorithm and sending the encrypted second interface request message to the third party platform, the method further includes:
receiving a first interface response message sent by the third party platform, and carrying out decryption operation on the first interface response message according to the preset encryption algorithm;
determining the type of the standard interface according to the decrypted first interface response message;
searching a database corresponding to the third-party platform, and searching a second conversion rule corresponding to the standard interface from the database;
according to the second conversion rule, converting the first interface response message into a second interface response message for sending to the calling party;
and sending the second interface response message to the caller.
According to another aspect of the present invention, there is also provided a multi-platform docking apparatus, specifically comprising the following components:
the receiving module is used for receiving a first interface request message sent by a calling party; wherein the first interface request message comprises: third party information and loan transaction information;
the determining module is used for determining a third party platform required to be called by the first interface request message according to the third party information and determining a standard interface required to be called by the first interface request message according to the loan service information;
the searching module is used for searching a database corresponding to the third-party platform and searching a first conversion rule corresponding to the standard interface from the database;
the conversion module is used for converting the loan service information into a second interface request message for sending to the third-party platform according to the first conversion rule;
and the sending module is used for carrying out encryption operation on the second interface request message according to a preset encryption algorithm and sending the encrypted second interface request message to the third party platform.
Optionally, the receiving module is further configured to: receiving a first interface response message sent by the third party platform, and carrying out decryption operation on the first interface response message according to the preset encryption algorithm;
the determining module is further configured to determine the type of the standard interface according to the decrypted first interface response message;
the searching module is further used for searching a database corresponding to the third-party platform and searching a second conversion rule corresponding to the standard interface from the database;
the conversion module is further configured to convert the first interface response message into a second interface response message for sending to the caller according to the second conversion rule;
the sending module is further configured to send the second interface response message to the caller.
According to another aspect of the present invention, there is also provided a computer device, specifically including: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the multi-platform docking method described above when executing the program.
According to another aspect of the present invention, there is also provided a computer readable storage medium, having stored thereon a computer program, which when executed by a processor, performs the steps of the multi-platform docking method described above.
The multi-platform docking method, the multi-platform docking device, the computer equipment and the readable storage medium enable the flow end platform and the external internet financial platform to be in perfect docking and adapting on the basis of keeping relative independence, and only corresponding conversion rules need to be configured in a database if the flow end platform and a new internet financial platform are required to be docked in the later stage, so that the efficiency of accessing the new platform is greatly improved, the coupling between the external internet financial platform and the internal flow end platform is reduced, and the stability and the usability of the system are ensured.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is an alternative flow chart of a multi-platform docking method according to an embodiment;
fig. 2 is a schematic diagram of an alternative program module of the multi-platform docking device according to the second embodiment;
fig. 3 is a schematic diagram of an alternative hardware architecture of the computer device according to the third embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
The embodiment of the invention provides a multi-platform docking method, which is applied to a flow end platform, and as shown in figure 1, the method specifically comprises the following steps:
step S101: receiving a first interface request message sent by a calling party; wherein the first interface request message comprises: third party information and loan transaction information.
In the embodiment, an abstract factory design mode is used for abstracting 20 standard interfaces of specific service types from the online loan process, and each standard interface is provided with a corresponding third-party field and a corresponding loan service field; when a calling party needs to call a third-party platform to perform loan service, a corresponding standard interface is selected according to the service type to be handled, and corresponding third-party information and loan service information are input according to a third-party field and a loan service field of the selected standard interface to form a first interface request message.
Step S102: and determining a third party platform required to be called by the first interface request message according to the third party information, and determining a standard interface required to be called by the first interface request message according to the loan service information.
The online loan process is divided into the following three stages in this embodiment: a borrowing application stage, a withdrawal stage and a repayment stage; aiming at the loan application stage, an application admission standard interface, a bank card four-element authentication standard interface, a credit application submission standard interface, a credit result notification standard interface and a credit result query standard interface are extracted by using an abstract factory design mode according to the process difference of different internet financial platforms; aiming at the withdrawal stage, according to the process difference of different internet financial platforms, an abstract factory design mode is applied to withdraw a borrowing trial calculation standard interface, an amount inquiry standard interface, a borrowing application standard interface, a borrowing result inquiry standard interface and a borrowing result notification standard interface; aiming at the repayment stage, according to the process difference of different internet financial platforms, an abstract factory design mode is applied to extract a repayment plan query standard interface, a settlement in advance trial calculation standard interface, a repayment application submission standard interface, a repayment application query standard interface, a repayment application result notification standard interface and an automatic deduction notification standard interface; in addition, in this embodiment, a standard interface for uploading image and audio-visual data, a standard interface for downloading contract and agreement, a standard interface for issuing OTP short messages, and a standard interface for verifying OTP short messages are further provided.
Specifically, the third party information includes: numbering channels;
the determining, according to the third party information, a third party platform that needs to be called by the first interface request message specifically includes:
and determining a third-party platform corresponding to the channel number by using a preset channel number configuration table.
Further, the loan transaction information includes: user basic information, bank card information and asset liability information;
the determining, according to the loan service information, a standard interface that needs to be called by the first interface request message specifically includes:
and identifying the field type in the loan service information, and determining a standard interface of a corresponding type according to the identified field type.
Because the types of the loan service fields corresponding to each standard interface are different, when a calling party needs to call a certain type of standard interface, corresponding loan service information needs to be input according to the loan service fields of a specific type, so that the types of the standard interfaces needing to be called can be determined by identifying the types of the fields in the loan service information; in practical application, the nature language recognition algorithm in the prior art can be used for recognizing the types of the fields contained in the information of each loan transaction; in addition, the interface type identification can be added into the loan service information to determine the type of the standard interface to be called by the loan service information.
Step S103: and searching a database corresponding to the third-party platform, and searching a first conversion rule corresponding to the standard interface from the database.
In this embodiment, a corresponding database is set for a third party platform of each access traffic end platform, and a corresponding conversion rule is set for each type of standard interface in advance according to interface documents of various types of standard interfaces of the third party platform.
Specifically, before step S103, the method further includes:
step A1: determining a first field type of each loan service field of a standard interface aiming at one type of standard interface of a third-party platform, and acquiring an interface document of the standard interface of the third-party platform; wherein the interface document specifies fields that need to be provided to invoke the standard interface of the third party platform;
step A2: determining a second field type of each loan transaction field in the interface document;
it should be noted that the first field type is a field type used by the traffic end platform, and the second field type is a field type used by the third party platform; in practical applications, the field type of each loan transaction field can be determined by running a type determination script written in advance, for example, the field type is determined by a gettype () method, and the field type is determined by a toString () method.
Step A3: respectively acquiring a conversion function corresponding to each loan service field from a preset conversion function library according to the mapping relation between the first field type and the second field type of each loan service field to form a type rule;
wherein, the conversion function is used for converting the field value of a loan transaction field from a first field type to a second field type;
step A4: determining each special field only existing in the interface document, and acquiring a plurality of generating functions for generating field values of each special field from a preset generating function library to form a generating rule;
wherein, the generating function is used for generating the field value of the special field;
for example, when the standard interface is an application admission interface, the loan transaction field of the application admission interface includes: name and identification card number; and the interface document applying for the admission interface includes the following four fields: name, identification card number, serial number, whether to return application number or not; thus, the serial number in the interface document and whether or not the application number is returned are special fields. Aiming at the identification number, if the field type used in the standard interface is a numerical value type and the field type used in the interface document is a character string type, a string (n) function is used in a type rule for converting the field type; and aiming at the serial number of the special field, using a corresponding generating function in the generating rule to generate the serial number according to the current system time and a preset algorithm.
Step A5: and forming a first conversion rule of the standard interface according to the type rule and the generation rule, and storing the first conversion rule into a corresponding database.
Step S104: and converting the loan service information into a second interface request message for sending to the third-party platform according to the first conversion rule.
Specifically, step S104 includes:
step B1: determining the field value of each field in the loan service information, and converting the field type of each field value according to the type rule in the first conversion rule;
step B2: generating a field value of a special field required by the standard interface according to a generation rule in the first conversion rule;
step B3: and forming the second interface request message according to the converted field value and the generated field value.
For example, for the interface applying the admission standard, the third party platform needs to include four fields of name, identification number, serial number and whether to return the application number in the interface request message, and the loan service information in the first interface request message only includes two fields of name and identification number, so two fields of serial number and whether to return the application number need to be generated according to the first conversion rule.
Step S105: and encrypting the second interface request message according to a preset encryption algorithm, and sending the encrypted second interface request message to the third party platform.
In this embodiment, a generic method is used to abstract a method for sending an HTTPS request message, encapsulate the second interface request message into an HTTPS request message format, and send a uniform interface request through the method.
Further, the method further comprises:
step C1: receiving a first interface response message sent by the third party platform, and carrying out decryption operation on the first interface response message according to the preset encryption algorithm;
wherein the first interface response message is responsive to the second interface request message.
Step C2: determining the type of the standard interface according to the decrypted first interface response message;
step C3: searching a database corresponding to the third-party platform, and searching a second conversion rule corresponding to the standard interface from the database;
a second conversion rule is further stored in the database, the second conversion rule is generated according to the interface document of the standard interface, and the second conversion rule is used for converting the field type used by the third-party platform into the field type used by the flow end platform;
step C4: according to the second conversion rule, converting the first interface response message into a second interface response message for sending to the calling party;
step C5: and sending the second interface response message to the caller.
Example two
The embodiment of the invention provides a multi-platform docking device, which is applied to a flow end platform, and as shown in fig. 2, the device specifically comprises the following components:
a receiving module 201, configured to receive a first interface request message sent by a caller; wherein the first interface request message comprises: third party information and loan transaction information;
a determining module 202, configured to determine, according to the third party information, a third party platform that needs to be called by the first interface request message, and determine, according to the loan service information, a standard interface that needs to be called by the first interface request message;
the searching module 203 is configured to search a database corresponding to the third party platform, and search a first conversion rule corresponding to the standard interface from the database;
the conversion module 204 is configured to convert, according to the first conversion rule, the loan transaction information into a second interface request message for sending to the third party platform;
the sending module 205 is configured to perform an encryption operation on the second interface request message according to a preset encryption algorithm, and send the encrypted second interface request message to the third party platform.
Specifically, the third party information includes: numbering channels; the loan transaction information includes: user basic information, bank card information and asset liability information;
the determining module 202 is specifically configured to:
determining a third-party platform corresponding to the channel number by using a preset channel number configuration table;
and identifying the field type in the loan service information, and determining a standard interface of a corresponding type according to the identified field type.
Further, the apparatus further comprises:
the system comprises a rule module, a first field type and a second field type, wherein the rule module is used for determining a first field type of each loan service field of a standard interface aiming at one type of standard interface of a third-party platform and acquiring an interface document of the standard interface of the third-party platform; wherein the interface document specifies fields that need to be provided to invoke the standard interface of the third party platform; determining a second field type of each loan transaction field in the interface document; respectively acquiring a conversion function corresponding to each loan service field from a preset conversion function library according to the mapping relation between the first field type and the second field type of each loan service field to form a type rule; determining each special field only existing in the interface document, and acquiring a plurality of generating functions for generating field values of each special field from a preset generating function library to form a generating rule; and forming a first conversion rule of the standard interface according to the type rule and the generation rule, and storing the first conversion rule into a corresponding database.
Further, the conversion module 204 is specifically configured to:
determining the field value of each field in the loan service information, and converting the field type of each field value according to the type rule in the first conversion rule;
generating a field value of a special field required by the standard interface according to a generation rule in the first conversion rule;
and forming the second interface request message according to the converted field value and the generated field value.
Further, the receiving module 201 is further configured to: receiving a first interface response message sent by the third party platform, and carrying out decryption operation on the first interface response message according to the preset encryption algorithm;
the determining module 202 is further configured to determine the type of the standard interface according to the decrypted first interface response message;
the searching module 203 is further configured to search a database corresponding to the third party platform, and search a second conversion rule corresponding to the standard interface from the database;
the conversion module 204 is further configured to convert, according to the second conversion rule, the first interface response message into a second interface response message for sending to the caller;
the sending module 205 is further configured to send the second interface response message to the caller.
EXAMPLE III
The embodiment also provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server or a rack server (including an independent server or a server cluster composed of a plurality of servers) capable of executing programs, and the like. As shown in fig. 3, the computer device 30 of the present embodiment includes at least but is not limited to: a memory 301, a processor 302 communicatively coupled to each other via a system bus. It is noted that FIG. 3 only shows the computer device 30 having components 301 and 302, but it is understood that not all of the shown components are required and that more or fewer components may be implemented instead.
In this embodiment, the memory 301 (i.e., the readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the storage 301 may be an internal storage unit of the computer device 30, such as a hard disk or a memory of the computer device 30. In other embodiments, the memory 301 may also be an external storage device of the computer device 30, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like, provided on the computer device 30. Of course, the memory 301 may also include both internal and external storage devices for the computer device 30. In this embodiment, the memory 301 is generally used for storing an operating system and various application software installed in the computer device 30, such as program codes of the multi-platform docking apparatus of the second embodiment. In addition, the memory 301 may also be used to temporarily store various types of data that have been output or are to be output.
Processor 302 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 302 generally serves to control the overall operation of the computer device 30.
Specifically, in this embodiment, the processor 302 is configured to execute a program of the multi-platform docking method stored in the processor 302, and when executed, the program of the multi-platform docking method implements the following steps:
receiving a first interface request message sent by a calling party; wherein the first interface request message comprises: third party information and loan transaction information;
determining a third party platform required to be called by the first interface request message according to the third party information, and determining a standard interface required to be called by the first interface request message according to the loan service information;
searching a database corresponding to the third-party platform, and searching a first conversion rule corresponding to the standard interface from the database;
according to the first conversion rule, the loan service information is converted into a second interface request message which is sent to the third-party platform;
and encrypting the second interface request message according to a preset encryption algorithm, and sending the encrypted second interface request message to the third party platform.
The specific embodiment process of the above method steps can be referred to in the first embodiment, and the detailed description of this embodiment is not repeated here.
Example four
The present embodiments also provide a computer readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application mall, etc., having stored thereon a computer program that when executed by a processor implements the method steps of:
receiving a first interface request message sent by a calling party; wherein the first interface request message comprises: third party information and loan transaction information;
determining a third party platform required to be called by the first interface request message according to the third party information, and determining a standard interface required to be called by the first interface request message according to the loan service information;
searching a database corresponding to the third-party platform, and searching a first conversion rule corresponding to the standard interface from the database;
according to the first conversion rule, the loan service information is converted into a second interface request message which is sent to the third-party platform;
and encrypting the second interface request message according to a preset encryption algorithm, and sending the encrypted second interface request message to the third party platform.
The specific embodiment process of the above method steps can be referred to in the first embodiment, and the detailed description of this embodiment is not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A multi-platform docking method, the method comprising:
receiving a first interface request message sent by a calling party; wherein the first interface request message comprises: third party information and loan transaction information;
determining a third party platform required to be called by the first interface request message according to the third party information, and determining a standard interface required to be called by the first interface request message according to the loan service information;
searching a database corresponding to the third-party platform, and searching a first conversion rule corresponding to the standard interface from the database;
according to the first conversion rule, the loan service information is converted into a second interface request message which is sent to the third-party platform;
and encrypting the second interface request message according to a preset encryption algorithm, and sending the encrypted second interface request message to the third party platform.
2. The multi-platform docking method according to claim 1, wherein the third party information comprises: numbering channels;
the determining, according to the third party information, a third party platform that needs to be called by the first interface request message specifically includes:
and determining a third-party platform corresponding to the channel number by using a preset channel number configuration table.
3. The multi-platform docking method according to claim 1, wherein the determining a standard interface to be called by the first interface request message according to the loan transaction information specifically includes:
and identifying the field type in the loan service information, and determining a standard interface of a corresponding type according to the identified field type.
4. The multi-platform docking method according to claim 1, wherein before the searching for the database corresponding to the third-party platform and the searching for the first conversion rule corresponding to the standard interface from the database, the method further comprises:
determining a first field type of each loan service field of a standard interface aiming at one type of standard interface of a third-party platform, and acquiring an interface document of the standard interface of the third-party platform; wherein the interface document specifies fields that need to be provided to invoke the standard interface of the third party platform;
determining a second field type of each loan transaction field in the interface document;
respectively acquiring a conversion function corresponding to each loan service field from a preset conversion function library according to the mapping relation between the first field type and the second field type of each loan service field to form a type rule;
determining each special field only existing in the interface document, and acquiring a plurality of generating functions for generating field values of each special field from a preset generating function library to form a generating rule;
and forming a first conversion rule of the standard interface according to the type rule and the generation rule, and storing the first conversion rule into a corresponding database.
5. The multi-platform docking method according to claim 4, wherein the converting the loan transaction information into a second interface request message for sending to the third-party platform according to the first conversion rule specifically includes:
determining the field value of each field in the loan service information, and converting the field type of each field value according to the type rule in the first conversion rule;
generating a field value of a special field required by the standard interface according to a generation rule in the first conversion rule;
and forming the second interface request message according to the converted field value and the generated field value.
6. The multi-platform docking method according to claim 1, wherein after performing an encryption operation on the second interface request message according to a preset encryption algorithm and sending the encrypted second interface request message to the third party platform, the method further comprises:
receiving a first interface response message sent by the third party platform, and carrying out decryption operation on the first interface response message according to the preset encryption algorithm;
determining the type of the standard interface according to the decrypted first interface response message;
searching a database corresponding to the third-party platform, and searching a second conversion rule corresponding to the standard interface from the database;
according to the second conversion rule, converting the first interface response message into a second interface response message for sending to the calling party;
and sending the second interface response message to the caller.
7. A multi-platform docking device, the device comprising:
the receiving module is used for receiving a first interface request message sent by a calling party; wherein the first interface request message comprises: third party information and loan transaction information;
the determining module is used for determining a third party platform required to be called by the first interface request message according to the third party information and determining a standard interface required to be called by the first interface request message according to the loan service information;
the searching module is used for searching a database corresponding to the third-party platform and searching a first conversion rule corresponding to the standard interface from the database;
the conversion module is used for converting the loan service information into a second interface request message for sending to the third-party platform according to the first conversion rule;
and the sending module is used for carrying out encryption operation on the second interface request message according to a preset encryption algorithm and sending the encrypted second interface request message to the third party platform.
8. The multi-platform docking device of claim 6, wherein the receiving module is further configured to: receiving a first interface response message sent by the third party platform, and carrying out decryption operation on the first interface response message according to the preset encryption algorithm;
the determining module is further configured to determine the type of the standard interface according to the decrypted first interface response message;
the searching module is further used for searching a database corresponding to the third-party platform and searching a second conversion rule corresponding to the standard interface from the database;
the conversion module is further configured to convert the first interface response message into a second interface response message for sending to the caller according to the second conversion rule;
the sending module is further configured to send the second interface response message to the caller.
9. A computer device, the computer device comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1 to 6 are implemented when the processor executes the program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN202010037059.3A 2020-01-14 2020-01-14 Multi-platform docking method and device, computer equipment and readable storage medium Active CN111274045B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010037059.3A CN111274045B (en) 2020-01-14 2020-01-14 Multi-platform docking method and device, computer equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010037059.3A CN111274045B (en) 2020-01-14 2020-01-14 Multi-platform docking method and device, computer equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN111274045A true CN111274045A (en) 2020-06-12
CN111274045B CN111274045B (en) 2024-04-16

Family

ID=71001666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010037059.3A Active CN111274045B (en) 2020-01-14 2020-01-14 Multi-platform docking method and device, computer equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111274045B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111800434A (en) * 2020-07-22 2020-10-20 睿智合创(北京)科技有限公司 Multi-channel asset docking platform and working method thereof
CN111967236A (en) * 2020-07-30 2020-11-20 武汉联影医疗科技有限公司 Message processing method and device, computer equipment and storage medium
CN112015769A (en) * 2020-09-01 2020-12-01 平安付科技服务有限公司 Data processing method and device, computer equipment and storage medium
CN112015496A (en) * 2020-09-01 2020-12-01 中国平安财产保险股份有限公司 Interface calling method and device, computer equipment and storage medium
CN112287216A (en) * 2020-10-23 2021-01-29 微医云(杭州)控股有限公司 Information pushing method and device, server and storage medium
CN113114562A (en) * 2021-03-04 2021-07-13 上海赛可出行科技服务有限公司 Open platform-based parameter-configurable gateway design method
CN114461293A (en) * 2021-12-21 2022-05-10 奇安信科技集团股份有限公司 Configuration file type open data acquisition method and device and electronic equipment
CN114884752A (en) * 2022-07-11 2022-08-09 天津金城银行股份有限公司 Inline gateway system, inline loan service docking method, apparatus, and medium
CN115630616A (en) * 2022-12-07 2023-01-20 神州数码融信云技术服务有限公司 Message processing method, message processing device, computer device, and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107767261A (en) * 2017-10-19 2018-03-06 四川民工加网络科技有限公司 The implementation method and device of loan financing
CN107945008A (en) * 2017-11-21 2018-04-20 上海壹账通金融科技有限公司 Credit methods, device, equipment and computer-readable recording medium
WO2019095666A1 (en) * 2017-11-15 2019-05-23 重庆小雨点小额贷款有限公司 Loan limit assessment method and related device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107767261A (en) * 2017-10-19 2018-03-06 四川民工加网络科技有限公司 The implementation method and device of loan financing
WO2019095666A1 (en) * 2017-11-15 2019-05-23 重庆小雨点小额贷款有限公司 Loan limit assessment method and related device
CN107945008A (en) * 2017-11-21 2018-04-20 上海壹账通金融科技有限公司 Credit methods, device, equipment and computer-readable recording medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨蓬勃: "互联网金融", 西安电子科技大学出版社, pages: 42 - 45 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111800434A (en) * 2020-07-22 2020-10-20 睿智合创(北京)科技有限公司 Multi-channel asset docking platform and working method thereof
CN111967236A (en) * 2020-07-30 2020-11-20 武汉联影医疗科技有限公司 Message processing method and device, computer equipment and storage medium
CN111967236B (en) * 2020-07-30 2024-05-24 武汉联影医疗科技有限公司 Message processing method, device, computer equipment and storage medium
CN112015496B (en) * 2020-09-01 2022-11-15 中国平安财产保险股份有限公司 Interface calling method and device, computer equipment and storage medium
CN112015496A (en) * 2020-09-01 2020-12-01 中国平安财产保险股份有限公司 Interface calling method and device, computer equipment and storage medium
CN112015769A (en) * 2020-09-01 2020-12-01 平安付科技服务有限公司 Data processing method and device, computer equipment and storage medium
CN112287216A (en) * 2020-10-23 2021-01-29 微医云(杭州)控股有限公司 Information pushing method and device, server and storage medium
CN113114562A (en) * 2021-03-04 2021-07-13 上海赛可出行科技服务有限公司 Open platform-based parameter-configurable gateway design method
CN114461293A (en) * 2021-12-21 2022-05-10 奇安信科技集团股份有限公司 Configuration file type open data acquisition method and device and electronic equipment
CN114461293B (en) * 2021-12-21 2024-04-30 奇安信科技集团股份有限公司 Configuration file type open data acquisition method and device and electronic equipment
CN114884752A (en) * 2022-07-11 2022-08-09 天津金城银行股份有限公司 Inline gateway system, inline loan service docking method, apparatus, and medium
CN114884752B (en) * 2022-07-11 2022-09-23 天津金城银行股份有限公司 Inline gateway system, inline loan service docking method, apparatus, and medium
CN115630616A (en) * 2022-12-07 2023-01-20 神州数码融信云技术服务有限公司 Message processing method, message processing device, computer device, and storage medium

Also Published As

Publication number Publication date
CN111274045B (en) 2024-04-16

Similar Documents

Publication Publication Date Title
CN111274045B (en) Multi-platform docking method and device, computer equipment and readable storage medium
CN110032599B (en) Data structure reading and updating method and device, and electronic equipment
CN111311251B (en) Binding processing method, device and equipment
CN110764942A (en) Multi-type data checking method, device, computer system and readable storage medium
CN110334144B (en) Message display method, device, computer equipment and storage medium
WO2020000720A1 (en) Server, packet processing method, program, and computer-readable storage medium
CN110610196A (en) Desensitization method, system, computer device and computer-readable storage medium
CN110032568B (en) Data structure reading and updating method and device, and electronic equipment
CN110351672B (en) Information pushing method and device and electronic equipment
CN108897729B (en) Transaction template sharing method and device, electronic equipment and storage medium
CN112328486A (en) Interface automation test method and device, computer equipment and storage medium
CN112860662A (en) Data blood relationship establishing method and device, computer equipment and storage medium
CN110413672B (en) Automatic data importing method and device and computer readable storage medium
US11379191B2 (en) Presentation oriented rules-based technical architecture display framework
CN111241803A (en) Method and device for generating text file, computer equipment and readable storage medium
CN113282591B (en) Authority filtering method, authority filtering device, computer equipment and storage medium
CN112733510A (en) Financial certificate generation method, device, equipment and computer readable storage medium
CN112529700A (en) Business handling and auditing method, system, equipment and readable storage medium
CN109740130B (en) Method and device for generating file
CN116993523A (en) Configurable account checking method, device, equipment and storage medium
CN114637672A (en) Automatic data testing method and device, computer equipment and storage medium
CN112434347B (en) Rental business processing method, device, equipment and system
CN111585897B (en) Request route management method, system, computer system and readable storage medium
CN114912003A (en) Document searching method and device, computer equipment and storage medium
CN108052842A (en) Storage, verification method and the device of signed data

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